Created
October 10, 2021 02:43
-
-
Save rawsh/326973b6d0e681f7341cfdc153fc6acc to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=true&runs=200&gist=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS | |
The 'scripts' folder contains example async/await scripts for deploying the 'Storage' contract. | |
For the deployment of any other contract, 'contractName' and 'constructorArgs' should be updated (along with other code if required). | |
Scripts have full access to the web3.js and ethers.js libraries. | |
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled. | |
Output from script will appear in remix terminal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": { | |
"@_60": { | |
"entryPoint": null, | |
"id": 60, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"abi_decode_tuple_t_uint256_fromMemory": { | |
"entryPoint": 70, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:200:1", | |
"statements": [ | |
{ | |
"nodeType": "YulBlock", | |
"src": "6:3:1", | |
"statements": [] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "95:103:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "141:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "150:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "153:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "143:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "143:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "143:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "116:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "125:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "112:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "112:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "137:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "108:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "108:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "105:52:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "166:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "182:9:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "176:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "176:16:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "166:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint256_fromMemory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "61:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "72:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "84:6:1", | |
"type": "" | |
} | |
], | |
"src": "14:184:1" | |
} | |
] | |
}, | |
"contents": "{\n { }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n}", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"linkReferences": {}, | |
"object": "6080604052600019600655604051610e72380380610e7283398101604081905261002891610046565b600080546001600160a01b031916331790553460025560055561005f565b60006020828403121561005857600080fd5b5051919050565b610e048061006e6000396000f3fe6080604052600436106100c25760003560e01c8063b688a3631161007f578063ceec2c9011610059578063ceec2c901461021a578063d24257c01461023a578063d30895e414610250578063ea8a1af01461027057600080fd5b8063b688a3631461018a578063bdb337d114610192578063c19d93fb146101bc57600080fd5b80630e1da6c3146100c75780630e76f9db146100de57806359a5f12d14610107578063701bd9851461013f57806370dea79a1461015f5780637a45589414610175575b600080fd5b3480156100d357600080fd5b506100dc610285565b005b3480156100ea57600080fd5b506100f460055481565b6040519081526020015b60405180910390f35b34801561011357600080fd5b50600154610127906001600160a01b031681565b6040516001600160a01b0390911681526020016100fe565b34801561014b57600080fd5b506100dc61015a366004610c26565b610324565b34801561016b57600080fd5b506100f460065481565b34801561018157600080fd5b506100dc6105f9565b6100dc6106cf565b34801561019e57600080fd5b506003546101ac9060ff1681565b60405190151581526020016100fe565b3480156101c857600080fd5b506004546101f19060ff808216916101008104909116906201000090046001600160a01b031683565b6040805160ff94851681529390921660208401526001600160a01b0316908201526060016100fe565b34801561022657600080fd5b506100dc610235366004610c59565b610818565b34801561024657600080fd5b506100f460025481565b34801561025c57600080fd5b50600054610127906001600160a01b031681565b34801561027c57600080fd5b506100dc61099f565b60035460ff16156102b15760405162461bcd60e51b81526004016102a890610d3c565b60405180910390fd5b6006544210156102c057600080fd5b6003805460ff191660011790556004546102e9906001600160a01b036201000090910416610a87565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610321573d6000803e3d6000fd5b50565b60035460ff16156103475760405162461bcd60e51b81526004016102a890610d3c565b6004546201000090046001600160a01b031633146103985760405162461bcd60e51b815260206004820152600e60248201526d2737ba103cb7bab9103a3ab9371760911b60448201526064016102a8565b60018160ff16101580156103b0575060038160ff1611155b6104105760405162461bcd60e51b815260206004820152602b60248201527f4d6f7665206f7574206f662072616e67652e204d75737420626520626574776560448201526a32b710189030b73210199760a91b60648201526084016102a8565b600454601590610429908390610100900460ff16610d7d565b60ff1611156104725760405162461bcd60e51b815260206004820152601560248201527426b7bb32903bb7bab6321032bc31b2b2b21019189760591b60448201526064016102a8565b60045460ff8381169116146104c95760405162461bcd60e51b815260206004820152601a60248201527f496e636f72726563742073657175656e6365206e756d6265722e00000000000060448201526064016102a8565b600480548291906001906104e6908490610100900460ff16610d7d565b92506101000a81548160ff021916908360ff16021790555061050733610a87565b600480546001600160a01b0392909216620100000262010000600160b01b031983168117825560019260009161054691859160ff908116911617610d7d565b825461010092830a60ff81810219909216928216029190911790925560001960065560045404166015141590506105b2576003805460ff1916600117905560405133904780156108fc02916000818181858888f193505050501580156105b0573d6000803e3d6000fd5b505b6040805133815260ff848116602083015283168183015290517f10ac166a969b6ae9b140c9d6b88c6c4e565e4fc22f858bf92f1542535f0f161a9181900360600190a15050565b60035460ff161561061c5760405162461bcd60e51b81526004016102a890610d3c565b61062533610a87565b6004546201000090046001600160a01b039081169116146106945760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f7420737461727420612074696d656f7574206f6e20796f7572736560448201526236331760e91b60648201526084016102a8565b6005546106a19042610d65565b6006556040517f02bdd5174ce27e71542ca96bbba5c2c21920793759d94795d2f17eff6f7f2a0f90600090a1565b6001546001600160a01b0316156107245760405162461bcd60e51b815260206004820152601960248201527823b0b6b2903430b99030b63932b0b23c9039ba30b93a32b21760391b60448201526064016102a8565b60035460ff161561076c5760405162461bcd60e51b815260206004820152601260248201527123b0b6b2903bb0b99031b0b731b2b632b21760711b60448201526064016102a8565b60025434146107b15760405162461bcd60e51b81526020600482015260116024820152702bb937b733903132ba1030b6b7bab73a1760791b60448201526064016102a8565b60018054336001600160a01b0319909116179055600080546004805462010000600160b01b0319166001600160a01b0390921662010000029190911790556040517f762f260439bb4be3ef6e4dc2786e2e7bd187d3d80b79057d7a424fe98563e3359190a1565b60045460ff908116908516101561087d5760405162461bcd60e51b8152602060048201526024808201527f53657175656e6365206e756d6265722063616e6e6f7420676f206261636b77616044820152633932399760e11b60648201526084016102a8565b6040516bffffffffffffffffffffffff193060601b1660208201526001600160f81b031960f886811b8216603484015285901b16603582015260009061092990603601604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b905061093433610a87565b6001600160a01b03166109478285610b67565b6001600160a01b03161461095a57600080fd5b6004805462010000330262010000600160b01b031960ff8881166101000261ffff19909416908a161792909217919091161790556109988583610324565b5050505050565b6000546001600160a01b031633146109f95760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c7920666972737420706c61796572206d61792063616e63656c2e00000060448201526064016102a8565b6001546001600160a01b031615610a4e5760405162461bcd60e51b815260206004820152601960248201527823b0b6b2903430b99030b63932b0b23c9039ba30b93a32b21760391b60448201526064016102a8565b6003805460ff1916600117905560405133904780156108fc02916000818181858888f19350505050158015610321573d6000803e3d6000fd5b6001546000906001600160a01b0316610ada5760405162461bcd60e51b815260206004820152601560248201527423b0b6b2903430b9903737ba1039ba30b93a32b21760591b60448201526064016102a8565b6000546001600160a01b0383811691161415610b015750506001546001600160a01b031690565b6001546001600160a01b0383811691161415610b285750506000546001600160a01b031690565b60405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b210383630bcb2b91760891b60448201526064016102a8565b919050565b600080600080610b7685610be6565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa158015610bd1573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008060008351604114610bf957600080fd5b5050506020810151604082015160609092015160001a92909190565b803560ff81168114610b6257600080fd5b60008060408385031215610c3957600080fd5b610c4283610c15565b9150610c5060208401610c15565b90509250929050565b60008060008060808587031215610c6f57600080fd5b610c7885610c15565b9350610c8660208601610c15565b9250604085013567ffffffffffffffff80821115610ca357600080fd5b818701915087601f830112610cb757600080fd5b813581811115610cc957610cc9610db8565b604051601f8201601f19908116603f01168101908382118183101715610cf157610cf1610db8565b816040528281528a6020848701011115610d0a57600080fd5b826020860160208301376000602084830101528096505050505050610d3160608601610c15565b905092959194509250565b6020808252600f908201526e23b0b6b2903430b99032b73232b21760891b604082015260600190565b60008219821115610d7857610d78610da2565b500190565b600060ff821660ff84168060ff03821115610d9a57610d9a610da2565b019392505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220efe38869a879705a9a0e1253ce51e4e15066e3aa1ad14fe0e14a0e05a3992c2864736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 NOT PUSH1 0x6 SSTORE PUSH1 0x40 MLOAD PUSH2 0xE72 CODESIZE SUB DUP1 PUSH2 0xE72 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x28 SWAP2 PUSH2 0x46 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER OR SWAP1 SSTORE CALLVALUE PUSH1 0x2 SSTORE PUSH1 0x5 SSTORE PUSH2 0x5F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x58 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xE04 DUP1 PUSH2 0x6E PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0xC2 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xB688A363 GT PUSH2 0x7F JUMPI DUP1 PUSH4 0xCEEC2C90 GT PUSH2 0x59 JUMPI DUP1 PUSH4 0xCEEC2C90 EQ PUSH2 0x21A JUMPI DUP1 PUSH4 0xD24257C0 EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0xD30895E4 EQ PUSH2 0x250 JUMPI DUP1 PUSH4 0xEA8A1AF0 EQ PUSH2 0x270 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xB688A363 EQ PUSH2 0x18A JUMPI DUP1 PUSH4 0xBDB337D1 EQ PUSH2 0x192 JUMPI DUP1 PUSH4 0xC19D93FB EQ PUSH2 0x1BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xE1DA6C3 EQ PUSH2 0xC7 JUMPI DUP1 PUSH4 0xE76F9DB EQ PUSH2 0xDE JUMPI DUP1 PUSH4 0x59A5F12D EQ PUSH2 0x107 JUMPI DUP1 PUSH4 0x701BD985 EQ PUSH2 0x13F JUMPI DUP1 PUSH4 0x70DEA79A EQ PUSH2 0x15F JUMPI DUP1 PUSH4 0x7A455894 EQ PUSH2 0x175 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xD3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x285 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF4 PUSH1 0x5 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x113 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x1 SLOAD PUSH2 0x127 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xFE JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x14B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x15A CALLDATASIZE PUSH1 0x4 PUSH2 0xC26 JUMP JUMPDEST PUSH2 0x324 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x16B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF4 PUSH1 0x6 SLOAD DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x181 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x5F9 JUMP JUMPDEST PUSH2 0xDC PUSH2 0x6CF JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x19E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3 SLOAD PUSH2 0x1AC SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xFE JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 SLOAD PUSH2 0x1F1 SWAP1 PUSH1 0xFF DUP1 DUP3 AND SWAP2 PUSH2 0x100 DUP2 DIV SWAP1 SWAP2 AND SWAP1 PUSH3 0x10000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0xFF SWAP5 DUP6 AND DUP2 MSTORE SWAP4 SWAP1 SWAP3 AND PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP3 ADD MSTORE PUSH1 0x60 ADD PUSH2 0xFE JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x226 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x235 CALLDATASIZE PUSH1 0x4 PUSH2 0xC59 JUMP JUMPDEST PUSH2 0x818 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x246 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF4 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x25C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x0 SLOAD PUSH2 0x127 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x27C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x99F JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x2B1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2A8 SWAP1 PUSH2 0xD3C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x6 SLOAD TIMESTAMP LT ISZERO PUSH2 0x2C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH1 0x4 SLOAD PUSH2 0x2E9 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH3 0x10000 SWAP1 SWAP2 DIV AND PUSH2 0xA87 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x321 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x347 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2A8 SWAP1 PUSH2 0xD3C JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH3 0x10000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x398 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x2737BA103CB7BAB9103A3AB93717 PUSH1 0x91 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0xFF AND LT ISZERO DUP1 ISZERO PUSH2 0x3B0 JUMPI POP PUSH1 0x3 DUP2 PUSH1 0xFF AND GT ISZERO JUMPDEST PUSH2 0x410 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D6F7665206F7574206F662072616E67652E204D757374206265206265747765 PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x32B710189030B732101997 PUSH1 0xA9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0x15 SWAP1 PUSH2 0x429 SWAP1 DUP4 SWAP1 PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xD7D JUMP JUMPDEST PUSH1 0xFF AND GT ISZERO PUSH2 0x472 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x26B7BB32903BB7BAB6321032BC31B2B2B210191897 PUSH1 0x59 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF DUP4 DUP2 AND SWAP2 AND EQ PUSH2 0x4C9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E636F72726563742073657175656E6365206E756D6265722E000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD DUP3 SWAP2 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x4E6 SWAP1 DUP5 SWAP1 PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xD7D JUMP JUMPDEST SWAP3 POP PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x507 CALLER PUSH2 0xA87 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND PUSH3 0x10000 MUL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT DUP4 AND DUP2 OR DUP3 SSTORE PUSH1 0x1 SWAP3 PUSH1 0x0 SWAP2 PUSH2 0x546 SWAP2 DUP6 SWAP2 PUSH1 0xFF SWAP1 DUP2 AND SWAP2 AND OR PUSH2 0xD7D JUMP JUMPDEST DUP3 SLOAD PUSH2 0x100 SWAP3 DUP4 EXP PUSH1 0xFF DUP2 DUP2 MUL NOT SWAP1 SWAP3 AND SWAP3 DUP3 AND MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SWAP3 SSTORE PUSH1 0x0 NOT PUSH1 0x6 SSTORE PUSH1 0x4 SLOAD DIV AND PUSH1 0x15 EQ ISZERO SWAP1 POP PUSH2 0x5B2 JUMPI PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH1 0x40 MLOAD CALLER SWAP1 SELFBALANCE DUP1 ISZERO PUSH2 0x8FC MUL SWAP2 PUSH1 0x0 DUP2 DUP2 DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x5B0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMPDEST PUSH1 0x40 DUP1 MLOAD CALLER DUP2 MSTORE PUSH1 0xFF DUP5 DUP2 AND PUSH1 0x20 DUP4 ADD MSTORE DUP4 AND DUP2 DUP4 ADD MSTORE SWAP1 MLOAD PUSH32 0x10AC166A969B6AE9B140C9D6B88C6C4E565E4FC22F858BF92F1542535F0F161A SWAP2 DUP2 SWAP1 SUB PUSH1 0x60 ADD SWAP1 LOG1 POP POP JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x61C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2A8 SWAP1 PUSH2 0xD3C JUMP JUMPDEST PUSH2 0x625 CALLER PUSH2 0xA87 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH3 0x10000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 AND EQ PUSH2 0x694 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43616E6E6F7420737461727420612074696D656F7574206F6E20796F75727365 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x363317 PUSH1 0xE9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH2 0x6A1 SWAP1 TIMESTAMP PUSH2 0xD65 JUMP JUMPDEST PUSH1 0x6 SSTORE PUSH1 0x40 MLOAD PUSH32 0x2BDD5174CE27E71542CA96BBBA5C2C21920793759D94795D2F17EFF6F7F2A0F SWAP1 PUSH1 0x0 SWAP1 LOG1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x724 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH25 0x23B0B6B2903430B99030B63932B0B23C9039BA30B93A32B217 PUSH1 0x39 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x76C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x12 PUSH1 0x24 DUP3 ADD MSTORE PUSH18 0x23B0B6B2903BB0B99031B0B731B2B632B217 PUSH1 0x71 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x2 SLOAD CALLVALUE EQ PUSH2 0x7B1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x2BB937B733903132BA1030B6B7BAB73A17 PUSH1 0x79 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH1 0x0 DUP1 SLOAD PUSH1 0x4 DUP1 SLOAD PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH3 0x10000 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH32 0x762F260439BB4BE3EF6E4DC2786E2E7BD187D3D80B79057D7A424FE98563E335 SWAP2 SWAP1 LOG1 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF SWAP1 DUP2 AND SWAP1 DUP6 AND LT ISZERO PUSH2 0x87D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x53657175656E6365206E756D6265722063616E6E6F7420676F206261636B7761 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x39323997 PUSH1 0xE1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT PUSH1 0xF8 DUP7 DUP2 SHL DUP3 AND PUSH1 0x34 DUP5 ADD MSTORE DUP6 SWAP1 SHL AND PUSH1 0x35 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH2 0x929 SWAP1 PUSH1 0x36 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD PUSH32 0x19457468657265756D205369676E6564204D6573736167653A0A333200000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x3C DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x5C ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST SWAP1 POP PUSH2 0x934 CALLER PUSH2 0xA87 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x947 DUP3 DUP6 PUSH2 0xB67 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x95A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH3 0x10000 CALLER MUL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT PUSH1 0xFF DUP9 DUP2 AND PUSH2 0x100 MUL PUSH2 0xFFFF NOT SWAP1 SWAP5 AND SWAP1 DUP11 AND OR SWAP3 SWAP1 SWAP3 OR SWAP2 SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH2 0x998 DUP6 DUP4 PUSH2 0x324 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x9F9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C7920666972737420706C61796572206D61792063616E63656C2E000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0xA4E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH25 0x23B0B6B2903430B99030B63932B0B23C9039BA30B93A32B217 PUSH1 0x39 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH1 0x40 MLOAD CALLER SWAP1 SELFBALANCE DUP1 ISZERO PUSH2 0x8FC MUL SWAP2 PUSH1 0x0 DUP2 DUP2 DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x321 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xADA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x23B0B6B2903430B9903737BA1039BA30B93A32B217 PUSH1 0x59 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND SWAP2 AND EQ ISZERO PUSH2 0xB01 JUMPI POP POP PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND SWAP2 AND EQ ISZERO PUSH2 0xB28 JUMPI POP POP PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH15 0x24B73B30B634B210383630BCB2B917 PUSH1 0x89 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH2 0xB76 DUP6 PUSH2 0xBE6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP1 DUP4 MSTORE DUP12 SWAP1 MSTORE PUSH1 0xFF DUP6 AND SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x80 DUP2 ADD DUP3 SWAP1 MSTORE SWAP3 SWAP6 POP SWAP1 SWAP4 POP SWAP2 POP PUSH1 0x1 SWAP1 PUSH1 0xA0 ADD PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBD1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH1 0x1F NOT ADD MLOAD SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 MLOAD PUSH1 0x41 EQ PUSH2 0xBF9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP POP PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x60 SWAP1 SWAP3 ADD MLOAD PUSH1 0x0 BYTE SWAP3 SWAP1 SWAP2 SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xB62 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xC39 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC42 DUP4 PUSH2 0xC15 JUMP JUMPDEST SWAP2 POP PUSH2 0xC50 PUSH1 0x20 DUP5 ADD PUSH2 0xC15 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xC6F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC78 DUP6 PUSH2 0xC15 JUMP JUMPDEST SWAP4 POP PUSH2 0xC86 PUSH1 0x20 DUP7 ADD PUSH2 0xC15 JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xCA3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xCB7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0xCC9 JUMPI PUSH2 0xCC9 PUSH2 0xDB8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP4 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0xCF1 JUMPI PUSH2 0xCF1 PUSH2 0xDB8 JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP3 DUP2 MSTORE DUP11 PUSH1 0x20 DUP5 DUP8 ADD ADD GT ISZERO PUSH2 0xD0A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x20 DUP5 DUP4 ADD ADD MSTORE DUP1 SWAP7 POP POP POP POP POP POP PUSH2 0xD31 PUSH1 0x60 DUP7 ADD PUSH2 0xC15 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xF SWAP1 DUP3 ADD MSTORE PUSH15 0x23B0B6B2903430B99032B73232B217 PUSH1 0x89 SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0xD78 JUMPI PUSH2 0xD78 PUSH2 0xDA2 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND PUSH1 0xFF DUP5 AND DUP1 PUSH1 0xFF SUB DUP3 GT ISZERO PUSH2 0xD9A JUMPI PUSH2 0xD9A PUSH2 0xDA2 JUMP JUMPDEST ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xEF 0xE3 DUP9 PUSH10 0xA879705A9A0E1253CE51 0xE4 0xE1 POP PUSH7 0xE3AA1AD14FE0E1 0x4A 0xE SDIV LOG3 SWAP10 0x2C 0x28 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
"sourceMap": "65:4418:0:-:0;;;-1:-1:-1;;366:35:0;;549:158;;;;;;;;;;;;;;;;;;:::i;:::-;605:7;:20;;-1:-1:-1;;;;;;605:20:0;615:10;605:20;;;647:9;635;:21;666:15;:34;65:4418;;14:184:1;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;-1:-1:-1;176:16:1;;14:184;-1:-1:-1;14:184:1:o;:::-;65:4418:0;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@betAmount_7": { | |
"entryPoint": null, | |
"id": 7, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@cancel_141": { | |
"entryPoint": 2463, | |
"id": 141, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@claimTimeout_428": { | |
"entryPoint": 645, | |
"id": 428, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@gameOver_9": { | |
"entryPoint": null, | |
"id": 9, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@join_102": { | |
"entryPoint": 1743, | |
"id": 102, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@moveFromState_324": { | |
"entryPoint": 2072, | |
"id": 324, | |
"parameterSlots": 4, | |
"returnSlots": 0 | |
}, | |
"@move_252": { | |
"entryPoint": 804, | |
"id": 252, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@opponentOf_361": { | |
"entryPoint": 2695, | |
"id": 361, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@player1_3": { | |
"entryPoint": null, | |
"id": 3, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@player2_5": { | |
"entryPoint": null, | |
"id": 5, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@prefixed_513": { | |
"entryPoint": null, | |
"id": 513, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@recoverSigner_497": { | |
"entryPoint": 2919, | |
"id": 497, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@splitSignature_462": { | |
"entryPoint": 3046, | |
"id": 462, | |
"parameterSlots": 1, | |
"returnSlots": 3 | |
}, | |
"@startTimeout_392": { | |
"entryPoint": 1529, | |
"id": 392, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@state_19": { | |
"entryPoint": null, | |
"id": 19, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@timeoutInterval_21": { | |
"entryPoint": null, | |
"id": 21, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@timeout_28": { | |
"entryPoint": null, | |
"id": 28, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"abi_decode_tuple_t_uint8t_uint8": { | |
"entryPoint": 3110, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_uint8t_uint8t_bytes_memory_ptrt_uint8": { | |
"entryPoint": 3161, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 4 | |
}, | |
"abi_decode_uint8": { | |
"entryPoint": 3093, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_packed_t_address_t_uint8_t_uint8__to_t_address_t_uint8_t_uint8__nonPadded_inplace_fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 4, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_packed_t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73_t_bytes32__to_t_string_memory_ptr_t_bytes32__nonPadded_inplace_fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_address_t_uint8_t_uint8__to_t_address_t_uint8_t_uint8__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 4, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 5, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_044fd81d418bf62b20af635198f63632277e3bfb22a134d0c53cfd4dd9d4974b__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_0e26c30c9af2b4d196a4276a238e726f2a62a8d403e44d5e166d697ca10783e8__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_124aefa704cdd407a2403e74675d3926834fa5fabd6ae58107a7b9fd1906ef54__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 3388, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_1d36627e1510ec4829841427bef49fae7a65d4f0374862a1def1ce927571f793__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_21914824ead4132f6cc39af30546822d90293b773e78a531d1c65d2f7dc26ddb__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_3cbc588e4d1ecfdf64e47f1e54a082d2c336b8228cf0f55aadaa6495f242d77c__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_507ce349b9060e0e598da3a12cdc76c1c5e81243abd956e8ed976ed64eb674e8__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_51b79df1a40f6eade4f7c6efb6604398969116a4c002b822d353536582071c64__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_69de070a7e9fd31aaf1220285a32a1aafa2aaabdd8a0a65c53d9faa020ec0d52__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_783dbed276170961a34d2be536959f4d741b301f85646f66f1893483e0f04494__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_9b3b3ec960f4f8902c361019561daa84849c1ba720f77a9bb2397ef8a8488f03__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_9d48a83ffa746d9c6a18a1ade1b13118041d408147adef9e381b25038ed56049__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_fb96e6e5e6c349e40da1341a179e5b6fbce53f79fed8045cd9d48247a9cc0020__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint8_t_uint8_t_address__to_t_uint8_t_uint8_t_address__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 4, | |
"returnSlots": 1 | |
}, | |
"checked_add_t_uint256": { | |
"entryPoint": 3429, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_add_t_uint8": { | |
"entryPoint": 3453, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x11": { | |
"entryPoint": 3490, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x41": { | |
"entryPoint": 3512, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:9408:1", | |
"statements": [ | |
{ | |
"nodeType": "YulBlock", | |
"src": "6:3:1", | |
"statements": [] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "61:109:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "71:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "93:6:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "80:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "80:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "71:5:1" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "148:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "157:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "160:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "150:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "150:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "150:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "122:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "133:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "140:4:1", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "129:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "129:16:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "119:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "119:27:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "112:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "112:35:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "109:55:1" | |
} | |
] | |
}, | |
"name": "abi_decode_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "40:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "51:5:1", | |
"type": "" | |
} | |
], | |
"src": "14:156:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "258:169:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "304:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "313:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "316:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "306:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "306:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "306:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "279:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "288:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "275:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "275:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "300:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "271:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "271:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "268:52:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "329:37:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "356:9:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "339:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "339:27:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "329:6:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "375:46:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "406:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "417:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "402:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "402:18:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "385:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "385:36:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "375:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint8t_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "216:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "227:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "239:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "247:6:1", | |
"type": "" | |
} | |
], | |
"src": "175:252:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "556:1008:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "603:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "612:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "615:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "605:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "605:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "605:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "577:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "586:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "573:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "573:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "598:3:1", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "569:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "569:33:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "566:53:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "628:37:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "655:9:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "638:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "638:27:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "628:6:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "674:46:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "705:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "716:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "701:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "701:18:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "684:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "684:36:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "674:6:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "729:46:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "760:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "771:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "756:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "756:18:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "743:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "743:32:1" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "733:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "784:28:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "794:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "788:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "839:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "848:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "851:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "841:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "841:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "841:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "827:6:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "835:2:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "824:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "824:14:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "821:34:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "864:32:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "878:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "889:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "874:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "874:22:1" | |
}, | |
"variables": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulTypedName", | |
"src": "868:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "944:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "953:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "956:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "946:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "946:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "946:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "923:2:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "927:4:1", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "919:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "919:13:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "934:7:1" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "915:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "915:27:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "908:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "908:35:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "905:55:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "969:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "992:2:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "979:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "979:16:1" | |
}, | |
"variables": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulTypedName", | |
"src": "973:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1018:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "1020:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1020:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1020:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "1010:2:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "1014:2:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1007:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1007:10:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1004:36:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1049:17:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1063:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "1059:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1059:7:1" | |
}, | |
"variables": [ | |
{ | |
"name": "_4", | |
"nodeType": "YulTypedName", | |
"src": "1053:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1075:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1095:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1089:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1089:9:1" | |
}, | |
"variables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "1079:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1107:71:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1129:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "1153:2:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1157:4:1", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1149:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1149:13:1" | |
}, | |
{ | |
"name": "_4", | |
"nodeType": "YulIdentifier", | |
"src": "1164:2:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1145:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1145:22:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1169:2:1", | |
"type": "", | |
"value": "63" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1141:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1141:31:1" | |
}, | |
{ | |
"name": "_4", | |
"nodeType": "YulIdentifier", | |
"src": "1174:2:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1137:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1137:40:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1125:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1125:53:1" | |
}, | |
"variables": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulTypedName", | |
"src": "1111:10:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1237:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "1239:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1239:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1239:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "1196:10:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "1208:2:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1193:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1193:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "1216:10:1" | |
}, | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1228:6:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "1213:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1213:22:1" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "1190:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1190:46:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1187:72:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1275:2:1", | |
"type": "", | |
"value": "64" | |
}, | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "1279:10:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1268:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1268:22:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1268:22:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1306:6:1" | |
}, | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "1314:2:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1299:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1299:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1299:18:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1363:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1372:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1375:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1365:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1365:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1365:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "1340:2:1" | |
}, | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "1344:2:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1336:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1336:11:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1349:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1332:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1332:20:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1354:7:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1329:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1329:33:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1326:53:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1405:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1413:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1401:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1401:15:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "1422:2:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1426:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1418:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1418:11:1" | |
}, | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "1431:2:1" | |
} | |
], | |
"functionName": { | |
"name": "calldatacopy", | |
"nodeType": "YulIdentifier", | |
"src": "1388:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1388:46:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1388:46:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1458:6:1" | |
}, | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "1466:2:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1454:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1454:15:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1471:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1450:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1450:24:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1476:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1443:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1443:35:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1443:35:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1487:16:1", | |
"value": { | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1497:6:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "1487:6:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1512:46:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1543:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1554:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1539:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1539:18:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "1522:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1522:36:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "1512:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint8t_uint8t_bytes_memory_ptrt_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "498:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "509:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "521:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "529:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "537:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "545:6:1", | |
"type": "" | |
} | |
], | |
"src": "432:1132:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1736:254:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1753:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1766:2:1", | |
"type": "", | |
"value": "96" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1770:6:1" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "1762:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1762:15:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1783:26:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "1779:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1779:31:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1758:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1758:53:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1746:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1746:66:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1746:66:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1821:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1835:3:1", | |
"type": "", | |
"value": "248" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1840:3:1", | |
"type": "", | |
"value": "255" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "1831:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1831:13:1" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "1825:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1864:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1869:2:1", | |
"type": "", | |
"value": "20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1860:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1860:12:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1882:3:1", | |
"type": "", | |
"value": "248" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "1887:6:1" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "1878:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1878:16:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "1896:2:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1874:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1874:25:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1853:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1853:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1853:47:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1920:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1925:2:1", | |
"type": "", | |
"value": "21" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1916:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1916:12:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1938:3:1", | |
"type": "", | |
"value": "248" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "1943:6:1" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "1934:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1934:16:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "1952:2:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1930:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1930:25:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1909:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1909:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1909:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1965:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1976:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1981:2:1", | |
"type": "", | |
"value": "22" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1972:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1972:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "1965:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_packed_t_address_t_uint8_t_uint8__to_t_address_t_uint8_t_uint8__nonPadded_inplace_fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1696:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "1701:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "1709:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1717:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "1728:3:1", | |
"type": "" | |
} | |
], | |
"src": "1569:421:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2215:160:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2232:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2237:66:1", | |
"type": "", | |
"value": "0x19457468657265756d205369676e6564204d6573736167653a0a333200000000" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2225:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2225:79:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2225:79:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2324:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2329:2:1", | |
"type": "", | |
"value": "28" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2320:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2320:12:1" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "2334:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2313:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2313:28:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2313:28:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2350:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2361:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2366:2:1", | |
"type": "", | |
"value": "60" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2357:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2357:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "2350:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_packed_t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73_t_bytes32__to_t_string_memory_ptr_t_bytes32__nonPadded_inplace_fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "2191:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "2196:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "2207:3:1", | |
"type": "" | |
} | |
], | |
"src": "1995:380:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2481:102:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2491:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2503:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2514:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2499:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2499:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2491:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2533:9:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "2548:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2564:3:1", | |
"type": "", | |
"value": "160" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2569:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "2560:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2560:11:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2573:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "2556:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2556:19:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "2544:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2544:32:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2526:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2526:51:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2526:51:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "2450:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "2461:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "2472:4:1", | |
"type": "" | |
} | |
], | |
"src": "2380:203:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2737:210:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2747:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2759:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2770:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2755:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2755:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2747:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2789:9:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "2804:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2820:3:1", | |
"type": "", | |
"value": "160" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2825:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "2816:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2816:11:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2829:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "2812:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2812:19:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "2800:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2800:32:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2782:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2782:51:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2782:51:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2853:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2864:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2849:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2849:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "2873:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2881:4:1", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "2869:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2869:17:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2842:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2842:45:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2842:45:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2907:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2918:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2903:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2903:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "2927:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2935:4:1", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "2923:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2923:17:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2896:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2896:45:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2896:45:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address_t_uint8_t_uint8__to_t_address_t_uint8_t_uint8__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "2690:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "2701:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "2709:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "2717:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "2728:4:1", | |
"type": "" | |
} | |
], | |
"src": "2588:359:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3047:92:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3057:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3069:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3080:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3065:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3065:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3057:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3099:9:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "3124:6:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "3117:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3117:14:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "3110:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3110:22:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3092:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3092:41:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3092:41:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3016:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "3027:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3038:4:1", | |
"type": "" | |
} | |
], | |
"src": "2952:187:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3325:217:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3335:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3347:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3358:3:1", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3343:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3343:19:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3335:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3378:9:1" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "3389:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3371:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3371:25:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3371:25:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3416:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3427:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3412:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3412:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "3436:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3444:4:1", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "3432:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3432:17:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3405:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3405:45:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3405:45:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3470:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3481:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3466:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3466:18:1" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "3486:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3459:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3459:34:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3459:34:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3513:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3524:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3509:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3509:18:1" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "3529:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3502:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3502:34:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3502:34:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3270:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "3281:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "3289:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "3297:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "3305:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3316:4:1", | |
"type": "" | |
} | |
], | |
"src": "3144:398:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3721:167:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3738:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3749:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3731:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3731:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3731:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3772:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3783:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3768:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3768:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3788:2:1", | |
"type": "", | |
"value": "17" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3761:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3761:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3761:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3811:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3822:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3807:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3807:18:1" | |
}, | |
{ | |
"hexValue": "57726f6e672062657420616d6f756e742e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "3827:19:1", | |
"type": "", | |
"value": "Wrong bet amount." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3800:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3800:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3800:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3856:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3868:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3879:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3864:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3864:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3856:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_044fd81d418bf62b20af635198f63632277e3bfb22a134d0c53cfd4dd9d4974b__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3698:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3712:4:1", | |
"type": "" | |
} | |
], | |
"src": "3547:341:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4067:233:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4084:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4095:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4077:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4077:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4077:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4118:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4129:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4114:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4114:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4134:2:1", | |
"type": "", | |
"value": "43" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4107:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4107:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4107:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4157:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4168:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4153:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4153:18:1" | |
}, | |
{ | |
"hexValue": "4d6f7665206f7574206f662072616e67652e204d757374206265206265747765", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4173:34:1", | |
"type": "", | |
"value": "Move out of range. Must be betwe" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4146:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4146:62:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4146:62:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4228:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4239:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4224:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4224:18:1" | |
}, | |
{ | |
"hexValue": "656e203120616e6420332e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4244:13:1", | |
"type": "", | |
"value": "en 1 and 3." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4217:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4217:41:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4217:41:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4267:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4279:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4290:3:1", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4275:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4275:19:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4267:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_0e26c30c9af2b4d196a4276a238e726f2a62a8d403e44d5e166d697ca10783e8__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4044:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4058:4:1", | |
"type": "" | |
} | |
], | |
"src": "3893:407:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4479:165:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4496:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4507:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4489:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4489:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4489:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4530:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4541:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4526:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4526:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4546:2:1", | |
"type": "", | |
"value": "15" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4519:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4519:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4519:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4569:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4580:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4565:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4565:18:1" | |
}, | |
{ | |
"hexValue": "47616d652068617320656e6465642e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4585:17:1", | |
"type": "", | |
"value": "Game has ended." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4558:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4558:45:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4558:45:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4612:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4624:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4635:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4620:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4620:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4612:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_124aefa704cdd407a2403e74675d3926834fa5fabd6ae58107a7b9fd1906ef54__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4456:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4470:4:1", | |
"type": "" | |
} | |
], | |
"src": "4305:339:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4823:175:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4840:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4851:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4833:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4833:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4833:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4874:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4885:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4870:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4870:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4890:2:1", | |
"type": "", | |
"value": "25" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4863:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4863:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4863:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4913:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4924:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4909:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4909:18:1" | |
}, | |
{ | |
"hexValue": "47616d652068617320616c726561647920737461727465642e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4929:27:1", | |
"type": "", | |
"value": "Game has already started." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4902:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4902:55:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4902:55:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4966:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4978:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4989:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4974:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4974:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4966:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_1d36627e1510ec4829841427bef49fae7a65d4f0374862a1def1ce927571f793__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4800:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4814:4:1", | |
"type": "" | |
} | |
], | |
"src": "4649:349:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5177:226:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5194:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5205:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5187:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5187:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5187:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5228:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5239:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5224:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5224:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5244:2:1", | |
"type": "", | |
"value": "36" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5217:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5217:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5217:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5267:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5278:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5263:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5263:18:1" | |
}, | |
{ | |
"hexValue": "53657175656e6365206e756d6265722063616e6e6f7420676f206261636b7761", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "5283:34:1", | |
"type": "", | |
"value": "Sequence number cannot go backwa" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5256:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5256:62:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5256:62:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5338:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5349:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5334:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5334:18:1" | |
}, | |
{ | |
"hexValue": "7264732e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "5354:6:1", | |
"type": "", | |
"value": "rds." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5327:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5327:34:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5327:34:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5370:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5382:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5393:3:1", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5378:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5378:19:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5370:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_21914824ead4132f6cc39af30546822d90293b773e78a531d1c65d2f7dc26ddb__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5154:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "5168:4:1", | |
"type": "" | |
} | |
], | |
"src": "5003:400:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5582:168:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5599:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5610:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5592:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5592:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5592:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5633:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5644:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5629:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5629:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5649:2:1", | |
"type": "", | |
"value": "18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5622:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5622:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5622:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5672:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5683:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5668:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5668:18:1" | |
}, | |
{ | |
"hexValue": "47616d65207761732063616e63656c65642e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "5688:20:1", | |
"type": "", | |
"value": "Game was canceled." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5661:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5661:48:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5661:48:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5718:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5730:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5741:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5726:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5726:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5718:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_3cbc588e4d1ecfdf64e47f1e54a082d2c336b8228cf0f55aadaa6495f242d77c__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5559:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "5573:4:1", | |
"type": "" | |
} | |
], | |
"src": "5408:342:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5929:171:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5946:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5957:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5939:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5939:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5939:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5980:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5991:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5976:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5976:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5996:2:1", | |
"type": "", | |
"value": "21" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5969:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5969:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5969:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6019:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6030:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6015:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6015:18:1" | |
}, | |
{ | |
"hexValue": "47616d6520686173206e6f7420737461727465642e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "6035:23:1", | |
"type": "", | |
"value": "Game has not started." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6008:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6008:51:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6008:51:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6068:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6080:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6091:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6076:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6076:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6068:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_507ce349b9060e0e598da3a12cdc76c1c5e81243abd956e8ed976ed64eb674e8__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5906:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "5920:4:1", | |
"type": "" | |
} | |
], | |
"src": "5755:345:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6279:179:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6296:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6307:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6289:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6289:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6289:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6330:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6341:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6326:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6326:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6346:2:1", | |
"type": "", | |
"value": "29" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6319:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6319:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6319:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6369:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6380:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6365:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6365:18:1" | |
}, | |
{ | |
"hexValue": "4f6e6c7920666972737420706c61796572206d61792063616e63656c2e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "6385:31:1", | |
"type": "", | |
"value": "Only first player may cancel." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6358:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6358:59:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6358:59:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6426:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6438:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6449:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6434:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6434:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6426:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_51b79df1a40f6eade4f7c6efb6604398969116a4c002b822d353536582071c64__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "6256:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "6270:4:1", | |
"type": "" | |
} | |
], | |
"src": "6105:353:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6637:164:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6654:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6665:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6647:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6647:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6647:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6688:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6699:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6684:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6684:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6704:2:1", | |
"type": "", | |
"value": "14" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6677:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6677:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6677:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6727:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6738:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6723:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6723:18:1" | |
}, | |
{ | |
"hexValue": "4e6f7420796f7572207475726e2e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "6743:16:1", | |
"type": "", | |
"value": "Not your turn." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6716:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6716:44:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6716:44:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6769:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6781:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6792:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6777:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6777:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6769:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_69de070a7e9fd31aaf1220285a32a1aafa2aaabdd8a0a65c53d9faa020ec0d52__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "6614:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "6628:4:1", | |
"type": "" | |
} | |
], | |
"src": "6463:338:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6980:171:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6997:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7008:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6990:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6990:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6990:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7031:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7042:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7027:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7027:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7047:2:1", | |
"type": "", | |
"value": "21" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7020:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7020:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7020:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7070:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7081:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7066:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7066:18:1" | |
}, | |
{ | |
"hexValue": "4d6f766520776f756c64206578636565642032312e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "7086:23:1", | |
"type": "", | |
"value": "Move would exceed 21." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7059:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7059:51:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7059:51:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7119:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7131:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7142:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7127:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7127:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7119:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_783dbed276170961a34d2be536959f4d741b301f85646f66f1893483e0f04494__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "6957:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "6971:4:1", | |
"type": "" | |
} | |
], | |
"src": "6806:345:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7330:165:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7347:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7358:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7340:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7340:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7340:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7381:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7392:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7377:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7377:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7397:2:1", | |
"type": "", | |
"value": "15" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7370:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7370:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7370:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7420:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7431:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7416:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7416:18:1" | |
}, | |
{ | |
"hexValue": "496e76616c696420706c617965722e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "7436:17:1", | |
"type": "", | |
"value": "Invalid player." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7409:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7409:45:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7409:45:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7463:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7475:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7486:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7471:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7471:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7463:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_9b3b3ec960f4f8902c361019561daa84849c1ba720f77a9bb2397ef8a8488f03__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "7307:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "7321:4:1", | |
"type": "" | |
} | |
], | |
"src": "7156:339:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7674:176:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7691:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7702:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7684:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7684:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7684:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7725:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7736:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7721:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7721:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7741:2:1", | |
"type": "", | |
"value": "26" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7714:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7714:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7714:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7764:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7775:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7760:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7760:18:1" | |
}, | |
{ | |
"hexValue": "496e636f72726563742073657175656e6365206e756d6265722e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "7780:28:1", | |
"type": "", | |
"value": "Incorrect sequence number." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7753:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7753:56:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7753:56:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7818:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7830:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7841:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7826:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7826:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7818:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_9d48a83ffa746d9c6a18a1ade1b13118041d408147adef9e381b25038ed56049__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "7651:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "7665:4:1", | |
"type": "" | |
} | |
], | |
"src": "7500:350:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8029:225:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8046:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8057:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8039:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8039:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8039:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8080:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8091:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8076:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8076:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8096:2:1", | |
"type": "", | |
"value": "35" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8069:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8069:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8069:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8119:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8130:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8115:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8115:18:1" | |
}, | |
{ | |
"hexValue": "43616e6e6f7420737461727420612074696d656f7574206f6e20796f75727365", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "8135:34:1", | |
"type": "", | |
"value": "Cannot start a timeout on yourse" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8108:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8108:62:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8108:62:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8190:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8201:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8186:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8186:18:1" | |
}, | |
{ | |
"hexValue": "6c662e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "8206:5:1", | |
"type": "", | |
"value": "lf." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8179:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8179:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8179:33:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8221:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8233:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8244:3:1", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8229:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8229:19:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8221:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_fb96e6e5e6c349e40da1341a179e5b6fbce53f79fed8045cd9d48247a9cc0020__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "8006:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "8020:4:1", | |
"type": "" | |
} | |
], | |
"src": "7855:399:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8360:76:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8370:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8382:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8393:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8378:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8378:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8370:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8412:9:1" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "8423:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8405:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8405:25:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8405:25:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "8329:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "8340:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "8351:4:1", | |
"type": "" | |
} | |
], | |
"src": "8259:177:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8590:210:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8600:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8612:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8623:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8608:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8608:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8600:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8642:9:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "8657:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8665:4:1", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "8653:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8653:17:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8635:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8635:36:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8635:36:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8691:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8702:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8687:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8687:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "8711:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8719:4:1", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "8707:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8707:17:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8680:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8680:45:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8680:45:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8745:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8756:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8741:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8741:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "8765:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8781:3:1", | |
"type": "", | |
"value": "160" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8786:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "8777:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8777:11:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8790:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "8773:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8773:19:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "8761:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8761:32:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8734:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8734:60:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8734:60:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint8_t_uint8_t_address__to_t_uint8_t_uint8_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "8543:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "8554:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "8562:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "8570:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "8581:4:1", | |
"type": "" | |
} | |
], | |
"src": "8441:359:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8853:80:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8880:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "8882:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8882:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8882:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "8869:1:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "8876:1:1" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "8872:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8872:6:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "8866:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8866:13:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "8863:39:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8911:16:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "8922:1:1" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "8925:1:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8918:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8918:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "8911:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_add_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "8836:1:1", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "8839:1:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulTypedName", | |
"src": "8845:3:1", | |
"type": "" | |
} | |
], | |
"src": "8805:128:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8984:158:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "8994:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "9009:1:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9012:4:1", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "9005:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9005:12:1" | |
}, | |
"variables": [ | |
{ | |
"name": "x_1", | |
"nodeType": "YulTypedName", | |
"src": "8998:3:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "9026:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "9041:1:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9044:4:1", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "9037:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9037:12:1" | |
}, | |
"variables": [ | |
{ | |
"name": "y_1", | |
"nodeType": "YulTypedName", | |
"src": "9030:3:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9085:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "9087:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9087:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9087:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "x_1", | |
"nodeType": "YulIdentifier", | |
"src": "9064:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9073:4:1", | |
"type": "", | |
"value": "0xff" | |
}, | |
{ | |
"name": "y_1", | |
"nodeType": "YulIdentifier", | |
"src": "9079:3:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "9069:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9069:14:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "9061:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9061:23:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "9058:49:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9116:20:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x_1", | |
"nodeType": "YulIdentifier", | |
"src": "9127:3:1" | |
}, | |
{ | |
"name": "y_1", | |
"nodeType": "YulIdentifier", | |
"src": "9132:3:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9123:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9123:13:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "9116:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_add_t_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "8967:1:1", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "8970:1:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulTypedName", | |
"src": "8976:3:1", | |
"type": "" | |
} | |
], | |
"src": "8938:204:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9179:95:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9196:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9203:3:1", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9208:10:1", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "9199:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9199:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9189:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9189:31:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9189:31:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9236:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9239:4:1", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9229:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9229:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9229:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9260:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9263:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9253:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9253:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9253:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x11", | |
"nodeType": "YulFunctionDefinition", | |
"src": "9147:127:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9311:95:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9328:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9335:3:1", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9340:10:1", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "9331:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9331:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9321:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9321:31:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9321:31:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9368:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9371:4:1", | |
"type": "", | |
"value": "0x41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9361:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9361:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9361:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9392:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9395:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9385:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9385:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9385:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x41", | |
"nodeType": "YulFunctionDefinition", | |
"src": "9279:127:1" | |
} | |
] | |
}, | |
"contents": "{\n { }\n function abi_decode_uint8(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, 0xff))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_uint8t_uint8(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := abi_decode_uint8(headStart)\n value1 := abi_decode_uint8(add(headStart, 32))\n }\n function abi_decode_tuple_t_uint8t_uint8t_bytes_memory_ptrt_uint8(headStart, dataEnd) -> value0, value1, value2, value3\n {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n value0 := abi_decode_uint8(headStart)\n value1 := abi_decode_uint8(add(headStart, 32))\n let offset := calldataload(add(headStart, 64))\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n let _3 := calldataload(_2)\n if gt(_3, _1) { panic_error_0x41() }\n let _4 := not(31)\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(and(add(_3, 0x1f), _4), 63), _4))\n if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n mstore(memPtr, _3)\n if gt(add(add(_2, _3), 32), dataEnd) { revert(0, 0) }\n calldatacopy(add(memPtr, 32), add(_2, 32), _3)\n mstore(add(add(memPtr, _3), 32), 0)\n value2 := memPtr\n value3 := abi_decode_uint8(add(headStart, 96))\n }\n function abi_encode_tuple_packed_t_address_t_uint8_t_uint8__to_t_address_t_uint8_t_uint8__nonPadded_inplace_fromStack_reversed(pos, value2, value1, value0) -> end\n {\n mstore(pos, and(shl(96, value0), not(0xffffffffffffffffffffffff)))\n let _1 := shl(248, 255)\n mstore(add(pos, 20), and(shl(248, value1), _1))\n mstore(add(pos, 21), and(shl(248, value2), _1))\n end := add(pos, 22)\n }\n function abi_encode_tuple_packed_t_stringliteral_178a2411ab6fbc1ba11064408972259c558d0e82fd48b0aba3ad81d14f065e73_t_bytes32__to_t_string_memory_ptr_t_bytes32__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, 0x19457468657265756d205369676e6564204d6573736167653a0a333200000000)\n mstore(add(pos, 28), value0)\n end := add(pos, 60)\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function abi_encode_tuple_t_address_t_uint8_t_uint8__to_t_address_t_uint8_t_uint8__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n tail := add(headStart, 96)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n mstore(add(headStart, 32), and(value1, 0xff))\n mstore(add(headStart, 64), and(value2, 0xff))\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 128)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, 0xff))\n mstore(add(headStart, 64), value2)\n mstore(add(headStart, 96), value3)\n }\n function abi_encode_tuple_t_stringliteral_044fd81d418bf62b20af635198f63632277e3bfb22a134d0c53cfd4dd9d4974b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 17)\n mstore(add(headStart, 64), \"Wrong bet amount.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_0e26c30c9af2b4d196a4276a238e726f2a62a8d403e44d5e166d697ca10783e8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"Move out of range. Must be betwe\")\n mstore(add(headStart, 96), \"en 1 and 3.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_124aefa704cdd407a2403e74675d3926834fa5fabd6ae58107a7b9fd1906ef54__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 15)\n mstore(add(headStart, 64), \"Game has ended.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_1d36627e1510ec4829841427bef49fae7a65d4f0374862a1def1ce927571f793__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 25)\n mstore(add(headStart, 64), \"Game has already started.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_21914824ead4132f6cc39af30546822d90293b773e78a531d1c65d2f7dc26ddb__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 36)\n mstore(add(headStart, 64), \"Sequence number cannot go backwa\")\n mstore(add(headStart, 96), \"rds.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_3cbc588e4d1ecfdf64e47f1e54a082d2c336b8228cf0f55aadaa6495f242d77c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 18)\n mstore(add(headStart, 64), \"Game was canceled.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_507ce349b9060e0e598da3a12cdc76c1c5e81243abd956e8ed976ed64eb674e8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 21)\n mstore(add(headStart, 64), \"Game has not started.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_51b79df1a40f6eade4f7c6efb6604398969116a4c002b822d353536582071c64__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"Only first player may cancel.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_69de070a7e9fd31aaf1220285a32a1aafa2aaabdd8a0a65c53d9faa020ec0d52__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 14)\n mstore(add(headStart, 64), \"Not your turn.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_783dbed276170961a34d2be536959f4d741b301f85646f66f1893483e0f04494__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 21)\n mstore(add(headStart, 64), \"Move would exceed 21.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_9b3b3ec960f4f8902c361019561daa84849c1ba720f77a9bb2397ef8a8488f03__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 15)\n mstore(add(headStart, 64), \"Invalid player.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_9d48a83ffa746d9c6a18a1ade1b13118041d408147adef9e381b25038ed56049__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 26)\n mstore(add(headStart, 64), \"Incorrect sequence number.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_fb96e6e5e6c349e40da1341a179e5b6fbce53f79fed8045cd9d48247a9cc0020__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 35)\n mstore(add(headStart, 64), \"Cannot start a timeout on yourse\")\n mstore(add(headStart, 96), \"lf.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint8_t_uint8_t_address__to_t_uint8_t_uint8_t_address__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n tail := add(headStart, 96)\n mstore(headStart, and(value0, 0xff))\n mstore(add(headStart, 32), and(value1, 0xff))\n mstore(add(headStart, 64), and(value2, sub(shl(160, 1), 1)))\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function checked_add_t_uint8(x, y) -> sum\n {\n let x_1 := and(x, 0xff)\n let y_1 := and(y, 0xff)\n if gt(x_1, sub(0xff, y_1)) { panic_error_0x11() }\n sum := add(x_1, y_1)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n}", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "6080604052600436106100c25760003560e01c8063b688a3631161007f578063ceec2c9011610059578063ceec2c901461021a578063d24257c01461023a578063d30895e414610250578063ea8a1af01461027057600080fd5b8063b688a3631461018a578063bdb337d114610192578063c19d93fb146101bc57600080fd5b80630e1da6c3146100c75780630e76f9db146100de57806359a5f12d14610107578063701bd9851461013f57806370dea79a1461015f5780637a45589414610175575b600080fd5b3480156100d357600080fd5b506100dc610285565b005b3480156100ea57600080fd5b506100f460055481565b6040519081526020015b60405180910390f35b34801561011357600080fd5b50600154610127906001600160a01b031681565b6040516001600160a01b0390911681526020016100fe565b34801561014b57600080fd5b506100dc61015a366004610c26565b610324565b34801561016b57600080fd5b506100f460065481565b34801561018157600080fd5b506100dc6105f9565b6100dc6106cf565b34801561019e57600080fd5b506003546101ac9060ff1681565b60405190151581526020016100fe565b3480156101c857600080fd5b506004546101f19060ff808216916101008104909116906201000090046001600160a01b031683565b6040805160ff94851681529390921660208401526001600160a01b0316908201526060016100fe565b34801561022657600080fd5b506100dc610235366004610c59565b610818565b34801561024657600080fd5b506100f460025481565b34801561025c57600080fd5b50600054610127906001600160a01b031681565b34801561027c57600080fd5b506100dc61099f565b60035460ff16156102b15760405162461bcd60e51b81526004016102a890610d3c565b60405180910390fd5b6006544210156102c057600080fd5b6003805460ff191660011790556004546102e9906001600160a01b036201000090910416610a87565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610321573d6000803e3d6000fd5b50565b60035460ff16156103475760405162461bcd60e51b81526004016102a890610d3c565b6004546201000090046001600160a01b031633146103985760405162461bcd60e51b815260206004820152600e60248201526d2737ba103cb7bab9103a3ab9371760911b60448201526064016102a8565b60018160ff16101580156103b0575060038160ff1611155b6104105760405162461bcd60e51b815260206004820152602b60248201527f4d6f7665206f7574206f662072616e67652e204d75737420626520626574776560448201526a32b710189030b73210199760a91b60648201526084016102a8565b600454601590610429908390610100900460ff16610d7d565b60ff1611156104725760405162461bcd60e51b815260206004820152601560248201527426b7bb32903bb7bab6321032bc31b2b2b21019189760591b60448201526064016102a8565b60045460ff8381169116146104c95760405162461bcd60e51b815260206004820152601a60248201527f496e636f72726563742073657175656e6365206e756d6265722e00000000000060448201526064016102a8565b600480548291906001906104e6908490610100900460ff16610d7d565b92506101000a81548160ff021916908360ff16021790555061050733610a87565b600480546001600160a01b0392909216620100000262010000600160b01b031983168117825560019260009161054691859160ff908116911617610d7d565b825461010092830a60ff81810219909216928216029190911790925560001960065560045404166015141590506105b2576003805460ff1916600117905560405133904780156108fc02916000818181858888f193505050501580156105b0573d6000803e3d6000fd5b505b6040805133815260ff848116602083015283168183015290517f10ac166a969b6ae9b140c9d6b88c6c4e565e4fc22f858bf92f1542535f0f161a9181900360600190a15050565b60035460ff161561061c5760405162461bcd60e51b81526004016102a890610d3c565b61062533610a87565b6004546201000090046001600160a01b039081169116146106945760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f7420737461727420612074696d656f7574206f6e20796f7572736560448201526236331760e91b60648201526084016102a8565b6005546106a19042610d65565b6006556040517f02bdd5174ce27e71542ca96bbba5c2c21920793759d94795d2f17eff6f7f2a0f90600090a1565b6001546001600160a01b0316156107245760405162461bcd60e51b815260206004820152601960248201527823b0b6b2903430b99030b63932b0b23c9039ba30b93a32b21760391b60448201526064016102a8565b60035460ff161561076c5760405162461bcd60e51b815260206004820152601260248201527123b0b6b2903bb0b99031b0b731b2b632b21760711b60448201526064016102a8565b60025434146107b15760405162461bcd60e51b81526020600482015260116024820152702bb937b733903132ba1030b6b7bab73a1760791b60448201526064016102a8565b60018054336001600160a01b0319909116179055600080546004805462010000600160b01b0319166001600160a01b0390921662010000029190911790556040517f762f260439bb4be3ef6e4dc2786e2e7bd187d3d80b79057d7a424fe98563e3359190a1565b60045460ff908116908516101561087d5760405162461bcd60e51b8152602060048201526024808201527f53657175656e6365206e756d6265722063616e6e6f7420676f206261636b77616044820152633932399760e11b60648201526084016102a8565b6040516bffffffffffffffffffffffff193060601b1660208201526001600160f81b031960f886811b8216603484015285901b16603582015260009061092990603601604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b905061093433610a87565b6001600160a01b03166109478285610b67565b6001600160a01b03161461095a57600080fd5b6004805462010000330262010000600160b01b031960ff8881166101000261ffff19909416908a161792909217919091161790556109988583610324565b5050505050565b6000546001600160a01b031633146109f95760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c7920666972737420706c61796572206d61792063616e63656c2e00000060448201526064016102a8565b6001546001600160a01b031615610a4e5760405162461bcd60e51b815260206004820152601960248201527823b0b6b2903430b99030b63932b0b23c9039ba30b93a32b21760391b60448201526064016102a8565b6003805460ff1916600117905560405133904780156108fc02916000818181858888f19350505050158015610321573d6000803e3d6000fd5b6001546000906001600160a01b0316610ada5760405162461bcd60e51b815260206004820152601560248201527423b0b6b2903430b9903737ba1039ba30b93a32b21760591b60448201526064016102a8565b6000546001600160a01b0383811691161415610b015750506001546001600160a01b031690565b6001546001600160a01b0383811691161415610b285750506000546001600160a01b031690565b60405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b210383630bcb2b91760891b60448201526064016102a8565b919050565b600080600080610b7685610be6565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa158015610bd1573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008060008351604114610bf957600080fd5b5050506020810151604082015160609092015160001a92909190565b803560ff81168114610b6257600080fd5b60008060408385031215610c3957600080fd5b610c4283610c15565b9150610c5060208401610c15565b90509250929050565b60008060008060808587031215610c6f57600080fd5b610c7885610c15565b9350610c8660208601610c15565b9250604085013567ffffffffffffffff80821115610ca357600080fd5b818701915087601f830112610cb757600080fd5b813581811115610cc957610cc9610db8565b604051601f8201601f19908116603f01168101908382118183101715610cf157610cf1610db8565b816040528281528a6020848701011115610d0a57600080fd5b826020860160208301376000602084830101528096505050505050610d3160608601610c15565b905092959194509250565b6020808252600f908201526e23b0b6b2903430b99032b73232b21760891b604082015260600190565b60008219821115610d7857610d78610da2565b500190565b600060ff821660ff84168060ff03821115610d9a57610d9a610da2565b019392505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220efe38869a879705a9a0e1253ce51e4e15066e3aa1ad14fe0e14a0e05a3992c2864736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0xC2 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xB688A363 GT PUSH2 0x7F JUMPI DUP1 PUSH4 0xCEEC2C90 GT PUSH2 0x59 JUMPI DUP1 PUSH4 0xCEEC2C90 EQ PUSH2 0x21A JUMPI DUP1 PUSH4 0xD24257C0 EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0xD30895E4 EQ PUSH2 0x250 JUMPI DUP1 PUSH4 0xEA8A1AF0 EQ PUSH2 0x270 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xB688A363 EQ PUSH2 0x18A JUMPI DUP1 PUSH4 0xBDB337D1 EQ PUSH2 0x192 JUMPI DUP1 PUSH4 0xC19D93FB EQ PUSH2 0x1BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xE1DA6C3 EQ PUSH2 0xC7 JUMPI DUP1 PUSH4 0xE76F9DB EQ PUSH2 0xDE JUMPI DUP1 PUSH4 0x59A5F12D EQ PUSH2 0x107 JUMPI DUP1 PUSH4 0x701BD985 EQ PUSH2 0x13F JUMPI DUP1 PUSH4 0x70DEA79A EQ PUSH2 0x15F JUMPI DUP1 PUSH4 0x7A455894 EQ PUSH2 0x175 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xD3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x285 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0xEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF4 PUSH1 0x5 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x113 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x1 SLOAD PUSH2 0x127 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xFE JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x14B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x15A CALLDATASIZE PUSH1 0x4 PUSH2 0xC26 JUMP JUMPDEST PUSH2 0x324 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x16B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF4 PUSH1 0x6 SLOAD DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x181 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x5F9 JUMP JUMPDEST PUSH2 0xDC PUSH2 0x6CF JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x19E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3 SLOAD PUSH2 0x1AC SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xFE JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 SLOAD PUSH2 0x1F1 SWAP1 PUSH1 0xFF DUP1 DUP3 AND SWAP2 PUSH2 0x100 DUP2 DIV SWAP1 SWAP2 AND SWAP1 PUSH3 0x10000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0xFF SWAP5 DUP6 AND DUP2 MSTORE SWAP4 SWAP1 SWAP3 AND PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP3 ADD MSTORE PUSH1 0x60 ADD PUSH2 0xFE JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x226 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x235 CALLDATASIZE PUSH1 0x4 PUSH2 0xC59 JUMP JUMPDEST PUSH2 0x818 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x246 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xF4 PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x25C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x0 SLOAD PUSH2 0x127 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x27C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xDC PUSH2 0x99F JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x2B1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2A8 SWAP1 PUSH2 0xD3C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x6 SLOAD TIMESTAMP LT ISZERO PUSH2 0x2C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH1 0x4 SLOAD PUSH2 0x2E9 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH3 0x10000 SWAP1 SWAP2 DIV AND PUSH2 0xA87 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x321 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x347 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2A8 SWAP1 PUSH2 0xD3C JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH3 0x10000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x398 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x2737BA103CB7BAB9103A3AB93717 PUSH1 0x91 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0xFF AND LT ISZERO DUP1 ISZERO PUSH2 0x3B0 JUMPI POP PUSH1 0x3 DUP2 PUSH1 0xFF AND GT ISZERO JUMPDEST PUSH2 0x410 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D6F7665206F7574206F662072616E67652E204D757374206265206265747765 PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x32B710189030B732101997 PUSH1 0xA9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0x15 SWAP1 PUSH2 0x429 SWAP1 DUP4 SWAP1 PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xD7D JUMP JUMPDEST PUSH1 0xFF AND GT ISZERO PUSH2 0x472 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x26B7BB32903BB7BAB6321032BC31B2B2B210191897 PUSH1 0x59 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF DUP4 DUP2 AND SWAP2 AND EQ PUSH2 0x4C9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E636F72726563742073657175656E6365206E756D6265722E000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD DUP3 SWAP2 SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x4E6 SWAP1 DUP5 SWAP1 PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xD7D JUMP JUMPDEST SWAP3 POP PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0xFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x507 CALLER PUSH2 0xA87 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND PUSH3 0x10000 MUL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT DUP4 AND DUP2 OR DUP3 SSTORE PUSH1 0x1 SWAP3 PUSH1 0x0 SWAP2 PUSH2 0x546 SWAP2 DUP6 SWAP2 PUSH1 0xFF SWAP1 DUP2 AND SWAP2 AND OR PUSH2 0xD7D JUMP JUMPDEST DUP3 SLOAD PUSH2 0x100 SWAP3 DUP4 EXP PUSH1 0xFF DUP2 DUP2 MUL NOT SWAP1 SWAP3 AND SWAP3 DUP3 AND MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SWAP3 SSTORE PUSH1 0x0 NOT PUSH1 0x6 SSTORE PUSH1 0x4 SLOAD DIV AND PUSH1 0x15 EQ ISZERO SWAP1 POP PUSH2 0x5B2 JUMPI PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH1 0x40 MLOAD CALLER SWAP1 SELFBALANCE DUP1 ISZERO PUSH2 0x8FC MUL SWAP2 PUSH1 0x0 DUP2 DUP2 DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x5B0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP JUMPDEST PUSH1 0x40 DUP1 MLOAD CALLER DUP2 MSTORE PUSH1 0xFF DUP5 DUP2 AND PUSH1 0x20 DUP4 ADD MSTORE DUP4 AND DUP2 DUP4 ADD MSTORE SWAP1 MLOAD PUSH32 0x10AC166A969B6AE9B140C9D6B88C6C4E565E4FC22F858BF92F1542535F0F161A SWAP2 DUP2 SWAP1 SUB PUSH1 0x60 ADD SWAP1 LOG1 POP POP JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x61C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2A8 SWAP1 PUSH2 0xD3C JUMP JUMPDEST PUSH2 0x625 CALLER PUSH2 0xA87 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH3 0x10000 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 AND EQ PUSH2 0x694 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43616E6E6F7420737461727420612074696D656F7574206F6E20796F75727365 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x363317 PUSH1 0xE9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH2 0x6A1 SWAP1 TIMESTAMP PUSH2 0xD65 JUMP JUMPDEST PUSH1 0x6 SSTORE PUSH1 0x40 MLOAD PUSH32 0x2BDD5174CE27E71542CA96BBBA5C2C21920793759D94795D2F17EFF6F7F2A0F SWAP1 PUSH1 0x0 SWAP1 LOG1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x724 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH25 0x23B0B6B2903430B99030B63932B0B23C9039BA30B93A32B217 PUSH1 0x39 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x76C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x12 PUSH1 0x24 DUP3 ADD MSTORE PUSH18 0x23B0B6B2903BB0B99031B0B731B2B632B217 PUSH1 0x71 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x2 SLOAD CALLVALUE EQ PUSH2 0x7B1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x2BB937B733903132BA1030B6B7BAB73A17 PUSH1 0x79 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH1 0x0 DUP1 SLOAD PUSH1 0x4 DUP1 SLOAD PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH3 0x10000 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH32 0x762F260439BB4BE3EF6E4DC2786E2E7BD187D3D80B79057D7A424FE98563E335 SWAP2 SWAP1 LOG1 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF SWAP1 DUP2 AND SWAP1 DUP6 AND LT ISZERO PUSH2 0x87D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x53657175656E6365206E756D6265722063616E6E6F7420676F206261636B7761 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x39323997 PUSH1 0xE1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT PUSH1 0xF8 DUP7 DUP2 SHL DUP3 AND PUSH1 0x34 DUP5 ADD MSTORE DUP6 SWAP1 SHL AND PUSH1 0x35 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH2 0x929 SWAP1 PUSH1 0x36 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD PUSH32 0x19457468657265756D205369676E6564204D6573736167653A0A333200000000 PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x3C DUP2 ADD DUP3 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x5C ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST SWAP1 POP PUSH2 0x934 CALLER PUSH2 0xA87 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x947 DUP3 DUP6 PUSH2 0xB67 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x95A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH3 0x10000 CALLER MUL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT PUSH1 0xFF DUP9 DUP2 AND PUSH2 0x100 MUL PUSH2 0xFFFF NOT SWAP1 SWAP5 AND SWAP1 DUP11 AND OR SWAP3 SWAP1 SWAP3 OR SWAP2 SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH2 0x998 DUP6 DUP4 PUSH2 0x324 JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x9F9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C7920666972737420706C61796572206D61792063616E63656C2E000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0xA4E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH25 0x23B0B6B2903430B99030B63932B0B23C9039BA30B93A32B217 PUSH1 0x39 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x3 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH1 0x40 MLOAD CALLER SWAP1 SELFBALANCE DUP1 ISZERO PUSH2 0x8FC MUL SWAP2 PUSH1 0x0 DUP2 DUP2 DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x321 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xADA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x23B0B6B2903430B9903737BA1039BA30B93A32B217 PUSH1 0x59 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND SWAP2 AND EQ ISZERO PUSH2 0xB01 JUMPI POP POP PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND SWAP2 AND EQ ISZERO PUSH2 0xB28 JUMPI POP POP PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH15 0x24B73B30B634B210383630BCB2B917 PUSH1 0x89 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2A8 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH2 0xB76 DUP6 PUSH2 0xBE6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP1 DUP4 MSTORE DUP12 SWAP1 MSTORE PUSH1 0xFF DUP6 AND SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x80 DUP2 ADD DUP3 SWAP1 MSTORE SWAP3 SWAP6 POP SWAP1 SWAP4 POP SWAP2 POP PUSH1 0x1 SWAP1 PUSH1 0xA0 ADD PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBD1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH1 0x1F NOT ADD MLOAD SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 MLOAD PUSH1 0x41 EQ PUSH2 0xBF9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP POP PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x60 SWAP1 SWAP3 ADD MLOAD PUSH1 0x0 BYTE SWAP3 SWAP1 SWAP2 SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0xB62 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xC39 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC42 DUP4 PUSH2 0xC15 JUMP JUMPDEST SWAP2 POP PUSH2 0xC50 PUSH1 0x20 DUP5 ADD PUSH2 0xC15 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0xC6F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC78 DUP6 PUSH2 0xC15 JUMP JUMPDEST SWAP4 POP PUSH2 0xC86 PUSH1 0x20 DUP7 ADD PUSH2 0xC15 JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xCA3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xCB7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0xCC9 JUMPI PUSH2 0xCC9 PUSH2 0xDB8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP4 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0xCF1 JUMPI PUSH2 0xCF1 PUSH2 0xDB8 JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP3 DUP2 MSTORE DUP11 PUSH1 0x20 DUP5 DUP8 ADD ADD GT ISZERO PUSH2 0xD0A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x20 DUP5 DUP4 ADD ADD MSTORE DUP1 SWAP7 POP POP POP POP POP POP PUSH2 0xD31 PUSH1 0x60 DUP7 ADD PUSH2 0xC15 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0xF SWAP1 DUP3 ADD MSTORE PUSH15 0x23B0B6B2903430B99032B73232B217 PUSH1 0x89 SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0xD78 JUMPI PUSH2 0xD78 PUSH2 0xDA2 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND PUSH1 0xFF DUP5 AND DUP1 PUSH1 0xFF SUB DUP3 GT ISZERO PUSH2 0xD9A JUMPI PUSH2 0xD9A PUSH2 0xDA2 JUMP JUMPDEST ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xEF 0xE3 DUP9 PUSH10 0xA879705A9A0E1253CE51 0xE4 0xE1 POP PUSH7 0xE3AA1AD14FE0E1 0x4A 0xE SDIV LOG3 SWAP10 0x2C 0x28 PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ", | |
"sourceMap": "65:4418:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3174:234;;;;;;;;;;;;;:::i;:::-;;330:30;;;;;;;;;;;;;;;;;;;8405:25:1;;;8393:2;8378:18;330:30:0;;;;;;;;122:22;;;;;;;;;;-1:-1:-1;122:22:0;;;;-1:-1:-1;;;;;122:22:0;;;;;;-1:-1:-1;;;;;2544:32:1;;;2526:51;;2514:2;2499:18;122:22:0;2380:203:1;1322:742:0;;;;;;;;;;-1:-1:-1;1322:742:0;;;;;:::i;:::-;;:::i;366:35::-;;;;;;;;;;;;;;;;2887:281;;;;;;;;;;;;;:::i;713:314::-;;;:::i;180:20::-;;;;;;;;;;-1:-1:-1;180:20:0;;;;;;;;;;;3117:14:1;;3110:22;3092:41;;3080:2;3065:18;180:20:0;2952:187:1;301:22:0;;;;;;;;;;-1:-1:-1;301:22:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;301:22:0;;;;;;;8665:4:1;8653:17;;;8635:36;;8707:17;;;;8702:2;8687:18;;8680:45;-1:-1:-1;;;;;8761:32:1;8741:18;;;8734:60;8623:2;8608:18;301:22:0;8441:359:1;2070:444:0;;;;;;;;;;-1:-1:-1;2070:444:0;;;;;:::i;:::-;;:::i;150:24::-;;;;;;;;;;;;;;;;94:22;;;;;;;;;;-1:-1:-1;94:22:0;;;;-1:-1:-1;;;;;94:22:0;;;1033:261;;;;;;;;;;;;;:::i;3174:234::-;3224:8;;;;3223:9;3215:37;;;;-1:-1:-1;;;3215:37:0;;;;;;;:::i;:::-;;;;;;;;;3289:7;;3270:15;:26;;3262:35;;;;;;3308:8;:15;;-1:-1:-1;;3308:15:0;3319:4;3308:15;;;3352:5;:15;3341:27;;-1:-1:-1;;;;;3352:15:0;;;;;3341:10;:27::i;:::-;-1:-1:-1;;;;;3333:45:0;:68;3379:21;3333:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3174:234::o;1322:742::-;1386:8;;;;1385:9;1377:37;;;;-1:-1:-1;;;1377:37:0;;;;;;;:::i;:::-;1446:5;:15;;;;-1:-1:-1;;;;;1446:15:0;1432:10;:29;1424:56;;;;-1:-1:-1;;;1424:56:0;;6665:2:1;1424:56:0;;;6647:21:1;6704:2;6684:18;;;6677:30;-1:-1:-1;;;6723:18:1;;;6716:44;6777:18;;1424:56:0;6463:338:1;1424:56:0;1507:1;1498:5;:10;;;;:24;;;;;1521:1;1512:5;:10;;;;1498:24;1490:92;;;;-1:-1:-1;;;1490:92:0;;4095:2:1;1490:92:0;;;4077:21:1;4134:2;4114:18;;;4107:30;4173:34;4153:18;;;4146:62;-1:-1:-1;;;4224:18:1;;;4217:41;4275:19;;1490:92:0;3893:407:1;1490:92:0;1600:5;:9;1621:2;;1600:17;;1612:5;;1600:9;;;;;:17;:::i;:::-;:23;;;;1592:57;;;;-1:-1:-1;;;1592:57:0;;7008:2:1;1592:57:0;;;6990:21:1;7047:2;7027:18;;;7020:30;-1:-1:-1;;;7066:18:1;;;7059:51;7127:18;;1592:57:0;6806:345:1;1592:57:0;1667:5;:9;:16;;;;:9;;:16;1659:55;;;;-1:-1:-1;;;1659:55:0;;7702:2:1;1659:55:0;;;7684:21:1;7741:2;7721:18;;;7714:30;7780:28;7760:18;;;7753:56;7826:18;;1659:55:0;7500:350:1;1659:55:0;1725:5;:18;;1738:5;;1725;:9;;:18;;1738:5;;1725:18;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1771:22;1782:10;1771;:22::i;:::-;1753:5;:40;;-1:-1:-1;;;;;1753:40:0;;;;;;-1:-1:-1;;;;;;1753:40:0;;;;;;-1:-1:-1;;1753:15:0;;1803:14;;-1:-1:-1;;1803:14:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1853:7:0;:20;1888:5;:9;;;1901:2;1888:15;1884:126;;-1:-1:-1;1884:126:0;;1919:8;:15;;-1:-1:-1;;1919:15:0;1930:4;1919:15;;;1948:51;;1956:10;;1977:21;1948:51;;;;;1919:8;1948:51;1919:8;1948:51;1977:21;1956:10;1948:51;;;;;;;;;;;;;;;;;;;;;1884:126;2025:32;;;2034:10;2782:51:1;;2881:4;2869:17;;;2864:2;2849:18;;2842:45;2923:17;;2903:18;;;2896:45;2025:32:0;;;;;;;2770:2:1;2025:32:0;;;1322:742;;:::o;2887:281::-;2937:8;;;;2936:9;2928:37;;;;-1:-1:-1;;;2928:37:0;;;;;;;:::i;:::-;3002:22;3013:10;3002;:22::i;:::-;2983:5;:15;;;;-1:-1:-1;;;;;2983:15:0;;;:41;;;2975:101;;;;-1:-1:-1;;;2975:101:0;;8057:2:1;2975:101:0;;;8039:21:1;8096:2;8076:18;;;8069:30;8135:34;8115:18;;;8108:62;-1:-1:-1;;;8186:18:1;;;8179:33;8229:19;;2975:101:0;7855:399:1;2975:101:0;3115:15;;3097:33;;:15;:33;:::i;:::-;3087:7;:43;3145:16;;;;;;;2887:281::o;713:314::-;762:7;;-1:-1:-1;;;;;762:7:0;:21;754:59;;;;-1:-1:-1;;;754:59:0;;4851:2:1;754:59:0;;;4833:21:1;4890:2;4870:18;;;4863:30;-1:-1:-1;;;4909:18:1;;;4902:55;4974:18;;754:59:0;4649:349:1;754:59:0;832:8;;;;831:9;823:40;;;;-1:-1:-1;;;823:40:0;;5610:2:1;823:40:0;;;5592:21:1;5649:2;5629:18;;;5622:30;-1:-1:-1;;;5668:18:1;;;5661:48;5726:18;;823:40:0;5408:342:1;823:40:0;894:9;;881;:22;873:52;;;;-1:-1:-1;;;873:52:0;;3749:2:1;873:52:0;;;3731:21:1;3788:2;3768:18;;;3761:30;-1:-1:-1;;;3807:18:1;;;3800:47;3864:18;;873:52:0;3547:341:1;873:52:0;936:7;:20;;946:10;-1:-1:-1;;;;;;936:20:0;;;;;;-1:-1:-1;984:7:0;;966:5;:25;;-1:-1:-1;;;;;;966:25:0;-1:-1:-1;;;;;984:7:0;;;966:25;;;;;;;;1007:13;;;;-1:-1:-1;1007:13:0;713:314::o;2070:444::-;2178:5;:9;;;;;2171:16;;;;;2163:65;;;;-1:-1:-1;;;2163:65:0;;5205:2:1;2163:65:0;;;5187:21:1;5244:2;5224:18;;;5217:30;5283:34;5263:18;;;5256:62;-1:-1:-1;;;5334:18:1;;;5327:34;5378:19;;2163:65:0;5003:400:1;2163:65:0;2276:41;;-1:-1:-1;;2301:4:0;1766:2:1;1762:15;1758:53;2276:41:0;;;1746:66:1;-1:-1:-1;;;;;;1835:3:1;1878:16;;;1874:25;;1860:12;;;1853:47;1934:16;;;1930:25;1916:12;;;1909:47;2239:15:0;;2257:62;;1972:12:1;;2276:41:0;;;;;;;;;;;;2266:52;;;;;;4415:58;;2237:66:1;4415:58:0;;;2225:79:1;2320:12;;;2313:28;;;4379:7:0;;2357:12:1;;4415:58:0;;;;;;;;;;;;4405:69;;;;;;4398:76;;4324:157;;;;2257:62;2239:80;;2368:22;2379:10;2368;:22::i;:::-;-1:-1:-1;;;;;2337:53:0;:27;2351:7;2360:3;2337:13;:27::i;:::-;-1:-1:-1;;;;;2337:53:0;;2329:62;;;;;;2402:5;:15;;2452:28;2470:10;2452:28;-1:-1:-1;;;;;;2402:15:0;2427;;;2402;2427;-1:-1:-1;;2427:15:0;;;2402;;;2427;;;;;2452:28;;;;;;;2491:16;2414:3;2501:5;2491:4;:16::i;:::-;2153:361;2070:444;;;;:::o;1033:261::-;1090:7;;-1:-1:-1;;;;;1090:7:0;1076:10;:21;1068:63;;;;-1:-1:-1;;;1068:63:0;;6307:2:1;1068:63:0;;;6289:21:1;6346:2;6326:18;;;6319:30;6385:31;6365:18;;;6358:59;6434:18;;1068:63:0;6105:353:1;1068:63:0;1149:7;;-1:-1:-1;;;;;1149:7:0;:21;1141:59;;;;-1:-1:-1;;;1141:59:0;;4851:2:1;1141:59:0;;;4833:21:1;4890:2;4870:18;;;4863:30;-1:-1:-1;;;4909:18:1;;;4902:55;4974:18;;1141:59:0;4649:349:1;1141:59:0;1211:8;:15;;-1:-1:-1;;1211:15:0;1222:4;1211:15;;;1236:51;;1244:10;;1265:21;1236:51;;;;;1211:8;1236:51;1211:8;1236:51;1265:21;1244:10;1236:51;;;;;;;;;;;;;;;;;;;2520:336;2606:7;;2579;;-1:-1:-1;;;;;2606:7:0;2598:55;;;;-1:-1:-1;;;2598:55:0;;5957:2:1;2598:55:0;;;5939:21:1;5996:2;5976:18;;;5969:30;-1:-1:-1;;;6015:18:1;;;6008:51;6076:18;;2598:55:0;5755:345:1;2598:55:0;2678:7;;-1:-1:-1;;;;;2668:17:0;;;2678:7;;2668:17;2664:186;;;-1:-1:-1;;2708:7:0;;-1:-1:-1;;;;;2708:7:0;;2520:336::o;2664:186::-;2746:7;;-1:-1:-1;;;;;2736:17:0;;;2746:7;;2736:17;2732:118;;;-1:-1:-1;;2776:7:0;;-1:-1:-1;;;;;2776:7:0;;2520:336::o;2732:118::-;2814:25;;-1:-1:-1;;;2814:25:0;;7358:2:1;2814:25:0;;;7340:21:1;7397:2;7377:18;;;7370:30;-1:-1:-1;;;7416:18:1;;;7409:45;7471:18;;2814:25:0;7156:339:1;2732:118:0;2520:336;;;:::o;3986:267::-;4091:7;4114;4131:9;4150;4182:19;4197:3;4182:14;:19::i;:::-;4219:27;;;;;;;;;;;;3371:25:1;;;3444:4;3432:17;;3412:18;;;3405:45;;;;3466:18;;;3459:34;;;3509:18;;;3502:34;;;4170:31:0;;-1:-1:-1;4170:31:0;;-1:-1:-1;4170:31:0;-1:-1:-1;4219:27:0;;3343:19:1;;4219:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4219:27:0;;-1:-1:-1;;4219:27:0;;;3986:267;-1:-1:-1;;;;;;;3986:267:0:o;3441:539::-;3530:5;3537:7;3546;3577:3;:10;3591:2;3577:16;3569:25;;;;;;-1:-1:-1;;;3759:2:0;3750:12;;3744:19;3827:2;3818:12;;3812:19;3932:2;3923:12;;;3917:19;3605:9;3909:28;;3744:19;;3812;3441:539::o;14:156:1:-;80:20;;140:4;129:16;;119:27;;109:55;;160:1;157;150:12;175:252;239:6;247;300:2;288:9;279:7;275:23;271:32;268:52;;;316:1;313;306:12;268:52;339:27;356:9;339:27;:::i;:::-;329:37;;385:36;417:2;406:9;402:18;385:36;:::i;:::-;375:46;;175:252;;;;;:::o;432:1132::-;521:6;529;537;545;598:3;586:9;577:7;573:23;569:33;566:53;;;615:1;612;605:12;566:53;638:27;655:9;638:27;:::i;:::-;628:37;;684:36;716:2;705:9;701:18;684:36;:::i;:::-;674:46;;771:2;760:9;756:18;743:32;794:18;835:2;827:6;824:14;821:34;;;851:1;848;841:12;821:34;889:6;878:9;874:22;864:32;;934:7;927:4;923:2;919:13;915:27;905:55;;956:1;953;946:12;905:55;992:2;979:16;1014:2;1010;1007:10;1004:36;;;1020:18;;:::i;:::-;1095:2;1089:9;1063:2;1149:13;;-1:-1:-1;;1145:22:1;;;1169:2;1141:31;1137:40;1125:53;;;1193:18;;;1213:22;;;1190:46;1187:72;;;1239:18;;:::i;:::-;1279:10;1275:2;1268:22;1314:2;1306:6;1299:18;1354:7;1349:2;1344;1340;1336:11;1332:20;1329:33;1326:53;;;1375:1;1372;1365:12;1326:53;1431:2;1426;1422;1418:11;1413:2;1405:6;1401:15;1388:46;1476:1;1471:2;1466;1458:6;1454:15;1450:24;1443:35;1497:6;1487:16;;;;;;;1522:36;1554:2;1543:9;1539:18;1522:36;:::i;:::-;1512:46;;432:1132;;;;;;;:::o;4305:339::-;4507:2;4489:21;;;4546:2;4526:18;;;4519:30;-1:-1:-1;;;4580:2:1;4565:18;;4558:45;4635:2;4620:18;;4305:339::o;8805:128::-;8845:3;8876:1;8872:6;8869:1;8866:13;8863:39;;;8882:18;;:::i;:::-;-1:-1:-1;8918:9:1;;8805:128::o;8938:204::-;8976:3;9012:4;9009:1;9005:12;9044:4;9041:1;9037:12;9079:3;9073:4;9069:14;9064:3;9061:23;9058:49;;;9087:18;;:::i;:::-;9123:13;;8938:204;-1:-1:-1;;;8938:204:1:o;9147:127::-;9208:10;9203:3;9199:20;9196:1;9189:31;9239:4;9236:1;9229:15;9263:4;9260:1;9253:15;9279:127;9340:10;9335:3;9331:20;9328:1;9321:31;9371:4;9368:1;9361:15;9395:4;9392:1;9385:15" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "717600", | |
"executionCost": "infinite", | |
"totalCost": "infinite" | |
}, | |
"external": { | |
"betAmount()": "2328", | |
"cancel()": "infinite", | |
"claimTimeout()": "infinite", | |
"gameOver()": "2355", | |
"join()": "57915", | |
"move(uint8,uint8)": "infinite", | |
"moveFromState(uint8,uint8,bytes,uint8)": "infinite", | |
"player1()": "2403", | |
"player2()": "2382", | |
"startTimeout()": "38185", | |
"state()": "2504", | |
"timeout()": "2373", | |
"timeoutInterval()": "2307" | |
}, | |
"internal": { | |
"opponentOf(address)": "infinite", | |
"prefixed(bytes32)": "infinite", | |
"recoverSigner(bytes32,bytes memory)": "infinite", | |
"splitSignature(bytes memory)": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"betAmount()": "d24257c0", | |
"cancel()": "ea8a1af0", | |
"claimTimeout()": "0e1da6c3", | |
"gameOver()": "bdb337d1", | |
"join()": "b688a363", | |
"move(uint8,uint8)": "701bd985", | |
"moveFromState(uint8,uint8,bytes,uint8)": "ceec2c90", | |
"player1()": "d30895e4", | |
"player2()": "59a5f12d", | |
"startTimeout()": "7a455894", | |
"state()": "c19d93fb", | |
"timeout()": "70dea79a", | |
"timeoutInterval()": "0e76f9db" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_timeoutInterval", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "GameStarted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "player", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "seq", | |
"type": "uint8" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "value", | |
"type": "uint8" | |
} | |
], | |
"name": "MoveMade", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "TimeoutStarted", | |
"type": "event" | |
}, | |
{ | |
"inputs": [], | |
"name": "betAmount", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "cancel", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "claimTimeout", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "gameOver", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "join", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint8", | |
"name": "seq", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "value", | |
"type": "uint8" | |
} | |
], | |
"name": "move", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint8", | |
"name": "seq", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "num", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "sig", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "value", | |
"type": "uint8" | |
} | |
], | |
"name": "moveFromState", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "player1", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "player2", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "startTimeout", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "state", | |
"outputs": [ | |
{ | |
"internalType": "uint8", | |
"name": "seq", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "num", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "whoseTurn", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "timeout", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "timeoutInterval", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.7+commit.e28d00a7" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_timeoutInterval", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "GameStarted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "player", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "seq", | |
"type": "uint8" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint8", | |
"name": "value", | |
"type": "uint8" | |
} | |
], | |
"name": "MoveMade", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "TimeoutStarted", | |
"type": "event" | |
}, | |
{ | |
"inputs": [], | |
"name": "betAmount", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "cancel", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "claimTimeout", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "gameOver", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "join", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint8", | |
"name": "seq", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "value", | |
"type": "uint8" | |
} | |
], | |
"name": "move", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint8", | |
"name": "seq", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "num", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "sig", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "value", | |
"type": "uint8" | |
} | |
], | |
"name": "moveFromState", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "player1", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "player2", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "startTimeout", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "state", | |
"outputs": [ | |
{ | |
"internalType": "uint8", | |
"name": "seq", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "num", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "whoseTurn", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "timeout", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "timeoutInterval", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/RPS.sol": "TwentyOneGame" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/RPS.sol": { | |
"keccak256": "0x2830fadf56993e88ca07d65b51424acbe89470480e172bb4096e734e0f01e6a1", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://bc81816a975addcc67d52835963731d8c85330b48f497c7eb183a3e522973b49", | |
"dweb:/ipfs/QmRsqcSijrdidDAhxahGy3nq8dGtDTwHv6bbxmJ82AcmRM" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.7.0 <0.9.0; | |
contract TwentyOneGame { | |
address public player1; | |
address public player2; | |
uint256 public betAmount; | |
bool public gameOver; | |
struct GameState { | |
uint8 seq; | |
uint8 num; | |
address whoseTurn; | |
} | |
GameState public state; | |
uint256 public timeoutInterval; | |
uint256 public timeout = 2**256 - 1; | |
event GameStarted(); | |
event TimeoutStarted(); | |
event MoveMade(address player, uint8 seq, uint8 value); | |
// Setup methods | |
constructor(uint256 _timeoutInterval) payable { | |
player1 = msg.sender; | |
betAmount = msg.value; | |
timeoutInterval = _timeoutInterval; | |
} | |
function join() public payable { | |
require(player2 == address(0), "Game has already started."); | |
require(!gameOver, "Game was canceled."); | |
require(msg.value == betAmount, "Wrong bet amount."); | |
player2 = msg.sender; | |
state.whoseTurn = player1; | |
emit GameStarted(); | |
} | |
function cancel() public { | |
require(msg.sender == player1, "Only first player may cancel."); | |
require(player2 == address(0), "Game has already started."); | |
gameOver = true; | |
payable(msg.sender).transfer(address(this).balance); | |
} | |
// Play methods | |
function move(uint8 seq, uint8 value) public { | |
require(!gameOver, "Game has ended."); | |
require(msg.sender == state.whoseTurn, "Not your turn."); | |
require(value >= 1 && value <= 3, | |
"Move out of range. Must be between 1 and 3."); | |
require(state.num + value <= 21, "Move would exceed 21."); | |
require(state.seq == seq, "Incorrect sequence number."); | |
state.num += value; | |
state.whoseTurn = opponentOf(msg.sender); | |
state.seq += 1; | |
// Clear timeout | |
timeout = 2**256 - 1; | |
if (state.num == 21) { | |
gameOver = true; | |
payable(msg.sender).transfer(address(this).balance); | |
} | |
emit MoveMade(msg.sender, seq, value); | |
} | |
function moveFromState(uint8 seq, uint8 num, bytes memory sig, uint8 value) public { | |
require(seq >= state.seq, "Sequence number cannot go backwards."); | |
bytes32 message = prefixed(keccak256(abi.encodePacked(address(this), seq, num))); | |
require(recoverSigner(message, sig) == opponentOf(msg.sender)); | |
state.seq = seq; | |
state.num = num; | |
state.whoseTurn = msg.sender; | |
move(seq, value); | |
} | |
function opponentOf(address player) internal view returns (address) { | |
require(player2 != address(0), "Game has not started."); | |
if (player == player1) { | |
return player2; | |
} else if (player == player2) { | |
return player1; | |
} else { | |
revert("Invalid player."); | |
} | |
} | |
// Timeout methods | |
function startTimeout() public { | |
require(!gameOver, "Game has ended."); | |
require(state.whoseTurn == opponentOf(msg.sender), | |
"Cannot start a timeout on yourself."); | |
timeout = block.timestamp + timeoutInterval; | |
emit TimeoutStarted(); | |
} | |
function claimTimeout() public { | |
require(!gameOver, "Game has ended."); | |
require(block.timestamp >= timeout); | |
gameOver = true; | |
payable(opponentOf(state.whoseTurn)).transfer(address(this).balance); | |
} | |
// Signature methods | |
function splitSignature(bytes memory sig) | |
internal | |
pure | |
returns (uint8, bytes32, bytes32) | |
{ | |
require(sig.length == 65); | |
bytes32 r; | |
bytes32 s; | |
uint8 v; | |
assembly { | |
// first 32 bytes, after the length prefix | |
r := mload(add(sig, 32)) | |
// second 32 bytes | |
s := mload(add(sig, 64)) | |
// final byte (first byte of the next 32 bytes) | |
v := byte(0, mload(add(sig, 96))) | |
} | |
return (v, r, s); | |
} | |
function recoverSigner(bytes32 message, bytes memory sig) | |
internal | |
pure | |
returns (address) | |
{ | |
uint8 v; | |
bytes32 r; | |
bytes32 s; | |
(v, r, s) = splitSignature(sig); | |
return ecrecover(message, v, r, s); | |
} | |
// Builds a prefixed hash to mimic the behavior of eth_sign. | |
function prefixed(bytes32 hash) internal pure returns (bytes32) { | |
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Right click on the script name and hit "Run" to execute | |
(async () => { | |
try { | |
console.log('Running deployWithEthers script...') | |
const contractName = 'Storage' // Change this for other contract | |
const constructorArgs = [] // Put constructor args (if any) here for your contract | |
// Note that the script needs the ABI which is generated from the compilation artifact. | |
// Make sure contract is compiled and artifacts are generated | |
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path | |
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath)) | |
// 'web3Provider' is a remix global variable object | |
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner() | |
let factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer); | |
let contract = await factory.deploy(...constructorArgs); | |
console.log('Contract Address: ', contract.address); | |
// The contract is NOT deployed yet; we must wait until it is mined | |
await contract.deployed() | |
console.log('Deployment successful.') | |
} catch (e) { | |
console.log(e.message) | |
} | |
})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Right click on the script name and hit "Run" to execute | |
(async () => { | |
try { | |
console.log('Running deployWithWeb3 script...') | |
const contractName = 'Storage' // Change this for other contract | |
const constructorArgs = [] // Put constructor args (if any) here for your contract | |
// Note that the script needs the ABI which is generated from the compilation artifact. | |
// Make sure contract is compiled and artifacts are generated | |
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path | |
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath)) | |
const accounts = await web3.eth.getAccounts() | |
let contract = new web3.eth.Contract(metadata.abi) | |
contract = contract.deploy({ | |
data: metadata.data.bytecode.object, | |
arguments: constructorArgs | |
}) | |
const newContractInstance = await contract.send({ | |
from: accounts[0], | |
gas: 1500000, | |
gasPrice: '30000000000' | |
}) | |
console.log('Contract deployed at address: ', newContractInstance.options.address) | |
} catch (e) { | |
console.log(e.message) | |
} | |
})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.7.0 <0.9.0; | |
import "remix_tests.sol"; // this import is automatically injected by Remix. | |
import "remix_accounts.sol"; | |
import "../contracts/RPS.sol"; | |
contract GameTest { | |
uint256 timestamp = 3600; | |
TwentyOneGame gameToTest; | |
address acc0; | |
address acc1; | |
function beforeAll () public { | |
gameToTest = new TwentyOneGame(timestamp); | |
acc0 = TestsAccounts.getAccount(0); | |
acc1 = TestsAccounts.getAccount(1); | |
} | |
function testGame () public { | |
gameToTest.join(); | |
uint8 seq = 1; | |
uint8 value = 3; | |
// gameToTest.move(seq,value); | |
// gameToTest.cancel(); | |
// Assert.equal(ballotToTest.winningProposal(), uint(0), "proposal at index 0 should be the winning proposal"); | |
// Assert.equal(ballotToTest.winnerName(), bytes32("candidate1"), "candidate1 should be the winner name"); | |
} | |
// function checkWinninProposalWithReturnValue () public view returns (bool) { | |
// return ballotToTest.winningProposal() == 0; | |
// } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment