Skip to content

Instantly share code, notes, and snippets.

@MayuR45
Created November 30, 2022 10:59
Show Gist options
  • Save MayuR45/df69b37daa7a0cc14593b123c00f9dd9 to your computer and use it in GitHub Desktop.
Save MayuR45/df69b37daa7a0cc14593b123c00f9dd9 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;
library console {
address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);
function _sendLogPayload(bytes memory payload) private view {
uint256 payloadLength = payload.length;
address consoleAddress = CONSOLE_ADDRESS;
assembly {
let payloadStart := add(payload, 32)
let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
}
}
function log() internal view {
_sendLogPayload(abi.encodeWithSignature("log()"));
}
function logInt(int256 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(int256)", p0));
}
function logUint(uint256 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
}
function logString(string memory p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
}
function logBool(bool p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
}
function logAddress(address p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
}
function logBytes(bytes memory p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
}
function logBytes1(bytes1 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
}
function logBytes2(bytes2 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
}
function logBytes3(bytes3 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
}
function logBytes4(bytes4 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
}
function logBytes5(bytes5 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
}
function logBytes6(bytes6 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
}
function logBytes7(bytes7 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
}
function logBytes8(bytes8 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
}
function logBytes9(bytes9 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
}
function logBytes10(bytes10 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
}
function logBytes11(bytes11 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
}
function logBytes12(bytes12 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
}
function logBytes13(bytes13 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
}
function logBytes14(bytes14 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
}
function logBytes15(bytes15 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
}
function logBytes16(bytes16 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
}
function logBytes17(bytes17 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
}
function logBytes18(bytes18 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
}
function logBytes19(bytes19 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
}
function logBytes20(bytes20 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
}
function logBytes21(bytes21 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
}
function logBytes22(bytes22 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
}
function logBytes23(bytes23 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
}
function logBytes24(bytes24 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
}
function logBytes25(bytes25 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
}
function logBytes26(bytes26 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
}
function logBytes27(bytes27 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
}
function logBytes28(bytes28 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
}
function logBytes29(bytes29 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
}
function logBytes30(bytes30 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
}
function logBytes31(bytes31 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
}
function logBytes32(bytes32 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
}
function log(uint256 p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
}
function log(string memory p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
}
function log(bool p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
}
function log(address p0) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
}
function log(uint256 p0, uint256 p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1));
}
function log(uint256 p0, string memory p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1));
}
function log(uint256 p0, bool p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1));
}
function log(uint256 p0, address p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1));
}
function log(string memory p0, uint256 p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1));
}
function log(string memory p0, string memory p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
}
function log(string memory p0, bool p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
}
function log(string memory p0, address p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
}
function log(bool p0, uint256 p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1));
}
function log(bool p0, string memory p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
}
function log(bool p0, bool p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
}
function log(bool p0, address p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
}
function log(address p0, uint256 p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1));
}
function log(address p0, string memory p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
}
function log(address p0, bool p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
}
function log(address p0, address p1) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
}
function log(uint256 p0, uint256 p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2));
}
function log(uint256 p0, bool p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2));
}
function log(uint256 p0, bool p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2));
}
function log(uint256 p0, bool p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2));
}
function log(uint256 p0, bool p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2));
}
function log(uint256 p0, address p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2));
}
function log(uint256 p0, address p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2));
}
function log(uint256 p0, address p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2));
}
function log(uint256 p0, address p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2));
}
function log(string memory p0, string memory p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2));
}
function log(string memory p0, string memory p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
}
function log(string memory p0, string memory p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
}
function log(string memory p0, string memory p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
}
function log(string memory p0, bool p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2));
}
function log(string memory p0, bool p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
}
function log(string memory p0, bool p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
}
function log(string memory p0, bool p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
}
function log(string memory p0, address p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2));
}
function log(string memory p0, address p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
}
function log(string memory p0, address p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
}
function log(string memory p0, address p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
}
function log(bool p0, uint256 p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2));
}
function log(bool p0, uint256 p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2));
}
function log(bool p0, uint256 p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2));
}
function log(bool p0, uint256 p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2));
}
function log(bool p0, string memory p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2));
}
function log(bool p0, string memory p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
}
function log(bool p0, string memory p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
}
function log(bool p0, string memory p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
}
function log(bool p0, bool p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2));
}
function log(bool p0, bool p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
}
function log(bool p0, bool p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
}
function log(bool p0, bool p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
}
function log(bool p0, address p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2));
}
function log(bool p0, address p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
}
function log(bool p0, address p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
}
function log(bool p0, address p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
}
function log(address p0, uint256 p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2));
}
function log(address p0, uint256 p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2));
}
function log(address p0, uint256 p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2));
}
function log(address p0, uint256 p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2));
}
function log(address p0, string memory p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2));
}
function log(address p0, string memory p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
}
function log(address p0, string memory p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
}
function log(address p0, string memory p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
}
function log(address p0, bool p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2));
}
function log(address p0, bool p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
}
function log(address p0, bool p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
}
function log(address p0, bool p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
}
function log(address p0, address p1, uint256 p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2));
}
function log(address p0, address p1, string memory p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
}
function log(address p0, address p1, bool p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
}
function log(address p0, address p1, address p2) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, string memory p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, uint256 p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, string memory p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, bool p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, address p3) internal view {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
accounts[2] = 0x4B20993Bc481177ec7E8f571ceCaE8A9e22C02db;
accounts[3] = 0x78731D3Ca6b7E34aC0F824c42a7cC18A495cabaB;
accounts[4] = 0x617F2E2fD72FD9D5503197092aC168c91465E7f2;
accounts[5] = 0x17F6AD8Ef982297579C203069C1DbfFE4348c372;
accounts[6] = 0x5c6B0f7Bf3E7ce046039Bd8FABdfD3f9F5021678;
accounts[7] = 0x03C6FcED478cBbC9a4FAB34eF9f40767739D1Ff7;
accounts[8] = 0x1aE0EA34a72D944a8C7603FfB3eC30a6669E454C;
accounts[9] = 0x0A098Eda01Ce92ff4A4CCb7A4fFFb5A43EBC70DC;
accounts[10] = 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c;
accounts[11] = 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C;
accounts[12] = 0x4B0897b0513fdC7C541B6d9D7E929C4e5364D2dB;
accounts[13] = 0x583031D1113aD414F02576BD6afaBfb302140225;
accounts[14] = 0xdD870fA1b7C4700F2BD7f44238821C26f7392148;
return accounts[index];
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library Assert {
event AssertionEvent(
bool passed,
string message,
string methodName
);
event AssertionEventUint(
bool passed,
string message,
string methodName,
uint256 returned,
uint256 expected
);
event AssertionEventInt(
bool passed,
string message,
string methodName,
int256 returned,
int256 expected
);
event AssertionEventBool(
bool passed,
string message,
string methodName,
bool returned,
bool expected
);
event AssertionEventAddress(
bool passed,
string message,
string methodName,
address returned,
address expected
);
event AssertionEventBytes32(
bool passed,
string message,
string methodName,
bytes32 returned,
bytes32 expected
);
event AssertionEventString(
bool passed,
string message,
string methodName,
string returned,
string expected
);
event AssertionEventUintInt(
bool passed,
string message,
string methodName,
uint256 returned,
int256 expected
);
event AssertionEventIntUint(
bool passed,
string message,
string methodName,
int256 returned,
uint256 expected
);
function ok(bool a, string memory message) public returns (bool result) {
result = a;
emit AssertionEvent(result, message, "ok");
}
function equal(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventUint(result, message, "equal", a, b);
}
function equal(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventInt(result, message, "equal", a, b);
}
function equal(bool a, bool b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBool(result, message, "equal", a, b);
}
// TODO: only for certain versions of solc
//function equal(fixed a, fixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function equal(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
function equal(address a, address b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventAddress(result, message, "equal", a, b);
}
function equal(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBytes32(result, message, "equal", a, b);
}
function equal(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) == keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "equal", a, b);
}
function notEqual(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventUint(result, message, "notEqual", a, b);
}
function notEqual(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventInt(result, message, "notEqual", a, b);
}
function notEqual(bool a, bool b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBool(result, message, "notEqual", a, b);
}
// TODO: only for certain versions of solc
//function notEqual(fixed a, fixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function notEqual(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
function notEqual(address a, address b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventAddress(result, message, "notEqual", a, b);
}
function notEqual(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBytes32(result, message, "notEqual", a, b);
}
function notEqual(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) != keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "notEqual", a, b);
}
/*----------------- Greater than --------------------*/
function greaterThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventUint(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventInt(result, message, "greaterThan", a, b);
}
// TODO: safely compare between uint and int
function greaterThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative uint "a" always greater
result = true;
} else {
result = (a > uint(b));
}
emit AssertionEventUintInt(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative uint "b" always greater
result = false;
} else {
result = (uint(a) > b);
}
emit AssertionEventIntUint(result, message, "greaterThan", a, b);
}
/*----------------- Lesser than --------------------*/
function lesserThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventUint(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventInt(result, message, "lesserThan", a, b);
}
// TODO: safely compare between uint and int
function lesserThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative int "b" always lesser
result = false;
} else {
result = (a < uint(b));
}
emit AssertionEventUintInt(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative int "a" always lesser
result = true;
} else {
result = (uint(a) < b);
}
emit AssertionEventIntUint(result, message, "lesserThan", a, b);
}
}
pragma solidity >=0.4.22 <0.6.0;
contract test {
function get () public returns(uint) {
// should call a library method which returns `3`
return LibraryForTest.getFromLib();
}
}
library LibraryForTest {
function getFromLib() public returns(uint) {
return 3;
}
}
pragma solidity >=0.4.22 <0.6.0;
contract test {
function get () public returns(uint) {
// should call a library method which returns `3`
return LibraryForTest.getFromLib();
}
}
library LibraryForTest {
function getFromLib() public returns(uint) {
return 3;
}
}
pragma solidity >=0.4.22 <0.6.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "./1_contractSimpleLibrary.sol";
contract test3 {
test useSimpleLibrary;
function beforeAll () public {
useSimpleLibrary = new test();
}
function useSimpleLibraryTest () public {
Assert.equal(LibraryForTest.getFromLib(), uint(3), "the implemented library should return 3");
Assert.equal(useSimpleLibrary.get(), uint(3), "the implemented library should return 3");
}
}
pragma solidity >=0.4.22 <0.6.0;
contract sampleContract {
function get () public {
aLib.doStuff();
}
}
library aLib {
function doStuff() public {
}
}
{
"id": "0bbe010b07f5fa37b77ac732687c6b47",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.3;\n\ncontract ReceiveEther {\n /*\n Which function is called, fallback() or receive()?\n\n send Ether\n |\n msg.data is empty?\n / \\\n yes no\n / \\\nreceive() exists? fallback()\n / \\\n yes no\n / \\\n receive() fallback()\n */\n\n // Function to receive Ether. msg.data must be empty\n receive() external payable {}\n\n // Fallback function is called when msg.data is not empty\n fallback() external payable {}\n\n function getBalance() public view returns (uint) {\n return address(this).balance;\n }\n}\n\ncontract SendEther {\n function sendViaTransfer(address payable _to) public payable {\n // This function is no longer recommended for sending Ether.\n _to.transfer(msg.value);\n }\n\n function sendViaSend(address payable _to) public payable {\n // Send returns a boolean value indicating success or failure.\n // This function is not recommended for sending Ether.\n bool sent = _to.send(msg.value);\n require(sent, \"Failed to send Ether\");\n }\n\n function sendViaCall(address payable _to) public payable {\n // Call returns a boolean value indicating success or failure.\n // This is the current recommended method to use.\n (bool sent, bytes memory data) = _to.call{value: msg.value}(\"\");\n require(sent, \"Failed to send Ether\");\n }\n}\n\ncontract Charity {\n address public owner;\n \n constructor() {\n owner = msg.sender;\n }\n \n function donate() public payable {}\n\n function withdraw() public {\n uint amount = address(this).balance;\n\n (bool sent, bytes memory data) = owner.call{value: amount}(\"\");\n require(sent, \"Failed to send Ether\");\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": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": {
"Charity": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "donate",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "withdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1485:1840 contract Charity {... */\n mstore(0x40, 0x80)\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1539:1588 constructor() {... */\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\ntag_1:\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1571:1581 msg.sender */\n caller\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1563:1568 owner */\n 0x00\n dup1\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1563:1581 owner = msg.sender */\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 /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1485:1840 contract Charity {... */\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1485:1840 contract Charity {... */\n mstore(0x40, 0x80)\n jumpi(tag_1, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x3ccfd60b\n eq\n tag_2\n jumpi\n dup1\n 0x8da5cb5b\n eq\n tag_3\n jumpi\n dup1\n 0xed88c68e\n eq\n tag_4\n jumpi\n tag_1:\n 0x00\n dup1\n revert\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1639:1838 function withdraw() public {... */\n tag_2:\n callvalue\n dup1\n iszero\n tag_5\n jumpi\n 0x00\n dup1\n revert\n tag_5:\n pop\n tag_6\n tag_7\n jump\t// in\n tag_6:\n stop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1508:1528 address public owner */\n tag_3:\n callvalue\n dup1\n iszero\n tag_8\n jumpi\n 0x00\n dup1\n revert\n tag_8:\n pop\n tag_9\n tag_10\n jump\t// in\n tag_9:\n mload(0x40)\n tag_11\n swap2\n swap1\n tag_12\n jump\t// in\n tag_11:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1598:1633 function donate() public payable {} */\n tag_4:\n tag_13\n tag_14\n jump\t// in\n tag_13:\n stop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1639:1838 function withdraw() public {... */\n tag_7:\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1676:1687 uint amount */\n 0x00\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1690:1711 address(this).balance */\n selfbalance\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1676:1711 uint amount = address(this).balance */\n swap1\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1723:1732 bool sent */\n 0x00\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1734:1751 bytes memory data */\n dup1\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1755:1760 owner */\n 0x00\n dup1\n sload\n swap1\n 0x0100\n exp\n swap1\n div\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1755:1765 owner.call */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1773:1779 amount */\n dup4\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1755:1784 owner.call{value: amount}(\"\") */\n mload(0x40)\n tag_16\n swap1\n tag_17\n jump\t// in\n tag_16:\n 0x00\n mload(0x40)\n dup1\n dup4\n sub\n dup2\n dup6\n dup8\n gas\n call\n swap3\n pop\n pop\n pop\n returndatasize\n dup1\n 0x00\n dup2\n eq\n tag_20\n jumpi\n mload(0x40)\n swap2\n pop\n and(add(returndatasize, 0x3f), not(0x1f))\n dup3\n add\n 0x40\n mstore\n returndatasize\n dup3\n mstore\n returndatasize\n 0x00\n 0x20\n dup5\n add\n returndatacopy\n jump(tag_19)\n tag_20:\n 0x60\n swap2\n pop\n tag_19:\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1722:1784 (bool sent, bytes memory data) = owner.call{value: amount}(\"\") */\n swap2\n pop\n swap2\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1802:1806 sent */\n dup2\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1794:1831 require(sent, \"Failed to send Ether\") */\n tag_21\n jumpi\n mload(0x40)\n 0x08c379a000000000000000000000000000000000000000000000000000000000\n dup2\n mstore\n 0x04\n add\n tag_22\n swap1\n tag_23\n jump\t// in\n tag_22:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n revert\n tag_21:\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1666:1838 {... */\n pop\n pop\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1639:1838 function withdraw() public {... */\n jump\t// out\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1508:1528 address public owner */\n tag_10:\n 0x00\n dup1\n sload\n swap1\n 0x0100\n exp\n swap1\n div\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n dup2\n jump\t// out\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1598:1633 function donate() public payable {} */\n tag_14:\n jump\t// out\n /* \"#utility.yul\":7:125 */\n tag_26:\n /* \"#utility.yul\":94:118 */\n tag_28\n /* \"#utility.yul\":112:117 */\n dup2\n /* \"#utility.yul\":94:118 */\n tag_29\n jump\t// in\n tag_28:\n /* \"#utility.yul\":89:92 */\n dup3\n /* \"#utility.yul\":82:119 */\n mstore\n /* \"#utility.yul\":7:125 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":131:497 */\n tag_30:\n /* \"#utility.yul\":273:276 */\n 0x00\n /* \"#utility.yul\":294:361 */\n tag_32\n /* \"#utility.yul\":358:360 */\n 0x14\n /* \"#utility.yul\":353:356 */\n dup4\n /* \"#utility.yul\":294:361 */\n tag_33\n jump\t// in\n tag_32:\n /* \"#utility.yul\":287:361 */\n swap2\n pop\n /* \"#utility.yul\":370:463 */\n tag_34\n /* \"#utility.yul\":459:462 */\n dup3\n /* \"#utility.yul\":370:463 */\n tag_35\n jump\t// in\n tag_34:\n /* \"#utility.yul\":488:490 */\n 0x20\n /* \"#utility.yul\":483:486 */\n dup3\n /* \"#utility.yul\":479:491 */\n add\n /* \"#utility.yul\":472:491 */\n swap1\n pop\n /* \"#utility.yul\":131:497 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":503:901 */\n tag_36:\n /* \"#utility.yul\":662:665 */\n 0x00\n /* \"#utility.yul\":683:766 */\n tag_38\n /* \"#utility.yul\":764:765 */\n 0x00\n /* \"#utility.yul\":759:762 */\n dup4\n /* \"#utility.yul\":683:766 */\n tag_39\n jump\t// in\n tag_38:\n /* \"#utility.yul\":676:766 */\n swap2\n pop\n /* \"#utility.yul\":775:868 */\n tag_40\n /* \"#utility.yul\":864:867 */\n dup3\n /* \"#utility.yul\":775:868 */\n tag_41\n jump\t// in\n tag_40:\n /* \"#utility.yul\":893:894 */\n 0x00\n /* \"#utility.yul\":888:891 */\n dup3\n /* \"#utility.yul\":884:895 */\n add\n /* \"#utility.yul\":877:895 */\n swap1\n pop\n /* \"#utility.yul\":503:901 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":907:1286 */\n tag_17:\n /* \"#utility.yul\":1091:1094 */\n 0x00\n /* \"#utility.yul\":1113:1260 */\n tag_43\n /* \"#utility.yul\":1256:1259 */\n dup3\n /* \"#utility.yul\":1113:1260 */\n tag_36\n jump\t// in\n tag_43:\n /* \"#utility.yul\":1106:1260 */\n swap2\n pop\n /* \"#utility.yul\":1277:1280 */\n dup2\n /* \"#utility.yul\":1270:1280 */\n swap1\n pop\n /* \"#utility.yul\":907:1286 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1292:1514 */\n tag_12:\n /* \"#utility.yul\":1385:1389 */\n 0x00\n /* \"#utility.yul\":1423:1425 */\n 0x20\n /* \"#utility.yul\":1412:1421 */\n dup3\n /* \"#utility.yul\":1408:1426 */\n add\n /* \"#utility.yul\":1400:1426 */\n swap1\n pop\n /* \"#utility.yul\":1436:1507 */\n tag_45\n /* \"#utility.yul\":1504:1505 */\n 0x00\n /* \"#utility.yul\":1493:1502 */\n dup4\n /* \"#utility.yul\":1489:1506 */\n add\n /* \"#utility.yul\":1480:1486 */\n dup5\n /* \"#utility.yul\":1436:1507 */\n tag_26\n jump\t// in\n tag_45:\n /* \"#utility.yul\":1292:1514 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1520:1939 */\n tag_23:\n /* \"#utility.yul\":1686:1690 */\n 0x00\n /* \"#utility.yul\":1724:1726 */\n 0x20\n /* \"#utility.yul\":1713:1722 */\n dup3\n /* \"#utility.yul\":1709:1727 */\n add\n /* \"#utility.yul\":1701:1727 */\n swap1\n pop\n /* \"#utility.yul\":1773:1782 */\n dup2\n /* \"#utility.yul\":1767:1771 */\n dup2\n /* \"#utility.yul\":1763:1783 */\n sub\n /* \"#utility.yul\":1759:1760 */\n 0x00\n /* \"#utility.yul\":1748:1757 */\n dup4\n /* \"#utility.yul\":1744:1761 */\n add\n /* \"#utility.yul\":1737:1784 */\n mstore\n /* \"#utility.yul\":1801:1932 */\n tag_47\n /* \"#utility.yul\":1927:1931 */\n dup2\n /* \"#utility.yul\":1801:1932 */\n tag_30\n jump\t// in\n tag_47:\n /* \"#utility.yul\":1793:1932 */\n swap1\n pop\n /* \"#utility.yul\":1520:1939 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1945:2092 */\n tag_39:\n /* \"#utility.yul\":2046:2057 */\n 0x00\n /* \"#utility.yul\":2083:2086 */\n dup2\n /* \"#utility.yul\":2068:2086 */\n swap1\n pop\n /* \"#utility.yul\":1945:2092 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2098:2267 */\n tag_33:\n /* \"#utility.yul\":2182:2193 */\n 0x00\n /* \"#utility.yul\":2216:2222 */\n dup3\n /* \"#utility.yul\":2211:2214 */\n dup3\n /* \"#utility.yul\":2204:2223 */\n mstore\n /* \"#utility.yul\":2256:2260 */\n 0x20\n /* \"#utility.yul\":2251:2254 */\n dup3\n /* \"#utility.yul\":2247:2261 */\n add\n /* \"#utility.yul\":2232:2261 */\n swap1\n pop\n /* \"#utility.yul\":2098:2267 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2273:2369 */\n tag_29:\n /* \"#utility.yul\":2310:2317 */\n 0x00\n /* \"#utility.yul\":2339:2363 */\n tag_51\n /* \"#utility.yul\":2357:2362 */\n dup3\n /* \"#utility.yul\":2339:2363 */\n tag_52\n jump\t// in\n tag_51:\n /* \"#utility.yul\":2328:2363 */\n swap1\n pop\n /* \"#utility.yul\":2273:2369 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2375:2501 */\n tag_52:\n /* \"#utility.yul\":2412:2419 */\n 0x00\n /* \"#utility.yul\":2452:2494 */\n 0xffffffffffffffffffffffffffffffffffffffff\n /* \"#utility.yul\":2445:2450 */\n dup3\n /* \"#utility.yul\":2441:2495 */\n and\n /* \"#utility.yul\":2430:2495 */\n swap1\n pop\n /* \"#utility.yul\":2375:2501 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2507:2677 */\n tag_35:\n /* \"#utility.yul\":2647:2669 */\n 0x4661696c656420746f2073656e64204574686572000000000000000000000000\n /* \"#utility.yul\":2643:2644 */\n 0x00\n /* \"#utility.yul\":2635:2641 */\n dup3\n /* \"#utility.yul\":2631:2645 */\n add\n /* \"#utility.yul\":2624:2670 */\n mstore\n /* \"#utility.yul\":2507:2677 */\n pop\n jump\t// out\n /* \"#utility.yul\":2683:2797 */\n tag_41:\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220d6950902f49662848be2d366fd0e8b0b8ae993ceadbb80203a770dac23c2976164736f6c63430008070033\n}\n",
"bytecode": {
"functionDebugData": {
"@_89": {
"entryPoint": null,
"id": 89,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102d8806100606000396000f3fe6080604052600436106100345760003560e01c80633ccfd60b146100395780638da5cb5b14610050578063ed88c68e1461007b575b600080fd5b34801561004557600080fd5b5061004e610085565b005b34801561005c57600080fd5b5061006561015d565b60405161007291906101ed565b60405180910390f35b610083610181565b005b600047905060008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16836040516100d1906101d8565b60006040518083038185875af1925050503d806000811461010e576040519150601f19603f3d011682016040523d82523d6000602084013e610113565b606091505b509150915081610158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014f90610208565b60405180910390fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b565b61018c81610244565b82525050565b600061019f601483610233565b91506101aa82610276565b602082019050919050565b60006101c2600083610228565b91506101cd8261029f565b600082019050919050565b60006101e3826101b5565b9150819050919050565b60006020820190506102026000830184610183565b92915050565b6000602082019050818103600083015261022181610192565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061024f82610256565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b5056fea2646970667358221220d6950902f49662848be2d366fd0e8b0b8ae993ceadbb80203a770dac23c2976164736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x2D8 DUP1 PUSH2 0x60 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x50 JUMPI DUP1 PUSH4 0xED88C68E EQ PUSH2 0x7B JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x45 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x4E PUSH2 0x85 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x65 PUSH2 0x15D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x72 SWAP2 SWAP1 PUSH2 0x1ED JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x83 PUSH2 0x181 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP1 PUSH2 0x1D8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x10E JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x113 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x158 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x14F SWAP1 PUSH2 0x208 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x18C DUP2 PUSH2 0x244 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19F PUSH1 0x14 DUP4 PUSH2 0x233 JUMP JUMPDEST SWAP2 POP PUSH2 0x1AA DUP3 PUSH2 0x276 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1C2 PUSH1 0x0 DUP4 PUSH2 0x228 JUMP JUMPDEST SWAP2 POP PUSH2 0x1CD DUP3 PUSH2 0x29F JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1E3 DUP3 PUSH2 0x1B5 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x202 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x183 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x221 DUP2 PUSH2 0x192 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x24F DUP3 PUSH2 0x256 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD6 SWAP6 MULMOD MUL DELEGATECALL SWAP7 PUSH3 0x848BE2 0xD3 PUSH7 0xFD0E8B0B8AE993 0xCE 0xAD 0xBB DUP1 KECCAK256 GASPRICE PUSH24 0xDAC23C2976164736F6C6343000807003300000000000000 ",
"sourceMap": "1485:355:0:-:0;;;1539:49;;;;;;;;;;1571:10;1563:5;;:18;;;;;;;;;;;;;;;;;;1485:355;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@donate_93": {
"entryPoint": 385,
"id": 93,
"parameterSlots": 0,
"returnSlots": 0
},
"@owner_80": {
"entryPoint": 349,
"id": 80,
"parameterSlots": 0,
"returnSlots": 0
},
"@withdraw_121": {
"entryPoint": 133,
"id": 121,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 387,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack": {
"entryPoint": 402,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 437,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 472,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 493,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 520,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 552,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 563,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 580,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 598,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb": {
"entryPoint": 630,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470": {
"entryPoint": 671,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:2800:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "72:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "112:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "94:17:1"
},
"nodeType": "YulFunctionCall",
"src": "94:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "82:6:1"
},
"nodeType": "YulFunctionCall",
"src": "82:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "82:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "60:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "67:3:1",
"type": ""
}
],
"src": "7:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "277:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "287:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "353:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "358:2:1",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "294:58:1"
},
"nodeType": "YulFunctionCall",
"src": "294:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "287:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "459:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulIdentifier",
"src": "370:88:1"
},
"nodeType": "YulFunctionCall",
"src": "370:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "370:93:1"
},
{
"nodeType": "YulAssignment",
"src": "472:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "483:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "488:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "479:3:1"
},
"nodeType": "YulFunctionCall",
"src": "479:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "472:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "265:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "273:3:1",
"type": ""
}
],
"src": "131:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "666:235:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "676:90:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "759:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "764:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "683:75:1"
},
"nodeType": "YulFunctionCall",
"src": "683:83:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "676:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "864:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulIdentifier",
"src": "775:88:1"
},
"nodeType": "YulFunctionCall",
"src": "775:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "775:93:1"
},
{
"nodeType": "YulAssignment",
"src": "877:18:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "888:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "893:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "884:3:1"
},
"nodeType": "YulFunctionCall",
"src": "884:11:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "877:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "654:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "662:3:1",
"type": ""
}
],
"src": "503:398:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1095:191:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1106:154:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1256:3:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1113:141:1"
},
"nodeType": "YulFunctionCall",
"src": "1113:147:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1106:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1270:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1277:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1270:3:1"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1082:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1091:3:1",
"type": ""
}
],
"src": "907:379:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1390:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1400:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1412:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1423:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1408:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1408:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1400:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1480:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1493:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1504:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1489:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1489:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "1436:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1436:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1436:71:1"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1362:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1374:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1385:4:1",
"type": ""
}
],
"src": "1292:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1691:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1701:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1713:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1724:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1709:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1709:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1701:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1748:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1759:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1744:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1744:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1767:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1773:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1763:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1763:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1737:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1737:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "1737:47:1"
},
{
"nodeType": "YulAssignment",
"src": "1793:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1927:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1801:124:1"
},
"nodeType": "YulFunctionCall",
"src": "1801:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1793:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1671:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1686:4:1",
"type": ""
}
],
"src": "1520:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2058:34:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2068:18:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2083:3:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2068:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2030:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2035:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2046:11:1",
"type": ""
}
],
"src": "1945:147:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2194:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2211:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2216:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2204:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2204:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "2204:19:1"
},
{
"nodeType": "YulAssignment",
"src": "2232:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2251:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2256:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2247:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2247:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2232:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2166:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2171:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2182:11:1",
"type": ""
}
],
"src": "2098:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2318:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2328:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2357:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "2339:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2339:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2328:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2300:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2310:7:1",
"type": ""
}
],
"src": "2273:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2420:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2430:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2445:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2452:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2441:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2441:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2430:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2402:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2412:7:1",
"type": ""
}
],
"src": "2375:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2613:64:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2635:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2643:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2631:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2631:14:1"
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "2647:22:1",
"type": "",
"value": "Failed to send Ether"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2624:46:1"
},
"nodeType": "YulExpressionStatement",
"src": "2624:46:1"
}
]
},
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2605:6:1",
"type": ""
}
],
"src": "2507:170:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2789:8:1",
"statements": []
},
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2781:6:1",
"type": ""
}
],
"src": "2683:114:1"
}
]
},
"contents": "{\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, 0)\n store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(pos)\n end := add(pos, 0)\n }\n\n function abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos ) -> end {\n\n pos := abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__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_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(memPtr) {\n\n mstore(add(memPtr, 0), \"Failed to send Ether\")\n\n }\n\n function store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(memPtr) {\n\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600436106100345760003560e01c80633ccfd60b146100395780638da5cb5b14610050578063ed88c68e1461007b575b600080fd5b34801561004557600080fd5b5061004e610085565b005b34801561005c57600080fd5b5061006561015d565b60405161007291906101ed565b60405180910390f35b610083610181565b005b600047905060008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16836040516100d1906101d8565b60006040518083038185875af1925050503d806000811461010e576040519150601f19603f3d011682016040523d82523d6000602084013e610113565b606091505b509150915081610158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014f90610208565b60405180910390fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b565b61018c81610244565b82525050565b600061019f601483610233565b91506101aa82610276565b602082019050919050565b60006101c2600083610228565b91506101cd8261029f565b600082019050919050565b60006101e3826101b5565b9150819050919050565b60006020820190506102026000830184610183565b92915050565b6000602082019050818103600083015261022181610192565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061024f82610256565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b5056fea2646970667358221220d6950902f49662848be2d366fd0e8b0b8ae993ceadbb80203a770dac23c2976164736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x50 JUMPI DUP1 PUSH4 0xED88C68E EQ PUSH2 0x7B JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x45 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x4E PUSH2 0x85 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x65 PUSH2 0x15D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x72 SWAP2 SWAP1 PUSH2 0x1ED JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x83 PUSH2 0x181 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP1 PUSH2 0x1D8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x10E JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x113 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x158 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x14F SWAP1 PUSH2 0x208 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x18C DUP2 PUSH2 0x244 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19F PUSH1 0x14 DUP4 PUSH2 0x233 JUMP JUMPDEST SWAP2 POP PUSH2 0x1AA DUP3 PUSH2 0x276 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1C2 PUSH1 0x0 DUP4 PUSH2 0x228 JUMP JUMPDEST SWAP2 POP PUSH2 0x1CD DUP3 PUSH2 0x29F JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1E3 DUP3 PUSH2 0x1B5 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x202 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x183 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x221 DUP2 PUSH2 0x192 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x24F DUP3 PUSH2 0x256 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD6 SWAP6 MULMOD MUL DELEGATECALL SWAP7 PUSH3 0x848BE2 0xD3 PUSH7 0xFD0E8B0B8AE993 0xCE 0xAD 0xBB DUP1 KECCAK256 GASPRICE PUSH24 0xDAC23C2976164736F6C6343000807003300000000000000 ",
"sourceMap": "1485:355:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1639:199;;;;;;;;;;;;;:::i;:::-;;1508:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1598:35;;;:::i;:::-;;1639:199;1676:11;1690:21;1676:35;;1723:9;1734:17;1755:5;;;;;;;;;;:10;;1773:6;1755:29;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1722:62;;;;1802:4;1794:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;1666:172;;;1639:199::o;1508:20::-;;;;;;;;;;;;:::o;1598:35::-;:::o;7:118:1:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;7:118;;:::o;131:366::-;273:3;294:67;358:2;353:3;294:67;:::i;:::-;287:74;;370:93;459:3;370:93;:::i;:::-;488:2;483:3;479:12;472:19;;131:366;;;:::o;503:398::-;662:3;683:83;764:1;759:3;683:83;:::i;:::-;676:90;;775:93;864:3;775:93;:::i;:::-;893:1;888:3;884:11;877:18;;503:398;;;:::o;907:379::-;1091:3;1113:147;1256:3;1113:147;:::i;:::-;1106:154;;1277:3;1270:10;;907:379;;;:::o;1292:222::-;1385:4;1423:2;1412:9;1408:18;1400:26;;1436:71;1504:1;1493:9;1489:17;1480:6;1436:71;:::i;:::-;1292:222;;;;:::o;1520:419::-;1686:4;1724:2;1713:9;1709:18;1701:26;;1773:9;1767:4;1763:20;1759:1;1748:9;1744:17;1737:47;1801:131;1927:4;1801:131;:::i;:::-;1793:139;;1520:419;;;:::o;1945:147::-;2046:11;2083:3;2068:18;;1945:147;;;;:::o;2098:169::-;2182:11;2216:6;2211:3;2204:19;2256:4;2251:3;2247:14;2232:29;;2098:169;;;;:::o;2273:96::-;2310:7;2339:24;2357:5;2339:24;:::i;:::-;2328:35;;2273:96;;;:::o;2375:126::-;2412:7;2452:42;2445:5;2441:54;2430:65;;2375:126;;;:::o;2507:170::-;2647:22;2643:1;2635:6;2631:14;2624:46;2507:170;:::o;2683:114::-;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "145600",
"executionCost": "24456",
"totalCost": "170056"
},
"external": {
"donate()": "142",
"owner()": "2511",
"withdraw()": "infinite"
}
},
"legacyAssembly": {
".code": [
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1485,
"end": 1840,
"name": "MSTORE",
"source": 0
},
{
"begin": 1539,
"end": 1588,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 1539,
"end": 1588,
"name": "DUP1",
"source": 0
},
{
"begin": 1539,
"end": 1588,
"name": "ISZERO",
"source": 0
},
{
"begin": 1539,
"end": 1588,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 1539,
"end": 1588,
"name": "JUMPI",
"source": 0
},
{
"begin": 1539,
"end": 1588,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1539,
"end": 1588,
"name": "DUP1",
"source": 0
},
{
"begin": 1539,
"end": 1588,
"name": "REVERT",
"source": 0
},
{
"begin": 1539,
"end": 1588,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 1539,
"end": 1588,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1539,
"end": 1588,
"name": "POP",
"source": 0
},
{
"begin": 1571,
"end": 1581,
"name": "CALLER",
"source": 0
},
{
"begin": 1563,
"end": 1568,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1563,
"end": 1568,
"name": "DUP1",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 1563,
"end": 1581,
"name": "EXP",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "DUP2",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "SLOAD",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "DUP2",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1563,
"end": 1581,
"name": "MUL",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "NOT",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "AND",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "SWAP1",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "DUP4",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1563,
"end": 1581,
"name": "AND",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "MUL",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "OR",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "SWAP1",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "SSTORE",
"source": 0
},
{
"begin": 1563,
"end": 1581,
"name": "POP",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1485,
"end": 1840,
"name": "DUP1",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1485,
"end": 1840,
"name": "CODECOPY",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1485,
"end": 1840,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220d6950902f49662848be2d366fd0e8b0b8ae993ceadbb80203a770dac23c2976164736f6c63430008070033",
".code": [
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1485,
"end": 1840,
"name": "MSTORE",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 1485,
"end": 1840,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "LT",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 1485,
"end": 1840,
"name": "JUMPI",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1485,
"end": 1840,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 1485,
"end": 1840,
"name": "SHR",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "DUP1",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "3CCFD60B"
},
{
"begin": 1485,
"end": 1840,
"name": "EQ",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 1485,
"end": 1840,
"name": "JUMPI",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "DUP1",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "8DA5CB5B"
},
{
"begin": 1485,
"end": 1840,
"name": "EQ",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 1485,
"end": 1840,
"name": "JUMPI",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "DUP1",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "ED88C68E"
},
{
"begin": 1485,
"end": 1840,
"name": "EQ",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 1485,
"end": 1840,
"name": "JUMPI",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 1485,
"end": 1840,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1485,
"end": 1840,
"name": "DUP1",
"source": 0
},
{
"begin": 1485,
"end": 1840,
"name": "REVERT",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 1639,
"end": 1838,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "DUP1",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "ISZERO",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 1639,
"end": 1838,
"name": "JUMPI",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1639,
"end": 1838,
"name": "DUP1",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "REVERT",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 1639,
"end": 1838,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "POP",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 1639,
"end": 1838,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 1639,
"end": 1838,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1639,
"end": 1838,
"name": "tag",
"source": 0,
"value": "6"
},
{
"begin": 1639,
"end": 1838,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "STOP",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 1508,
"end": 1528,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "DUP1",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "ISZERO",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 1508,
"end": 1528,
"name": "JUMPI",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1508,
"end": 1528,
"name": "DUP1",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "REVERT",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 1508,
"end": 1528,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "POP",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 1508,
"end": 1528,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1508,
"end": 1528,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 1508,
"end": 1528,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1508,
"end": 1528,
"name": "MLOAD",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 1508,
"end": 1528,
"name": "SWAP2",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "SWAP1",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 1508,
"end": 1528,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1508,
"end": 1528,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 1508,
"end": 1528,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1508,
"end": 1528,
"name": "MLOAD",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "DUP1",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "SWAP2",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "SUB",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "SWAP1",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "RETURN",
"source": 0
},
{
"begin": 1598,
"end": 1633,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 1598,
"end": 1633,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1598,
"end": 1633,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 1598,
"end": 1633,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 1598,
"end": 1633,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1598,
"end": 1633,
"name": "tag",
"source": 0,
"value": "13"
},
{
"begin": 1598,
"end": 1633,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1598,
"end": 1633,
"name": "STOP",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 1639,
"end": 1838,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1676,
"end": 1687,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1690,
"end": 1711,
"name": "SELFBALANCE",
"source": 0
},
{
"begin": 1676,
"end": 1711,
"name": "SWAP1",
"source": 0
},
{
"begin": 1676,
"end": 1711,
"name": "POP",
"source": 0
},
{
"begin": 1723,
"end": 1732,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1734,
"end": 1751,
"name": "DUP1",
"source": 0
},
{
"begin": 1755,
"end": 1760,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1755,
"end": 1760,
"name": "DUP1",
"source": 0
},
{
"begin": 1755,
"end": 1760,
"name": "SLOAD",
"source": 0
},
{
"begin": 1755,
"end": 1760,
"name": "SWAP1",
"source": 0
},
{
"begin": 1755,
"end": 1760,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 1755,
"end": 1760,
"name": "EXP",
"source": 0
},
{
"begin": 1755,
"end": 1760,
"name": "SWAP1",
"source": 0
},
{
"begin": 1755,
"end": 1760,
"name": "DIV",
"source": 0
},
{
"begin": 1755,
"end": 1760,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1755,
"end": 1760,
"name": "AND",
"source": 0
},
{
"begin": 1755,
"end": 1765,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1755,
"end": 1765,
"name": "AND",
"source": 0
},
{
"begin": 1773,
"end": 1779,
"name": "DUP4",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1755,
"end": 1784,
"name": "MLOAD",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH [tag]",
"source": 0,
"value": "16"
},
{
"begin": 1755,
"end": 1784,
"name": "SWAP1",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH [tag]",
"source": 0,
"value": "17"
},
{
"begin": 1755,
"end": 1784,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1755,
"end": 1784,
"name": "tag",
"source": 0,
"value": "16"
},
{
"begin": 1755,
"end": 1784,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1755,
"end": 1784,
"name": "MLOAD",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "DUP1",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "DUP4",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "SUB",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "DUP2",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "DUP6",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "DUP8",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "GAS",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "CALL",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "SWAP3",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "POP",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "POP",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "POP",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "DUP1",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1755,
"end": 1784,
"name": "DUP2",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "EQ",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH [tag]",
"source": 0,
"value": "20"
},
{
"begin": 1755,
"end": 1784,
"name": "JUMPI",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1755,
"end": 1784,
"name": "MLOAD",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "SWAP2",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "POP",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 1755,
"end": 1784,
"name": "NOT",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "3F"
},
{
"begin": 1755,
"end": 1784,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "ADD",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "AND",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "DUP3",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "ADD",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1755,
"end": 1784,
"name": "MSTORE",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "DUP3",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "MSTORE",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 1755,
"end": 1784,
"name": "DUP5",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "ADD",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "RETURNDATACOPY",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH [tag]",
"source": 0,
"value": "19"
},
{
"begin": 1755,
"end": 1784,
"name": "JUMP",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "tag",
"source": 0,
"value": "20"
},
{
"begin": 1755,
"end": 1784,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "PUSH",
"source": 0,
"value": "60"
},
{
"begin": 1755,
"end": 1784,
"name": "SWAP2",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "POP",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "tag",
"source": 0,
"value": "19"
},
{
"begin": 1755,
"end": 1784,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1755,
"end": 1784,
"name": "POP",
"source": 0
},
{
"begin": 1722,
"end": 1784,
"name": "SWAP2",
"source": 0
},
{
"begin": 1722,
"end": 1784,
"name": "POP",
"source": 0
},
{
"begin": 1722,
"end": 1784,
"name": "SWAP2",
"source": 0
},
{
"begin": 1722,
"end": 1784,
"name": "POP",
"source": 0
},
{
"begin": 1802,
"end": 1806,
"name": "DUP2",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "PUSH [tag]",
"source": 0,
"value": "21"
},
{
"begin": 1794,
"end": 1831,
"name": "JUMPI",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1794,
"end": 1831,
"name": "MLOAD",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "PUSH",
"source": 0,
"value": "8C379A000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1794,
"end": 1831,
"name": "DUP2",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "MSTORE",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 1794,
"end": 1831,
"name": "ADD",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "PUSH [tag]",
"source": 0,
"value": "22"
},
{
"begin": 1794,
"end": 1831,
"name": "SWAP1",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "PUSH [tag]",
"source": 0,
"value": "23"
},
{
"begin": 1794,
"end": 1831,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1794,
"end": 1831,
"name": "tag",
"source": 0,
"value": "22"
},
{
"begin": 1794,
"end": 1831,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1794,
"end": 1831,
"name": "MLOAD",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "DUP1",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "SWAP2",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "SUB",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "SWAP1",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "REVERT",
"source": 0
},
{
"begin": 1794,
"end": 1831,
"name": "tag",
"source": 0,
"value": "21"
},
{
"begin": 1794,
"end": 1831,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1666,
"end": 1838,
"name": "POP",
"source": 0
},
{
"begin": 1666,
"end": 1838,
"name": "POP",
"source": 0
},
{
"begin": 1666,
"end": 1838,
"name": "POP",
"source": 0
},
{
"begin": 1639,
"end": 1838,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 1508,
"end": 1528,
"name": "tag",
"source": 0,
"value": "10"
},
{
"begin": 1508,
"end": 1528,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1508,
"end": 1528,
"name": "DUP1",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "SLOAD",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "SWAP1",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 1508,
"end": 1528,
"name": "EXP",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "SWAP1",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "DIV",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1508,
"end": 1528,
"name": "AND",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "DUP2",
"source": 0
},
{
"begin": 1508,
"end": 1528,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 1598,
"end": 1633,
"name": "tag",
"source": 0,
"value": "14"
},
{
"begin": 1598,
"end": 1633,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1598,
"end": 1633,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 125,
"name": "tag",
"source": 1,
"value": "26"
},
{
"begin": 7,
"end": 125,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 94,
"end": 118,
"name": "PUSH [tag]",
"source": 1,
"value": "28"
},
{
"begin": 112,
"end": 117,
"name": "DUP2",
"source": 1
},
{
"begin": 94,
"end": 118,
"name": "PUSH [tag]",
"source": 1,
"value": "29"
},
{
"begin": 94,
"end": 118,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 94,
"end": 118,
"name": "tag",
"source": 1,
"value": "28"
},
{
"begin": 94,
"end": 118,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 89,
"end": 92,
"name": "DUP3",
"source": 1
},
{
"begin": 82,
"end": 119,
"name": "MSTORE",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 131,
"end": 497,
"name": "tag",
"source": 1,
"value": "30"
},
{
"begin": 131,
"end": 497,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 273,
"end": 276,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 294,
"end": 361,
"name": "PUSH [tag]",
"source": 1,
"value": "32"
},
{
"begin": 358,
"end": 360,
"name": "PUSH",
"source": 1,
"value": "14"
},
{
"begin": 353,
"end": 356,
"name": "DUP4",
"source": 1
},
{
"begin": 294,
"end": 361,
"name": "PUSH [tag]",
"source": 1,
"value": "33"
},
{
"begin": 294,
"end": 361,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 294,
"end": 361,
"name": "tag",
"source": 1,
"value": "32"
},
{
"begin": 294,
"end": 361,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 287,
"end": 361,
"name": "SWAP2",
"source": 1
},
{
"begin": 287,
"end": 361,
"name": "POP",
"source": 1
},
{
"begin": 370,
"end": 463,
"name": "PUSH [tag]",
"source": 1,
"value": "34"
},
{
"begin": 459,
"end": 462,
"name": "DUP3",
"source": 1
},
{
"begin": 370,
"end": 463,
"name": "PUSH [tag]",
"source": 1,
"value": "35"
},
{
"begin": 370,
"end": 463,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 370,
"end": 463,
"name": "tag",
"source": 1,
"value": "34"
},
{
"begin": 370,
"end": 463,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 488,
"end": 490,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 483,
"end": 486,
"name": "DUP3",
"source": 1
},
{
"begin": 479,
"end": 491,
"name": "ADD",
"source": 1
},
{
"begin": 472,
"end": 491,
"name": "SWAP1",
"source": 1
},
{
"begin": 472,
"end": 491,
"name": "POP",
"source": 1
},
{
"begin": 131,
"end": 497,
"name": "SWAP2",
"source": 1
},
{
"begin": 131,
"end": 497,
"name": "SWAP1",
"source": 1
},
{
"begin": 131,
"end": 497,
"name": "POP",
"source": 1
},
{
"begin": 131,
"end": 497,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 503,
"end": 901,
"name": "tag",
"source": 1,
"value": "36"
},
{
"begin": 503,
"end": 901,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 662,
"end": 665,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 683,
"end": 766,
"name": "PUSH [tag]",
"source": 1,
"value": "38"
},
{
"begin": 764,
"end": 765,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 759,
"end": 762,
"name": "DUP4",
"source": 1
},
{
"begin": 683,
"end": 766,
"name": "PUSH [tag]",
"source": 1,
"value": "39"
},
{
"begin": 683,
"end": 766,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 683,
"end": 766,
"name": "tag",
"source": 1,
"value": "38"
},
{
"begin": 683,
"end": 766,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 676,
"end": 766,
"name": "SWAP2",
"source": 1
},
{
"begin": 676,
"end": 766,
"name": "POP",
"source": 1
},
{
"begin": 775,
"end": 868,
"name": "PUSH [tag]",
"source": 1,
"value": "40"
},
{
"begin": 864,
"end": 867,
"name": "DUP3",
"source": 1
},
{
"begin": 775,
"end": 868,
"name": "PUSH [tag]",
"source": 1,
"value": "41"
},
{
"begin": 775,
"end": 868,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 775,
"end": 868,
"name": "tag",
"source": 1,
"value": "40"
},
{
"begin": 775,
"end": 868,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 893,
"end": 894,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 888,
"end": 891,
"name": "DUP3",
"source": 1
},
{
"begin": 884,
"end": 895,
"name": "ADD",
"source": 1
},
{
"begin": 877,
"end": 895,
"name": "SWAP1",
"source": 1
},
{
"begin": 877,
"end": 895,
"name": "POP",
"source": 1
},
{
"begin": 503,
"end": 901,
"name": "SWAP2",
"source": 1
},
{
"begin": 503,
"end": 901,
"name": "SWAP1",
"source": 1
},
{
"begin": 503,
"end": 901,
"name": "POP",
"source": 1
},
{
"begin": 503,
"end": 901,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 907,
"end": 1286,
"name": "tag",
"source": 1,
"value": "17"
},
{
"begin": 907,
"end": 1286,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1091,
"end": 1094,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1113,
"end": 1260,
"name": "PUSH [tag]",
"source": 1,
"value": "43"
},
{
"begin": 1256,
"end": 1259,
"name": "DUP3",
"source": 1
},
{
"begin": 1113,
"end": 1260,
"name": "PUSH [tag]",
"source": 1,
"value": "36"
},
{
"begin": 1113,
"end": 1260,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1113,
"end": 1260,
"name": "tag",
"source": 1,
"value": "43"
},
{
"begin": 1113,
"end": 1260,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1106,
"end": 1260,
"name": "SWAP2",
"source": 1
},
{
"begin": 1106,
"end": 1260,
"name": "POP",
"source": 1
},
{
"begin": 1277,
"end": 1280,
"name": "DUP2",
"source": 1
},
{
"begin": 1270,
"end": 1280,
"name": "SWAP1",
"source": 1
},
{
"begin": 1270,
"end": 1280,
"name": "POP",
"source": 1
},
{
"begin": 907,
"end": 1286,
"name": "SWAP2",
"source": 1
},
{
"begin": 907,
"end": 1286,
"name": "SWAP1",
"source": 1
},
{
"begin": 907,
"end": 1286,
"name": "POP",
"source": 1
},
{
"begin": 907,
"end": 1286,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1292,
"end": 1514,
"name": "tag",
"source": 1,
"value": "12"
},
{
"begin": 1292,
"end": 1514,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1385,
"end": 1389,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1423,
"end": 1425,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1412,
"end": 1421,
"name": "DUP3",
"source": 1
},
{
"begin": 1408,
"end": 1426,
"name": "ADD",
"source": 1
},
{
"begin": 1400,
"end": 1426,
"name": "SWAP1",
"source": 1
},
{
"begin": 1400,
"end": 1426,
"name": "POP",
"source": 1
},
{
"begin": 1436,
"end": 1507,
"name": "PUSH [tag]",
"source": 1,
"value": "45"
},
{
"begin": 1504,
"end": 1505,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1493,
"end": 1502,
"name": "DUP4",
"source": 1
},
{
"begin": 1489,
"end": 1506,
"name": "ADD",
"source": 1
},
{
"begin": 1480,
"end": 1486,
"name": "DUP5",
"source": 1
},
{
"begin": 1436,
"end": 1507,
"name": "PUSH [tag]",
"source": 1,
"value": "26"
},
{
"begin": 1436,
"end": 1507,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1436,
"end": 1507,
"name": "tag",
"source": 1,
"value": "45"
},
{
"begin": 1436,
"end": 1507,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1292,
"end": 1514,
"name": "SWAP3",
"source": 1
},
{
"begin": 1292,
"end": 1514,
"name": "SWAP2",
"source": 1
},
{
"begin": 1292,
"end": 1514,
"name": "POP",
"source": 1
},
{
"begin": 1292,
"end": 1514,
"name": "POP",
"source": 1
},
{
"begin": 1292,
"end": 1514,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1520,
"end": 1939,
"name": "tag",
"source": 1,
"value": "23"
},
{
"begin": 1520,
"end": 1939,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1686,
"end": 1690,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1724,
"end": 1726,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1713,
"end": 1722,
"name": "DUP3",
"source": 1
},
{
"begin": 1709,
"end": 1727,
"name": "ADD",
"source": 1
},
{
"begin": 1701,
"end": 1727,
"name": "SWAP1",
"source": 1
},
{
"begin": 1701,
"end": 1727,
"name": "POP",
"source": 1
},
{
"begin": 1773,
"end": 1782,
"name": "DUP2",
"source": 1
},
{
"begin": 1767,
"end": 1771,
"name": "DUP2",
"source": 1
},
{
"begin": 1763,
"end": 1783,
"name": "SUB",
"source": 1
},
{
"begin": 1759,
"end": 1760,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1748,
"end": 1757,
"name": "DUP4",
"source": 1
},
{
"begin": 1744,
"end": 1761,
"name": "ADD",
"source": 1
},
{
"begin": 1737,
"end": 1784,
"name": "MSTORE",
"source": 1
},
{
"begin": 1801,
"end": 1932,
"name": "PUSH [tag]",
"source": 1,
"value": "47"
},
{
"begin": 1927,
"end": 1931,
"name": "DUP2",
"source": 1
},
{
"begin": 1801,
"end": 1932,
"name": "PUSH [tag]",
"source": 1,
"value": "30"
},
{
"begin": 1801,
"end": 1932,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1801,
"end": 1932,
"name": "tag",
"source": 1,
"value": "47"
},
{
"begin": 1801,
"end": 1932,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1793,
"end": 1932,
"name": "SWAP1",
"source": 1
},
{
"begin": 1793,
"end": 1932,
"name": "POP",
"source": 1
},
{
"begin": 1520,
"end": 1939,
"name": "SWAP2",
"source": 1
},
{
"begin": 1520,
"end": 1939,
"name": "SWAP1",
"source": 1
},
{
"begin": 1520,
"end": 1939,
"name": "POP",
"source": 1
},
{
"begin": 1520,
"end": 1939,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1945,
"end": 2092,
"name": "tag",
"source": 1,
"value": "39"
},
{
"begin": 1945,
"end": 2092,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2046,
"end": 2057,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2083,
"end": 2086,
"name": "DUP2",
"source": 1
},
{
"begin": 2068,
"end": 2086,
"name": "SWAP1",
"source": 1
},
{
"begin": 2068,
"end": 2086,
"name": "POP",
"source": 1
},
{
"begin": 1945,
"end": 2092,
"name": "SWAP3",
"source": 1
},
{
"begin": 1945,
"end": 2092,
"name": "SWAP2",
"source": 1
},
{
"begin": 1945,
"end": 2092,
"name": "POP",
"source": 1
},
{
"begin": 1945,
"end": 2092,
"name": "POP",
"source": 1
},
{
"begin": 1945,
"end": 2092,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2098,
"end": 2267,
"name": "tag",
"source": 1,
"value": "33"
},
{
"begin": 2098,
"end": 2267,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2182,
"end": 2193,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2216,
"end": 2222,
"name": "DUP3",
"source": 1
},
{
"begin": 2211,
"end": 2214,
"name": "DUP3",
"source": 1
},
{
"begin": 2204,
"end": 2223,
"name": "MSTORE",
"source": 1
},
{
"begin": 2256,
"end": 2260,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 2251,
"end": 2254,
"name": "DUP3",
"source": 1
},
{
"begin": 2247,
"end": 2261,
"name": "ADD",
"source": 1
},
{
"begin": 2232,
"end": 2261,
"name": "SWAP1",
"source": 1
},
{
"begin": 2232,
"end": 2261,
"name": "POP",
"source": 1
},
{
"begin": 2098,
"end": 2267,
"name": "SWAP3",
"source": 1
},
{
"begin": 2098,
"end": 2267,
"name": "SWAP2",
"source": 1
},
{
"begin": 2098,
"end": 2267,
"name": "POP",
"source": 1
},
{
"begin": 2098,
"end": 2267,
"name": "POP",
"source": 1
},
{
"begin": 2098,
"end": 2267,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2273,
"end": 2369,
"name": "tag",
"source": 1,
"value": "29"
},
{
"begin": 2273,
"end": 2369,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2310,
"end": 2317,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2339,
"end": 2363,
"name": "PUSH [tag]",
"source": 1,
"value": "51"
},
{
"begin": 2357,
"end": 2362,
"name": "DUP3",
"source": 1
},
{
"begin": 2339,
"end": 2363,
"name": "PUSH [tag]",
"source": 1,
"value": "52"
},
{
"begin": 2339,
"end": 2363,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 2339,
"end": 2363,
"name": "tag",
"source": 1,
"value": "51"
},
{
"begin": 2339,
"end": 2363,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2328,
"end": 2363,
"name": "SWAP1",
"source": 1
},
{
"begin": 2328,
"end": 2363,
"name": "POP",
"source": 1
},
{
"begin": 2273,
"end": 2369,
"name": "SWAP2",
"source": 1
},
{
"begin": 2273,
"end": 2369,
"name": "SWAP1",
"source": 1
},
{
"begin": 2273,
"end": 2369,
"name": "POP",
"source": 1
},
{
"begin": 2273,
"end": 2369,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2375,
"end": 2501,
"name": "tag",
"source": 1,
"value": "52"
},
{
"begin": 2375,
"end": 2501,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2412,
"end": 2419,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2452,
"end": 2494,
"name": "PUSH",
"source": 1,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2445,
"end": 2450,
"name": "DUP3",
"source": 1
},
{
"begin": 2441,
"end": 2495,
"name": "AND",
"source": 1
},
{
"begin": 2430,
"end": 2495,
"name": "SWAP1",
"source": 1
},
{
"begin": 2430,
"end": 2495,
"name": "POP",
"source": 1
},
{
"begin": 2375,
"end": 2501,
"name": "SWAP2",
"source": 1
},
{
"begin": 2375,
"end": 2501,
"name": "SWAP1",
"source": 1
},
{
"begin": 2375,
"end": 2501,
"name": "POP",
"source": 1
},
{
"begin": 2375,
"end": 2501,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2507,
"end": 2677,
"name": "tag",
"source": 1,
"value": "35"
},
{
"begin": 2507,
"end": 2677,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2647,
"end": 2669,
"name": "PUSH",
"source": 1,
"value": "4661696C656420746F2073656E64204574686572000000000000000000000000"
},
{
"begin": 2643,
"end": 2644,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2635,
"end": 2641,
"name": "DUP3",
"source": 1
},
{
"begin": 2631,
"end": 2645,
"name": "ADD",
"source": 1
},
{
"begin": 2624,
"end": 2670,
"name": "MSTORE",
"source": 1
},
{
"begin": 2507,
"end": 2677,
"name": "POP",
"source": 1
},
{
"begin": 2507,
"end": 2677,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2683,
"end": 2797,
"name": "tag",
"source": 1,
"value": "41"
},
{
"begin": 2683,
"end": 2797,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2683,
"end": 2797,
"name": "POP",
"source": 1
},
{
"begin": 2683,
"end": 2797,
"name": "JUMP",
"source": 1,
"value": "[out]"
}
]
}
}
},
"methodIdentifiers": {
"donate()": "ed88c68e",
"owner()": "8da5cb5b",
"withdraw()": "3ccfd60b"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"donate\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":\"Charity\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":{\"keccak256\":\"0xb03cec364ca40c3e46122f669749ff948eb79b6f7bc293c26e230c0ccbbc6a8c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d21d651d0051240919e6a9ca5ed57e4d3978dc2f4f20392567de5d83b5230856\",\"dweb:/ipfs/QmQbTrnV7nEhS4WDeehpQ8brNHhaDew1J88g5VH4sEqeYw\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 80,
"contract": ".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol:Charity",
"label": "owner",
"offset": 0,
"slot": "0",
"type": "t_address"
}
],
"types": {
"t_address": {
"encoding": "inplace",
"label": "address",
"numberOfBytes": "20"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"ReceiveEther": {
"abi": [
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "getBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":57:673 contract ReceiveEther {... */\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 dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":57:673 contract ReceiveEther {... */\n mstore(0x40, 0x80)\n jumpi(tag_1, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x12065fe0\n eq\n tag_3\n jumpi\n jump(tag_2)\n tag_1:\n jumpi(tag_2, calldatasize)\n stop\n tag_2:\n stop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":577:671 function getBalance() public view returns (uint) {... */\n tag_3:\n callvalue\n dup1\n iszero\n tag_8\n jumpi\n 0x00\n dup1\n revert\n tag_8:\n pop\n tag_9\n tag_10\n jump\t// in\n tag_9:\n mload(0x40)\n tag_11\n swap2\n swap1\n tag_12\n jump\t// in\n tag_11:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n tag_10:\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":620:624 uint */\n 0x00\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":643:664 address(this).balance */\n selfbalance\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":636:664 return address(this).balance */\n swap1\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":577:671 function getBalance() public view returns (uint) {... */\n swap1\n jump\t// out\n /* \"#utility.yul\":7:125 */\n tag_15:\n /* \"#utility.yul\":94:118 */\n tag_17\n /* \"#utility.yul\":112:117 */\n dup2\n /* \"#utility.yul\":94:118 */\n tag_18\n jump\t// in\n tag_17:\n /* \"#utility.yul\":89:92 */\n dup3\n /* \"#utility.yul\":82:119 */\n mstore\n /* \"#utility.yul\":7:125 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":131:353 */\n tag_12:\n /* \"#utility.yul\":224:228 */\n 0x00\n /* \"#utility.yul\":262:264 */\n 0x20\n /* \"#utility.yul\":251:260 */\n dup3\n /* \"#utility.yul\":247:265 */\n add\n /* \"#utility.yul\":239:265 */\n swap1\n pop\n /* \"#utility.yul\":275:346 */\n tag_20\n /* \"#utility.yul\":343:344 */\n 0x00\n /* \"#utility.yul\":332:341 */\n dup4\n /* \"#utility.yul\":328:345 */\n add\n /* \"#utility.yul\":319:325 */\n dup5\n /* \"#utility.yul\":275:346 */\n tag_15\n jump\t// in\n tag_20:\n /* \"#utility.yul\":131:353 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":359:436 */\n tag_18:\n /* \"#utility.yul\":396:403 */\n 0x00\n /* \"#utility.yul\":425:430 */\n dup2\n /* \"#utility.yul\":414:430 */\n swap1\n pop\n /* \"#utility.yul\":359:436 */\n swap2\n swap1\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220c6449c1369694de0c5c638b6a1b0e2b1007e8f6e072e7b97af15862e2453a8f664736f6c63430008070033\n}\n",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5060bb8061001f6000396000f3fe608060405260043610601f5760003560e01c806312065fe0146027576025565b36602557005b005b348015603257600080fd5b506039604d565b604051604491906062565b60405180910390f35b600047905090565b605c81607b565b82525050565b6000602082019050607560008301846055565b92915050565b600081905091905056fea2646970667358221220c6449c1369694de0c5c638b6a1b0e2b1007e8f6e072e7b97af15862e2453a8f664736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0xBB DUP1 PUSH2 0x1F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH1 0x1F JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x12065FE0 EQ PUSH1 0x27 JUMPI PUSH1 0x25 JUMP JUMPDEST CALLDATASIZE PUSH1 0x25 JUMPI STOP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH1 0x32 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x39 PUSH1 0x4D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x44 SWAP2 SWAP1 PUSH1 0x62 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x5C DUP2 PUSH1 0x7B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0x75 PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0x55 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC6 DIFFICULTY SWAP13 SGT PUSH10 0x694DE0C5C638B6A1B0E2 0xB1 STOP PUSH31 0x8F6E072E7B97AF15862E2453A8F664736F6C63430008070033000000000000 ",
"sourceMap": "57:616:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_5": {
"entryPoint": null,
"id": 5,
"parameterSlots": 0,
"returnSlots": 0
},
"@_9": {
"entryPoint": null,
"id": 9,
"parameterSlots": 0,
"returnSlots": 0
},
"@getBalance_21": {
"entryPoint": 77,
"id": 21,
"parameterSlots": 0,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 85,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 98,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 123,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:439:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "72:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "112:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "94:17:1"
},
"nodeType": "YulFunctionCall",
"src": "94:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "82:6:1"
},
"nodeType": "YulFunctionCall",
"src": "82:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "82:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "60:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "67:3:1",
"type": ""
}
],
"src": "7:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "229:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "239:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "251:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "262:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "247:3:1"
},
"nodeType": "YulFunctionCall",
"src": "247:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "239:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "319:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "332:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "343:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "328:3:1"
},
"nodeType": "YulFunctionCall",
"src": "328:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "275:43:1"
},
"nodeType": "YulFunctionCall",
"src": "275:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "275:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "201:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "213:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "224:4:1",
"type": ""
}
],
"src": "131:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "404:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "414:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "425:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "414:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "386:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "396:7:1",
"type": ""
}
],
"src": "359:77:1"
}
]
},
"contents": "{\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 cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405260043610601f5760003560e01c806312065fe0146027576025565b36602557005b005b348015603257600080fd5b506039604d565b604051604491906062565b60405180910390f35b600047905090565b605c81607b565b82525050565b6000602082019050607560008301846055565b92915050565b600081905091905056fea2646970667358221220c6449c1369694de0c5c638b6a1b0e2b1007e8f6e072e7b97af15862e2453a8f664736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH1 0x1F JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x12065FE0 EQ PUSH1 0x27 JUMPI PUSH1 0x25 JUMP JUMPDEST CALLDATASIZE PUSH1 0x25 JUMPI STOP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH1 0x32 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x39 PUSH1 0x4D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x44 SWAP2 SWAP1 PUSH1 0x62 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x5C DUP2 PUSH1 0x7B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0x75 PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0x55 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC6 DIFFICULTY SWAP13 SGT PUSH10 0x694DE0C5C638B6A1B0E2 0xB1 STOP PUSH31 0x8F6E072E7B97AF15862E2453A8F664736F6C63430008070033000000000000 ",
"sourceMap": "57:616:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;577:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;620:4;643:21;636:28;;577:94;:::o;7:118:1:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;7:118;;:::o;131:222::-;224:4;262:2;251:9;247:18;239:26;;275:71;343:1;332:9;328:17;319:6;275:71;:::i;:::-;131:222;;;;:::o;359:77::-;396:7;425:5;414:16;;359:77;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "37400",
"executionCost": "87",
"totalCost": "37487"
},
"external": {
"": "85",
"getBalance()": "317"
}
},
"legacyAssembly": {
".code": [
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 57,
"end": 673,
"name": "MSTORE",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "DUP1",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "ISZERO",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 57,
"end": 673,
"name": "JUMPI",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 57,
"end": 673,
"name": "DUP1",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "REVERT",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 57,
"end": 673,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "POP",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 57,
"end": 673,
"name": "DUP1",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 57,
"end": 673,
"name": "CODECOPY",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 57,
"end": 673,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220c6449c1369694de0c5c638b6a1b0e2b1007e8f6e072e7b97af15862e2453a8f664736f6c63430008070033",
".code": [
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 57,
"end": 673,
"name": "MSTORE",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 57,
"end": 673,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "LT",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 57,
"end": 673,
"name": "JUMPI",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 57,
"end": 673,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 57,
"end": 673,
"name": "SHR",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "DUP1",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH",
"source": 0,
"value": "12065FE0"
},
{
"begin": 57,
"end": 673,
"name": "EQ",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 57,
"end": 673,
"name": "JUMPI",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 57,
"end": 673,
"name": "JUMP",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 57,
"end": 673,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 57,
"end": 673,
"name": "JUMPI",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "STOP",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 57,
"end": 673,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 57,
"end": 673,
"name": "STOP",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 577,
"end": 671,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "DUP1",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "ISZERO",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 577,
"end": 671,
"name": "JUMPI",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 577,
"end": 671,
"name": "DUP1",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "REVERT",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 577,
"end": 671,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "POP",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 577,
"end": 671,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 577,
"end": 671,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 577,
"end": 671,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 577,
"end": 671,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 577,
"end": 671,
"name": "MLOAD",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 577,
"end": 671,
"name": "SWAP2",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "SWAP1",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 577,
"end": 671,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 577,
"end": 671,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 577,
"end": 671,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 577,
"end": 671,
"name": "MLOAD",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "DUP1",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "SWAP2",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "SUB",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "SWAP1",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "RETURN",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "tag",
"source": 0,
"value": "10"
},
{
"begin": 577,
"end": 671,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 620,
"end": 624,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 643,
"end": 664,
"name": "SELFBALANCE",
"source": 0
},
{
"begin": 636,
"end": 664,
"name": "SWAP1",
"source": 0
},
{
"begin": 636,
"end": 664,
"name": "POP",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "SWAP1",
"source": 0
},
{
"begin": 577,
"end": 671,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 125,
"name": "tag",
"source": 1,
"value": "15"
},
{
"begin": 7,
"end": 125,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 94,
"end": 118,
"name": "PUSH [tag]",
"source": 1,
"value": "17"
},
{
"begin": 112,
"end": 117,
"name": "DUP2",
"source": 1
},
{
"begin": 94,
"end": 118,
"name": "PUSH [tag]",
"source": 1,
"value": "18"
},
{
"begin": 94,
"end": 118,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 94,
"end": 118,
"name": "tag",
"source": 1,
"value": "17"
},
{
"begin": 94,
"end": 118,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 89,
"end": 92,
"name": "DUP3",
"source": 1
},
{
"begin": 82,
"end": 119,
"name": "MSTORE",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 125,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 131,
"end": 353,
"name": "tag",
"source": 1,
"value": "12"
},
{
"begin": 131,
"end": 353,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 224,
"end": 228,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 262,
"end": 264,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 251,
"end": 260,
"name": "DUP3",
"source": 1
},
{
"begin": 247,
"end": 265,
"name": "ADD",
"source": 1
},
{
"begin": 239,
"end": 265,
"name": "SWAP1",
"source": 1
},
{
"begin": 239,
"end": 265,
"name": "POP",
"source": 1
},
{
"begin": 275,
"end": 346,
"name": "PUSH [tag]",
"source": 1,
"value": "20"
},
{
"begin": 343,
"end": 344,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 332,
"end": 341,
"name": "DUP4",
"source": 1
},
{
"begin": 328,
"end": 345,
"name": "ADD",
"source": 1
},
{
"begin": 319,
"end": 325,
"name": "DUP5",
"source": 1
},
{
"begin": 275,
"end": 346,
"name": "PUSH [tag]",
"source": 1,
"value": "15"
},
{
"begin": 275,
"end": 346,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 275,
"end": 346,
"name": "tag",
"source": 1,
"value": "20"
},
{
"begin": 275,
"end": 346,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "SWAP3",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "SWAP2",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "POP",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "POP",
"source": 1
},
{
"begin": 131,
"end": 353,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 359,
"end": 436,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 359,
"end": 436,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 396,
"end": 403,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 425,
"end": 430,
"name": "DUP2",
"source": 1
},
{
"begin": 414,
"end": 430,
"name": "SWAP1",
"source": 1
},
{
"begin": 414,
"end": 430,
"name": "POP",
"source": 1
},
{
"begin": 359,
"end": 436,
"name": "SWAP2",
"source": 1
},
{
"begin": 359,
"end": 436,
"name": "SWAP1",
"source": 1
},
{
"begin": 359,
"end": 436,
"name": "POP",
"source": 1
},
{
"begin": 359,
"end": 436,
"name": "JUMP",
"source": 1,
"value": "[out]"
}
]
}
}
},
"methodIdentifiers": {
"getBalance()": "12065fe0"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":\"ReceiveEther\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":{\"keccak256\":\"0xb03cec364ca40c3e46122f669749ff948eb79b6f7bc293c26e230c0ccbbc6a8c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d21d651d0051240919e6a9ca5ed57e4d3978dc2f4f20392567de5d83b5230856\",\"dweb:/ipfs/QmQbTrnV7nEhS4WDeehpQ8brNHhaDew1J88g5VH4sEqeYw\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"SendEther": {
"abi": [
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaSend",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaTransfer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":675:1483 contract SendEther {... */\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 dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":675:1483 contract SendEther {... */\n mstore(0x40, 0x80)\n jumpi(tag_1, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x636e082b\n eq\n tag_2\n jumpi\n dup1\n 0x74be4806\n eq\n tag_3\n jumpi\n dup1\n 0x830c29ae\n eq\n tag_4\n jumpi\n tag_1:\n 0x00\n dup1\n revert\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":700:870 function sendViaTransfer(address payable _to) public payable {... */\n tag_2:\n tag_5\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_6\n swap2\n swap1\n tag_7\n jump\t// in\n tag_6:\n tag_8\n jump\t// in\n tag_5:\n stop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":876:1162 function sendViaSend(address payable _to) public payable {... */\n tag_3:\n tag_9\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_10\n swap2\n swap1\n tag_7\n jump\t// in\n tag_10:\n tag_11\n jump\t// in\n tag_9:\n stop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1168:1481 function sendViaCall(address payable _to) public payable {... */\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_7\n jump\t// in\n tag_13:\n tag_14\n jump\t// in\n tag_12:\n stop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":700:870 function sendViaTransfer(address payable _to) public payable {... */\n tag_8:\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":840:843 _to */\n dup1\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":840:852 _to.transfer */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":840:863 _to.transfer(msg.value) */\n 0x08fc\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":853:862 msg.value */\n callvalue\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":840:863 _to.transfer(msg.value) */\n swap1\n dup2\n iszero\n mul\n swap1\n mload(0x40)\n 0x00\n mload(0x40)\n dup1\n dup4\n sub\n dup2\n dup6\n dup9\n dup9\n call\n swap4\n pop\n pop\n pop\n pop\n iszero\n dup1\n iszero\n tag_17\n jumpi\n returndatasize\n 0x00\n dup1\n returndatacopy\n revert(0x00, returndatasize)\n tag_17:\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":700:870 function sendViaTransfer(address payable _to) public payable {... */\n pop\n jump\t// out\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":876:1162 function sendViaSend(address payable _to) public payable {... */\n tag_11:\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1077:1086 bool sent */\n 0x00\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1089:1092 _to */\n dup2\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1089:1097 _to.send */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1089:1108 _to.send(msg.value) */\n 0x08fc\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1098:1107 msg.value */\n callvalue\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1089:1108 _to.send(msg.value) */\n swap1\n dup2\n iszero\n mul\n swap1\n mload(0x40)\n 0x00\n mload(0x40)\n dup1\n dup4\n sub\n dup2\n dup6\n dup9\n dup9\n call\n swap4\n pop\n pop\n pop\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1077:1108 bool sent = _to.send(msg.value) */\n swap1\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1126:1130 sent */\n dup1\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1118:1155 require(sent, \"Failed to send Ether\") */\n tag_20\n jumpi\n mload(0x40)\n 0x08c379a000000000000000000000000000000000000000000000000000000000\n dup2\n mstore\n 0x04\n add\n tag_21\n swap1\n tag_22\n jump\t// in\n tag_21:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n revert\n tag_20:\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":933:1162 {... */\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":876:1162 function sendViaSend(address payable _to) public payable {... */\n pop\n jump\t// out\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1168:1481 function sendViaCall(address payable _to) public payable {... */\n tag_14:\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1365:1374 bool sent */\n 0x00\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1376:1393 bytes memory data */\n dup1\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1397:1400 _to */\n dup3\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1397:1405 _to.call */\n 0xffffffffffffffffffffffffffffffffffffffff\n and\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1413:1422 msg.value */\n callvalue\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1397:1427 _to.call{value: msg.value}(\"\") */\n mload(0x40)\n tag_24\n swap1\n tag_25\n jump\t// in\n tag_24:\n 0x00\n mload(0x40)\n dup1\n dup4\n sub\n dup2\n dup6\n dup8\n gas\n call\n swap3\n pop\n pop\n pop\n returndatasize\n dup1\n 0x00\n dup2\n eq\n tag_28\n jumpi\n mload(0x40)\n swap2\n pop\n and(add(returndatasize, 0x3f), not(0x1f))\n dup3\n add\n 0x40\n mstore\n returndatasize\n dup3\n mstore\n returndatasize\n 0x00\n 0x20\n dup5\n add\n returndatacopy\n jump(tag_27)\n tag_28:\n 0x60\n swap2\n pop\n tag_27:\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1364:1427 (bool sent, bytes memory data) = _to.call{value: msg.value}(\"\") */\n swap2\n pop\n swap2\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1445:1449 sent */\n dup2\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1437:1474 require(sent, \"Failed to send Ether\") */\n tag_29\n jumpi\n mload(0x40)\n 0x08c379a000000000000000000000000000000000000000000000000000000000\n dup2\n mstore\n 0x04\n add\n tag_30\n swap1\n tag_22\n jump\t// in\n tag_30:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n revert\n tag_29:\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1225:1481 {... */\n pop\n pop\n /* \".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":1168:1481 function sendViaCall(address payable _to) public payable {... */\n pop\n jump\t// out\n /* \"#utility.yul\":7:162 */\n tag_32:\n /* \"#utility.yul\":61:66 */\n 0x00\n /* \"#utility.yul\":99:105 */\n dup2\n /* \"#utility.yul\":86:106 */\n calldataload\n /* \"#utility.yul\":77:106 */\n swap1\n pop\n /* \"#utility.yul\":115:156 */\n tag_34\n /* \"#utility.yul\":150:155 */\n dup2\n /* \"#utility.yul\":115:156 */\n tag_35\n jump\t// in\n tag_34:\n /* \"#utility.yul\":7:162 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":168:513 */\n tag_7:\n /* \"#utility.yul\":235:241 */\n 0x00\n /* \"#utility.yul\":284:286 */\n 0x20\n /* \"#utility.yul\":272:281 */\n dup3\n /* \"#utility.yul\":263:270 */\n dup5\n /* \"#utility.yul\":259:282 */\n sub\n /* \"#utility.yul\":255:287 */\n slt\n /* \"#utility.yul\":252:371 */\n iszero\n tag_37\n jumpi\n /* \"#utility.yul\":290:369 */\n tag_38\n tag_39\n jump\t// in\n tag_38:\n /* \"#utility.yul\":252:371 */\n tag_37:\n /* \"#utility.yul\":410:411 */\n 0x00\n /* \"#utility.yul\":435:496 */\n tag_40\n /* \"#utility.yul\":488:495 */\n dup5\n /* \"#utility.yul\":479:485 */\n dup3\n /* \"#utility.yul\":468:477 */\n dup6\n /* \"#utility.yul\":464:486 */\n add\n /* \"#utility.yul\":435:496 */\n tag_32\n jump\t// in\n tag_40:\n /* \"#utility.yul\":425:496 */\n swap2\n pop\n /* \"#utility.yul\":381:506 */\n pop\n /* \"#utility.yul\":168:513 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":519:885 */\n tag_41:\n /* \"#utility.yul\":661:664 */\n 0x00\n /* \"#utility.yul\":682:749 */\n tag_43\n /* \"#utility.yul\":746:748 */\n 0x14\n /* \"#utility.yul\":741:744 */\n dup4\n /* \"#utility.yul\":682:749 */\n tag_44\n jump\t// in\n tag_43:\n /* \"#utility.yul\":675:749 */\n swap2\n pop\n /* \"#utility.yul\":758:851 */\n tag_45\n /* \"#utility.yul\":847:850 */\n dup3\n /* \"#utility.yul\":758:851 */\n tag_46\n jump\t// in\n tag_45:\n /* \"#utility.yul\":876:878 */\n 0x20\n /* \"#utility.yul\":871:874 */\n dup3\n /* \"#utility.yul\":867:879 */\n add\n /* \"#utility.yul\":860:879 */\n swap1\n pop\n /* \"#utility.yul\":519:885 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":891:1289 */\n tag_47:\n /* \"#utility.yul\":1050:1053 */\n 0x00\n /* \"#utility.yul\":1071:1154 */\n tag_49\n /* \"#utility.yul\":1152:1153 */\n 0x00\n /* \"#utility.yul\":1147:1150 */\n dup4\n /* \"#utility.yul\":1071:1154 */\n tag_50\n jump\t// in\n tag_49:\n /* \"#utility.yul\":1064:1154 */\n swap2\n pop\n /* \"#utility.yul\":1163:1256 */\n tag_51\n /* \"#utility.yul\":1252:1255 */\n dup3\n /* \"#utility.yul\":1163:1256 */\n tag_52\n jump\t// in\n tag_51:\n /* \"#utility.yul\":1281:1282 */\n 0x00\n /* \"#utility.yul\":1276:1279 */\n dup3\n /* \"#utility.yul\":1272:1283 */\n add\n /* \"#utility.yul\":1265:1283 */\n swap1\n pop\n /* \"#utility.yul\":891:1289 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1295:1674 */\n tag_25:\n /* \"#utility.yul\":1479:1482 */\n 0x00\n /* \"#utility.yul\":1501:1648 */\n tag_54\n /* \"#utility.yul\":1644:1647 */\n dup3\n /* \"#utility.yul\":1501:1648 */\n tag_47\n jump\t// in\n tag_54:\n /* \"#utility.yul\":1494:1648 */\n swap2\n pop\n /* \"#utility.yul\":1665:1668 */\n dup2\n /* \"#utility.yul\":1658:1668 */\n swap1\n pop\n /* \"#utility.yul\":1295:1674 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1680:2099 */\n tag_22:\n /* \"#utility.yul\":1846:1850 */\n 0x00\n /* \"#utility.yul\":1884:1886 */\n 0x20\n /* \"#utility.yul\":1873:1882 */\n dup3\n /* \"#utility.yul\":1869:1887 */\n add\n /* \"#utility.yul\":1861:1887 */\n swap1\n pop\n /* \"#utility.yul\":1933:1942 */\n dup2\n /* \"#utility.yul\":1927:1931 */\n dup2\n /* \"#utility.yul\":1923:1943 */\n sub\n /* \"#utility.yul\":1919:1920 */\n 0x00\n /* \"#utility.yul\":1908:1917 */\n dup4\n /* \"#utility.yul\":1904:1921 */\n add\n /* \"#utility.yul\":1897:1944 */\n mstore\n /* \"#utility.yul\":1961:2092 */\n tag_56\n /* \"#utility.yul\":2087:2091 */\n dup2\n /* \"#utility.yul\":1961:2092 */\n tag_41\n jump\t// in\n tag_56:\n /* \"#utility.yul\":1953:2092 */\n swap1\n pop\n /* \"#utility.yul\":1680:2099 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2186:2333 */\n tag_50:\n /* \"#utility.yul\":2287:2298 */\n 0x00\n /* \"#utility.yul\":2324:2327 */\n dup2\n /* \"#utility.yul\":2309:2327 */\n swap1\n pop\n /* \"#utility.yul\":2186:2333 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2339:2508 */\n tag_44:\n /* \"#utility.yul\":2423:2434 */\n 0x00\n /* \"#utility.yul\":2457:2463 */\n dup3\n /* \"#utility.yul\":2452:2455 */\n dup3\n /* \"#utility.yul\":2445:2464 */\n mstore\n /* \"#utility.yul\":2497:2501 */\n 0x20\n /* \"#utility.yul\":2492:2495 */\n dup3\n /* \"#utility.yul\":2488:2502 */\n add\n /* \"#utility.yul\":2473:2502 */\n swap1\n pop\n /* \"#utility.yul\":2339:2508 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2514:2618 */\n tag_61:\n /* \"#utility.yul\":2559:2566 */\n 0x00\n /* \"#utility.yul\":2588:2612 */\n tag_63\n /* \"#utility.yul\":2606:2611 */\n dup3\n /* \"#utility.yul\":2588:2612 */\n tag_64\n jump\t// in\n tag_63:\n /* \"#utility.yul\":2577:2612 */\n swap1\n pop\n /* \"#utility.yul\":2514:2618 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2624:2750 */\n tag_64:\n /* \"#utility.yul\":2661:2668 */\n 0x00\n /* \"#utility.yul\":2701:2743 */\n 0xffffffffffffffffffffffffffffffffffffffff\n /* \"#utility.yul\":2694:2699 */\n dup3\n /* \"#utility.yul\":2690:2744 */\n and\n /* \"#utility.yul\":2679:2744 */\n swap1\n pop\n /* \"#utility.yul\":2624:2750 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":2879:2996 */\n tag_39:\n /* \"#utility.yul\":2988:2989 */\n 0x00\n /* \"#utility.yul\":2985:2986 */\n dup1\n /* \"#utility.yul\":2978:2990 */\n revert\n /* \"#utility.yul\":3002:3172 */\n tag_46:\n /* \"#utility.yul\":3142:3164 */\n 0x4661696c656420746f2073656e64204574686572000000000000000000000000\n /* \"#utility.yul\":3138:3139 */\n 0x00\n /* \"#utility.yul\":3130:3136 */\n dup3\n /* \"#utility.yul\":3126:3140 */\n add\n /* \"#utility.yul\":3119:3165 */\n mstore\n /* \"#utility.yul\":3002:3172 */\n pop\n jump\t// out\n /* \"#utility.yul\":3178:3292 */\n tag_52:\n pop\n jump\t// out\n /* \"#utility.yul\":3298:3436 */\n tag_35:\n /* \"#utility.yul\":3379:3411 */\n tag_72\n /* \"#utility.yul\":3405:3410 */\n dup2\n /* \"#utility.yul\":3379:3411 */\n tag_61\n jump\t// in\n tag_72:\n /* \"#utility.yul\":3372:3377 */\n dup2\n /* \"#utility.yul\":3369:3412 */\n eq\n /* \"#utility.yul\":3359:3430 */\n tag_73\n jumpi\n /* \"#utility.yul\":3426:3427 */\n 0x00\n /* \"#utility.yul\":3423:3424 */\n dup1\n /* \"#utility.yul\":3416:3428 */\n revert\n /* \"#utility.yul\":3359:3430 */\n tag_73:\n /* \"#utility.yul\":3298:3436 */\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220cacf41f882a655b2dcfe11f06d70f6db98c3e64c8fd3b975f070f74dc9d89d3c64736f6c63430008070033\n}\n",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50610390806100206000396000f3fe6080604052600436106100345760003560e01c8063636e082b1461003957806374be480614610055578063830c29ae14610071575b600080fd5b610053600480360381019061004e919061021c565b61008d565b005b61006f600480360381019061006a919061021c565b6100d7565b005b61008b6004803603810190610086919061021c565b610154565b005b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156100d3573d6000803e3d6000fd5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050905080610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906102a4565b60405180910390fd5b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163460405161017b9061028f565b60006040518083038185875af1925050503d80600081146101b8576040519150601f19603f3d011682016040523d82523d6000602084013e6101bd565b606091505b509150915081610202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101f9906102a4565b60405180910390fd5b505050565b60008135905061021681610343565b92915050565b60006020828403121561023257610231610312565b5b600061024084828501610207565b91505092915050565b60006102566014836102cf565b915061026182610317565b602082019050919050565b60006102796000836102c4565b915061028482610340565b600082019050919050565b600061029a8261026c565b9150819050919050565b600060208201905081810360008301526102bd81610249565b9050919050565b600081905092915050565b600082825260208201905092915050565b60006102eb826102f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b50565b61034c816102e0565b811461035757600080fd5b5056fea2646970667358221220cacf41f882a655b2dcfe11f06d70f6db98c3e64c8fd3b975f070f74dc9d89d3c64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x390 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x636E082B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x74BE4806 EQ PUSH2 0x55 JUMPI DUP1 PUSH4 0x830C29AE EQ PUSH2 0x71 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x53 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4E SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x8D JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6A SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0xD7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x8B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x154 JUMP JUMPDEST STOP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0xD3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP SWAP1 POP DUP1 PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLVALUE PUSH1 0x40 MLOAD PUSH2 0x17B SWAP1 PUSH2 0x28F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1B8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1BD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x202 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1F9 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x216 DUP2 PUSH2 0x343 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x232 JUMPI PUSH2 0x231 PUSH2 0x312 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x240 DUP5 DUP3 DUP6 ADD PUSH2 0x207 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x256 PUSH1 0x14 DUP4 PUSH2 0x2CF JUMP JUMPDEST SWAP2 POP PUSH2 0x261 DUP3 PUSH2 0x317 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x279 PUSH1 0x0 DUP4 PUSH2 0x2C4 JUMP JUMPDEST SWAP2 POP PUSH2 0x284 DUP3 PUSH2 0x340 JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29A DUP3 PUSH2 0x26C JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2BD DUP2 PUSH2 0x249 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2EB DUP3 PUSH2 0x2F2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x34C DUP2 PUSH2 0x2E0 JUMP JUMPDEST DUP2 EQ PUSH2 0x357 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCA 0xCF COINBASE 0xF8 DUP3 0xA6 SSTORE 0xB2 0xDC INVALID GT CREATE PUSH14 0x70F6DB98C3E64C8FD3B975F070F7 0x4D 0xC9 0xD8 SWAP14 EXTCODECOPY PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "675:808:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@sendViaCall_77": {
"entryPoint": 340,
"id": 77,
"parameterSlots": 1,
"returnSlots": 0
},
"@sendViaSend_54": {
"entryPoint": 215,
"id": 54,
"parameterSlots": 1,
"returnSlots": 0
},
"@sendViaTransfer_35": {
"entryPoint": 141,
"id": 35,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_address_payable": {
"entryPoint": 519,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_payable": {
"entryPoint": 540,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack": {
"entryPoint": 585,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 620,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 655,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 676,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 708,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 719,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address_payable": {
"entryPoint": 736,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 754,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 786,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb": {
"entryPoint": 791,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470": {
"entryPoint": 832,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address_payable": {
"entryPoint": 835,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3439:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "67:95:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "99:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "86:12:1"
},
"nodeType": "YulFunctionCall",
"src": "86:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "77:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "150:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address_payable",
"nodeType": "YulIdentifier",
"src": "115:34:1"
},
"nodeType": "YulFunctionCall",
"src": "115:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "115:41:1"
}
]
},
"name": "abi_decode_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "45:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "53:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "61:5:1",
"type": ""
}
],
"src": "7:155:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "242:271:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "288:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "290:77:1"
},
"nodeType": "YulFunctionCall",
"src": "290:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "290:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "263:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "272:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "259:3:1"
},
"nodeType": "YulFunctionCall",
"src": "259:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "284:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "255:3:1"
},
"nodeType": "YulFunctionCall",
"src": "255:32:1"
},
"nodeType": "YulIf",
"src": "252:119:1"
},
{
"nodeType": "YulBlock",
"src": "381:125:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "396:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "410:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "400:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "425:71:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "468:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "479:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "464:3:1"
},
"nodeType": "YulFunctionCall",
"src": "464:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "488:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address_payable",
"nodeType": "YulIdentifier",
"src": "435:28:1"
},
"nodeType": "YulFunctionCall",
"src": "435:61:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "425:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "212:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "223:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "235:6:1",
"type": ""
}
],
"src": "168:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "665:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "675:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "741:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "746:2:1",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "682:58:1"
},
"nodeType": "YulFunctionCall",
"src": "682:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "675:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "847:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulIdentifier",
"src": "758:88:1"
},
"nodeType": "YulFunctionCall",
"src": "758:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "758:93:1"
},
{
"nodeType": "YulAssignment",
"src": "860:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "871:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "876:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "867:3:1"
},
"nodeType": "YulFunctionCall",
"src": "867:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "860:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "653:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "661:3:1",
"type": ""
}
],
"src": "519:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1054:235:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1064:90:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1147:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1152:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1071:75:1"
},
"nodeType": "YulFunctionCall",
"src": "1071:83:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1064:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1252:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulIdentifier",
"src": "1163:88:1"
},
"nodeType": "YulFunctionCall",
"src": "1163:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "1163:93:1"
},
{
"nodeType": "YulAssignment",
"src": "1265:18:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1276:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1281:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1272:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1272:11:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1265:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1042:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1050:3:1",
"type": ""
}
],
"src": "891:398:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1483:191:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1494:154:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1644:3:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1501:141:1"
},
"nodeType": "YulFunctionCall",
"src": "1501:147:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1494:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1658:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1665:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1658:3:1"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1470:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1479:3:1",
"type": ""
}
],
"src": "1295:379:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1851:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1861:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1873:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1884:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1869:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1869:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1861:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1908:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1919:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1904:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1904:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1927:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1933:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1923:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1923:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1897:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1897:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "1897:47:1"
},
{
"nodeType": "YulAssignment",
"src": "1953:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2087:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1961:124:1"
},
"nodeType": "YulFunctionCall",
"src": "1961:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1953:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1831:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1846:4:1",
"type": ""
}
],
"src": "1680:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2145:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2155:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2171:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2165:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2165:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2155:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2138:6:1",
"type": ""
}
],
"src": "2105:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2299:34:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2309:18:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2324:3:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2309:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2271:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2276:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2287:11:1",
"type": ""
}
],
"src": "2186:147:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2435:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2452:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2457:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2445:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "2445:19:1"
},
{
"nodeType": "YulAssignment",
"src": "2473:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2492:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2497:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2488:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2488:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2473:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2407:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2412:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2423:11:1",
"type": ""
}
],
"src": "2339:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2567:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2577:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2606:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "2588:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2588:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2577:7:1"
}
]
}
]
},
"name": "cleanup_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2549:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2559:7:1",
"type": ""
}
],
"src": "2514:104:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2669:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2679:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2694:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2701:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2690:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2690:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2679:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2651:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2661:7:1",
"type": ""
}
],
"src": "2624:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2845:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2862:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2865:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2855:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2855:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "2855:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "2756:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2968:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2985:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2988:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2978:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2978:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "2978:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "2879:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3108:64:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3130:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3138:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3126:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3126:14:1"
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "3142:22:1",
"type": "",
"value": "Failed to send Ether"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3119:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3119:46:1"
},
"nodeType": "YulExpressionStatement",
"src": "3119:46:1"
}
]
},
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3100:6:1",
"type": ""
}
],
"src": "3002:170:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3284:8:1",
"statements": []
},
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3276:6:1",
"type": ""
}
],
"src": "3178:114:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3349:87:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3414:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3423:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3426:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3416:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3416:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3416:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3372:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3405:5:1"
}
],
"functionName": {
"name": "cleanup_t_address_payable",
"nodeType": "YulIdentifier",
"src": "3379:25:1"
},
"nodeType": "YulFunctionCall",
"src": "3379:32:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3369:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3369:43:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3362:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3362:51:1"
},
"nodeType": "YulIf",
"src": "3359:71:1"
}
]
},
"name": "validator_revert_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3342:5:1",
"type": ""
}
],
"src": "3298:138:1"
}
]
},
"contents": "{\n\n function abi_decode_t_address_payable(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address_payable(value)\n }\n\n function abi_decode_tuple_t_address_payable(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_payable(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, 0)\n store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(pos)\n end := add(pos, 0)\n }\n\n function abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos ) -> end {\n\n pos := abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__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_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(memPtr) {\n\n mstore(add(memPtr, 0), \"Failed to send Ether\")\n\n }\n\n function store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(memPtr) {\n\n }\n\n function validator_revert_t_address_payable(value) {\n if iszero(eq(value, cleanup_t_address_payable(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600436106100345760003560e01c8063636e082b1461003957806374be480614610055578063830c29ae14610071575b600080fd5b610053600480360381019061004e919061021c565b61008d565b005b61006f600480360381019061006a919061021c565b6100d7565b005b61008b6004803603810190610086919061021c565b610154565b005b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156100d3573d6000803e3d6000fd5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050905080610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906102a4565b60405180910390fd5b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163460405161017b9061028f565b60006040518083038185875af1925050503d80600081146101b8576040519150601f19603f3d011682016040523d82523d6000602084013e6101bd565b606091505b509150915081610202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101f9906102a4565b60405180910390fd5b505050565b60008135905061021681610343565b92915050565b60006020828403121561023257610231610312565b5b600061024084828501610207565b91505092915050565b60006102566014836102cf565b915061026182610317565b602082019050919050565b60006102796000836102c4565b915061028482610340565b600082019050919050565b600061029a8261026c565b9150819050919050565b600060208201905081810360008301526102bd81610249565b9050919050565b600081905092915050565b600082825260208201905092915050565b60006102eb826102f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b50565b61034c816102e0565b811461035757600080fd5b5056fea2646970667358221220cacf41f882a655b2dcfe11f06d70f6db98c3e64c8fd3b975f070f74dc9d89d3c64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x636E082B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x74BE4806 EQ PUSH2 0x55 JUMPI DUP1 PUSH4 0x830C29AE EQ PUSH2 0x71 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x53 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4E SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x8D JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6A SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0xD7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x8B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x154 JUMP JUMPDEST STOP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0xD3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP SWAP1 POP DUP1 PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLVALUE PUSH1 0x40 MLOAD PUSH2 0x17B SWAP1 PUSH2 0x28F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1B8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1BD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x202 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1F9 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x216 DUP2 PUSH2 0x343 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x232 JUMPI PUSH2 0x231 PUSH2 0x312 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x240 DUP5 DUP3 DUP6 ADD PUSH2 0x207 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x256 PUSH1 0x14 DUP4 PUSH2 0x2CF JUMP JUMPDEST SWAP2 POP PUSH2 0x261 DUP3 PUSH2 0x317 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x279 PUSH1 0x0 DUP4 PUSH2 0x2C4 JUMP JUMPDEST SWAP2 POP PUSH2 0x284 DUP3 PUSH2 0x340 JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29A DUP3 PUSH2 0x26C JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2BD DUP2 PUSH2 0x249 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2EB DUP3 PUSH2 0x2F2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x34C DUP2 PUSH2 0x2E0 JUMP JUMPDEST DUP2 EQ PUSH2 0x357 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCA 0xCF COINBASE 0xF8 DUP3 0xA6 SSTORE 0xB2 0xDC INVALID GT CREATE PUSH14 0x70F6DB98C3E64C8FD3B975F070F7 0x4D 0xC9 0xD8 SWAP14 EXTCODECOPY PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "675:808:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;700:170;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;876:286;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1168:313;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;700:170;840:3;:12;;:23;853:9;840:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;700:170;:::o;876:286::-;1077:9;1089:3;:8;;:19;1098:9;1089:19;;;;;;;;;;;;;;;;;;;;;;;1077:31;;1126:4;1118:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;933:229;876:286;:::o;1168:313::-;1365:9;1376:17;1397:3;:8;;1413:9;1397:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1364:63;;;;1445:4;1437:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;1225:256;;1168:313;:::o;7:155:1:-;61:5;99:6;86:20;77:29;;115:41;150:5;115:41;:::i;:::-;7:155;;;;:::o;168:345::-;235:6;284:2;272:9;263:7;259:23;255:32;252:119;;;290:79;;:::i;:::-;252:119;410:1;435:61;488:7;479:6;468:9;464:22;435:61;:::i;:::-;425:71;;381:125;168:345;;;;:::o;519:366::-;661:3;682:67;746:2;741:3;682:67;:::i;:::-;675:74;;758:93;847:3;758:93;:::i;:::-;876:2;871:3;867:12;860:19;;519:366;;;:::o;891:398::-;1050:3;1071:83;1152:1;1147:3;1071:83;:::i;:::-;1064:90;;1163:93;1252:3;1163:93;:::i;:::-;1281:1;1276:3;1272:11;1265:18;;891:398;;;:::o;1295:379::-;1479:3;1501:147;1644:3;1501:147;:::i;:::-;1494:154;;1665:3;1658:10;;1295:379;;;:::o;1680:419::-;1846:4;1884:2;1873:9;1869:18;1861:26;;1933:9;1927:4;1923:20;1919:1;1908:9;1904:17;1897:47;1961:131;2087:4;1961:131;:::i;:::-;1953:139;;1680:419;;;:::o;2186:147::-;2287:11;2324:3;2309:18;;2186:147;;;;:::o;2339:169::-;2423:11;2457:6;2452:3;2445:19;2497:4;2492:3;2488:14;2473:29;;2339:169;;;;:::o;2514:104::-;2559:7;2588:24;2606:5;2588:24;:::i;:::-;2577:35;;2514:104;;;:::o;2624:126::-;2661:7;2701:42;2694:5;2690:54;2679:65;;2624:126;;;:::o;2879:117::-;2988:1;2985;2978:12;3002:170;3142:22;3138:1;3130:6;3126:14;3119:46;3002:170;:::o;3178:114::-;;:::o;3298:138::-;3379:32;3405:5;3379:32;:::i;:::-;3372:5;3369:43;3359:71;;3426:1;3423;3416:12;3359:71;3298:138;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "182400",
"executionCost": "226",
"totalCost": "182626"
},
"external": {
"sendViaCall(address)": "infinite",
"sendViaSend(address)": "infinite",
"sendViaTransfer(address)": "infinite"
}
},
"legacyAssembly": {
".code": [
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 675,
"end": 1483,
"name": "MSTORE",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "DUP1",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "ISZERO",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 675,
"end": 1483,
"name": "JUMPI",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 675,
"end": 1483,
"name": "DUP1",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "REVERT",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 675,
"end": 1483,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "POP",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 675,
"end": 1483,
"name": "DUP1",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 675,
"end": 1483,
"name": "CODECOPY",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 675,
"end": 1483,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220cacf41f882a655b2dcfe11f06d70f6db98c3e64c8fd3b975f070f74dc9d89d3c64736f6c63430008070033",
".code": [
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 675,
"end": 1483,
"name": "MSTORE",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 675,
"end": 1483,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "LT",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 675,
"end": 1483,
"name": "JUMPI",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 675,
"end": 1483,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 675,
"end": 1483,
"name": "SHR",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "DUP1",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "636E082B"
},
{
"begin": 675,
"end": 1483,
"name": "EQ",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 675,
"end": 1483,
"name": "JUMPI",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "DUP1",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "74BE4806"
},
{
"begin": 675,
"end": 1483,
"name": "EQ",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 675,
"end": 1483,
"name": "JUMPI",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "DUP1",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "830C29AE"
},
{
"begin": 675,
"end": 1483,
"name": "EQ",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 675,
"end": 1483,
"name": "JUMPI",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 675,
"end": 1483,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 675,
"end": 1483,
"name": "DUP1",
"source": 0
},
{
"begin": 675,
"end": 1483,
"name": "REVERT",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 700,
"end": 870,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 700,
"end": 870,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 700,
"end": 870,
"name": "DUP1",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "SUB",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "DUP2",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "ADD",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "SWAP1",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 700,
"end": 870,
"name": "SWAP2",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "SWAP1",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 700,
"end": 870,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 700,
"end": 870,
"name": "tag",
"source": 0,
"value": "6"
},
{
"begin": 700,
"end": 870,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 700,
"end": 870,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 700,
"end": 870,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 700,
"end": 870,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "STOP",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 876,
"end": 1162,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 876,
"end": 1162,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 876,
"end": 1162,
"name": "DUP1",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "SUB",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "DUP2",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "ADD",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "SWAP1",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 876,
"end": 1162,
"name": "SWAP2",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "SWAP1",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 876,
"end": 1162,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 876,
"end": 1162,
"name": "tag",
"source": 0,
"value": "10"
},
{
"begin": 876,
"end": 1162,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 876,
"end": 1162,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 876,
"end": 1162,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 876,
"end": 1162,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "STOP",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 1168,
"end": 1481,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 1168,
"end": 1481,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 1168,
"end": 1481,
"name": "DUP1",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "SUB",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "DUP2",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "ADD",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "SWAP1",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 1168,
"end": 1481,
"name": "SWAP2",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "SWAP1",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 1168,
"end": 1481,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1168,
"end": 1481,
"name": "tag",
"source": 0,
"value": "13"
},
{
"begin": 1168,
"end": 1481,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 1168,
"end": 1481,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1168,
"end": 1481,
"name": "tag",
"source": 0,
"value": "12"
},
{
"begin": 1168,
"end": 1481,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "STOP",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 700,
"end": 870,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 840,
"end": 843,
"name": "DUP1",
"source": 0
},
{
"begin": 840,
"end": 852,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 840,
"end": 852,
"name": "AND",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "PUSH",
"source": 0,
"value": "8FC"
},
{
"begin": 853,
"end": 862,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "SWAP1",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "DUP2",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "ISZERO",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "MUL",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "SWAP1",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 840,
"end": 863,
"name": "MLOAD",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 840,
"end": 863,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 840,
"end": 863,
"name": "MLOAD",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "DUP1",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "DUP4",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "SUB",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "DUP2",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "DUP6",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "DUP9",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "DUP9",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "CALL",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "SWAP4",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "POP",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "POP",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "POP",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "POP",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "ISZERO",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "DUP1",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "ISZERO",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "PUSH [tag]",
"source": 0,
"value": "17"
},
{
"begin": 840,
"end": 863,
"name": "JUMPI",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 840,
"end": 863,
"name": "DUP1",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "RETURNDATACOPY",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 840,
"end": 863,
"name": "REVERT",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "tag",
"source": 0,
"value": "17"
},
{
"begin": 840,
"end": 863,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 840,
"end": 863,
"name": "POP",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "POP",
"source": 0
},
{
"begin": 700,
"end": 870,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 876,
"end": 1162,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 876,
"end": 1162,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1077,
"end": 1086,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1089,
"end": 1092,
"name": "DUP2",
"source": 0
},
{
"begin": 1089,
"end": 1097,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1089,
"end": 1097,
"name": "AND",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "PUSH",
"source": 0,
"value": "8FC"
},
{
"begin": 1098,
"end": 1107,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "SWAP1",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "DUP2",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "ISZERO",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "MUL",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "SWAP1",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1089,
"end": 1108,
"name": "MLOAD",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1089,
"end": 1108,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1089,
"end": 1108,
"name": "MLOAD",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "DUP1",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "DUP4",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "SUB",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "DUP2",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "DUP6",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "DUP9",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "DUP9",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "CALL",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "SWAP4",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "POP",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "POP",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "POP",
"source": 0
},
{
"begin": 1089,
"end": 1108,
"name": "POP",
"source": 0
},
{
"begin": 1077,
"end": 1108,
"name": "SWAP1",
"source": 0
},
{
"begin": 1077,
"end": 1108,
"name": "POP",
"source": 0
},
{
"begin": 1126,
"end": 1130,
"name": "DUP1",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "PUSH [tag]",
"source": 0,
"value": "20"
},
{
"begin": 1118,
"end": 1155,
"name": "JUMPI",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1118,
"end": 1155,
"name": "MLOAD",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "PUSH",
"source": 0,
"value": "8C379A000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1118,
"end": 1155,
"name": "DUP2",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "MSTORE",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 1118,
"end": 1155,
"name": "ADD",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "PUSH [tag]",
"source": 0,
"value": "21"
},
{
"begin": 1118,
"end": 1155,
"name": "SWAP1",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "PUSH [tag]",
"source": 0,
"value": "22"
},
{
"begin": 1118,
"end": 1155,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1118,
"end": 1155,
"name": "tag",
"source": 0,
"value": "21"
},
{
"begin": 1118,
"end": 1155,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1118,
"end": 1155,
"name": "MLOAD",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "DUP1",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "SWAP2",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "SUB",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "SWAP1",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "REVERT",
"source": 0
},
{
"begin": 1118,
"end": 1155,
"name": "tag",
"source": 0,
"value": "20"
},
{
"begin": 1118,
"end": 1155,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 933,
"end": 1162,
"name": "POP",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "POP",
"source": 0
},
{
"begin": 876,
"end": 1162,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 1168,
"end": 1481,
"name": "tag",
"source": 0,
"value": "14"
},
{
"begin": 1168,
"end": 1481,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1365,
"end": 1374,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1376,
"end": 1393,
"name": "DUP1",
"source": 0
},
{
"begin": 1397,
"end": 1400,
"name": "DUP3",
"source": 0
},
{
"begin": 1397,
"end": 1405,
"name": "PUSH",
"source": 0,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1397,
"end": 1405,
"name": "AND",
"source": 0
},
{
"begin": 1413,
"end": 1422,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1397,
"end": 1427,
"name": "MLOAD",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH [tag]",
"source": 0,
"value": "24"
},
{
"begin": 1397,
"end": 1427,
"name": "SWAP1",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH [tag]",
"source": 0,
"value": "25"
},
{
"begin": 1397,
"end": 1427,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1397,
"end": 1427,
"name": "tag",
"source": 0,
"value": "24"
},
{
"begin": 1397,
"end": 1427,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1397,
"end": 1427,
"name": "MLOAD",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "DUP1",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "DUP4",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "SUB",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "DUP2",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "DUP6",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "DUP8",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "GAS",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "CALL",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "SWAP3",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "POP",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "POP",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "POP",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "DUP1",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1397,
"end": 1427,
"name": "DUP2",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "EQ",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH [tag]",
"source": 0,
"value": "28"
},
{
"begin": 1397,
"end": 1427,
"name": "JUMPI",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1397,
"end": 1427,
"name": "MLOAD",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "SWAP2",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "POP",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 1397,
"end": 1427,
"name": "NOT",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "3F"
},
{
"begin": 1397,
"end": 1427,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "ADD",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "AND",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "DUP3",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "ADD",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1397,
"end": 1427,
"name": "MSTORE",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "DUP3",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "MSTORE",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "RETURNDATASIZE",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 1397,
"end": 1427,
"name": "DUP5",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "ADD",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "RETURNDATACOPY",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH [tag]",
"source": 0,
"value": "27"
},
{
"begin": 1397,
"end": 1427,
"name": "JUMP",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "tag",
"source": 0,
"value": "28"
},
{
"begin": 1397,
"end": 1427,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "PUSH",
"source": 0,
"value": "60"
},
{
"begin": 1397,
"end": 1427,
"name": "SWAP2",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "POP",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "tag",
"source": 0,
"value": "27"
},
{
"begin": 1397,
"end": 1427,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1397,
"end": 1427,
"name": "POP",
"source": 0
},
{
"begin": 1364,
"end": 1427,
"name": "SWAP2",
"source": 0
},
{
"begin": 1364,
"end": 1427,
"name": "POP",
"source": 0
},
{
"begin": 1364,
"end": 1427,
"name": "SWAP2",
"source": 0
},
{
"begin": 1364,
"end": 1427,
"name": "POP",
"source": 0
},
{
"begin": 1445,
"end": 1449,
"name": "DUP2",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "PUSH [tag]",
"source": 0,
"value": "29"
},
{
"begin": 1437,
"end": 1474,
"name": "JUMPI",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1437,
"end": 1474,
"name": "MLOAD",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "PUSH",
"source": 0,
"value": "8C379A000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 1437,
"end": 1474,
"name": "DUP2",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "MSTORE",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 1437,
"end": 1474,
"name": "ADD",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "PUSH [tag]",
"source": 0,
"value": "30"
},
{
"begin": 1437,
"end": 1474,
"name": "SWAP1",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "PUSH [tag]",
"source": 0,
"value": "22"
},
{
"begin": 1437,
"end": 1474,
"name": "JUMP",
"source": 0,
"value": "[in]"
},
{
"begin": 1437,
"end": 1474,
"name": "tag",
"source": 0,
"value": "30"
},
{
"begin": 1437,
"end": 1474,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 1437,
"end": 1474,
"name": "MLOAD",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "DUP1",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "SWAP2",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "SUB",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "SWAP1",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "REVERT",
"source": 0
},
{
"begin": 1437,
"end": 1474,
"name": "tag",
"source": 0,
"value": "29"
},
{
"begin": 1437,
"end": 1474,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 1225,
"end": 1481,
"name": "POP",
"source": 0
},
{
"begin": 1225,
"end": 1481,
"name": "POP",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "POP",
"source": 0
},
{
"begin": 1168,
"end": 1481,
"name": "JUMP",
"source": 0,
"value": "[out]"
},
{
"begin": 7,
"end": 162,
"name": "tag",
"source": 1,
"value": "32"
},
{
"begin": 7,
"end": 162,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 61,
"end": 66,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 99,
"end": 105,
"name": "DUP2",
"source": 1
},
{
"begin": 86,
"end": 106,
"name": "CALLDATALOAD",
"source": 1
},
{
"begin": 77,
"end": 106,
"name": "SWAP1",
"source": 1
},
{
"begin": 77,
"end": 106,
"name": "POP",
"source": 1
},
{
"begin": 115,
"end": 156,
"name": "PUSH [tag]",
"source": 1,
"value": "34"
},
{
"begin": 150,
"end": 155,
"name": "DUP2",
"source": 1
},
{
"begin": 115,
"end": 156,
"name": "PUSH [tag]",
"source": 1,
"value": "35"
},
{
"begin": 115,
"end": 156,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 115,
"end": 156,
"name": "tag",
"source": 1,
"value": "34"
},
{
"begin": 115,
"end": 156,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 7,
"end": 162,
"name": "SWAP3",
"source": 1
},
{
"begin": 7,
"end": 162,
"name": "SWAP2",
"source": 1
},
{
"begin": 7,
"end": 162,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 162,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 162,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 168,
"end": 513,
"name": "tag",
"source": 1,
"value": "7"
},
{
"begin": 168,
"end": 513,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 235,
"end": 241,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 284,
"end": 286,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 272,
"end": 281,
"name": "DUP3",
"source": 1
},
{
"begin": 263,
"end": 270,
"name": "DUP5",
"source": 1
},
{
"begin": 259,
"end": 282,
"name": "SUB",
"source": 1
},
{
"begin": 255,
"end": 287,
"name": "SLT",
"source": 1
},
{
"begin": 252,
"end": 371,
"name": "ISZERO",
"source": 1
},
{
"begin": 252,
"end": 371,
"name": "PUSH [tag]",
"source": 1,
"value": "37"
},
{
"begin": 252,
"end": 371,
"name": "JUMPI",
"source": 1
},
{
"begin": 290,
"end": 369,
"name": "PUSH [tag]",
"source": 1,
"value": "38"
},
{
"begin": 290,
"end": 369,
"name": "PUSH [tag]",
"source": 1,
"value": "39"
},
{
"begin": 290,
"end": 369,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 290,
"end": 369,
"name": "tag",
"source": 1,
"value": "38"
},
{
"begin": 290,
"end": 369,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 252,
"end": 371,
"name": "tag",
"source": 1,
"value": "37"
},
{
"begin": 252,
"end": 371,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 410,
"end": 411,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 435,
"end": 496,
"name": "PUSH [tag]",
"source": 1,
"value": "40"
},
{
"begin": 488,
"end": 495,
"name": "DUP5",
"source": 1
},
{
"begin": 479,
"end": 485,
"name": "DUP3",
"source": 1
},
{
"begin": 468,
"end": 477,
"name": "DUP6",
"source": 1
},
{
"begin": 464,
"end": 486,
"name": "ADD",
"source": 1
},
{
"begin": 435,
"end": 496,
"name": "PUSH [tag]",
"source": 1,
"value": "32"
},
{
"begin": 435,
"end": 496,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 435,
"end": 496,
"name": "tag",
"source": 1,
"value": "40"
},
{
"begin": 435,
"end": 496,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 425,
"end": 496,
"name": "SWAP2",
"source": 1
},
{
"begin": 425,
"end": 496,
"name": "POP",
"source": 1
},
{
"begin": 381,
"end": 506,
"name": "POP",
"source": 1
},
{
"begin": 168,
"end": 513,
"name": "SWAP3",
"source": 1
},
{
"begin": 168,
"end": 513,
"name": "SWAP2",
"source": 1
},
{
"begin": 168,
"end": 513,
"name": "POP",
"source": 1
},
{
"begin": 168,
"end": 513,
"name": "POP",
"source": 1
},
{
"begin": 168,
"end": 513,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 519,
"end": 885,
"name": "tag",
"source": 1,
"value": "41"
},
{
"begin": 519,
"end": 885,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 661,
"end": 664,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 682,
"end": 749,
"name": "PUSH [tag]",
"source": 1,
"value": "43"
},
{
"begin": 746,
"end": 748,
"name": "PUSH",
"source": 1,
"value": "14"
},
{
"begin": 741,
"end": 744,
"name": "DUP4",
"source": 1
},
{
"begin": 682,
"end": 749,
"name": "PUSH [tag]",
"source": 1,
"value": "44"
},
{
"begin": 682,
"end": 749,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 682,
"end": 749,
"name": "tag",
"source": 1,
"value": "43"
},
{
"begin": 682,
"end": 749,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 675,
"end": 749,
"name": "SWAP2",
"source": 1
},
{
"begin": 675,
"end": 749,
"name": "POP",
"source": 1
},
{
"begin": 758,
"end": 851,
"name": "PUSH [tag]",
"source": 1,
"value": "45"
},
{
"begin": 847,
"end": 850,
"name": "DUP3",
"source": 1
},
{
"begin": 758,
"end": 851,
"name": "PUSH [tag]",
"source": 1,
"value": "46"
},
{
"begin": 758,
"end": 851,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 758,
"end": 851,
"name": "tag",
"source": 1,
"value": "45"
},
{
"begin": 758,
"end": 851,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 876,
"end": 878,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 871,
"end": 874,
"name": "DUP3",
"source": 1
},
{
"begin": 867,
"end": 879,
"name": "ADD",
"source": 1
},
{
"begin": 860,
"end": 879,
"name": "SWAP1",
"source": 1
},
{
"begin": 860,
"end": 879,
"name": "POP",
"source": 1
},
{
"begin": 519,
"end": 885,
"name": "SWAP2",
"source": 1
},
{
"begin": 519,
"end": 885,
"name": "SWAP1",
"source": 1
},
{
"begin": 519,
"end": 885,
"name": "POP",
"source": 1
},
{
"begin": 519,
"end": 885,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 891,
"end": 1289,
"name": "tag",
"source": 1,
"value": "47"
},
{
"begin": 891,
"end": 1289,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1050,
"end": 1053,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1071,
"end": 1154,
"name": "PUSH [tag]",
"source": 1,
"value": "49"
},
{
"begin": 1152,
"end": 1153,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1147,
"end": 1150,
"name": "DUP4",
"source": 1
},
{
"begin": 1071,
"end": 1154,
"name": "PUSH [tag]",
"source": 1,
"value": "50"
},
{
"begin": 1071,
"end": 1154,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1071,
"end": 1154,
"name": "tag",
"source": 1,
"value": "49"
},
{
"begin": 1071,
"end": 1154,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1064,
"end": 1154,
"name": "SWAP2",
"source": 1
},
{
"begin": 1064,
"end": 1154,
"name": "POP",
"source": 1
},
{
"begin": 1163,
"end": 1256,
"name": "PUSH [tag]",
"source": 1,
"value": "51"
},
{
"begin": 1252,
"end": 1255,
"name": "DUP3",
"source": 1
},
{
"begin": 1163,
"end": 1256,
"name": "PUSH [tag]",
"source": 1,
"value": "52"
},
{
"begin": 1163,
"end": 1256,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1163,
"end": 1256,
"name": "tag",
"source": 1,
"value": "51"
},
{
"begin": 1163,
"end": 1256,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1281,
"end": 1282,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1276,
"end": 1279,
"name": "DUP3",
"source": 1
},
{
"begin": 1272,
"end": 1283,
"name": "ADD",
"source": 1
},
{
"begin": 1265,
"end": 1283,
"name": "SWAP1",
"source": 1
},
{
"begin": 1265,
"end": 1283,
"name": "POP",
"source": 1
},
{
"begin": 891,
"end": 1289,
"name": "SWAP2",
"source": 1
},
{
"begin": 891,
"end": 1289,
"name": "SWAP1",
"source": 1
},
{
"begin": 891,
"end": 1289,
"name": "POP",
"source": 1
},
{
"begin": 891,
"end": 1289,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1295,
"end": 1674,
"name": "tag",
"source": 1,
"value": "25"
},
{
"begin": 1295,
"end": 1674,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1479,
"end": 1482,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1501,
"end": 1648,
"name": "PUSH [tag]",
"source": 1,
"value": "54"
},
{
"begin": 1644,
"end": 1647,
"name": "DUP3",
"source": 1
},
{
"begin": 1501,
"end": 1648,
"name": "PUSH [tag]",
"source": 1,
"value": "47"
},
{
"begin": 1501,
"end": 1648,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1501,
"end": 1648,
"name": "tag",
"source": 1,
"value": "54"
},
{
"begin": 1501,
"end": 1648,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1494,
"end": 1648,
"name": "SWAP2",
"source": 1
},
{
"begin": 1494,
"end": 1648,
"name": "POP",
"source": 1
},
{
"begin": 1665,
"end": 1668,
"name": "DUP2",
"source": 1
},
{
"begin": 1658,
"end": 1668,
"name": "SWAP1",
"source": 1
},
{
"begin": 1658,
"end": 1668,
"name": "POP",
"source": 1
},
{
"begin": 1295,
"end": 1674,
"name": "SWAP2",
"source": 1
},
{
"begin": 1295,
"end": 1674,
"name": "SWAP1",
"source": 1
},
{
"begin": 1295,
"end": 1674,
"name": "POP",
"source": 1
},
{
"begin": 1295,
"end": 1674,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 1680,
"end": 2099,
"name": "tag",
"source": 1,
"value": "22"
},
{
"begin": 1680,
"end": 2099,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1846,
"end": 1850,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1884,
"end": 1886,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1873,
"end": 1882,
"name": "DUP3",
"source": 1
},
{
"begin": 1869,
"end": 1887,
"name": "ADD",
"source": 1
},
{
"begin": 1861,
"end": 1887,
"name": "SWAP1",
"source": 1
},
{
"begin": 1861,
"end": 1887,
"name": "POP",
"source": 1
},
{
"begin": 1933,
"end": 1942,
"name": "DUP2",
"source": 1
},
{
"begin": 1927,
"end": 1931,
"name": "DUP2",
"source": 1
},
{
"begin": 1923,
"end": 1943,
"name": "SUB",
"source": 1
},
{
"begin": 1919,
"end": 1920,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1908,
"end": 1917,
"name": "DUP4",
"source": 1
},
{
"begin": 1904,
"end": 1921,
"name": "ADD",
"source": 1
},
{
"begin": 1897,
"end": 1944,
"name": "MSTORE",
"source": 1
},
{
"begin": 1961,
"end": 2092,
"name": "PUSH [tag]",
"source": 1,
"value": "56"
},
{
"begin": 2087,
"end": 2091,
"name": "DUP2",
"source": 1
},
{
"begin": 1961,
"end": 2092,
"name": "PUSH [tag]",
"source": 1,
"value": "41"
},
{
"begin": 1961,
"end": 2092,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 1961,
"end": 2092,
"name": "tag",
"source": 1,
"value": "56"
},
{
"begin": 1961,
"end": 2092,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1953,
"end": 2092,
"name": "SWAP1",
"source": 1
},
{
"begin": 1953,
"end": 2092,
"name": "POP",
"source": 1
},
{
"begin": 1680,
"end": 2099,
"name": "SWAP2",
"source": 1
},
{
"begin": 1680,
"end": 2099,
"name": "SWAP1",
"source": 1
},
{
"begin": 1680,
"end": 2099,
"name": "POP",
"source": 1
},
{
"begin": 1680,
"end": 2099,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2186,
"end": 2333,
"name": "tag",
"source": 1,
"value": "50"
},
{
"begin": 2186,
"end": 2333,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2287,
"end": 2298,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2324,
"end": 2327,
"name": "DUP2",
"source": 1
},
{
"begin": 2309,
"end": 2327,
"name": "SWAP1",
"source": 1
},
{
"begin": 2309,
"end": 2327,
"name": "POP",
"source": 1
},
{
"begin": 2186,
"end": 2333,
"name": "SWAP3",
"source": 1
},
{
"begin": 2186,
"end": 2333,
"name": "SWAP2",
"source": 1
},
{
"begin": 2186,
"end": 2333,
"name": "POP",
"source": 1
},
{
"begin": 2186,
"end": 2333,
"name": "POP",
"source": 1
},
{
"begin": 2186,
"end": 2333,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2339,
"end": 2508,
"name": "tag",
"source": 1,
"value": "44"
},
{
"begin": 2339,
"end": 2508,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2423,
"end": 2434,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2457,
"end": 2463,
"name": "DUP3",
"source": 1
},
{
"begin": 2452,
"end": 2455,
"name": "DUP3",
"source": 1
},
{
"begin": 2445,
"end": 2464,
"name": "MSTORE",
"source": 1
},
{
"begin": 2497,
"end": 2501,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 2492,
"end": 2495,
"name": "DUP3",
"source": 1
},
{
"begin": 2488,
"end": 2502,
"name": "ADD",
"source": 1
},
{
"begin": 2473,
"end": 2502,
"name": "SWAP1",
"source": 1
},
{
"begin": 2473,
"end": 2502,
"name": "POP",
"source": 1
},
{
"begin": 2339,
"end": 2508,
"name": "SWAP3",
"source": 1
},
{
"begin": 2339,
"end": 2508,
"name": "SWAP2",
"source": 1
},
{
"begin": 2339,
"end": 2508,
"name": "POP",
"source": 1
},
{
"begin": 2339,
"end": 2508,
"name": "POP",
"source": 1
},
{
"begin": 2339,
"end": 2508,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2514,
"end": 2618,
"name": "tag",
"source": 1,
"value": "61"
},
{
"begin": 2514,
"end": 2618,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2559,
"end": 2566,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2588,
"end": 2612,
"name": "PUSH [tag]",
"source": 1,
"value": "63"
},
{
"begin": 2606,
"end": 2611,
"name": "DUP3",
"source": 1
},
{
"begin": 2588,
"end": 2612,
"name": "PUSH [tag]",
"source": 1,
"value": "64"
},
{
"begin": 2588,
"end": 2612,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 2588,
"end": 2612,
"name": "tag",
"source": 1,
"value": "63"
},
{
"begin": 2588,
"end": 2612,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2577,
"end": 2612,
"name": "SWAP1",
"source": 1
},
{
"begin": 2577,
"end": 2612,
"name": "POP",
"source": 1
},
{
"begin": 2514,
"end": 2618,
"name": "SWAP2",
"source": 1
},
{
"begin": 2514,
"end": 2618,
"name": "SWAP1",
"source": 1
},
{
"begin": 2514,
"end": 2618,
"name": "POP",
"source": 1
},
{
"begin": 2514,
"end": 2618,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2624,
"end": 2750,
"name": "tag",
"source": 1,
"value": "64"
},
{
"begin": 2624,
"end": 2750,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2661,
"end": 2668,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2701,
"end": 2743,
"name": "PUSH",
"source": 1,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 2694,
"end": 2699,
"name": "DUP3",
"source": 1
},
{
"begin": 2690,
"end": 2744,
"name": "AND",
"source": 1
},
{
"begin": 2679,
"end": 2744,
"name": "SWAP1",
"source": 1
},
{
"begin": 2679,
"end": 2744,
"name": "POP",
"source": 1
},
{
"begin": 2624,
"end": 2750,
"name": "SWAP2",
"source": 1
},
{
"begin": 2624,
"end": 2750,
"name": "SWAP1",
"source": 1
},
{
"begin": 2624,
"end": 2750,
"name": "POP",
"source": 1
},
{
"begin": 2624,
"end": 2750,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 2879,
"end": 2996,
"name": "tag",
"source": 1,
"value": "39"
},
{
"begin": 2879,
"end": 2996,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2988,
"end": 2989,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2985,
"end": 2986,
"name": "DUP1",
"source": 1
},
{
"begin": 2978,
"end": 2990,
"name": "REVERT",
"source": 1
},
{
"begin": 3002,
"end": 3172,
"name": "tag",
"source": 1,
"value": "46"
},
{
"begin": 3002,
"end": 3172,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3142,
"end": 3164,
"name": "PUSH",
"source": 1,
"value": "4661696C656420746F2073656E64204574686572000000000000000000000000"
},
{
"begin": 3138,
"end": 3139,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3130,
"end": 3136,
"name": "DUP3",
"source": 1
},
{
"begin": 3126,
"end": 3140,
"name": "ADD",
"source": 1
},
{
"begin": 3119,
"end": 3165,
"name": "MSTORE",
"source": 1
},
{
"begin": 3002,
"end": 3172,
"name": "POP",
"source": 1
},
{
"begin": 3002,
"end": 3172,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 3178,
"end": 3292,
"name": "tag",
"source": 1,
"value": "52"
},
{
"begin": 3178,
"end": 3292,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3178,
"end": 3292,
"name": "POP",
"source": 1
},
{
"begin": 3178,
"end": 3292,
"name": "JUMP",
"source": 1,
"value": "[out]"
},
{
"begin": 3298,
"end": 3436,
"name": "tag",
"source": 1,
"value": "35"
},
{
"begin": 3298,
"end": 3436,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3379,
"end": 3411,
"name": "PUSH [tag]",
"source": 1,
"value": "72"
},
{
"begin": 3405,
"end": 3410,
"name": "DUP2",
"source": 1
},
{
"begin": 3379,
"end": 3411,
"name": "PUSH [tag]",
"source": 1,
"value": "61"
},
{
"begin": 3379,
"end": 3411,
"name": "JUMP",
"source": 1,
"value": "[in]"
},
{
"begin": 3379,
"end": 3411,
"name": "tag",
"source": 1,
"value": "72"
},
{
"begin": 3379,
"end": 3411,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3372,
"end": 3377,
"name": "DUP2",
"source": 1
},
{
"begin": 3369,
"end": 3412,
"name": "EQ",
"source": 1
},
{
"begin": 3359,
"end": 3430,
"name": "PUSH [tag]",
"source": 1,
"value": "73"
},
{
"begin": 3359,
"end": 3430,
"name": "JUMPI",
"source": 1
},
{
"begin": 3426,
"end": 3427,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3423,
"end": 3424,
"name": "DUP1",
"source": 1
},
{
"begin": 3416,
"end": 3428,
"name": "REVERT",
"source": 1
},
{
"begin": 3359,
"end": 3430,
"name": "tag",
"source": 1,
"value": "73"
},
{
"begin": 3359,
"end": 3430,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3298,
"end": 3436,
"name": "POP",
"source": 1
},
{
"begin": 3298,
"end": 3436,
"name": "JUMP",
"source": 1,
"value": "[out]"
}
]
}
}
},
"methodIdentifiers": {
"sendViaCall(address)": "830c29ae",
"sendViaSend(address)": "74be4806",
"sendViaTransfer(address)": "636e082b"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"sendViaCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"sendViaSend\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"sendViaTransfer\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":\"SendEther\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol\":{\"keccak256\":\"0xb03cec364ca40c3e46122f669749ff948eb79b6f7bc293c26e230c0ccbbc6a8c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d21d651d0051240919e6a9ca5ed57e4d3978dc2f4f20392567de5d83b5230856\",\"dweb:/ipfs/QmQbTrnV7nEhS4WDeehpQ8brNHhaDew1J88g5VH4sEqeYw\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"errors": [
{
"component": "general",
"errorCode": "2072",
"formattedMessage": "Warning: Unused local variable.\n --> .learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol:48:21:\n |\n48 | (bool sent, bytes memory data) = _to.call{value: msg.value}(\"\");\n | ^^^^^^^^^^^^^^^^^\n\n",
"message": "Unused local variable.",
"severity": "warning",
"sourceLocation": {
"end": 1393,
"file": ".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol",
"start": 1376
},
"type": "Warning"
},
{
"component": "general",
"errorCode": "2072",
"formattedMessage": "Warning: Unused local variable.\n --> .learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol:65:21:\n |\n65 | (bool sent, bytes memory data) = owner.call{value: amount}(\"\");\n | ^^^^^^^^^^^^^^^^^\n\n",
"message": "Unused local variable.",
"severity": "warning",
"sourceLocation": {
"end": 1751,
"file": ".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol",
"start": 1734
},
"type": "Warning"
}
],
"sources": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": {
"ast": {
"absolutePath": ".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol",
"exportedSymbols": {
"Charity": [
122
],
"ReceiveEther": [
22
],
"SendEther": [
78
]
},
"id": 123,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".3"
],
"nodeType": "PragmaDirective",
"src": "32:23:0"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 22,
"linearizedBaseContracts": [
22
],
"name": "ReceiveEther",
"nameLocation": "66:12:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": {
"id": 4,
"nodeType": "Block",
"src": "471:2:0",
"statements": []
},
"id": 5,
"implemented": true,
"kind": "receive",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2,
"nodeType": "ParameterList",
"parameters": [],
"src": "451:2:0"
},
"returnParameters": {
"id": 3,
"nodeType": "ParameterList",
"parameters": [],
"src": "471:0:0"
},
"scope": 22,
"src": "444:29:0",
"stateMutability": "payable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 8,
"nodeType": "Block",
"src": "569:2:0",
"statements": []
},
"id": 9,
"implemented": true,
"kind": "fallback",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 6,
"nodeType": "ParameterList",
"parameters": [],
"src": "549:2:0"
},
"returnParameters": {
"id": 7,
"nodeType": "ParameterList",
"parameters": [],
"src": "569:0:0"
},
"scope": 22,
"src": "541:30:0",
"stateMutability": "payable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 20,
"nodeType": "Block",
"src": "626:45:0",
"statements": [
{
"expression": {
"expression": {
"arguments": [
{
"id": 16,
"name": "this",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967268,
"src": "651:4:0",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ReceiveEther_$22",
"typeString": "contract ReceiveEther"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_contract$_ReceiveEther_$22",
"typeString": "contract ReceiveEther"
}
],
"id": 15,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "643:7:0",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 14,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "643:7:0",
"typeDescriptions": {}
}
},
"id": 17,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "643:13:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 18,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "balance",
"nodeType": "MemberAccess",
"src": "643:21:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"functionReturnParameters": 13,
"id": 19,
"nodeType": "Return",
"src": "636:28:0"
}
]
},
"functionSelector": "12065fe0",
"id": 21,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "getBalance",
"nameLocation": "586:10:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 10,
"nodeType": "ParameterList",
"parameters": [],
"src": "596:2:0"
},
"returnParameters": {
"id": 13,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 21,
"src": "620:4:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 11,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "620:4:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "619:6:0"
},
"scope": 22,
"src": "577:94:0",
"stateMutability": "view",
"virtual": false,
"visibility": "public"
}
],
"scope": 123,
"src": "57:616:0",
"usedErrors": []
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 78,
"linearizedBaseContracts": [
78
],
"name": "SendEther",
"nameLocation": "684:9:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": {
"id": 34,
"nodeType": "Block",
"src": "761:109:0",
"statements": [
{
"expression": {
"arguments": [
{
"expression": {
"id": 30,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "853:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 31,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "value",
"nodeType": "MemberAccess",
"src": "853:9:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"expression": {
"id": 27,
"name": "_to",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 24,
"src": "840:3:0",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"id": 29,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "transfer",
"nodeType": "MemberAccess",
"src": "840:12:0",
"typeDescriptions": {
"typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$",
"typeString": "function (uint256)"
}
},
"id": 32,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "840:23:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 33,
"nodeType": "ExpressionStatement",
"src": "840:23:0"
}
]
},
"functionSelector": "636e082b",
"id": 35,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "sendViaTransfer",
"nameLocation": "709:15:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 24,
"mutability": "mutable",
"name": "_to",
"nameLocation": "741:3:0",
"nodeType": "VariableDeclaration",
"scope": 35,
"src": "725:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
},
"typeName": {
"id": 23,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "725:15:0",
"stateMutability": "payable",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"visibility": "internal"
}
],
"src": "724:21:0"
},
"returnParameters": {
"id": 26,
"nodeType": "ParameterList",
"parameters": [],
"src": "761:0:0"
},
"scope": 78,
"src": "700:170:0",
"stateMutability": "payable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 53,
"nodeType": "Block",
"src": "933:229:0",
"statements": [
{
"assignments": [
41
],
"declarations": [
{
"constant": false,
"id": 41,
"mutability": "mutable",
"name": "sent",
"nameLocation": "1082:4:0",
"nodeType": "VariableDeclaration",
"scope": 53,
"src": "1077:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 40,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1077:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"id": 47,
"initialValue": {
"arguments": [
{
"expression": {
"id": 44,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "1098:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 45,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "value",
"nodeType": "MemberAccess",
"src": "1098:9:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"expression": {
"id": 42,
"name": "_to",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 37,
"src": "1089:3:0",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"id": 43,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "send",
"nodeType": "MemberAccess",
"src": "1089:8:0",
"typeDescriptions": {
"typeIdentifier": "t_function_send_nonpayable$_t_uint256_$returns$_t_bool_$",
"typeString": "function (uint256) returns (bool)"
}
},
"id": 46,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1089:19:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1077:31:0"
},
{
"expression": {
"arguments": [
{
"id": 49,
"name": "sent",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 41,
"src": "1126:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"id": 50,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1132:22:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"typeString": "literal_string \"Failed to send Ether\""
},
"value": "Failed to send Ether"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"typeString": "literal_string \"Failed to send Ether\""
}
],
"id": 48,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "1118: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,
"names": [],
"nodeType": "FunctionCall",
"src": "1118:37:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 52,
"nodeType": "ExpressionStatement",
"src": "1118:37:0"
}
]
},
"functionSelector": "74be4806",
"id": 54,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "sendViaSend",
"nameLocation": "885:11:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 38,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 37,
"mutability": "mutable",
"name": "_to",
"nameLocation": "913:3:0",
"nodeType": "VariableDeclaration",
"scope": 54,
"src": "897:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
},
"typeName": {
"id": 36,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "897:15:0",
"stateMutability": "payable",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"visibility": "internal"
}
],
"src": "896:21:0"
},
"returnParameters": {
"id": 39,
"nodeType": "ParameterList",
"parameters": [],
"src": "933:0:0"
},
"scope": 78,
"src": "876:286:0",
"stateMutability": "payable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 76,
"nodeType": "Block",
"src": "1225:256:0",
"statements": [
{
"assignments": [
60,
62
],
"declarations": [
{
"constant": false,
"id": 60,
"mutability": "mutable",
"name": "sent",
"nameLocation": "1370:4:0",
"nodeType": "VariableDeclaration",
"scope": 76,
"src": "1365:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 59,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1365:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 62,
"mutability": "mutable",
"name": "data",
"nameLocation": "1389:4:0",
"nodeType": "VariableDeclaration",
"scope": 76,
"src": "1376:17:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 61,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1376:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"id": 70,
"initialValue": {
"arguments": [
{
"hexValue": "",
"id": 68,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1424:2:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
},
"value": ""
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
}
],
"expression": {
"id": 63,
"name": "_to",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 56,
"src": "1397:3:0",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"id": 64,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "call",
"nodeType": "MemberAccess",
"src": "1397:8:0",
"typeDescriptions": {
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
}
},
"id": 67,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"names": [
"value"
],
"nodeType": "FunctionCallOptions",
"options": [
{
"expression": {
"id": 65,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "1413:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 66,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "value",
"nodeType": "MemberAccess",
"src": "1413:9:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"src": "1397:26:0",
"typeDescriptions": {
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
}
},
"id": 69,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1397:30:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "tuple(bool,bytes memory)"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1364:63:0"
},
{
"expression": {
"arguments": [
{
"id": 72,
"name": "sent",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 60,
"src": "1445:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"id": 73,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1451:22:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"typeString": "literal_string \"Failed to send Ether\""
},
"value": "Failed to send Ether"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"typeString": "literal_string \"Failed to send Ether\""
}
],
"id": 71,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "1437:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 74,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1437:37:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 75,
"nodeType": "ExpressionStatement",
"src": "1437:37:0"
}
]
},
"functionSelector": "830c29ae",
"id": 77,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "sendViaCall",
"nameLocation": "1177:11:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 57,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 56,
"mutability": "mutable",
"name": "_to",
"nameLocation": "1205:3:0",
"nodeType": "VariableDeclaration",
"scope": 77,
"src": "1189:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
},
"typeName": {
"id": 55,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1189:15:0",
"stateMutability": "payable",
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
},
"visibility": "internal"
}
],
"src": "1188:21:0"
},
"returnParameters": {
"id": 58,
"nodeType": "ParameterList",
"parameters": [],
"src": "1225:0:0"
},
"scope": 78,
"src": "1168:313:0",
"stateMutability": "payable",
"virtual": false,
"visibility": "public"
}
],
"scope": 123,
"src": "675:808:0",
"usedErrors": []
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 122,
"linearizedBaseContracts": [
122
],
"name": "Charity",
"nameLocation": "1494:7:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"functionSelector": "8da5cb5b",
"id": 80,
"mutability": "mutable",
"name": "owner",
"nameLocation": "1523:5:0",
"nodeType": "VariableDeclaration",
"scope": 122,
"src": "1508:20:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 79,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1508:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "public"
},
{
"body": {
"id": 88,
"nodeType": "Block",
"src": "1553:35:0",
"statements": [
{
"expression": {
"id": 86,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 83,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 80,
"src": "1563:5:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"expression": {
"id": 84,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967281,
"src": "1571:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 85,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "1571:10:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1563:18:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 87,
"nodeType": "ExpressionStatement",
"src": "1563:18:0"
}
]
},
"id": 89,
"implemented": true,
"kind": "constructor",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 81,
"nodeType": "ParameterList",
"parameters": [],
"src": "1550:2:0"
},
"returnParameters": {
"id": 82,
"nodeType": "ParameterList",
"parameters": [],
"src": "1553:0:0"
},
"scope": 122,
"src": "1539:49:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 92,
"nodeType": "Block",
"src": "1631:2:0",
"statements": []
},
"functionSelector": "ed88c68e",
"id": 93,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "donate",
"nameLocation": "1607:6:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 90,
"nodeType": "ParameterList",
"parameters": [],
"src": "1613:2:0"
},
"returnParameters": {
"id": 91,
"nodeType": "ParameterList",
"parameters": [],
"src": "1631:0:0"
},
"scope": 122,
"src": "1598:35:0",
"stateMutability": "payable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 120,
"nodeType": "Block",
"src": "1666:172:0",
"statements": [
{
"assignments": [
97
],
"declarations": [
{
"constant": false,
"id": 97,
"mutability": "mutable",
"name": "amount",
"nameLocation": "1681:6:0",
"nodeType": "VariableDeclaration",
"scope": 120,
"src": "1676:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 96,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "1676:4:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"id": 103,
"initialValue": {
"expression": {
"arguments": [
{
"id": 100,
"name": "this",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967268,
"src": "1698:4:0",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Charity_$122",
"typeString": "contract Charity"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_contract$_Charity_$122",
"typeString": "contract Charity"
}
],
"id": 99,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "1690:7:0",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": {
"id": 98,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1690:7:0",
"typeDescriptions": {}
}
},
"id": 101,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1690:13:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 102,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "balance",
"nodeType": "MemberAccess",
"src": "1690:21:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1676:35:0"
},
{
"assignments": [
105,
107
],
"declarations": [
{
"constant": false,
"id": 105,
"mutability": "mutable",
"name": "sent",
"nameLocation": "1728:4:0",
"nodeType": "VariableDeclaration",
"scope": 120,
"src": "1723:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 104,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1723:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 107,
"mutability": "mutable",
"name": "data",
"nameLocation": "1747:4:0",
"nodeType": "VariableDeclaration",
"scope": 120,
"src": "1734:17:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 106,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1734:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"id": 114,
"initialValue": {
"arguments": [
{
"hexValue": "",
"id": 112,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1781:2:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
},
"value": ""
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"typeString": "literal_string \"\""
}
],
"expression": {
"id": 108,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 80,
"src": "1755:5:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 109,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "call",
"nodeType": "MemberAccess",
"src": "1755:10:0",
"typeDescriptions": {
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
}
},
"id": 111,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"names": [
"value"
],
"nodeType": "FunctionCallOptions",
"options": [
{
"id": 110,
"name": "amount",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 97,
"src": "1773:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"src": "1755:25:0",
"typeDescriptions": {
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
}
},
"id": 113,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1755:29:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
"typeString": "tuple(bool,bytes memory)"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1722:62:0"
},
{
"expression": {
"arguments": [
{
"id": 116,
"name": "sent",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 105,
"src": "1802:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"id": 117,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1808:22:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"typeString": "literal_string \"Failed to send Ether\""
},
"value": "Failed to send Ether"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"typeString": "literal_string \"Failed to send Ether\""
}
],
"id": 115,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4294967278,
4294967278
],
"referencedDeclaration": 4294967278,
"src": "1794:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
"id": 118,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1794:37:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 119,
"nodeType": "ExpressionStatement",
"src": "1794:37:0"
}
]
},
"functionSelector": "3ccfd60b",
"id": 121,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "withdraw",
"nameLocation": "1648:8:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 94,
"nodeType": "ParameterList",
"parameters": [],
"src": "1656:2:0"
},
"returnParameters": {
"id": 95,
"nodeType": "ParameterList",
"parameters": [],
"src": "1666:0:0"
},
"scope": 122,
"src": "1639:199:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
}
],
"scope": 123,
"src": "1485:355:0",
"usedErrors": []
}
],
"src": "32:1808:0"
},
"id": 0
}
}
}
}
{
"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": {
"@_89": {
"entryPoint": null,
"id": 89,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102d8806100606000396000f3fe6080604052600436106100345760003560e01c80633ccfd60b146100395780638da5cb5b14610050578063ed88c68e1461007b575b600080fd5b34801561004557600080fd5b5061004e610085565b005b34801561005c57600080fd5b5061006561015d565b60405161007291906101ed565b60405180910390f35b610083610181565b005b600047905060008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16836040516100d1906101d8565b60006040518083038185875af1925050503d806000811461010e576040519150601f19603f3d011682016040523d82523d6000602084013e610113565b606091505b509150915081610158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014f90610208565b60405180910390fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b565b61018c81610244565b82525050565b600061019f601483610233565b91506101aa82610276565b602082019050919050565b60006101c2600083610228565b91506101cd8261029f565b600082019050919050565b60006101e3826101b5565b9150819050919050565b60006020820190506102026000830184610183565b92915050565b6000602082019050818103600083015261022181610192565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061024f82610256565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b5056fea2646970667358221220d6950902f49662848be2d366fd0e8b0b8ae993ceadbb80203a770dac23c2976164736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x2D8 DUP1 PUSH2 0x60 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x50 JUMPI DUP1 PUSH4 0xED88C68E EQ PUSH2 0x7B JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x45 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x4E PUSH2 0x85 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x65 PUSH2 0x15D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x72 SWAP2 SWAP1 PUSH2 0x1ED JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x83 PUSH2 0x181 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP1 PUSH2 0x1D8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x10E JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x113 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x158 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x14F SWAP1 PUSH2 0x208 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x18C DUP2 PUSH2 0x244 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19F PUSH1 0x14 DUP4 PUSH2 0x233 JUMP JUMPDEST SWAP2 POP PUSH2 0x1AA DUP3 PUSH2 0x276 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1C2 PUSH1 0x0 DUP4 PUSH2 0x228 JUMP JUMPDEST SWAP2 POP PUSH2 0x1CD DUP3 PUSH2 0x29F JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1E3 DUP3 PUSH2 0x1B5 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x202 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x183 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x221 DUP2 PUSH2 0x192 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x24F DUP3 PUSH2 0x256 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD6 SWAP6 MULMOD MUL DELEGATECALL SWAP7 PUSH3 0x848BE2 0xD3 PUSH7 0xFD0E8B0B8AE993 0xCE 0xAD 0xBB DUP1 KECCAK256 GASPRICE PUSH24 0xDAC23C2976164736F6C6343000807003300000000000000 ",
"sourceMap": "1485:355:0:-:0;;;1539:49;;;;;;;;;;1571:10;1563:5;;:18;;;;;;;;;;;;;;;;;;1485:355;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@donate_93": {
"entryPoint": 385,
"id": 93,
"parameterSlots": 0,
"returnSlots": 0
},
"@owner_80": {
"entryPoint": 349,
"id": 80,
"parameterSlots": 0,
"returnSlots": 0
},
"@withdraw_121": {
"entryPoint": 133,
"id": 121,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 387,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack": {
"entryPoint": 402,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 437,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 472,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 493,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 520,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 552,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 563,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 580,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 598,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb": {
"entryPoint": 630,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470": {
"entryPoint": 671,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:2800:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "72:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "112:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "94:17:1"
},
"nodeType": "YulFunctionCall",
"src": "94:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "82:6:1"
},
"nodeType": "YulFunctionCall",
"src": "82:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "82:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "60:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "67:3:1",
"type": ""
}
],
"src": "7:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "277:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "287:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "353:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "358:2:1",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "294:58:1"
},
"nodeType": "YulFunctionCall",
"src": "294:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "287:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "459:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulIdentifier",
"src": "370:88:1"
},
"nodeType": "YulFunctionCall",
"src": "370:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "370:93:1"
},
{
"nodeType": "YulAssignment",
"src": "472:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "483:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "488:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "479:3:1"
},
"nodeType": "YulFunctionCall",
"src": "479:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "472:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "265:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "273:3:1",
"type": ""
}
],
"src": "131:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "666:235:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "676:90:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "759:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "764:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "683:75:1"
},
"nodeType": "YulFunctionCall",
"src": "683:83:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "676:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "864:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulIdentifier",
"src": "775:88:1"
},
"nodeType": "YulFunctionCall",
"src": "775:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "775:93:1"
},
{
"nodeType": "YulAssignment",
"src": "877:18:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "888:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "893:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "884:3:1"
},
"nodeType": "YulFunctionCall",
"src": "884:11:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "877:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "654:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "662:3:1",
"type": ""
}
],
"src": "503:398:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1095:191:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1106:154:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1256:3:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1113:141:1"
},
"nodeType": "YulFunctionCall",
"src": "1113:147:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1106:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1270:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1277:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1270:3:1"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1082:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1091:3:1",
"type": ""
}
],
"src": "907:379:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1390:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1400:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1412:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1423:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1408:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1408:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1400:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1480:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1493:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1504:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1489:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1489:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "1436:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1436:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "1436:71:1"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1362:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1374:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1385:4:1",
"type": ""
}
],
"src": "1292:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1691:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1701:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1713:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1724:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1709:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1709:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1701:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1748:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1759:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1744:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1744:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1767:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1773:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1763:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1763:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1737:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1737:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "1737:47:1"
},
{
"nodeType": "YulAssignment",
"src": "1793:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1927:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1801:124:1"
},
"nodeType": "YulFunctionCall",
"src": "1801:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1793:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1671:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1686:4:1",
"type": ""
}
],
"src": "1520:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2058:34:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2068:18:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2083:3:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2068:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2030:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2035:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2046:11:1",
"type": ""
}
],
"src": "1945:147:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2194:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2211:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2216:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2204:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2204:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "2204:19:1"
},
{
"nodeType": "YulAssignment",
"src": "2232:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2251:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2256:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2247:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2247:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2232:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2166:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2171:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2182:11:1",
"type": ""
}
],
"src": "2098:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2318:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2328:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2357:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "2339:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2339:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2328:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2300:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2310:7:1",
"type": ""
}
],
"src": "2273:96:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2420:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2430:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2445:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2452:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2441:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2441:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2430:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2402:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2412:7:1",
"type": ""
}
],
"src": "2375:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2613:64:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2635:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2643:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2631:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2631:14:1"
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "2647:22:1",
"type": "",
"value": "Failed to send Ether"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2624:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2624:46:1"
},
"nodeType": "YulExpressionStatement",
"src": "2624:46:1"
}
]
},
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2605:6:1",
"type": ""
}
],
"src": "2507:170:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2789:8:1",
"statements": []
},
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2781:6:1",
"type": ""
}
],
"src": "2683:114:1"
}
]
},
"contents": "{\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, 0)\n store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(pos)\n end := add(pos, 0)\n }\n\n function abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos ) -> end {\n\n pos := abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__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_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(memPtr) {\n\n mstore(add(memPtr, 0), \"Failed to send Ether\")\n\n }\n\n function store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(memPtr) {\n\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600436106100345760003560e01c80633ccfd60b146100395780638da5cb5b14610050578063ed88c68e1461007b575b600080fd5b34801561004557600080fd5b5061004e610085565b005b34801561005c57600080fd5b5061006561015d565b60405161007291906101ed565b60405180910390f35b610083610181565b005b600047905060008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16836040516100d1906101d8565b60006040518083038185875af1925050503d806000811461010e576040519150601f19603f3d011682016040523d82523d6000602084013e610113565b606091505b509150915081610158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014f90610208565b60405180910390fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b565b61018c81610244565b82525050565b600061019f601483610233565b91506101aa82610276565b602082019050919050565b60006101c2600083610228565b91506101cd8261029f565b600082019050919050565b60006101e3826101b5565b9150819050919050565b60006020820190506102026000830184610183565b92915050565b6000602082019050818103600083015261022181610192565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061024f82610256565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b5056fea2646970667358221220d6950902f49662848be2d366fd0e8b0b8ae993ceadbb80203a770dac23c2976164736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3CCFD60B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x50 JUMPI DUP1 PUSH4 0xED88C68E EQ PUSH2 0x7B JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x45 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x4E PUSH2 0x85 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x65 PUSH2 0x15D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x72 SWAP2 SWAP1 PUSH2 0x1ED JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x83 PUSH2 0x181 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP1 PUSH2 0x1D8 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x10E JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x113 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x158 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x14F SWAP1 PUSH2 0x208 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x18C DUP2 PUSH2 0x244 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19F PUSH1 0x14 DUP4 PUSH2 0x233 JUMP JUMPDEST SWAP2 POP PUSH2 0x1AA DUP3 PUSH2 0x276 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1C2 PUSH1 0x0 DUP4 PUSH2 0x228 JUMP JUMPDEST SWAP2 POP PUSH2 0x1CD DUP3 PUSH2 0x29F JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1E3 DUP3 PUSH2 0x1B5 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x202 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x183 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x221 DUP2 PUSH2 0x192 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x24F DUP3 PUSH2 0x256 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD6 SWAP6 MULMOD MUL DELEGATECALL SWAP7 PUSH3 0x848BE2 0xD3 PUSH7 0xFD0E8B0B8AE993 0xCE 0xAD 0xBB DUP1 KECCAK256 GASPRICE PUSH24 0xDAC23C2976164736F6C6343000807003300000000000000 ",
"sourceMap": "1485:355:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1639:199;;;;;;;;;;;;;:::i;:::-;;1508:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1598:35;;;:::i;:::-;;1639:199;1676:11;1690:21;1676:35;;1723:9;1734:17;1755:5;;;;;;;;;;:10;;1773:6;1755:29;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1722:62;;;;1802:4;1794:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;1666:172;;;1639:199::o;1508:20::-;;;;;;;;;;;;:::o;1598:35::-;:::o;7:118:1:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;7:118;;:::o;131:366::-;273:3;294:67;358:2;353:3;294:67;:::i;:::-;287:74;;370:93;459:3;370:93;:::i;:::-;488:2;483:3;479:12;472:19;;131:366;;;:::o;503:398::-;662:3;683:83;764:1;759:3;683:83;:::i;:::-;676:90;;775:93;864:3;775:93;:::i;:::-;893:1;888:3;884:11;877:18;;503:398;;;:::o;907:379::-;1091:3;1113:147;1256:3;1113:147;:::i;:::-;1106:154;;1277:3;1270:10;;907:379;;;:::o;1292:222::-;1385:4;1423:2;1412:9;1408:18;1400:26;;1436:71;1504:1;1493:9;1489:17;1480:6;1436:71;:::i;:::-;1292:222;;;;:::o;1520:419::-;1686:4;1724:2;1713:9;1709:18;1701:26;;1773:9;1767:4;1763:20;1759:1;1748:9;1744:17;1737:47;1801:131;1927:4;1801:131;:::i;:::-;1793:139;;1520:419;;;:::o;1945:147::-;2046:11;2083:3;2068:18;;1945:147;;;;:::o;2098:169::-;2182:11;2216:6;2211:3;2204:19;2256:4;2251:3;2247:14;2232:29;;2098:169;;;;:::o;2273:96::-;2310:7;2339:24;2357:5;2339:24;:::i;:::-;2328:35;;2273:96;;;:::o;2375:126::-;2412:7;2452:42;2445:5;2441:54;2430:65;;2375:126;;;:::o;2507:170::-;2647:22;2643:1;2635:6;2631:14;2624:46;2507:170;:::o;2683:114::-;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "145600",
"executionCost": "24456",
"totalCost": "170056"
},
"external": {
"donate()": "142",
"owner()": "2511",
"withdraw()": "infinite"
}
},
"methodIdentifiers": {
"donate()": "ed88c68e",
"owner()": "8da5cb5b",
"withdraw()": "3ccfd60b"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "donate",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "withdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "donate",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "withdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": "Charity"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": {
"keccak256": "0xb03cec364ca40c3e46122f669749ff948eb79b6f7bc293c26e230c0ccbbc6a8c",
"license": "MIT",
"urls": [
"bzz-raw://d21d651d0051240919e6a9ca5ed57e4d3978dc2f4f20392567de5d83b5230856",
"dweb:/ipfs/QmQbTrnV7nEhS4WDeehpQ8brNHhaDew1J88g5VH4sEqeYw"
]
}
},
"version": 1
}
{
"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": {},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b5060bb8061001f6000396000f3fe608060405260043610601f5760003560e01c806312065fe0146027576025565b36602557005b005b348015603257600080fd5b506039604d565b604051604491906062565b60405180910390f35b600047905090565b605c81607b565b82525050565b6000602082019050607560008301846055565b92915050565b600081905091905056fea2646970667358221220c6449c1369694de0c5c638b6a1b0e2b1007e8f6e072e7b97af15862e2453a8f664736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0xBB DUP1 PUSH2 0x1F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH1 0x1F JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x12065FE0 EQ PUSH1 0x27 JUMPI PUSH1 0x25 JUMP JUMPDEST CALLDATASIZE PUSH1 0x25 JUMPI STOP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH1 0x32 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x39 PUSH1 0x4D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x44 SWAP2 SWAP1 PUSH1 0x62 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x5C DUP2 PUSH1 0x7B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0x75 PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0x55 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC6 DIFFICULTY SWAP13 SGT PUSH10 0x694DE0C5C638B6A1B0E2 0xB1 STOP PUSH31 0x8F6E072E7B97AF15862E2453A8F664736F6C63430008070033000000000000 ",
"sourceMap": "57:616:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_5": {
"entryPoint": null,
"id": 5,
"parameterSlots": 0,
"returnSlots": 0
},
"@_9": {
"entryPoint": null,
"id": 9,
"parameterSlots": 0,
"returnSlots": 0
},
"@getBalance_21": {
"entryPoint": 77,
"id": 21,
"parameterSlots": 0,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 85,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 98,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 123,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:439:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "72:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "89:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "112:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "94:17:1"
},
"nodeType": "YulFunctionCall",
"src": "94:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "82:6:1"
},
"nodeType": "YulFunctionCall",
"src": "82:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "82:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "60:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "67:3:1",
"type": ""
}
],
"src": "7:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "229:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "239:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "251:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "262:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "247:3:1"
},
"nodeType": "YulFunctionCall",
"src": "247:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "239:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "319:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "332:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "343:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "328:3:1"
},
"nodeType": "YulFunctionCall",
"src": "328:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "275:43:1"
},
"nodeType": "YulFunctionCall",
"src": "275:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "275:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "201:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "213:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "224:4:1",
"type": ""
}
],
"src": "131:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "404:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "414:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "425:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "414:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "386:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "396:7:1",
"type": ""
}
],
"src": "359:77:1"
}
]
},
"contents": "{\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 cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405260043610601f5760003560e01c806312065fe0146027576025565b36602557005b005b348015603257600080fd5b506039604d565b604051604491906062565b60405180910390f35b600047905090565b605c81607b565b82525050565b6000602082019050607560008301846055565b92915050565b600081905091905056fea2646970667358221220c6449c1369694de0c5c638b6a1b0e2b1007e8f6e072e7b97af15862e2453a8f664736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH1 0x1F JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x12065FE0 EQ PUSH1 0x27 JUMPI PUSH1 0x25 JUMP JUMPDEST CALLDATASIZE PUSH1 0x25 JUMPI STOP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH1 0x32 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x39 PUSH1 0x4D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x44 SWAP2 SWAP1 PUSH1 0x62 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SELFBALANCE SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x5C DUP2 PUSH1 0x7B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0x75 PUSH1 0x0 DUP4 ADD DUP5 PUSH1 0x55 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC6 DIFFICULTY SWAP13 SGT PUSH10 0x694DE0C5C638B6A1B0E2 0xB1 STOP PUSH31 0x8F6E072E7B97AF15862E2453A8F664736F6C63430008070033000000000000 ",
"sourceMap": "57:616:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;577:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;620:4;643:21;636:28;;577:94;:::o;7:118:1:-;94:24;112:5;94:24;:::i;:::-;89:3;82:37;7:118;;:::o;131:222::-;224:4;262:2;251:9;247:18;239:26;;275:71;343:1;332:9;328:17;319:6;275:71;:::i;:::-;131:222;;;;:::o;359:77::-;396:7;425:5;414:16;;359:77;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "37400",
"executionCost": "87",
"totalCost": "37487"
},
"external": {
"": "85",
"getBalance()": "317"
}
},
"methodIdentifiers": {
"getBalance()": "12065fe0"
}
},
"abi": [
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "getBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "getBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": "ReceiveEther"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": {
"keccak256": "0xb03cec364ca40c3e46122f669749ff948eb79b6f7bc293c26e230c0ccbbc6a8c",
"license": "MIT",
"urls": [
"bzz-raw://d21d651d0051240919e6a9ca5ed57e4d3978dc2f4f20392567de5d83b5230856",
"dweb:/ipfs/QmQbTrnV7nEhS4WDeehpQ8brNHhaDew1J88g5VH4sEqeYw"
]
}
},
"version": 1
}
{
"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": {},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50610390806100206000396000f3fe6080604052600436106100345760003560e01c8063636e082b1461003957806374be480614610055578063830c29ae14610071575b600080fd5b610053600480360381019061004e919061021c565b61008d565b005b61006f600480360381019061006a919061021c565b6100d7565b005b61008b6004803603810190610086919061021c565b610154565b005b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156100d3573d6000803e3d6000fd5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050905080610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906102a4565b60405180910390fd5b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163460405161017b9061028f565b60006040518083038185875af1925050503d80600081146101b8576040519150601f19603f3d011682016040523d82523d6000602084013e6101bd565b606091505b509150915081610202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101f9906102a4565b60405180910390fd5b505050565b60008135905061021681610343565b92915050565b60006020828403121561023257610231610312565b5b600061024084828501610207565b91505092915050565b60006102566014836102cf565b915061026182610317565b602082019050919050565b60006102796000836102c4565b915061028482610340565b600082019050919050565b600061029a8261026c565b9150819050919050565b600060208201905081810360008301526102bd81610249565b9050919050565b600081905092915050565b600082825260208201905092915050565b60006102eb826102f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b50565b61034c816102e0565b811461035757600080fd5b5056fea2646970667358221220cacf41f882a655b2dcfe11f06d70f6db98c3e64c8fd3b975f070f74dc9d89d3c64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x390 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x636E082B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x74BE4806 EQ PUSH2 0x55 JUMPI DUP1 PUSH4 0x830C29AE EQ PUSH2 0x71 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x53 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4E SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x8D JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6A SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0xD7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x8B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x154 JUMP JUMPDEST STOP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0xD3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP SWAP1 POP DUP1 PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLVALUE PUSH1 0x40 MLOAD PUSH2 0x17B SWAP1 PUSH2 0x28F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1B8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1BD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x202 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1F9 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x216 DUP2 PUSH2 0x343 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x232 JUMPI PUSH2 0x231 PUSH2 0x312 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x240 DUP5 DUP3 DUP6 ADD PUSH2 0x207 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x256 PUSH1 0x14 DUP4 PUSH2 0x2CF JUMP JUMPDEST SWAP2 POP PUSH2 0x261 DUP3 PUSH2 0x317 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x279 PUSH1 0x0 DUP4 PUSH2 0x2C4 JUMP JUMPDEST SWAP2 POP PUSH2 0x284 DUP3 PUSH2 0x340 JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29A DUP3 PUSH2 0x26C JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2BD DUP2 PUSH2 0x249 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2EB DUP3 PUSH2 0x2F2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x34C DUP2 PUSH2 0x2E0 JUMP JUMPDEST DUP2 EQ PUSH2 0x357 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCA 0xCF COINBASE 0xF8 DUP3 0xA6 SSTORE 0xB2 0xDC INVALID GT CREATE PUSH14 0x70F6DB98C3E64C8FD3B975F070F7 0x4D 0xC9 0xD8 SWAP14 EXTCODECOPY PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "675:808:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@sendViaCall_77": {
"entryPoint": 340,
"id": 77,
"parameterSlots": 1,
"returnSlots": 0
},
"@sendViaSend_54": {
"entryPoint": 215,
"id": 54,
"parameterSlots": 1,
"returnSlots": 0
},
"@sendViaTransfer_35": {
"entryPoint": 141,
"id": 35,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_address_payable": {
"entryPoint": 519,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_payable": {
"entryPoint": 540,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack": {
"entryPoint": 585,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 620,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 655,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 676,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 708,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 719,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address_payable": {
"entryPoint": 736,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 754,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 786,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb": {
"entryPoint": 791,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470": {
"entryPoint": 832,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address_payable": {
"entryPoint": 835,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3439:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "67:95:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "77:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "99:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "86:12:1"
},
"nodeType": "YulFunctionCall",
"src": "86:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "77:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "150:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address_payable",
"nodeType": "YulIdentifier",
"src": "115:34:1"
},
"nodeType": "YulFunctionCall",
"src": "115:41:1"
},
"nodeType": "YulExpressionStatement",
"src": "115:41:1"
}
]
},
"name": "abi_decode_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "45:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "53:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "61:5:1",
"type": ""
}
],
"src": "7:155:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "242:271:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "288:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "290:77:1"
},
"nodeType": "YulFunctionCall",
"src": "290:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "290:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "263:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "272:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "259:3:1"
},
"nodeType": "YulFunctionCall",
"src": "259:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "284:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "255:3:1"
},
"nodeType": "YulFunctionCall",
"src": "255:32:1"
},
"nodeType": "YulIf",
"src": "252:119:1"
},
{
"nodeType": "YulBlock",
"src": "381:125:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "396:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "410:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "400:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "425:71:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "468:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "479:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "464:3:1"
},
"nodeType": "YulFunctionCall",
"src": "464:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "488:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address_payable",
"nodeType": "YulIdentifier",
"src": "435:28:1"
},
"nodeType": "YulFunctionCall",
"src": "435:61:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "425:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "212:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "223:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "235:6:1",
"type": ""
}
],
"src": "168:345:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "665:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "675:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "741:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "746:2:1",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "682:58:1"
},
"nodeType": "YulFunctionCall",
"src": "682:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "675:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "847:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulIdentifier",
"src": "758:88:1"
},
"nodeType": "YulFunctionCall",
"src": "758:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "758:93:1"
},
{
"nodeType": "YulAssignment",
"src": "860:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "871:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "876:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "867:3:1"
},
"nodeType": "YulFunctionCall",
"src": "867:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "860:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "653:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "661:3:1",
"type": ""
}
],
"src": "519:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1054:235:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1064:90:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1147:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1152:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1071:75:1"
},
"nodeType": "YulFunctionCall",
"src": "1071:83:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1064:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1252:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulIdentifier",
"src": "1163:88:1"
},
"nodeType": "YulFunctionCall",
"src": "1163:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "1163:93:1"
},
{
"nodeType": "YulAssignment",
"src": "1265:18:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1276:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1281:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1272:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1272:11:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1265:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1042:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1050:3:1",
"type": ""
}
],
"src": "891:398:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1483:191:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1494:154:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1644:3:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "1501:141:1"
},
"nodeType": "YulFunctionCall",
"src": "1501:147:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1494:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1658:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1665:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1658:3:1"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1470:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1479:3:1",
"type": ""
}
],
"src": "1295:379:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1851:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1861:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1873:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1884:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1869:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1869:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1861:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1908:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1919:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1904:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1904:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1927:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1933:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1923:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1923:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1897:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1897:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "1897:47:1"
},
{
"nodeType": "YulAssignment",
"src": "1953:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2087:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1961:124:1"
},
"nodeType": "YulFunctionCall",
"src": "1961:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1953:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1831:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1846:4:1",
"type": ""
}
],
"src": "1680:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2145:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2155:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2171:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2165:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2165:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2155:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2138:6:1",
"type": ""
}
],
"src": "2105:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2299:34:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2309:18:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2324:3:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2309:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2271:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2276:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2287:11:1",
"type": ""
}
],
"src": "2186:147:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2435:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2452:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2457:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2445:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2445:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "2445:19:1"
},
{
"nodeType": "YulAssignment",
"src": "2473:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2492:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2497:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2488:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2488:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2473:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2407:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2412:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2423:11:1",
"type": ""
}
],
"src": "2339:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2567:51:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2577:35:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2606:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "2588:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2588:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2577:7:1"
}
]
}
]
},
"name": "cleanup_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2549:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2559:7:1",
"type": ""
}
],
"src": "2514:104:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2669:81:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2679:65:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2694:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2701:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "2690:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2690:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2679:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2651:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2661:7:1",
"type": ""
}
],
"src": "2624:126:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2845:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2862:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2865:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2855:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2855:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "2855:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "2756:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2968:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2985:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2988:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2978:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2978:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "2978:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "2879:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3108:64:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3130:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3138:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3126:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3126:14:1"
},
{
"hexValue": "4661696c656420746f2073656e64204574686572",
"kind": "string",
"nodeType": "YulLiteral",
"src": "3142:22:1",
"type": "",
"value": "Failed to send Ether"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3119:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3119:46:1"
},
"nodeType": "YulExpressionStatement",
"src": "3119:46:1"
}
]
},
"name": "store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3100:6:1",
"type": ""
}
],
"src": "3002:170:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3284:8:1",
"statements": []
},
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3276:6:1",
"type": ""
}
],
"src": "3178:114:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3349:87:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3414:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3423:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3426:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3416:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3416:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3416:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3372:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3405:5:1"
}
],
"functionName": {
"name": "cleanup_t_address_payable",
"nodeType": "YulIdentifier",
"src": "3379:25:1"
},
"nodeType": "YulFunctionCall",
"src": "3379:32:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3369:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3369:43:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3362:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3362:51:1"
},
"nodeType": "YulIf",
"src": "3359:71:1"
}
]
},
"name": "validator_revert_t_address_payable",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3342:5:1",
"type": ""
}
],
"src": "3298:138:1"
}
]
},
"contents": "{\n\n function abi_decode_t_address_payable(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address_payable(value)\n }\n\n function abi_decode_tuple_t_address_payable(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_payable(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, 0)\n store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(pos)\n end := add(pos, 0)\n }\n\n function abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos ) -> end {\n\n pos := abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack( pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_stringliteral_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb__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_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function store_literal_in_memory_445140255c9d889994129d349e64078d6f76b4b37ec896948f7e858f9b8a0dcb(memPtr) {\n\n mstore(add(memPtr, 0), \"Failed to send Ether\")\n\n }\n\n function store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470(memPtr) {\n\n }\n\n function validator_revert_t_address_payable(value) {\n if iszero(eq(value, cleanup_t_address_payable(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052600436106100345760003560e01c8063636e082b1461003957806374be480614610055578063830c29ae14610071575b600080fd5b610053600480360381019061004e919061021c565b61008d565b005b61006f600480360381019061006a919061021c565b6100d7565b005b61008b6004803603810190610086919061021c565b610154565b005b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156100d3573d6000803e3d6000fd5b5050565b60008173ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050905080610150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610147906102a4565b60405180910390fd5b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163460405161017b9061028f565b60006040518083038185875af1925050503d80600081146101b8576040519150601f19603f3d011682016040523d82523d6000602084013e6101bd565b606091505b509150915081610202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101f9906102a4565b60405180910390fd5b505050565b60008135905061021681610343565b92915050565b60006020828403121561023257610231610312565b5b600061024084828501610207565b91505092915050565b60006102566014836102cf565b915061026182610317565b602082019050919050565b60006102796000836102c4565b915061028482610340565b600082019050919050565b600061029a8261026c565b9150819050919050565b600060208201905081810360008301526102bd81610249565b9050919050565b600081905092915050565b600082825260208201905092915050565b60006102eb826102f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b50565b61034c816102e0565b811461035757600080fd5b5056fea2646970667358221220cacf41f882a655b2dcfe11f06d70f6db98c3e64c8fd3b975f070f74dc9d89d3c64736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x636E082B EQ PUSH2 0x39 JUMPI DUP1 PUSH4 0x74BE4806 EQ PUSH2 0x55 JUMPI DUP1 PUSH4 0x830C29AE EQ PUSH2 0x71 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x53 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x4E SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x8D JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6A SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0xD7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x8B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x86 SWAP2 SWAP1 PUSH2 0x21C JUMP JUMPDEST PUSH2 0x154 JUMP JUMPDEST STOP JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0xD3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC CALLVALUE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP SWAP1 POP DUP1 PUSH2 0x150 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x147 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLVALUE PUSH1 0x40 MLOAD PUSH2 0x17B SWAP1 PUSH2 0x28F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1B8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1BD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x202 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1F9 SWAP1 PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x216 DUP2 PUSH2 0x343 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x232 JUMPI PUSH2 0x231 PUSH2 0x312 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x240 DUP5 DUP3 DUP6 ADD PUSH2 0x207 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x256 PUSH1 0x14 DUP4 PUSH2 0x2CF JUMP JUMPDEST SWAP2 POP PUSH2 0x261 DUP3 PUSH2 0x317 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x279 PUSH1 0x0 DUP4 PUSH2 0x2C4 JUMP JUMPDEST SWAP2 POP PUSH2 0x284 DUP3 PUSH2 0x340 JUMP JUMPDEST PUSH1 0x0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x29A DUP3 PUSH2 0x26C JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2BD DUP2 PUSH2 0x249 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2EB DUP3 PUSH2 0x2F2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4661696C656420746F2073656E64204574686572000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH2 0x34C DUP2 PUSH2 0x2E0 JUMP JUMPDEST DUP2 EQ PUSH2 0x357 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCA 0xCF COINBASE 0xF8 DUP3 0xA6 SSTORE 0xB2 0xDC INVALID GT CREATE PUSH14 0x70F6DB98C3E64C8FD3B975F070F7 0x4D 0xC9 0xD8 SWAP14 EXTCODECOPY PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "675:808:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;700:170;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;876:286;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1168:313;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;700:170;840:3;:12;;:23;853:9;840:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;700:170;:::o;876:286::-;1077:9;1089:3;:8;;:19;1098:9;1089:19;;;;;;;;;;;;;;;;;;;;;;;1077:31;;1126:4;1118:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;933:229;876:286;:::o;1168:313::-;1365:9;1376:17;1397:3;:8;;1413:9;1397:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1364:63;;;;1445:4;1437:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;1225:256;;1168:313;:::o;7:155:1:-;61:5;99:6;86:20;77:29;;115:41;150:5;115:41;:::i;:::-;7:155;;;;:::o;168:345::-;235:6;284:2;272:9;263:7;259:23;255:32;252:119;;;290:79;;:::i;:::-;252:119;410:1;435:61;488:7;479:6;468:9;464:22;435:61;:::i;:::-;425:71;;381:125;168:345;;;;:::o;519:366::-;661:3;682:67;746:2;741:3;682:67;:::i;:::-;675:74;;758:93;847:3;758:93;:::i;:::-;876:2;871:3;867:12;860:19;;519:366;;;:::o;891:398::-;1050:3;1071:83;1152:1;1147:3;1071:83;:::i;:::-;1064:90;;1163:93;1252:3;1163:93;:::i;:::-;1281:1;1276:3;1272:11;1265:18;;891:398;;;:::o;1295:379::-;1479:3;1501:147;1644:3;1501:147;:::i;:::-;1494:154;;1665:3;1658:10;;1295:379;;;:::o;1680:419::-;1846:4;1884:2;1873:9;1869:18;1861:26;;1933:9;1927:4;1923:20;1919:1;1908:9;1904:17;1897:47;1961:131;2087:4;1961:131;:::i;:::-;1953:139;;1680:419;;;:::o;2186:147::-;2287:11;2324:3;2309:18;;2186:147;;;;:::o;2339:169::-;2423:11;2457:6;2452:3;2445:19;2497:4;2492:3;2488:14;2473:29;;2339:169;;;;:::o;2514:104::-;2559:7;2588:24;2606:5;2588:24;:::i;:::-;2577:35;;2514:104;;;:::o;2624:126::-;2661:7;2701:42;2694:5;2690:54;2679:65;;2624:126;;;:::o;2879:117::-;2988:1;2985;2978:12;3002:170;3142:22;3138:1;3130:6;3126:14;3119:46;3002:170;:::o;3178:114::-;;:::o;3298:138::-;3379:32;3405:5;3379:32;:::i;:::-;3372:5;3369:43;3359:71;;3426:1;3423;3416:12;3359:71;3298:138;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "182400",
"executionCost": "226",
"totalCost": "182626"
},
"external": {
"sendViaCall(address)": "infinite",
"sendViaSend(address)": "infinite",
"sendViaTransfer(address)": "infinite"
}
},
"methodIdentifiers": {
"sendViaCall(address)": "830c29ae",
"sendViaSend(address)": "74be4806",
"sendViaTransfer(address)": "636e082b"
}
},
"abi": [
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaSend",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaTransfer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaSend",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "_to",
"type": "address"
}
],
"name": "sendViaTransfer",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": "SendEther"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
".learneth/Solidity Beginner Course/10.3 Transactions - Sending Ether/sendingEther_answer.sol": {
"keccak256": "0xb03cec364ca40c3e46122f669749ff948eb79b6f7bc293c26e230c0ccbbc6a8c",
"license": "MIT",
"urls": [
"bzz-raw://d21d651d0051240919e6a9ca5ed57e4d3978dc2f4f20392567de5d83b5230856",
"dweb:/ipfs/QmQbTrnV7nEhS4WDeehpQ8brNHhaDew1J88g5VH4sEqeYw"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract ReceiveEther {
/*
Which function is called, fallback() or receive()?
send Ether
|
msg.data is empty?
/ \
yes no
/ \
receive() exists? fallback()
/ \
yes no
/ \
receive() fallback()
*/
// Function to receive Ether. msg.data must be empty
receive() external payable {}
// Fallback function is called when msg.data is not empty
fallback() external payable {}
function getBalance() public view returns (uint) {
return address(this).balance;
}
}
contract SendEther {
function sendViaTransfer(address payable _to) public payable {
// This function is no longer recommended for sending Ether.
_to.transfer(msg.value);
}
function sendViaSend(address payable _to) public payable {
// Send returns a boolean value indicating success or failure.
// This function is not recommended for sending Ether.
bool sent = _to.send(msg.value);
require(sent, "Failed to send Ether");
}
function sendViaCall(address payable _to) public payable {
// Call returns a boolean value indicating success or failure.
// This is the current recommended method to use.
(bool sent, bytes memory data) = _to.call{value: msg.value}("");
require(sent, "Failed to send Ether");
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract ReceiveEther {
/*
Which function is called, fallback() or receive()?
send Ether
|
msg.data is empty?
/ \
yes no
/ \
receive() exists? fallback()
/ \
yes no
/ \
receive() fallback()
*/
// Function to receive Ether. msg.data must be empty
receive() external payable {}
// Fallback function is called when msg.data is not empty
fallback() external payable {}
function getBalance() public view returns (uint) {
return address(this).balance;
}
}
contract SendEther {
function sendViaTransfer(address payable _to) public payable {
// This function is no longer recommended for sending Ether.
_to.transfer(msg.value);
}
function sendViaSend(address payable _to) public payable {
// Send returns a boolean value indicating success or failure.
// This function is not recommended for sending Ether.
bool sent = _to.send(msg.value);
require(sent, "Failed to send Ether");
}
function sendViaCall(address payable _to) public payable {
// Call returns a boolean value indicating success or failure.
// This is the current recommended method to use.
(bool sent, bytes memory data) = _to.call{value: msg.value}("");
require(sent, "Failed to send Ether");
}
}
contract Charity {
address public owner;
constructor() {
owner = msg.sender;
}
function donate() public payable {}
function withdraw() public {
uint amount = address(this).balance;
(bool sent, bytes memory data) = owner.call{value: amount}("");
require(sent, "Failed to send Ether");
}
}
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.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
* @custom:dev-run-script ./scripts/deploy_with_ethers.ts
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "hardhat/console.sol";
/**
* @title Owner
* @dev Set & change owner
*/
contract Owner {
address private owner;
// event for EVM logging
event OwnerSet(address indexed oldOwner, address indexed newOwner);
// modifier to check if caller is owner
modifier isOwner() {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/**
* @dev Set contract deployer as owner
*/
constructor() {
console.log("Owner contract deployed by:", msg.sender);
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(0), owner);
}
/**
* @dev Change owner
* @param newOwner address of new owner
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(owner, newOwner);
owner = newOwner;
}
/**
* @dev Return owner address
* @return address of owner
*/
function getOwner() external view returns (address) {
return owner;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ballot
* @dev Implements voting process along with vote delegation
*/
contract Ballot {
struct Voter {
uint weight; // weight is accumulated by delegation
bool voted; // if true, that person already voted
address delegate; // person delegated to
uint vote; // index of the voted proposal
}
struct Proposal {
// If you can limit the length to a certain number of bytes,
// always use one of bytes1 to bytes32 because they are much cheaper
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
address public chairperson;
mapping(address => Voter) public voters;
Proposal[] public proposals;
/**
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
chairperson = msg.sender;
voters[chairperson].weight = 1;
for (uint i = 0; i < proposalNames.length; i++) {
// 'Proposal({...})' creates a temporary
// Proposal object and 'proposals.push(...)'
// appends it to the end of 'proposals'.
proposals.push(Proposal({
name: proposalNames[i],
voteCount: 0
}));
}
}
/**
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.
* @param voter address of voter
*/
function giveRightToVote(address voter) public {
require(
msg.sender == chairperson,
"Only chairperson can give right to vote."
);
require(
!voters[voter].voted,
"The voter already voted."
);
require(voters[voter].weight == 0);
voters[voter].weight = 1;
}
/**
* @dev Delegate your vote to the voter 'to'.
* @param to address to which vote is delegated
*/
function delegate(address to) public {
Voter storage sender = voters[msg.sender];
require(!sender.voted, "You already voted.");
require(to != msg.sender, "Self-delegation is disallowed.");
while (voters[to].delegate != address(0)) {
to = voters[to].delegate;
// We found a loop in the delegation, not allowed.
require(to != msg.sender, "Found loop in delegation.");
}
sender.voted = true;
sender.delegate = to;
Voter storage delegate_ = voters[to];
if (delegate_.voted) {
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate_.vote].voteCount += sender.weight;
} else {
// If the delegate did not vote yet,
// add to her weight.
delegate_.weight += sender.weight;
}
}
/**
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.
* @param proposal index of proposal in the proposals array
*/
function vote(uint proposal) public {
Voter storage sender = voters[msg.sender];
require(sender.weight != 0, "Has no right to vote");
require(!sender.voted, "Already voted.");
sender.voted = true;
sender.vote = proposal;
// If 'proposal' is out of the range of the array,
// this will throw automatically and revert all
// changes.
proposals[proposal].voteCount += sender.weight;
}
/**
* @dev Computes the winning proposal taking all previous votes into account.
* @return winningProposal_ index of winning proposal in the proposals array
*/
function winningProposal() public view
returns (uint winningProposal_)
{
uint winningVoteCount = 0;
for (uint p = 0; p < proposals.length; p++) {
if (proposals[p].voteCount > winningVoteCount) {
winningVoteCount = proposals[p].voteCount;
winningProposal_ = p;
}
}
}
/**
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then
* @return winnerName_ the name of the winner
*/
function winnerName() public view
returns (bytes32 winnerName_)
{
winnerName_ = proposals[winningProposal()].name;
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract Primitives {
// bool public boo = true;
// /*
// uint stands for unsigned integer, meaning non negative integers
// different sizes are available
// uint8 ranges from 0 to 2 ** 8 - 1
// uint16 ranges from 0 to 2 ** 16 - 1
// ...
// uint256 ranges from 0 to 2 ** 256 - 1
// */
// uint8 public u8 = 1;
// uint public u256 = 456;
// uint public u = 123; // uint is an alias for uint256
// /*
// Negative numbers are allowed for int types.
// Like uint, different ranges are available from int8 to int256
// */
// int8 public i8 = -1;
// int public i256 = 456;
// int public i = -123; // int is same as int256
// address public addr = 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c;
// // Default values
// // Unassigned variables have a default value
// bool public defaultBoo; // false
// uint public defaultUint; // 0
// int public defaultInt; // 0
// address public defaultAddr; // 0x0000000000000000000000000000000000000000
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Primitives {
bool public boo = true;
/*
uint stands for unsigned integer, meaning non negative integers
different sizes are available
uint8 ranges from 0 to 2 ** 8 - 1
uint16 ranges from 0 to 2 ** 16 - 1
...
uint256 ranges from 0 to 2 ** 256 - 1
*/
uint8 public u8 = 1;
uint public u256 = 456;
uint public u = 123; // uint is an alias for uint256
/*
Negative numbers are allowed for int types.
Like uint, different ranges are available from int8 to int256
*/
int8 public i8 = -1;
int public i256 = 456;
int public i = -123; // int is same as int256
address public addr = 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c;
// Default values
// Unassigned variables have a default value
bool public defaultBoo; // false
uint public defaultUint; // 0
int public defaultInt; // 0
address public defaultAddr; // 0x0000000000000000000000000000000000000000
// New values
address public newAddr = 0x0000000000000000000000000000000000000000;
int public neg = -12;
uint8 public newU = 0;
}
{
"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": {},
"generatedSources": [],
"linkReferences": {},
"object": "60806040526040518060600160405280600160ff168152602001600260ff168152602001600360ff16815250600190600361003b92919061004e565b5034801561004857600080fd5b506100bd565b82805482825590600052602060002090810192821561008f579160200282015b8281111561008e578251829060ff1690559160200191906001019061006e565b5b50905061009c91906100a0565b5090565b5b808211156100b95760008160009055506001016100a1565b5090565b610545806100cc6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063959ac48411610066578063959ac48414610144578063a4ece52c14610160578063be1c766b1461016a578063edf0099b14610188578063fb8cbced146101b857610093565b806338a067ce146100985780634cc82215146100c857806371e5ee5f146100e45780639507d39a14610114575b600080fd5b6100b260048036038101906100ad9190610354565b6101d6565b6040516100bf9190610437565b60405180910390f35b6100e260048036038101906100dd9190610354565b6101f1565b005b6100fe60048036038101906100f99190610354565b610216565b60405161010b9190610437565b60405180910390f35b61012e60048036038101906101299190610354565b61023a565b60405161013b9190610437565b60405180910390f35b61015e60048036038101906101599190610354565b610261565b005b61016861028d565b005b6101726102b7565b60405161017f9190610437565b60405180910390f35b6101a2600480360381019061019d9190610354565b6102c3565b6040516101af9190610437565b60405180910390f35b6101c06102e7565b6040516101cd9190610415565b60405180910390f35b600281600a81106101e657600080fd5b016000915090505481565b60008181548110610205576102046104c4565b5b906000526020600020016000905550565b6000818154811061022657600080fd5b906000526020600020016000915090505481565b600080828154811061024f5761024e6104c4565b5b90600052602060002001549050919050565b600081908060018154018082558091505060019003906000526020600020016000909190919091505550565b600080548061029f5761029e610495565b5b60019003818190600052602060002001600090559055565b60008080549050905090565b600181815481106102d357600080fd5b906000526020600020016000915090505481565b6060600080548060200260200160405190810160405280929190818152602001828054801561033557602002820191906000526020600020905b815481526020019060010190808311610321575b5050505050905090565b60008135905061034e816104f8565b92915050565b60006020828403121561036a576103696104f3565b5b60006103788482850161033f565b91505092915050565b600061038d83836103f7565b60208301905092915050565b60006103a482610462565b6103ae818561047a565b93506103b983610452565b8060005b838110156103ea5781516103d18882610381565b97506103dc8361046d565b9250506001810190506103bd565b5085935050505092915050565b6104008161048b565b82525050565b61040f8161048b565b82525050565b6000602082019050818103600083015261042f8184610399565b905092915050565b600060208201905061044c6000830184610406565b92915050565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6105018161048b565b811461050c57600080fd5b5056fea26469706673582212203f1ba05beaf92957fdad554cc8fbfe96fb13eb37ddcd0a02fe0a05f04b48b60764736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x2 PUSH1 0xFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x3 PUSH1 0xFF AND DUP2 MSTORE POP PUSH1 0x1 SWAP1 PUSH1 0x3 PUSH2 0x3B SWAP3 SWAP2 SWAP1 PUSH2 0x4E JUMP JUMPDEST POP CALLVALUE DUP1 ISZERO PUSH2 0x48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBD JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x8F JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x8E JUMPI DUP3 MLOAD DUP3 SWAP1 PUSH1 0xFF AND SWAP1 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x6E JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH2 0x9C SWAP2 SWAP1 PUSH2 0xA0 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0xB9 JUMPI PUSH1 0x0 DUP2 PUSH1 0x0 SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH2 0xA1 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x545 DUP1 PUSH2 0xCC 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 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x959AC484 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x959AC484 EQ PUSH2 0x144 JUMPI DUP1 PUSH4 0xA4ECE52C EQ PUSH2 0x160 JUMPI DUP1 PUSH4 0xBE1C766B EQ PUSH2 0x16A JUMPI DUP1 PUSH4 0xEDF0099B EQ PUSH2 0x188 JUMPI DUP1 PUSH4 0xFB8CBCED EQ PUSH2 0x1B8 JUMPI PUSH2 0x93 JUMP JUMPDEST DUP1 PUSH4 0x38A067CE EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x4CC82215 EQ PUSH2 0xC8 JUMPI DUP1 PUSH4 0x71E5EE5F EQ PUSH2 0xE4 JUMPI DUP1 PUSH4 0x9507D39A EQ PUSH2 0x114 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x1D6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBF SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDD SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x1F1 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xFE PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF9 SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10B SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x12E PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x129 SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x23A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13B SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x15E PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x159 SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x261 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x168 PUSH2 0x28D JUMP JUMPDEST STOP JUMPDEST PUSH2 0x172 PUSH2 0x2B7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x17F SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1A2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x19D SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1AF SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1C0 PUSH2 0x2E7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CD SWAP2 SWAP1 PUSH2 0x415 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x2 DUP2 PUSH1 0xA DUP2 LT PUSH2 0x1E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x205 JUMPI PUSH2 0x204 PUSH2 0x4C4 JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x226 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x24F JUMPI PUSH2 0x24E PUSH2 0x4C4 JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP SSTORE POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD DUP1 PUSH2 0x29F JUMPI PUSH2 0x29E PUSH2 0x495 JUMP JUMPDEST JUMPDEST PUSH1 0x1 SWAP1 SUB DUP2 DUP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 SLOAD SWAP1 POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x2D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD DUP1 ISZERO PUSH2 0x335 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 DUP1 DUP4 GT PUSH2 0x321 JUMPI JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x34E DUP2 PUSH2 0x4F8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x36A JUMPI PUSH2 0x369 PUSH2 0x4F3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x378 DUP5 DUP3 DUP6 ADD PUSH2 0x33F JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x38D DUP4 DUP4 PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3A4 DUP3 PUSH2 0x462 JUMP JUMPDEST PUSH2 0x3AE DUP2 DUP6 PUSH2 0x47A JUMP JUMPDEST SWAP4 POP PUSH2 0x3B9 DUP4 PUSH2 0x452 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x3EA JUMPI DUP2 MLOAD PUSH2 0x3D1 DUP9 DUP3 PUSH2 0x381 JUMP JUMPDEST SWAP8 POP PUSH2 0x3DC DUP4 PUSH2 0x46D JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x3BD JUMP JUMPDEST POP DUP6 SWAP4 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x400 DUP2 PUSH2 0x48B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x40F DUP2 PUSH2 0x48B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x42F DUP2 DUP5 PUSH2 0x399 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x44C PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x406 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x501 DUP2 PUSH2 0x48B JUMP JUMPDEST DUP2 EQ PUSH2 0x50C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EXTCODEHASH SHL LOG0 JUMPDEST 0xEA 0xF9 0x29 JUMPI REVERT 0xAD SSTORE 0x4C 0xC8 0xFB INVALID SWAP7 0xFB SGT 0xEB CALLDATACOPY 0xDD 0xCD EXP MUL INVALID EXP SDIV CREATE 0x4B BASEFEE 0xB6 SMOD PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "60:1161:0:-:0;;;150:30;;;;;;;;172:1;150:30;;;;;;175:1;150:30;;;;;;178:1;150:30;;;;;;;;;;;;;:::i;:::-;;60:1161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@arr2_11": {
"entryPoint": 707,
"id": 11,
"parameterSlots": 0,
"returnSlots": 0
},
"@arr_4": {
"entryPoint": 534,
"id": 4,
"parameterSlots": 0,
"returnSlots": 0
},
"@getArr_36": {
"entryPoint": 743,
"id": 36,
"parameterSlots": 0,
"returnSlots": 1
},
"@getLength_66": {
"entryPoint": 695,
"id": 66,
"parameterSlots": 0,
"returnSlots": 1
},
"@get_27": {
"entryPoint": 570,
"id": 27,
"parameterSlots": 1,
"returnSlots": 1
},
"@myFixedSizeArr_15": {
"entryPoint": 470,
"id": 15,
"parameterSlots": 0,
"returnSlots": 0
},
"@pop_57": {
"entryPoint": 653,
"id": 57,
"parameterSlots": 0,
"returnSlots": 0
},
"@push_48": {
"entryPoint": 609,
"id": 48,
"parameterSlots": 1,
"returnSlots": 0
},
"@remove_77": {
"entryPoint": 497,
"id": 77,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_uint256": {
"entryPoint": 831,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 852,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encodeUpdatedPos_t_uint256_to_t_uint256": {
"entryPoint": 897,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack": {
"entryPoint": 921,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256": {
"entryPoint": 1015,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 1030,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed": {
"entryPoint": 1045,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 1079,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_dataslot_t_array$_t_uint256_$dyn_memory_ptr": {
"entryPoint": 1106,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_array$_t_uint256_$dyn_memory_ptr": {
"entryPoint": 1122,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_nextElement_t_array$_t_uint256_$dyn_memory_ptr": {
"entryPoint": 1133,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack": {
"entryPoint": 1146,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 1163,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x31": {
"entryPoint": 1173,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 1220,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1267,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 1272,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:3759:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "59:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "69:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "91:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "78:12:1"
},
"nodeType": "YulFunctionCall",
"src": "78:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "69:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "134:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "107:26:1"
},
"nodeType": "YulFunctionCall",
"src": "107:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "107:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "37:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "45:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "7:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "218:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "264:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "266:77:1"
},
"nodeType": "YulFunctionCall",
"src": "266:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "266:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "239:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "248:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "235:3:1"
},
"nodeType": "YulFunctionCall",
"src": "235:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "260:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "231:3:1"
},
"nodeType": "YulFunctionCall",
"src": "231:32:1"
},
"nodeType": "YulIf",
"src": "228:119:1"
},
{
"nodeType": "YulBlock",
"src": "357:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "372:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "386:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "376:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "401:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "436:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "447:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "432:3:1"
},
"nodeType": "YulFunctionCall",
"src": "432:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "456:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "411:20:1"
},
"nodeType": "YulFunctionCall",
"src": "411:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "401:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "188:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "199:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "211:6:1",
"type": ""
}
],
"src": "152:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "567:99:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "611:6:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "619:3:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "577:33:1"
},
"nodeType": "YulFunctionCall",
"src": "577:46:1"
},
"nodeType": "YulExpressionStatement",
"src": "577:46:1"
},
{
"nodeType": "YulAssignment",
"src": "632:28:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "650:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "655:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "646:3:1"
},
"nodeType": "YulFunctionCall",
"src": "646:14:1"
},
"variableNames": [
{
"name": "updatedPos",
"nodeType": "YulIdentifier",
"src": "632:10:1"
}
]
}
]
},
"name": "abi_encodeUpdatedPos_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "540:6:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "548:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updatedPos",
"nodeType": "YulTypedName",
"src": "556:10:1",
"type": ""
}
],
"src": "487:179:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "826:608:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "836:68:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "898:5:1"
}
],
"functionName": {
"name": "array_length_t_array$_t_uint256_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "850:47:1"
},
"nodeType": "YulFunctionCall",
"src": "850:54:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "840:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "913:93:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "994:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "999:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "920:73:1"
},
"nodeType": "YulFunctionCall",
"src": "920:86:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "913:3:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "1015:71:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1080:5:1"
}
],
"functionName": {
"name": "array_dataslot_t_array$_t_uint256_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1030:49:1"
},
"nodeType": "YulFunctionCall",
"src": "1030:56:1"
},
"variables": [
{
"name": "baseRef",
"nodeType": "YulTypedName",
"src": "1019:7:1",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "1095:21:1",
"value": {
"name": "baseRef",
"nodeType": "YulIdentifier",
"src": "1109:7:1"
},
"variables": [
{
"name": "srcPtr",
"nodeType": "YulTypedName",
"src": "1099:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1185:224:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1199:34:1",
"value": {
"arguments": [
{
"name": "srcPtr",
"nodeType": "YulIdentifier",
"src": "1226:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1220:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1220:13:1"
},
"variables": [
{
"name": "elementValue0",
"nodeType": "YulTypedName",
"src": "1203:13:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1246:70:1",
"value": {
"arguments": [
{
"name": "elementValue0",
"nodeType": "YulIdentifier",
"src": "1297:13:1"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1312:3:1"
}
],
"functionName": {
"name": "abi_encodeUpdatedPos_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "1253:43:1"
},
"nodeType": "YulFunctionCall",
"src": "1253:63:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1246:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "1329:70:1",
"value": {
"arguments": [
{
"name": "srcPtr",
"nodeType": "YulIdentifier",
"src": "1392:6:1"
}
],
"functionName": {
"name": "array_nextElement_t_array$_t_uint256_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1339:52:1"
},
"nodeType": "YulFunctionCall",
"src": "1339:60:1"
},
"variableNames": [
{
"name": "srcPtr",
"nodeType": "YulIdentifier",
"src": "1329:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1147:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1150:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1144:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1144:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1158:18:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1160:14:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1169:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1172:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1165:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1165:9:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1160:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1129:14:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1131:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1140:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1135:1:1",
"type": ""
}
]
}
]
},
"src": "1125:284:1"
},
{
"nodeType": "YulAssignment",
"src": "1418:10:1",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1425:3:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1418:3:1"
}
]
}
]
},
"name": "abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "805:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "812:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "821:3:1",
"type": ""
}
],
"src": "702:732:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1495:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1512:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1535:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1517:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1517:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1505:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1505:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "1505:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1483:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1490:3:1",
"type": ""
}
],
"src": "1440:108:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1619:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1636:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1659:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1641:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1641:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1629:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1629:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "1629:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1607:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1614:3:1",
"type": ""
}
],
"src": "1554:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1826:225:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1836:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1848:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1859:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1844:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1844:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1836:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1883:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1894:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1879:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1879:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1902:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1908:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1898:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1898:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1872:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1872:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "1872:47:1"
},
{
"nodeType": "YulAssignment",
"src": "1928:116:1",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2030:6:1"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2039:4:1"
}
],
"functionName": {
"name": "abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1936:93:1"
},
"nodeType": "YulFunctionCall",
"src": "1936:108:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1928:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1798:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1810:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1821:4:1",
"type": ""
}
],
"src": "1678:373:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2155:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2165:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2177:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2188:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2173:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2173:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2165:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2245:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2258:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2269:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2254:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2254:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "2201:43:1"
},
"nodeType": "YulFunctionCall",
"src": "2201:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "2201:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2127:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2139:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2150:4:1",
"type": ""
}
],
"src": "2057:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2325:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2335:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2351:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2345:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2345:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2335:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2318:6:1",
"type": ""
}
],
"src": "2285:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2438:60:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2448:11:1",
"value": {
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "2456:3:1"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2448:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2469:22:1",
"value": {
"arguments": [
{
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "2481:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2486:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2477:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2477:14:1"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "2469:4:1"
}
]
}
]
},
"name": "array_dataslot_t_array$_t_uint256_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nodeType": "YulTypedName",
"src": "2425:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "2433:4:1",
"type": ""
}
],
"src": "2366:132:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2578:40:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2589:22:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2605:5:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2599:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2599:12:1"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2589:6:1"
}
]
}
]
},
"name": "array_length_t_array$_t_uint256_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2561:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2571:6:1",
"type": ""
}
],
"src": "2504:114:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2699:38:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2709:22:1",
"value": {
"arguments": [
{
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "2721:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2726:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2717:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2717:14:1"
},
"variableNames": [
{
"name": "next",
"nodeType": "YulIdentifier",
"src": "2709:4:1"
}
]
}
]
},
"name": "array_nextElement_t_array$_t_uint256_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nodeType": "YulTypedName",
"src": "2686:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "next",
"nodeType": "YulTypedName",
"src": "2694:4:1",
"type": ""
}
],
"src": "2624:113:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2854:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2871:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2876:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2864:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2864:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "2864:19:1"
},
{
"nodeType": "YulAssignment",
"src": "2892:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2911:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2916:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2907:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2907:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "2892:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2826:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2831:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "2842:11:1",
"type": ""
}
],
"src": "2743:184:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2978:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2988:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2999:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2988:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2960:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2970:7:1",
"type": ""
}
],
"src": "2933:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3044:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3061:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3064:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3054:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3054:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3054:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3158:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3161:4:1",
"type": "",
"value": "0x31"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3151:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3151:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3151:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3182:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3185:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3175:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3175:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3175:15:1"
}
]
},
"name": "panic_error_0x31",
"nodeType": "YulFunctionDefinition",
"src": "3016:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3230:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3247:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3250:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3240:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3240:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3240:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3344:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3347:4:1",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3337:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3337:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3337:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3368:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3371:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3361:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3361:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3361:15:1"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "3202:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3477:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3494:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3497:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3487:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3487:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3487:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "3388:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3600:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3617:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3620:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3610:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3610:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3610:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "3511:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3677:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3734:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3743:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3746:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3736:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3736:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3736:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3700:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3725:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3707:17:1"
},
"nodeType": "YulFunctionCall",
"src": "3707:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3697:2:1"
},
"nodeType": "YulFunctionCall",
"src": "3697:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3690:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3690:43:1"
},
"nodeType": "YulIf",
"src": "3687:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3670:5:1",
"type": ""
}
],
"src": "3634:122:1"
}
]
},
"contents": "{\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 abi_encodeUpdatedPos_t_uint256_to_t_uint256(value0, pos) -> updatedPos {\n abi_encode_t_uint256_to_t_uint256(value0, pos)\n updatedPos := add(pos, 0x20)\n }\n\n // uint256[] -> uint256[]\n function abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_array$_t_uint256_$dyn_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack(pos, length)\n let baseRef := array_dataslot_t_array$_t_uint256_$dyn_memory_ptr(value)\n let srcPtr := baseRef\n for { let i := 0 } lt(i, length) { i := add(i, 1) }\n {\n let elementValue0 := mload(srcPtr)\n pos := abi_encodeUpdatedPos_t_uint256_to_t_uint256(elementValue0, pos)\n srcPtr := array_nextElement_t_array$_t_uint256_$dyn_memory_ptr(srcPtr)\n }\n end := pos\n }\n\n function abi_encode_t_uint256_to_t_uint256(value, pos) {\n mstore(pos, cleanup_t_uint256(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_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack(value0, tail)\n\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 array_dataslot_t_array$_t_uint256_$dyn_memory_ptr(ptr) -> data {\n data := ptr\n\n data := add(ptr, 0x20)\n\n }\n\n function array_length_t_array$_t_uint256_$dyn_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_nextElement_t_array$_t_uint256_$dyn_memory_ptr(ptr) -> next {\n next := add(ptr, 0x20)\n }\n\n function array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function panic_error_0x31() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x31)\n revert(0, 0x24)\n }\n\n function panic_error_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100935760003560e01c8063959ac48411610066578063959ac48414610144578063a4ece52c14610160578063be1c766b1461016a578063edf0099b14610188578063fb8cbced146101b857610093565b806338a067ce146100985780634cc82215146100c857806371e5ee5f146100e45780639507d39a14610114575b600080fd5b6100b260048036038101906100ad9190610354565b6101d6565b6040516100bf9190610437565b60405180910390f35b6100e260048036038101906100dd9190610354565b6101f1565b005b6100fe60048036038101906100f99190610354565b610216565b60405161010b9190610437565b60405180910390f35b61012e60048036038101906101299190610354565b61023a565b60405161013b9190610437565b60405180910390f35b61015e60048036038101906101599190610354565b610261565b005b61016861028d565b005b6101726102b7565b60405161017f9190610437565b60405180910390f35b6101a2600480360381019061019d9190610354565b6102c3565b6040516101af9190610437565b60405180910390f35b6101c06102e7565b6040516101cd9190610415565b60405180910390f35b600281600a81106101e657600080fd5b016000915090505481565b60008181548110610205576102046104c4565b5b906000526020600020016000905550565b6000818154811061022657600080fd5b906000526020600020016000915090505481565b600080828154811061024f5761024e6104c4565b5b90600052602060002001549050919050565b600081908060018154018082558091505060019003906000526020600020016000909190919091505550565b600080548061029f5761029e610495565b5b60019003818190600052602060002001600090559055565b60008080549050905090565b600181815481106102d357600080fd5b906000526020600020016000915090505481565b6060600080548060200260200160405190810160405280929190818152602001828054801561033557602002820191906000526020600020905b815481526020019060010190808311610321575b5050505050905090565b60008135905061034e816104f8565b92915050565b60006020828403121561036a576103696104f3565b5b60006103788482850161033f565b91505092915050565b600061038d83836103f7565b60208301905092915050565b60006103a482610462565b6103ae818561047a565b93506103b983610452565b8060005b838110156103ea5781516103d18882610381565b97506103dc8361046d565b9250506001810190506103bd565b5085935050505092915050565b6104008161048b565b82525050565b61040f8161048b565b82525050565b6000602082019050818103600083015261042f8184610399565b905092915050565b600060208201905061044c6000830184610406565b92915050565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6105018161048b565b811461050c57600080fd5b5056fea26469706673582212203f1ba05beaf92957fdad554cc8fbfe96fb13eb37ddcd0a02fe0a05f04b48b60764736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x93 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x959AC484 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0x959AC484 EQ PUSH2 0x144 JUMPI DUP1 PUSH4 0xA4ECE52C EQ PUSH2 0x160 JUMPI DUP1 PUSH4 0xBE1C766B EQ PUSH2 0x16A JUMPI DUP1 PUSH4 0xEDF0099B EQ PUSH2 0x188 JUMPI DUP1 PUSH4 0xFB8CBCED EQ PUSH2 0x1B8 JUMPI PUSH2 0x93 JUMP JUMPDEST DUP1 PUSH4 0x38A067CE EQ PUSH2 0x98 JUMPI DUP1 PUSH4 0x4CC82215 EQ PUSH2 0xC8 JUMPI DUP1 PUSH4 0x71E5EE5F EQ PUSH2 0xE4 JUMPI DUP1 PUSH4 0x9507D39A EQ PUSH2 0x114 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xAD SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x1D6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBF SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xDD SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x1F1 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xFE PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xF9 SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x10B SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x12E PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x129 SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x23A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x13B SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x15E PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x159 SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x261 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x168 PUSH2 0x28D JUMP JUMPDEST STOP JUMPDEST PUSH2 0x172 PUSH2 0x2B7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x17F SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1A2 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x19D SWAP2 SWAP1 PUSH2 0x354 JUMP JUMPDEST PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1AF SWAP2 SWAP1 PUSH2 0x437 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1C0 PUSH2 0x2E7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CD SWAP2 SWAP1 PUSH2 0x415 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x2 DUP2 PUSH1 0xA DUP2 LT PUSH2 0x1E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x205 JUMPI PUSH2 0x204 PUSH2 0x4C4 JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x226 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x24F JUMPI PUSH2 0x24E PUSH2 0x4C4 JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP SSTORE POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD DUP1 PUSH2 0x29F JUMPI PUSH2 0x29E PUSH2 0x495 JUMP JUMPDEST JUMPDEST PUSH1 0x1 SWAP1 SUB DUP2 DUP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 SLOAD SWAP1 POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x2D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP SLOAD DUP2 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD DUP1 ISZERO PUSH2 0x335 JUMPI PUSH1 0x20 MUL DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 DUP1 DUP4 GT PUSH2 0x321 JUMPI JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x34E DUP2 PUSH2 0x4F8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x36A JUMPI PUSH2 0x369 PUSH2 0x4F3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x378 DUP5 DUP3 DUP6 ADD PUSH2 0x33F JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x38D DUP4 DUP4 PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x3A4 DUP3 PUSH2 0x462 JUMP JUMPDEST PUSH2 0x3AE DUP2 DUP6 PUSH2 0x47A JUMP JUMPDEST SWAP4 POP PUSH2 0x3B9 DUP4 PUSH2 0x452 JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x3EA JUMPI DUP2 MLOAD PUSH2 0x3D1 DUP9 DUP3 PUSH2 0x381 JUMP JUMPDEST SWAP8 POP PUSH2 0x3DC DUP4 PUSH2 0x46D JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x3BD JUMP JUMPDEST POP DUP6 SWAP4 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x400 DUP2 PUSH2 0x48B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x40F DUP2 PUSH2 0x48B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x42F DUP2 DUP5 PUSH2 0x399 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x44C PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x406 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x501 DUP2 PUSH2 0x48B JUMP JUMPDEST DUP2 EQ PUSH2 0x50C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 EXTCODEHASH SHL LOG0 JUMPDEST 0xEA 0xF9 0x29 JUMPI REVERT 0xAD SSTORE 0x4C 0xC8 0xFB INVALID SWAP7 0xFB SGT 0xEB CALLDATACOPY 0xDD 0xCD EXP MUL INVALID EXP SDIV CREATE 0x4B BASEFEE 0xB6 SMOD PUSH5 0x736F6C6343 STOP ADDMOD SMOD STOP CALLER ",
"sourceMap": "60:1161:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;243:30;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1003:215;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;126:17;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;282:80;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;608:141;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;757:146;;;:::i;:::-;;911:84;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;150:30;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;517:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;243:30;;;;;;;;;;;;;;;;;;;;:::o;1003:215::-;1200:3;1204:5;1200:10;;;;;;;;:::i;:::-;;;;;;;;;1193:17;;;1003:215;:::o;126:17::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;282:80::-;324:4;348:3;352:1;348:6;;;;;;;;:::i;:::-;;;;;;;;;;341:13;;282:80;;;:::o;608:141::-;730:3;739:1;730:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;608:141;:::o;757:146::-;886:3;:9;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;757:146::o;911:84::-;953:4;977:3;:10;;;;970:17;;911:84;:::o;150:30::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;517:83::-;556:13;589:3;582:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;517:83;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:329::-;211:6;260:2;248:9;239:7;235:23;231:32;228:119;;;266:79;;:::i;:::-;228:119;386:1;411:53;456:7;447:6;436:9;432:22;411:53;:::i;:::-;401:63;;357:117;152:329;;;;:::o;487:179::-;556:10;577:46;619:3;611:6;577:46;:::i;:::-;655:4;650:3;646:14;632:28;;487:179;;;;:::o;702:732::-;821:3;850:54;898:5;850:54;:::i;:::-;920:86;999:6;994:3;920:86;:::i;:::-;913:93;;1030:56;1080:5;1030:56;:::i;:::-;1109:7;1140:1;1125:284;1150:6;1147:1;1144:13;1125:284;;;1226:6;1220:13;1253:63;1312:3;1297:13;1253:63;:::i;:::-;1246:70;;1339:60;1392:6;1339:60;:::i;:::-;1329:70;;1185:224;1172:1;1169;1165:9;1160:14;;1125:284;;;1129:14;1425:3;1418:10;;826:608;;;702:732;;;;:::o;1440:108::-;1517:24;1535:5;1517:24;:::i;:::-;1512:3;1505:37;1440:108;;:::o;1554:118::-;1641:24;1659:5;1641:24;:::i;:::-;1636:3;1629:37;1554:118;;:::o;1678:373::-;1821:4;1859:2;1848:9;1844:18;1836:26;;1908:9;1902:4;1898:20;1894:1;1883:9;1879:17;1872:47;1936:108;2039:4;2030:6;1936:108;:::i;:::-;1928:116;;1678:373;;;;:::o;2057:222::-;2150:4;2188:2;2177:9;2173:18;2165:26;;2201:71;2269:1;2258:9;2254:17;2245:6;2201:71;:::i;:::-;2057:222;;;;:::o;2366:132::-;2433:4;2456:3;2448:11;;2486:4;2481:3;2477:14;2469:22;;2366:132;;;:::o;2504:114::-;2571:6;2605:5;2599:12;2589:22;;2504:114;;;:::o;2624:113::-;2694:4;2726;2721:3;2717:14;2709:22;;2624:113;;;:::o;2743:184::-;2842:11;2876:6;2871:3;2864:19;2916:4;2911:3;2907:14;2892:29;;2743:184;;;;:::o;2933:77::-;2970:7;2999:5;2988:16;;2933:77;;;:::o;3016:180::-;3064:77;3061:1;3054:88;3161:4;3158:1;3151:15;3185:4;3182:1;3175:15;3202:180;3250:77;3247:1;3240:88;3347:4;3344:1;3337:15;3371:4;3368:1;3361:15;3511:117;3620:1;3617;3610:12;3634:122;3707:24;3725:5;3707:24;:::i;:::-;3700:5;3697:35;3687:63;;3746:1;3743;3736:12;3687:63;3634:122;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "269800",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"arr(uint256)": "infinite",
"arr2(uint256)": "infinite",
"get(uint256)": "infinite",
"getArr()": "infinite",
"getLength()": "2489",
"myFixedSizeArr(uint256)": "infinite",
"pop()": "29467",
"push(uint256)": "46829",
"remove(uint256)": "7618"
}
},
"methodIdentifiers": {
"arr(uint256)": "71e5ee5f",
"arr2(uint256)": "edf0099b",
"get(uint256)": "9507d39a",
"getArr()": "fb8cbced",
"getLength()": "be1c766b",
"myFixedSizeArr(uint256)": "38a067ce",
"pop()": "a4ece52c",
"push(uint256)": "959ac484",
"remove(uint256)": "4cc82215"
}
},
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "arr",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "arr2",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "i",
"type": "uint256"
}
],
"name": "get",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getArr",
"outputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLength",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "myFixedSizeArr",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "pop",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "i",
"type": "uint256"
}
],
"name": "push",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "remove",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "arr",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "arr2",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "i",
"type": "uint256"
}
],
"name": "get",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getArr",
"outputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLength",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "myFixedSizeArr",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "pop",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "i",
"type": "uint256"
}
],
"name": "push",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "remove",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/DS_Array.sol": "Array"
},
"evmVersion": "london",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/DS_Array.sol": {
"keccak256": "0x5da10ef0cabe2008e37d89581ab97717992ae43bcaa56ff77a3627e9980fe9cd",
"license": "MIT",
"urls": [
"bzz-raw://b1bcc90cb8f20985a95284a0004cb16a27e61b865efbe44ba021bbfd8effb613",
"dweb:/ipfs/QmdNay1fFHWmCjGnQPPqGifaSyJWm2Y2tdYSTqdW78piFh"
]
}
},
"version": 1
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract IfElse {
// function foo(uint x) public pure returns (uint) {
// if (x < 10) {
// return 0;
// } else if (x < 20) {
// return 1;
// } else {
// return 2;
// }
// }
// function ternary(uint _x) public pure returns (uint) {
// // if (_x < 10) {
// // return 1;
// // }
// // return 2;
// // shorthand way to write if / else statement
// return _x < 10 ? 1 : 2;
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract IfElse {
function foo(uint x) public pure returns (uint) {
if (x < 10) {
return 0;
} else if (x < 20) {
return 1;
} else {
return 2;
}
}
function ternary(uint _x) public pure returns (uint) {
// if (_x < 10) {
// return 1;
// }
// return 2;
// shorthand way to write if / else statement
return _x < 10 ? 1 : 2;
}
function evenCheck(uint y) public pure returns (bool) {
return y%2 == 0 ? true : false;
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract Loop {
// function loop() public {
// // for loop
// for (uint i = 0; i < 10; i++) {
// if (i == 3) {
// // Skip to next iteration with continue
// continue;
// }
// if (i == 5) {
// // Exit loop with break
// break;
// }
// }
// // while loop
// uint j;
// while (j < 10) {
// j++;
// }
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Loop {
uint public count;
function loop() public{
// for loop
for (uint i = 0; i < 10; i++) {
if (i == 5) {
// Skip to next iteration with continue
continue;
}
if (i == 5) {
// Exit loop with break
break;
}
count++;
}
// while loop
uint j;
while (j < 10) {
j++;
}
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract DataLocations {
// uint[] public arr;
// mapping(uint => address) map;
// struct MyStruct {
// uint foo;
// }
// mapping(uint => MyStruct) myStructs;
// function f() public {
// // call _f with state variables
// _f(arr, map, myStructs[1]);
// // get a struct from a mapping
// MyStruct storage myStruct = myStructs[1];
// // create a struct in memory
// MyStruct memory myMemStruct = MyStruct(0);
// }
// function _f(
// uint[] storage _arr,
// mapping(uint => address) storage _map,
// MyStruct storage _myStruct
// ) internal {
// // do something with storage variables
// }
// // You can return memory variables
// function g(uint[] memory _arr) public returns (uint[] memory) {
// // do something with memory array
// }
// function h(uint[] calldata _arr) external {
// // do something with calldata array
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract DataLocations {
uint[] public arr;
mapping(uint => address) map;
struct MyStruct {
uint foo;
}
mapping(uint => MyStruct) public myStructs;
function f() public returns (MyStruct memory, MyStruct memory, MyStruct memory){
// call _f with state variables
_f(arr, map, myStructs[1]);
// get a struct from a mapping
MyStruct storage myStruct = myStructs[1];
myStruct.foo = 4;
// create a struct in memory
MyStruct memory myMemStruct = MyStruct(0);
MyStruct memory myMemStruct2 = myMemStruct;
myMemStruct2.foo = 1;
MyStruct memory myMemStruct3 = myStruct;
myMemStruct3.foo = 3;
return (myStruct, myMemStruct2, myMemStruct3);
}
function _f(
uint[] storage _arr,
mapping(uint => address) storage _map,
MyStruct storage _myStruct
) internal {
// do something with storage variables
}
// You can return memory variables
function g(uint[] memory _arr) public returns (uint[] memory) {
// do something with memory array
_arr[0] = 1;
}
function h(uint[] calldata _arr) external {
// do something with calldata array
// _arr[0] = 1;
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Array {
// Several ways to initialize an array
uint[] public arr;
uint[] public arr2 = [1, 2, 3];
// Fixed sized array, all elements initialize to 0
uint[10] public myFixedSizeArr;
function get(uint i) public view returns (uint) {
return arr[i];
}
// Solidity can return the entire array.
// But this function should be avoided for
// arrays that can grow indefinitely in length.
function getArr() public view returns (uint[] memory) {
return arr;
}
function push(uint i) public {
// Append to array
// This will increase the array length by 1.
arr.push(i);
}
function pop() public {
// Remove last element from array
// This will decrease the array length by 1
arr.pop();
}
function getLength() public view returns (uint) {
return arr.length;
}
function remove(uint index) public {
// Delete does not change the array length.
// It resets the value at index to it's default value,
// in this case 0
delete arr[index];
}
}
contract CompactArray {
uint[] public arr;
// Deleting an element creates a gap in the array.
// One trick to keep the array compact is to
// move the last element into the place to delete.
function remove(uint index) public {
// Move the last element into the place to delete
arr[index] = arr[arr.length - 1];
// Remove the last element
arr.pop();
}
function test() public {
arr.push(1);
arr.push(2);
arr.push(3);
arr.push(4);
// [1, 2, 3, 4]
remove(1);
// [1, 4, 3]
remove(2);
// [1, 4]
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract Enum {
// // Enum representing shipping status
// enum Status {
// Pending,
// Shipped,
// Accepted,
// Rejected,
// Canceled
// }
// // Default value is the first element listed in
// // definition of the type, in this case "Pending"
// Status public status;
// // Returns uint
// // Pending - 0
// // Shipped - 1
// // Accepted - 2
// // Rejected - 3
// // Canceled - 4
// function get() public view returns (Status) {
// return status;
// }
// // Update status by passing uint into input
// function set(Status _status) public {
// status = _status;
// }
// // You can update to a specific enum like this
// function cancel() public {
// status = Status.Canceled;
// }
// // delete resets the enum to its first value, 0
// function reset() public {
// delete status;
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Enum {
// Enum representing shipping status
enum Status {
Pending,
Shipped,
Accepted,
Rejected,
Canceled
}
enum Size {
S,
M,
L
}
// Default value is the first element listed in
// definition of the type, in this case "Pending"
Status public status;
Size public sizes;
function get() public view returns (Status) {
return status;
}
function getSize() public view returns (Size) {
return sizes;
}
// Update status by passing uint into input
function set(Status _status) public {
status = _status;
}
// You can update to a specific enum like this
function cancel() public {
status = Status.Canceled;
}
// delete resets the enum to its first value, 0
function reset() public {
delete status;
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract Mapping {
// // Mapping from address to uint
// mapping(address => uint) public myMap;
// function get(address _addr) public view returns (uint) {
// // Mapping always returns a value.
// // If the value was never set, it will return the default value.
// return myMap[_addr];
// }
// function set(address _addr, uint _i) public {
// // Update the value at this address
// myMap[_addr] = _i;
// }
// function remove(address _addr) public {
// // Reset the value to the default value.
// delete myMap[_addr];
// }
// }
// contract NestedMapping {
// // Nested mapping (mapping from address to another mapping)
// mapping(address => mapping(uint => bool)) public nested;
// function get(address _addr1, uint _i) public view returns (bool) {
// // You can get values from a nested mapping
// // even when it is not initialized
// return nested[_addr1][_i];
// }
// function set(
// address _addr1,
// uint _i,
// bool _boo
// ) public {
// nested[_addr1][_i] = _boo;
// }
// function remove(address _addr1, uint _i) public {
// delete nested[_addr1][_i];
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Mapping {
// Mapping from address to uint
mapping(address => uint) public balances;
function get(address _addr) public view returns (uint) {
// Mapping always returns a value.
// If the value was never set, it will return the default value.
return balances[_addr];
}
function set(address _addr) public {
// Update the value at this address
balances[_addr] = _addr.balance;
}
function remove(address _addr) public {
// Reset the value to the default value.
delete balances[_addr];
}
}
contract NestedMapping {
// Nested mapping (mapping from address to another mapping)
mapping(address => mapping(uint => bool)) public nested;
function get(address _addr1, uint _i) public view returns (bool) {
// You can get values from a nested mapping
// even when it is not initialized
return nested[_addr1][_i];
}
function set(
address _addr1,
uint _i,
bool _boo
) public {
nested[_addr1][_i] = _boo;
}
function remove(address _addr1, uint _i) public {
delete nested[_addr1][_i];
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract Todos {
// struct Todo {
// string text;
// bool completed;
// }
// // An array of 'Todo' structs
// Todo[] public todos;
// function create(string memory _text) public {
// // 3 ways to initialize a struct
// // - calling it like a function
// todos.push(Todo(_text, false));
// // key value mapping
// todos.push(Todo({text: _text, completed: false}));
// // initialize an empty struct and then update it
// Todo memory todo;
// todo.text = _text;
// // todo.completed initialized to false
// todos.push(todo);
// }
// // Solidity automatically created a getter for 'todos' so
// // you don't actually need this function.
// function get(uint _index) public view returns (string memory text, bool completed) {
// Todo storage todo = todos[_index];
// return (todo.text, todo.completed);
// }
// // update text
// function update(uint _index, string memory _text) public {
// Todo storage todo = todos[_index];
// todo.text = _text;
// }
// // update completed
// function toggleCompleted(uint _index) public {
// Todo storage todo = todos[_index];
// todo.completed = !todo.completed;
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Todos {
struct Todo {
string text;
bool completed;
}
// An array of 'Todo' structs
Todo[] public todos;
function create(string memory _text) public {
// 3 ways to initialize a struct
// - calling it like a function
todos.push(Todo(_text, false));
// key value mapping
todos.push(Todo({text: _text, completed: false}));
// initialize an empty struct and then update it
Todo memory todo;
todo.text = _text;
// todo.completed initialized to false
todos.push(todo);
}
// Solidity automatically created a getter for 'todos' so
// you don't actually need this function.
function get(uint _index) public view returns (string memory text, bool completed) {
Todo storage todo = todos[_index];
return (todo.text, todo.completed);
}
// update text
function update(uint _index, string memory _text) public {
Todo storage todo = todos[_index];
todo.text = _text;
}
// update completed
function toggleCompleted(uint _index) public {
Todo storage todo = todos[_index];
todo.completed = !todo.completed;
}
function remove(uint _index) public {
delete todos[_index];
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract FunctionModifier {
// // We will use these variables to demonstrate how to use
// // modifiers.
// address public owner;
// uint public x = 10;
// bool public locked;
// constructor() {
// // Set the transaction sender as the owner of the contract.
// owner = msg.sender;
// }
// // Modifier to check that the caller is the owner of
// // the contract.
// modifier onlyOwner() {
// require(msg.sender == owner, "Not owner");
// // Underscore is a special character only used inside
// // a function modifier and it tells Solidity to
// // execute the rest of the code.
// _;
// }
// // Modifiers can take inputs. This modifier checks that the
// // address passed in is not the zero address.
// modifier validAddress(address _addr) {
// require(_addr != address(0), "Not valid address");
// _;
// }
// function changeOwner(address _newOwner) public onlyOwner validAddress(_newOwner) {
// owner = _newOwner;
// }
// // Modifiers can be called before and / or after a function.
// // This modifier prevents a function from being called while
// // it is still executing.
// modifier noReentrancy() {
// require(!locked, "No reentrancy");
// locked = true;
// _;
// locked = false;
// }
// function decrement(uint i) public noReentrancy {
// x -= i;
// if (i > 1) {
// decrement(i - 1);
// }
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract FunctionModifier {
// We will use these variables to demonstrate how to use
// modifiers.
address public owner;
uint public x = 10;
bool public locked;
constructor() {
// Set the transaction sender as the owner of the contract.
owner = msg.sender;
}
// Modifier to check that the caller is the owner of
// the contract.
modifier onlyOwner() {
require(msg.sender == owner, "Not owner");
// Underscore is a special character only used inside
// a function modifier and it tells Solidity to
// execute the rest of the code.
_;
}
// Modifiers can take inputs. This modifier checks that the
// address passed in is not the zero address.
modifier validAddress(address _addr) {
require(_addr != address(0), "Not valid address");
_;
}
function changeOwner(address _newOwner) public onlyOwner validAddress(_newOwner) {
owner = _newOwner;
}
modifier biggerThan0(uint y) {
require(y > 0, "Not bigger than x");
_;
}
modifier increaseXbyY(uint y) {
_;
x = x + y;
}
function increaseX(uint y) public onlyOwner biggerThan0(y) increaseXbyY(y){
}
// Modifiers can be called before and / or after a function.
// This modifier prevents a function from being called while
// it is still executing.
modifier noReentrancy() {
require(!locked, "No reentrancy");
locked = true;
_;
locked = false;
}
function decrement(uint i) public noReentrancy {
x -= i;
if (i > 1) {
decrement(i - 1);
}
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract Function {
// // Functions can return multiple values.
// function returnMany()
// public
// pure
// returns (
// uint,
// bool,
// uint
// )
// {
// return (1, true, 2);
// }
// // Return values can be named.
// function named()
// public
// pure
// returns (
// uint x,
// bool b,
// uint y
// )
// {
// return (1, true, 2);
// }
// // Return values can be assigned to their name.
// // In this case the return statement can be omitted.
// function assigned()
// public
// pure
// returns (
// uint x,
// bool b,
// uint y
// )
// {
// x = 1;
// b = true;
// y = 2;
// }
// // Use destructing assignment when calling another
// // function that returns multiple values.
// function destructingAssigments()
// public
// pure
// returns (
// uint,
// bool,
// uint,
// uint,
// uint
// )
// {
// (uint i, bool b, uint j) = returnMany();
// // Values can be left out.
// (uint x, , uint y) = (4, 5, 6);
// return (i, b, j, x, y);
// }
// // Cannot use map for neither input nor output
// // Can use array for input
// function arrayInput(uint[] memory _arr) public {}
// // Can use array for output
// uint[] public arr;
// function arrayOutput() public view returns (uint[] memory) {
// return arr;
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Function {
// Functions can return multiple values.
function returnMany()
public
pure
returns (
uint,
bool,
uint
)
{
return (1, true, 2);
}
// Return values can be named.
function named()
public
pure
returns (
uint x,
bool b,
uint y
)
{
return (1, true, 2);
}
// Return values can be assigned to their name.
// In this case the return statement can be omitted.
function assigned()
public
pure
returns (
uint x,
bool b,
uint y
)
{
x = 1;
b = true;
y = 2;
}
// Use destructing assignment when calling another
// function that returns multiple values.
function destructingAssigments()
public
pure
returns (
uint,
bool,
uint,
uint,
uint
)
{
(uint i, bool b, uint j) = returnMany();
// Values can be left out.
(uint x, , uint y) = (4, 5, 6);
return (i, b, j, x, y);
}
// Cannot use map for neither input nor output
// Can use array for input
function arrayInput(uint[] memory _arr) public {}
// Can use array for output
uint[] public arr;
function arrayOutput() public view returns (uint[] memory) {
return arr;
}
function returnTwo()
public
pure
returns (
int i,
bool b
)
{
i = -2;
b = true;
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract SimpleStorage {
// // State variable to store a number
// uint public num;
// // You need to send a transaction to write to a state variable.
// function set(uint _num) public {
// num = _num;
// }
// // You can read from a state variable without sending a transaction.
// function get() public view returns (uint) {
// return num;
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract SimpleStorage {
// State variable to store a number
uint public num;
bool public b = true;
// You need to send a transaction to write to a state variable.
function set(uint _num) public {
num = _num;
}
// You can read from a state variable without sending a transaction.
function get() public view returns (uint) {
return num;
}
function get_b() public view returns (bool) {
return b;
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract ViewAndPure {
// uint public x = 1;
// // Promise not to modify the state.
// function addToX(uint y) public view returns (uint) {
// return x + y;
// }
// // Promise not to modify or read from the state.
// function add(uint i, uint j) public pure returns (uint) {
// return i + j;
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract ViewAndPure {
uint public x = 1;
// Promise not to modify the state.
function addToX(uint y) public view returns (uint) {
return x + y;
}
// Promise not to modify or read from the state.
function add(uint i, uint j) public pure returns (uint) {
return i + j;
}
function addToX2(uint y) public {
x = x + y;
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract Gas {
// uint public i = 0;
// // Using up all of the gas that you send causes your transaction to fail.
// // State changes are undone.
// // Gas spent are not refunded.
// function forever() public {
// // Here we run a loop until all of the gas are spent
// // and the transaction fails
// while (true) {
// i += 1;
// }
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Gas {
uint public i = 0;
// Using up all of the gas that you send causes your transaction to fail.
// State changes are undone.
// Gas spent are not refunded.
function forever() public {
// Here we run a loop until all of the gas are spent
// and the transaction fails
while (true) {
i += 1;
}
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract ReceiveEther {
// /*
// Which function is called, fallback() or receive()?
// send Ether
// |
// msg.data is empty?
// / \
// yes no
// / \
// receive() exists? fallback()
// / \
// yes no
// / \
// receive() fallback()
// */
// // Function to receive Ether. msg.data must be empty
// receive() external payable {}
// // Fallback function is called when msg.data is not empty
// fallback() external payable {}
// function getBalance() public view returns (uint) {
// return address(this).balance;
// }
// }
// contract SendEther {
// function sendViaTransfer(address payable _to) public payable {
// // This function is no longer recommended for sending Ether.
// _to.transfer(msg.value);
// }
// function sendViaSend(address payable _to) public payable {
// // Send returns a boolean value indicating success or failure.
// // This function is not recommended for sending Ether.
// bool sent = _to.send(msg.value);
// require(sent, "Failed to send Ether");
// }
// function sendViaCall(address payable _to) public payable {
// // Call returns a boolean value indicating success or failure.
// // This is the current recommended method to use.
// (bool sent, bytes memory data) = _to.call{value: msg.value}("");
// require(sent, "Failed to send Ether");
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract ReceiveEther {
/*
Which function is called, fallback() or receive()?
send Ether
|
msg.data is empty?
/ \
yes no
/ \
receive() exists? fallback()
/ \
yes no
/ \
receive() fallback()
*/
// Function to receive Ether. msg.data must be empty
receive() external payable {}
// Fallback function is called when msg.data is not empty
fallback() external payable {}
function getBalance() public view returns (uint) {
return address(this).balance;
}
}
contract SendEther {
function sendViaTransfer(address payable _to) public payable {
// This function is no longer recommended for sending Ether.
_to.transfer(msg.value);
}
function sendViaSend(address payable _to) public payable {
// Send returns a boolean value indicating success or failure.
// This function is not recommended for sending Ether.
bool sent = _to.send(msg.value);
require(sent, "Failed to send Ether");
}
function sendViaCall(address payable _to) public payable {
// Call returns a boolean value indicating success or failure.
// This is the current recommended method to use.
(bool sent, bytes memory data) = _to.call{value: msg.value}("");
require(sent, "Failed to send Ether");
}
}
contract Charity {
address public owner;
constructor() {
owner = msg.sender;
}
function donate() public payable {}
function withdraw() public {
uint amount = address(this).balance;
(bool sent, bytes memory data) = owner.call{value: amount}("");
require(sent, "Failed to send Ether");
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract EtherUnits {
// uint public oneWei = 1 wei;
// // 1 wei is equal to 1
// bool public isOneWei = 1 wei == 1;
// uint public oneEther = 1 ether;
// // 1 ether is equal to 10^18 wei
// bool public isOneEther = 1 ether == 1e18;
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract EtherUnits {
uint public oneWei = 1 wei;
// 1 wei is equal to 1
bool public isOneWei = 1 wei == 1;
uint public oneEther = 1 ether;
// 1 ether is equal to 10^18 wei
bool public isOneEther = 1 ether == 1e18;
uint public oneGwei = 1 gwei;
// 1 ether is equal to 10^9 wei
bool public isOneGwei = 1 gwei == 1e9;
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Variables {
// State variables are stored on the blockchain.
string public text = "Hello";
uint public num = 123;
uint public blockNumber;
function doSomething() public {
// Local variables are not saved to the blockchain.
uint i = 456;
// Here are some global variables
uint timestamp = block.timestamp; // Current block timestamp
address sender = msg.sender; // address of the caller
blockNumber = block.number;
}
}
// // SPDX-License-Identifier: MIT
// pragma solidity ^0.8.3;
// contract Base {
// // Private function can only be called
// // - inside this contract
// // Contracts that inherit this contract cannot call this function.
// function privateFunc() private pure returns (string memory) {
// return "private function called";
// }
// function testPrivateFunc() public pure returns (string memory) {
// return privateFunc();
// }
// // Internal function can be called
// // - inside this contract
// // - inside contracts that inherit this contract
// function internalFunc() internal pure returns (string memory) {
// return "internal function called";
// }
// function testInternalFunc() public pure virtual returns (string memory) {
// return internalFunc();
// }
// // Public functions can be called
// // - inside this contract
// // - inside contracts that inherit this contract
// // - by other contracts and accounts
// function publicFunc() public pure returns (string memory) {
// return "public function called";
// }
// // External functions can only be called
// // - by other contracts and accounts
// function externalFunc() external pure returns (string memory) {
// return "external function called";
// }
// // This function will not compile since we're trying to call
// // an external function here.
// // function testExternalFunc() public pure returns (string memory) {
// // return externalFunc();
// // }
// // State variables
// string private privateVar = "my private variable";
// string internal internalVar = "my internal variable";
// string public publicVar = "my public variable";
// // State variables cannot be external so this code won't compile.
// // string external externalVar = "my external variable";
// }
// contract Child is Base {
// // Inherited contracts do not have access to private functions
// // and state variables.
// // function testPrivateFunc() public pure returns (string memory) {
// // return privateFunc();
// // }
// // Internal function call be called inside child contracts.
// function testInternalFunc() public pure override returns (string memory) {
// return internalFunc();
// }
// }
// Answer=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract Base {
// Private function can only be called
// - inside this contract
// Contracts that inherit this contract cannot call this function.
function privateFunc() private pure returns (string memory) {
return "private function called";
}
function testPrivateFunc() public pure returns (string memory) {
return privateFunc();
}
// Internal function can be called
// - inside this contract
// - inside contracts that inherit this contract
function internalFunc() internal pure returns (string memory) {
return "internal function called";
}
function testInternalFunc() public pure virtual returns (string memory) {
return internalFunc();
}
// Public functions can be called
// - inside this contract
// - inside contracts that inherit this contract
// - by other contracts and accounts
function publicFunc() public pure returns (string memory) {
return "public function called";
}
// External functions can only be called
// - by other contracts and accounts
function externalFunc() external pure returns (string memory) {
return "external function called";
}
// This function will not compile since we're trying to call
// an external function here.
// function testExternalFunc() public pure returns (string memory) {
// return externalFunc();
// }
// State variables
string private privateVar = "my private variable";
string internal internalVar = "my internal variable";
string public publicVar = "my public variable";
// State variables cannot be external so this code won't compile.
// string external externalVar = "my external variable";
}
contract Child is Base {
// Inherited contracts do not have access to private functions
// and state variables.
// function testPrivateFunc() public pure returns (string memory) {
// return privateFunc();
// }
// Internal function call be called inside child contracts.
function testInternalFunc() public pure override returns (string memory) {
return internalFunc();
}
function testInternalVar() public view returns (string memory, string memory) {
return (internalVar, publicVar);
}
}
This file has been truncated, but you can view the full file.
{
"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": {
"@_71": {
"entryPoint": null,
"id": 71,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory": {
"entryPoint": 382,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory": {
"entryPoint": 505,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bytes32_fromMemory": {
"entryPoint": 556,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory": {
"entryPoint": 579,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 660,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 691,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr": {
"entryPoint": 701,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes32": {
"entryPoint": 748,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 758,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 768,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"increment_t_uint256": {
"entryPoint": 822,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 900,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 947,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 994,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 1041,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef": {
"entryPoint": 1046,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 1051,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1056,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 1061,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_bytes32": {
"entryPoint": 1078,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:4399:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "137:631:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "147:90:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "229:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "172:56:1"
},
"nodeType": "YulFunctionCall",
"src": "172:64:1"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "156:15:1"
},
"nodeType": "YulFunctionCall",
"src": "156:81:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "147:5:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "246:16:1",
"value": {
"name": "array",
"nodeType": "YulIdentifier",
"src": "257:5:1"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "250:3:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "279:5:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "286:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "272:6:1"
},
"nodeType": "YulFunctionCall",
"src": "272:21:1"
},
"nodeType": "YulExpressionStatement",
"src": "272:21:1"
},
{
"nodeType": "YulAssignment",
"src": "302:23:1",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "313:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "320:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "309:3:1"
},
"nodeType": "YulFunctionCall",
"src": "309:16:1"
},
"variableNames": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "302:3:1"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "335:17:1",
"value": {
"name": "offset",
"nodeType": "YulIdentifier",
"src": "346:6:1"
},
"variables": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "339:3:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "401:103:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef",
"nodeType": "YulIdentifier",
"src": "415:77:1"
},
"nodeType": "YulFunctionCall",
"src": "415:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "415:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "371:3:1"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "380:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "388:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "376:3:1"
},
"nodeType": "YulFunctionCall",
"src": "376:17:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "367:3:1"
},
"nodeType": "YulFunctionCall",
"src": "367:27:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "396:3:1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "364:2:1"
},
"nodeType": "YulFunctionCall",
"src": "364:36:1"
},
"nodeType": "YulIf",
"src": "361:143:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "573:189:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "588:21:1",
"value": {
"name": "src",
"nodeType": "YulIdentifier",
"src": "606:3:1"
},
"variables": [
{
"name": "elementPos",
"nodeType": "YulTypedName",
"src": "592:10:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "630:3:1"
},
{
"arguments": [
{
"name": "elementPos",
"nodeType": "YulIdentifier",
"src": "667:10:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "679:3:1"
}
],
"functionName": {
"name": "abi_decode_t_bytes32_fromMemory",
"nodeType": "YulIdentifier",
"src": "635:31:1"
},
"nodeType": "YulFunctionCall",
"src": "635:48:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "623:6:1"
},
"nodeType": "YulFunctionCall",
"src": "623:61:1"
},
"nodeType": "YulExpressionStatement",
"src": "623:61:1"
},
{
"nodeType": "YulAssignment",
"src": "697:21:1",
"value": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "708:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "713:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "704:3:1"
},
"nodeType": "YulFunctionCall",
"src": "704:14:1"
},
"variableNames": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "697:3:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "731:21:1",
"value": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "742:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "747:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "738:3:1"
},
"nodeType": "YulFunctionCall",
"src": "738:14:1"
},
"variableNames": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "731:3:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "535:1:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "538:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "532:2:1"
},
"nodeType": "YulFunctionCall",
"src": "532:13:1"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "546:18:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "548:14:1",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "557:1:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "560:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "553:3:1"
},
"nodeType": "YulFunctionCall",
"src": "553:9:1"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "548:1:1"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "517:14:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "519:10:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "528:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "523:1:1",
"type": ""
}
]
}
]
},
"src": "513:249:1"
}
]
},
"name": "abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "107:6:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "115:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "123:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "131:5:1",
"type": ""
}
],
"src": "24:744:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "879:297:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "928:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "930:77:1"
},
"nodeType": "YulFunctionCall",
"src": "930:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "930:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "907:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "915:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "903:3:1"
},
"nodeType": "YulFunctionCall",
"src": "903:17:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "922:3:1"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "899:3:1"
},
"nodeType": "YulFunctionCall",
"src": "899:27:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "892:6:1"
},
"nodeType": "YulFunctionCall",
"src": "892:35:1"
},
"nodeType": "YulIf",
"src": "889:122:1"
},
{
"nodeType": "YulVariableDeclaration",
"src": "1020:27:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1040:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1034:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1034:13:1"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1024:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1056:114:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1143:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1151:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1139:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1139:17:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1158:6:1"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1166:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory",
"nodeType": "YulIdentifier",
"src": "1065:73:1"
},
"nodeType": "YulFunctionCall",
"src": "1065:105:1"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "1056:5:1"
}
]
}
]
},
"name": "abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "857:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "865:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "873:5:1",
"type": ""
}
],
"src": "791:385:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1245:80:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1255:22:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1270:6:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1264:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1264:13:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1255:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1313:5:1"
}
],
"functionName": {
"name": "validator_revert_t_bytes32",
"nodeType": "YulIdentifier",
"src": "1286:26:1"
},
"nodeType": "YulFunctionCall",
"src": "1286:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "1286:33:1"
}
]
},
"name": "abi_decode_t_bytes32_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1223:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1231:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1239:5:1",
"type": ""
}
],
"src": "1182:143:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1433:452:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1479:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1481:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1481:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1481:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1454:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1463:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1450:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1450:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1475:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1446:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1446:32:1"
},
"nodeType": "YulIf",
"src": "1443:119:1"
},
{
"nodeType": "YulBlock",
"src": "1572:306:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1587:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1611:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1622:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1607:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1607:17:1"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1601:5:1"
},
"nodeType": "YulFunctionCall",
"src": "1601:24:1"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1591:6:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1672:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "1674:77:1"
},
"nodeType": "YulFunctionCall",
"src": "1674:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "1674:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1644:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1652:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1641:2:1"
},
"nodeType": "YulFunctionCall",
"src": "1641:30:1"
},
"nodeType": "YulIf",
"src": "1638:117:1"
},
{
"nodeType": "YulAssignment",
"src": "1769:99:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1840:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1851:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1836:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1836:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1860:7:1"
}
],
"functionName": {
"name": "abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory",
"nodeType": "YulIdentifier",
"src": "1779:56:1"
},
"nodeType": "YulFunctionCall",
"src": "1779:89:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1769:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1403:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1414:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1426:6:1",
"type": ""
}
],
"src": "1331:554:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1932:88:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1942:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "1952:18:1"
},
"nodeType": "YulFunctionCall",
"src": "1952:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1942:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2001:6:1"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2009:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "1981:19:1"
},
"nodeType": "YulFunctionCall",
"src": "1981:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "1981:33:1"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1916:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1925:6:1",
"type": ""
}
],
"src": "1891:129:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2066:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2076:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2092:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2086:5:1"
},
"nodeType": "YulFunctionCall",
"src": "2086:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2076:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2059:6:1",
"type": ""
}
],
"src": "2026:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2189:229:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2294:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2296:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2296:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2296:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2266:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2274:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2263:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2263:30:1"
},
"nodeType": "YulIf",
"src": "2260:56:1"
},
{
"nodeType": "YulAssignment",
"src": "2326:25:1",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2338:6:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2346:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "2334:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2334:17:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2326:4:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2388:23:1",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2400:4:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2406:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2396:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2396:15:1"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2388:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2173:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2184:4:1",
"type": ""
}
],
"src": "2107:311:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2469:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2479:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2490:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2479:7:1"
}
]
}
]
},
"name": "cleanup_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2451:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2461:7:1",
"type": ""
}
],
"src": "2424:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2552:32:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2562:16:1",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2573:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2562:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2534:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2544:7:1",
"type": ""
}
],
"src": "2507:77:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2633:238:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2643:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2665:6:1"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2695:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2673:21:1"
},
"nodeType": "YulFunctionCall",
"src": "2673:27:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2661:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2661:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "2647:10:1",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2812:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2814:16:1"
},
"nodeType": "YulFunctionCall",
"src": "2814:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "2814:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2755:10:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2767:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2752:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2752:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2791:10:1"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2803:6:1"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2788:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2788:22:1"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "2749:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2749:62:1"
},
"nodeType": "YulIf",
"src": "2746:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2850:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2854:10:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2843:6:1"
},
"nodeType": "YulFunctionCall",
"src": "2843:22:1"
},
"nodeType": "YulExpressionStatement",
"src": "2843:22:1"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2619:6:1",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2627:4:1",
"type": ""
}
],
"src": "2590:281:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2920:190:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2930:33:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2957:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "2939:17:1"
},
"nodeType": "YulFunctionCall",
"src": "2939:24:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2930:5:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3053:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "3055:16:1"
},
"nodeType": "YulFunctionCall",
"src": "3055:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "3055:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2978:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2985:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "2975:2:1"
},
"nodeType": "YulFunctionCall",
"src": "2975:77:1"
},
"nodeType": "YulIf",
"src": "2972:103:1"
},
{
"nodeType": "YulAssignment",
"src": "3084:20:1",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3095:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3102:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3091:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3091:13:1"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "3084:3:1"
}
]
}
]
},
"name": "increment_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2906:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "2916:3:1",
"type": ""
}
],
"src": "2877:233:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3144:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3161:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3164:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3154:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3154:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3154:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3258:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3261:4:1",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3251:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3251:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3251:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3282:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3285:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3275:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3275:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3275:15:1"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "3116:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3330:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3347:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3350:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3340:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3340:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3340:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3444:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3447:4:1",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3437:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3437:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3437:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3468:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3471:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3461:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3461:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3461:15:1"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "3302:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3516:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3533:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3536:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3526:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3526:88:1"
},
"nodeType": "YulExpressionStatement",
"src": "3526:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3630:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3633:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3623:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3623:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3623:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3654:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3657:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3647:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3647:15:1"
},
"nodeType": "YulExpressionStatement",
"src": "3647:15:1"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "3488:180:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3763:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3780:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3783:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3773:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3773:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3773:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "3674:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3886:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3903:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3906:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3896:6:1"
},
"nodeType": "YulFunctionCall",
"src": "3896:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "3896:12:1"
}
]
},
"name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef",
"nodeType": "YulFunctionDefinition",
"src": "3797:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4009:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4026:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4029:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4019:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4019:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4019:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "3920:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4132:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4149:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4152:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4142:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4142:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4142:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "4043:117:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4214:54:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4224:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4242:5:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4249:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4238:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4238:14:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4258:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "4254:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4254:7:1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "4234:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4234:28:1"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "4224:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4197:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "4207:6:1",
"type": ""
}
],
"src": "4166:102:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4317:79:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4374:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4383:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4386:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4376:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4376:12:1"
},
"nodeType": "YulExpressionStatement",
"src": "4376:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4340:5:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4365:5:1"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "4347:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4347:24:1"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4337:2:1"
},
"nodeType": "YulFunctionCall",
"src": "4337:35:1"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4330:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4330:43:1"
},
"nodeType": "YulIf",
"src": "4327:63:1"
}
]
},
"name": "validator_revert_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4310:5:1",
"type": ""
}
],
"src": "4274:122:1"
}
]
},
"contents": "{\n\n // bytes32[]\n function abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(offset, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr(length))\n let dst := array\n\n mstore(array, length)\n dst := add(array, 0x20)\n\n let src := offset\n if gt(add(src, mul(length, 0x20)), end) {\n revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef()\n }\n for { let i := 0 } lt(i, length) { i := add(i, 1) }\n {\n\n let elementPos := src\n\n mstore(dst, abi_decode_t_bytes32_fromMemory(elementPos, end))\n dst := add(dst, 0x20)\n src := add(src, 0x20)\n }\n }\n\n // bytes32[]\n function abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := mload(offset)\n array := abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(add(offset, 0x20), length, end)\n }\n\n function abi_decode_t_bytes32_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_bytes32(value)\n }\n\n function abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := mload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := mul(length, 0x20)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function cleanup_t_bytes32(value) -> cleaned {\n cleaned := value\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function increment_t_uint256(value) -> ret {\n value := cleanup_t_uint256(value)\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n ret := add(value, 1)\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function panic_error_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_bytes32(value) {\n if iszero(eq(value, cleanup_t_bytes32(value))) { revert(0, 0) }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040523480156200001157600080fd5b506040516200146c3803806200146c833981810160405281019062000037919062000243565b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555060005b81518110156200017657600260405180604001604052808484815181106200010f576200010e620003b3565b5b60200260200101518152602001600081525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505080806200016d9062000336565b915050620000e2565b505062000450565b6000620001956200018f84620002bd565b62000294565b90508083825260208201905082856020860282011115620001bb57620001ba62000416565b5b60005b85811015620001ef5781620001d488826200022c565b845260208401935060208301925050600181019050620001be565b5050509392505050565b600082601f83011262000211576200021062000411565b5b8151620002238482602086016200017e565b91505092915050565b6000815190506200023d8162000436565b92915050565b6000602082840312156200025c576200025b62000420565b5b600082015167ffffffffffffffff8111156200027d576200027c6200041b565b5b6200028b84828501620001f9565b91505092915050565b6000620002a0620002b3565b9050620002ae828262000300565b919050565b6000604051905090565b600067ffffffffffffffff821115620002db57620002da620003e2565b5b602082029050602081019050919050565b6000819050919050565b6000819050919050565b6200030b8262000425565b810181811067ffffffffffffffff821117156200032d576200032c620003e2565b5b80604052505050565b60006200034382620002f6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000379576200037862000384565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200044181620002ec565b81146200044d57600080fd5b50565b61100c80620004606000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063609ff1bd1161005b578063609ff1bd146101145780639e7b8d6114610132578063a3ec138d1461014e578063e2ba53f01461018157610088565b80630121b93f1461008d578063013cf08b146100a95780632e4176cf146100da5780635c19a95c146100f8575b600080fd5b6100a760048036038101906100a29190610a01565b61019f565b005b6100c360048036038101906100be9190610a01565b6102e6565b6040516100d1929190610b95565b60405180910390f35b6100e261031a565b6040516100ef9190610b5f565b60405180910390f35b610112600480360381019061010d91906109d4565b61033e565b005b61011c6106da565b6040516101299190610c9e565b60405180910390f35b61014c600480360381019061014791906109d4565b610762565b005b610168600480360381019061016391906109d4565b610919565b6040516101789493929190610cb9565b60405180910390f35b610189610976565b6040516101969190610b7a565b60405180910390f35b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154141561022a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161022190610bbe565b60405180910390fd5b8060010160009054906101000a900460ff161561027c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027390610bde565b60405180910390fd5b60018160010160006101000a81548160ff0219169083151502179055508181600201819055508060000154600283815481106102bb576102ba610e2f565b5b906000526020600020906002020160010160008282546102db9190610d0f565b925050819055505050565b600281815481106102f657600080fd5b90600052602060002090600202016000915090508060000154908060010154905082565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060010160009054906101000a900460ff16156103d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ca90610bfe565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043990610c7e565b60405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105b257600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156105ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a490610c3e565b60405180910390fd5b610443565b60018160010160006101000a81548160ff021916908315150217905550818160010160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060010160009054906101000a900460ff16156106b5578160000154600282600201548154811061068957610688610e2f565b5b906000526020600020906002020160010160008282546106a99190610d0f565b925050819055506106d5565b81600001548160000160008282546106cd9190610d0f565b925050819055505b505050565b6000806000905060005b60028054905081101561075d57816002828154811061070657610705610e2f565b5b906000526020600020906002020160010154111561074a576002818154811061073257610731610e2f565b5b90600052602060002090600202016001015491508092505b808061075590610db7565b9150506106e4565b505090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e790610c1e565b60405180910390fd5b600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff1615610880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087790610c5e565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154146108cf57600080fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555050565b60016020528060005260406000206000915090508060000154908060010160009054906101000a900460ff16908060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154905084565b600060026109826106da565b8154811061099357610992610e2f565b5b906000526020600020906002020160000154905090565b6000813590506109b981610fa8565b92915050565b6000813590506109ce81610fbf565b92915050565b6000602082840312156109ea576109e9610e5e565b5b60006109f8848285016109aa565b91505092915050565b600060208284031215610a1757610a16610e5e565b5b6000610a25848285016109bf565b91505092915050565b610a3781610d65565b82525050565b610a4681610d77565b82525050565b610a5581610d83565b82525050565b6000610a68601483610cfe565b9150610a7382610e63565b602082019050919050565b6000610a8b600e83610cfe565b9150610a9682610e8c565b602082019050919050565b6000610aae601283610cfe565b9150610ab982610eb5565b602082019050919050565b6000610ad1602883610cfe565b9150610adc82610ede565b604082019050919050565b6000610af4601983610cfe565b9150610aff82610f2d565b602082019050919050565b6000610b17601883610cfe565b9150610b2282610f56565b602082019050919050565b6000610b3a601e83610cfe565b9150610b4582610f7f565b602082019050919050565b610b5981610dad565b82525050565b6000602082019050610b746000830184610a2e565b92915050565b6000602082019050610b8f6000830184610a4c565b92915050565b6000604082019050610baa6000830185610a4c565b610bb76020830184610b50565b9392505050565b60006020820190508181036000830152610bd781610a5b565b9050919050565b60006020820190508181036000830152610bf781610a7e565b9050919050565b60006020820190508181036000830152610c1781610aa1565b9050919050565b60006020820190508181036000830152610c3781610ac4565b9050919050565b60006020820190508181036000830152610c5781610ae7565b9050919050565b60006020820190508181036000830152610c7781610b0a565b9050919050565b60006020820190508181036000830152610c9781610b2d565b9050919050565b6000602082019050610cb36000830184610b50565b92915050565b6000608082019050610cce6000830187610b50565b610cdb6020830186610a3d565b610ce86040830185610a2e565b610cf56060830184610b50565b95945050505050565b600082825260208201905092915050565b6000610d1a82610dad565b9150610d2583610dad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610d5a57610d59610e00565b5b828201905092915050565b6000610d7082610d8d565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610dc282610dad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610df557610df4610e00565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b7f486173206e6f20726967687420746f20766f7465000000000000000000000000600082015250565b7f416c726561647920766f7465642e000000000000000000000000000000000000600082015250565b7f596f7520616c726561647920766f7465642e0000000000000000000000000000600082015250565b7f4f6e6c79206368616972706572736f6e2063616e20676976652072696768742060008201527f746f20766f74652e000000000000000000000000000000000000000000000000602082015250565b7f466f756e64206c6f6f7020696e2064656c65676174696f6e2e00000000000000600082015250565b7f54686520766f74657220616c726561647920766f7465642e0000000000000000600082015250565b7f53656c662d64656c65676174696f6e20697320646973616c6c6f7765642e0000600082015250565b610fb181610d65565b8114610fbc57600080fd5b50565b610fc881610dad565b8114610fd357600080fd5b5056fea2646970667358221220b773422f09fd18d5b9cdfe5409539cd919141f1448158d0330fabe0b3371fda764736f6c63430008070033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x146C CODESIZE SUB DUP1 PUSH3 0x146C DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH3 0x37 SWAP2 SWAP1 PUSH3 0x243 JUMP JUMPDEST CALLER PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x1 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD DUP2 SWAP1 SSTORE POP PUSH1 0x0 JUMPDEST DUP2 MLOAD DUP2 LT ISZERO PUSH3 0x176 JUMPI PUSH1 0x2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x10F JUMPI PUSH3 0x10E PUSH3 0x3B3 JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE POP POP DUP1 DUP1 PUSH3 0x16D SWAP1 PUSH3 0x336 JUMP JUMPDEST SWAP2 POP POP PUSH3 0xE2 JUMP JUMPDEST POP POP PUSH3 0x450 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x195 PUSH3 0x18F DUP5 PUSH3 0x2BD JUMP JUMPDEST PUSH3 0x294 JUMP JUMPDEST SWAP1 POP DUP1 DUP4 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP DUP3 DUP6 PUSH1 0x20 DUP7 MUL DUP3 ADD GT ISZERO PUSH3 0x1BB JUMPI PUSH3 0x1BA PUSH3 0x416 JUMP JUMPDEST JUMPDEST PUSH1 0x0 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0x1EF JUMPI DUP2 PUSH3 0x1D4 DUP9 DUP3 PUSH3 0x22C JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP4 POP PUSH1 0x20 DUP4 ADD SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH3 0x1BE JUMP JUMPDEST POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x211 JUMPI PUSH3 0x210 PUSH3 0x411 JUMP JUMPDEST JUMPDEST DUP2 MLOAD PUSH3 0x223 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH3 0x17E JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH3 0x23D DUP2 PUSH3 0x436 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x25C JUMPI PUSH3 0x25B PUSH3 0x420 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x27D JUMPI PUSH3 0x27C PUSH3 0x41B JUMP JUMPDEST JUMPDEST PUSH3 0x28B DUP5 DUP3 DUP6 ADD PUSH3 0x1F9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x2A0 PUSH3 0x2B3 JUMP JUMPDEST SWAP1 POP PUSH3 0x2AE DUP3 DUP3 PUSH3 0x300 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH3 0x2DB JUMPI PUSH3 0x2DA PUSH3 0x3E2 JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP3 MUL SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x30B DUP3 PUSH3 0x425 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH3 0x32D JUMPI PUSH3 0x32C PUSH3 0x3E2 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x343 DUP3 PUSH3 0x2F6 JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH3 0x379 JUMPI PUSH3 0x378 PUSH3 0x384 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x441 DUP2 PUSH3 0x2EC JUMP JUMPDEST DUP2 EQ PUSH3 0x44D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x100C DUP1 PUSH3 0x460 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 0x88 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x609FF1BD GT PUSH2 0x5B JUMPI DUP1 PUSH4 0x609FF1BD EQ PUSH2 0x114 JUMPI DUP1 PUSH4 0x9E7B8D61 EQ PUSH2 0x132 JUMPI DUP1 PUSH4 0xA3EC138D EQ PUSH2 0x14E JUMPI DUP1 PUSH4 0xE2BA53F0 EQ PUSH2 0x181 JUMPI PUSH2 0x88 JUMP JUMPDEST DUP1 PUSH4 0x121B93F EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x13CF08B EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x2E4176CF EQ PUSH2 0xDA JUMPI DUP1 PUSH4 0x5C19A95C EQ PUSH2 0xF8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0xA01 JUMP JUMPDEST PUSH2 0x19F JUMP JUMPDEST STOP JUMPDEST PUSH2 0xC3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xBE SWAP2 SWAP1 PUSH2 0xA01 JUMP JUMPDEST PUSH2 0x2E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP3 SWAP2 SWAP1 PUSH2 0xB95 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE2 PUSH2 0x31A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xEF SWAP2 SWAP1 PUSH2 0xB5F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x112 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x10D SWAP2 SWAP1 PUSH2 0x9D4 JUMP JUMPDEST PUSH2 0x33E JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11C PUSH2 0x6DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x129 SWAP2 SWAP1 PUSH2 0xC9E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x14C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x147 SWAP2 SWAP1 PUSH2 0x9D4 JUMP JUMPDEST PUSH2 0x762 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x168 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x163 SWAP2 SWAP1 PUSH2 0x9D4 JUMP JUMPDEST PUSH2 0x919 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x178 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xCB9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x189 PUSH2 0x976 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x196 SWAP2 SWAP1 PUSH2 0xB7A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 ADD SLOAD EQ ISZERO PUSH2 0x22A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x221 SWAP1 PUSH2 0xBBE JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x27C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x273 SWAP1 PUSH2 0xBDE JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP2 DUP2 PUSH1 0x2 ADD DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x0 ADD SLOAD PUSH1 0x2 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x2BB JUMPI PUSH2 0x2BA PUSH2 0xE2F JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x2DB SWAP2 SWAP1 PUSH2 0xD0F JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x2F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x3D3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3CA SWAP1 PUSH2 0xBFE JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x442 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x439 SWAP1 PUSH2 0xC7E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x5B2 JUMPI PUSH1 0x1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 POP CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x5AD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5A4 SWAP1 PUSH2 0xC3E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x443 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP2 DUP2 PUSH1 0x1 ADD PUSH1 0x1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x6B5 JUMPI DUP2 PUSH1 0x0 ADD SLOAD PUSH1 0x2 DUP3 PUSH1 0x2 ADD SLOAD DUP2 SLOAD DUP2 LT PUSH2 0x689 JUMPI PUSH2 0x688 PUSH2 0xE2F JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x6A9 SWAP2 SWAP1 PUSH2 0xD0F JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP PUSH2 0x6D5 JUMP JUMPDEST DUP2 PUSH1 0x0 ADD SLOAD DUP2 PUSH1 0x0 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x6CD SWAP2 SWAP1 PUSH2 0xD0F JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 POP PUSH1 0x0 JUMPDEST PUSH1 0x2 DUP1 SLOAD SWAP1 POP DUP2 LT ISZERO PUSH2 0x75D JUMPI DUP2 PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x706 JUMPI PUSH2 0x705 PUSH2 0xE2F JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD GT ISZERO PUSH2 0x74A JUMPI PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x732 JUMPI PUSH2 0x731 PUSH2 0xE2F JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD SWAP2 POP DUP1 SWAP3 POP JUMPDEST DUP1 DUP1 PUSH2 0x755 SWAP1 PUSH2 0xDB7 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x6E4 JUMP JUMPDEST POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x7F0 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x7E7 SWAP1 PUSH2 0xC1E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x880 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x877 SWAP1 PUSH2 0xC5E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD SLOAD EQ PUSH2 0x8CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 DUP1 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP1 PUSH1 0x2 ADD SLOAD SWAP1 POP DUP5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 PUSH2 0x982 PUSH2 0x6DA JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x993 JUMPI PUSH2 0x992 PUSH2 0xE2F JUMP JUMPDEST JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 ADD SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x9B9 DUP2 PUSH2 0xFA8 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x9CE DUP2 PUSH2 0xFBF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x9EA JUMPI PUSH2 0x9E9 PUSH2 0xE5E JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x9F8 DUP5 DUP3 DUP6 ADD PUSH2 0x9AA JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xA17 JUMPI PUSH2 0xA16 PUSH2 0xE5E JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xA25 DUP5 DUP3 DUP6 ADD PUSH2 0x9BF JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xA37 DUP2 PUSH2 0xD65 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xA46 DUP2 PUSH2 0xD77 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xA55 DUP2 PUSH2 0xD83 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA68 PUSH1 0x14 DUP4 PUSH2 0xCFE JUMP JUMPDEST SWAP2 POP PUSH2 0xA73 DUP3 PUSH2 0xE63 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA8B PUSH1 0xE DUP4 PUSH2 0xCFE JUMP JUMPDEST SWAP2 POP PUSH2 0xA96 DUP3 PUSH2 0xE8C JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xAAE PUSH1 0x12 DUP4 PUSH2 0xCFE JUMP JUMPDEST SWAP2 POP PUSH2 0xAB9 DUP3 PUSH2 0xEB5 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xAD1 PUSH1 0x28 DUP4 PUSH2 0xCFE JUMP JUMPDEST SWAP2 POP PUSH2 0xADC DUP3 PUSH2 0xEDE JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xAF4 PUSH1 0x19 DUP4 PUSH2 0xCFE JUMP JUMPDEST SWAP2 POP PUSH2 0xAFF DUP3 PUSH2 0xF2D JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB17 PUSH1 0x18 DUP4 PUSH2 0xCFE JUMP JUMPDEST SWAP2 POP PUSH2 0xB22 DUP3 PUSH2 0xF56 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB3A PUSH1 0x1E DUP4 PUSH2 0xCFE JUMP JUMPDEST SWAP2 POP PUSH2 0xB45 DUP3 PUSH2 0xF7F JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xB59 DUP2 PUSH2 0xDAD JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xB74 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xA2E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xB8F PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xA4C JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xBAA PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xBB7 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xB50 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xBD7 DUP2 PUSH2 0xA5B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xBF7 DUP2 PUSH2 0xA7E JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xC17 DUP2 PUSH2 0xAA1 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xC37 DUP2 PUSH2 0xAC4 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xC57 DUP2 PUSH2 0xAE7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xC77 DUP2 PUSH2 0xB0A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xC97 DUP2 PUSH2 0xB2D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xCB3 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xB50 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 ADD SWAP1 POP PUSH2 0xCCE PUSH1 0x0 DUP4 ADD DUP8 PUSH2 0xB50 JUMP JUMPDEST PUSH2 0xCDB PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0xA3D JUMP JUMPDEST PUSH2 0xCE8 PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0xA2E JUMP JUMPDEST PUSH2 0xCF5 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0xB50 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD1A DUP3 PUSH2 0xDAD JUMP JUMPDEST SWAP2 POP PUSH2 0xD25 DUP4 PUSH2 0xDAD JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0xD5A JUMPI PUSH2 0xD59 PUSH2 0xE00 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD70 DUP3 PUSH2 0xD8D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDC2 DUP3 PUSH2 0xDAD JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0xDF5 JUMPI PUSH2 0xDF4 PUSH2 0xE00 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x486173206E6F20726967687420746F20766F7465000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x416C726561647920766F7465642E000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x596F7520616C726561647920766F7465642E0000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x4F6E6C79206368616972706572736F6E2063616E206769766520726967687420 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x746F20766F74652E000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x466F756E64206C6F6F7020696E2064656C65676174696F6E2E00000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x54686520766F74657220616C726561647920766F7465642E0000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x53656C662D64656C65676174696F6E20697320646973616C6C6F7765642E0000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0xFB1 DUP2 PUSH2 0xD65 JUMP JUMPDEST DUP2 EQ PUSH2 0xFBC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0xFC8 DUP2 PUSH2 0xDAD JUMP JUMPDEST DUP2 EQ PUSH2 0xFD3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xB7 PUSH20 0x422F09FD18D5B9CDFE5409539CD919141F144815 DUP14 SUB ADDRESS STATICCALL 0xBE SIGNEXTEND CALLER PUSH18 0xFDA764736F6C634300080700330000000000 ",
"sourceMap": "157:4355:0:-:0;;;955:481;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1023:10;1009:11;;:24;;;;;;;;;;;;;;;;;;1072:1;1043:6;:19;1050:11;;;;;;;;;;;1043:19;;;;;;;;;;;;;;;:26;;:30;;;;1089:6;1084:346;1105:13;:20;1101:1;:24;1084:346;;;1309:9;1324:94;;;;;;;;1357:13;1371:1;1357:16;;;;;;;;:::i;:::-;;;;;;;;1324:94;;;;1402:1;1324:94;;;1309:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1127:3;;;;;:::i;:::-;;;;1084:346;;;;955:481;157:4355;;24:744:1;131:5;156:81;172:64;229:6;172:64;:::i;:::-;156:81;:::i;:::-;147:90;;257:5;286:6;279:5;272:21;320:4;313:5;309:16;302:23;;346:6;396:3;388:4;380:6;376:17;371:3;367:27;364:36;361:143;;;415:79;;:::i;:::-;361:143;528:1;513:249;538:6;535:1;532:13;513:249;;;606:3;635:48;679:3;667:10;635:48;:::i;:::-;630:3;623:61;713:4;708:3;704:14;697:21;;747:4;742:3;738:14;731:21;;573:189;560:1;557;553:9;548:14;;513:249;;;517:14;137:631;;24:744;;;;;:::o;791:385::-;873:5;922:3;915:4;907:6;903:17;899:27;889:122;;930:79;;:::i;:::-;889:122;1040:6;1034:13;1065:105;1166:3;1158:6;1151:4;1143:6;1139:17;1065:105;:::i;:::-;1056:114;;879:297;791:385;;;;:::o;1182:143::-;1239:5;1270:6;1264:13;1255:22;;1286:33;1313:5;1286:33;:::i;:::-;1182:143;;;;:::o;1331:554::-;1426:6;1475:2;1463:9;1454:7;1450:23;1446:32;1443:119;;;1481:79;;:::i;:::-;1443:119;1622:1;1611:9;1607:17;1601:24;1652:18;1644:6;1641:30;1638:117;;;1674:79;;:::i;:::-;1638:117;1779:89;1860:7;1851:6;1840:9;1836:22;1779:89;:::i;:::-;1769:99;;1572:306;1331:554;;;;:::o;1891:129::-;1925:6;1952:20;;:::i;:::-;1942:30;;1981:33;2009:4;2001:6;1981:33;:::i;:::-;1891:129;;;:::o;2026:75::-;2059:6;2092:2;2086:9;2076:19;;2026:75;:::o;2107:311::-;2184:4;2274:18;2266:6;2263:30;2260:56;;;2296:18;;:::i;:::-;2260:56;2346:4;2338:6;2334:17;2326:25;;2406:4;2400;2396:15;2388:23;;2107:311;;;:::o;2424:77::-;2461:7;2490:5;2479:16;;2424:77;;;:::o;2507:::-;2544:7;2573:5;2562:16;;2507:77;;;:::o;2590:281::-;2673:27;2695:4;2673:27;:::i;:::-;2665:6;2661:40;2803:6;2791:10;2788:22;2767:18;2755:10;2752:34;2749:62;2746:88;;;2814:18;;:::i;:::-;2746:88;2854:10;2850:2;2843:22;2633:238;2590:281;;:::o;2877:233::-;2916:3;2939:24;2957:5;2939:24;:::i;:::-;2930:33;;2985:66;2978:5;2975:77;2972:103;;;3055:18;;:::i;:::-;2972:103;3102:1;3095:5;3091:13;3084:20;;2877:233;;;:::o;3116:180::-;3164:77;3161:1;3154:88;3261:4;3258:1;3251:15;3285:4;3282:1;3275:15;3302:180;3350:77;3347:1;3340:88;3447:4;3444:1;3437:15;3471:4;3468:1;3461:15;3488:180;3536:77;3533:1;3526:88;3633:4;3630:1;3623:15;3657:4;3654:1;3647:15;3674:117;3783:1;3780;3773:12;3797:117;3906:1;3903;3896:12;3920:117;4029:1;4026;4019:12;4043:117;4152:1;4149;4142:12;4166:102;4207:6;4258:2;4254:7;4249:2;4242:5;4238:14;4234:28;4224:38;;4166:102;;;:::o;4274:122::-;4347:24;4365:5;4347:24;:::i;:::-;4340:5;4337:35;4327:63;;4386:1;4383;4376:12;4327:63;4274:122;:::o;157:4355:0:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@chairperson_18": {
"entryPoint": 794,
"id": 18,
"parameterSlots": 0,
"returnSlots": 0
},
"@delegate_207": {
"entryPoint": 830,
"id": 207,
"parameterSlots": 1,
"returnSlots": 0
},
"@giveRightToVote_111": {
"entryPoint": 1890,
"id": 111,
"parameterSlots": 1,
"returnSlots": 0
},
"@proposals_27": {
"entryPoint": 742,
"id": 27,
"parameterSlots": 0,
"returnSlots": 0
},
"@vote_257": {
"entryPoint": 415,
"id": 257,
"parameterSlots": 1,
"returnSlots": 0
},
"@voters_23": {
"entryPoint": 2329,
"id": 23,
"parameterSlots": 0,
"returnSlots": 0
},
"@winnerName_315": {
"entryPoint": 2422,
"id": 315,
"parameterSlots": 0,
"returnSlots": 1
},
"@winningProposal_300": {
"entryPoint": 1754,
"id": 300,
"parameterSlots": 0,
"returnSlots": 1
},
"abi_decode_t_address": {
"entryPoint": 2474,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 2495,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address": {
"entryPoint": 2516,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 2561,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 2606,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 2621,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes32_to_t_bytes32_fromStack": {
"entryPoint": 2636,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2651,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2686,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2721,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2756,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2791,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2826,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2861,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 2896,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 2911,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": {
"entryPoint": 2938,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": {
"entryPoint": 2965,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3006,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3038,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3070,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3102,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3134,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3166,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3198,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 3230,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_bool_t_address_t_uint256__to_t_uint256_t_bool_t_address_t_uint256__fromStack_reversed": {
"entryPoint": 3257,
"id": null,
"parameterSlots": 5,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 3326,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 3343,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 3429,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 3447,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes32": {
"entryPoint": 3459,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 3469,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 3501,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"increment_t_uint256": {
"entryPoint": 3511,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 3584,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 3631,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 3678,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"store_literal_in_memory_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e": {
"entryPoint": 3683,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84": {
"entryPoint": 3724,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f": {
"entryPoint": 3765,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95": {
"entryPoint": 3806,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c": {
"entryPoint": 3885,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d": {
"entryPoint": 3926,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947": {
"entryPoint": 3967,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 4008,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 4031,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:12075:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "59:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "69:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "91:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "78:12:1"
},
"nodeType": "YulFunctionCall",
"src": "78:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "69:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "134:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "107:26:1"
},
"nodeType": "YulFunctionCall",
"src": "107:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "107:33:1"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "37:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "45:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "53:5:1",
"type": ""
}
],
"src": "7:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "204:87:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "214:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "236:6:1"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "223:12:1"
},
"nodeType": "YulFunctionCall",
"src": "223:20:1"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "214:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "279:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "252:26:1"
},
"nodeType": "YulFunctionCall",
"src": "252:33:1"
},
"nodeType": "YulExpressionStatement",
"src": "252:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "182:6:1",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "190:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "198:5:1",
"type": ""
}
],
"src": "152:139:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "363:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "409:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "411:77:1"
},
"nodeType": "YulFunctionCall",
"src": "411:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "411:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "384:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "393:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "380:3:1"
},
"nodeType": "YulFunctionCall",
"src": "380:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "405:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "376:3:1"
},
"nodeType": "YulFunctionCall",
"src": "376:32:1"
},
"nodeType": "YulIf",
"src": "373:119:1"
},
{
"nodeType": "YulBlock",
"src": "502:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "517:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "531:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "521:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "546:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "581:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "592:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "577:3:1"
},
"nodeType": "YulFunctionCall",
"src": "577:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "601:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "556:20:1"
},
"nodeType": "YulFunctionCall",
"src": "556:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "546:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "333:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "344:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "356:6:1",
"type": ""
}
],
"src": "297:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "698:263:1",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "744:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "746:77:1"
},
"nodeType": "YulFunctionCall",
"src": "746:79:1"
},
"nodeType": "YulExpressionStatement",
"src": "746:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "719:7:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "728:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "715:3:1"
},
"nodeType": "YulFunctionCall",
"src": "715:23:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "740:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "711:3:1"
},
"nodeType": "YulFunctionCall",
"src": "711:32:1"
},
"nodeType": "YulIf",
"src": "708:119:1"
},
{
"nodeType": "YulBlock",
"src": "837:117:1",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "852:15:1",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "866:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "856:6:1",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "881:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "916:9:1"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "927:6:1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "912:3:1"
},
"nodeType": "YulFunctionCall",
"src": "912:22:1"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "936:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "891:20:1"
},
"nodeType": "YulFunctionCall",
"src": "891:53:1"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "881:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "668:9:1",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "679:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "691:6:1",
"type": ""
}
],
"src": "632:329:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1032:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1049:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1072:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1054:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1054:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1042:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1042:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "1042:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1020:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1027:3:1",
"type": ""
}
],
"src": "967:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1150:50:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1167:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1187:5:1"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "1172:14:1"
},
"nodeType": "YulFunctionCall",
"src": "1172:21:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1160:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1160:34:1"
},
"nodeType": "YulExpressionStatement",
"src": "1160:34:1"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1138:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1145:3:1",
"type": ""
}
],
"src": "1091:109:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1271:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1288:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1311:5:1"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "1293:17:1"
},
"nodeType": "YulFunctionCall",
"src": "1293:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1281:6:1"
},
"nodeType": "YulFunctionCall",
"src": "1281:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "1281:37:1"
}
]
},
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1259:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1266:3:1",
"type": ""
}
],
"src": "1206:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1476:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1486:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1552:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1557:2:1",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1493:58:1"
},
"nodeType": "YulFunctionCall",
"src": "1493:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1486:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1658:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e",
"nodeType": "YulIdentifier",
"src": "1569:88:1"
},
"nodeType": "YulFunctionCall",
"src": "1569:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "1569:93:1"
},
{
"nodeType": "YulAssignment",
"src": "1671:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1682:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1687:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1678:3:1"
},
"nodeType": "YulFunctionCall",
"src": "1678:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "1671:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1464:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1472:3:1",
"type": ""
}
],
"src": "1330:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1848:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1858:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1924:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1929:2:1",
"type": "",
"value": "14"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1865:58:1"
},
"nodeType": "YulFunctionCall",
"src": "1865:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1858:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2030:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84",
"nodeType": "YulIdentifier",
"src": "1941:88:1"
},
"nodeType": "YulFunctionCall",
"src": "1941:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "1941:93:1"
},
{
"nodeType": "YulAssignment",
"src": "2043:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2054:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2059:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2050:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2050:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2043:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1836:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1844:3:1",
"type": ""
}
],
"src": "1702:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2220:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2230:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2296:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2301:2:1",
"type": "",
"value": "18"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2237:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2237:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2230:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2402:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f",
"nodeType": "YulIdentifier",
"src": "2313:88:1"
},
"nodeType": "YulFunctionCall",
"src": "2313:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "2313:93:1"
},
{
"nodeType": "YulAssignment",
"src": "2415:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2426:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2431:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2422:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2422:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2415:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2208:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2216:3:1",
"type": ""
}
],
"src": "2074:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2592:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2602:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2668:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2673:2:1",
"type": "",
"value": "40"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2609:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2609:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2602:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2774:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95",
"nodeType": "YulIdentifier",
"src": "2685:88:1"
},
"nodeType": "YulFunctionCall",
"src": "2685:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "2685:93:1"
},
{
"nodeType": "YulAssignment",
"src": "2787:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2798:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2803:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2794:3:1"
},
"nodeType": "YulFunctionCall",
"src": "2794:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2787:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2580:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2588:3:1",
"type": ""
}
],
"src": "2446:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2964:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2974:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3040:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3045:2:1",
"type": "",
"value": "25"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2981:58:1"
},
"nodeType": "YulFunctionCall",
"src": "2981:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2974:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3146:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c",
"nodeType": "YulIdentifier",
"src": "3057:88:1"
},
"nodeType": "YulFunctionCall",
"src": "3057:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "3057:93:1"
},
{
"nodeType": "YulAssignment",
"src": "3159:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3170:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3175:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3166:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3166:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3159:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2952:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2960:3:1",
"type": ""
}
],
"src": "2818:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3336:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3346:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3412:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3417:2:1",
"type": "",
"value": "24"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3353:58:1"
},
"nodeType": "YulFunctionCall",
"src": "3353:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3346:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3518:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d",
"nodeType": "YulIdentifier",
"src": "3429:88:1"
},
"nodeType": "YulFunctionCall",
"src": "3429:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "3429:93:1"
},
{
"nodeType": "YulAssignment",
"src": "3531:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3542:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3547:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3538:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3538:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3531:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3324:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3332:3:1",
"type": ""
}
],
"src": "3190:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3708:220:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3718:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3784:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3789:2:1",
"type": "",
"value": "30"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "3725:58:1"
},
"nodeType": "YulFunctionCall",
"src": "3725:67:1"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3718:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3890:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947",
"nodeType": "YulIdentifier",
"src": "3801:88:1"
},
"nodeType": "YulFunctionCall",
"src": "3801:93:1"
},
"nodeType": "YulExpressionStatement",
"src": "3801:93:1"
},
{
"nodeType": "YulAssignment",
"src": "3903:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3914:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3919:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3910:3:1"
},
"nodeType": "YulFunctionCall",
"src": "3910:12:1"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3903:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3696:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3704:3:1",
"type": ""
}
],
"src": "3562:366:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3999:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "4016:3:1"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4039:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "4021:17:1"
},
"nodeType": "YulFunctionCall",
"src": "4021:24:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4009:6:1"
},
"nodeType": "YulFunctionCall",
"src": "4009:37:1"
},
"nodeType": "YulExpressionStatement",
"src": "4009:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3987:5:1",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3994:3:1",
"type": ""
}
],
"src": "3934:118:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4156:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4166:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4178:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4189:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4174:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4174:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4166:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4246:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4259:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4270:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4255:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4255:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "4202:43:1"
},
"nodeType": "YulFunctionCall",
"src": "4202:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "4202:71:1"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4128:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4140:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4151:4:1",
"type": ""
}
],
"src": "4058:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4384:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4394:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4406:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4417:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4402:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4402:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4394:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4474:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4487:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4498:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4483:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4483:17:1"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "4430:43:1"
},
"nodeType": "YulFunctionCall",
"src": "4430:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "4430:71:1"
}
]
},
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4356:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4368:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4379:4:1",
"type": ""
}
],
"src": "4286:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4640:206:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4650:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4662:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4673:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4658:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4658:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "4650:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4730:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4743:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4754:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4739:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4739:17:1"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "4686:43:1"
},
"nodeType": "YulFunctionCall",
"src": "4686:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "4686:71:1"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4811:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4824:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4835:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4820:3:1"
},
"nodeType": "YulFunctionCall",
"src": "4820:18:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "4767:43:1"
},
"nodeType": "YulFunctionCall",
"src": "4767:72:1"
},
"nodeType": "YulExpressionStatement",
"src": "4767:72:1"
}
]
},
"name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4604:9:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "4616:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4624:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "4635:4:1",
"type": ""
}
],
"src": "4514:332:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5023:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5033:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5045:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5056:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5041:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5041:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5033:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5080:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5091:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5076:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5076:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5099:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5105:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5095:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5095:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5069:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5069:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "5069:47:1"
},
{
"nodeType": "YulAssignment",
"src": "5125:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5259:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5133:124:1"
},
"nodeType": "YulFunctionCall",
"src": "5133:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5125:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5003:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5018:4:1",
"type": ""
}
],
"src": "4852:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5448:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5458:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5470:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5481:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5466:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5466:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5458:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5505:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5516:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5501:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5501:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5524:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5530:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5520:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5520:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5494:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5494:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "5494:47:1"
},
{
"nodeType": "YulAssignment",
"src": "5550:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5684:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5558:124:1"
},
"nodeType": "YulFunctionCall",
"src": "5558:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5550:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5428:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5443:4:1",
"type": ""
}
],
"src": "5277:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5873:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5883:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5895:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5906:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5891:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5891:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5883:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5930:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5941:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5926:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5926:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5949:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5955:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "5945:3:1"
},
"nodeType": "YulFunctionCall",
"src": "5945:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5919:6:1"
},
"nodeType": "YulFunctionCall",
"src": "5919:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "5919:47:1"
},
{
"nodeType": "YulAssignment",
"src": "5975:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6109:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5983:124:1"
},
"nodeType": "YulFunctionCall",
"src": "5983:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5975:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5853:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5868:4:1",
"type": ""
}
],
"src": "5702:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6298:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6308:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6320:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6331:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6316:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6316:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6308:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6355:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6366:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6351:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6351:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6374:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6380:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "6370:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6370:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6344:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6344:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "6344:47:1"
},
{
"nodeType": "YulAssignment",
"src": "6400:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6534:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "6408:124:1"
},
"nodeType": "YulFunctionCall",
"src": "6408:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6400:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6278:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6293:4:1",
"type": ""
}
],
"src": "6127:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6723:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6733:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6745:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6756:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6741:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6741:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6733:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6780:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6791:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6776:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6776:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6799:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6805:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "6795:3:1"
},
"nodeType": "YulFunctionCall",
"src": "6795:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6769:6:1"
},
"nodeType": "YulFunctionCall",
"src": "6769:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "6769:47:1"
},
{
"nodeType": "YulAssignment",
"src": "6825:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6959:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "6833:124:1"
},
"nodeType": "YulFunctionCall",
"src": "6833:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6825:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6703:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6718:4:1",
"type": ""
}
],
"src": "6552:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7148:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7158:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7170:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7181:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7166:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7166:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7158:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7205:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7216:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7201:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7201:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7224:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7230:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7220:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7220:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7194:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7194:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "7194:47:1"
},
{
"nodeType": "YulAssignment",
"src": "7250:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7384:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "7258:124:1"
},
"nodeType": "YulFunctionCall",
"src": "7258:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7250:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7128:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7143:4:1",
"type": ""
}
],
"src": "6977:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7573:248:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7583:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7595:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7606:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7591:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7591:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7583:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7630:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7641:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7626:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7626:17:1"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7649:4:1"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7655:9:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "7645:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7645:20:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7619:6:1"
},
"nodeType": "YulFunctionCall",
"src": "7619:47:1"
},
"nodeType": "YulExpressionStatement",
"src": "7619:47:1"
},
{
"nodeType": "YulAssignment",
"src": "7675:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7809:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "7683:124:1"
},
"nodeType": "YulFunctionCall",
"src": "7683:131:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7675:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7553:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7568:4:1",
"type": ""
}
],
"src": "7402:419:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7925:124:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7935:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "7947:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7958:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7943:3:1"
},
"nodeType": "YulFunctionCall",
"src": "7943:18:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "7935:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "8015:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8028:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8039:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8024:3:1"
},
"nodeType": "YulFunctionCall",
"src": "8024:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "7971:43:1"
},
"nodeType": "YulFunctionCall",
"src": "7971:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "7971:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "7897:9:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "7909:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7920:4:1",
"type": ""
}
],
"src": "7827:222:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8231:365:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8241:27:1",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8253:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8264:3:1",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8249:3:1"
},
"nodeType": "YulFunctionCall",
"src": "8249:19:1"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "8241:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "8322:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8335:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8346:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8331:3:1"
},
"nodeType": "YulFunctionCall",
"src": "8331:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "8278:43:1"
},
"nodeType": "YulFunctionCall",
"src": "8278:71:1"
},
"nodeType": "YulExpressionStatement",
"src": "8278:71:1"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "8397:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8410:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8421:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8406:3:1"
},
"nodeType": "YulFunctionCall",
"src": "8406:18:1"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nodeType": "YulIdentifier",
"src": "8359:37:1"
},
"nodeType": "YulFunctionCall",
"src": "8359:66:1"
},
"nodeType": "YulExpressionStatement",
"src": "8359:66:1"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "8479:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8492:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8503:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8488:3:1"
},
"nodeType": "YulFunctionCall",
"src": "8488:18:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "8435:43:1"
},
"nodeType": "YulFunctionCall",
"src": "8435:72:1"
},
"nodeType": "YulExpressionStatement",
"src": "8435:72:1"
},
{
"expression": {
"arguments": [
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "8561:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "8574:9:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8585:2:1",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8570:3:1"
},
"nodeType": "YulFunctionCall",
"src": "8570:18:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "8517:43:1"
},
"nodeType": "YulFunctionCall",
"src": "8517:72:1"
},
"nodeType": "YulExpressionStatement",
"src": "8517:72:1"
}
]
},
"name": "abi_encode_tuple_t_uint256_t_bool_t_address_t_uint256__to_t_uint256_t_bool_t_address_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "8179:9:1",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "8191:6:1",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "8199:6:1",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "8207:6:1",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "8215:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "8226:4:1",
"type": ""
}
],
"src": "8055:541:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8642:35:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8652:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8668:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "8662:5:1"
},
"nodeType": "YulFunctionCall",
"src": "8662:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "8652:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "8635:6:1",
"type": ""
}
],
"src": "8602:75:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8779:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8796:3:1"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8801:6:1"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "8789:6:1"
},
"nodeType": "YulFunctionCall",
"src": "8789:19:1"
},
"nodeType": "YulExpressionStatement",
"src": "8789:19:1"
},
{
"nodeType": "YulAssignment",
"src": "8817:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8836:3:1"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8841:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8832:3:1"
},
"nodeType": "YulFunctionCall",
"src": "8832:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "8817:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "8751:3:1",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "8756:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "8767:11:1",
"type": ""
}
],
"src": "8683:169:1"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8902:261:1",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8912:25:1",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8935:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8917:17:1"
},
"nodeType": "YulFunctionCall",
"src": "8917:20:1"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "8912:1:1"
}
]
},
{
"nodeType": "YulAssignment",
"src": "8946:25:1",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8969:1:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8951:17:1"
},
"nodeType": "YulFunctionCall",
"src": "8951:20:1"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "8946:1:1"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "9109:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "9111:16:1"
},
"nodeType": "YulFunctionCall",
"src": "9111:18:1"
},
"nodeType": "YulExpressionStatement",
"src": "9111:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "9030:1:1"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9037:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "9105:1:1"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "9033:
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment