erigon-pulse/core/state/contracts/changer.sol

20 lines
503 B
Solidity
Raw Normal View History

2020-04-29 10:51:07 +00:00
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;
}
}