mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-28 14:47:16 +00:00
20 lines
503 B
Solidity
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;
|
|
}
|
|
}
|