erigon-pulse/core/state/contracts/changer.sol
2020-04-29 11:51:07 +01:00

20 lines
503 B
Solidity

pragma solidity >=0.5.0;
// solc --allow-paths ., --abi --bin --overwrite --optimize -o core/state/contracts/build core/state/contracts/changer.sol
// abigen -abi core/state/contracts/build/Changer.abi -bin core/state/contracts/build/Changer.bin -pkg contracts -type changer -out core/state/contracts/gen_changer.go
contract Changer {
uint256 x;
uint256 y;
uint256 z;
constructor() public {
}
function change() external {
x = 1;
y = 2;
z = 3;
}
}