Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shekohex/bc1aae8060803d719147cae513d2745e to your computer and use it in GitHub Desktop.
Save shekohex/bc1aae8060803d719147cae513d2745e 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=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return tryRecover(hash, r, vs);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s;
uint8 v;
assembly {
s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
v := add(shr(255, vs), 27)
}
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}
{
"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": {
"@_605": {
"entryPoint": null,
"id": 605,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_address_fromMemory": {
"entryPoint": 120,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_fromMemory": {
"entryPoint": 141,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 186,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 204,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 236,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 241,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1199:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "70:80:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "80:22:3",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "95:6:3"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "89:5:3"
},
"nodeType": "YulFunctionCall",
"src": "89:13:3"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "80:5:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "138:5:3"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "111:26:3"
},
"nodeType": "YulFunctionCall",
"src": "111:33:3"
},
"nodeType": "YulExpressionStatement",
"src": "111:33:3"
}
]
},
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "48:6:3",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "56:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "64:5:3",
"type": ""
}
],
"src": "7:143:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "233:274:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "279:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "281:77:3"
},
"nodeType": "YulFunctionCall",
"src": "281:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "281:79:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "254:7:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "263:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "250:3:3"
},
"nodeType": "YulFunctionCall",
"src": "250:23:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "275:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "246:3:3"
},
"nodeType": "YulFunctionCall",
"src": "246:32:3"
},
"nodeType": "YulIf",
"src": "243:119:3"
},
{
"nodeType": "YulBlock",
"src": "372:128:3",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "387:15:3",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "401:1:3",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "391:6:3",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "416:74:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "462:9:3"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "473:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "458:3:3"
},
"nodeType": "YulFunctionCall",
"src": "458:22:3"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "482:7:3"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "426:31:3"
},
"nodeType": "YulFunctionCall",
"src": "426:64:3"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "416:6:3"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "203:9:3",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "214:7:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "226:6:3",
"type": ""
}
],
"src": "156:351:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "553:35:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "563:19:3",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "579:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "573:5:3"
},
"nodeType": "YulFunctionCall",
"src": "573:9:3"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "563:6:3"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "546:6:3",
"type": ""
}
],
"src": "513:75:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "639:51:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "649:35:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "678:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "660:17:3"
},
"nodeType": "YulFunctionCall",
"src": "660:24:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "649:7:3"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "621:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "631:7:3",
"type": ""
}
],
"src": "594:96:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "741:81:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "751:65:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "766:5:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "773:42:3",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "762:3:3"
},
"nodeType": "YulFunctionCall",
"src": "762:54:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "751:7:3"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "723:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "733:7:3",
"type": ""
}
],
"src": "696:126:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "917:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "934:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "937:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "927:6:3"
},
"nodeType": "YulFunctionCall",
"src": "927:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "927:12:3"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "828:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1040:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1057:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1060:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1050:6:3"
},
"nodeType": "YulFunctionCall",
"src": "1050:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "1050:12:3"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "951:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1117:79:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1174:16:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1183:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1186:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1176:6:3"
},
"nodeType": "YulFunctionCall",
"src": "1176:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "1176:12:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1140:5:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1165:5:3"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1147:17:3"
},
"nodeType": "YulFunctionCall",
"src": "1147:24:3"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1137:2:3"
},
"nodeType": "YulFunctionCall",
"src": "1137:35:3"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1130:6:3"
},
"nodeType": "YulFunctionCall",
"src": "1130:43:3"
},
"nodeType": "YulIf",
"src": "1127:63:3"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1110:5:3",
"type": ""
}
],
"src": "1074:122:3"
}
]
},
"contents": "{\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 3,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50604051610b4e380380610b4e8339818101604052810190610032919061008d565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610108565b600081519050610087816100f1565b92915050565b6000602082840312156100a3576100a26100ec565b5b60006100b184828501610078565b91505092915050565b60006100c5826100cc565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6100fa816100ba565b811461010557600080fd5b50565b610a37806101176000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630c340a241461003b5780638755bcad14610059575b600080fd5b610043610089565b6040516100509190610697565b60405180910390f35b610073600480360381019061006e9190610557565b6100b2565b60405161008091906106b2565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000808380519060200120905060006100cb828561010d565b90506100d5610089565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149250505092915050565b600080600061011c8585610134565b91509150610129816101b7565b819250505092915050565b6000806041835114156101765760008060006020860151925060408601519150606086015160001a905061016a8782858561038c565b945094505050506101b0565b6040835114156101a757600080602085015191506040850151905061019c868383610499565b9350935050506101b0565b60006002915091505b9250929050565b600060048111156101cb576101ca61088e565b5b8160048111156101de576101dd61088e565b5b14156101e957610389565b600160048111156101fd576101fc61088e565b5b8160048111156102105761020f61088e565b5b1415610251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024890610712565b60405180910390fd5b600260048111156102655761026461088e565b5b8160048111156102785761027761088e565b5b14156102b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b090610732565b60405180910390fd5b600360048111156102cd576102cc61088e565b5b8160048111156102e0576102df61088e565b5b1415610321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031890610752565b60405180910390fd5b6004808111156103345761033361088e565b5b8160048111156103475761034661088e565b5b1415610388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037f90610772565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156103c7576000600391509150610490565b601b8560ff16141580156103df5750601c8560ff1614155b156103f1576000600491509150610490565b60006001878787876040516000815260200160405260405161041694939291906106cd565b6020604051602081039080840390855afa158015610438573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561048757600060019250925050610490565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506104d98782888561038c565b935093505050935093915050565b60006104fa6104f5846107b7565b610792565b905082815260208101848484011115610516576105156108f1565b5b61052184828561084e565b509392505050565b600082601f83011261053e5761053d6108ec565b5b813561054e8482602086016104e7565b91505092915050565b6000806040838503121561056e5761056d6108fb565b5b600083013567ffffffffffffffff81111561058c5761058b6108f6565b5b61059885828601610529565b925050602083013567ffffffffffffffff8111156105b9576105b86108f6565b5b6105c585828601610529565b9150509250929050565b6105d8816107f9565b82525050565b6105e78161080b565b82525050565b6105f681610817565b82525050565b60006106096018836107e8565b915061061482610911565b602082019050919050565b600061062c601f836107e8565b91506106378261093a565b602082019050919050565b600061064f6022836107e8565b915061065a82610963565b604082019050919050565b60006106726022836107e8565b915061067d826109b2565b604082019050919050565b61069181610841565b82525050565b60006020820190506106ac60008301846105cf565b92915050565b60006020820190506106c760008301846105de565b92915050565b60006080820190506106e260008301876105ed565b6106ef6020830186610688565b6106fc60408301856105ed565b61070960608301846105ed565b95945050505050565b6000602082019050818103600083015261072b816105fc565b9050919050565b6000602082019050818103600083015261074b8161061f565b9050919050565b6000602082019050818103600083015261076b81610642565b9050919050565b6000602082019050818103600083015261078b81610665565b9050919050565b600061079c6107ad565b90506107a8828261085d565b919050565b6000604051905090565b600067ffffffffffffffff8211156107d2576107d16108bd565b5b6107db82610900565b9050602081019050919050565b600082825260208201905092915050565b600061080482610821565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b61086682610900565b810181811067ffffffffffffffff82111715610885576108846108bd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f756500000000000000000000000000000000000000000000000000000000000060208201525056fea2646970667358221220d334009da47a2aac504225ba5b64d6e7103e16edb16553dfba414cd8af9b8ddf64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xB4E CODESIZE SUB DUP1 PUSH2 0xB4E DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH2 0x32 SWAP2 SWAP1 PUSH2 0x8D JUMP JUMPDEST DUP1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP PUSH2 0x108 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x87 DUP2 PUSH2 0xF1 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xA3 JUMPI PUSH2 0xA2 PUSH2 0xEC JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xB1 DUP5 DUP3 DUP6 ADD PUSH2 0x78 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC5 DUP3 PUSH2 0xCC JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xFA DUP2 PUSH2 0xBA JUMP JUMPDEST DUP2 EQ PUSH2 0x105 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0xA37 DUP1 PUSH2 0x117 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xC340A24 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x8755BCAD EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x89 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x697 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x73 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6E SWAP2 SWAP1 PUSH2 0x557 JUMP JUMPDEST PUSH2 0xB2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x80 SWAP2 SWAP1 PUSH2 0x6B2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH2 0xCB DUP3 DUP6 PUSH2 0x10D JUMP JUMPDEST SWAP1 POP PUSH2 0xD5 PUSH2 0x89 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x11C DUP6 DUP6 PUSH2 0x134 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x129 DUP2 PUSH2 0x1B7 JUMP JUMPDEST DUP2 SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x41 DUP4 MLOAD EQ ISZERO PUSH2 0x176 JUMPI PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x20 DUP7 ADD MLOAD SWAP3 POP PUSH1 0x40 DUP7 ADD MLOAD SWAP2 POP PUSH1 0x60 DUP7 ADD MLOAD PUSH1 0x0 BYTE SWAP1 POP PUSH2 0x16A DUP8 DUP3 DUP6 DUP6 PUSH2 0x38C JUMP JUMPDEST SWAP5 POP SWAP5 POP POP POP POP PUSH2 0x1B0 JUMP JUMPDEST PUSH1 0x40 DUP4 MLOAD EQ ISZERO PUSH2 0x1A7 JUMPI PUSH1 0x0 DUP1 PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH1 0x40 DUP6 ADD MLOAD SWAP1 POP PUSH2 0x19C DUP7 DUP4 DUP4 PUSH2 0x499 JUMP JUMPDEST SWAP4 POP SWAP4 POP POP POP PUSH2 0x1B0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 SWAP2 POP SWAP2 POP JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1CB JUMPI PUSH2 0x1CA PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1DE JUMPI PUSH2 0x1DD PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x1E9 JUMPI PUSH2 0x389 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1FD JUMPI PUSH2 0x1FC PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x210 JUMPI PUSH2 0x20F PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x251 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x248 SWAP1 PUSH2 0x712 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x265 JUMPI PUSH2 0x264 PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x278 JUMPI PUSH2 0x277 PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x2B9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2B0 SWAP1 PUSH2 0x732 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x3 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x2CD JUMPI PUSH2 0x2CC PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x2E0 JUMPI PUSH2 0x2DF PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x321 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x318 SWAP1 PUSH2 0x752 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x4 DUP1 DUP2 GT ISZERO PUSH2 0x334 JUMPI PUSH2 0x333 PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x347 JUMPI PUSH2 0x346 PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x388 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x37F SWAP1 PUSH2 0x772 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 DUP4 PUSH1 0x0 SHR GT ISZERO PUSH2 0x3C7 JUMPI PUSH1 0x0 PUSH1 0x3 SWAP2 POP SWAP2 POP PUSH2 0x490 JUMP JUMPDEST PUSH1 0x1B DUP6 PUSH1 0xFF AND EQ ISZERO DUP1 ISZERO PUSH2 0x3DF JUMPI POP PUSH1 0x1C DUP6 PUSH1 0xFF AND EQ ISZERO JUMPDEST ISZERO PUSH2 0x3F1 JUMPI PUSH1 0x0 PUSH1 0x4 SWAP2 POP SWAP2 POP PUSH2 0x490 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP8 DUP8 DUP8 DUP8 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x416 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x6CD JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x438 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD SUB MLOAD SWAP1 POP PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x487 JUMPI PUSH1 0x0 PUSH1 0x1 SWAP3 POP SWAP3 POP POP PUSH2 0x490 JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP3 POP SWAP3 POP POP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND SWAP2 POP PUSH1 0x1B DUP6 PUSH1 0xFF SHR ADD SWAP1 POP PUSH2 0x4D9 DUP8 DUP3 DUP9 DUP6 PUSH2 0x38C JUMP JUMPDEST SWAP4 POP SWAP4 POP POP POP SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4FA PUSH2 0x4F5 DUP5 PUSH2 0x7B7 JUMP JUMPDEST PUSH2 0x792 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x516 JUMPI PUSH2 0x515 PUSH2 0x8F1 JUMP JUMPDEST JUMPDEST PUSH2 0x521 DUP5 DUP3 DUP6 PUSH2 0x84E JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x53E JUMPI PUSH2 0x53D PUSH2 0x8EC JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x54E DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x4E7 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x56E JUMPI PUSH2 0x56D PUSH2 0x8FB JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x58C JUMPI PUSH2 0x58B PUSH2 0x8F6 JUMP JUMPDEST JUMPDEST PUSH2 0x598 DUP6 DUP3 DUP7 ADD PUSH2 0x529 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5B9 JUMPI PUSH2 0x5B8 PUSH2 0x8F6 JUMP JUMPDEST JUMPDEST PUSH2 0x5C5 DUP6 DUP3 DUP7 ADD PUSH2 0x529 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x5D8 DUP2 PUSH2 0x7F9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x5E7 DUP2 PUSH2 0x80B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x5F6 DUP2 PUSH2 0x817 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x609 PUSH1 0x18 DUP4 PUSH2 0x7E8 JUMP JUMPDEST SWAP2 POP PUSH2 0x614 DUP3 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x62C PUSH1 0x1F DUP4 PUSH2 0x7E8 JUMP JUMPDEST SWAP2 POP PUSH2 0x637 DUP3 PUSH2 0x93A JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x64F PUSH1 0x22 DUP4 PUSH2 0x7E8 JUMP JUMPDEST SWAP2 POP PUSH2 0x65A DUP3 PUSH2 0x963 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x672 PUSH1 0x22 DUP4 PUSH2 0x7E8 JUMP JUMPDEST SWAP2 POP PUSH2 0x67D DUP3 PUSH2 0x9B2 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x691 DUP2 PUSH2 0x841 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x6AC PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x5CF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x6C7 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x5DE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 ADD SWAP1 POP PUSH2 0x6E2 PUSH1 0x0 DUP4 ADD DUP8 PUSH2 0x5ED JUMP JUMPDEST PUSH2 0x6EF PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x688 JUMP JUMPDEST PUSH2 0x6FC PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x5ED JUMP JUMPDEST PUSH2 0x709 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x5ED JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x72B DUP2 PUSH2 0x5FC JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x74B DUP2 PUSH2 0x61F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x76B DUP2 PUSH2 0x642 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x78B DUP2 PUSH2 0x665 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x79C PUSH2 0x7AD JUMP JUMPDEST SWAP1 POP PUSH2 0x7A8 DUP3 DUP3 PUSH2 0x85D JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x7D2 JUMPI PUSH2 0x7D1 PUSH2 0x8BD JUMP JUMPDEST JUMPDEST PUSH2 0x7DB DUP3 PUSH2 0x900 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x804 DUP3 PUSH2 0x821 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH2 0x866 DUP3 PUSH2 0x900 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x885 JUMPI PUSH2 0x884 PUSH2 0x8BD JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E61747572650000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E6174757265206C656E67746800 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E6174757265202773272076616C PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7565000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E6174757265202776272076616C PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7565000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD3 CALLVALUE STOP SWAP14 LOG4 PUSH27 0x2AAC504225BA5B64D6E7103E16EDB16553DFBA414CD8AF9B8DDF64 PUSH20 0x6F6C634300080700330000000000000000000000 ",
"sourceMap": "127:636:2:-:0;;;158:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;211:8;199:9;;:20;;;;;;;;;;;;;;;;;;158:68;127:636;;7:143:3;64:5;95:6;89:13;80:22;;111:33;138:5;111:33;:::i;:::-;7:143;;;;:::o;156:351::-;226:6;275:2;263:9;254:7;250:23;246:32;243:119;;;281:79;;:::i;:::-;243:119;401:1;426:64;482:7;473:6;462:9;458:22;426:64;:::i;:::-;416:74;;372:128;156:351;;;;:::o;594:96::-;631:7;660:24;678:5;660:24;:::i;:::-;649:35;;594:96;;;:::o;696:126::-;733:7;773:42;766:5;762:54;751:65;;696:126;;;:::o;951:117::-;1060:1;1057;1050:12;1074:122;1147:24;1165:5;1147:24;:::i;:::-;1140:5;1137:35;1127:63;;1186:1;1183;1176:12;1127:63;1074:122;:::o;127:636:2:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_throwError_266": {
"entryPoint": 439,
"id": 266,
"parameterSlots": 1,
"returnSlots": 0
},
"@governor_616": {
"entryPoint": 137,
"id": 616,
"parameterSlots": 0,
"returnSlots": 1
},
"@isSignatureFromGovernor_646": {
"entryPoint": 178,
"id": 646,
"parameterSlots": 2,
"returnSlots": 1
},
"@recover_358": {
"entryPoint": 269,
"id": 358,
"parameterSlots": 2,
"returnSlots": 1
},
"@tryRecover_331": {
"entryPoint": 308,
"id": 331,
"parameterSlots": 2,
"returnSlots": 2
},
"@tryRecover_388": {
"entryPoint": 1177,
"id": 388,
"parameterSlots": 3,
"returnSlots": 2
},
"@tryRecover_499": {
"entryPoint": 908,
"id": 499,
"parameterSlots": 4,
"returnSlots": 2
},
"abi_decode_available_length_t_bytes_memory_ptr": {
"entryPoint": 1255,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_bytes_memory_ptr": {
"entryPoint": 1321,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_bytes_memory_ptrt_bytes_memory_ptr": {
"entryPoint": 1367,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 1487,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 1502,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes32_to_t_bytes32_fromStack": {
"entryPoint": 1517,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1532,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1567,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1602,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1637,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint8_to_t_uint8_fromStack": {
"entryPoint": 1672,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 1687,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": 1714,
"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": 1741,
"id": null,
"parameterSlots": 5,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1810,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1842,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1874,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1906,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 1938,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 1965,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_bytes_memory_ptr": {
"entryPoint": 1975,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 2024,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 2041,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 2059,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes32": {
"entryPoint": 2071,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 2081,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint8": {
"entryPoint": 2113,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory": {
"entryPoint": 2126,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"finalize_allocation": {
"entryPoint": 2141,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x21": {
"entryPoint": 2190,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 2237,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 2284,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 2289,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 2294,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 2299,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 2304,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be": {
"entryPoint": 2321,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77": {
"entryPoint": 2362,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd": {
"entryPoint": 2403,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4": {
"entryPoint": 2482,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:9726:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "90:327:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "100:74:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "166:6:3"
}
],
"functionName": {
"name": "array_allocation_size_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "125:40:3"
},
"nodeType": "YulFunctionCall",
"src": "125:48:3"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "109:15:3"
},
"nodeType": "YulFunctionCall",
"src": "109:65:3"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "100:5:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "190:5:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "197:6:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "183:6:3"
},
"nodeType": "YulFunctionCall",
"src": "183:21:3"
},
"nodeType": "YulExpressionStatement",
"src": "183:21:3"
},
{
"nodeType": "YulVariableDeclaration",
"src": "213:27:3",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "228:5:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "235:4:3",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "224:3:3"
},
"nodeType": "YulFunctionCall",
"src": "224:16:3"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "217:3:3",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "278:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "280:77:3"
},
"nodeType": "YulFunctionCall",
"src": "280:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "280:79:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "259:3:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "264:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "255:3:3"
},
"nodeType": "YulFunctionCall",
"src": "255:16:3"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "273:3:3"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "252:2:3"
},
"nodeType": "YulFunctionCall",
"src": "252:25:3"
},
"nodeType": "YulIf",
"src": "249:112:3"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "394:3:3"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "399:3:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "404:6:3"
}
],
"functionName": {
"name": "copy_calldata_to_memory",
"nodeType": "YulIdentifier",
"src": "370:23:3"
},
"nodeType": "YulFunctionCall",
"src": "370:41:3"
},
"nodeType": "YulExpressionStatement",
"src": "370:41:3"
}
]
},
"name": "abi_decode_available_length_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "63:3:3",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "68:6:3",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "76:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "84:5:3",
"type": ""
}
],
"src": "7:410:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "497:277:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "546:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "548:77:3"
},
"nodeType": "YulFunctionCall",
"src": "548:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "548:79:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "525:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "533:4:3",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "521:3:3"
},
"nodeType": "YulFunctionCall",
"src": "521:17:3"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "540:3:3"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "517:3:3"
},
"nodeType": "YulFunctionCall",
"src": "517:27:3"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "510:6:3"
},
"nodeType": "YulFunctionCall",
"src": "510:35:3"
},
"nodeType": "YulIf",
"src": "507:122:3"
},
{
"nodeType": "YulVariableDeclaration",
"src": "638:34:3",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "665:6:3"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "652:12:3"
},
"nodeType": "YulFunctionCall",
"src": "652:20:3"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "642:6:3",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "681:87:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "741:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "749:4:3",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "737:3:3"
},
"nodeType": "YulFunctionCall",
"src": "737:17:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "756:6:3"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "764:3:3"
}
],
"functionName": {
"name": "abi_decode_available_length_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "690:46:3"
},
"nodeType": "YulFunctionCall",
"src": "690:78:3"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "681:5:3"
}
]
}
]
},
"name": "abi_decode_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "475:6:3",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "483:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "491:5:3",
"type": ""
}
],
"src": "436:338:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "881:729:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "927:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "929:77:3"
},
"nodeType": "YulFunctionCall",
"src": "929:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "929:79:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "902:7:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "911:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "898:3:3"
},
"nodeType": "YulFunctionCall",
"src": "898:23:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "923:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "894:3:3"
},
"nodeType": "YulFunctionCall",
"src": "894:32:3"
},
"nodeType": "YulIf",
"src": "891:119:3"
},
{
"nodeType": "YulBlock",
"src": "1020:286:3",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1035:45:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1066:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1077:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1062:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1062:17:3"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1049:12:3"
},
"nodeType": "YulFunctionCall",
"src": "1049:31:3"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1039:6:3",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1127:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1129:77:3"
},
"nodeType": "YulFunctionCall",
"src": "1129:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "1129:79:3"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1099:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1107:18:3",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1096:2:3"
},
"nodeType": "YulFunctionCall",
"src": "1096:30:3"
},
"nodeType": "YulIf",
"src": "1093:117:3"
},
{
"nodeType": "YulAssignment",
"src": "1224:72:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1268:9:3"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1279:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1264:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1264:22:3"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1288:7:3"
}
],
"functionName": {
"name": "abi_decode_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1234:29:3"
},
"nodeType": "YulFunctionCall",
"src": "1234:62:3"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1224:6:3"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1316:287:3",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1331:46:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1362:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1373:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1358:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1358:18:3"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1345:12:3"
},
"nodeType": "YulFunctionCall",
"src": "1345:32:3"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1335:6:3",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1424:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1426:77:3"
},
"nodeType": "YulFunctionCall",
"src": "1426:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "1426:79:3"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1396:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1404:18:3",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1393:2:3"
},
"nodeType": "YulFunctionCall",
"src": "1393:30:3"
},
"nodeType": "YulIf",
"src": "1390:117:3"
},
{
"nodeType": "YulAssignment",
"src": "1521:72:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1565:9:3"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1576:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1561:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1561:22:3"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1585:7:3"
}
],
"functionName": {
"name": "abi_decode_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1531:29:3"
},
"nodeType": "YulFunctionCall",
"src": "1531:62:3"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1521:6:3"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_bytes_memory_ptrt_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "843:9:3",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "854:7:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "866:6:3",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "874:6:3",
"type": ""
}
],
"src": "780:830:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1681:53:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1698:3:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1721:5:3"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1703:17:3"
},
"nodeType": "YulFunctionCall",
"src": "1703:24:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1691:6:3"
},
"nodeType": "YulFunctionCall",
"src": "1691:37:3"
},
"nodeType": "YulExpressionStatement",
"src": "1691:37:3"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1669:5:3",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1676:3:3",
"type": ""
}
],
"src": "1616:118:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1799:50:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1816:3:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1836:5:3"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "1821:14:3"
},
"nodeType": "YulFunctionCall",
"src": "1821:21:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1809:6:3"
},
"nodeType": "YulFunctionCall",
"src": "1809:34:3"
},
"nodeType": "YulExpressionStatement",
"src": "1809:34:3"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1787:5:3",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1794:3:3",
"type": ""
}
],
"src": "1740:109:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1920:53:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1937:3:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1960:5:3"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "1942:17:3"
},
"nodeType": "YulFunctionCall",
"src": "1942:24:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1930:6:3"
},
"nodeType": "YulFunctionCall",
"src": "1930:37:3"
},
"nodeType": "YulExpressionStatement",
"src": "1930:37:3"
}
]
},
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1908:5:3",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1915:3:3",
"type": ""
}
],
"src": "1855:118:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2125:220:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2135:74:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2201:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2206:2:3",
"type": "",
"value": "24"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2142:58:3"
},
"nodeType": "YulFunctionCall",
"src": "2142:67:3"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2135:3:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2307:3:3"
}
],
"functionName": {
"name": "store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be",
"nodeType": "YulIdentifier",
"src": "2218:88:3"
},
"nodeType": "YulFunctionCall",
"src": "2218:93:3"
},
"nodeType": "YulExpressionStatement",
"src": "2218:93:3"
},
{
"nodeType": "YulAssignment",
"src": "2320:19:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2331:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2336:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2327:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2327:12:3"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2320:3:3"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2113:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2121:3:3",
"type": ""
}
],
"src": "1979:366:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2497:220:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2507:74:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2573:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2578:2:3",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2514:58:3"
},
"nodeType": "YulFunctionCall",
"src": "2514:67:3"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2507:3:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2679:3:3"
}
],
"functionName": {
"name": "store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77",
"nodeType": "YulIdentifier",
"src": "2590:88:3"
},
"nodeType": "YulFunctionCall",
"src": "2590:93:3"
},
"nodeType": "YulExpressionStatement",
"src": "2590:93:3"
},
{
"nodeType": "YulAssignment",
"src": "2692:19:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2703:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2708:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2699:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2699:12:3"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2692:3:3"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2485:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2493:3:3",
"type": ""
}
],
"src": "2351:366:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2869:220:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2879:74:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2945:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2950:2:3",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2886:58:3"
},
"nodeType": "YulFunctionCall",
"src": "2886:67:3"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2879:3:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3051:3:3"
}
],
"functionName": {
"name": "store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd",
"nodeType": "YulIdentifier",
"src": "2962:88:3"
},
"nodeType": "YulFunctionCall",
"src": "2962:93:3"
},
"nodeType": "YulExpressionStatement",
"src": "2962:93:3"
},
{
"nodeType": "YulAssignment",
"src": "3064:19:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3075:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3080:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3071:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3071:12:3"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3064:3:3"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2857:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2865:3:3",
"type": ""
}
],
"src": "2723:366:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3241:220:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3251:74:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3317:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3322:2:3",
"type": "",
"value": "34"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3258:58:3"
},
"nodeType": "YulFunctionCall",
"src": "3258:67:3"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3251:3:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3423:3:3"
}
],
"functionName": {
"name": "store_literal_in_memory_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4",
"nodeType": "YulIdentifier",
"src": "3334:88:3"
},
"nodeType": "YulFunctionCall",
"src": "3334:93:3"
},
"nodeType": "YulExpressionStatement",
"src": "3334:93:3"
},
{
"nodeType": "YulAssignment",
"src": "3436:19:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3447:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3452:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3443:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3443:12:3"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3436:3:3"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3229:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3237:3:3",
"type": ""
}
],
"src": "3095:366:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3528:51:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3545:3:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3566:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint8",
"nodeType": "YulIdentifier",
"src": "3550:15:3"
},
"nodeType": "YulFunctionCall",
"src": "3550:22:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3538:6:3"
},
"nodeType": "YulFunctionCall",
"src": "3538:35:3"
},
"nodeType": "YulExpressionStatement",
"src": "3538:35:3"
}
]
},
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3516:5:3",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3523:3:3",
"type": ""
}
],
"src": "3467:112:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3683:124:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3693:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3705:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3716:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3701:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3701:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3693:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3773:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3786:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3797:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3782:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3782:17:3"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "3729:43:3"
},
"nodeType": "YulFunctionCall",
"src": "3729:71:3"
},
"nodeType": "YulExpressionStatement",
"src": "3729:71:3"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3655:9:3",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3667:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3678:4:3",
"type": ""
}
],
"src": "3585:222:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3905:118:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3915:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3927:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3938:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3923:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3923:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3915:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3989:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4002:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4013:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3998:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3998:17:3"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "3951:37:3"
},
"nodeType": "YulFunctionCall",
"src": "3951:65:3"
},
"nodeType": "YulExpressionStatement",
"src": "3951:65:3"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3877:9:3",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3889:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3900:4:3",
"type": ""
}
],
"src": "3813:210:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4207:367:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4217:27:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4229:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4240:3:3",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4225:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4225:19:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4217:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4298:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4311:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4322:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4307:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4307:17:3"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "4254:43:3"
},
"nodeType": "YulFunctionCall",
"src": "4254:71:3"
},
"nodeType": "YulExpressionStatement",
"src": "4254:71:3"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4375:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4388:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4399:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4384:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4384:18:3"
}
],
"functionName": {
"name": "abi_encode_t_uint8_to_t_uint8_fromStack",
"nodeType": "YulIdentifier",
"src": "4335:39:3"
},
"nodeType": "YulFunctionCall",
"src": "4335:68:3"
},
"nodeType": "YulExpressionStatement",
"src": "4335:68:3"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "4457:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4470:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4481:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4466:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4466:18:3"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "4413:43:3"
},
"nodeType": "YulFunctionCall",
"src": "4413:72:3"
},
"nodeType": "YulExpressionStatement",
"src": "4413:72:3"
},
{
"expression": {
"arguments": [
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "4539:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4552:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4563:2:3",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4548:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4548:18:3"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "4495:43:3"
},
"nodeType": "YulFunctionCall",
"src": "4495:72:3"
},
"nodeType": "YulExpressionStatement",
"src": "4495:72:3"
}
]
},
"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": "4155:9:3",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "4167:6:3",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "4175:6:3",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "4183:6:3",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4191:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4202:4:3",
"type": ""
}
],
"src": "4029:545:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4751:248:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4761:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4773:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4784:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4769:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4769:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4761:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4808:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4819:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4804:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4804:17:3"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4827:4:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4833:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4823:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4823:20:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4797:6:3"
},
"nodeType": "YulFunctionCall",
"src": "4797:47:3"
},
"nodeType": "YulExpressionStatement",
"src": "4797:47:3"
},
{
"nodeType": "YulAssignment",
"src": "4853:139:3",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4987:4:3"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4861:124:3"
},
"nodeType": "YulFunctionCall",
"src": "4861:131:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4853:4:3"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4731:9:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4746:4:3",
"type": ""
}
],
"src": "4580:419:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5176:248:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5186:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5198:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5209:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5194:3:3"
},
"nodeType": "YulFunctionCall",
"src": "5194:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5186:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5233:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5244:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5229:3:3"
},
"nodeType": "YulFunctionCall",
"src": "5229:17:3"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5252:4:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5258:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5248:3:3"
},
"nodeType": "YulFunctionCall",
"src": "5248:20:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5222:6:3"
},
"nodeType": "YulFunctionCall",
"src": "5222:47:3"
},
"nodeType": "YulExpressionStatement",
"src": "5222:47:3"
},
{
"nodeType": "YulAssignment",
"src": "5278:139:3",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5412:4:3"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5286:124:3"
},
"nodeType": "YulFunctionCall",
"src": "5286:131:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5278:4:3"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5156:9:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5171:4:3",
"type": ""
}
],
"src": "5005:419:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5601:248:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5611:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5623:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5634:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5619:3:3"
},
"nodeType": "YulFunctionCall",
"src": "5619:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5611:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5658:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5669:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5654:3:3"
},
"nodeType": "YulFunctionCall",
"src": "5654:17:3"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5677:4:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5683:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5673:3:3"
},
"nodeType": "YulFunctionCall",
"src": "5673:20:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5647:6:3"
},
"nodeType": "YulFunctionCall",
"src": "5647:47:3"
},
"nodeType": "YulExpressionStatement",
"src": "5647:47:3"
},
{
"nodeType": "YulAssignment",
"src": "5703:139:3",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5837:4:3"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5711:124:3"
},
"nodeType": "YulFunctionCall",
"src": "5711:131:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5703:4:3"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5581:9:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5596:4:3",
"type": ""
}
],
"src": "5430:419:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6026:248:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6036:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6048:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6059:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6044:3:3"
},
"nodeType": "YulFunctionCall",
"src": "6044:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6036:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6083:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6094:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6079:3:3"
},
"nodeType": "YulFunctionCall",
"src": "6079:17:3"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6102:4:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6108:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "6098:3:3"
},
"nodeType": "YulFunctionCall",
"src": "6098:20:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6072:6:3"
},
"nodeType": "YulFunctionCall",
"src": "6072:47:3"
},
"nodeType": "YulExpressionStatement",
"src": "6072:47:3"
},
{
"nodeType": "YulAssignment",
"src": "6128:139:3",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6262:4:3"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "6136:124:3"
},
"nodeType": "YulFunctionCall",
"src": "6136:131:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6128:4:3"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6006:9:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6021:4:3",
"type": ""
}
],
"src": "5855:419:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6321:88:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6331:30:3",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "6341:18:3"
},
"nodeType": "YulFunctionCall",
"src": "6341:20:3"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6331:6:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6390:6:3"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6398:4:3"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "6370:19:3"
},
"nodeType": "YulFunctionCall",
"src": "6370:33:3"
},
"nodeType": "YulExpressionStatement",
"src": "6370:33:3"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "6305:4:3",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "6314:6:3",
"type": ""
}
],
"src": "6280:129:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6455:35:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6465:19:3",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6481:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "6475:5:3"
},
"nodeType": "YulFunctionCall",
"src": "6475:9:3"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "6465:6:3"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "6448:6:3",
"type": ""
}
],
"src": "6415:75:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6562:241:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "6667:22:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "6669:16:3"
},
"nodeType": "YulFunctionCall",
"src": "6669:18:3"
},
"nodeType": "YulExpressionStatement",
"src": "6669:18:3"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6639:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6647:18:3",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "6636:2:3"
},
"nodeType": "YulFunctionCall",
"src": "6636:30:3"
},
"nodeType": "YulIf",
"src": "6633:56:3"
},
{
"nodeType": "YulAssignment",
"src": "6699:37:3",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6729:6:3"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "6707:21:3"
},
"nodeType": "YulFunctionCall",
"src": "6707:29:3"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6699:4:3"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6773:23:3",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6785:4:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6791:4:3",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6781:3:3"
},
"nodeType": "YulFunctionCall",
"src": "6781:15:3"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "6773:4:3"
}
]
}
]
},
"name": "array_allocation_size_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6546:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "6557:4:3",
"type": ""
}
],
"src": "6496:307:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6905:73:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6922:3:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6927:6:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6915:6:3"
},
"nodeType": "YulFunctionCall",
"src": "6915:19:3"
},
"nodeType": "YulExpressionStatement",
"src": "6915:19:3"
},
{
"nodeType": "YulAssignment",
"src": "6943:29:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6962:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6967:4:3",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6958:3:3"
},
"nodeType": "YulFunctionCall",
"src": "6958:14:3"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "6943:11:3"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "6877:3:3",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6882:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "6893:11:3",
"type": ""
}
],
"src": "6809:169:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7029:51:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7039:35:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7068:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "7050:17:3"
},
"nodeType": "YulFunctionCall",
"src": "7050:24:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "7039:7:3"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7011:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "7021:7:3",
"type": ""
}
],
"src": "6984:96:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7128:48:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7138:32:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7163:5:3"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7156:6:3"
},
"nodeType": "YulFunctionCall",
"src": "7156:13:3"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "7149:6:3"
},
"nodeType": "YulFunctionCall",
"src": "7149:21:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "7138:7:3"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7110:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "7120:7:3",
"type": ""
}
],
"src": "7086:90:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7227:32:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7237:16:3",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "7248:5:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "7237:7:3"
}
]
}
]
},
"name": "cleanup_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7209:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "7219:7:3",
"type": ""
}
],
"src": "7182:77:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7310:81:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7320:65:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7335:5:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7342:42:3",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7331:3:3"
},
"nodeType": "YulFunctionCall",
"src": "7331:54:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "7320:7:3"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7292:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "7302:7:3",
"type": ""
}
],
"src": "7265:126:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7440:43:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7450:27:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7465:5:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7472:4:3",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7461:3:3"
},
"nodeType": "YulFunctionCall",
"src": "7461:16:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "7450:7:3"
}
]
}
]
},
"name": "cleanup_t_uint8",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7422:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "7432:7:3",
"type": ""
}
],
"src": "7397:86:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7540:103:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "7563:3:3"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "7568:3:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7573:6:3"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "7550:12:3"
},
"nodeType": "YulFunctionCall",
"src": "7550:30:3"
},
"nodeType": "YulExpressionStatement",
"src": "7550:30:3"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "7621:3:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "7626:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7617:3:3"
},
"nodeType": "YulFunctionCall",
"src": "7617:16:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7635:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7610:6:3"
},
"nodeType": "YulFunctionCall",
"src": "7610:27:3"
},
"nodeType": "YulExpressionStatement",
"src": "7610:27:3"
}
]
},
"name": "copy_calldata_to_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "7522:3:3",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "7527:3:3",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "7532:6:3",
"type": ""
}
],
"src": "7489:154:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7692:238:3",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7702:58:3",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "7724:6:3"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "7754:4:3"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "7732:21:3"
},
"nodeType": "YulFunctionCall",
"src": "7732:27:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7720:3:3"
},
"nodeType": "YulFunctionCall",
"src": "7720:40:3"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "7706:10:3",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "7871:22:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "7873:16:3"
},
"nodeType": "YulFunctionCall",
"src": "7873:18:3"
},
"nodeType": "YulExpressionStatement",
"src": "7873:18:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "7814:10:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7826:18:3",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "7811:2:3"
},
"nodeType": "YulFunctionCall",
"src": "7811:34:3"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "7850:10:3"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "7862:6:3"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7847:2:3"
},
"nodeType": "YulFunctionCall",
"src": "7847:22:3"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "7808:2:3"
},
"nodeType": "YulFunctionCall",
"src": "7808:62:3"
},
"nodeType": "YulIf",
"src": "7805:88:3"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7909:2:3",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "7913:10:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7902:6:3"
},
"nodeType": "YulFunctionCall",
"src": "7902:22:3"
},
"nodeType": "YulExpressionStatement",
"src": "7902:22:3"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "7678:6:3",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "7686:4:3",
"type": ""
}
],
"src": "7649:281:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7964:152:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7981:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7984:77:3",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7974:6:3"
},
"nodeType": "YulFunctionCall",
"src": "7974:88:3"
},
"nodeType": "YulExpressionStatement",
"src": "7974:88:3"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8078:1:3",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8081:4:3",
"type": "",
"value": "0x21"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8071:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8071:15:3"
},
"nodeType": "YulExpressionStatement",
"src": "8071:15:3"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8102:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8105:4:3",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8095:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8095:15:3"
},
"nodeType": "YulExpressionStatement",
"src": "8095:15:3"
}
]
},
"name": "panic_error_0x21",
"nodeType": "YulFunctionDefinition",
"src": "7936:180:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8150:152:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8167:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8170:77:3",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8160:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8160:88:3"
},
"nodeType": "YulExpressionStatement",
"src": "8160:88:3"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8264:1:3",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8267:4:3",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8257:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8257:15:3"
},
"nodeType": "YulExpressionStatement",
"src": "8257:15:3"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8288:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8291:4:3",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8281:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8281:15:3"
},
"nodeType": "YulExpressionStatement",
"src": "8281:15:3"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "8122:180:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8397:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8414:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8417:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8407:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8407:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "8407:12:3"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "8308:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8520:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8537:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8540:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8530:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8530:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "8530:12:3"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "8431:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8643:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8660:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8663:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8653:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8653:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "8653:12:3"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "8554:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8766:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8783:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8786:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "8776:6:3"
},
"nodeType": "YulFunctionCall",
"src": "8776:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "8776:12:3"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "8677:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8848:54:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8858:38:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8876:5:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8883:2:3",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8872:3:3"
},
"nodeType": "YulFunctionCall",
"src": "8872:14:3"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8892:2:3",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "8888:3:3"
},
"nodeType": "YulFunctionCall",
"src": "8888:7:3"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "8868:3:3"
},
"nodeType": "YulFunctionCall",
"src": "8868:28:3"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "8858:6:3"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "8831:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "8841:6:3",
"type": ""
}
],
"src": "8800:102:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9014:68:3",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9036:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9044:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9032:3:3"
},
"nodeType": "YulFunctionCall",
"src": "9032:14:3"
},
{
"hexValue": "45434453413a20696e76616c6964207369676e6174757265",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9048:26:3",
"type": "",
"value": "ECDSA: invalid signature"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9025:6:3"
},
"nodeType": "YulFunctionCall",
"src": "9025:50:3"
},
"nodeType": "YulExpressionStatement",
"src": "9025:50:3"
}
]
},
"name": "store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "9006:6:3",
"type": ""
}
],
"src": "8908:174:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9194:75:3",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9216:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9224:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9212:3:3"
},
"nodeType": "YulFunctionCall",
"src": "9212:14:3"
},
{
"hexValue": "45434453413a20696e76616c6964207369676e6174757265206c656e677468",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9228:33:3",
"type": "",
"value": "ECDSA: invalid signature length"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9205:6:3"
},
"nodeType": "YulFunctionCall",
"src": "9205:57:3"
},
"nodeType": "YulExpressionStatement",
"src": "9205:57:3"
}
]
},
"name": "store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "9186:6:3",
"type": ""
}
],
"src": "9088:181:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9381:115:3",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9403:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9411:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9399:3:3"
},
"nodeType": "YulFunctionCall",
"src": "9399:14:3"
},
{
"hexValue": "45434453413a20696e76616c6964207369676e6174757265202773272076616c",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9415:34:3",
"type": "",
"value": "ECDSA: invalid signature 's' val"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9392:6:3"
},
"nodeType": "YulFunctionCall",
"src": "9392:58:3"
},
"nodeType": "YulExpressionStatement",
"src": "9392:58:3"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9471:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9479:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9467:3:3"
},
"nodeType": "YulFunctionCall",
"src": "9467:15:3"
},
{
"hexValue": "7565",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9484:4:3",
"type": "",
"value": "ue"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9460:6:3"
},
"nodeType": "YulFunctionCall",
"src": "9460:29:3"
},
"nodeType": "YulExpressionStatement",
"src": "9460:29:3"
}
]
},
"name": "store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "9373:6:3",
"type": ""
}
],
"src": "9275:221:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9608:115:3",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9630:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9638:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9626:3:3"
},
"nodeType": "YulFunctionCall",
"src": "9626:14:3"
},
{
"hexValue": "45434453413a20696e76616c6964207369676e6174757265202776272076616c",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9642:34:3",
"type": "",
"value": "ECDSA: invalid signature 'v' val"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9619:6:3"
},
"nodeType": "YulFunctionCall",
"src": "9619:58:3"
},
"nodeType": "YulExpressionStatement",
"src": "9619:58:3"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "9698:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9706:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9694:3:3"
},
"nodeType": "YulFunctionCall",
"src": "9694:15:3"
},
{
"hexValue": "7565",
"kind": "string",
"nodeType": "YulLiteral",
"src": "9711:4:3",
"type": "",
"value": "ue"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9687:6:3"
},
"nodeType": "YulFunctionCall",
"src": "9687:29:3"
},
"nodeType": "YulExpressionStatement",
"src": "9687:29:3"
}
]
},
"name": "store_literal_in_memory_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "9600:6:3",
"type": ""
}
],
"src": "9502:221:3"
}
]
},
"contents": "{\n\n function abi_decode_available_length_t_bytes_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_bytes_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory(src, dst, length)\n }\n\n // bytes\n function abi_decode_t_bytes_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_bytes_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_bytes_memory_ptrt_bytes_memory_ptr(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_bytes_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value1 := abi_decode_t_bytes_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n function abi_encode_t_bytes32_to_t_bytes32_fromStack(value, pos) {\n mstore(pos, cleanup_t_bytes32(value))\n }\n\n function abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 24)\n store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 34)\n store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 34)\n store_literal_in_memory_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_t_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\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 tail := add(headStart, 128)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint8_to_t_uint8_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value2, add(headStart, 64))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value3, add(headStart, 96))\n\n }\n\n function abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_bytes_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_bytes32(value) -> cleaned {\n cleaned := value\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\n mstore(add(dst, length), 0)\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function panic_error_0x21() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be(memPtr) {\n\n mstore(add(memPtr, 0), \"ECDSA: invalid signature\")\n\n }\n\n function store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77(memPtr) {\n\n mstore(add(memPtr, 0), \"ECDSA: invalid signature length\")\n\n }\n\n function store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd(memPtr) {\n\n mstore(add(memPtr, 0), \"ECDSA: invalid signature 's' val\")\n\n mstore(add(memPtr, 32), \"ue\")\n\n }\n\n function store_literal_in_memory_8522ee1b53216f595394db8e80a64d9e7d9bd512c0811c18debe9f40858597e4(memPtr) {\n\n mstore(add(memPtr, 0), \"ECDSA: invalid signature 'v' val\")\n\n mstore(add(memPtr, 32), \"ue\")\n\n }\n\n}\n",
"id": 3,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100365760003560e01c80630c340a241461003b5780638755bcad14610059575b600080fd5b610043610089565b6040516100509190610697565b60405180910390f35b610073600480360381019061006e9190610557565b6100b2565b60405161008091906106b2565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000808380519060200120905060006100cb828561010d565b90506100d5610089565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149250505092915050565b600080600061011c8585610134565b91509150610129816101b7565b819250505092915050565b6000806041835114156101765760008060006020860151925060408601519150606086015160001a905061016a8782858561038c565b945094505050506101b0565b6040835114156101a757600080602085015191506040850151905061019c868383610499565b9350935050506101b0565b60006002915091505b9250929050565b600060048111156101cb576101ca61088e565b5b8160048111156101de576101dd61088e565b5b14156101e957610389565b600160048111156101fd576101fc61088e565b5b8160048111156102105761020f61088e565b5b1415610251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024890610712565b60405180910390fd5b600260048111156102655761026461088e565b5b8160048111156102785761027761088e565b5b14156102b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b090610732565b60405180910390fd5b600360048111156102cd576102cc61088e565b5b8160048111156102e0576102df61088e565b5b1415610321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031890610752565b60405180910390fd5b6004808111156103345761033361088e565b5b8160048111156103475761034661088e565b5b1415610388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037f90610772565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156103c7576000600391509150610490565b601b8560ff16141580156103df5750601c8560ff1614155b156103f1576000600491509150610490565b60006001878787876040516000815260200160405260405161041694939291906106cd565b6020604051602081039080840390855afa158015610438573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561048757600060019250925050610490565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506104d98782888561038c565b935093505050935093915050565b60006104fa6104f5846107b7565b610792565b905082815260208101848484011115610516576105156108f1565b5b61052184828561084e565b509392505050565b600082601f83011261053e5761053d6108ec565b5b813561054e8482602086016104e7565b91505092915050565b6000806040838503121561056e5761056d6108fb565b5b600083013567ffffffffffffffff81111561058c5761058b6108f6565b5b61059885828601610529565b925050602083013567ffffffffffffffff8111156105b9576105b86108f6565b5b6105c585828601610529565b9150509250929050565b6105d8816107f9565b82525050565b6105e78161080b565b82525050565b6105f681610817565b82525050565b60006106096018836107e8565b915061061482610911565b602082019050919050565b600061062c601f836107e8565b91506106378261093a565b602082019050919050565b600061064f6022836107e8565b915061065a82610963565b604082019050919050565b60006106726022836107e8565b915061067d826109b2565b604082019050919050565b61069181610841565b82525050565b60006020820190506106ac60008301846105cf565b92915050565b60006020820190506106c760008301846105de565b92915050565b60006080820190506106e260008301876105ed565b6106ef6020830186610688565b6106fc60408301856105ed565b61070960608301846105ed565b95945050505050565b6000602082019050818103600083015261072b816105fc565b9050919050565b6000602082019050818103600083015261074b8161061f565b9050919050565b6000602082019050818103600083015261076b81610642565b9050919050565b6000602082019050818103600083015261078b81610665565b9050919050565b600061079c6107ad565b90506107a8828261085d565b919050565b6000604051905090565b600067ffffffffffffffff8211156107d2576107d16108bd565b5b6107db82610900565b9050602081019050919050565b600082825260208201905092915050565b600061080482610821565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b61086682610900565b810181811067ffffffffffffffff82111715610885576108846108bd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f756500000000000000000000000000000000000000000000000000000000000060208201525056fea2646970667358221220d334009da47a2aac504225ba5b64d6e7103e16edb16553dfba414cd8af9b8ddf64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xC340A24 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x8755BCAD EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x89 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x697 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x73 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6E SWAP2 SWAP1 PUSH2 0x557 JUMP JUMPDEST PUSH2 0xB2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x80 SWAP2 SWAP1 PUSH2 0x6B2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH2 0xCB DUP3 DUP6 PUSH2 0x10D JUMP JUMPDEST SWAP1 POP PUSH2 0xD5 PUSH2 0x89 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x11C DUP6 DUP6 PUSH2 0x134 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x129 DUP2 PUSH2 0x1B7 JUMP JUMPDEST DUP2 SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x41 DUP4 MLOAD EQ ISZERO PUSH2 0x176 JUMPI PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x20 DUP7 ADD MLOAD SWAP3 POP PUSH1 0x40 DUP7 ADD MLOAD SWAP2 POP PUSH1 0x60 DUP7 ADD MLOAD PUSH1 0x0 BYTE SWAP1 POP PUSH2 0x16A DUP8 DUP3 DUP6 DUP6 PUSH2 0x38C JUMP JUMPDEST SWAP5 POP SWAP5 POP POP POP POP PUSH2 0x1B0 JUMP JUMPDEST PUSH1 0x40 DUP4 MLOAD EQ ISZERO PUSH2 0x1A7 JUMPI PUSH1 0x0 DUP1 PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP PUSH1 0x40 DUP6 ADD MLOAD SWAP1 POP PUSH2 0x19C DUP7 DUP4 DUP4 PUSH2 0x499 JUMP JUMPDEST SWAP4 POP SWAP4 POP POP POP PUSH2 0x1B0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 SWAP2 POP SWAP2 POP JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1CB JUMPI PUSH2 0x1CA PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1DE JUMPI PUSH2 0x1DD PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x1E9 JUMPI PUSH2 0x389 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1FD JUMPI PUSH2 0x1FC PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x210 JUMPI PUSH2 0x20F PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x251 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x248 SWAP1 PUSH2 0x712 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x265 JUMPI PUSH2 0x264 PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x278 JUMPI PUSH2 0x277 PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x2B9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2B0 SWAP1 PUSH2 0x732 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x3 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x2CD JUMPI PUSH2 0x2CC PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x2E0 JUMPI PUSH2 0x2DF PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x321 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x318 SWAP1 PUSH2 0x752 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x4 DUP1 DUP2 GT ISZERO PUSH2 0x334 JUMPI PUSH2 0x333 PUSH2 0x88E JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x347 JUMPI PUSH2 0x346 PUSH2 0x88E JUMP JUMPDEST JUMPDEST EQ ISZERO PUSH2 0x388 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x37F SWAP1 PUSH2 0x772 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 DUP4 PUSH1 0x0 SHR GT ISZERO PUSH2 0x3C7 JUMPI PUSH1 0x0 PUSH1 0x3 SWAP2 POP SWAP2 POP PUSH2 0x490 JUMP JUMPDEST PUSH1 0x1B DUP6 PUSH1 0xFF AND EQ ISZERO DUP1 ISZERO PUSH2 0x3DF JUMPI POP PUSH1 0x1C DUP6 PUSH1 0xFF AND EQ ISZERO JUMPDEST ISZERO PUSH2 0x3F1 JUMPI PUSH1 0x0 PUSH1 0x4 SWAP2 POP SWAP2 POP PUSH2 0x490 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP8 DUP8 DUP8 DUP8 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x416 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x6CD JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x438 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD SUB MLOAD SWAP1 POP PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x487 JUMPI PUSH1 0x0 PUSH1 0x1 SWAP3 POP SWAP3 POP POP PUSH2 0x490 JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP3 POP SWAP3 POP POP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 AND SWAP2 POP PUSH1 0x1B DUP6 PUSH1 0xFF SHR ADD SWAP1 POP PUSH2 0x4D9 DUP8 DUP3 DUP9 DUP6 PUSH2 0x38C JUMP JUMPDEST SWAP4 POP SWAP4 POP POP POP SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4FA PUSH2 0x4F5 DUP5 PUSH2 0x7B7 JUMP JUMPDEST PUSH2 0x792 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x516 JUMPI PUSH2 0x515 PUSH2 0x8F1 JUMP JUMPDEST JUMPDEST PUSH2 0x521 DUP5 DUP3 DUP6 PUSH2 0x84E JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x53E JUMPI PUSH2 0x53D PUSH2 0x8EC JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x54E DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x4E7 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x56E JUMPI PUSH2 0x56D PUSH2 0x8FB JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x58C JUMPI PUSH2 0x58B PUSH2 0x8F6 JUMP JUMPDEST JUMPDEST PUSH2 0x598 DUP6 DUP3 DUP7 ADD PUSH2 0x529 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x5B9 JUMPI PUSH2 0x5B8 PUSH2 0x8F6 JUMP JUMPDEST JUMPDEST PUSH2 0x5C5 DUP6 DUP3 DUP7 ADD PUSH2 0x529 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0x5D8 DUP2 PUSH2 0x7F9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x5E7 DUP2 PUSH2 0x80B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x5F6 DUP2 PUSH2 0x817 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x609 PUSH1 0x18 DUP4 PUSH2 0x7E8 JUMP JUMPDEST SWAP2 POP PUSH2 0x614 DUP3 PUSH2 0x911 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x62C PUSH1 0x1F DUP4 PUSH2 0x7E8 JUMP JUMPDEST SWAP2 POP PUSH2 0x637 DUP3 PUSH2 0x93A JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x64F PUSH1 0x22 DUP4 PUSH2 0x7E8 JUMP JUMPDEST SWAP2 POP PUSH2 0x65A DUP3 PUSH2 0x963 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x672 PUSH1 0x22 DUP4 PUSH2 0x7E8 JUMP JUMPDEST SWAP2 POP PUSH2 0x67D DUP3 PUSH2 0x9B2 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x691 DUP2 PUSH2 0x841 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x6AC PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x5CF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x6C7 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x5DE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 ADD SWAP1 POP PUSH2 0x6E2 PUSH1 0x0 DUP4 ADD DUP8 PUSH2 0x5ED JUMP JUMPDEST PUSH2 0x6EF PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x688 JUMP JUMPDEST PUSH2 0x6FC PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x5ED JUMP JUMPDEST PUSH2 0x709 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x5ED JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x72B DUP2 PUSH2 0x5FC JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x74B DUP2 PUSH2 0x61F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x76B DUP2 PUSH2 0x642 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x78B DUP2 PUSH2 0x665 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x79C PUSH2 0x7AD JUMP JUMPDEST SWAP1 POP PUSH2 0x7A8 DUP3 DUP3 PUSH2 0x85D JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x7D2 JUMPI PUSH2 0x7D1 PUSH2 0x8BD JUMP JUMPDEST JUMPDEST PUSH2 0x7DB DUP3 PUSH2 0x900 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x804 DUP3 PUSH2 0x821 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH2 0x866 DUP3 PUSH2 0x900 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x885 JUMPI PUSH2 0x884 PUSH2 0x8BD JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E61747572650000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E6174757265206C656E67746800 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E6174757265202773272076616C PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7565000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E6174757265202776272076616C PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7565000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD3 CALLVALUE STOP SWAP14 LOG4 PUSH27 0x2AAC504225BA5B64D6E7103E16EDB16553DFBA414CD8AF9B8DDF64 PUSH20 0x6F6C634300080700330000000000000000000000 ",
"sourceMap": "127:636:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;335:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;517:244;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;335:83;376:7;402:9;;;;;;;;;;;395:16;;335:83;:::o;517:244::-;608:4;624:18;655:4;645:15;;;;;;624:36;;670:14;687:30;701:10;713:3;687:13;:30::i;:::-;670:47;;744:10;:8;:10::i;:::-;734:20;;:6;:20;;;727:27;;;;517:244;;;;:::o;4293:227:1:-;4371:7;4391:17;4410:18;4432:27;4443:4;4449:9;4432:10;:27::i;:::-;4390:69;;;;4469:18;4481:5;4469:11;:18::i;:::-;4504:9;4497:16;;;;4293:227;;;;:::o;2228:1279::-;2309:7;2318:12;2559:2;2539:9;:16;:22;2535:966;;;2577:9;2600;2623:7;2828:4;2817:9;2813:20;2807:27;2802:32;;2877:4;2866:9;2862:20;2856:27;2851:32;;2934:4;2923:9;2919:20;2913:27;2910:1;2905:36;2900:41;;2975:25;2986:4;2992:1;2995;2998;2975:10;:25::i;:::-;2968:32;;;;;;;;;2535:966;3041:2;3021:9;:16;:22;3017:484;;;3059:9;3082:10;3290:4;3279:9;3275:20;3269:27;3264:32;;3340:4;3329:9;3325:20;3319:27;3313:33;;3380:23;3391:4;3397:1;3400:2;3380:10;:23::i;:::-;3373:30;;;;;;;;3017:484;3450:1;3454:35;3434:56;;;;2228:1279;;;;;;:::o;533:631::-;610:20;601:29;;;;;;;;:::i;:::-;;:5;:29;;;;;;;;:::i;:::-;;;597:561;;;646:7;;597:561;706:29;697:38;;;;;;;;:::i;:::-;;:5;:38;;;;;;;;:::i;:::-;;;693:465;;;751:34;;;;;;;;;;:::i;:::-;;;;;;;;693:465;815:35;806:44;;;;;;;;:::i;:::-;;:5;:44;;;;;;;;:::i;:::-;;;802:356;;;866:41;;;;;;;;;;:::i;:::-;;;;;;;;802:356;937:30;928:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;924:234;;;983:44;;;;;;;;;;:::i;:::-;;;;;;;;924:234;1057:30;1048:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;1044:114;;;1103:44;;;;;;;;;;:::i;:::-;;;;;;;;1044:114;533:631;;:::o;5744:1603::-;5870:7;5879:12;6794:66;6789:1;6781:10;;:79;6777:161;;;6892:1;6896:30;6876:51;;;;;;6777:161;6956:2;6951:1;:7;;;;:18;;;;;6967:2;6962:1;:7;;;;6951:18;6947:100;;;7001:1;7005:30;6985:51;;;;;;6947:100;7141:14;7158:24;7168:4;7174:1;7177;7180;7158:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7141:41;;7214:1;7196:20;;:6;:20;;;7192:101;;;7248:1;7252:29;7232:50;;;;;;;7192:101;7311:6;7319:20;7303:37;;;;;5744:1603;;;;;;;;:::o;4774:379::-;4884:7;4893:12;4917:9;4936:7;4989:66;4985:2;4981:75;4976:80;;5092:2;5087;5082:3;5078:12;5074:21;5069:26;;5121:25;5132:4;5138:1;5141;5144;5121:10;:25::i;:::-;5114:32;;;;;;4774:379;;;;;;:::o;7:410:3:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:112;;;280:79;;:::i;:::-;249:112;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;7:410;;;;;:::o;436:338::-;491:5;540:3;533:4;525:6;521:17;517:27;507:122;;548:79;;:::i;:::-;507:122;665:6;652:20;690:78;764:3;756:6;749:4;741:6;737:17;690:78;:::i;:::-;681:87;;497:277;436:338;;;;:::o;780:830::-;866:6;874;923:2;911:9;902:7;898:23;894:32;891:119;;;929:79;;:::i;:::-;891:119;1077:1;1066:9;1062:17;1049:31;1107:18;1099:6;1096:30;1093:117;;;1129:79;;:::i;:::-;1093:117;1234:62;1288:7;1279:6;1268:9;1264:22;1234:62;:::i;:::-;1224:72;;1020:286;1373:2;1362:9;1358:18;1345:32;1404:18;1396:6;1393:30;1390:117;;;1426:79;;:::i;:::-;1390:117;1531:62;1585:7;1576:6;1565:9;1561:22;1531:62;:::i;:::-;1521:72;;1316:287;780:830;;;;;:::o;1616:118::-;1703:24;1721:5;1703:24;:::i;:::-;1698:3;1691:37;1616:118;;:::o;1740:109::-;1821:21;1836:5;1821:21;:::i;:::-;1816:3;1809:34;1740:109;;:::o;1855:118::-;1942:24;1960:5;1942:24;:::i;:::-;1937:3;1930:37;1855:118;;:::o;1979:366::-;2121:3;2142:67;2206:2;2201:3;2142:67;:::i;:::-;2135:74;;2218:93;2307:3;2218:93;:::i;:::-;2336:2;2331:3;2327:12;2320:19;;1979:366;;;:::o;2351:::-;2493:3;2514:67;2578:2;2573:3;2514:67;:::i;:::-;2507:74;;2590:93;2679:3;2590:93;:::i;:::-;2708:2;2703:3;2699:12;2692:19;;2351:366;;;:::o;2723:::-;2865:3;2886:67;2950:2;2945:3;2886:67;:::i;:::-;2879:74;;2962:93;3051:3;2962:93;:::i;:::-;3080:2;3075:3;3071:12;3064:19;;2723:366;;;:::o;3095:::-;3237:3;3258:67;3322:2;3317:3;3258:67;:::i;:::-;3251:74;;3334:93;3423:3;3334:93;:::i;:::-;3452:2;3447:3;3443:12;3436:19;;3095:366;;;:::o;3467:112::-;3550:22;3566:5;3550:22;:::i;:::-;3545:3;3538:35;3467:112;;:::o;3585:222::-;3678:4;3716:2;3705:9;3701:18;3693:26;;3729:71;3797:1;3786:9;3782:17;3773:6;3729:71;:::i;:::-;3585:222;;;;:::o;3813:210::-;3900:4;3938:2;3927:9;3923:18;3915:26;;3951:65;4013:1;4002:9;3998:17;3989:6;3951:65;:::i;:::-;3813:210;;;;:::o;4029:545::-;4202:4;4240:3;4229:9;4225:19;4217:27;;4254:71;4322:1;4311:9;4307:17;4298:6;4254:71;:::i;:::-;4335:68;4399:2;4388:9;4384:18;4375:6;4335:68;:::i;:::-;4413:72;4481:2;4470:9;4466:18;4457:6;4413:72;:::i;:::-;4495;4563:2;4552:9;4548:18;4539:6;4495:72;:::i;:::-;4029:545;;;;;;;:::o;4580:419::-;4746:4;4784:2;4773:9;4769:18;4761:26;;4833:9;4827:4;4823:20;4819:1;4808:9;4804:17;4797:47;4861:131;4987:4;4861:131;:::i;:::-;4853:139;;4580:419;;;:::o;5005:::-;5171:4;5209:2;5198:9;5194:18;5186:26;;5258:9;5252:4;5248:20;5244:1;5233:9;5229:17;5222:47;5286:131;5412:4;5286:131;:::i;:::-;5278:139;;5005:419;;;:::o;5430:::-;5596:4;5634:2;5623:9;5619:18;5611:26;;5683:9;5677:4;5673:20;5669:1;5658:9;5654:17;5647:47;5711:131;5837:4;5711:131;:::i;:::-;5703:139;;5430:419;;;:::o;5855:::-;6021:4;6059:2;6048:9;6044:18;6036:26;;6108:9;6102:4;6098:20;6094:1;6083:9;6079:17;6072:47;6136:131;6262:4;6136:131;:::i;:::-;6128:139;;5855:419;;;:::o;6280:129::-;6314:6;6341:20;;:::i;:::-;6331:30;;6370:33;6398:4;6390:6;6370:33;:::i;:::-;6280:129;;;:::o;6415:75::-;6448:6;6481:2;6475:9;6465:19;;6415:75;:::o;6496:307::-;6557:4;6647:18;6639:6;6636:30;6633:56;;;6669:18;;:::i;:::-;6633:56;6707:29;6729:6;6707:29;:::i;:::-;6699:37;;6791:4;6785;6781:15;6773:23;;6496:307;;;:::o;6809:169::-;6893:11;6927:6;6922:3;6915:19;6967:4;6962:3;6958:14;6943:29;;6809:169;;;;:::o;6984:96::-;7021:7;7050:24;7068:5;7050:24;:::i;:::-;7039:35;;6984:96;;;:::o;7086:90::-;7120:7;7163:5;7156:13;7149:21;7138:32;;7086:90;;;:::o;7182:77::-;7219:7;7248:5;7237:16;;7182:77;;;:::o;7265:126::-;7302:7;7342:42;7335:5;7331:54;7320:65;;7265:126;;;:::o;7397:86::-;7432:7;7472:4;7465:5;7461:16;7450:27;;7397:86;;;:::o;7489:154::-;7573:6;7568:3;7563;7550:30;7635:1;7626:6;7621:3;7617:16;7610:27;7489:154;;;:::o;7649:281::-;7732:27;7754:4;7732:27;:::i;:::-;7724:6;7720:40;7862:6;7850:10;7847:22;7826:18;7814:10;7811:34;7808:62;7805:88;;;7873:18;;:::i;:::-;7805:88;7913:10;7909:2;7902:22;7692:238;7649:281;;:::o;7936:180::-;7984:77;7981:1;7974:88;8081:4;8078:1;8071:15;8105:4;8102:1;8095:15;8122:180;8170:77;8167:1;8160:88;8267:4;8264:1;8257:15;8291:4;8288:1;8281:15;8308:117;8417:1;8414;8407:12;8431:117;8540:1;8537;8530:12;8554:117;8663:1;8660;8653:12;8677:117;8786:1;8783;8776:12;8800:102;8841:6;8892:2;8888:7;8883:2;8876:5;8872:14;8868:28;8858:38;;8800:102;;;:::o;8908:174::-;9048:26;9044:1;9036:6;9032:14;9025:50;8908:174;:::o;9088:181::-;9228:33;9224:1;9216:6;9212:14;9205:57;9088:181;:::o;9275:221::-;9415:34;9411:1;9403:6;9399:14;9392:58;9484:4;9479:2;9471:6;9467:15;9460:29;9275:221;:::o;9502:::-;9642:34;9638:1;9630:6;9626:14;9619:58;9711:4;9706:2;9698:6;9694:15;9687:29;9502:221;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "523000",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"governor()": "2500",
"isSignatureFromGovernor(bytes,bytes)": "infinite"
}
},
"methodIdentifiers": {
"governor()": "0c340a24",
"isSignatureFromGovernor(bytes,bytes)": "8755bcad"
}
},
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "governor",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "governor",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "sig",
"type": "bytes"
}
],
"name": "isSignatureFromGovernor",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "governor",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "governor",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "sig",
"type": "bytes"
}
],
"name": "isSignatureFromGovernor",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"governor()": {
"details": "Returns the address of the current owner."
},
"isSignatureFromGovernor(bytes,bytes)": {
"details": "Returns true if the signature is signed by the current governor."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contract-2f6e0ce7bc.sol": "ECDSAPlayground"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"@openzeppelin/contracts@4.4.2/utils/Strings.sol": {
"keccak256": "0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45",
"license": "MIT",
"urls": [
"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30",
"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2"
]
},
"@openzeppelin/contracts@4.4.2/utils/cryptography/ECDSA.sol": {
"keccak256": "0xe9e291de7ffe06e66503c6700b1bb84ff6e0989cbb974653628d8994e7c97f03",
"license": "MIT",
"urls": [
"bzz-raw://6c1e25b64dd48a67832ea99b2f5b3cb18ed8ada44e0391ed896d7a293200df3b",
"dweb:/ipfs/Qmd4nwBHmB7An2MmebcagkTx2m5mRGZPR32u1xCHqEKerh"
]
},
"contract-2f6e0ce7bc.sol": {
"keccak256": "0x8578b89585da01e7207820efd1038f8f481a6dce57fa084866838c572372496a",
"license": "MIT",
"urls": [
"bzz-raw://0fca6f6661a5a2f700ca8eca5e3a97aafe144c731349c970c0688f3726e9e43a",
"dweb:/ipfs/QmZFyGr8rZXVsiBRBkcGQDXRzyfwjMvgE38eeXiCjK6VfB"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts@4.4.2/utils/cryptography/ECDSA.sol";
contract ECDSAPlayground {
constructor (address governor) {
_governor = governor;
}
address private _governor;
/**
* @dev Returns the address of the current owner.
*/
function governor() public view returns (address) {
return _governor;
}
/**
* @dev Returns true if the signature is signed by the current governor.
*/
function isSignatureFromGovernor(bytes memory data, bytes memory sig) public view returns (bool) {
bytes32 hashedData = keccak256(data);
address signer = ECDSA.recover(hashedData, sig);
return signer == governor();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment