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 zanbel/dd6d004c1e7c6e7d4a36ff44ee6d30e4 to your computer and use it in GitHub Desktop.
Save zanbel/dd6d004c1e7c6e7d4a36ff44ee6d30e4 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.18+commit.87f61d96.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
},
{
"files": "*.yml",
"options": {}
},
{
"files": "*.yaml",
"options": {}
},
{
"files": "*.toml",
"options": {}
},
{
"files": "*.json",
"options": {}
},
{
"files": "*.js",
"options": {}
},
{
"files": "*.ts",
"options": {}
}
]
}
REMIX DEFAULT WORKSPACE
Remix default workspace is present when:
i. Remix loads for the very first time
ii. A new workspace is created with 'Default' template
iii. There are no files existing in the File Explorer
This workspace contains 3 directories:
1. 'contracts': Holds three contracts with increasing levels of complexity.
2. 'scripts': Contains four typescript files to deploy a contract. It is explained below.
3. 'tests': Contains one Solidity test file for 'Ballot' contract & one JS test file for 'Storage' contract.
SCRIPTS
The 'scripts' folder has four typescript files which help to deploy the 'Storage' contract using 'web3.js' and 'ethers.js' libraries.
For the deployment of any other contract, just update the contract's name from 'Storage' to the desired contract and provide constructor arguments accordingly
in the file `deploy_with_ethers.ts` or `deploy_with_web3.ts`
In the 'tests' folder there is a script containing Mocha-Chai unit tests for 'Storage' contract.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
Please note, require/import is supported in a limited manner for Remix supported modules.
For now, modules supported by Remix are ethers, web3, swarmgw, chai, multihashes, remix and hardhat only for hardhat.ethers object/plugin.
For unsupported modules, an error like this will be thrown: '<module_name> module require is not supported by Remix IDE' will be shown.
{
"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
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_23": {
"entryPoint": null,
"id": 23,
"parameterSlots": 0,
"returnSlots": 0
},
"@_msgSender_124": {
"entryPoint": 50,
"id": 124,
"parameterSlots": 0,
"returnSlots": 1
},
"@_transferOwnership_111": {
"entryPoint": 58,
"id": 111,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b6100fe565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6105c38061010d6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80632e64cec11461005c5780636057361d1461007a578063715018a6146100965780638da5cb5b146100a0578063f2fde38b146100be575b600080fd5b6100646100da565b6040516100719190610350565b60405180910390f35b610094600480360381019061008f919061039c565b6100e4565b005b61009e61012d565b005b6100a8610141565b6040516100b5919061040a565b60405180910390f35b6100d860048036038101906100d39190610451565b61016a565b005b6000600154905090565b6100ec6101ed565b806001819055507f93fe6d397c74fdf1402a8b72e47b68512f0510d7b98a4bc4cbdf6ac7108b3c59816040516101229190610350565b60405180910390a150565b6101356101ed565b61013f600061026b565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6101726101ed565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d890610501565b60405180910390fd5b6101ea8161026b565b50565b6101f561032f565b73ffffffffffffffffffffffffffffffffffffffff16610213610141565b73ffffffffffffffffffffffffffffffffffffffff1614610269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102609061056d565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000819050919050565b61034a81610337565b82525050565b60006020820190506103656000830184610341565b92915050565b600080fd5b61037981610337565b811461038457600080fd5b50565b60008135905061039681610370565b92915050565b6000602082840312156103b2576103b161036b565b5b60006103c084828501610387565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103f4826103c9565b9050919050565b610404816103e9565b82525050565b600060208201905061041f60008301846103fb565b92915050565b61042e816103e9565b811461043957600080fd5b50565b60008135905061044b81610425565b92915050565b6000602082840312156104675761046661036b565b5b60006104758482850161043c565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006104eb60268361047e565b91506104f68261048f565b604082019050919050565b6000602082019050818103600083015261051a816104de565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061055760208361047e565b915061056282610521565b602082019050919050565b600060208201905081810360008301526105868161054a565b905091905056fea264697066735822122088b4aefb901a61028784138fdf4a64ce1f3728fae347e70eff973c9e391d9cc964736f6c63430008120033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2D PUSH2 0x22 PUSH2 0x32 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x3A PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0xFE JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH2 0x5C3 DUP1 PUSH2 0x10D 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 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x7A JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x96 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xA0 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xBE JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0xDA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x350 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x94 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8F SWAP2 SWAP1 PUSH2 0x39C JUMP JUMPDEST PUSH2 0xE4 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x9E PUSH2 0x12D JUMP JUMPDEST STOP JUMPDEST PUSH2 0xA8 PUSH2 0x141 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB5 SWAP2 SWAP1 PUSH2 0x40A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xD8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xD3 SWAP2 SWAP1 PUSH2 0x451 JUMP JUMPDEST PUSH2 0x16A JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xEC PUSH2 0x1ED JUMP JUMPDEST DUP1 PUSH1 0x1 DUP2 SWAP1 SSTORE POP PUSH32 0x93FE6D397C74FDF1402A8B72E47B68512F0510D7B98A4BC4CBDF6AC7108B3C59 DUP2 PUSH1 0x40 MLOAD PUSH2 0x122 SWAP2 SWAP1 PUSH2 0x350 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH2 0x135 PUSH2 0x1ED JUMP JUMPDEST PUSH2 0x13F PUSH1 0x0 PUSH2 0x26B JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x172 PUSH2 0x1ED JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x1E1 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1D8 SWAP1 PUSH2 0x501 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1EA DUP2 PUSH2 0x26B JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x1F5 PUSH2 0x32F JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x213 PUSH2 0x141 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x269 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x260 SWAP1 PUSH2 0x56D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x34A DUP2 PUSH2 0x337 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x365 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x341 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x379 DUP2 PUSH2 0x337 JUMP JUMPDEST DUP2 EQ PUSH2 0x384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x396 DUP2 PUSH2 0x370 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3B2 JUMPI PUSH2 0x3B1 PUSH2 0x36B JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3C0 DUP5 DUP3 DUP6 ADD PUSH2 0x387 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3F4 DUP3 PUSH2 0x3C9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x404 DUP2 PUSH2 0x3E9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x41F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3FB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x42E DUP2 PUSH2 0x3E9 JUMP JUMPDEST DUP2 EQ PUSH2 0x439 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x44B DUP2 PUSH2 0x425 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x467 JUMPI PUSH2 0x466 PUSH2 0x36B JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x475 DUP5 DUP3 DUP6 ADD PUSH2 0x43C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4EB PUSH1 0x26 DUP4 PUSH2 0x47E JUMP JUMPDEST SWAP2 POP PUSH2 0x4F6 DUP3 PUSH2 0x48F JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x51A DUP2 PUSH2 0x4DE JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x557 PUSH1 0x20 DUP4 PUSH2 0x47E JUMP JUMPDEST SWAP2 POP PUSH2 0x562 DUP3 PUSH2 0x521 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x586 DUP2 PUSH2 0x54A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP9 0xB4 0xAE 0xFB SWAP1 BYTE PUSH2 0x287 DUP5 SGT DUP16 0xDF 0x4A PUSH5 0xCE1F3728FA 0xE3 SELFBALANCE 0xE7 0xE SELFDESTRUCT SWAP8 EXTCODECOPY SWAP15 CODECOPY SAR SWAP13 0xC9 PUSH5 0x736F6C6343 STOP ADDMOD SLT STOP CALLER ",
"sourceMap": "236:371:2:-:0;;;;;;;;;;;;;936:32:0;955:12;:10;;;:12;;:::i;:::-;936:18;;;:32;;:::i;:::-;236:371:2;;640:96:1;693:7;719:10;712:17;;640:96;:::o;2433:187:0:-;2506:16;2525:6;;;;;;;;;;;2506:25;;2550:8;2541:6;;:17;;;;;;;;;;;;;;;;;;2604:8;2573:40;;2594:8;2573:40;;;;;;;;;;;;2496:124;2433:187;:::o;236:371:2:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_checkOwner_54": {
"entryPoint": 493,
"id": 54,
"parameterSlots": 0,
"returnSlots": 0
},
"@_msgSender_124": {
"entryPoint": 815,
"id": 124,
"parameterSlots": 0,
"returnSlots": 1
},
"@_transferOwnership_111": {
"entryPoint": 619,
"id": 111,
"parameterSlots": 1,
"returnSlots": 0
},
"@owner_40": {
"entryPoint": 321,
"id": 40,
"parameterSlots": 0,
"returnSlots": 1
},
"@renounceOwnership_68": {
"entryPoint": 301,
"id": 68,
"parameterSlots": 0,
"returnSlots": 0
},
"@retrieve_169": {
"entryPoint": 218,
"id": 169,
"parameterSlots": 0,
"returnSlots": 1
},
"@store_161": {
"entryPoint": 228,
"id": 161,
"parameterSlots": 1,
"returnSlots": 0
},
"@transferOwnership_91": {
"entryPoint": 362,
"id": 91,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_address": {
"entryPoint": 1084,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 903,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address": {
"entryPoint": 1105,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 924,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 1019,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1246,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1354,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 833,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 1034,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1281,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1389,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 848,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1150,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 1001,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 969,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 823,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 875,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe": {
"entryPoint": 1167,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe": {
"entryPoint": 1313,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 1061,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 880,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:4756:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "52:32:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "62:16:3",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "62:7:3"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "34:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "44:7:3",
"type": ""
}
],
"src": "7:77:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "155:53:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "172:3:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "195:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "177:17:3"
},
"nodeType": "YulFunctionCall",
"src": "177:24:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "165:6:3"
},
"nodeType": "YulFunctionCall",
"src": "165:37:3"
},
"nodeType": "YulExpressionStatement",
"src": "165:37:3"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "143:5:3",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "150:3:3",
"type": ""
}
],
"src": "90:118:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "312:124:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "322:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "334:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "330:3:3"
},
"nodeType": "YulFunctionCall",
"src": "330:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "322:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "402:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "415:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "426:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "411:3:3"
},
"nodeType": "YulFunctionCall",
"src": "411:17:3"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "358:43:3"
},
"nodeType": "YulFunctionCall",
"src": "358:71:3"
},
"nodeType": "YulExpressionStatement",
"src": "358:71:3"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "284:9:3",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "296:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "307:4:3",
"type": ""
}
],
"src": "214:222:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "482:35:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "492:19:3",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "508:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "502:5:3"
},
"nodeType": "YulFunctionCall",
"src": "502:9:3"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "492:6:3"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "475:6:3",
"type": ""
}
],
"src": "442:75:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "612:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "629:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "632:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "622:6:3"
},
"nodeType": "YulFunctionCall",
"src": "622:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "622:12:3"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "523:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "735:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "752:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "755:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "745:6:3"
},
"nodeType": "YulFunctionCall",
"src": "745:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "745:12:3"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "646:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "812:79:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "869:16:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "878:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "881:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "871:6:3"
},
"nodeType": "YulFunctionCall",
"src": "871:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "871:12:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "835:5:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "860:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "842:17:3"
},
"nodeType": "YulFunctionCall",
"src": "842:24:3"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "832:2:3"
},
"nodeType": "YulFunctionCall",
"src": "832:35:3"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "825:6:3"
},
"nodeType": "YulFunctionCall",
"src": "825:43:3"
},
"nodeType": "YulIf",
"src": "822:63:3"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "805:5:3",
"type": ""
}
],
"src": "769:122:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "949:87:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "959:29:3",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "981:6:3"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:3"
},
"nodeType": "YulFunctionCall",
"src": "968:20:3"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "959:5:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1024:5:3"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "997:26:3"
},
"nodeType": "YulFunctionCall",
"src": "997:33:3"
},
"nodeType": "YulExpressionStatement",
"src": "997:33:3"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "927:6:3",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "935:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "943:5:3",
"type": ""
}
],
"src": "897:139:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1108:263:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1154:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1156:77:3"
},
"nodeType": "YulFunctionCall",
"src": "1156:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "1156:79:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1129:7:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1138:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1125:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1125:23:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1150:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1121:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1121:32:3"
},
"nodeType": "YulIf",
"src": "1118:119:3"
},
{
"nodeType": "YulBlock",
"src": "1247:117:3",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1262:15:3",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1276:1:3",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1266:6:3",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1291:63:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1326:9:3"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1337:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1322:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1322:22:3"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1346:7:3"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1301:20:3"
},
"nodeType": "YulFunctionCall",
"src": "1301:53:3"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1291:6:3"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1078:9:3",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1089:7:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1101:6:3",
"type": ""
}
],
"src": "1042:329:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1422:81:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1432:65:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1447:5:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1454:42:3",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1443:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1443:54:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1432:7:3"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1404:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1414:7:3",
"type": ""
}
],
"src": "1377:126:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1554:51:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1564:35:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1593:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "1575:17:3"
},
"nodeType": "YulFunctionCall",
"src": "1575:24:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1564:7:3"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1536:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1546:7:3",
"type": ""
}
],
"src": "1509:96:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1676:53:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1693:3:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1716:5:3"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1698:17:3"
},
"nodeType": "YulFunctionCall",
"src": "1698:24:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1686:6:3"
},
"nodeType": "YulFunctionCall",
"src": "1686:37:3"
},
"nodeType": "YulExpressionStatement",
"src": "1686:37:3"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1664:5:3",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1671:3:3",
"type": ""
}
],
"src": "1611:118:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1833:124:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1843:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1855:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1866:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1851:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1851:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1843:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1923:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1936:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1947:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1932:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1932:17:3"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "1879:43:3"
},
"nodeType": "YulFunctionCall",
"src": "1879:71:3"
},
"nodeType": "YulExpressionStatement",
"src": "1879:71:3"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1805:9:3",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1817:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1828:4:3",
"type": ""
}
],
"src": "1735:222:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2006:79:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2063:16:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2072:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2075:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2065:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2065:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "2065:12:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2029:5:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2054:5:3"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "2036:17:3"
},
"nodeType": "YulFunctionCall",
"src": "2036:24:3"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2026:2:3"
},
"nodeType": "YulFunctionCall",
"src": "2026:35:3"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2019:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2019:43:3"
},
"nodeType": "YulIf",
"src": "2016:63:3"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1999:5:3",
"type": ""
}
],
"src": "1963:122:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2143:87:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2153:29:3",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2175:6:3"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2162:12:3"
},
"nodeType": "YulFunctionCall",
"src": "2162:20:3"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2153:5:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2218:5:3"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "2191:26:3"
},
"nodeType": "YulFunctionCall",
"src": "2191:33:3"
},
"nodeType": "YulExpressionStatement",
"src": "2191:33:3"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2121:6:3",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2129:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2137:5:3",
"type": ""
}
],
"src": "2091:139:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2302:263:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2348:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2350:77:3"
},
"nodeType": "YulFunctionCall",
"src": "2350:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "2350:79:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2323:7:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2332:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2319:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2319:23:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2344:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2315:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2315:32:3"
},
"nodeType": "YulIf",
"src": "2312:119:3"
},
{
"nodeType": "YulBlock",
"src": "2441:117:3",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2456:15:3",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2470:1:3",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2460:6:3",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2485:63:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2520:9:3"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2531:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2516:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2516:22:3"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2540:7:3"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "2495:20:3"
},
"nodeType": "YulFunctionCall",
"src": "2495:53:3"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2485:6:3"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2272:9:3",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2283:7:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2295:6:3",
"type": ""
}
],
"src": "2236:329:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2667:73:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2684:3:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2689:6:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2677:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2677:19:3"
},
"nodeType": "YulExpressionStatement",
"src": "2677:19:3"
},
{
"nodeType": "YulAssignment",
"src": "2705:29:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2724:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2729:4:3",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2720:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2720:14:3"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2705:11:3"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2639:3:3",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2644:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2655:11:3",
"type": ""
}
],
"src": "2571:169:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2852:119:3",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2874:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2882:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2870:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2870:14:3"
},
{
"hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061",
"kind": "string",
"nodeType": "YulLiteral",
"src": "2886:34:3",
"type": "",
"value": "Ownable: new owner is the zero a"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2863:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2863:58:3"
},
"nodeType": "YulExpressionStatement",
"src": "2863:58:3"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2942:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2950:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2938:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2938:15:3"
},
{
"hexValue": "646472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "2955:8:3",
"type": "",
"value": "ddress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2931:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2931:33:3"
},
"nodeType": "YulExpressionStatement",
"src": "2931:33:3"
}
]
},
"name": "store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2844:6:3",
"type": ""
}
],
"src": "2746:225:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3123:220:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3133:74:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3199:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3204:2:3",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3140:58:3"
},
"nodeType": "YulFunctionCall",
"src": "3140:67:3"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3133:3:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3305:3:3"
}
],
"functionName": {
"name": "store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe",
"nodeType": "YulIdentifier",
"src": "3216:88:3"
},
"nodeType": "YulFunctionCall",
"src": "3216:93:3"
},
"nodeType": "YulExpressionStatement",
"src": "3216:93:3"
},
{
"nodeType": "YulAssignment",
"src": "3318:19:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3329:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3334:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3325:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3325:12:3"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3318:3:3"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3111:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3119:3:3",
"type": ""
}
],
"src": "2977:366:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3520:248:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3530:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3542:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3553:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3538:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3538:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3530:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3577:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3588:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3573:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3573:17:3"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3596:4:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3602:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3592:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3592:20:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3566:6:3"
},
"nodeType": "YulFunctionCall",
"src": "3566:47:3"
},
"nodeType": "YulExpressionStatement",
"src": "3566:47:3"
},
{
"nodeType": "YulAssignment",
"src": "3622:139:3",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3756:4:3"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3630:124:3"
},
"nodeType": "YulFunctionCall",
"src": "3630:131:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3622:4:3"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3500:9:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3515:4:3",
"type": ""
}
],
"src": "3349:419:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3880:76:3",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3902:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3910:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3898:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3898:14:3"
},
{
"hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "3914:34:3",
"type": "",
"value": "Ownable: caller is not the owner"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3891:6:3"
},
"nodeType": "YulFunctionCall",
"src": "3891:58:3"
},
"nodeType": "YulExpressionStatement",
"src": "3891:58:3"
}
]
},
"name": "store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3872:6:3",
"type": ""
}
],
"src": "3774:182:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4108:220:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4118:74:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4184:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4189:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4125:58:3"
},
"nodeType": "YulFunctionCall",
"src": "4125:67:3"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4118:3:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4290:3:3"
}
],
"functionName": {
"name": "store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe",
"nodeType": "YulIdentifier",
"src": "4201:88:3"
},
"nodeType": "YulFunctionCall",
"src": "4201:93:3"
},
"nodeType": "YulExpressionStatement",
"src": "4201:93:3"
},
{
"nodeType": "YulAssignment",
"src": "4303:19:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4314:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4319:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4310:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4310:12:3"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4303:3:3"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4096:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4104:3:3",
"type": ""
}
],
"src": "3962:366:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4505:248:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4515:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4527:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4538:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4523:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4523:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4515:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4562:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4573:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4558:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4558:17:3"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4581:4:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4587:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4577:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4577:20:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4551:6:3"
},
"nodeType": "YulFunctionCall",
"src": "4551:47:3"
},
"nodeType": "YulExpressionStatement",
"src": "4551:47:3"
},
{
"nodeType": "YulAssignment",
"src": "4607:139:3",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4741:4:3"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4615:124:3"
},
"nodeType": "YulFunctionCall",
"src": "4615:131:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4607:4:3"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4485:9:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4500:4:3",
"type": ""
}
],
"src": "4334:419:3"
}
]
},
"contents": "{\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256(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_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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_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 validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address(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(add(headStart, offset), dataEnd)\n }\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 store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe(memPtr) {\n\n mstore(add(memPtr, 0), \"Ownable: new owner is the zero a\")\n\n mstore(add(memPtr, 32), \"ddress\")\n\n }\n\n function abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 38)\n store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__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_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe(memPtr) {\n\n mstore(add(memPtr, 0), \"Ownable: caller is not the owner\")\n\n }\n\n function abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 32)\n store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__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_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n",
"id": 3,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100575760003560e01c80632e64cec11461005c5780636057361d1461007a578063715018a6146100965780638da5cb5b146100a0578063f2fde38b146100be575b600080fd5b6100646100da565b6040516100719190610350565b60405180910390f35b610094600480360381019061008f919061039c565b6100e4565b005b61009e61012d565b005b6100a8610141565b6040516100b5919061040a565b60405180910390f35b6100d860048036038101906100d39190610451565b61016a565b005b6000600154905090565b6100ec6101ed565b806001819055507f93fe6d397c74fdf1402a8b72e47b68512f0510d7b98a4bc4cbdf6ac7108b3c59816040516101229190610350565b60405180910390a150565b6101356101ed565b61013f600061026b565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6101726101ed565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d890610501565b60405180910390fd5b6101ea8161026b565b50565b6101f561032f565b73ffffffffffffffffffffffffffffffffffffffff16610213610141565b73ffffffffffffffffffffffffffffffffffffffff1614610269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102609061056d565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000819050919050565b61034a81610337565b82525050565b60006020820190506103656000830184610341565b92915050565b600080fd5b61037981610337565b811461038457600080fd5b50565b60008135905061039681610370565b92915050565b6000602082840312156103b2576103b161036b565b5b60006103c084828501610387565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103f4826103c9565b9050919050565b610404816103e9565b82525050565b600060208201905061041f60008301846103fb565b92915050565b61042e816103e9565b811461043957600080fd5b50565b60008135905061044b81610425565b92915050565b6000602082840312156104675761046661036b565b5b60006104758482850161043c565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006104eb60268361047e565b91506104f68261048f565b604082019050919050565b6000602082019050818103600083015261051a816104de565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061055760208361047e565b915061056282610521565b602082019050919050565b600060208201905081810360008301526105868161054a565b905091905056fea264697066735822122088b4aefb901a61028784138fdf4a64ce1f3728fae347e70eff973c9e391d9cc964736f6c63430008120033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x7A JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x96 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xA0 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xBE JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0xDA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x350 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x94 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8F SWAP2 SWAP1 PUSH2 0x39C JUMP JUMPDEST PUSH2 0xE4 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x9E PUSH2 0x12D JUMP JUMPDEST STOP JUMPDEST PUSH2 0xA8 PUSH2 0x141 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB5 SWAP2 SWAP1 PUSH2 0x40A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xD8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xD3 SWAP2 SWAP1 PUSH2 0x451 JUMP JUMPDEST PUSH2 0x16A JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xEC PUSH2 0x1ED JUMP JUMPDEST DUP1 PUSH1 0x1 DUP2 SWAP1 SSTORE POP PUSH32 0x93FE6D397C74FDF1402A8B72E47B68512F0510D7B98A4BC4CBDF6AC7108B3C59 DUP2 PUSH1 0x40 MLOAD PUSH2 0x122 SWAP2 SWAP1 PUSH2 0x350 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH2 0x135 PUSH2 0x1ED JUMP JUMPDEST PUSH2 0x13F PUSH1 0x0 PUSH2 0x26B JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x172 PUSH2 0x1ED JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x1E1 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1D8 SWAP1 PUSH2 0x501 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1EA DUP2 PUSH2 0x26B JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x1F5 PUSH2 0x32F JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x213 PUSH2 0x141 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x269 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x260 SWAP1 PUSH2 0x56D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x34A DUP2 PUSH2 0x337 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x365 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x341 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x379 DUP2 PUSH2 0x337 JUMP JUMPDEST DUP2 EQ PUSH2 0x384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x396 DUP2 PUSH2 0x370 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3B2 JUMPI PUSH2 0x3B1 PUSH2 0x36B JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3C0 DUP5 DUP3 DUP6 ADD PUSH2 0x387 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3F4 DUP3 PUSH2 0x3C9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x404 DUP2 PUSH2 0x3E9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x41F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3FB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x42E DUP2 PUSH2 0x3E9 JUMP JUMPDEST DUP2 EQ PUSH2 0x439 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x44B DUP2 PUSH2 0x425 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x467 JUMPI PUSH2 0x466 PUSH2 0x36B JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x475 DUP5 DUP3 DUP6 ADD PUSH2 0x43C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4EB PUSH1 0x26 DUP4 PUSH2 0x47E JUMP JUMPDEST SWAP2 POP PUSH2 0x4F6 DUP3 PUSH2 0x48F JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x51A DUP2 PUSH2 0x4DE JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x557 PUSH1 0x20 DUP4 PUSH2 0x47E JUMP JUMPDEST SWAP2 POP PUSH2 0x562 DUP3 PUSH2 0x521 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x586 DUP2 PUSH2 0x54A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP9 0xB4 0xAE 0xFB SWAP1 BYTE PUSH2 0x287 DUP5 SGT DUP16 0xDF 0x4A PUSH5 0xCE1F3728FA 0xE3 SELFBALANCE 0xE7 0xE SELFDESTRUCT SWAP8 EXTCODECOPY SWAP15 CODECOPY SAR SWAP13 0xC9 PUSH5 0x736F6C6343 STOP ADDMOD SLT STOP CALLER ",
"sourceMap": "236:371:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;525:80;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;407:112;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1831:101:0;;;:::i;:::-;;1201:85;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2081:198;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;525:80:2;566:7;592:6;;585:13;;525:80;:::o;407:112::-;1094:13:0;:11;:13::i;:::-;473:5:2::1;464:6;:14;;;;493:19;506:5;493:19;;;;;;:::i;:::-;;;;;;;;407:112:::0;:::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;1201:85::-;1247:7;1273:6;;;;;;;;;;;1266:13;;1201:85;:::o;2081:198::-;1094:13;:11;:13::i;:::-;2189:1:::1;2169:22;;:8;:22;;::::0;2161:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;1359:130::-;1433:12;:10;:12::i;:::-;1422:23;;:7;:5;:7::i;:::-;:23;;;1414:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1359:130::o;2433:187::-;2506:16;2525:6;;;;;;;;;;;2506:25;;2550:8;2541:6;;:17;;;;;;;;;;;;;;;;;;2604:8;2573:40;;2594:8;2573:40;;;;;;;;;;;;2496:124;2433:187;:::o;640:96:1:-;693:7;719:10;712:17;;640:96;:::o;7:77:3:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;523:117::-;632:1;629;622:12;769:122;842:24;860:5;842:24;:::i;:::-;835:5;832:35;822:63;;881:1;878;871:12;822:63;769:122;:::o;897:139::-;943:5;981:6;968:20;959:29;;997:33;1024:5;997:33;:::i;:::-;897:139;;;;:::o;1042:329::-;1101:6;1150:2;1138:9;1129:7;1125:23;1121:32;1118:119;;;1156:79;;:::i;:::-;1118:119;1276:1;1301:53;1346:7;1337:6;1326:9;1322:22;1301:53;:::i;:::-;1291:63;;1247:117;1042:329;;;;:::o;1377:126::-;1414:7;1454:42;1447:5;1443:54;1432:65;;1377:126;;;:::o;1509:96::-;1546:7;1575:24;1593:5;1575:24;:::i;:::-;1564:35;;1509:96;;;:::o;1611:118::-;1698:24;1716:5;1698:24;:::i;:::-;1693:3;1686:37;1611:118;;:::o;1735:222::-;1828:4;1866:2;1855:9;1851:18;1843:26;;1879:71;1947:1;1936:9;1932:17;1923:6;1879:71;:::i;:::-;1735:222;;;;:::o;1963:122::-;2036:24;2054:5;2036:24;:::i;:::-;2029:5;2026:35;2016:63;;2075:1;2072;2065:12;2016:63;1963:122;:::o;2091:139::-;2137:5;2175:6;2162:20;2153:29;;2191:33;2218:5;2191:33;:::i;:::-;2091:139;;;;:::o;2236:329::-;2295:6;2344:2;2332:9;2323:7;2319:23;2315:32;2312:119;;;2350:79;;:::i;:::-;2312:119;2470:1;2495:53;2540:7;2531:6;2520:9;2516:22;2495:53;:::i;:::-;2485:63;;2441:117;2236:329;;;;:::o;2571:169::-;2655:11;2689:6;2684:3;2677:19;2729:4;2724:3;2720:14;2705:29;;2571:169;;;;:::o;2746:225::-;2886:34;2882:1;2874:6;2870:14;2863:58;2955:8;2950:2;2942:6;2938:15;2931:33;2746:225;:::o;2977:366::-;3119:3;3140:67;3204:2;3199:3;3140:67;:::i;:::-;3133:74;;3216:93;3305:3;3216:93;:::i;:::-;3334:2;3329:3;3325:12;3318:19;;2977:366;;;:::o;3349:419::-;3515:4;3553:2;3542:9;3538:18;3530:26;;3602:9;3596:4;3592:20;3588:1;3577:9;3573:17;3566:47;3630:131;3756:4;3630:131;:::i;:::-;3622:139;;3349:419;;;:::o;3774:182::-;3914:34;3910:1;3902:6;3898:14;3891:58;3774:182;:::o;3962:366::-;4104:3;4125:67;4189:2;4184:3;4125:67;:::i;:::-;4118:74;;4201:93;4290:3;4201:93;:::i;:::-;4319:2;4314:3;4310:12;4303:19;;3962:366;;;:::o;4334:419::-;4500:4;4538:2;4527:9;4523:18;4515:26;;4587:9;4581:4;4577:20;4573:1;4562:9;4558:17;4551:47;4615:131;4741:4;4615:131;:::i;:::-;4607:139;;4334:419;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "295000",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"owner()": "2566",
"renounceOwnership()": "30420",
"retrieve()": "2415",
"store(uint256)": "infinite",
"transferOwnership(address)": "30810"
}
},
"methodIdentifiers": {
"owner()": "8da5cb5b",
"renounceOwnership()": "715018a6",
"retrieve()": "2e64cec1",
"store(uint256)": "6057361d",
"transferOwnership(address)": "f2fde38b"
}
},
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "ValueChanged",
"type": "event"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "retrieve",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.18+commit.87f61d96"
},
"language": "Solidity",
"output": {
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "ValueChanged",
"type": "event"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "retrieve",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"owner()": {
"details": "Returns the address of the current owner."
},
"renounceOwnership()": {
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
},
"transferOwnership(address)": {
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/Box.sol": "Box"
},
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"@openzeppelin/contracts/access/Ownable.sol": {
"keccak256": "0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673",
"license": "MIT",
"urls": [
"bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2",
"dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y"
]
},
"@openzeppelin/contracts/utils/Context.sol": {
"keccak256": "0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7",
"license": "MIT",
"urls": [
"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92",
"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3"
]
},
"contracts/Box.sol": {
"keccak256": "0x9792054a7b4cd87e93dad992853b7bb81d35a7c5c96ec83ef0bd4bb5903d83e8",
"license": "MIT",
"urls": [
"bzz-raw://383d66fadb97ef9e702ba12699ce2a29179c14e4d9673f61ce22abd31b865c0c",
"dweb:/ipfs/QmNPh3JMBXsjohKayB82j4eC6YPoSZaVNSTd2iWmLBUSAC"
]
}
},
"version": 1
}
{
"id": "1bbf47ac8eac9d6fb8be1bcddfb81d3f",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.18",
"solcLongVersion": "0.8.18+commit.87f61d96",
"input": {
"language": "Solidity",
"sources": {
"contracts/Box.sol": {
"content": "// contracts/Box.sol\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n// Import Ownable from the OpenZeppelin Contracts library\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\n\n// Make Box inherit from the Ownable contract\ncontract Box is Ownable {\n uint256 private _value;\n\n event ValueChanged(uint256 value);\n\n // The onlyOwner modifier restricts who can call the store function\n function store(uint256 value) public onlyOwner {\n _value = value;\n emit ValueChanged(value);\n }\n\n function retrieve() public view returns (uint256) {\n return _value;\n }\n}"
},
"@openzeppelin/contracts/access/Ownable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n address private _owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n /**\n * @dev Initializes the contract setting the deployer as the initial owner.\n */\n constructor() {\n _transferOwnership(_msgSender());\n }\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n _checkOwner();\n _;\n }\n\n /**\n * @dev Returns the address of the current owner.\n */\n function owner() public view virtual returns (address) {\n return _owner;\n }\n\n /**\n * @dev Throws if the sender is not the owner.\n */\n function _checkOwner() internal view virtual {\n require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n }\n\n /**\n * @dev Leaves the contract without owner. It will not be possible to call\n * `onlyOwner` functions anymore. Can only be called by the current owner.\n *\n * NOTE: Renouncing ownership will leave the contract without an owner,\n * thereby removing any functionality that is only available to the owner.\n */\n function renounceOwnership() public virtual onlyOwner {\n _transferOwnership(address(0));\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Can only be called by the current owner.\n */\n function transferOwnership(address newOwner) public virtual onlyOwner {\n require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n _transferOwnership(newOwner);\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Internal function without access restriction.\n */\n function _transferOwnership(address newOwner) internal virtual {\n address oldOwner = _owner;\n _owner = newOwner;\n emit OwnershipTransferred(oldOwner, newOwner);\n }\n}\n"
},
"@openzeppelin/contracts/utils/Context.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes calldata) {\n return msg.data;\n }\n}\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
},
"output": {
"contracts": {
"@openzeppelin/contracts/access/Ownable.sol": {
"Ownable": {
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"details": "Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.",
"kind": "dev",
"methods": {
"constructor": {
"details": "Initializes the contract setting the deployer as the initial owner."
},
"owner()": {
"details": "Returns the address of the current owner."
},
"renounceOwnership()": {
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
},
"transferOwnership(address)": {
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"owner()": "8da5cb5b",
"renounceOwnership()": "715018a6",
"transferOwnership(address)": "f2fde38b"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the contract setting the deployer as the initial owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/Ownable.sol\":\"Ownable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2\",\"dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 7,
"contract": "@openzeppelin/contracts/access/Ownable.sol:Ownable",
"label": "_owner",
"offset": 0,
"slot": "0",
"type": "t_address"
}
],
"types": {
"t_address": {
"encoding": "inplace",
"label": "address",
"numberOfBytes": "20"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
"@openzeppelin/contracts/utils/Context.sol": {
"Context": {
"abi": [],
"devdoc": {
"details": "Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.",
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
"contracts/Box.sol": {
"Box": {
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "ValueChanged",
"type": "event"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "retrieve",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "store",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"owner()": {
"details": "Returns the address of the current owner."
},
"renounceOwnership()": {
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
},
"transferOwnership(address)": {
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
}
},
"version": 1
},
"evm": {
"assembly": " /* \"contracts/Box.sol\":236:607 contract Box is Ownable {... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\ntag_1:\n pop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":936:968 _transferOwnership(_msgSender()) */\n tag_4\n /* \"@openzeppelin/contracts/access/Ownable.sol\":955:967 _msgSender() */\n tag_5\n /* \"@openzeppelin/contracts/access/Ownable.sol\":955:965 _msgSender */\n shl(0x20, tag_6)\n /* \"@openzeppelin/contracts/access/Ownable.sol\":955:967 _msgSender() */\n 0x20\n shr\n jump\t// in\ntag_5:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":936:954 _transferOwnership */\n shl(0x20, tag_7)\n /* \"@openzeppelin/contracts/access/Ownable.sol\":936:968 _transferOwnership(_msgSender()) */\n 0x20\n shr\n jump\t// in\ntag_4:\n /* \"contracts/Box.sol\":236:607 contract Box is Ownable {... */\n jump(tag_8)\n /* \"@openzeppelin/contracts/utils/Context.sol\":640:736 function _msgSender() internal view virtual returns (address) {... */\ntag_6:\n /* \"@openzeppelin/contracts/utils/Context.sol\":693:700 address */\n 0x00\n /* \"@openzeppelin/contracts/utils/Context.sol\":719:729 msg.sender */\n caller\n /* \"@openzeppelin/contracts/utils/Context.sol\":712:729 return msg.sender */\n swap1\n pop\n /* \"@openzeppelin/contracts/utils/Context.sol\":640:736 function _msgSender() internal view virtual returns (address) {... */\n swap1\n jump\t// out\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2433:2620 function _transferOwnership(address newOwner) internal virtual {... */\ntag_7:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2506:2522 address oldOwner */\n 0x00\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2525:2531 _owner */\n dup1\n 0x00\n swap1\n sload\n swap1\n 0x0100\n exp\n swap1\n div\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2506:2531 address oldOwner = _owner */\n swap1\n pop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2550:2558 newOwner */\n dup2\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2541:2547 _owner */\n 0x00\n dup1\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2541:2558 _owner = newOwner */\n 0x0100\n exp\n dup2\n sload\n dup2\n 0xffffffffffffffffffffffffffffffffffffffff\n mul\n not\n and\n swap1\n dup4\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n mul\n or\n swap1\n sstore\n pop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2604:2612 newOwner */\n dup2\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2573:2613 OwnershipTransferred(oldOwner, newOwner) */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2594:2602 oldOwner */\n dup2\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2573:2613 OwnershipTransferred(oldOwner, newOwner) */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\n mload(0x40)\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n log3\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2496:2620 {... */\n pop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2433:2620 function _transferOwnership(address newOwner) internal virtual {... */\n pop\n jump\t// out\n /* \"contracts/Box.sol\":236:607 contract Box is Ownable {... */\ntag_8:\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"contracts/Box.sol\":236:607 contract Box is Ownable {... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\n tag_1:\n pop\n jumpi(tag_2, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x2e64cec1\n eq\n tag_3\n jumpi\n dup1\n 0x6057361d\n eq\n tag_4\n jumpi\n dup1\n 0x715018a6\n eq\n tag_5\n jumpi\n dup1\n 0x8da5cb5b\n eq\n tag_6\n jumpi\n dup1\n 0xf2fde38b\n eq\n tag_7\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"contracts/Box.sol\":525:605 function retrieve() public view returns (uint256) {... */\n tag_3:\n tag_8\n tag_9\n jump\t// in\n tag_8:\n mload(0x40)\n tag_10\n swap2\n swap1\n tag_11\n jump\t// in\n tag_10:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"contracts/Box.sol\":407:519 function store(uint256 value) public onlyOwner {... */\n tag_4:\n tag_12\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_13\n swap2\n swap1\n tag_14\n jump\t// in\n tag_13:\n tag_15\n jump\t// in\n tag_12:\n stop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1831:1932 function renounceOwnership() public virtual onlyOwner {... */\n tag_5:\n tag_16\n tag_17\n jump\t// in\n tag_16:\n stop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1201:1286 function owner() public view virtual returns (address) {... */\n tag_6:\n tag_18\n tag_19\n jump\t// in\n tag_18:\n mload(0x40)\n tag_20\n swap2\n swap1\n tag_21\n jump\t// in\n tag_20:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2081:2279 function transferOwnership(address newOwner) public virtual onlyOwner {... */\n tag_7:\n tag_22\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_23\n swap2\n swap1\n tag_24\n jump\t// in\n tag_23:\n tag_25\n jump\t// in\n tag_22:\n stop\n /* \"contracts/Box.sol\":525:605 function retrieve() public view returns (uint256) {... */\n tag_9:\n /* \"contracts/Box.sol\":566:573 uint256 */\n 0x00\n /* \"contracts/Box.sol\":592:598 _value */\n sload(0x01)\n /* \"contracts/Box.sol\":585:598 return _value */\n swap1\n pop\n /* \"contracts/Box.sol\":525:605 function retrieve() public view returns (uint256) {... */\n swap1\n jump\t// out\n /* \"contracts/Box.sol\":407:519 function store(uint256 value) public onlyOwner {... */\n tag_15:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1107 _checkOwner() */\n tag_28\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1105 _checkOwner */\n tag_29\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1107 _checkOwner() */\n jump\t// in\n tag_28:\n /* \"contracts/Box.sol\":473:478 value */\n dup1\n /* \"contracts/Box.sol\":464:470 _value */\n 0x01\n /* \"contracts/Box.sol\":464:478 _value = value */\n dup2\n swap1\n sstore\n pop\n /* \"contracts/Box.sol\":493:512 ValueChanged(value) */\n 0x93fe6d397c74fdf1402a8b72e47b68512f0510d7b98a4bc4cbdf6ac7108b3c59\n /* \"contracts/Box.sol\":506:511 value */\n dup2\n /* \"contracts/Box.sol\":493:512 ValueChanged(value) */\n mload(0x40)\n tag_31\n swap2\n swap1\n tag_11\n jump\t// in\n tag_31:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n log1\n /* \"contracts/Box.sol\":407:519 function store(uint256 value) public onlyOwner {... */\n pop\n jump\t// out\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1831:1932 function renounceOwnership() public virtual onlyOwner {... */\n tag_17:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1107 _checkOwner() */\n tag_33\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1105 _checkOwner */\n tag_29\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1107 _checkOwner() */\n jump\t// in\n tag_33:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1895:1925 _transferOwnership(address(0)) */\n tag_35\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1922:1923 0 */\n 0x00\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1895:1913 _transferOwnership */\n tag_36\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1895:1925 _transferOwnership(address(0)) */\n jump\t// in\n tag_35:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1831:1932 function renounceOwnership() public virtual onlyOwner {... */\n jump\t// out\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1201:1286 function owner() public view virtual returns (address) {... */\n tag_19:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1247:1254 address */\n 0x00\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1273:1279 _owner */\n dup1\n 0x00\n swap1\n sload\n swap1\n 0x0100\n exp\n swap1\n div\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1266:1279 return _owner */\n swap1\n pop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1201:1286 function owner() public view virtual returns (address) {... */\n swap1\n jump\t// out\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2081:2279 function transferOwnership(address newOwner) public virtual onlyOwner {... */\n tag_25:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1107 _checkOwner() */\n tag_39\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1105 _checkOwner */\n tag_29\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1094:1107 _checkOwner() */\n jump\t// in\n tag_39:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2189:2190 0 */\n 0x00\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2169:2191 newOwner != address(0) */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2169:2177 newOwner */\n dup2\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2169:2191 newOwner != address(0) */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n sub\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2161:2234 require(newOwner != address(0), \"Ownable: new owner is the zero address\") */\n tag_41\n jumpi\n mload(0x40)\n 0x08c379a000000000000000000000000000000000000000000000000000000000\n dup2\n mstore\n 0x04\n add\n tag_42\n swap1\n tag_43\n jump\t// in\n tag_42:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n revert\n tag_41:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2244:2272 _transferOwnership(newOwner) */\n tag_44\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2263:2271 newOwner */\n dup2\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2244:2262 _transferOwnership */\n tag_36\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2244:2272 _transferOwnership(newOwner) */\n jump\t// in\n tag_44:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2081:2279 function transferOwnership(address newOwner) public virtual onlyOwner {... */\n pop\n jump\t// out\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1359:1489 function _checkOwner() internal view virtual {... */\n tag_29:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1433:1445 _msgSender() */\n tag_46\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1433:1443 _msgSender */\n tag_47\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1433:1445 _msgSender() */\n jump\t// in\n tag_46:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1422:1445 owner() == _msgSender() */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1422:1429 owner() */\n tag_48\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1422:1427 owner */\n tag_19\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1422:1429 owner() */\n jump\t// in\n tag_48:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1422:1445 owner() == _msgSender() */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n eq\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1414:1482 require(owner() == _msgSender(), \"Ownable: caller is not the owner\") */\n tag_49\n jumpi\n mload(0x40)\n 0x08c379a000000000000000000000000000000000000000000000000000000000\n dup2\n mstore\n 0x04\n add\n tag_50\n swap1\n tag_51\n jump\t// in\n tag_50:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n revert\n tag_49:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":1359:1489 function _checkOwner() internal view virtual {... */\n jump\t// out\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2433:2620 function _transferOwnership(address newOwner) internal virtual {... */\n tag_36:\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2506:2522 address oldOwner */\n 0x00\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2525:2531 _owner */\n dup1\n 0x00\n swap1\n sload\n swap1\n 0x0100\n exp\n swap1\n div\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2506:2531 address oldOwner = _owner */\n swap1\n pop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2550:2558 newOwner */\n dup2\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2541:2547 _owner */\n 0x00\n dup1\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2541:2558 _owner = newOwner */\n 0x0100\n exp\n dup2\n sload\n dup2\n 0xffffffffffffffffffffffffffffffffffffffff\n mul\n not\n and\n swap1\n dup4\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n mul\n or\n swap1\n sstore\n pop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2604:2612 newOwner */\n dup2\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2573:2613 OwnershipTransferred(oldOwner, newOwner) */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2594:2602 oldOwner */\n dup2\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2573:2613 OwnershipTransferred(oldOwner, newOwner) */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\n mload(0x40)\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n log3\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2496:2620 {... */\n pop\n /* \"@openzeppelin/contracts/access/Ownable.sol\":2433:2620 function _transferOwnership(address newOwner) internal virtual {... */\n pop\n jump\t// out\n /* \"@openzeppelin/contracts/utils/Context.sol\":640:736 function _msgSender() internal view virtual returns (address) {... */\n tag_47:\n /* \"@openzeppelin/contracts/utils/Context.sol\":693:700 address */\n 0x00\n /* \"@openzeppelin/contracts/utils/Context.sol\":719:729 msg.sender */\n caller\n /* \"@openzeppelin/contracts/utils/Context.sol\":712:729 return msg.sender */\n swap1\n pop\n /* \"@openzeppelin/contracts/utils/Context.sol\":640:736 function _msgSender() internal view virtual returns (address) {... */\n swap1\n jump\t// out\n /* \"#utility.yul\":7:84 */\n tag_54:\n /* \"#utility.yul\":44:51 */\n 0x00\n /* \"#utility.yul\":73:78 */\n dup2\n /* \"#utility.yul\":62:78 */\n swap1\n pop\n /* \"#utility.yul\":7:84 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":90:208 */\n tag_55:\n /* \"#utility.yul\":177:201 */\n tag_74\n /* \"#utility.yul\":195:200 */\n dup2\n /* \"#utility.yul\":177:201 */\n tag_54\n jump\t// in\n tag_74:\n /* \"#utility.yul\":172:175 */\n dup3\n /* \"#utility.yul\":165:202 */\n mstore\n /* \"#utility.yul\":90:208 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":214:436 */\n tag_11:\n /* \"#utility.yul\":307:311 */\n 0x00\n /* \"#utility.yul\":345:347 */\n 0x20\n /* \"#utility.yul\":334:343 */\n dup3\n /* \"#utility.yul\":330:348 */\n add\n /* \"#utility.yul\":322:348 */\n swap1\n pop\n /* \"#utility.yul\":358:429 */\n tag_76\n /* \"#utility.yul\":426:427 */\n 0x00\n /* \"#utility.yul\":415:424 */\n dup4\n /* \"#utility.yul\":411:428 */\n add\n /* \"#utility.yul\":402:408 */\n dup5\n /* \"#utility.yul\":358:429 */\n tag_55\n jump\t// in\n tag_76:\n /* \"#utility.yul\":214:436 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":523:640 */\n tag_57:\n /* \"#utility.yul\":632:633 */\n 0x00\n /* \"#utility.yul\":629:630 */\n dup1\n /* \"#utility.yul\":622:634 */\n revert\n /* \"#utility.yul\":769:891 */\n tag_59:\n /* \"#utility.yul\":842:866 */\n tag_81\n /* \"#utility.yul\":860:865 */\n dup2\n /* \"#utility.yul\":842:866 */\n tag_54\n jump\t// in\n tag_81:\n /* \"#utility.yul\":835:840 */\n dup2\n /* \"#utility.yul\":832:867 */\n eq\n /* \"#utility.yul\":822:885 */\n tag_82\n jumpi\n /* \"#utility.yul\":881:882 */\n 0x00\n /* \"#utility.yul\":878:879 */\n dup1\n /* \"#utility.yul\":871:883 */\n revert\n /* \"#utility.yul\":822:885 */\n tag_82:\n /* \"#utility.yul\":769:891 */\n pop\n jump\t// out\n /* \"#utility.yul\":897:1036 */\n tag_60:\n /* \"#utility.yul\":943:948 */\n 0x00\n /* \"#utility.yul\":981:987 */\n dup2\n /* \"#utility.yul\":968:988 */\n calldataload\n /* \"#utility.yul\":959:988 */\n swap1\n pop\n /* \"#utility.yul\":997:1030 */\n tag_84\n /* \"#utility.yul\":1024:1029 */\n dup2\n /* \"#utility.yul\":997:1030 */\n tag_59\n jump\t// in\n tag_84:\n /* \"#utility.yul\":897:1036 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1042:1371 */\n tag_14:\n /* \"#utility.yul\":1101:1107 */\n 0x00\n /* \"#utility.yul\":1150:1152 */\n 0x20\n /* \"#utility.yul\":1138:1147 */\n dup3\n /* \"#utility.yul\":1129:1136 */\n dup5\n /* \"#utility.yul\":1125:1148 */\n sub\n /* \"#utility.yul\":1121:1153 */\n slt\n /* \"#utility.yul\":1118:1237 */\n iszero\n tag_86\n jumpi\n /* \"#utility.yul\":1156:1235 */\n tag_87\n tag_57\n jump\t// in\n tag_87:\n /* \"#utility.yul\":1118:1237 */\n tag_86:\n /* \"#utility.yul\":1276:1277 */\n 0x00\n /* \"#utility.yul\":1301:1354 */\n tag_88\n /* \"#utility.yul\":1346:1353 */\n dup5\n /* \"#utility.yul\":1337:1343 */\n dup3\n /* \"#utility.yul\":1326:1335 */\n dup6\n /* \"#utility.yul\":1322:1344 */\n add\n /* \"#utility.yul\":1301:1354 */\n tag_60\n jump\t// in\n tag_88:\n /* \"#utility.yul\":1291:1354 */\n swap2\n pop\n /* \"#utility.yul\":1247:1364 */\n pop\n /* \"#utility.yul\":1042:1371 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1377:1503 */\n tag_61:\n /* \"#utility.yul\":1414:1421 */\n 0x00\n /* \"#utility.yul\":1454:1496 */\n 0xffffffffffffffffffffffffffffffffffffffff\n /* \"#utility.yul\":1447:1452 */\n dup3\n /* \"#utility.yul\":1443:1497 */\n and\n /* \"#utility.yul\":1432:1497 */\n swap1\n pop\n /* \"#utility.yul\":1377:1503 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1509:1605 */\n tag_62:\n /* \"#utility.yul\":1546:1553 */\n 0x00\n /* \"#utility.yul\":1575:1599 */\n tag_91\n /* \"#utility.yul\":1593:1598 */\n dup3\n /* \"#utility.yul\":1575:1599 */\n tag_61\n jump\t// in\n tag_91:\n /* \"#utility.yul\":1564:1599 */\n swap1\n pop\n /* \"#utility.yul\":1509:1605 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1611:1729 */\n tag_63:\n /* \"#utility.yul\":1698:1722 */\n tag_93\n /* \"#utility.yul\":1716:1721 */\n dup2\n /* \"#utility.yul\":1698:1722 */\n tag_62\n jump\t// in\n tag_93:\n /* \"#utility.yul\":1693:1696 */\n dup3\n /* \"#utility.yul\":1686:1723 */\n mstore\n /* \"#utility.yul\":1611:1729 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1735:1957 */\n tag_21:\n /* \"#utility.yul\":1828:1832 */\n 0x00\n /* \"#utility.yul\":1866:1868 */\n 0x20\n /* \"#utility.yul\":1855:1864 */\n dup3\n /* \"#utility.yul\":1851:1869 */\n add\n /* \"#utility.yul\":1843:1869 */\n swap1\n pop\n /* \"#utility.yul\":1879:1950 */\n tag_95\n /* \"#utility.yul\":1947:1948 */\n 0x00\n /* \"#utility.yul\":1936:1945 */\n dup4\n /* \"#utility.yul\":1932:1949 */\n add\n /* \"#utility.yul\":1923:1929 */\n dup5\n /* \"#utility.yul\":1879:1950 */\n tag_63\n jump\t// in\n tag_95:\n /* \"#utility.yul\":1735:1957 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1963:2085 */\n tag_64:\n /* \"#utility.yul\":2036:2060 */\n tag_97\n /* \"#utility.yul\":2054:2059 */\n dup2\n /* \"#utility.yul\":2036:2060 */\n tag_62\n jump\t// in\n tag_97:\n /* \"#utility.yul\":2029:2034 */\n dup2\n /* \"#utility.yul\":2026:2061 */\n eq\n /* \"#utility.yul\":2016:2079 */\n tag_98\n jumpi\n /* \"#utility.yul\":2075:2076 */\n 0x00\n /* \"#utility.yul\":2072:2073 */\n dup1\n /* \"#utility.yul\":2065:2077 */\n revert\n /* \"#utility.yul\":2016:2079 */\n tag_98:\n /* \"#utility.yul\":1963:2085 */\n pop\n jump\t// out\n /* \"#utility.yul\":2091:2230 */\n tag_65:\n /* \"#utility.yul\":2137:2142 */\n 0x00\n /* \"#utility.yul\":2175:2181 */\n dup2\n /* \"#utility.yul\":2162:2182 */\n calldataload\n /* \"#utility.yul\":2153:2182 */\n swap1\n pop\n /* \"#utility.yul\":2191:2224 */\n tag_100\n /* \"#utility.yul\":2218:2223 */\n dup2\n /* \"#utility.yul\":2191:2224 */\n tag_64\n jump\t// in\n tag_100:\n /* \"#utility.yul\":2091:2230 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2236:2565 */\n tag_24:\n /* \"#utility.yul\":2295:2301 */\n 0x00\n /* \"#utility.yul\":2344:2346 */\n 0x20\n /* \"#utility.yul\":2332:2341 */\n dup3\n /* \"#utility.yul\":2323:2330 */\n dup5\n /* \"#utility.yul\":2319:2342 */\n sub\n /* \"#utility.yul\":2315:2347 */\n slt\n /* \"#utility.yul\":2312:2431 */\n iszero\n tag_102\n jumpi\n /* \"#utility.yul\":2350:2429 */\n tag_103\n tag_57\n jump\t// in\n tag_103:\n /* \"#utility.yul\":2312:2431 */\n tag_102:\n /* \"#utility.yul\":2470:2471 */\n 0x00\n /* \"#utility.yul\":2495:2548 */\n tag_104\n /* \"#utility.yul\":2540:2547 */\n dup5\n /* \"#utility.yul\":2531:2537 */\n dup3\n /* \"#utility.yul\":2520:2529 */\n dup6\n /* \"#utility.yul\":2516:2538 */\n add\n /* \"#utility.yul\":2495:2548 */\n tag_65\n jump\t// in\n tag_104:\n /* \"#utility.yul\":2485:2548 */\n swap2\n pop\n /* \"#utility.yul\":2441:2558 */\n pop\n /* \"#utility.yul\":2236:2565 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2571:2740 */\n tag_66:\n /* \"#utility.yul\":2655:2666 */\n 0x00\n /* \"#utility.yul\":2689:2695 */\n dup3\n /* \"#utility.yul\":2684:2687 */\n dup3\n /* \"#utility.yul\":2677:2696 */\n mstore\n /* \"#utility.yul\":2729:2733 */\n 0x20\n /* \"#utility.yul\":2724:2727 */\n dup3\n /* \"#utility.yul\":2720:2734 */\n add\n /* \"#utility.yul\":2705:2734 */\n swap1\n pop\n /* \"#utility.yul\":2571:2740 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2746:2971 */\n tag_67:\n /* \"#utility.yul\":2886:2920 */\n 0x4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061\n /* \"#utility.yul\":2882:2883 */\n 0x00\n /* \"#utility.yul\":2874:2880 */\n dup3\n /* \"#utility.yul\":2870:2884 */\n add\n /* \"#utility.yul\":2863:2921 */\n mstore\n /* \"#utility.yul\":2955:2963 */\n 0x6464726573730000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":2950:2952 */\n 0x20\n /* \"#utility.yul\":2942:2948 */\n dup3\n /* \"#utility.yul\":2938:2953 */\n add\n /* \"#utility.yul\":2931:2964 */\n mstore\n /* \"#utility.yul\":2746:2971 */\n pop\n jump\t// out\n /* \"#utility.yul\":2977:3343 */\n tag_68:\n /* \"#utility.yul\":3119:3122 */\n 0x00\n /* \"#utility.yul\":3140:3207 */\n tag_108\n /* \"#utility.yul\":3204:3206 */\n 0x26\n /* \"#utility.yul\":3199:3202 */\n dup4\n /* \"#utility.yul\":3140:3207 */\n tag_66\n jump\t// in\n tag_108:\n /* \"#utility.yul\":3133:3207 */\n swap2\n pop\n /* \"#utility.yul\":3216:3309 */\n tag_109\n /* \"#utility.yul\":3305:3308 */\n dup3\n /* \"#utility.yul\":3216:3309 */\n tag_67\n jump\t// in\n tag_109:\n /* \"#utility.yul\":3334:3336 */\n 0x40\n /* \"#utility.yul\":3329:3332 */\n dup3\n /* \"#utility.yul\":3325:3337 */\n add\n /* \"#utility.yul\":3318:3337 */\n swap1\n pop\n /* \"#utility.yul\":2977:3343 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":3349:3768 */\n tag_43:\n /* \"#utility.yul\":3515:3519 */\n 0x00\n /* \"#utility.yul\":3553:3555 */\n 0x20\n /* \"#utility.yul\":3542:3551 */\n dup3\n /* \"#utility.yul\":3538:3556 */\n add\n /* \"#utility.yul\":3530:3556 */\n swap1\n pop\n /* \"#utility.yul\":3602:3611 */\n dup2\n /* \"#utility.yul\":3596:3600 */\n dup2\n /* \"#utility.yul\":3592:3612 */\n sub\n /* \"#utility.yul\":3588:3589 */\n 0x00\n /* \"#utility.yul\":3577:3586 */\n dup4\n /* \"#utility.yul\":3573:3590 */\n add\n /* \"#utility.yul\":3566:3613 */\n mstore\n /* \"#utility.yul\":3630:3761 */\n tag_111\n /* \"#utility.yul\":3756:3760 */\n dup2\n /* \"#utility.yul\":3630:3761 */\n tag_68\n jump\t// in\n tag_111:\n /* \"#utility.yul\":3622:3761 */\n swap1\n pop\n /* \"#utility.yul\":3349:3768 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":3774:3956 */\n tag_69:\n /* \"#utility.yul\":3914:3948 */\n 0x4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572\n /* \"#utility.yul\":3910:3911 */\n 0x00\n /* \"#utility.yul\":3902:3908 */\n dup3\n /* \"#utility.yul\":3898:3912 */\n add\n /* \"#utility.yul\":3891:3949 */\n mstore\n /* \"#utility.yul\":3774:3956 */\n pop\n jump\t// out\n /* \"#utility.yul\":3962:4328 */\n tag_70:\n /* \"#utility.yul\":4104:4107 */\n 0x00\n /* \"#utility.yul\":4125:4192 */\n tag_114\n /* \"#utility.yul\":4189:4191 */\n 0x20\n /* \"#utility.yul\":4184:4187 */\n dup4\n /* \"#utility.yul\":4125:4192 */\n tag_66\n jump\t// in\n tag_114:\n /* \"#utility.yul\":4118:4192 */\n swap2\n pop\n /* \"#utility.yul\":4201:4294 */\n tag_115\n /* \"#utility.yul\":4290:4293 */\n dup3\n /* \"#utility.yul\":4201:4294 */\n tag_69\n jump\t// in\n tag_115:\n /* \"#utility.yul\":4319:4321 */\n 0x20\n /* \"#utility.yul\":4314:4317 */\n dup3\n /* \"#utility.yul\":4310:4322 */\n add\n /* \"#utility.yul\":4303:4322 */\n swap1\n pop\n /* \"#utility.yul\":3962:4328 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":4334:4753 */\n tag_51:\n /* \"#utility.yul\":4500:4504 */\n 0x00\n /* \"#utility.yul\":4538:4540 */\n 0x20\n /* \"#utility.yul\":4527:4536 */\n dup3\n /* \"#utility.yul\":4523:4541 */\n add\n /* \"#utility.yul\":4515:4541 */\n swap1\n pop\n /* \"#utility.yul\":4587:4596 */\n dup2\n /* \"#utility.yul\":4581:4585 */\n dup2\n /* \"#utility.yul\":4577:4597 */\n sub\n /* \"#utility.yul\":4573:4574 */\n 0x00\n /* \"#utility.yul\":4562:4571 */\n dup4\n /* \"#utility.yul\":4558:4575 */\n add\n /* \"#utility.yul\":4551:4598 */\n mstore\n /* \"#utility.yul\":4615:4746 */\n tag_117\n /* \"#utility.yul\":4741:4745 */\n dup2\n /* \"#utility.yul\":4615:4746 */\n tag_70\n jump\t// in\n tag_117:\n /* \"#utility.yul\":4607:4746 */\n swap1\n pop\n /* \"#utility.yul\":4334:4753 */\n swap2\n swap1\n pop\n jump\t// out\n\n auxdata: 0xa264697066735822122088b4aefb901a61028784138fdf4a64ce1f3728fae347e70eff973c9e391d9cc964736f6c63430008120033\n}\n",
"bytecode": {
"functionDebugData": {
"@_23": {
"entryPoint": null,
"id": 23,
"parameterSlots": 0,
"returnSlots": 0
},
"@_msgSender_124": {
"entryPoint": 50,
"id": 124,
"parameterSlots": 0,
"returnSlots": 1
},
"@_transferOwnership_111": {
"entryPoint": 58,
"id": 111,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b6100fe565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6105c38061010d6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80632e64cec11461005c5780636057361d1461007a578063715018a6146100965780638da5cb5b146100a0578063f2fde38b146100be575b600080fd5b6100646100da565b6040516100719190610350565b60405180910390f35b610094600480360381019061008f919061039c565b6100e4565b005b61009e61012d565b005b6100a8610141565b6040516100b5919061040a565b60405180910390f35b6100d860048036038101906100d39190610451565b61016a565b005b6000600154905090565b6100ec6101ed565b806001819055507f93fe6d397c74fdf1402a8b72e47b68512f0510d7b98a4bc4cbdf6ac7108b3c59816040516101229190610350565b60405180910390a150565b6101356101ed565b61013f600061026b565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6101726101ed565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d890610501565b60405180910390fd5b6101ea8161026b565b50565b6101f561032f565b73ffffffffffffffffffffffffffffffffffffffff16610213610141565b73ffffffffffffffffffffffffffffffffffffffff1614610269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102609061056d565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000819050919050565b61034a81610337565b82525050565b60006020820190506103656000830184610341565b92915050565b600080fd5b61037981610337565b811461038457600080fd5b50565b60008135905061039681610370565b92915050565b6000602082840312156103b2576103b161036b565b5b60006103c084828501610387565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103f4826103c9565b9050919050565b610404816103e9565b82525050565b600060208201905061041f60008301846103fb565b92915050565b61042e816103e9565b811461043957600080fd5b50565b60008135905061044b81610425565b92915050565b6000602082840312156104675761046661036b565b5b60006104758482850161043c565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006104eb60268361047e565b91506104f68261048f565b604082019050919050565b6000602082019050818103600083015261051a816104de565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061055760208361047e565b915061056282610521565b602082019050919050565b600060208201905081810360008301526105868161054a565b905091905056fea264697066735822122088b4aefb901a61028784138fdf4a64ce1f3728fae347e70eff973c9e391d9cc964736f6c63430008120033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2D PUSH2 0x22 PUSH2 0x32 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x3A PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0xFE JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH2 0x5C3 DUP1 PUSH2 0x10D 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 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x7A JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x96 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xA0 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xBE JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0xDA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x350 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x94 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8F SWAP2 SWAP1 PUSH2 0x39C JUMP JUMPDEST PUSH2 0xE4 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x9E PUSH2 0x12D JUMP JUMPDEST STOP JUMPDEST PUSH2 0xA8 PUSH2 0x141 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB5 SWAP2 SWAP1 PUSH2 0x40A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xD8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xD3 SWAP2 SWAP1 PUSH2 0x451 JUMP JUMPDEST PUSH2 0x16A JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xEC PUSH2 0x1ED JUMP JUMPDEST DUP1 PUSH1 0x1 DUP2 SWAP1 SSTORE POP PUSH32 0x93FE6D397C74FDF1402A8B72E47B68512F0510D7B98A4BC4CBDF6AC7108B3C59 DUP2 PUSH1 0x40 MLOAD PUSH2 0x122 SWAP2 SWAP1 PUSH2 0x350 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH2 0x135 PUSH2 0x1ED JUMP JUMPDEST PUSH2 0x13F PUSH1 0x0 PUSH2 0x26B JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x172 PUSH2 0x1ED JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x1E1 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1D8 SWAP1 PUSH2 0x501 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1EA DUP2 PUSH2 0x26B JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x1F5 PUSH2 0x32F JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x213 PUSH2 0x141 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x269 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x260 SWAP1 PUSH2 0x56D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x34A DUP2 PUSH2 0x337 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x365 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x341 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x379 DUP2 PUSH2 0x337 JUMP JUMPDEST DUP2 EQ PUSH2 0x384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x396 DUP2 PUSH2 0x370 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3B2 JUMPI PUSH2 0x3B1 PUSH2 0x36B JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3C0 DUP5 DUP3 DUP6 ADD PUSH2 0x387 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3F4 DUP3 PUSH2 0x3C9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x404 DUP2 PUSH2 0x3E9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x41F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3FB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x42E DUP2 PUSH2 0x3E9 JUMP JUMPDEST DUP2 EQ PUSH2 0x439 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x44B DUP2 PUSH2 0x425 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x467 JUMPI PUSH2 0x466 PUSH2 0x36B JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x475 DUP5 DUP3 DUP6 ADD PUSH2 0x43C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4EB PUSH1 0x26 DUP4 PUSH2 0x47E JUMP JUMPDEST SWAP2 POP PUSH2 0x4F6 DUP3 PUSH2 0x48F JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x51A DUP2 PUSH2 0x4DE JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x557 PUSH1 0x20 DUP4 PUSH2 0x47E JUMP JUMPDEST SWAP2 POP PUSH2 0x562 DUP3 PUSH2 0x521 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x586 DUP2 PUSH2 0x54A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP9 0xB4 0xAE 0xFB SWAP1 BYTE PUSH2 0x287 DUP5 SGT DUP16 0xDF 0x4A PUSH5 0xCE1F3728FA 0xE3 SELFBALANCE 0xE7 0xE SELFDESTRUCT SWAP8 EXTCODECOPY SWAP15 CODECOPY SAR SWAP13 0xC9 PUSH5 0x736F6C6343 STOP ADDMOD SLT STOP CALLER ",
"sourceMap": "236:371:2:-:0;;;;;;;;;;;;;936:32:0;955:12;:10;;;:12;;:::i;:::-;936:18;;;:32;;:::i;:::-;236:371:2;;640:96:1;693:7;719:10;712:17;;640:96;:::o;2433:187:0:-;2506:16;2525:6;;;;;;;;;;;2506:25;;2550:8;2541:6;;:17;;;;;;;;;;;;;;;;;;2604:8;2573:40;;2594:8;2573:40;;;;;;;;;;;;2496:124;2433:187;:::o;236:371:2:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_checkOwner_54": {
"entryPoint": 493,
"id": 54,
"parameterSlots": 0,
"returnSlots": 0
},
"@_msgSender_124": {
"entryPoint": 815,
"id": 124,
"parameterSlots": 0,
"returnSlots": 1
},
"@_transferOwnership_111": {
"entryPoint": 619,
"id": 111,
"parameterSlots": 1,
"returnSlots": 0
},
"@owner_40": {
"entryPoint": 321,
"id": 40,
"parameterSlots": 0,
"returnSlots": 1
},
"@renounceOwnership_68": {
"entryPoint": 301,
"id": 68,
"parameterSlots": 0,
"returnSlots": 0
},
"@retrieve_169": {
"entryPoint": 218,
"id": 169,
"parameterSlots": 0,
"returnSlots": 1
},
"@store_161": {
"entryPoint": 228,
"id": 161,
"parameterSlots": 1,
"returnSlots": 0
},
"@transferOwnership_91": {
"entryPoint": 362,
"id": 91,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_address": {
"entryPoint": 1084,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 903,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address": {
"entryPoint": 1105,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 924,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 1019,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1246,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack": {
"entryPoint": 1354,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 833,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 1034,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1281,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 1389,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 848,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 1150,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 1001,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 969,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 823,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 875,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe": {
"entryPoint": 1167,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe": {
"entryPoint": 1313,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 1061,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 880,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:4756:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "52:32:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "62:16:3",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "73:5:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "62:7:3"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "34:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "44:7:3",
"type": ""
}
],
"src": "7:77:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "155:53:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "172:3:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "195:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "177:17:3"
},
"nodeType": "YulFunctionCall",
"src": "177:24:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "165:6:3"
},
"nodeType": "YulFunctionCall",
"src": "165:37:3"
},
"nodeType": "YulExpressionStatement",
"src": "165:37:3"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "143:5:3",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "150:3:3",
"type": ""
}
],
"src": "90:118:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "312:124:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "322:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "334:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "345:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "330:3:3"
},
"nodeType": "YulFunctionCall",
"src": "330:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "322:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "402:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "415:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "426:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "411:3:3"
},
"nodeType": "YulFunctionCall",
"src": "411:17:3"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "358:43:3"
},
"nodeType": "YulFunctionCall",
"src": "358:71:3"
},
"nodeType": "YulExpressionStatement",
"src": "358:71:3"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "284:9:3",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "296:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "307:4:3",
"type": ""
}
],
"src": "214:222:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "482:35:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "492:19:3",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "508:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "502:5:3"
},
"nodeType": "YulFunctionCall",
"src": "502:9:3"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "492:6:3"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "475:6:3",
"type": ""
}
],
"src": "442:75:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "612:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "629:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "632:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "622:6:3"
},
"nodeType": "YulFunctionCall",
"src": "622:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "622:12:3"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "523:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "735:28:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "752:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "755:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "745:6:3"
},
"nodeType": "YulFunctionCall",
"src": "745:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "745:12:3"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "646:117:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "812:79:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "869:16:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "878:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "881:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "871:6:3"
},
"nodeType": "YulFunctionCall",
"src": "871:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "871:12:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "835:5:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "860:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "842:17:3"
},
"nodeType": "YulFunctionCall",
"src": "842:24:3"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "832:2:3"
},
"nodeType": "YulFunctionCall",
"src": "832:35:3"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "825:6:3"
},
"nodeType": "YulFunctionCall",
"src": "825:43:3"
},
"nodeType": "YulIf",
"src": "822:63:3"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "805:5:3",
"type": ""
}
],
"src": "769:122:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "949:87:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "959:29:3",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "981:6:3"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "968:12:3"
},
"nodeType": "YulFunctionCall",
"src": "968:20:3"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "959:5:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1024:5:3"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "997:26:3"
},
"nodeType": "YulFunctionCall",
"src": "997:33:3"
},
"nodeType": "YulExpressionStatement",
"src": "997:33:3"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "927:6:3",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "935:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "943:5:3",
"type": ""
}
],
"src": "897:139:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1108:263:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1154:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1156:77:3"
},
"nodeType": "YulFunctionCall",
"src": "1156:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "1156:79:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1129:7:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1138:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1125:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1125:23:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1150:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1121:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1121:32:3"
},
"nodeType": "YulIf",
"src": "1118:119:3"
},
{
"nodeType": "YulBlock",
"src": "1247:117:3",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1262:15:3",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1276:1:3",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1266:6:3",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1291:63:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1326:9:3"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1337:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1322:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1322:22:3"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1346:7:3"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "1301:20:3"
},
"nodeType": "YulFunctionCall",
"src": "1301:53:3"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1291:6:3"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1078:9:3",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1089:7:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1101:6:3",
"type": ""
}
],
"src": "1042:329:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1422:81:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1432:65:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1447:5:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1454:42:3",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1443:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1443:54:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1432:7:3"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1404:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1414:7:3",
"type": ""
}
],
"src": "1377:126:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1554:51:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1564:35:3",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1593:5:3"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "1575:17:3"
},
"nodeType": "YulFunctionCall",
"src": "1575:24:3"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1564:7:3"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1536:5:3",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1546:7:3",
"type": ""
}
],
"src": "1509:96:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1676:53:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1693:3:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1716:5:3"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1698:17:3"
},
"nodeType": "YulFunctionCall",
"src": "1698:24:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1686:6:3"
},
"nodeType": "YulFunctionCall",
"src": "1686:37:3"
},
"nodeType": "YulExpressionStatement",
"src": "1686:37:3"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1664:5:3",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1671:3:3",
"type": ""
}
],
"src": "1611:118:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1833:124:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1843:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1855:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1866:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1851:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1851:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1843:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1923:6:3"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1936:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1947:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1932:3:3"
},
"nodeType": "YulFunctionCall",
"src": "1932:17:3"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "1879:43:3"
},
"nodeType": "YulFunctionCall",
"src": "1879:71:3"
},
"nodeType": "YulExpressionStatement",
"src": "1879:71:3"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1805:9:3",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1817:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1828:4:3",
"type": ""
}
],
"src": "1735:222:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2006:79:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2063:16:3",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2072:1:3",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2075:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2065:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2065:12:3"
},
"nodeType": "YulExpressionStatement",
"src": "2065:12:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2029:5:3"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2054:5:3"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "2036:17:3"
},
"nodeType": "YulFunctionCall",
"src": "2036:24:3"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2026:2:3"
},
"nodeType": "YulFunctionCall",
"src": "2026:35:3"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2019:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2019:43:3"
},
"nodeType": "YulIf",
"src": "2016:63:3"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1999:5:3",
"type": ""
}
],
"src": "1963:122:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2143:87:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2153:29:3",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2175:6:3"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "2162:12:3"
},
"nodeType": "YulFunctionCall",
"src": "2162:20:3"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2153:5:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2218:5:3"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "2191:26:3"
},
"nodeType": "YulFunctionCall",
"src": "2191:33:3"
},
"nodeType": "YulExpressionStatement",
"src": "2191:33:3"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2121:6:3",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2129:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2137:5:3",
"type": ""
}
],
"src": "2091:139:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2302:263:3",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2348:83:3",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2350:77:3"
},
"nodeType": "YulFunctionCall",
"src": "2350:79:3"
},
"nodeType": "YulExpressionStatement",
"src": "2350:79:3"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2323:7:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2332:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2319:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2319:23:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2344:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2315:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2315:32:3"
},
"nodeType": "YulIf",
"src": "2312:119:3"
},
{
"nodeType": "YulBlock",
"src": "2441:117:3",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2456:15:3",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2470:1:3",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2460:6:3",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2485:63:3",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2520:9:3"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2531:6:3"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2516:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2516:22:3"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2540:7:3"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "2495:20:3"
},
"nodeType": "YulFunctionCall",
"src": "2495:53:3"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2485:6:3"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2272:9:3",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2283:7:3",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2295:6:3",
"type": ""
}
],
"src": "2236:329:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2667:73:3",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2684:3:3"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2689:6:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2677:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2677:19:3"
},
"nodeType": "YulExpressionStatement",
"src": "2677:19:3"
},
{
"nodeType": "YulAssignment",
"src": "2705:29:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2724:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2729:4:3",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2720:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2720:14:3"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2705:11:3"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2639:3:3",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2644:6:3",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2655:11:3",
"type": ""
}
],
"src": "2571:169:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2852:119:3",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2874:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2882:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2870:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2870:14:3"
},
{
"hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061",
"kind": "string",
"nodeType": "YulLiteral",
"src": "2886:34:3",
"type": "",
"value": "Ownable: new owner is the zero a"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2863:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2863:58:3"
},
"nodeType": "YulExpressionStatement",
"src": "2863:58:3"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2942:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2950:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2938:3:3"
},
"nodeType": "YulFunctionCall",
"src": "2938:15:3"
},
{
"hexValue": "646472657373",
"kind": "string",
"nodeType": "YulLiteral",
"src": "2955:8:3",
"type": "",
"value": "ddress"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2931:6:3"
},
"nodeType": "YulFunctionCall",
"src": "2931:33:3"
},
"nodeType": "YulExpressionStatement",
"src": "2931:33:3"
}
]
},
"name": "store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2844:6:3",
"type": ""
}
],
"src": "2746:225:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3123:220:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3133:74:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3199:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3204:2:3",
"type": "",
"value": "38"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3140:58:3"
},
"nodeType": "YulFunctionCall",
"src": "3140:67:3"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3133:3:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3305:3:3"
}
],
"functionName": {
"name": "store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe",
"nodeType": "YulIdentifier",
"src": "3216:88:3"
},
"nodeType": "YulFunctionCall",
"src": "3216:93:3"
},
"nodeType": "YulExpressionStatement",
"src": "3216:93:3"
},
{
"nodeType": "YulAssignment",
"src": "3318:19:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3329:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3334:2:3",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3325:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3325:12:3"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3318:3:3"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3111:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3119:3:3",
"type": ""
}
],
"src": "2977:366:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3520:248:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3530:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3542:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3553:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3538:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3538:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3530:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3577:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3588:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3573:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3573:17:3"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3596:4:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3602:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3592:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3592:20:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3566:6:3"
},
"nodeType": "YulFunctionCall",
"src": "3566:47:3"
},
"nodeType": "YulExpressionStatement",
"src": "3566:47:3"
},
{
"nodeType": "YulAssignment",
"src": "3622:139:3",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3756:4:3"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3630:124:3"
},
"nodeType": "YulFunctionCall",
"src": "3630:131:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3622:4:3"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3500:9:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3515:4:3",
"type": ""
}
],
"src": "3349:419:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3880:76:3",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3902:6:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3910:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3898:3:3"
},
"nodeType": "YulFunctionCall",
"src": "3898:14:3"
},
{
"hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "3914:34:3",
"type": "",
"value": "Ownable: caller is not the owner"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3891:6:3"
},
"nodeType": "YulFunctionCall",
"src": "3891:58:3"
},
"nodeType": "YulExpressionStatement",
"src": "3891:58:3"
}
]
},
"name": "store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3872:6:3",
"type": ""
}
],
"src": "3774:182:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4108:220:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4118:74:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4184:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4189:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4125:58:3"
},
"nodeType": "YulFunctionCall",
"src": "4125:67:3"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4118:3:3"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4290:3:3"
}
],
"functionName": {
"name": "store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe",
"nodeType": "YulIdentifier",
"src": "4201:88:3"
},
"nodeType": "YulFunctionCall",
"src": "4201:93:3"
},
"nodeType": "YulExpressionStatement",
"src": "4201:93:3"
},
{
"nodeType": "YulAssignment",
"src": "4303:19:3",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4314:3:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4319:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4310:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4310:12:3"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4303:3:3"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "4096:3:3",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4104:3:3",
"type": ""
}
],
"src": "3962:366:3"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4505:248:3",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4515:26:3",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4527:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4538:2:3",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4523:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4523:18:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4515:4:3"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4562:9:3"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4573:1:3",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4558:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4558:17:3"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4581:4:3"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4587:9:3"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4577:3:3"
},
"nodeType": "YulFunctionCall",
"src": "4577:20:3"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4551:6:3"
},
"nodeType": "YulFunctionCall",
"src": "4551:47:3"
},
"nodeType": "YulExpressionStatement",
"src": "4551:47:3"
},
{
"nodeType": "YulAssignment",
"src": "4607:139:3",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4741:4:3"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "4615:124:3"
},
"nodeType": "YulFunctionCall",
"src": "4615:131:3"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4607:4:3"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4485:9:3",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4500:4:3",
"type": ""
}
],
"src": "4334:419:3"
}
]
},
"contents": "{\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256(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_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\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_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 validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address(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(add(headStart, offset), dataEnd)\n }\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 store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe(memPtr) {\n\n mstore(add(memPtr, 0), \"Ownable: new owner is the zero a\")\n\n mstore(add(memPtr, 32), \"ddress\")\n\n }\n\n function abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 38)\n store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__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_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe(memPtr) {\n\n mstore(add(memPtr, 0), \"Ownable: caller is not the owner\")\n\n }\n\n function abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 32)\n store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__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_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n",
"id": 3,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100575760003560e01c80632e64cec11461005c5780636057361d1461007a578063715018a6146100965780638da5cb5b146100a0578063f2fde38b146100be575b600080fd5b6100646100da565b6040516100719190610350565b60405180910390f35b610094600480360381019061008f919061039c565b6100e4565b005b61009e61012d565b005b6100a8610141565b6040516100b5919061040a565b60405180910390f35b6100d860048036038101906100d39190610451565b61016a565b005b6000600154905090565b6100ec6101ed565b806001819055507f93fe6d397c74fdf1402a8b72e47b68512f0510d7b98a4bc4cbdf6ac7108b3c59816040516101229190610350565b60405180910390a150565b6101356101ed565b61013f600061026b565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6101726101ed565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d890610501565b60405180910390fd5b6101ea8161026b565b50565b6101f561032f565b73ffffffffffffffffffffffffffffffffffffffff16610213610141565b73ffffffffffffffffffffffffffffffffffffffff1614610269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102609061056d565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000819050919050565b61034a81610337565b82525050565b60006020820190506103656000830184610341565b92915050565b600080fd5b61037981610337565b811461038457600080fd5b50565b60008135905061039681610370565b92915050565b6000602082840312156103b2576103b161036b565b5b60006103c084828501610387565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103f4826103c9565b9050919050565b610404816103e9565b82525050565b600060208201905061041f60008301846103fb565b92915050565b61042e816103e9565b811461043957600080fd5b50565b60008135905061044b81610425565b92915050565b6000602082840312156104675761046661036b565b5b60006104758482850161043c565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006104eb60268361047e565b91506104f68261048f565b604082019050919050565b6000602082019050818103600083015261051a816104de565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061055760208361047e565b915061056282610521565b602082019050919050565b600060208201905081810360008301526105868161054a565b905091905056fea264697066735822122088b4aefb901a61028784138fdf4a64ce1f3728fae347e70eff973c9e391d9cc964736f6c63430008120033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x57 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH2 0x5C JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x7A JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x96 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xA0 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xBE JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0xDA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x71 SWAP2 SWAP1 PUSH2 0x350 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x94 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x8F SWAP2 SWAP1 PUSH2 0x39C JUMP JUMPDEST PUSH2 0xE4 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x9E PUSH2 0x12D JUMP JUMPDEST STOP JUMPDEST PUSH2 0xA8 PUSH2 0x141 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB5 SWAP2 SWAP1 PUSH2 0x40A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xD8 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xD3 SWAP2 SWAP1 PUSH2 0x451 JUMP JUMPDEST PUSH2 0x16A JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0xEC PUSH2 0x1ED JUMP JUMPDEST DUP1 PUSH1 0x1 DUP2 SWAP1 SSTORE POP PUSH32 0x93FE6D397C74FDF1402A8B72E47B68512F0510D7B98A4BC4CBDF6AC7108B3C59 DUP2 PUSH1 0x40 MLOAD PUSH2 0x122 SWAP2 SWAP1 PUSH2 0x350 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH2 0x135 PUSH2 0x1ED JUMP JUMPDEST PUSH2 0x13F PUSH1 0x0 PUSH2 0x26B JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x172 PUSH2 0x1ED JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x1E1 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1D8 SWAP1 PUSH2 0x501 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1EA DUP2 PUSH2 0x26B JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x1F5 PUSH2 0x32F JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x213 PUSH2 0x141 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x269 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x260 SWAP1 PUSH2 0x56D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x34A DUP2 PUSH2 0x337 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x365 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x341 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x379 DUP2 PUSH2 0x337 JUMP JUMPDEST DUP2 EQ PUSH2 0x384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x396 DUP2 PUSH2 0x370 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3B2 JUMPI PUSH2 0x3B1 PUSH2 0x36B JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x3C0 DUP5 DUP3 DUP6 ADD PUSH2 0x387 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3F4 DUP3 PUSH2 0x3C9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x404 DUP2 PUSH2 0x3E9 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x41F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x3FB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x42E DUP2 PUSH2 0x3E9 JUMP JUMPDEST DUP2 EQ PUSH2 0x439 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x44B DUP2 PUSH2 0x425 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x467 JUMPI PUSH2 0x466 PUSH2 0x36B JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x475 DUP5 DUP3 DUP6 ADD PUSH2 0x43C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4EB PUSH1 0x26 DUP4 PUSH2 0x47E JUMP JUMPDEST SWAP2 POP PUSH2 0x4F6 DUP3 PUSH2 0x48F JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x51A DUP2 PUSH2 0x4DE JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x557 PUSH1 0x20 DUP4 PUSH2 0x47E JUMP JUMPDEST SWAP2 POP PUSH2 0x562 DUP3 PUSH2 0x521 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x586 DUP2 PUSH2 0x54A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP9 0xB4 0xAE 0xFB SWAP1 BYTE PUSH2 0x287 DUP5 SGT DUP16 0xDF 0x4A PUSH5 0xCE1F3728FA 0xE3 SELFBALANCE 0xE7 0xE SELFDESTRUCT SWAP8 EXTCODECOPY SWAP15 CODECOPY SAR SWAP13 0xC9 PUSH5 0x736F6C6343 STOP ADDMOD SLT STOP CALLER ",
"sourceMap": "236:371:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;525:80;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;407:112;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1831:101:0;;;:::i;:::-;;1201:85;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2081:198;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;525:80:2;566:7;592:6;;585:13;;525:80;:::o;407:112::-;1094:13:0;:11;:13::i;:::-;473:5:2::1;464:6;:14;;;;493:19;506:5;493:19;;;;;;:::i;:::-;;;;;;;;407:112:::0;:::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;1201:85::-;1247:7;1273:6;;;;;;;;;;;1266:13;;1201:85;:::o;2081:198::-;1094:13;:11;:13::i;:::-;2189:1:::1;2169:22;;:8;:22;;::::0;2161:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;1359:130::-;1433:12;:10;:12::i;:::-;1422:23;;:7;:5;:7::i;:::-;:23;;;1414:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1359:130::o;2433:187::-;2506:16;2525:6;;;;;;;;;;;2506:25;;2550:8;2541:6;;:17;;;;;;;;;;;;;;;;;;2604:8;2573:40;;2594:8;2573:40;;;;;;;;;;;;2496:124;2433:187;:::o;640:96:1:-;693:7;719:10;712:17;;640:96;:::o;7:77:3:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;523:117::-;632:1;629;622:12;769:122;842:24;860:5;842:24;:::i;:::-;835:5;832:35;822:63;;881:1;878;871:12;822:63;769:122;:::o;897:139::-;943:5;981:6;968:20;959:29;;997:33;1024:5;997:33;:::i;:::-;897:139;;;;:::o;1042:329::-;1101:6;1150:2;1138:9;1129:7;1125:23;1121:32;1118:119;;;1156:79;;:::i;:::-;1118:119;1276:1;1301:53;1346:7;1337:6;1326:9;1322:22;1301:53;:::i;:::-;1291:63;;1247:117;1042:329;;;;:::o;1377:126::-;1414:7;1454:42;1447:5;1443:54;1432:65;;1377:126;;;:::o;1509:96::-;1546:7;1575:24;1593:5;1575:24;:::i;:::-;1564:35;;1509:96;;;:::o;1611:118::-;1698:24;1716:5;1698:24;:::i;:::-;1693:3;1686:37;1611:118;;:::o;1735:222::-;1828:4;1866:2;1855:9;1851:18;1843:26;;1879:71;1947:1;1936:9;1932:17;1923:6;1879:71;:::i;:::-;1735:222;;;;:::o;1963:122::-;2036:24;2054:5;2036:24;:::i;:::-;2029:5;2026:35;2016:63;;2075:1;2072;2065:12;2016:63;1963:122;:::o;2091:139::-;2137:5;2175:6;2162:20;2153:29;;2191:33;2218:5;2191:33;:::i;:::-;2091:139;;;;:::o;2236:329::-;2295:6;2344:2;2332:9;2323:7;2319:23;2315:32;2312:119;;;2350:79;;:::i;:::-;2312:119;2470:1;2495:53;2540:7;2531:6;2520:9;2516:22;2495:53;:::i;:::-;2485:63;;2441:117;2236:329;;;;:::o;2571:169::-;2655:11;2689:6;2684:3;2677:19;2729:4;2724:3;2720:14;2705:29;;2571:169;;;;:::o;2746:225::-;2886:34;2882:1;2874:6;2870:14;2863:58;2955:8;2950:2;2942:6;2938:15;2931:33;2746:225;:::o;2977:366::-;3119:3;3140:67;3204:2;3199:3;3140:67;:::i;:::-;3133:74;;3216:93;3305:3;3216:93;:::i;:::-;3334:2;3329:3;3325:12;3318:19;;2977:366;;;:::o;3349:419::-;3515:4;3553:2;3542:9;3538:18;3530:26;;3602:9;3596:4;3592:20;3588:1;3577:9;3573:17;3566:47;3630:131;3756:4;3630:131;:::i;:::-;3622:139;;3349:419;;;:::o;3774:182::-;3914:34;3910:1;3902:6;3898:14;3891:58;3774:182;:::o;3962:366::-;4104:3;4125:67;4189:2;4184:3;4125:67;:::i;:::-;4118:74;;4201:93;4290:3;4201:93;:::i;:::-;4319:2;4314:3;4310:12;4303:19;;3962:366;;;:::o;4334:419::-;4500:4;4538:2;4527:9;4523:18;4515:26;;4587:9;4581:4;4577:20;4573:1;4562:9;4558:17;4551:47;4615:131;4741:4;4615:131;:::i;:::-;4607:139;;4334:419;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "295000",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"owner()": "2566",
"renounceOwnership()": "30420",
"retrieve()": "2415",
"store(uint256)": "infinite",
"transferOwnership(address)": "30810"
}
},
"legacyAssembly": {
".code": [
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "80"
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "40"
},
{
"begin": 236,
"end": 607,
"name": "MSTORE",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "CALLVALUE",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "ISZERO",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "1"
},
{
"begin": 236,
"end": 607,
"name": "JUMPI",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "0"
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "REVERT",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "tag",
"source": 2,
"value": "1"
},
{
"begin": 236,
"end": 607,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "POP",
"source": 2
},
{
"begin": 936,
"end": 968,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 955,
"end": 967,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 955,
"end": 965,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 955,
"end": 965,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 955,
"end": 965,
"name": "SHL",
"source": 0
},
{
"begin": 955,
"end": 967,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 955,
"end": 967,
"name": "SHR",
"source": 0
},
{
"begin": 955,
"end": 967,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 955,
"end": 967,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 955,
"end": 967,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 936,
"end": 954,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 936,
"end": 954,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 936,
"end": 954,
"name": "SHL",
"source": 0
},
{
"begin": 936,
"end": 968,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 936,
"end": 968,
"name": "SHR",
"source": 0
},
{
"begin": 936,
"end": 968,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 936,
"end": 968,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 936,
"end": 968,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "8"
},
{
"begin": 236,
"end": 607,
"name": "JUMP",
"source": 2
},
{
"begin": 640,
"end": 736,
"name": "tag",
"source": 1,
"value": "6"
},
{
"begin": 640,
"end": 736,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 693,
"end": 700,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 719,
"end": 729,
"name": "CALLER",
"source": 1
},
{
"begin": 712,
"end": 729,
"name": "SWAP1",
"source": 1
},
{
"begin": 712,
"end": 729,
"name": "POP",
"source": 1
},
{
"begin": 640,
"end": 736,
"name": "SWAP1",
"source": 1
},
{
"begin": 640,
"end": 736,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2433,
"end": 2620,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 2433,
"end": 2620,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2506,
"end": 2522,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 2525,
"end": 2531,
"name": "DUP1",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 2525,
"end": 2531,
"name": "SWAP1",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "SLOAD",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "SWAP1",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 2525,
"end": 2531,
"name": "EXP",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "SWAP1",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "DIV",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2525,
"end": 2531,
"name": "AND",
"source": 0
},
{
"begin": 2506,
"end": 2531,
"name": "SWAP1",
"source": 0
},
{
"begin": 2506,
"end": 2531,
"name": "POP",
"source": 0
},
{
"begin": 2550,
"end": 2558,
"name": "DUP2",
"source": 0
},
{
"begin": 2541,
"end": 2547,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 2541,
"end": 2547,
"name": "DUP1",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 2541,
"end": 2558,
"name": "EXP",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "DUP2",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "SLOAD",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "DUP2",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2541,
"end": 2558,
"name": "MUL",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "NOT",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "AND",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "SWAP1",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "DUP4",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2541,
"end": 2558,
"name": "AND",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "MUL",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "OR",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "SWAP1",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "SSTORE",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "POP",
"source": 0
},
{
"begin": 2604,
"end": 2612,
"name": "DUP2",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2573,
"end": 2613,
"name": "AND",
"source": 0
},
{
"begin": 2594,
"end": 2602,
"name": "DUP2",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2573,
"end": 2613,
"name": "AND",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0"
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 2573,
"end": 2613,
"name": "MLOAD",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 2573,
"end": 2613,
"name": "MLOAD",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "DUP1",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "SWAP2",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "SUB",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "SWAP1",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "LOG3",
"source": 0
},
{
"begin": 2496,
"end": 2620,
"name": "POP",
"source": 0
},
{
"begin": 2433,
"end": 2620,
"name": "POP",
"source": 0
},
{
"begin": 2433,
"end": 2620,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 236,
"end": 607,
"name": "tag",
"source": 2,
"value": "8"
},
{
"begin": 236,
"end": 607,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH #[$]",
"source": 2,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [$]",
"source": 2,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "0"
},
{
"begin": 236,
"end": 607,
"name": "CODECOPY",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "0"
},
{
"begin": 236,
"end": 607,
"name": "RETURN",
"source": 2
}
],
".data": {
"0": {
".auxdata": "a264697066735822122088b4aefb901a61028784138fdf4a64ce1f3728fae347e70eff973c9e391d9cc964736f6c63430008120033",
".code": [
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "80"
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "40"
},
{
"begin": 236,
"end": 607,
"name": "MSTORE",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "CALLVALUE",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "ISZERO",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "1"
},
{
"begin": 236,
"end": 607,
"name": "JUMPI",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "0"
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "REVERT",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "tag",
"source": 2,
"value": "1"
},
{
"begin": 236,
"end": 607,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "POP",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "4"
},
{
"begin": 236,
"end": 607,
"name": "CALLDATASIZE",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "LT",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "2"
},
{
"begin": 236,
"end": 607,
"name": "JUMPI",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "0"
},
{
"begin": 236,
"end": 607,
"name": "CALLDATALOAD",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "E0"
},
{
"begin": 236,
"end": 607,
"name": "SHR",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "2E64CEC1"
},
{
"begin": 236,
"end": 607,
"name": "EQ",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "3"
},
{
"begin": 236,
"end": 607,
"name": "JUMPI",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "6057361D"
},
{
"begin": 236,
"end": 607,
"name": "EQ",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "4"
},
{
"begin": 236,
"end": 607,
"name": "JUMPI",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "715018A6"
},
{
"begin": 236,
"end": 607,
"name": "EQ",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "5"
},
{
"begin": 236,
"end": 607,
"name": "JUMPI",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "8DA5CB5B"
},
{
"begin": 236,
"end": 607,
"name": "EQ",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "6"
},
{
"begin": 236,
"end": 607,
"name": "JUMPI",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "F2FDE38B"
},
{
"begin": 236,
"end": 607,
"name": "EQ",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH [tag]",
"source": 2,
"value": "7"
},
{
"begin": 236,
"end": 607,
"name": "JUMPI",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "tag",
"source": 2,
"value": "2"
},
{
"begin": 236,
"end": 607,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "PUSH",
"source": 2,
"value": "0"
},
{
"begin": 236,
"end": 607,
"name": "DUP1",
"source": 2
},
{
"begin": 236,
"end": 607,
"name": "REVERT",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "tag",
"source": 2,
"value": "3"
},
{
"begin": 525,
"end": 605,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "PUSH [tag]",
"source": 2,
"value": "8"
},
{
"begin": 525,
"end": 605,
"name": "PUSH [tag]",
"source": 2,
"value": "9"
},
{
"begin": 525,
"end": 605,
"jumpType": "[in]",
"name": "JUMP",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "tag",
"source": 2,
"value": "8"
},
{
"begin": 525,
"end": 605,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "PUSH",
"source": 2,
"value": "40"
},
{
"begin": 525,
"end": 605,
"name": "MLOAD",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "PUSH [tag]",
"source": 2,
"value": "10"
},
{
"begin": 525,
"end": 605,
"name": "SWAP2",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "SWAP1",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "PUSH [tag]",
"source": 2,
"value": "11"
},
{
"begin": 525,
"end": 605,
"jumpType": "[in]",
"name": "JUMP",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "tag",
"source": 2,
"value": "10"
},
{
"begin": 525,
"end": 605,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "PUSH",
"source": 2,
"value": "40"
},
{
"begin": 525,
"end": 605,
"name": "MLOAD",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "DUP1",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "SWAP2",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "SUB",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "SWAP1",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "RETURN",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "tag",
"source": 2,
"value": "4"
},
{
"begin": 407,
"end": 519,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "PUSH [tag]",
"source": 2,
"value": "12"
},
{
"begin": 407,
"end": 519,
"name": "PUSH",
"source": 2,
"value": "4"
},
{
"begin": 407,
"end": 519,
"name": "DUP1",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "CALLDATASIZE",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "SUB",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "DUP2",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "ADD",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "SWAP1",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "PUSH [tag]",
"source": 2,
"value": "13"
},
{
"begin": 407,
"end": 519,
"name": "SWAP2",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "SWAP1",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "PUSH [tag]",
"source": 2,
"value": "14"
},
{
"begin": 407,
"end": 519,
"jumpType": "[in]",
"name": "JUMP",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "tag",
"source": 2,
"value": "13"
},
{
"begin": 407,
"end": 519,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "PUSH [tag]",
"source": 2,
"value": "15"
},
{
"begin": 407,
"end": 519,
"jumpType": "[in]",
"name": "JUMP",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "tag",
"source": 2,
"value": "12"
},
{
"begin": 407,
"end": 519,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "STOP",
"source": 2
},
{
"begin": 1831,
"end": 1932,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 1831,
"end": 1932,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1831,
"end": 1932,
"name": "PUSH [tag]",
"source": 0,
"value": "16"
},
{
"begin": 1831,
"end": 1932,
"name": "PUSH [tag]",
"source": 0,
"value": "17"
},
{
"begin": 1831,
"end": 1932,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1831,
"end": 1932,
"name": "tag",
"source": 0,
"value": "16"
},
{
"begin": 1831,
"end": 1932,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1831,
"end": 1932,
"name": "STOP",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "tag",
"source": 0,
"value": "6"
},
{
"begin": 1201,
"end": 1286,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "PUSH [tag]",
"source": 0,
"value": "18"
},
{
"begin": 1201,
"end": 1286,
"name": "PUSH [tag]",
"source": 0,
"value": "19"
},
{
"begin": 1201,
"end": 1286,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "tag",
"source": 0,
"value": "18"
},
{
"begin": 1201,
"end": 1286,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1201,
"end": 1286,
"name": "MLOAD",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "PUSH [tag]",
"source": 0,
"value": "20"
},
{
"begin": 1201,
"end": 1286,
"name": "SWAP2",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "SWAP1",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "PUSH [tag]",
"source": 0,
"value": "21"
},
{
"begin": 1201,
"end": 1286,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "tag",
"source": 0,
"value": "20"
},
{
"begin": 1201,
"end": 1286,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1201,
"end": 1286,
"name": "MLOAD",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "DUP1",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "SWAP2",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "SUB",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "SWAP1",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "RETURN",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 2081,
"end": 2279,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "PUSH [tag]",
"source": 0,
"value": "22"
},
{
"begin": 2081,
"end": 2279,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 2081,
"end": 2279,
"name": "DUP1",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "SUB",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "DUP2",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "ADD",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "SWAP1",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "PUSH [tag]",
"source": 0,
"value": "23"
},
{
"begin": 2081,
"end": 2279,
"name": "SWAP2",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "SWAP1",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "PUSH [tag]",
"source": 0,
"value": "24"
},
{
"begin": 2081,
"end": 2279,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "tag",
"source": 0,
"value": "23"
},
{
"begin": 2081,
"end": 2279,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "PUSH [tag]",
"source": 0,
"value": "25"
},
{
"begin": 2081,
"end": 2279,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "tag",
"source": 0,
"value": "22"
},
{
"begin": 2081,
"end": 2279,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "STOP",
"source": 0
},
{
"begin": 525,
"end": 605,
"name": "tag",
"source": 2,
"value": "9"
},
{
"begin": 525,
"end": 605,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 566,
"end": 573,
"name": "PUSH",
"source": 2,
"value": "0"
},
{
"begin": 592,
"end": 598,
"name": "PUSH",
"source": 2,
"value": "1"
},
{
"begin": 592,
"end": 598,
"name": "SLOAD",
"source": 2
},
{
"begin": 585,
"end": 598,
"name": "SWAP1",
"source": 2
},
{
"begin": 585,
"end": 598,
"name": "POP",
"source": 2
},
{
"begin": 525,
"end": 605,
"name": "SWAP1",
"source": 2
},
{
"begin": 525,
"end": 605,
"jumpType": "[out]",
"name": "JUMP",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "tag",
"source": 2,
"value": "15"
},
{
"begin": 407,
"end": 519,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 1094,
"end": 1107,
"name": "PUSH [tag]",
"source": 0,
"value": "28"
},
{
"begin": 1094,
"end": 1105,
"name": "PUSH [tag]",
"source": 0,
"value": "29"
},
{
"begin": 1094,
"end": 1107,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1094,
"end": 1107,
"name": "tag",
"source": 0,
"value": "28"
},
{
"begin": 1094,
"end": 1107,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 473,
"end": 478,
"modifierDepth": 1,
"name": "DUP1",
"source": 2
},
{
"begin": 464,
"end": 470,
"modifierDepth": 1,
"name": "PUSH",
"source": 2,
"value": "1"
},
{
"begin": 464,
"end": 478,
"modifierDepth": 1,
"name": "DUP2",
"source": 2
},
{
"begin": 464,
"end": 478,
"modifierDepth": 1,
"name": "SWAP1",
"source": 2
},
{
"begin": 464,
"end": 478,
"modifierDepth": 1,
"name": "SSTORE",
"source": 2
},
{
"begin": 464,
"end": 478,
"modifierDepth": 1,
"name": "POP",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "PUSH",
"source": 2,
"value": "93FE6D397C74FDF1402A8B72E47B68512F0510D7B98A4BC4CBDF6AC7108B3C59"
},
{
"begin": 506,
"end": 511,
"modifierDepth": 1,
"name": "DUP2",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "PUSH",
"source": 2,
"value": "40"
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "MLOAD",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 2,
"value": "31"
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "SWAP2",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "SWAP1",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 2,
"value": "11"
},
{
"begin": 493,
"end": 512,
"jumpType": "[in]",
"modifierDepth": 1,
"name": "JUMP",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "tag",
"source": 2,
"value": "31"
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "JUMPDEST",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "PUSH",
"source": 2,
"value": "40"
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "MLOAD",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "DUP1",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "SWAP2",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "SUB",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "SWAP1",
"source": 2
},
{
"begin": 493,
"end": 512,
"modifierDepth": 1,
"name": "LOG1",
"source": 2
},
{
"begin": 407,
"end": 519,
"name": "POP",
"source": 2
},
{
"begin": 407,
"end": 519,
"jumpType": "[out]",
"name": "JUMP",
"source": 2
},
{
"begin": 1831,
"end": 1932,
"name": "tag",
"source": 0,
"value": "17"
},
{
"begin": 1831,
"end": 1932,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1094,
"end": 1107,
"name": "PUSH [tag]",
"source": 0,
"value": "33"
},
{
"begin": 1094,
"end": 1105,
"name": "PUSH [tag]",
"source": 0,
"value": "29"
},
{
"begin": 1094,
"end": 1107,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1094,
"end": 1107,
"name": "tag",
"source": 0,
"value": "33"
},
{
"begin": 1094,
"end": 1107,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1895,
"end": 1925,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 0,
"value": "35"
},
{
"begin": 1922,
"end": 1923,
"modifierDepth": 1,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1895,
"end": 1913,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 0,
"value": "36"
},
{
"begin": 1895,
"end": 1925,
"jumpType": "[in]",
"modifierDepth": 1,
"name": "JUMP",
"source": 0
},
{
"begin": 1895,
"end": 1925,
"modifierDepth": 1,
"name": "tag",
"source": 0,
"value": "35"
},
{
"begin": 1895,
"end": 1925,
"modifierDepth": 1,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1831,
"end": 1932,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "tag",
"source": 0,
"value": "19"
},
{
"begin": 1201,
"end": 1286,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1247,
"end": 1254,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1273,
"end": 1279,
"name": "DUP1",
"source": 0
},
{
"begin": 1273,
"end": 1279,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1273,
"end": 1279,
"name": "SWAP1",
"source": 0
},
{
"begin": 1273,
"end": 1279,
"name": "SLOAD",
"source": 0
},
{
"begin": 1273,
"end": 1279,
"name": "SWAP1",
"source": 0
},
{
"begin": 1273,
"end": 1279,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 1273,
"end": 1279,
"name": "EXP",
"source": 0
},
{
"begin": 1273,
"end": 1279,
"name": "SWAP1",
"source": 0
},
{
"begin": 1273,
"end": 1279,
"name": "DIV",
"source": 0
},
{
"begin": 1273,
"end": 1279,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1273,
"end": 1279,
"name": "AND",
"source": 0
},
{
"begin": 1266,
"end": 1279,
"name": "SWAP1",
"source": 0
},
{
"begin": 1266,
"end": 1279,
"name": "POP",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"name": "SWAP1",
"source": 0
},
{
"begin": 1201,
"end": 1286,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "tag",
"source": 0,
"value": "25"
},
{
"begin": 2081,
"end": 2279,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1094,
"end": 1107,
"name": "PUSH [tag]",
"source": 0,
"value": "39"
},
{
"begin": 1094,
"end": 1105,
"name": "PUSH [tag]",
"source": 0,
"value": "29"
},
{
"begin": 1094,
"end": 1107,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1094,
"end": 1107,
"name": "tag",
"source": 0,
"value": "39"
},
{
"begin": 1094,
"end": 1107,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2189,
"end": 2190,
"modifierDepth": 1,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 2169,
"end": 2191,
"modifierDepth": 1,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2169,
"end": 2191,
"modifierDepth": 1,
"name": "AND",
"source": 0
},
{
"begin": 2169,
"end": 2177,
"modifierDepth": 1,
"name": "DUP2",
"source": 0
},
{
"begin": 2169,
"end": 2191,
"modifierDepth": 1,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2169,
"end": 2191,
"modifierDepth": 1,
"name": "AND",
"source": 0
},
{
"begin": 2169,
"end": 2191,
"name": "SUB",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 0,
"value": "41"
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "JUMPI",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "MLOAD",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "PUSH",
"source": 0,
"value": "8C379A000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "DUP2",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "MSTORE",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "ADD",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 0,
"value": "42"
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "SWAP1",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 0,
"value": "43"
},
{
"begin": 2161,
"end": 2234,
"jumpType": "[in]",
"modifierDepth": 1,
"name": "JUMP",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "tag",
"source": 0,
"value": "42"
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "MLOAD",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "DUP1",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "SWAP2",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "SUB",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "SWAP1",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "REVERT",
"source": 0
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "tag",
"source": 0,
"value": "41"
},
{
"begin": 2161,
"end": 2234,
"modifierDepth": 1,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2244,
"end": 2272,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 0,
"value": "44"
},
{
"begin": 2263,
"end": 2271,
"modifierDepth": 1,
"name": "DUP2",
"source": 0
},
{
"begin": 2244,
"end": 2262,
"modifierDepth": 1,
"name": "PUSH [tag]",
"source": 0,
"value": "36"
},
{
"begin": 2244,
"end": 2272,
"jumpType": "[in]",
"modifierDepth": 1,
"name": "JUMP",
"source": 0
},
{
"begin": 2244,
"end": 2272,
"modifierDepth": 1,
"name": "tag",
"source": 0,
"value": "44"
},
{
"begin": 2244,
"end": 2272,
"modifierDepth": 1,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"name": "POP",
"source": 0
},
{
"begin": 2081,
"end": 2279,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 1359,
"end": 1489,
"name": "tag",
"source": 0,
"value": "29"
},
{
"begin": 1359,
"end": 1489,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1433,
"end": 1445,
"name": "PUSH [tag]",
"source": 0,
"value": "46"
},
{
"begin": 1433,
"end": 1443,
"name": "PUSH [tag]",
"source": 0,
"value": "47"
},
{
"begin": 1433,
"end": 1445,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1433,
"end": 1445,
"name": "tag",
"source": 0,
"value": "46"
},
{
"begin": 1433,
"end": 1445,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1422,
"end": 1445,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1422,
"end": 1445,
"name": "AND",
"source": 0
},
{
"begin": 1422,
"end": 1429,
"name": "PUSH [tag]",
"source": 0,
"value": "48"
},
{
"begin": 1422,
"end": 1427,
"name": "PUSH [tag]",
"source": 0,
"value": "19"
},
{
"begin": 1422,
"end": 1429,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1422,
"end": 1429,
"name": "tag",
"source": 0,
"value": "48"
},
{
"begin": 1422,
"end": 1429,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1422,
"end": 1445,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1422,
"end": 1445,
"name": "AND",
"source": 0
},
{
"begin": 1422,
"end": 1445,
"name": "EQ",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "PUSH [tag]",
"source": 0,
"value": "49"
},
{
"begin": 1414,
"end": 1482,
"name": "JUMPI",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1414,
"end": 1482,
"name": "MLOAD",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "PUSH",
"source": 0,
"value": "8C379A000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1414,
"end": 1482,
"name": "DUP2",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "MSTORE",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 1414,
"end": 1482,
"name": "ADD",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "PUSH [tag]",
"source": 0,
"value": "50"
},
{
"begin": 1414,
"end": 1482,
"name": "SWAP1",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "PUSH [tag]",
"source": 0,
"value": "51"
},
{
"begin": 1414,
"end": 1482,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "tag",
"source": 0,
"value": "50"
},
{
"begin": 1414,
"end": 1482,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1414,
"end": 1482,
"name": "MLOAD",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "DUP1",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "SWAP2",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "SUB",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "SWAP1",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "REVERT",
"source": 0
},
{
"begin": 1414,
"end": 1482,
"name": "tag",
"source": 0,
"value": "49"
},
{
"begin": 1414,
"end": 1482,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1359,
"end": 1489,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 2433,
"end": 2620,
"name": "tag",
"source": 0,
"value": "36"
},
{
"begin": 2433,
"end": 2620,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 2506,
"end": 2522,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 2525,
"end": 2531,
"name": "DUP1",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 2525,
"end": 2531,
"name": "SWAP1",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "SLOAD",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "SWAP1",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 2525,
"end": 2531,
"name": "EXP",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "SWAP1",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "DIV",
"source": 0
},
{
"begin": 2525,
"end": 2531,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2525,
"end": 2531,
"name": "AND",
"source": 0
},
{
"begin": 2506,
"end": 2531,
"name": "SWAP1",
"source": 0
},
{
"begin": 2506,
"end": 2531,
"name": "POP",
"source": 0
},
{
"begin": 2550,
"end": 2558,
"name": "DUP2",
"source": 0
},
{
"begin": 2541,
"end": 2547,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 2541,
"end": 2547,
"name": "DUP1",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 2541,
"end": 2558,
"name": "EXP",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "DUP2",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "SLOAD",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "DUP2",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2541,
"end": 2558,
"name": "MUL",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "NOT",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "AND",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "SWAP1",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "DUP4",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2541,
"end": 2558,
"name": "AND",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "MUL",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "OR",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "SWAP1",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "SSTORE",
"source": 0
},
{
"begin": 2541,
"end": 2558,
"name": "POP",
"source": 0
},
{
"begin": 2604,
"end": 2612,
"name": "DUP2",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2573,
"end": 2613,
"name": "AND",
"source": 0
},
{
"begin": 2594,
"end": 2602,
"name": "DUP2",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2573,
"end": 2613,
"name": "AND",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0"
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 2573,
"end": 2613,
"name": "MLOAD",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 2573,
"end": 2613,
"name": "MLOAD",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "DUP1",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "SWAP2",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "SUB",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "SWAP1",
"source": 0
},
{
"begin": 2573,
"end": 2613,
"name": "LOG3",
"source": 0
},
{
"begin": 2496,
"end": 2620,
"name": "POP",
"source": 0
},
{
"begin": 2433,
"end": 2620,
"name": "POP",
"source": 0
},
{
"begin": 2433,
"end": 2620,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 640,
"end": 736,
"name": "tag",
"source": 1,
"value": "47"
},
{
"begin": 640,
"end": 736,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 693,
"end": 700,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 719,
"end": 729,
"name": "CALLER",
"source": 1
},
{
"begin": 712,
"end": 729,
"name": "SWAP1",
"source": 1
},
{
"begin": 712,
"end": 729,
"name": "POP",
"source": 1
},
{
"begin": 640,
"end": 736,
"name": "SWAP1",
"source": 1
},
{
"begin": 640,
"end": 736,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 7,
"end": 84,
"name": "tag",
"source": 3,
"value": "54"
},
{
"begin": 7,
"end": 84,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 44,
"end": 51,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 73,
"end": 78,
"name": "DUP2",
"source": 3
},
{
"begin": 62,
"end": 78,
"name": "SWAP1",
"source": 3
},
{
"begin": 62,
"end": 78,
"name": "POP",
"source": 3
},
{
"begin": 7,
"end": 84,
"name": "SWAP2",
"source": 3
},
{
"begin": 7,
"end": 84,
"name": "SWAP1",
"source": 3
},
{
"begin": 7,
"end": 84,
"name": "POP",
"source": 3
},
{
"begin": 7,
"end": 84,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 90,
"end": 208,
"name": "tag",
"source": 3,
"value": "55"
},
{
"begin": 90,
"end": 208,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 177,
"end": 201,
"name": "PUSH [tag]",
"source": 3,
"value": "74"
},
{
"begin": 195,
"end": 200,
"name": "DUP2",
"source": 3
},
{
"begin": 177,
"end": 201,
"name": "PUSH [tag]",
"source": 3,
"value": "54"
},
{
"begin": 177,
"end": 201,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 177,
"end": 201,
"name": "tag",
"source": 3,
"value": "74"
},
{
"begin": 177,
"end": 201,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 172,
"end": 175,
"name": "DUP3",
"source": 3
},
{
"begin": 165,
"end": 202,
"name": "MSTORE",
"source": 3
},
{
"begin": 90,
"end": 208,
"name": "POP",
"source": 3
},
{
"begin": 90,
"end": 208,
"name": "POP",
"source": 3
},
{
"begin": 90,
"end": 208,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 214,
"end": 436,
"name": "tag",
"source": 3,
"value": "11"
},
{
"begin": 214,
"end": 436,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 307,
"end": 311,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 345,
"end": 347,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 334,
"end": 343,
"name": "DUP3",
"source": 3
},
{
"begin": 330,
"end": 348,
"name": "ADD",
"source": 3
},
{
"begin": 322,
"end": 348,
"name": "SWAP1",
"source": 3
},
{
"begin": 322,
"end": 348,
"name": "POP",
"source": 3
},
{
"begin": 358,
"end": 429,
"name": "PUSH [tag]",
"source": 3,
"value": "76"
},
{
"begin": 426,
"end": 427,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 415,
"end": 424,
"name": "DUP4",
"source": 3
},
{
"begin": 411,
"end": 428,
"name": "ADD",
"source": 3
},
{
"begin": 402,
"end": 408,
"name": "DUP5",
"source": 3
},
{
"begin": 358,
"end": 429,
"name": "PUSH [tag]",
"source": 3,
"value": "55"
},
{
"begin": 358,
"end": 429,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 358,
"end": 429,
"name": "tag",
"source": 3,
"value": "76"
},
{
"begin": 358,
"end": 429,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 214,
"end": 436,
"name": "SWAP3",
"source": 3
},
{
"begin": 214,
"end": 436,
"name": "SWAP2",
"source": 3
},
{
"begin": 214,
"end": 436,
"name": "POP",
"source": 3
},
{
"begin": 214,
"end": 436,
"name": "POP",
"source": 3
},
{
"begin": 214,
"end": 436,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 523,
"end": 640,
"name": "tag",
"source": 3,
"value": "57"
},
{
"begin": 523,
"end": 640,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 632,
"end": 633,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 629,
"end": 630,
"name": "DUP1",
"source": 3
},
{
"begin": 622,
"end": 634,
"name": "REVERT",
"source": 3
},
{
"begin": 769,
"end": 891,
"name": "tag",
"source": 3,
"value": "59"
},
{
"begin": 769,
"end": 891,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 842,
"end": 866,
"name": "PUSH [tag]",
"source": 3,
"value": "81"
},
{
"begin": 860,
"end": 865,
"name": "DUP2",
"source": 3
},
{
"begin": 842,
"end": 866,
"name": "PUSH [tag]",
"source": 3,
"value": "54"
},
{
"begin": 842,
"end": 866,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 842,
"end": 866,
"name": "tag",
"source": 3,
"value": "81"
},
{
"begin": 842,
"end": 866,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 835,
"end": 840,
"name": "DUP2",
"source": 3
},
{
"begin": 832,
"end": 867,
"name": "EQ",
"source": 3
},
{
"begin": 822,
"end": 885,
"name": "PUSH [tag]",
"source": 3,
"value": "82"
},
{
"begin": 822,
"end": 885,
"name": "JUMPI",
"source": 3
},
{
"begin": 881,
"end": 882,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 878,
"end": 879,
"name": "DUP1",
"source": 3
},
{
"begin": 871,
"end": 883,
"name": "REVERT",
"source": 3
},
{
"begin": 822,
"end": 885,
"name": "tag",
"source": 3,
"value": "82"
},
{
"begin": 822,
"end": 885,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 769,
"end": 891,
"name": "POP",
"source": 3
},
{
"begin": 769,
"end": 891,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 897,
"end": 1036,
"name": "tag",
"source": 3,
"value": "60"
},
{
"begin": 897,
"end": 1036,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 943,
"end": 948,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 981,
"end": 987,
"name": "DUP2",
"source": 3
},
{
"begin": 968,
"end": 988,
"name": "CALLDATALOAD",
"source": 3
},
{
"begin": 959,
"end": 988,
"name": "SWAP1",
"source": 3
},
{
"begin": 959,
"end": 988,
"name": "POP",
"source": 3
},
{
"begin": 997,
"end": 1030,
"name": "PUSH [tag]",
"source": 3,
"value": "84"
},
{
"begin": 1024,
"end": 1029,
"name": "DUP2",
"source": 3
},
{
"begin": 997,
"end": 1030,
"name": "PUSH [tag]",
"source": 3,
"value": "59"
},
{
"begin": 997,
"end": 1030,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 997,
"end": 1030,
"name": "tag",
"source": 3,
"value": "84"
},
{
"begin": 997,
"end": 1030,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 897,
"end": 1036,
"name": "SWAP3",
"source": 3
},
{
"begin": 897,
"end": 1036,
"name": "SWAP2",
"source": 3
},
{
"begin": 897,
"end": 1036,
"name": "POP",
"source": 3
},
{
"begin": 897,
"end": 1036,
"name": "POP",
"source": 3
},
{
"begin": 897,
"end": 1036,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 1042,
"end": 1371,
"name": "tag",
"source": 3,
"value": "14"
},
{
"begin": 1042,
"end": 1371,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1101,
"end": 1107,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 1150,
"end": 1152,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 1138,
"end": 1147,
"name": "DUP3",
"source": 3
},
{
"begin": 1129,
"end": 1136,
"name": "DUP5",
"source": 3
},
{
"begin": 1125,
"end": 1148,
"name": "SUB",
"source": 3
},
{
"begin": 1121,
"end": 1153,
"name": "SLT",
"source": 3
},
{
"begin": 1118,
"end": 1237,
"name": "ISZERO",
"source": 3
},
{
"begin": 1118,
"end": 1237,
"name": "PUSH [tag]",
"source": 3,
"value": "86"
},
{
"begin": 1118,
"end": 1237,
"name": "JUMPI",
"source": 3
},
{
"begin": 1156,
"end": 1235,
"name": "PUSH [tag]",
"source": 3,
"value": "87"
},
{
"begin": 1156,
"end": 1235,
"name": "PUSH [tag]",
"source": 3,
"value": "57"
},
{
"begin": 1156,
"end": 1235,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 1156,
"end": 1235,
"name": "tag",
"source": 3,
"value": "87"
},
{
"begin": 1156,
"end": 1235,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1118,
"end": 1237,
"name": "tag",
"source": 3,
"value": "86"
},
{
"begin": 1118,
"end": 1237,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1276,
"end": 1277,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 1301,
"end": 1354,
"name": "PUSH [tag]",
"source": 3,
"value": "88"
},
{
"begin": 1346,
"end": 1353,
"name": "DUP5",
"source": 3
},
{
"begin": 1337,
"end": 1343,
"name": "DUP3",
"source": 3
},
{
"begin": 1326,
"end": 1335,
"name": "DUP6",
"source": 3
},
{
"begin": 1322,
"end": 1344,
"name": "ADD",
"source": 3
},
{
"begin": 1301,
"end": 1354,
"name": "PUSH [tag]",
"source": 3,
"value": "60"
},
{
"begin": 1301,
"end": 1354,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 1301,
"end": 1354,
"name": "tag",
"source": 3,
"value": "88"
},
{
"begin": 1301,
"end": 1354,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1291,
"end": 1354,
"name": "SWAP2",
"source": 3
},
{
"begin": 1291,
"end": 1354,
"name": "POP",
"source": 3
},
{
"begin": 1247,
"end": 1364,
"name": "POP",
"source": 3
},
{
"begin": 1042,
"end": 1371,
"name": "SWAP3",
"source": 3
},
{
"begin": 1042,
"end": 1371,
"name": "SWAP2",
"source": 3
},
{
"begin": 1042,
"end": 1371,
"name": "POP",
"source": 3
},
{
"begin": 1042,
"end": 1371,
"name": "POP",
"source": 3
},
{
"begin": 1042,
"end": 1371,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 1377,
"end": 1503,
"name": "tag",
"source": 3,
"value": "61"
},
{
"begin": 1377,
"end": 1503,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1414,
"end": 1421,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 1454,
"end": 1496,
"name": "PUSH",
"source": 3,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1447,
"end": 1452,
"name": "DUP3",
"source": 3
},
{
"begin": 1443,
"end": 1497,
"name": "AND",
"source": 3
},
{
"begin": 1432,
"end": 1497,
"name": "SWAP1",
"source": 3
},
{
"begin": 1432,
"end": 1497,
"name": "POP",
"source": 3
},
{
"begin": 1377,
"end": 1503,
"name": "SWAP2",
"source": 3
},
{
"begin": 1377,
"end": 1503,
"name": "SWAP1",
"source": 3
},
{
"begin": 1377,
"end": 1503,
"name": "POP",
"source": 3
},
{
"begin": 1377,
"end": 1503,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 1509,
"end": 1605,
"name": "tag",
"source": 3,
"value": "62"
},
{
"begin": 1509,
"end": 1605,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1546,
"end": 1553,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 1575,
"end": 1599,
"name": "PUSH [tag]",
"source": 3,
"value": "91"
},
{
"begin": 1593,
"end": 1598,
"name": "DUP3",
"source": 3
},
{
"begin": 1575,
"end": 1599,
"name": "PUSH [tag]",
"source": 3,
"value": "61"
},
{
"begin": 1575,
"end": 1599,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 1575,
"end": 1599,
"name": "tag",
"source": 3,
"value": "91"
},
{
"begin": 1575,
"end": 1599,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1564,
"end": 1599,
"name": "SWAP1",
"source": 3
},
{
"begin": 1564,
"end": 1599,
"name": "POP",
"source": 3
},
{
"begin": 1509,
"end": 1605,
"name": "SWAP2",
"source": 3
},
{
"begin": 1509,
"end": 1605,
"name": "SWAP1",
"source": 3
},
{
"begin": 1509,
"end": 1605,
"name": "POP",
"source": 3
},
{
"begin": 1509,
"end": 1605,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 1611,
"end": 1729,
"name": "tag",
"source": 3,
"value": "63"
},
{
"begin": 1611,
"end": 1729,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1698,
"end": 1722,
"name": "PUSH [tag]",
"source": 3,
"value": "93"
},
{
"begin": 1716,
"end": 1721,
"name": "DUP2",
"source": 3
},
{
"begin": 1698,
"end": 1722,
"name": "PUSH [tag]",
"source": 3,
"value": "62"
},
{
"begin": 1698,
"end": 1722,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 1698,
"end": 1722,
"name": "tag",
"source": 3,
"value": "93"
},
{
"begin": 1698,
"end": 1722,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1693,
"end": 1696,
"name": "DUP3",
"source": 3
},
{
"begin": 1686,
"end": 1723,
"name": "MSTORE",
"source": 3
},
{
"begin": 1611,
"end": 1729,
"name": "POP",
"source": 3
},
{
"begin": 1611,
"end": 1729,
"name": "POP",
"source": 3
},
{
"begin": 1611,
"end": 1729,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 1735,
"end": 1957,
"name": "tag",
"source": 3,
"value": "21"
},
{
"begin": 1735,
"end": 1957,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1828,
"end": 1832,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 1866,
"end": 1868,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 1855,
"end": 1864,
"name": "DUP3",
"source": 3
},
{
"begin": 1851,
"end": 1869,
"name": "ADD",
"source": 3
},
{
"begin": 1843,
"end": 1869,
"name": "SWAP1",
"source": 3
},
{
"begin": 1843,
"end": 1869,
"name": "POP",
"source": 3
},
{
"begin": 1879,
"end": 1950,
"name": "PUSH [tag]",
"source": 3,
"value": "95"
},
{
"begin": 1947,
"end": 1948,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 1936,
"end": 1945,
"name": "DUP4",
"source": 3
},
{
"begin": 1932,
"end": 1949,
"name": "ADD",
"source": 3
},
{
"begin": 1923,
"end": 1929,
"name": "DUP5",
"source": 3
},
{
"begin": 1879,
"end": 1950,
"name": "PUSH [tag]",
"source": 3,
"value": "63"
},
{
"begin": 1879,
"end": 1950,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 1879,
"end": 1950,
"name": "tag",
"source": 3,
"value": "95"
},
{
"begin": 1879,
"end": 1950,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1735,
"end": 1957,
"name": "SWAP3",
"source": 3
},
{
"begin": 1735,
"end": 1957,
"name": "SWAP2",
"source": 3
},
{
"begin": 1735,
"end": 1957,
"name": "POP",
"source": 3
},
{
"begin": 1735,
"end": 1957,
"name": "POP",
"source": 3
},
{
"begin": 1735,
"end": 1957,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 1963,
"end": 2085,
"name": "tag",
"source": 3,
"value": "64"
},
{
"begin": 1963,
"end": 2085,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2036,
"end": 2060,
"name": "PUSH [tag]",
"source": 3,
"value": "97"
},
{
"begin": 2054,
"end": 2059,
"name": "DUP2",
"source": 3
},
{
"begin": 2036,
"end": 2060,
"name": "PUSH [tag]",
"source": 3,
"value": "62"
},
{
"begin": 2036,
"end": 2060,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 2036,
"end": 2060,
"name": "tag",
"source": 3,
"value": "97"
},
{
"begin": 2036,
"end": 2060,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2029,
"end": 2034,
"name": "DUP2",
"source": 3
},
{
"begin": 2026,
"end": 2061,
"name": "EQ",
"source": 3
},
{
"begin": 2016,
"end": 2079,
"name": "PUSH [tag]",
"source": 3,
"value": "98"
},
{
"begin": 2016,
"end": 2079,
"name": "JUMPI",
"source": 3
},
{
"begin": 2075,
"end": 2076,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 2072,
"end": 2073,
"name": "DUP1",
"source": 3
},
{
"begin": 2065,
"end": 2077,
"name": "REVERT",
"source": 3
},
{
"begin": 2016,
"end": 2079,
"name": "tag",
"source": 3,
"value": "98"
},
{
"begin": 2016,
"end": 2079,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 1963,
"end": 2085,
"name": "POP",
"source": 3
},
{
"begin": 1963,
"end": 2085,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 2091,
"end": 2230,
"name": "tag",
"source": 3,
"value": "65"
},
{
"begin": 2091,
"end": 2230,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2137,
"end": 2142,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 2175,
"end": 2181,
"name": "DUP2",
"source": 3
},
{
"begin": 2162,
"end": 2182,
"name": "CALLDATALOAD",
"source": 3
},
{
"begin": 2153,
"end": 2182,
"name": "SWAP1",
"source": 3
},
{
"begin": 2153,
"end": 2182,
"name": "POP",
"source": 3
},
{
"begin": 2191,
"end": 2224,
"name": "PUSH [tag]",
"source": 3,
"value": "100"
},
{
"begin": 2218,
"end": 2223,
"name": "DUP2",
"source": 3
},
{
"begin": 2191,
"end": 2224,
"name": "PUSH [tag]",
"source": 3,
"value": "64"
},
{
"begin": 2191,
"end": 2224,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 2191,
"end": 2224,
"name": "tag",
"source": 3,
"value": "100"
},
{
"begin": 2191,
"end": 2224,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2091,
"end": 2230,
"name": "SWAP3",
"source": 3
},
{
"begin": 2091,
"end": 2230,
"name": "SWAP2",
"source": 3
},
{
"begin": 2091,
"end": 2230,
"name": "POP",
"source": 3
},
{
"begin": 2091,
"end": 2230,
"name": "POP",
"source": 3
},
{
"begin": 2091,
"end": 2230,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 2236,
"end": 2565,
"name": "tag",
"source": 3,
"value": "24"
},
{
"begin": 2236,
"end": 2565,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2295,
"end": 2301,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 2344,
"end": 2346,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 2332,
"end": 2341,
"name": "DUP3",
"source": 3
},
{
"begin": 2323,
"end": 2330,
"name": "DUP5",
"source": 3
},
{
"begin": 2319,
"end": 2342,
"name": "SUB",
"source": 3
},
{
"begin": 2315,
"end": 2347,
"name": "SLT",
"source": 3
},
{
"begin": 2312,
"end": 2431,
"name": "ISZERO",
"source": 3
},
{
"begin": 2312,
"end": 2431,
"name": "PUSH [tag]",
"source": 3,
"value": "102"
},
{
"begin": 2312,
"end": 2431,
"name": "JUMPI",
"source": 3
},
{
"begin": 2350,
"end": 2429,
"name": "PUSH [tag]",
"source": 3,
"value": "103"
},
{
"begin": 2350,
"end": 2429,
"name": "PUSH [tag]",
"source": 3,
"value": "57"
},
{
"begin": 2350,
"end": 2429,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 2350,
"end": 2429,
"name": "tag",
"source": 3,
"value": "103"
},
{
"begin": 2350,
"end": 2429,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2312,
"end": 2431,
"name": "tag",
"source": 3,
"value": "102"
},
{
"begin": 2312,
"end": 2431,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2470,
"end": 2471,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 2495,
"end": 2548,
"name": "PUSH [tag]",
"source": 3,
"value": "104"
},
{
"begin": 2540,
"end": 2547,
"name": "DUP5",
"source": 3
},
{
"begin": 2531,
"end": 2537,
"name": "DUP3",
"source": 3
},
{
"begin": 2520,
"end": 2529,
"name": "DUP6",
"source": 3
},
{
"begin": 2516,
"end": 2538,
"name": "ADD",
"source": 3
},
{
"begin": 2495,
"end": 2548,
"name": "PUSH [tag]",
"source": 3,
"value": "65"
},
{
"begin": 2495,
"end": 2548,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 2495,
"end": 2548,
"name": "tag",
"source": 3,
"value": "104"
},
{
"begin": 2495,
"end": 2548,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2485,
"end": 2548,
"name": "SWAP2",
"source": 3
},
{
"begin": 2485,
"end": 2548,
"name": "POP",
"source": 3
},
{
"begin": 2441,
"end": 2558,
"name": "POP",
"source": 3
},
{
"begin": 2236,
"end": 2565,
"name": "SWAP3",
"source": 3
},
{
"begin": 2236,
"end": 2565,
"name": "SWAP2",
"source": 3
},
{
"begin": 2236,
"end": 2565,
"name": "POP",
"source": 3
},
{
"begin": 2236,
"end": 2565,
"name": "POP",
"source": 3
},
{
"begin": 2236,
"end": 2565,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 2571,
"end": 2740,
"name": "tag",
"source": 3,
"value": "66"
},
{
"begin": 2571,
"end": 2740,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2655,
"end": 2666,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 2689,
"end": 2695,
"name": "DUP3",
"source": 3
},
{
"begin": 2684,
"end": 2687,
"name": "DUP3",
"source": 3
},
{
"begin": 2677,
"end": 2696,
"name": "MSTORE",
"source": 3
},
{
"begin": 2729,
"end": 2733,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 2724,
"end": 2727,
"name": "DUP3",
"source": 3
},
{
"begin": 2720,
"end": 2734,
"name": "ADD",
"source": 3
},
{
"begin": 2705,
"end": 2734,
"name": "SWAP1",
"source": 3
},
{
"begin": 2705,
"end": 2734,
"name": "POP",
"source": 3
},
{
"begin": 2571,
"end": 2740,
"name": "SWAP3",
"source": 3
},
{
"begin": 2571,
"end": 2740,
"name": "SWAP2",
"source": 3
},
{
"begin": 2571,
"end": 2740,
"name": "POP",
"source": 3
},
{
"begin": 2571,
"end": 2740,
"name": "POP",
"source": 3
},
{
"begin": 2571,
"end": 2740,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 2746,
"end": 2971,
"name": "tag",
"source": 3,
"value": "67"
},
{
"begin": 2746,
"end": 2971,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 2886,
"end": 2920,
"name": "PUSH",
"source": 3,
"value": "4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061"
},
{
"begin": 2882,
"end": 2883,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 2874,
"end": 2880,
"name": "DUP3",
"source": 3
},
{
"begin": 2870,
"end": 2884,
"name": "ADD",
"source": 3
},
{
"begin": 2863,
"end": 2921,
"name": "MSTORE",
"source": 3
},
{
"begin": 2955,
"end": 2963,
"name": "PUSH",
"source": 3,
"value": "6464726573730000000000000000000000000000000000000000000000000000"
},
{
"begin": 2950,
"end": 2952,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 2942,
"end": 2948,
"name": "DUP3",
"source": 3
},
{
"begin": 2938,
"end": 2953,
"name": "ADD",
"source": 3
},
{
"begin": 2931,
"end": 2964,
"name": "MSTORE",
"source": 3
},
{
"begin": 2746,
"end": 2971,
"name": "POP",
"source": 3
},
{
"begin": 2746,
"end": 2971,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 2977,
"end": 3343,
"name": "tag",
"source": 3,
"value": "68"
},
{
"begin": 2977,
"end": 3343,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 3119,
"end": 3122,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 3140,
"end": 3207,
"name": "PUSH [tag]",
"source": 3,
"value": "108"
},
{
"begin": 3204,
"end": 3206,
"name": "PUSH",
"source": 3,
"value": "26"
},
{
"begin": 3199,
"end": 3202,
"name": "DUP4",
"source": 3
},
{
"begin": 3140,
"end": 3207,
"name": "PUSH [tag]",
"source": 3,
"value": "66"
},
{
"begin": 3140,
"end": 3207,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 3140,
"end": 3207,
"name": "tag",
"source": 3,
"value": "108"
},
{
"begin": 3140,
"end": 3207,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 3133,
"end": 3207,
"name": "SWAP2",
"source": 3
},
{
"begin": 3133,
"end": 3207,
"name": "POP",
"source": 3
},
{
"begin": 3216,
"end": 3309,
"name": "PUSH [tag]",
"source": 3,
"value": "109"
},
{
"begin": 3305,
"end": 3308,
"name": "DUP3",
"source": 3
},
{
"begin": 3216,
"end": 3309,
"name": "PUSH [tag]",
"source": 3,
"value": "67"
},
{
"begin": 3216,
"end": 3309,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 3216,
"end": 3309,
"name": "tag",
"source": 3,
"value": "109"
},
{
"begin": 3216,
"end": 3309,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 3334,
"end": 3336,
"name": "PUSH",
"source": 3,
"value": "40"
},
{
"begin": 3329,
"end": 3332,
"name": "DUP3",
"source": 3
},
{
"begin": 3325,
"end": 3337,
"name": "ADD",
"source": 3
},
{
"begin": 3318,
"end": 3337,
"name": "SWAP1",
"source": 3
},
{
"begin": 3318,
"end": 3337,
"name": "POP",
"source": 3
},
{
"begin": 2977,
"end": 3343,
"name": "SWAP2",
"source": 3
},
{
"begin": 2977,
"end": 3343,
"name": "SWAP1",
"source": 3
},
{
"begin": 2977,
"end": 3343,
"name": "POP",
"source": 3
},
{
"begin": 2977,
"end": 3343,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 3349,
"end": 3768,
"name": "tag",
"source": 3,
"value": "43"
},
{
"begin": 3349,
"end": 3768,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 3515,
"end": 3519,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 3553,
"end": 3555,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 3542,
"end": 3551,
"name": "DUP3",
"source": 3
},
{
"begin": 3538,
"end": 3556,
"name": "ADD",
"source": 3
},
{
"begin": 3530,
"end": 3556,
"name": "SWAP1",
"source": 3
},
{
"begin": 3530,
"end": 3556,
"name": "POP",
"source": 3
},
{
"begin": 3602,
"end": 3611,
"name": "DUP2",
"source": 3
},
{
"begin": 3596,
"end": 3600,
"name": "DUP2",
"source": 3
},
{
"begin": 3592,
"end": 3612,
"name": "SUB",
"source": 3
},
{
"begin": 3588,
"end": 3589,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 3577,
"end": 3586,
"name": "DUP4",
"source": 3
},
{
"begin": 3573,
"end": 3590,
"name": "ADD",
"source": 3
},
{
"begin": 3566,
"end": 3613,
"name": "MSTORE",
"source": 3
},
{
"begin": 3630,
"end": 3761,
"name": "PUSH [tag]",
"source": 3,
"value": "111"
},
{
"begin": 3756,
"end": 3760,
"name": "DUP2",
"source": 3
},
{
"begin": 3630,
"end": 3761,
"name": "PUSH [tag]",
"source": 3,
"value": "68"
},
{
"begin": 3630,
"end": 3761,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 3630,
"end": 3761,
"name": "tag",
"source": 3,
"value": "111"
},
{
"begin": 3630,
"end": 3761,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 3622,
"end": 3761,
"name": "SWAP1",
"source": 3
},
{
"begin": 3622,
"end": 3761,
"name": "POP",
"source": 3
},
{
"begin": 3349,
"end": 3768,
"name": "SWAP2",
"source": 3
},
{
"begin": 3349,
"end": 3768,
"name": "SWAP1",
"source": 3
},
{
"begin": 3349,
"end": 3768,
"name": "POP",
"source": 3
},
{
"begin": 3349,
"end": 3768,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 3774,
"end": 3956,
"name": "tag",
"source": 3,
"value": "69"
},
{
"begin": 3774,
"end": 3956,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 3914,
"end": 3948,
"name": "PUSH",
"source": 3,
"value": "4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572"
},
{
"begin": 3910,
"end": 3911,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 3902,
"end": 3908,
"name": "DUP3",
"source": 3
},
{
"begin": 3898,
"end": 3912,
"name": "ADD",
"source": 3
},
{
"begin": 3891,
"end": 3949,
"name": "MSTORE",
"source": 3
},
{
"begin": 3774,
"end": 3956,
"name": "POP",
"source": 3
},
{
"begin": 3774,
"end": 3956,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 3962,
"end": 4328,
"name": "tag",
"source": 3,
"value": "70"
},
{
"begin": 3962,
"end": 4328,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 4104,
"end": 4107,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 4125,
"end": 4192,
"name": "PUSH [tag]",
"source": 3,
"value": "114"
},
{
"begin": 4189,
"end": 4191,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 4184,
"end": 4187,
"name": "DUP4",
"source": 3
},
{
"begin": 4125,
"end": 4192,
"name": "PUSH [tag]",
"source": 3,
"value": "66"
},
{
"begin": 4125,
"end": 4192,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 4125,
"end": 4192,
"name": "tag",
"source": 3,
"value": "114"
},
{
"begin": 4125,
"end": 4192,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 4118,
"end": 4192,
"name": "SWAP2",
"source": 3
},
{
"begin": 4118,
"end": 4192,
"name": "POP",
"source": 3
},
{
"begin": 4201,
"end": 4294,
"name": "PUSH [tag]",
"source": 3,
"value": "115"
},
{
"begin": 4290,
"end": 4293,
"name": "DUP3",
"source": 3
},
{
"begin": 4201,
"end": 4294,
"name": "PUSH [tag]",
"source": 3,
"value": "69"
},
{
"begin": 4201,
"end": 4294,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 4201,
"end": 4294,
"name": "tag",
"source": 3,
"value": "115"
},
{
"begin": 4201,
"end": 4294,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 4319,
"end": 4321,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 4314,
"end": 4317,
"name": "DUP3",
"source": 3
},
{
"begin": 4310,
"end": 4322,
"name": "ADD",
"source": 3
},
{
"begin": 4303,
"end": 4322,
"name": "SWAP1",
"source": 3
},
{
"begin": 4303,
"end": 4322,
"name": "POP",
"source": 3
},
{
"begin": 3962,
"end": 4328,
"name": "SWAP2",
"source": 3
},
{
"begin": 3962,
"end": 4328,
"name": "SWAP1",
"source": 3
},
{
"begin": 3962,
"end": 4328,
"name": "POP",
"source": 3
},
{
"begin": 3962,
"end": 4328,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
},
{
"begin": 4334,
"end": 4753,
"name": "tag",
"source": 3,
"value": "51"
},
{
"begin": 4334,
"end": 4753,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 4500,
"end": 4504,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 4538,
"end": 4540,
"name": "PUSH",
"source": 3,
"value": "20"
},
{
"begin": 4527,
"end": 4536,
"name": "DUP3",
"source": 3
},
{
"begin": 4523,
"end": 4541,
"name": "ADD",
"source": 3
},
{
"begin": 4515,
"end": 4541,
"name": "SWAP1",
"source": 3
},
{
"begin": 4515,
"end": 4541,
"name": "POP",
"source": 3
},
{
"begin": 4587,
"end": 4596,
"name": "DUP2",
"source": 3
},
{
"begin": 4581,
"end": 4585,
"name": "DUP2",
"source": 3
},
{
"begin": 4577,
"end": 4597,
"name": "SUB",
"source": 3
},
{
"begin": 4573,
"end": 4574,
"name": "PUSH",
"source": 3,
"value": "0"
},
{
"begin": 4562,
"end": 4571,
"name": "DUP4",
"source": 3
},
{
"begin": 4558,
"end": 4575,
"name": "ADD",
"source": 3
},
{
"begin": 4551,
"end": 4598,
"name": "MSTORE",
"source": 3
},
{
"begin": 4615,
"end": 4746,
"name": "PUSH [tag]",
"source": 3,
"value": "117"
},
{
"begin": 4741,
"end": 4745,
"name": "DUP2",
"source": 3
},
{
"begin": 4615,
"end": 4746,
"name": "PUSH [tag]",
"source": 3,
"value": "70"
},
{
"begin": 4615,
"end": 4746,
"jumpType": "[in]",
"name": "JUMP",
"source": 3
},
{
"begin": 4615,
"end": 4746,
"name": "tag",
"source": 3,
"value": "117"
},
{
"begin": 4615,
"end": 4746,
"name": "JUMPDEST",
"source": 3
},
{
"begin": 4607,
"end": 4746,
"name": "SWAP1",
"source": 3
},
{
"begin": 4607,
"end": 4746,
"name": "POP",
"source": 3
},
{
"begin": 4334,
"end": 4753,
"name": "SWAP2",
"source": 3
},
{
"begin": 4334,
"end": 4753,
"name": "SWAP1",
"source": 3
},
{
"begin": 4334,
"end": 4753,
"name": "POP",
"source": 3
},
{
"begin": 4334,
"end": 4753,
"jumpType": "[out]",
"name": "JUMP",
"source": 3
}
]
}
},
"sourceList": [
"@openzeppelin/contracts/access/Ownable.sol",
"@openzeppelin/contracts/utils/Context.sol",
"contracts/Box.sol",
"#utility.yul"
]
},
"methodIdentifiers": {
"owner()": "8da5cb5b",
"renounceOwnership()": "715018a6",
"retrieve()": "2e64cec1",
"store(uint256)": "6057361d",
"transferOwnership(address)": "f2fde38b"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.18+commit.87f61d96\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"ValueChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"retrieve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"store\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Box.sol\":\"Box\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xa94b34880e3c1b0b931662cb1c09e5dfa6662f31cba80e07c5ee71cd135c9673\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://40fb1b5102468f783961d0af743f91b9980cf66b50d1d12009f6bb1869cea4d2\",\"dweb:/ipfs/QmYqEbJML4jB1GHbzD4cUZDtJg5wVwNm3vDJq1GbyDus8y\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"contracts/Box.sol\":{\"keccak256\":\"0x9792054a7b4cd87e93dad992853b7bb81d35a7c5c96ec83ef0bd4bb5903d83e8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://383d66fadb97ef9e702ba12699ce2a29179c14e4d9673f61ce22abd31b865c0c\",\"dweb:/ipfs/QmNPh3JMBXsjohKayB82j4eC6YPoSZaVNSTd2iWmLBUSAC\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 7,
"contract": "contracts/Box.sol:Box",
"label": "_owner",
"offset": 0,
"slot": "0",
"type": "t_address"
},
{
"astId": 141,
"contract": "contracts/Box.sol:Box",
"label": "_value",
"offset": 0,
"slot": "1",
"type": "t_uint256"
}
],
"types": {
"t_address": {
"encoding": "inplace",
"label": "address",
"numberOfBytes": "20"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"@openzeppelin/contracts/access/Ownable.sol": {
"ast": {
"absolutePath": "@openzeppelin/contracts/access/Ownable.sol",
"exportedSymbols": {
"Context": [
134
],
"Ownable": [
112
]
},
"id": 113,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "102:23:0"
},
{
"absolutePath": "@openzeppelin/contracts/utils/Context.sol",
"file": "../utils/Context.sol",
"id": 2,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 113,
"sourceUnit": 135,
"src": "127:30:0",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": true,
"baseContracts": [
{
"baseName": {
"id": 4,
"name": "Context",
"nameLocations": [
"683:7:0"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 134,
"src": "683:7:0"
},
"id": 5,
"nodeType": "InheritanceSpecifier",
"src": "683:7:0"
}
],
"canonicalName": "Ownable",
"contractDependencies": [],
"contractKind": "contract",
"documentation": {
"id": 3,
"nodeType": "StructuredDocumentation",
"src": "159:494:0",
"text": " @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner."
},
"fullyImplemented": true,
"id": 112,
"linearizedBaseContracts": [
112,
134
],
"name": "Ownable",
"nameLocation": "672:7:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 7,
"mutability": "mutable",
"name": "_owner",
"nameLocation": "713:6:0",
"nodeType": "VariableDeclaration",
"scope": 112,
"src": "697:22:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 6,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "697:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "private"
},
{
"anonymous": false,
"eventSelector": "8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"id": 13,
"name": "OwnershipTransferred",
"nameLocation": "732:20:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 12,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9,
"indexed": true,
"mutability": "mutable",
"name": "previousOwner",
"nameLocation": "769:13:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "753:29:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 8,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "753:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 11,
"indexed": true,
"mutability": "mutable",
"name": "newOwner",
"nameLocation": "800:8:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "784:24:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 10,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "784:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "752:57:0"
},
"src": "726:84:0"
},
{
"body": {
"id": 22,
"nodeType": "Block",
"src": "926:49:0",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 18,
"name": "_msgSender",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 124,
"src": "955:10:0",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
"typeString": "function () view returns (address)"
}
},
"id": 19,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "955:12:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 17,
"name": "_transferOwnership",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 111,
"src": "936:18:0",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 20,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "936:32:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 21,
"nodeType": "ExpressionStatement",
"src": "936:32:0"
}
]
},
"documentation": {
"id": 14,
"nodeType": "StructuredDocumentation",
"src": "816:91:0",
"text": " @dev Initializes the contract setting the deployer as the initial owner."
},
"id": 23,
"implemented": true,
"kind": "constructor",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 15,
"nodeType": "ParameterList",
"parameters": [],
"src": "923:2:0"
},
"returnParameters": {
"id": 16,
"nodeType": "ParameterList",
"parameters": [],
"src": "926:0:0"
},
"scope": 112,
"src": "912:63:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 30,
"nodeType": "Block",
"src": "1084:41:0",
"statements": [
{
"expression": {
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 26,
"name": "_checkOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 54,
"src": "1094:11:0",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$__$",
"typeString": "function () view"
}
},
"id": 27,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1094:13:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 28,
"nodeType": "ExpressionStatement",
"src": "1094:13:0"
},
{
"id": 29,
"nodeType": "PlaceholderStatement",
"src": "1117:1:0"
}
]
},
"documentation": {
"id": 24,
"nodeType": "StructuredDocumentation",
"src": "981:77:0",
"text": " @dev Throws if called by any account other than the owner."
},
"id": 31,
"name": "onlyOwner",
"nameLocation": "1072:9:0",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 25,
"nodeType": "ParameterList",
"parameters": [],
"src": "1081:2:0"
},
"src": "1063:62:0",
"virtual": false,
"visibility": "internal"
},
{
"body": {
"id": 39,
"nodeType": "Block",
"src": "1256:30:0",
"statements": [
{
"expression": {
"id": 37,
"name": "_owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 7,
"src": "1273:6:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"functionReturnParameters": 36,
"id": 38,
"nodeType": "Return",
"src": "1266:13:0"
}
]
},
"documentation": {
"id": 32,
"nodeType": "StructuredDocumentation",
"src": "1131:65:0",
"text": " @dev Returns the address of the current owner."
},
"functionSelector": "8da5cb5b",
"id": 40,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "owner",
"nameLocation": "1210:5:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 33,
"nodeType": "ParameterList",
"parameters": [],
"src": "1215:2:0"
},
"returnParameters": {
"id": 36,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 35,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "1247:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 34,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1247:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1246:9:0"
},
"scope": 112,
"src": "1201:85:0",
"stateMutability": "view",
"virtual": true,
"visibility": "public"
},
{
"body": {
"id": 53,
"nodeType": "Block",
"src": "1404:85:0",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 49,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 45,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 40,
"src": "1422:5:0",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
"typeString": "function () view returns (address)"
}
},
"id": 46,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1422:7:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 47,
"name": "_msgSender",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 124,
"src": "1433:10:0",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
"typeString": "function () view returns (address)"
}
},
"id": 48,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1433:12:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1422:23:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572",
"id": 50,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1447:34:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe",
"typeString": "literal_string \"Ownable: caller is not the owner\""
},
"value": "Ownable: caller is not the owner"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe",
"typeString": "literal_string \"Ownable: caller is not the owner\""
}
],
"id": 44,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "1414:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 51,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1414:68:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 52,
"nodeType": "ExpressionStatement",
"src": "1414:68:0"
}
]
},
"documentation": {
"id": 41,
"nodeType": "StructuredDocumentation",
"src": "1292:62:0",
"text": " @dev Throws if the sender is not the owner."
},
"id": 54,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_checkOwner",
"nameLocation": "1368:11:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 42,
"nodeType": "ParameterList",
"parameters": [],
"src": "1379:2:0"
},
"returnParameters": {
"id": 43,
"nodeType": "ParameterList",
"parameters": [],
"src": "1404:0:0"
},
"scope": 112,
"src": "1359:130:0",
"stateMutability": "view",
"virtual": true,
"visibility": "internal"
},
{
"body": {
"id": 67,
"nodeType": "Block",
"src": "1885:47:0",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"hexValue": "30",
"id": 63,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1922:1:0",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
}
],
"id": 62,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "1914:7:0",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 61,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1914:7:0",
"typeDescriptions": {}
}
},
"id": 64,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1914:10:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 60,
"name": "_transferOwnership",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 111,
"src": "1895:18:0",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 65,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "1895:30:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 66,
"nodeType": "ExpressionStatement",
"src": "1895:30:0"
}
]
},
"documentation": {
"id": 55,
"nodeType": "StructuredDocumentation",
"src": "1495:331:0",
"text": " @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions anymore. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby removing any functionality that is only available to the owner."
},
"functionSelector": "715018a6",
"id": 68,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 58,
"kind": "modifierInvocation",
"modifierName": {
"id": 57,
"name": "onlyOwner",
"nameLocations": [
"1875:9:0"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 31,
"src": "1875:9:0"
},
"nodeType": "ModifierInvocation",
"src": "1875:9:0"
}
],
"name": "renounceOwnership",
"nameLocation": "1840:17:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 56,
"nodeType": "ParameterList",
"parameters": [],
"src": "1857:2:0"
},
"returnParameters": {
"id": 59,
"nodeType": "ParameterList",
"parameters": [],
"src": "1885:0:0"
},
"scope": 112,
"src": "1831:101:0",
"stateMutability": "nonpayable",
"virtual": true,
"visibility": "public"
},
{
"body": {
"id": 90,
"nodeType": "Block",
"src": "2151:128:0",
"statements": [
{
"expression": {
"arguments": [
{
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 82,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 77,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 71,
"src": "2169:8:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "!=",
"rightExpression": {
"arguments": [
{
"hexValue": "30",
"id": 80,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2189:1:0",
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
}
],
"id": 79,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "2181:7:0",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 78,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2181:7:0",
"typeDescriptions": {}
}
},
"id": 81,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "typeConversion",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2181:10:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "2169:22:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373",
"id": 83,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2193:40:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe",
"typeString": "literal_string \"Ownable: new owner is the zero address\""
},
"value": "Ownable: new owner is the zero address"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe",
"typeString": "literal_string \"Ownable: new owner is the zero address\""
}
],
"id": 76,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "2161:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 84,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2161:73:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 85,
"nodeType": "ExpressionStatement",
"src": "2161:73:0"
},
{
"expression": {
"arguments": [
{
"id": 87,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 71,
"src": "2263:8:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 86,
"name": "_transferOwnership",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 111,
"src": "2244:18:0",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
"typeString": "function (address)"
}
},
"id": 88,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2244:28:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 89,
"nodeType": "ExpressionStatement",
"src": "2244:28:0"
}
]
},
"documentation": {
"id": 69,
"nodeType": "StructuredDocumentation",
"src": "1938:138:0",
"text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner."
},
"functionSelector": "f2fde38b",
"id": 91,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 74,
"kind": "modifierInvocation",
"modifierName": {
"id": 73,
"name": "onlyOwner",
"nameLocations": [
"2141:9:0"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 31,
"src": "2141:9:0"
},
"nodeType": "ModifierInvocation",
"src": "2141:9:0"
}
],
"name": "transferOwnership",
"nameLocation": "2090:17:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 72,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 71,
"mutability": "mutable",
"name": "newOwner",
"nameLocation": "2116:8:0",
"nodeType": "VariableDeclaration",
"scope": 91,
"src": "2108:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 70,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2108:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "2107:18:0"
},
"returnParameters": {
"id": 75,
"nodeType": "ParameterList",
"parameters": [],
"src": "2151:0:0"
},
"scope": 112,
"src": "2081:198:0",
"stateMutability": "nonpayable",
"virtual": true,
"visibility": "public"
},
{
"body": {
"id": 110,
"nodeType": "Block",
"src": "2496:124:0",
"statements": [
{
"assignments": [
98
],
"declarations": [
{
"constant": false,
"id": 98,
"mutability": "mutable",
"name": "oldOwner",
"nameLocation": "2514:8:0",
"nodeType": "VariableDeclaration",
"scope": 110,
"src": "2506:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 97,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2506:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"id": 100,
"initialValue": {
"id": 99,
"name": "_owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 7,
"src": "2525:6:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "2506:25:0"
},
{
"expression": {
"id": 103,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 101,
"name": "_owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 7,
"src": "2541:6:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"id": 102,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 94,
"src": "2550:8:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "2541:17:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 104,
"nodeType": "ExpressionStatement",
"src": "2541:17:0"
},
{
"eventCall": {
"arguments": [
{
"id": 106,
"name": "oldOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 98,
"src": "2594:8:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 107,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 94,
"src": "2604:8:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 105,
"name": "OwnershipTransferred",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13,
"src": "2573:20:0",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$",
"typeString": "function (address,address)"
}
},
"id": 108,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "2573:40:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 109,
"nodeType": "EmitStatement",
"src": "2568:45:0"
}
]
},
"documentation": {
"id": 92,
"nodeType": "StructuredDocumentation",
"src": "2285:143:0",
"text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Internal function without access restriction."
},
"id": 111,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_transferOwnership",
"nameLocation": "2442:18:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 95,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 94,
"mutability": "mutable",
"name": "newOwner",
"nameLocation": "2469:8:0",
"nodeType": "VariableDeclaration",
"scope": 111,
"src": "2461:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 93,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2461:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "2460:18:0"
},
"returnParameters": {
"id": 96,
"nodeType": "ParameterList",
"parameters": [],
"src": "2496:0:0"
},
"scope": 112,
"src": "2433:187:0",
"stateMutability": "nonpayable",
"virtual": true,
"visibility": "internal"
}
],
"scope": 113,
"src": "654:1968:0",
"usedErrors": []
}
],
"src": "102:2521:0"
},
"id": 0
},
"@openzeppelin/contracts/utils/Context.sol": {
"ast": {
"absolutePath": "@openzeppelin/contracts/utils/Context.sol",
"exportedSymbols": {
"Context": [
134
]
},
"id": 135,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 114,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "86:23:1"
},
{
"abstract": true,
"baseContracts": [],
"canonicalName": "Context",
"contractDependencies": [],
"contractKind": "contract",
"documentation": {
"id": 115,
"nodeType": "StructuredDocumentation",
"src": "111:496:1",
"text": " @dev Provides information about the current execution context, including the\n sender of the transaction and its data. While these are generally available\n via msg.sender and msg.data, they should not be accessed in such a direct\n manner, since when dealing with meta-transactions the account sending and\n paying for execution may not be the actual sender (as far as an application\n is concerned).\n This contract is only required for intermediate, library-like contracts."
},
"fullyImplemented": true,
"id": 134,
"linearizedBaseContracts": [
134
],
"name": "Context",
"nameLocation": "626:7:1",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": {
"id": 123,
"nodeType": "Block",
"src": "702:34:1",
"statements": [
{
"expression": {
"expression": {
"id": 120,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "719:3:1",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 121,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "723:6:1",
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "719:10:1",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"functionReturnParameters": 119,
"id": 122,
"nodeType": "Return",
"src": "712:17:1"
}
]
},
"id": 124,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_msgSender",
"nameLocation": "649:10:1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 116,
"nodeType": "ParameterList",
"parameters": [],
"src": "659:2:1"
},
"returnParameters": {
"id": 119,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 118,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 124,
"src": "693:7:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 117,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "693:7:1",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "692:9:1"
},
"scope": 134,
"src": "640:96:1",
"stateMutability": "view",
"virtual": true,
"visibility": "internal"
},
{
"body": {
"id": 132,
"nodeType": "Block",
"src": "809:32:1",
"statements": [
{
"expression": {
"expression": {
"id": 129,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "826:3:1",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 130,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "830:4:1",
"memberName": "data",
"nodeType": "MemberAccess",
"src": "826:8:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes calldata"
}
},
"functionReturnParameters": 128,
"id": 131,
"nodeType": "Return",
"src": "819:15:1"
}
]
},
"id": 133,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "_msgData",
"nameLocation": "751:8:1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 125,
"nodeType": "ParameterList",
"parameters": [],
"src": "759:2:1"
},
"returnParameters": {
"id": 128,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 127,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 133,
"src": "793:14:1",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 126,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "793:5:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "792:16:1"
},
"scope": 134,
"src": "742:99:1",
"stateMutability": "view",
"virtual": true,
"visibility": "internal"
}
],
"scope": 135,
"src": "608:235:1",
"usedErrors": []
}
],
"src": "86:758:1"
},
"id": 1
},
"contracts/Box.sol": {
"ast": {
"absolutePath": "contracts/Box.sol",
"exportedSymbols": {
"Box": [
170
],
"Context": [
134
],
"Ownable": [
112
]
},
"id": 171,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 136,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "53:23:2"
},
{
"absolutePath": "@openzeppelin/contracts/access/Ownable.sol",
"file": "@openzeppelin/contracts/access/Ownable.sol",
"id": 137,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 171,
"sourceUnit": 113,
"src": "136:52:2",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"baseName": {
"id": 138,
"name": "Ownable",
"nameLocations": [
"252:7:2"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 112,
"src": "252:7:2"
},
"id": 139,
"nodeType": "InheritanceSpecifier",
"src": "252:7:2"
}
],
"canonicalName": "Box",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 170,
"linearizedBaseContracts": [
170,
112,
134
],
"name": "Box",
"nameLocation": "245:3:2",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 141,
"mutability": "mutable",
"name": "_value",
"nameLocation": "282:6:2",
"nodeType": "VariableDeclaration",
"scope": 170,
"src": "266:22:2",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 140,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "266:7:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "private"
},
{
"anonymous": false,
"eventSelector": "93fe6d397c74fdf1402a8b72e47b68512f0510d7b98a4bc4cbdf6ac7108b3c59",
"id": 145,
"name": "ValueChanged",
"nameLocation": "301:12:2",
"nodeType": "EventDefinition",
"parameters": {
"id": 144,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 143,
"indexed": false,
"mutability": "mutable",
"name": "value",
"nameLocation": "322:5:2",
"nodeType": "VariableDeclaration",
"scope": 145,
"src": "314:13:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 142,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "314:7:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "313:15:2"
},
"src": "295:34:2"
},
{
"body": {
"id": 160,
"nodeType": "Block",
"src": "454:65:2",
"statements": [
{
"expression": {
"id": 154,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 152,
"name": "_value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 141,
"src": "464:6:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"id": 153,
"name": "value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 147,
"src": "473:5:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "464:14:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 155,
"nodeType": "ExpressionStatement",
"src": "464:14:2"
},
{
"eventCall": {
"arguments": [
{
"id": 157,
"name": "value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 147,
"src": "506:5:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 156,
"name": "ValueChanged",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 145,
"src": "493:12:2",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$",
"typeString": "function (uint256)"
}
},
"id": 158,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "493:19:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 159,
"nodeType": "EmitStatement",
"src": "488:24:2"
}
]
},
"functionSelector": "6057361d",
"id": 161,
"implemented": true,
"kind": "function",
"modifiers": [
{
"id": 150,
"kind": "modifierInvocation",
"modifierName": {
"id": 149,
"name": "onlyOwner",
"nameLocations": [
"444:9:2"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 31,
"src": "444:9:2"
},
"nodeType": "ModifierInvocation",
"src": "444:9:2"
}
],
"name": "store",
"nameLocation": "416:5:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 148,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 147,
"mutability": "mutable",
"name": "value",
"nameLocation": "430:5:2",
"nodeType": "VariableDeclaration",
"scope": 161,
"src": "422:13:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 146,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "422:7:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "421:15:2"
},
"returnParameters": {
"id": 151,
"nodeType": "ParameterList",
"parameters": [],
"src": "454:0:2"
},
"scope": 170,
"src": "407:112:2",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 168,
"nodeType": "Block",
"src": "575:30:2",
"statements": [
{
"expression": {
"id": 166,
"name": "_value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 141,
"src": "592:6:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"functionReturnParameters": 165,
"id": 167,
"nodeType": "Return",
"src": "585:13:2"
}
]
},
"functionSelector": "2e64cec1",
"id": 169,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "retrieve",
"nameLocation": "534:8:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 162,
"nodeType": "ParameterList",
"parameters": [],
"src": "542:2:2"
},
"returnParameters": {
"id": 165,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 164,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 169,
"src": "566:7:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 163,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "566:7:2",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "565:9:2"
},
"scope": 170,
"src": "525:80:2",
"stateMutability": "view",
"virtual": false,
"visibility": "public"
}
],
"scope": 171,
"src": "236:371:2",
"usedErrors": []
}
],
"src": "53:554:2"
},
"id": 2
}
}
}
}
// contracts/Box.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// Import Ownable from the OpenZeppelin Contracts library
import "@openzeppelin/contracts/access/Ownable.sol";
// Make Box inherit from the Ownable contract
contract Box is Ownable {
uint256 private _value;
event ValueChanged(uint256 value);
// The onlyOwner modifier restricts who can call the store function
function store(uint256 value) public onlyOwner {
_value = value;
emit ValueChanged(value);
}
function retrieve() public view returns (uint256) {
return _value;
}
}
// This script can be used to deploy the "Storage" contract using ethers.js library.
// Please make sure to compile "./contracts/1_Storage.sol" file before running this script.
// And use Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
import { deploy } from './ethers-lib'
(async () => {
try {
const result = await deploy('Storage', [])
console.log(`address: ${result.address}`)
} catch (e) {
console.log(e.message)
}
})()
// This script can be used to deploy the "Storage" contract using Web3 library.
// Please make sure to compile "./contracts/1_Storage.sol" file before running this script.
// And use Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
import { deploy } from './web3-lib'
(async () => {
try {
const result = await deploy('Storage', [])
console.log(`address: ${result.address}`)
} catch (e) {
console.log(e.message)
}
})()
import { ethers } from 'ethers'
/**
* Deploy the given contract
* @param {string} contractName name of the contract to deploy
* @param {Array<any>} args list of constructor' parameters
* @param {Number} accountIndex account index from the exposed account
* @return {Contract} deployed contract
*/
export const deploy = async (contractName: string, args: Array<any>, accountIndex?: number): Promise<ethers.Contract> => {
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
// 'web3Provider' is a remix global variable object
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner(accountIndex)
const factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer)
const contract = await factory.deploy(...args)
// The contract is NOT deployed yet; we must wait until it is mined
await contract.deployed()
return contract
}
import Web3 from 'web3'
import { Contract, ContractSendMethod, Options } from 'web3-eth-contract'
/**
* Deploy the given contract
* @param {string} contractName name of the contract to deploy
* @param {Array<any>} args list of constructor' parameters
* @param {string} from account used to send the transaction
* @param {number} gas gas limit
* @return {Options} deployed contract
*/
export const deploy = async (contractName: string, args: Array<any>, from?: string, gas?: number): Promise<Options> => {
const web3 = new Web3(web3Provider)
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json`
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
const accounts = await web3.eth.getAccounts()
const contract: Contract = new web3.eth.Contract(metadata.abi)
const contractSend: ContractSendMethod = contract.deploy({
data: metadata.data.bytecode.object,
arguments: args
})
const newContractInstance = await contractSend.send({
from: from || accounts[0],
gas: gas || 1500000
})
return newContractInstance.options
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "hardhat/console.sol";
import "../contracts/3_Ballot.sol";
contract BallotTest {
bytes32[] proposalNames;
Ballot ballotToTest;
function beforeAll () public {
proposalNames.push(bytes32("candidate1"));
ballotToTest = new Ballot(proposalNames);
}
function checkWinningProposal () public {
console.log("Running checkWinningProposal");
ballotToTest.vote(0);
Assert.equal(ballotToTest.winningProposal(), uint(0), "proposal at index 0 should be the winning proposal");
Assert.equal(ballotToTest.winnerName(), bytes32("candidate1"), "candidate1 should be the winner name");
}
function checkWinninProposalWithReturnValue () public view returns (bool) {
return ballotToTest.winningProposal() == 0;
}
}
// Right click on the script name and hit "Run" to execute
const { expect } = require("chai");
const { ethers } = require("hardhat");
describe("Storage", function () {
it("test initial value", async function () {
const Storage = await ethers.getContractFactory("Storage");
const storage = await Storage.deploy();
await storage.deployed();
console.log('storage deployed at:'+ storage.address)
expect((await storage.retrieve()).toNumber()).to.equal(0);
});
it("test updating and retrieving updated value", async function () {
const Storage = await ethers.getContractFactory("Storage");
const storage = await Storage.deploy();
await storage.deployed();
const storage2 = await ethers.getContractAt("Storage", storage.address);
const setValue = await storage2.store(56);
await setValue.wait();
expect((await storage2.retrieve()).toNumber()).to.equal(56);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment