mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 00:31:21 +00:00
20 lines
502 B
Solidity
20 lines
502 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;
|
||
|
}
|
||
|
}
|