mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
misc: remove unused file (#354)
Remve the `DataHavenTest.sol` file which was a file generated as part of the template. Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Co-authored-by: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com>
This commit is contained in:
parent
9fff64020f
commit
ec475833e7
1 changed files with 0 additions and 24 deletions
|
|
@ -1,24 +0,0 @@
|
|||
// SPDX-License-Identifier: GPL-3.0
|
||||
// This is a test contract for the DataHaven project
|
||||
// It is deployed as pure bytecode in kurtosis
|
||||
pragma solidity >=0.8.2 <0.9.0;
|
||||
|
||||
contract DataHavenTest {
|
||||
uint256 public number;
|
||||
address public owner;
|
||||
|
||||
constructor() {
|
||||
number = 10;
|
||||
owner = msg.sender;
|
||||
}
|
||||
|
||||
function decrement() external {
|
||||
require(number > 0, "Number should be greater than 0");
|
||||
number = number - 1;
|
||||
}
|
||||
|
||||
function reset() external {
|
||||
require(msg.sender == owner, "Only callable by owner!");
|
||||
number = 10;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue