Skip to content

Instantly share code, notes, and snippets.

@Mitrofan2001
Created November 8, 2023 09:37
Show Gist options
  • Save Mitrofan2001/b6e1b1b7127b3c25708dc57268790697 to your computer and use it in GitHub Desktop.
Save Mitrofan2001/b6e1b1b7127b3c25708dc57268790697 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.22+commit.4fc1097e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
library console {
address constant CONSOLE_ADDRESS =
0x000000000000000000636F6e736F6c652e6c6f67;
function _sendLogPayloadImplementation(bytes memory payload) internal view {
address consoleAddress = CONSOLE_ADDRESS;
/// @solidity memory-safe-assembly
assembly {
pop(
staticcall(
gas(),
consoleAddress,
add(payload, 32),
mload(payload),
0,
0
)
)
}
}
function _castToPure(
function(bytes memory) internal view fnIn
) internal pure returns (function(bytes memory) pure fnOut) {
assembly {
fnOut := fnIn
}
}
function _sendLogPayload(bytes memory payload) internal pure {
_castToPure(_sendLogPayloadImplementation)(payload);
}
function log() internal pure {
_sendLogPayload(abi.encodeWithSignature("log()"));
}
function logInt(int256 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(int256)", p0));
}
function logUint(uint256 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
}
function logString(string memory p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
}
function logBool(bool p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
}
function logAddress(address p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
}
function logBytes(bytes memory p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
}
function logBytes1(bytes1 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
}
function logBytes2(bytes2 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
}
function logBytes3(bytes3 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
}
function logBytes4(bytes4 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
}
function logBytes5(bytes5 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
}
function logBytes6(bytes6 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
}
function logBytes7(bytes7 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
}
function logBytes8(bytes8 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
}
function logBytes9(bytes9 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
}
function logBytes10(bytes10 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
}
function logBytes11(bytes11 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
}
function logBytes12(bytes12 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
}
function logBytes13(bytes13 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
}
function logBytes14(bytes14 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
}
function logBytes15(bytes15 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
}
function logBytes16(bytes16 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
}
function logBytes17(bytes17 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
}
function logBytes18(bytes18 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
}
function logBytes19(bytes19 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
}
function logBytes20(bytes20 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
}
function logBytes21(bytes21 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
}
function logBytes22(bytes22 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
}
function logBytes23(bytes23 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
}
function logBytes24(bytes24 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
}
function logBytes25(bytes25 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
}
function logBytes26(bytes26 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
}
function logBytes27(bytes27 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
}
function logBytes28(bytes28 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
}
function logBytes29(bytes29 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
}
function logBytes30(bytes30 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
}
function logBytes31(bytes31 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
}
function logBytes32(bytes32 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
}
function log(uint256 p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
}
function log(string memory p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
}
function log(bool p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
}
function log(address p0) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
}
function log(uint256 p0, uint256 p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1));
}
function log(uint256 p0, string memory p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1));
}
function log(uint256 p0, bool p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1));
}
function log(uint256 p0, address p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1));
}
function log(string memory p0, uint256 p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1));
}
function log(string memory p0, string memory p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
}
function log(string memory p0, bool p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
}
function log(string memory p0, address p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
}
function log(bool p0, uint256 p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1));
}
function log(bool p0, string memory p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
}
function log(bool p0, bool p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
}
function log(bool p0, address p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
}
function log(address p0, uint256 p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1));
}
function log(address p0, string memory p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
}
function log(address p0, bool p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
}
function log(address p0, address p1) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
}
function log(uint256 p0, uint256 p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2));
}
function log(uint256 p0, string memory p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2));
}
function log(uint256 p0, bool p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2));
}
function log(uint256 p0, bool p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2));
}
function log(uint256 p0, bool p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2));
}
function log(uint256 p0, bool p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2));
}
function log(uint256 p0, address p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2));
}
function log(uint256 p0, address p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2));
}
function log(uint256 p0, address p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2));
}
function log(uint256 p0, address p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2));
}
function log(string memory p0, uint256 p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2));
}
function log(string memory p0, string memory p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2));
}
function log(string memory p0, string memory p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
}
function log(string memory p0, string memory p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
}
function log(string memory p0, string memory p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
}
function log(string memory p0, bool p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2));
}
function log(string memory p0, bool p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
}
function log(string memory p0, bool p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
}
function log(string memory p0, bool p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
}
function log(string memory p0, address p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2));
}
function log(string memory p0, address p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
}
function log(string memory p0, address p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
}
function log(string memory p0, address p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
}
function log(bool p0, uint256 p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2));
}
function log(bool p0, uint256 p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2));
}
function log(bool p0, uint256 p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2));
}
function log(bool p0, uint256 p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2));
}
function log(bool p0, string memory p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2));
}
function log(bool p0, string memory p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
}
function log(bool p0, string memory p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
}
function log(bool p0, string memory p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
}
function log(bool p0, bool p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2));
}
function log(bool p0, bool p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
}
function log(bool p0, bool p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
}
function log(bool p0, bool p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
}
function log(bool p0, address p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2));
}
function log(bool p0, address p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
}
function log(bool p0, address p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
}
function log(bool p0, address p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
}
function log(address p0, uint256 p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2));
}
function log(address p0, uint256 p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2));
}
function log(address p0, uint256 p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2));
}
function log(address p0, uint256 p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2));
}
function log(address p0, string memory p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2));
}
function log(address p0, string memory p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
}
function log(address p0, string memory p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
}
function log(address p0, string memory p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
}
function log(address p0, bool p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2));
}
function log(address p0, bool p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
}
function log(address p0, bool p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
}
function log(address p0, bool p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
}
function log(address p0, address p1, uint256 p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2));
}
function log(address p0, address p1, string memory p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
}
function log(address p0, address p1, bool p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
}
function log(address p0, address p1, address p2) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
}
function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, uint256 p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, uint256 p2, address p3) internal pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, string memory p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, bool p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3));
}
function log(uint256 p0, address p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, uint256 p2, address p3) internal pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, uint256 p1, address p2, address p3) internal pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, uint256 p2, address p3) internal pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, bool p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, uint256 p2, address p3) internal pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
}
function log(string memory p0, address p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, uint256 p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, uint256 p2, address p3) internal pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, string memory p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, bool p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
}
function log(bool p0, address p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3));
}
function log(address p0, uint256 p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, uint256 p2, address p3) internal pure {
_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 pure {
_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 pure {
_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 pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
}
function log(address p0, string memory p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
}
function log(address p0, bool p1, address p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, uint256 p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, uint256 p3) internal pure {
_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 pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, string memory p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, bool p2, address p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, uint256 p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, string memory p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, bool p3) internal pure {
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
}
function log(address p0, address p1, address p2, address p3) internal pure {
_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) {
return address(0);
}
}
// 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);
}
}
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
},
{
"files": "*.yml",
"options": {}
},
{
"files": "*.yaml",
"options": {}
},
{
"files": "*.toml",
"options": {}
},
{
"files": "*.json",
"options": {}
},
{
"files": "*.js",
"options": {}
},
{
"files": "*.ts",
"options": {}
}
]
}
REMIX DEFAULT WORKSPACE
Remix default workspace is present when:
i. Remix loads for the very first time
ii. A new workspace is created with 'Default' template
iii. There are no files existing in the File Explorer
This workspace contains 3 directories:
1. 'contracts': Holds three contracts with increasing levels of complexity.
2. 'scripts': Contains four typescript files to deploy a contract. It is explained below.
3. 'tests': Contains one Solidity test file for 'Ballot' contract & one JS test file for 'Storage' contract.
SCRIPTS
The 'scripts' folder has four typescript files which help to deploy the 'Storage' contract using 'web3.js' and 'ethers.js' libraries.
For the deployment of any other contract, just update the contract's name from 'Storage' to the desired contract and provide constructor arguments accordingly
in the file `deploy_with_ethers.ts` or `deploy_with_web3.ts`
In the 'tests' folder there is a script containing Mocha-Chai unit tests for 'Storage' contract.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
Please note, require/import is supported in a limited manner for Remix supported modules.
For now, modules supported by Remix are ethers, web3, swarmgw, chai, multihashes, remix and hardhat only for hardhat.ethers object/plugin.
For unsupported modules, an error like this will be thrown: '<module_name> module require is not supported by Remix IDE' will be shown.
{
"id": "074a3f5f678c990affb7c07cfa95449f",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.22",
"solcLongVersion": "0.8.22+commit.4fc1097e",
"input": {
"language": "Solidity",
"sources": {
"HelloWorld.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.12;\n\ncontract HelloWorld {\n string public helloworld = \"HelloWorld!\";\n\n uint public myVar;\n\n function get() public view returns (uint){\n return myVar;\n }\n\n function set(uint x ) public{\n myVar = x;\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": {
"HelloWorld.sol": {
"HelloWorld": {
"abi": [
{
"inputs": [],
"name": "get",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "helloworld",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "myVar",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
}
],
"name": "set",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \"HelloWorld.sol\":58:287 contract HelloWorld {... */\n mstore(0x40, 0x80)\n /* \"HelloWorld.sol\":84:124 string public helloworld = \"HelloWorld!\" */\n mload(0x40)\n dup1\n 0x40\n add\n 0x40\n mstore\n dup1\n 0x0b\n dup2\n mstore\n 0x20\n add\n 0x48656c6c6f576f726c6421000000000000000000000000000000000000000000\n dup2\n mstore\n pop\n 0x00\n swap1\n dup2\n tag_1\n swap2\n swap1\n tag_2\n jump\t// in\ntag_1:\n pop\n /* \"HelloWorld.sol\":58:287 contract HelloWorld {... */\n callvalue\n dup1\n iszero\n tag_3\n jumpi\n 0x00\n dup1\n revert\ntag_3:\n pop\n jump(tag_4)\n /* \"#utility.yul\":7:106 */\ntag_5:\n /* \"#utility.yul\":59:65 */\n 0x00\n /* \"#utility.yul\":93:98 */\n dup2\n /* \"#utility.yul\":87:99 */\n mload\n /* \"#utility.yul\":77:99 */\n swap1\n pop\n /* \"#utility.yul\":7:106 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":112:292 */\ntag_6:\n /* \"#utility.yul\":160:237 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":157:158 */\n 0x00\n /* \"#utility.yul\":150:238 */\n mstore\n /* \"#utility.yul\":257:261 */\n 0x41\n /* \"#utility.yul\":254:255 */\n 0x04\n /* \"#utility.yul\":247:262 */\n mstore\n /* \"#utility.yul\":281:285 */\n 0x24\n /* \"#utility.yul\":278:279 */\n 0x00\n /* \"#utility.yul\":271:286 */\n revert\n /* \"#utility.yul\":298:478 */\ntag_7:\n /* \"#utility.yul\":346:423 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":343:344 */\n 0x00\n /* \"#utility.yul\":336:424 */\n mstore\n /* \"#utility.yul\":443:447 */\n 0x22\n /* \"#utility.yul\":440:441 */\n 0x04\n /* \"#utility.yul\":433:448 */\n mstore\n /* \"#utility.yul\":467:471 */\n 0x24\n /* \"#utility.yul\":464:465 */\n 0x00\n /* \"#utility.yul\":457:472 */\n revert\n /* \"#utility.yul\":484:804 */\ntag_8:\n /* \"#utility.yul\":528:534 */\n 0x00\n /* \"#utility.yul\":565:566 */\n 0x02\n /* \"#utility.yul\":559:563 */\n dup3\n /* \"#utility.yul\":555:567 */\n div\n /* \"#utility.yul\":545:567 */\n swap1\n pop\n /* \"#utility.yul\":612:613 */\n 0x01\n /* \"#utility.yul\":606:610 */\n dup3\n /* \"#utility.yul\":602:614 */\n and\n /* \"#utility.yul\":633:651 */\n dup1\n /* \"#utility.yul\":623:704 */\n tag_30\n jumpi\n /* \"#utility.yul\":689:693 */\n 0x7f\n /* \"#utility.yul\":681:687 */\n dup3\n /* \"#utility.yul\":677:694 */\n and\n /* \"#utility.yul\":667:694 */\n swap2\n pop\n /* \"#utility.yul\":623:704 */\ntag_30:\n /* \"#utility.yul\":751:753 */\n 0x20\n /* \"#utility.yul\":743:749 */\n dup3\n /* \"#utility.yul\":740:754 */\n lt\n /* \"#utility.yul\":720:738 */\n dup2\n /* \"#utility.yul\":717:755 */\n sub\n /* \"#utility.yul\":714:798 */\n tag_31\n jumpi\n /* \"#utility.yul\":770:788 */\n tag_32\n tag_7\n jump\t// in\ntag_32:\n /* \"#utility.yul\":714:798 */\ntag_31:\n /* \"#utility.yul\":535:804 */\n pop\n /* \"#utility.yul\":484:804 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":810:951 */\ntag_9:\n /* \"#utility.yul\":859:863 */\n 0x00\n /* \"#utility.yul\":882:885 */\n dup2\n /* \"#utility.yul\":874:885 */\n swap1\n pop\n /* \"#utility.yul\":905:908 */\n dup2\n /* \"#utility.yul\":902:903 */\n 0x00\n /* \"#utility.yul\":895:909 */\n mstore\n /* \"#utility.yul\":939:943 */\n 0x20\n /* \"#utility.yul\":936:937 */\n 0x00\n /* \"#utility.yul\":926:944 */\n keccak256\n /* \"#utility.yul\":918:944 */\n swap1\n pop\n /* \"#utility.yul\":810:951 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":957:1050 */\ntag_10:\n /* \"#utility.yul\":994:1000 */\n 0x00\n /* \"#utility.yul\":1041:1043 */\n 0x20\n /* \"#utility.yul\":1036:1038 */\n 0x1f\n /* \"#utility.yul\":1029:1034 */\n dup4\n /* \"#utility.yul\":1025:1039 */\n add\n /* \"#utility.yul\":1021:1044 */\n div\n /* \"#utility.yul\":1011:1044 */\n swap1\n pop\n /* \"#utility.yul\":957:1050 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1056:1163 */\ntag_11:\n /* \"#utility.yul\":1100:1108 */\n 0x00\n /* \"#utility.yul\":1150:1155 */\n dup3\n /* \"#utility.yul\":1144:1148 */\n dup3\n /* \"#utility.yul\":1140:1156 */\n shl\n /* \"#utility.yul\":1119:1156 */\n swap1\n pop\n /* \"#utility.yul\":1056:1163 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1169:1562 */\ntag_12:\n /* \"#utility.yul\":1238:1244 */\n 0x00\n /* \"#utility.yul\":1288:1289 */\n 0x08\n /* \"#utility.yul\":1276:1286 */\n dup4\n /* \"#utility.yul\":1272:1290 */\n mul\n /* \"#utility.yul\":1311:1408 */\n tag_37\n /* \"#utility.yul\":1341:1407 */\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\n /* \"#utility.yul\":1330:1339 */\n dup3\n /* \"#utility.yul\":1311:1408 */\n tag_11\n jump\t// in\ntag_37:\n /* \"#utility.yul\":1429:1468 */\n tag_38\n /* \"#utility.yul\":1459:1467 */\n dup7\n /* \"#utility.yul\":1448:1457 */\n dup4\n /* \"#utility.yul\":1429:1468 */\n tag_11\n jump\t// in\ntag_38:\n /* \"#utility.yul\":1417:1468 */\n swap6\n pop\n /* \"#utility.yul\":1501:1505 */\n dup1\n /* \"#utility.yul\":1497:1506 */\n not\n /* \"#utility.yul\":1490:1495 */\n dup5\n /* \"#utility.yul\":1486:1507 */\n and\n /* \"#utility.yul\":1477:1507 */\n swap4\n pop\n /* \"#utility.yul\":1550:1554 */\n dup1\n /* \"#utility.yul\":1540:1548 */\n dup7\n /* \"#utility.yul\":1536:1555 */\n and\n /* \"#utility.yul\":1529:1534 */\n dup5\n /* \"#utility.yul\":1526:1556 */\n or\n /* \"#utility.yul\":1516:1556 */\n swap3\n pop\n /* \"#utility.yul\":1245:1562 */\n pop\n pop\n /* \"#utility.yul\":1169:1562 */\n swap4\n swap3\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1568:1645 */\ntag_13:\n /* \"#utility.yul\":1605:1612 */\n 0x00\n /* \"#utility.yul\":1634:1639 */\n dup2\n /* \"#utility.yul\":1623:1639 */\n swap1\n pop\n /* \"#utility.yul\":1568:1645 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1651:1711 */\ntag_14:\n /* \"#utility.yul\":1679:1682 */\n 0x00\n /* \"#utility.yul\":1700:1705 */\n dup2\n /* \"#utility.yul\":1693:1705 */\n swap1\n pop\n /* \"#utility.yul\":1651:1711 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1717:1859 */\ntag_15:\n /* \"#utility.yul\":1767:1776 */\n 0x00\n /* \"#utility.yul\":1800:1853 */\n tag_42\n /* \"#utility.yul\":1818:1852 */\n tag_43\n /* \"#utility.yul\":1827:1851 */\n tag_44\n /* \"#utility.yul\":1845:1850 */\n dup5\n /* \"#utility.yul\":1827:1851 */\n tag_13\n jump\t// in\ntag_44:\n /* \"#utility.yul\":1818:1852 */\n tag_14\n jump\t// in\ntag_43:\n /* \"#utility.yul\":1800:1853 */\n tag_13\n jump\t// in\ntag_42:\n /* \"#utility.yul\":1787:1853 */\n swap1\n pop\n /* \"#utility.yul\":1717:1859 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1865:1940 */\ntag_16:\n /* \"#utility.yul\":1908:1911 */\n 0x00\n /* \"#utility.yul\":1929:1934 */\n dup2\n /* \"#utility.yul\":1922:1934 */\n swap1\n pop\n /* \"#utility.yul\":1865:1940 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1946:2215 */\ntag_17:\n /* \"#utility.yul\":2056:2095 */\n tag_47\n /* \"#utility.yul\":2087:2094 */\n dup4\n /* \"#utility.yul\":2056:2095 */\n tag_15\n jump\t// in\ntag_47:\n /* \"#utility.yul\":2117:2208 */\n tag_48\n /* \"#utility.yul\":2166:2207 */\n tag_49\n /* \"#utility.yul\":2190:2206 */\n dup3\n /* \"#utility.yul\":2166:2207 */\n tag_16\n jump\t// in\ntag_49:\n /* \"#utility.yul\":2158:2164 */\n dup5\n /* \"#utility.yul\":2151:2155 */\n dup5\n /* \"#utility.yul\":2145:2156 */\n sload\n /* \"#utility.yul\":2117:2208 */\n tag_12\n jump\t// in\ntag_48:\n /* \"#utility.yul\":2111:2115 */\n dup3\n /* \"#utility.yul\":2104:2209 */\n sstore\n /* \"#utility.yul\":2022:2215 */\n pop\n /* \"#utility.yul\":1946:2215 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2221:2294 */\ntag_18:\n /* \"#utility.yul\":2266:2269 */\n 0x00\n /* \"#utility.yul\":2221:2294 */\n swap1\n jump\t// out\n /* \"#utility.yul\":2300:2489 */\ntag_19:\n /* \"#utility.yul\":2377:2409 */\n tag_52\n tag_18\n jump\t// in\ntag_52:\n /* \"#utility.yul\":2418:2483 */\n tag_53\n /* \"#utility.yul\":2476:2482 */\n dup2\n /* \"#utility.yul\":2468:2474 */\n dup5\n /* \"#utility.yul\":2462:2466 */\n dup5\n /* \"#utility.yul\":2418:2483 */\n tag_17\n jump\t// in\ntag_53:\n /* \"#utility.yul\":2353:2489 */\n pop\n /* \"#utility.yul\":2300:2489 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2495:2681 */\ntag_20:\n /* \"#utility.yul\":2555:2675 */\ntag_55:\n /* \"#utility.yul\":2572:2575 */\n dup2\n /* \"#utility.yul\":2565:2570 */\n dup2\n /* \"#utility.yul\":2562:2576 */\n lt\n /* \"#utility.yul\":2555:2675 */\n iszero\n tag_57\n jumpi\n /* \"#utility.yul\":2626:2665 */\n tag_58\n /* \"#utility.yul\":2663:2664 */\n 0x00\n /* \"#utility.yul\":2656:2661 */\n dup3\n /* \"#utility.yul\":2626:2665 */\n tag_19\n jump\t// in\ntag_58:\n /* \"#utility.yul\":2599:2600 */\n 0x01\n /* \"#utility.yul\":2592:2597 */\n dup2\n /* \"#utility.yul\":2588:2601 */\n add\n /* \"#utility.yul\":2579:2601 */\n swap1\n pop\n /* \"#utility.yul\":2555:2675 */\n jump(tag_55)\ntag_57:\n /* \"#utility.yul\":2495:2681 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2687:3230 */\ntag_21:\n /* \"#utility.yul\":2788:2790 */\n 0x1f\n /* \"#utility.yul\":2783:2786 */\n dup3\n /* \"#utility.yul\":2780:2791 */\n gt\n /* \"#utility.yul\":2777:3223 */\n iszero\n tag_60\n jumpi\n /* \"#utility.yul\":2822:2860 */\n tag_61\n /* \"#utility.yul\":2854:2859 */\n dup2\n /* \"#utility.yul\":2822:2860 */\n tag_9\n jump\t// in\ntag_61:\n /* \"#utility.yul\":2906:2935 */\n tag_62\n /* \"#utility.yul\":2924:2934 */\n dup5\n /* \"#utility.yul\":2906:2935 */\n tag_10\n jump\t// in\ntag_62:\n /* \"#utility.yul\":2896:2904 */\n dup2\n /* \"#utility.yul\":2892:2936 */\n add\n /* \"#utility.yul\":3089:3091 */\n 0x20\n /* \"#utility.yul\":3077:3087 */\n dup6\n /* \"#utility.yul\":3074:3092 */\n lt\n /* \"#utility.yul\":3071:3120 */\n iszero\n tag_63\n jumpi\n /* \"#utility.yul\":3110:3118 */\n dup2\n /* \"#utility.yul\":3095:3118 */\n swap1\n pop\n /* \"#utility.yul\":3071:3120 */\ntag_63:\n /* \"#utility.yul\":3133:3213 */\n tag_64\n /* \"#utility.yul\":3189:3211 */\n tag_65\n /* \"#utility.yul\":3207:3210 */\n dup6\n /* \"#utility.yul\":3189:3211 */\n tag_10\n jump\t// in\ntag_65:\n /* \"#utility.yul\":3179:3187 */\n dup4\n /* \"#utility.yul\":3175:3212 */\n add\n /* \"#utility.yul\":3162:3173 */\n dup3\n /* \"#utility.yul\":3133:3213 */\n tag_20\n jump\t// in\ntag_64:\n /* \"#utility.yul\":2792:3223 */\n pop\n pop\n /* \"#utility.yul\":2777:3223 */\ntag_60:\n /* \"#utility.yul\":2687:3230 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":3236:3353 */\ntag_22:\n /* \"#utility.yul\":3290:3298 */\n 0x00\n /* \"#utility.yul\":3340:3345 */\n dup3\n /* \"#utility.yul\":3334:3338 */\n dup3\n /* \"#utility.yul\":3330:3346 */\n shr\n /* \"#utility.yul\":3309:3346 */\n swap1\n pop\n /* \"#utility.yul\":3236:3353 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":3359:3528 */\ntag_23:\n /* \"#utility.yul\":3403:3409 */\n 0x00\n /* \"#utility.yul\":3436:3487 */\n tag_68\n /* \"#utility.yul\":3484:3485 */\n 0x00\n /* \"#utility.yul\":3480:3486 */\n not\n /* \"#utility.yul\":3472:3477 */\n dup5\n /* \"#utility.yul\":3469:3470 */\n 0x08\n /* \"#utility.yul\":3465:3478 */\n mul\n /* \"#utility.yul\":3436:3487 */\n tag_22\n jump\t// in\ntag_68:\n /* \"#utility.yul\":3432:3488 */\n not\n /* \"#utility.yul\":3517:3521 */\n dup1\n /* \"#utility.yul\":3511:3515 */\n dup4\n /* \"#utility.yul\":3507:3522 */\n and\n /* \"#utility.yul\":3497:3522 */\n swap2\n pop\n /* \"#utility.yul\":3410:3528 */\n pop\n /* \"#utility.yul\":3359:3528 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":3533:3828 */\ntag_24:\n /* \"#utility.yul\":3609:3613 */\n 0x00\n /* \"#utility.yul\":3755:3784 */\n tag_70\n /* \"#utility.yul\":3780:3783 */\n dup4\n /* \"#utility.yul\":3774:3778 */\n dup4\n /* \"#utility.yul\":3755:3784 */\n tag_23\n jump\t// in\ntag_70:\n /* \"#utility.yul\":3747:3784 */\n swap2\n pop\n /* \"#utility.yul\":3817:3820 */\n dup3\n /* \"#utility.yul\":3814:3815 */\n 0x02\n /* \"#utility.yul\":3810:3821 */\n mul\n /* \"#utility.yul\":3804:3808 */\n dup3\n /* \"#utility.yul\":3801:3822 */\n or\n /* \"#utility.yul\":3793:3822 */\n swap1\n pop\n /* \"#utility.yul\":3533:3828 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":3833:5228 */\ntag_2:\n /* \"#utility.yul\":3950:3987 */\n tag_72\n /* \"#utility.yul\":3983:3986 */\n dup3\n /* \"#utility.yul\":3950:3987 */\n tag_5\n jump\t// in\ntag_72:\n /* \"#utility.yul\":4052:4070 */\n 0xffffffffffffffff\n /* \"#utility.yul\":4044:4050 */\n dup2\n /* \"#utility.yul\":4041:4071 */\n gt\n /* \"#utility.yul\":4038:4094 */\n iszero\n tag_73\n jumpi\n /* \"#utility.yul\":4074:4092 */\n tag_74\n tag_6\n jump\t// in\ntag_74:\n /* \"#utility.yul\":4038:4094 */\ntag_73:\n /* \"#utility.yul\":4118:4156 */\n tag_75\n /* \"#utility.yul\":4150:4154 */\n dup3\n /* \"#utility.yul\":4144:4155 */\n sload\n /* \"#utility.yul\":4118:4156 */\n tag_8\n jump\t// in\ntag_75:\n /* \"#utility.yul\":4203:4270 */\n tag_76\n /* \"#utility.yul\":4263:4269 */\n dup3\n /* \"#utility.yul\":4255:4261 */\n dup3\n /* \"#utility.yul\":4249:4253 */\n dup6\n /* \"#utility.yul\":4203:4270 */\n tag_21\n jump\t// in\ntag_76:\n /* \"#utility.yul\":4297:4298 */\n 0x00\n /* \"#utility.yul\":4321:4325 */\n 0x20\n /* \"#utility.yul\":4308:4325 */\n swap1\n pop\n /* \"#utility.yul\":4353:4355 */\n 0x1f\n /* \"#utility.yul\":4345:4351 */\n dup4\n /* \"#utility.yul\":4342:4356 */\n gt\n /* \"#utility.yul\":4370:4371 */\n 0x01\n /* \"#utility.yul\":4365:4983 */\n dup2\n eq\n tag_78\n jumpi\n /* \"#utility.yul\":5027:5028 */\n 0x00\n /* \"#utility.yul\":5044:5050 */\n dup5\n /* \"#utility.yul\":5041:5118 */\n iszero\n tag_79\n jumpi\n /* \"#utility.yul\":5093:5102 */\n dup3\n /* \"#utility.yul\":5088:5091 */\n dup8\n /* \"#utility.yul\":5084:5103 */\n add\n /* \"#utility.yul\":5078:5104 */\n mload\n /* \"#utility.yul\":5069:5104 */\n swap1\n pop\n /* \"#utility.yul\":5041:5118 */\ntag_79:\n /* \"#utility.yul\":5144:5211 */\n tag_80\n /* \"#utility.yul\":5204:5210 */\n dup6\n /* \"#utility.yul\":5197:5202 */\n dup3\n /* \"#utility.yul\":5144:5211 */\n tag_24\n jump\t// in\ntag_80:\n /* \"#utility.yul\":5138:5142 */\n dup7\n /* \"#utility.yul\":5131:5212 */\n sstore\n /* \"#utility.yul\":5000:5222 */\n pop\n /* \"#utility.yul\":4335:5222 */\n jump(tag_77)\n /* \"#utility.yul\":4365:4983 */\ntag_78:\n /* \"#utility.yul\":4417:4421 */\n 0x1f\n /* \"#utility.yul\":4413:4422 */\n not\n /* \"#utility.yul\":4405:4411 */\n dup5\n /* \"#utility.yul\":4401:4423 */\n and\n /* \"#utility.yul\":4451:4488 */\n tag_81\n /* \"#utility.yul\":4483:4487 */\n dup7\n /* \"#utility.yul\":4451:4488 */\n tag_9\n jump\t// in\ntag_81:\n /* \"#utility.yul\":4510:4511 */\n 0x00\n /* \"#utility.yul\":4524:4732 */\ntag_82:\n /* \"#utility.yul\":4538:4545 */\n dup3\n /* \"#utility.yul\":4535:4536 */\n dup2\n /* \"#utility.yul\":4532:4546 */\n lt\n /* \"#utility.yul\":4524:4732 */\n iszero\n tag_84\n jumpi\n /* \"#utility.yul\":4617:4626 */\n dup5\n /* \"#utility.yul\":4612:4615 */\n dup10\n /* \"#utility.yul\":4608:4627 */\n add\n /* \"#utility.yul\":4602:4628 */\n mload\n /* \"#utility.yul\":4594:4600 */\n dup3\n /* \"#utility.yul\":4587:4629 */\n sstore\n /* \"#utility.yul\":4668:4669 */\n 0x01\n /* \"#utility.yul\":4660:4666 */\n dup3\n /* \"#utility.yul\":4656:4670 */\n add\n /* \"#utility.yul\":4646:4670 */\n swap2\n pop\n /* \"#utility.yul\":4715:4717 */\n 0x20\n /* \"#utility.yul\":4704:4713 */\n dup6\n /* \"#utility.yul\":4700:4718 */\n add\n /* \"#utility.yul\":4687:4718 */\n swap5\n pop\n /* \"#utility.yul\":4561:4565 */\n 0x20\n /* \"#utility.yul\":4558:4559 */\n dup2\n /* \"#utility.yul\":4554:4566 */\n add\n /* \"#utility.yul\":4549:4566 */\n swap1\n pop\n /* \"#utility.yul\":4524:4732 */\n jump(tag_82)\ntag_84:\n /* \"#utility.yul\":4760:4766 */\n dup7\n /* \"#utility.yul\":4751:4758 */\n dup4\n /* \"#utility.yul\":4748:4767 */\n lt\n /* \"#utility.yul\":4745:4924 */\n iszero\n tag_85\n jumpi\n /* \"#utility.yul\":4818:4827 */\n dup5\n /* \"#utility.yul\":4813:4816 */\n dup10\n /* \"#utility.yul\":4809:4828 */\n add\n /* \"#utility.yul\":4803:4829 */\n mload\n /* \"#utility.yul\":4861:4909 */\n tag_86\n /* \"#utility.yul\":4903:4907 */\n 0x1f\n /* \"#utility.yul\":4895:4901 */\n dup10\n /* \"#utility.yul\":4891:4908 */\n and\n /* \"#utility.yul\":4880:4889 */\n dup3\n /* \"#utility.yul\":4861:4909 */\n tag_23\n jump\t// in\ntag_86:\n /* \"#utility.yul\":4853:4859 */\n dup4\n /* \"#utility.yul\":4846:4910 */\n sstore\n /* \"#utility.yul\":4768:4924 */\n pop\n /* \"#utility.yul\":4745:4924 */\ntag_85:\n /* \"#utility.yul\":4970:4971 */\n 0x01\n /* \"#utility.yul\":4966:4967 */\n 0x02\n /* \"#utility.yul\":4958:4964 */\n dup9\n /* \"#utility.yul\":4954:4968 */\n mul\n /* \"#utility.yul\":4950:4972 */\n add\n /* \"#utility.yul\":4944:4948 */\n dup9\n /* \"#utility.yul\":4937:4973 */\n sstore\n /* \"#utility.yul\":4372:4983 */\n pop\n pop\n pop\n /* \"#utility.yul\":4335:5222 */\ntag_77:\n pop\n /* \"#utility.yul\":3925:5228 */\n pop\n pop\n pop\n /* \"#utility.yul\":3833:5228 */\n pop\n pop\n jump\t// out\n /* \"HelloWorld.sol\":58:287 contract HelloWorld {... */\ntag_4:\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"HelloWorld.sol\":58:287 contract HelloWorld {... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\n tag_1:\n pop\n jumpi(tag_2, lt(calldatasize, 0x04))\n shr(0xe0, calldataload(0x00))\n dup1\n 0x2f2f4859\n eq\n tag_3\n jumpi\n dup1\n 0x60fe47b1\n eq\n tag_4\n jumpi\n dup1\n 0x6d4ce63c\n eq\n tag_5\n jumpi\n dup1\n 0xc6b91540\n eq\n tag_6\n jumpi\n tag_2:\n 0x00\n dup1\n revert\n /* \"HelloWorld.sol\":84:124 string public helloworld = \"HelloWorld!\" */\n tag_3:\n tag_7\n tag_8\n jump\t// in\n tag_7:\n mload(0x40)\n tag_9\n swap2\n swap1\n tag_10\n jump\t// in\n tag_9:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"HelloWorld.sol\":231:285 function set(uint x ) public{... */\n tag_4:\n tag_11\n 0x04\n dup1\n calldatasize\n sub\n dup2\n add\n swap1\n tag_12\n swap2\n swap1\n tag_13\n jump\t// in\n tag_12:\n tag_14\n jump\t// in\n tag_11:\n stop\n /* \"HelloWorld.sol\":155:225 function get() public view returns (uint){... */\n tag_5:\n tag_15\n tag_16\n jump\t// in\n tag_15:\n mload(0x40)\n tag_17\n swap2\n swap1\n tag_18\n jump\t// in\n tag_17:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"HelloWorld.sol\":131:148 uint public myVar */\n tag_6:\n tag_19\n tag_20\n jump\t// in\n tag_19:\n mload(0x40)\n tag_21\n swap2\n swap1\n tag_18\n jump\t// in\n tag_21:\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"HelloWorld.sol\":84:124 string public helloworld = \"HelloWorld!\" */\n tag_8:\n 0x00\n dup1\n sload\n tag_22\n swap1\n tag_23\n jump\t// in\n tag_22:\n dup1\n 0x1f\n add\n 0x20\n dup1\n swap2\n div\n mul\n 0x20\n add\n mload(0x40)\n swap1\n dup2\n add\n 0x40\n mstore\n dup1\n swap3\n swap2\n swap1\n dup2\n dup2\n mstore\n 0x20\n add\n dup3\n dup1\n sload\n tag_24\n swap1\n tag_23\n jump\t// in\n tag_24:\n dup1\n iszero\n tag_25\n jumpi\n dup1\n 0x1f\n lt\n tag_26\n jumpi\n 0x0100\n dup1\n dup4\n sload\n div\n mul\n dup4\n mstore\n swap2\n 0x20\n add\n swap2\n jump(tag_25)\n tag_26:\n dup3\n add\n swap2\n swap1\n 0x00\n mstore\n keccak256(0x00, 0x20)\n swap1\n tag_27:\n dup2\n sload\n dup2\n mstore\n swap1\n 0x01\n add\n swap1\n 0x20\n add\n dup1\n dup4\n gt\n tag_27\n jumpi\n dup3\n swap1\n sub\n 0x1f\n and\n dup3\n add\n swap2\n tag_25:\n pop\n pop\n pop\n pop\n pop\n dup2\n jump\t// out\n /* \"HelloWorld.sol\":231:285 function set(uint x ) public{... */\n tag_14:\n /* \"HelloWorld.sol\":277:278 x */\n dup1\n /* \"HelloWorld.sol\":269:274 myVar */\n 0x01\n /* \"HelloWorld.sol\":269:278 myVar = x */\n dup2\n swap1\n sstore\n pop\n /* \"HelloWorld.sol\":231:285 function set(uint x ) public{... */\n pop\n jump\t// out\n /* \"HelloWorld.sol\":155:225 function get() public view returns (uint){... */\n tag_16:\n /* \"HelloWorld.sol\":191:195 uint */\n 0x00\n /* \"HelloWorld.sol\":213:218 myVar */\n sload(0x01)\n /* \"HelloWorld.sol\":206:218 return myVar */\n swap1\n pop\n /* \"HelloWorld.sol\":155:225 function get() public view returns (uint){... */\n swap1\n jump\t// out\n /* \"HelloWorld.sol\":131:148 uint public myVar */\n tag_20:\n sload(0x01)\n dup2\n jump\t// out\n /* \"#utility.yul\":7:106 */\n tag_30:\n /* \"#utility.yul\":59:65 */\n 0x00\n /* \"#utility.yul\":93:98 */\n dup2\n /* \"#utility.yul\":87:99 */\n mload\n /* \"#utility.yul\":77:99 */\n swap1\n pop\n /* \"#utility.yul\":7:106 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":112:281 */\n tag_31:\n /* \"#utility.yul\":196:207 */\n 0x00\n /* \"#utility.yul\":230:236 */\n dup3\n /* \"#utility.yul\":225:228 */\n dup3\n /* \"#utility.yul\":218:237 */\n mstore\n /* \"#utility.yul\":270:274 */\n 0x20\n /* \"#utility.yul\":265:268 */\n dup3\n /* \"#utility.yul\":261:275 */\n add\n /* \"#utility.yul\":246:275 */\n swap1\n pop\n /* \"#utility.yul\":112:281 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":287:533 */\n tag_32:\n /* \"#utility.yul\":368:369 */\n 0x00\n /* \"#utility.yul\":378:491 */\n tag_47:\n /* \"#utility.yul\":392:398 */\n dup4\n /* \"#utility.yul\":389:390 */\n dup2\n /* \"#utility.yul\":386:399 */\n lt\n /* \"#utility.yul\":378:491 */\n iszero\n tag_49\n jumpi\n /* \"#utility.yul\":477:478 */\n dup1\n /* \"#utility.yul\":472:475 */\n dup3\n /* \"#utility.yul\":468:479 */\n add\n /* \"#utility.yul\":462:480 */\n mload\n /* \"#utility.yul\":458:459 */\n dup2\n /* \"#utility.yul\":453:456 */\n dup5\n /* \"#utility.yul\":449:460 */\n add\n /* \"#utility.yul\":442:481 */\n mstore\n /* \"#utility.yul\":414:416 */\n 0x20\n /* \"#utility.yul\":411:412 */\n dup2\n /* \"#utility.yul\":407:417 */\n add\n /* \"#utility.yul\":402:417 */\n swap1\n pop\n /* \"#utility.yul\":378:491 */\n jump(tag_47)\n tag_49:\n /* \"#utility.yul\":525:526 */\n 0x00\n /* \"#utility.yul\":516:522 */\n dup5\n /* \"#utility.yul\":511:514 */\n dup5\n /* \"#utility.yul\":507:523 */\n add\n /* \"#utility.yul\":500:527 */\n mstore\n /* \"#utility.yul\":349:533 */\n pop\n /* \"#utility.yul\":287:533 */\n pop\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":539:641 */\n tag_33:\n /* \"#utility.yul\":580:586 */\n 0x00\n /* \"#utility.yul\":631:633 */\n 0x1f\n /* \"#utility.yul\":627:634 */\n not\n /* \"#utility.yul\":622:624 */\n 0x1f\n /* \"#utility.yul\":615:620 */\n dup4\n /* \"#utility.yul\":611:625 */\n add\n /* \"#utility.yul\":607:635 */\n and\n /* \"#utility.yul\":597:635 */\n swap1\n pop\n /* \"#utility.yul\":539:641 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":647:1024 */\n tag_34:\n /* \"#utility.yul\":735:738 */\n 0x00\n /* \"#utility.yul\":763:802 */\n tag_52\n /* \"#utility.yul\":796:801 */\n dup3\n /* \"#utility.yul\":763:802 */\n tag_30\n jump\t// in\n tag_52:\n /* \"#utility.yul\":818:889 */\n tag_53\n /* \"#utility.yul\":882:888 */\n dup2\n /* \"#utility.yul\":877:880 */\n dup6\n /* \"#utility.yul\":818:889 */\n tag_31\n jump\t// in\n tag_53:\n /* \"#utility.yul\":811:889 */\n swap4\n pop\n /* \"#utility.yul\":898:963 */\n tag_54\n /* \"#utility.yul\":956:962 */\n dup2\n /* \"#utility.yul\":951:954 */\n dup6\n /* \"#utility.yul\":944:948 */\n 0x20\n /* \"#utility.yul\":937:942 */\n dup7\n /* \"#utility.yul\":933:949 */\n add\n /* \"#utility.yul\":898:963 */\n tag_32\n jump\t// in\n tag_54:\n /* \"#utility.yul\":988:1017 */\n tag_55\n /* \"#utility.yul\":1010:1016 */\n dup2\n /* \"#utility.yul\":988:1017 */\n tag_33\n jump\t// in\n tag_55:\n /* \"#utility.yul\":983:986 */\n dup5\n /* \"#utility.yul\":979:1018 */\n add\n /* \"#utility.yul\":972:1018 */\n swap2\n pop\n /* \"#utility.yul\":739:1024 */\n pop\n /* \"#utility.yul\":647:1024 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1030:1343 */\n tag_10:\n /* \"#utility.yul\":1143:1147 */\n 0x00\n /* \"#utility.yul\":1181:1183 */\n 0x20\n /* \"#utility.yul\":1170:1179 */\n dup3\n /* \"#utility.yul\":1166:1184 */\n add\n /* \"#utility.yul\":1158:1184 */\n swap1\n pop\n /* \"#utility.yul\":1230:1239 */\n dup2\n /* \"#utility.yul\":1224:1228 */\n dup2\n /* \"#utility.yul\":1220:1240 */\n sub\n /* \"#utility.yul\":1216:1217 */\n 0x00\n /* \"#utility.yul\":1205:1214 */\n dup4\n /* \"#utility.yul\":1201:1218 */\n add\n /* \"#utility.yul\":1194:1241 */\n mstore\n /* \"#utility.yul\":1258:1336 */\n tag_57\n /* \"#utility.yul\":1331:1335 */\n dup2\n /* \"#utility.yul\":1322:1328 */\n dup5\n /* \"#utility.yul\":1258:1336 */\n tag_34\n jump\t// in\n tag_57:\n /* \"#utility.yul\":1250:1336 */\n swap1\n pop\n /* \"#utility.yul\":1030:1343 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":1430:1547 */\n tag_36:\n /* \"#utility.yul\":1539:1540 */\n 0x00\n /* \"#utility.yul\":1536:1537 */\n dup1\n /* \"#utility.yul\":1529:1541 */\n revert\n /* \"#utility.yul\":1676:1753 */\n tag_38:\n /* \"#utility.yul\":1713:1720 */\n 0x00\n /* \"#utility.yul\":1742:1747 */\n dup2\n /* \"#utility.yul\":1731:1747 */\n swap1\n pop\n /* \"#utility.yul\":1676:1753 */\n swap2\n swap1\n pop\n jump\t// out\n /* \"#utility.yul\":1759:1881 */\n tag_39:\n /* \"#utility.yul\":1832:1856 */\n tag_63\n /* \"#utility.yul\":1850:1855 */\n dup2\n /* \"#utility.yul\":1832:1856 */\n tag_38\n jump\t// in\n tag_63:\n /* \"#utility.yul\":1825:1830 */\n dup2\n /* \"#utility.yul\":1822:1857 */\n eq\n /* \"#utility.yul\":1812:1875 */\n tag_64\n jumpi\n /* \"#utility.yul\":1871:1872 */\n 0x00\n /* \"#utility.yul\":1868:1869 */\n dup1\n /* \"#utility.yul\":1861:1873 */\n revert\n /* \"#utility.yul\":1812:1875 */\n tag_64:\n /* \"#utility.yul\":1759:1881 */\n pop\n jump\t// out\n /* \"#utility.yul\":1887:2026 */\n tag_40:\n /* \"#utility.yul\":1933:1938 */\n 0x00\n /* \"#utility.yul\":1971:1977 */\n dup2\n /* \"#utility.yul\":1958:1978 */\n calldataload\n /* \"#utility.yul\":1949:1978 */\n swap1\n pop\n /* \"#utility.yul\":1987:2020 */\n tag_66\n /* \"#utility.yul\":2014:2019 */\n dup2\n /* \"#utility.yul\":1987:2020 */\n tag_39\n jump\t// in\n tag_66:\n /* \"#utility.yul\":1887:2026 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2032:2361 */\n tag_13:\n /* \"#utility.yul\":2091:2097 */\n 0x00\n /* \"#utility.yul\":2140:2142 */\n 0x20\n /* \"#utility.yul\":2128:2137 */\n dup3\n /* \"#utility.yul\":2119:2126 */\n dup5\n /* \"#utility.yul\":2115:2138 */\n sub\n /* \"#utility.yul\":2111:2143 */\n slt\n /* \"#utility.yul\":2108:2227 */\n iszero\n tag_68\n jumpi\n /* \"#utility.yul\":2146:2225 */\n tag_69\n tag_36\n jump\t// in\n tag_69:\n /* \"#utility.yul\":2108:2227 */\n tag_68:\n /* \"#utility.yul\":2266:2267 */\n 0x00\n /* \"#utility.yul\":2291:2344 */\n tag_70\n /* \"#utility.yul\":2336:2343 */\n dup5\n /* \"#utility.yul\":2327:2333 */\n dup3\n /* \"#utility.yul\":2316:2325 */\n dup6\n /* \"#utility.yul\":2312:2334 */\n add\n /* \"#utility.yul\":2291:2344 */\n tag_40\n jump\t// in\n tag_70:\n /* \"#utility.yul\":2281:2344 */\n swap2\n pop\n /* \"#utility.yul\":2237:2354 */\n pop\n /* \"#utility.yul\":2032:2361 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2367:2485 */\n tag_41:\n /* \"#utility.yul\":2454:2478 */\n tag_72\n /* \"#utility.yul\":2472:2477 */\n dup2\n /* \"#utility.yul\":2454:2478 */\n tag_38\n jump\t// in\n tag_72:\n /* \"#utility.yul\":2449:2452 */\n dup3\n /* \"#utility.yul\":2442:2479 */\n mstore\n /* \"#utility.yul\":2367:2485 */\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2491:2713 */\n tag_18:\n /* \"#utility.yul\":2584:2588 */\n 0x00\n /* \"#utility.yul\":2622:2624 */\n 0x20\n /* \"#utility.yul\":2611:2620 */\n dup3\n /* \"#utility.yul\":2607:2625 */\n add\n /* \"#utility.yul\":2599:2625 */\n swap1\n pop\n /* \"#utility.yul\":2635:2706 */\n tag_74\n /* \"#utility.yul\":2703:2704 */\n 0x00\n /* \"#utility.yul\":2692:2701 */\n dup4\n /* \"#utility.yul\":2688:2705 */\n add\n /* \"#utility.yul\":2679:2685 */\n dup5\n /* \"#utility.yul\":2635:2706 */\n tag_41\n jump\t// in\n tag_74:\n /* \"#utility.yul\":2491:2713 */\n swap3\n swap2\n pop\n pop\n jump\t// out\n /* \"#utility.yul\":2719:2899 */\n tag_42:\n /* \"#utility.yul\":2767:2844 */\n 0x4e487b7100000000000000000000000000000000000000000000000000000000\n /* \"#utility.yul\":2764:2765 */\n 0x00\n /* \"#utility.yul\":2757:2845 */\n mstore\n /* \"#utility.yul\":2864:2868 */\n 0x22\n /* \"#utility.yul\":2861:2862 */\n 0x04\n /* \"#utility.yul\":2854:2869 */\n mstore\n /* \"#utility.yul\":2888:2892 */\n 0x24\n /* \"#utility.yul\":2885:2886 */\n 0x00\n /* \"#utility.yul\":2878:2893 */\n revert\n /* \"#utility.yul\":2905:3225 */\n tag_23:\n /* \"#utility.yul\":2949:2955 */\n 0x00\n /* \"#utility.yul\":2986:2987 */\n 0x02\n /* \"#utility.yul\":2980:2984 */\n dup3\n /* \"#utility.yul\":2976:2988 */\n div\n /* \"#utility.yul\":2966:2988 */\n swap1\n pop\n /* \"#utility.yul\":3033:3034 */\n 0x01\n /* \"#utility.yul\":3027:3031 */\n dup3\n /* \"#utility.yul\":3023:3035 */\n and\n /* \"#utility.yul\":3054:3072 */\n dup1\n /* \"#utility.yul\":3044:3125 */\n tag_77\n jumpi\n /* \"#utility.yul\":3110:3114 */\n 0x7f\n /* \"#utility.yul\":3102:3108 */\n dup3\n /* \"#utility.yul\":3098:3115 */\n and\n /* \"#utility.yul\":3088:3115 */\n swap2\n pop\n /* \"#utility.yul\":3044:3125 */\n tag_77:\n /* \"#utility.yul\":3172:3174 */\n 0x20\n /* \"#utility.yul\":3164:3170 */\n dup3\n /* \"#utility.yul\":3161:3175 */\n lt\n /* \"#utility.yul\":3141:3159 */\n dup2\n /* \"#utility.yul\":3138:3176 */\n sub\n /* \"#utility.yul\":3135:3219 */\n tag_78\n jumpi\n /* \"#utility.yul\":3191:3209 */\n tag_79\n tag_42\n jump\t// in\n tag_79:\n /* \"#utility.yul\":3135:3219 */\n tag_78:\n /* \"#utility.yul\":2956:3225 */\n pop\n /* \"#utility.yul\":2905:3225 */\n swap2\n swap1\n pop\n jump\t// out\n\n auxdata: 0xa2646970667358221220454e927935d1b200da6cd8d9155c1c3c554711e28bc3cefc5da95f538df7ba6d64736f6c63430008160033\n}\n",
"bytecode": {
"functionDebugData": {
"array_dataslot_t_string_storage": {
"entryPoint": 237,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 89,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 522,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_uint256": {
"entryPoint": 363,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 488,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 381,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 659,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 255,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 189,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 632,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"identity": {
"entryPoint": 372,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 604,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 144,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 99,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 414,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_dynamic": {
"entryPoint": 270,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 592,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 464,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 282,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 423,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 460,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:5231:1",
"nodeType": "YulBlock",
"src": "0:5231:1",
"statements": [
{
"body": {
"nativeSrc": "66:40:1",
"nodeType": "YulBlock",
"src": "66:40:1",
"statements": [
{
"nativeSrc": "77:22:1",
"nodeType": "YulAssignment",
"src": "77:22:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "93:5:1",
"nodeType": "YulIdentifier",
"src": "93:5:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "87:5:1",
"nodeType": "YulIdentifier",
"src": "87:5:1"
},
"nativeSrc": "87:12:1",
"nodeType": "YulFunctionCall",
"src": "87:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "77:6:1",
"nodeType": "YulIdentifier",
"src": "77:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "7:99:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "49:5:1",
"nodeType": "YulTypedName",
"src": "49:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "59:6:1",
"nodeType": "YulTypedName",
"src": "59:6:1",
"type": ""
}
],
"src": "7:99:1"
},
{
"body": {
"nativeSrc": "140:152:1",
"nodeType": "YulBlock",
"src": "140:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "157:1:1",
"nodeType": "YulLiteral",
"src": "157:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "160:77:1",
"nodeType": "YulLiteral",
"src": "160:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "150:6:1",
"nodeType": "YulIdentifier",
"src": "150:6:1"
},
"nativeSrc": "150:88:1",
"nodeType": "YulFunctionCall",
"src": "150:88:1"
},
"nativeSrc": "150:88:1",
"nodeType": "YulExpressionStatement",
"src": "150:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "254:1:1",
"nodeType": "YulLiteral",
"src": "254:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "257:4:1",
"nodeType": "YulLiteral",
"src": "257:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "247:6:1",
"nodeType": "YulIdentifier",
"src": "247:6:1"
},
"nativeSrc": "247:15:1",
"nodeType": "YulFunctionCall",
"src": "247:15:1"
},
"nativeSrc": "247:15:1",
"nodeType": "YulExpressionStatement",
"src": "247:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "278:1:1",
"nodeType": "YulLiteral",
"src": "278:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "281:4:1",
"nodeType": "YulLiteral",
"src": "281:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "271:6:1",
"nodeType": "YulIdentifier",
"src": "271:6:1"
},
"nativeSrc": "271:15:1",
"nodeType": "YulFunctionCall",
"src": "271:15:1"
},
"nativeSrc": "271:15:1",
"nodeType": "YulExpressionStatement",
"src": "271:15:1"
}
]
},
"name": "panic_error_0x41",
"nativeSrc": "112:180:1",
"nodeType": "YulFunctionDefinition",
"src": "112:180:1"
},
{
"body": {
"nativeSrc": "326:152:1",
"nodeType": "YulBlock",
"src": "326:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "343:1:1",
"nodeType": "YulLiteral",
"src": "343:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "346:77:1",
"nodeType": "YulLiteral",
"src": "346:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "336:6:1",
"nodeType": "YulIdentifier",
"src": "336:6:1"
},
"nativeSrc": "336:88:1",
"nodeType": "YulFunctionCall",
"src": "336:88:1"
},
"nativeSrc": "336:88:1",
"nodeType": "YulExpressionStatement",
"src": "336:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "440:1:1",
"nodeType": "YulLiteral",
"src": "440:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "443:4:1",
"nodeType": "YulLiteral",
"src": "443:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "433:6:1",
"nodeType": "YulIdentifier",
"src": "433:6:1"
},
"nativeSrc": "433:15:1",
"nodeType": "YulFunctionCall",
"src": "433:15:1"
},
"nativeSrc": "433:15:1",
"nodeType": "YulExpressionStatement",
"src": "433:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "464:1:1",
"nodeType": "YulLiteral",
"src": "464:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "467:4:1",
"nodeType": "YulLiteral",
"src": "467:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "457:6:1",
"nodeType": "YulIdentifier",
"src": "457:6:1"
},
"nativeSrc": "457:15:1",
"nodeType": "YulFunctionCall",
"src": "457:15:1"
},
"nativeSrc": "457:15:1",
"nodeType": "YulExpressionStatement",
"src": "457:15:1"
}
]
},
"name": "panic_error_0x22",
"nativeSrc": "298:180:1",
"nodeType": "YulFunctionDefinition",
"src": "298:180:1"
},
{
"body": {
"nativeSrc": "535:269:1",
"nodeType": "YulBlock",
"src": "535:269:1",
"statements": [
{
"nativeSrc": "545:22:1",
"nodeType": "YulAssignment",
"src": "545:22:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "559:4:1",
"nodeType": "YulIdentifier",
"src": "559:4:1"
},
{
"kind": "number",
"nativeSrc": "565:1:1",
"nodeType": "YulLiteral",
"src": "565:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nativeSrc": "555:3:1",
"nodeType": "YulIdentifier",
"src": "555:3:1"
},
"nativeSrc": "555:12:1",
"nodeType": "YulFunctionCall",
"src": "555:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "545:6:1",
"nodeType": "YulIdentifier",
"src": "545:6:1"
}
]
},
{
"nativeSrc": "576:38:1",
"nodeType": "YulVariableDeclaration",
"src": "576:38:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "606:4:1",
"nodeType": "YulIdentifier",
"src": "606:4:1"
},
{
"kind": "number",
"nativeSrc": "612:1:1",
"nodeType": "YulLiteral",
"src": "612:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "602:3:1",
"nodeType": "YulIdentifier",
"src": "602:3:1"
},
"nativeSrc": "602:12:1",
"nodeType": "YulFunctionCall",
"src": "602:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "580:18:1",
"nodeType": "YulTypedName",
"src": "580:18:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "653:51:1",
"nodeType": "YulBlock",
"src": "653:51:1",
"statements": [
{
"nativeSrc": "667:27:1",
"nodeType": "YulAssignment",
"src": "667:27:1",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "681:6:1",
"nodeType": "YulIdentifier",
"src": "681:6:1"
},
{
"kind": "number",
"nativeSrc": "689:4:1",
"nodeType": "YulLiteral",
"src": "689:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "677:3:1",
"nodeType": "YulIdentifier",
"src": "677:3:1"
},
"nativeSrc": "677:17:1",
"nodeType": "YulFunctionCall",
"src": "677:17:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "667:6:1",
"nodeType": "YulIdentifier",
"src": "667:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "633:18:1",
"nodeType": "YulIdentifier",
"src": "633:18:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "626:6:1",
"nodeType": "YulIdentifier",
"src": "626:6:1"
},
"nativeSrc": "626:26:1",
"nodeType": "YulFunctionCall",
"src": "626:26:1"
},
"nativeSrc": "623:81:1",
"nodeType": "YulIf",
"src": "623:81:1"
},
{
"body": {
"nativeSrc": "756:42:1",
"nodeType": "YulBlock",
"src": "756:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nativeSrc": "770:16:1",
"nodeType": "YulIdentifier",
"src": "770:16:1"
},
"nativeSrc": "770:18:1",
"nodeType": "YulFunctionCall",
"src": "770:18:1"
},
"nativeSrc": "770:18:1",
"nodeType": "YulExpressionStatement",
"src": "770:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "720:18:1",
"nodeType": "YulIdentifier",
"src": "720:18:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "743:6:1",
"nodeType": "YulIdentifier",
"src": "743:6:1"
},
{
"kind": "number",
"nativeSrc": "751:2:1",
"nodeType": "YulLiteral",
"src": "751:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "740:2:1",
"nodeType": "YulIdentifier",
"src": "740:2:1"
},
"nativeSrc": "740:14:1",
"nodeType": "YulFunctionCall",
"src": "740:14:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "717:2:1",
"nodeType": "YulIdentifier",
"src": "717:2:1"
},
"nativeSrc": "717:38:1",
"nodeType": "YulFunctionCall",
"src": "717:38:1"
},
"nativeSrc": "714:84:1",
"nodeType": "YulIf",
"src": "714:84:1"
}
]
},
"name": "extract_byte_array_length",
"nativeSrc": "484:320:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "519:4:1",
"nodeType": "YulTypedName",
"src": "519:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "528:6:1",
"nodeType": "YulTypedName",
"src": "528:6:1",
"type": ""
}
],
"src": "484:320:1"
},
{
"body": {
"nativeSrc": "864:87:1",
"nodeType": "YulBlock",
"src": "864:87:1",
"statements": [
{
"nativeSrc": "874:11:1",
"nodeType": "YulAssignment",
"src": "874:11:1",
"value": {
"name": "ptr",
"nativeSrc": "882:3:1",
"nodeType": "YulIdentifier",
"src": "882:3:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "874:4:1",
"nodeType": "YulIdentifier",
"src": "874:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "902:1:1",
"nodeType": "YulLiteral",
"src": "902:1:1",
"type": "",
"value": "0"
},
{
"name": "ptr",
"nativeSrc": "905:3:1",
"nodeType": "YulIdentifier",
"src": "905:3:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "895:6:1",
"nodeType": "YulIdentifier",
"src": "895:6:1"
},
"nativeSrc": "895:14:1",
"nodeType": "YulFunctionCall",
"src": "895:14:1"
},
"nativeSrc": "895:14:1",
"nodeType": "YulExpressionStatement",
"src": "895:14:1"
},
{
"nativeSrc": "918:26:1",
"nodeType": "YulAssignment",
"src": "918:26:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "936:1:1",
"nodeType": "YulLiteral",
"src": "936:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "939:4:1",
"nodeType": "YulLiteral",
"src": "939:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "keccak256",
"nativeSrc": "926:9:1",
"nodeType": "YulIdentifier",
"src": "926:9:1"
},
"nativeSrc": "926:18:1",
"nodeType": "YulFunctionCall",
"src": "926:18:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "918:4:1",
"nodeType": "YulIdentifier",
"src": "918:4:1"
}
]
}
]
},
"name": "array_dataslot_t_string_storage",
"nativeSrc": "810:141:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nativeSrc": "851:3:1",
"nodeType": "YulTypedName",
"src": "851:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nativeSrc": "859:4:1",
"nodeType": "YulTypedName",
"src": "859:4:1",
"type": ""
}
],
"src": "810:141:1"
},
{
"body": {
"nativeSrc": "1001:49:1",
"nodeType": "YulBlock",
"src": "1001:49:1",
"statements": [
{
"nativeSrc": "1011:33:1",
"nodeType": "YulAssignment",
"src": "1011:33:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1029:5:1",
"nodeType": "YulIdentifier",
"src": "1029:5:1"
},
{
"kind": "number",
"nativeSrc": "1036:2:1",
"nodeType": "YulLiteral",
"src": "1036:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1025:3:1",
"nodeType": "YulIdentifier",
"src": "1025:3:1"
},
"nativeSrc": "1025:14:1",
"nodeType": "YulFunctionCall",
"src": "1025:14:1"
},
{
"kind": "number",
"nativeSrc": "1041:2:1",
"nodeType": "YulLiteral",
"src": "1041:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "div",
"nativeSrc": "1021:3:1",
"nodeType": "YulIdentifier",
"src": "1021:3:1"
},
"nativeSrc": "1021:23:1",
"nodeType": "YulFunctionCall",
"src": "1021:23:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "1011:6:1",
"nodeType": "YulIdentifier",
"src": "1011:6:1"
}
]
}
]
},
"name": "divide_by_32_ceil",
"nativeSrc": "957:93:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "984:5:1",
"nodeType": "YulTypedName",
"src": "984:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "994:6:1",
"nodeType": "YulTypedName",
"src": "994:6:1",
"type": ""
}
],
"src": "957:93:1"
},
{
"body": {
"nativeSrc": "1109:54:1",
"nodeType": "YulBlock",
"src": "1109:54:1",
"statements": [
{
"nativeSrc": "1119:37:1",
"nodeType": "YulAssignment",
"src": "1119:37:1",
"value": {
"arguments": [
{
"name": "bits",
"nativeSrc": "1144:4:1",
"nodeType": "YulIdentifier",
"src": "1144:4:1"
},
{
"name": "value",
"nativeSrc": "1150:5:1",
"nodeType": "YulIdentifier",
"src": "1150:5:1"
}
],
"functionName": {
"name": "shl",
"nativeSrc": "1140:3:1",
"nodeType": "YulIdentifier",
"src": "1140:3:1"
},
"nativeSrc": "1140:16:1",
"nodeType": "YulFunctionCall",
"src": "1140:16:1"
},
"variableNames": [
{
"name": "newValue",
"nativeSrc": "1119:8:1",
"nodeType": "YulIdentifier",
"src": "1119:8:1"
}
]
}
]
},
"name": "shift_left_dynamic",
"nativeSrc": "1056:107:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nativeSrc": "1084:4:1",
"nodeType": "YulTypedName",
"src": "1084:4:1",
"type": ""
},
{
"name": "value",
"nativeSrc": "1090:5:1",
"nodeType": "YulTypedName",
"src": "1090:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nativeSrc": "1100:8:1",
"nodeType": "YulTypedName",
"src": "1100:8:1",
"type": ""
}
],
"src": "1056:107:1"
},
{
"body": {
"nativeSrc": "1245:317:1",
"nodeType": "YulBlock",
"src": "1245:317:1",
"statements": [
{
"nativeSrc": "1255:35:1",
"nodeType": "YulVariableDeclaration",
"src": "1255:35:1",
"value": {
"arguments": [
{
"name": "shiftBytes",
"nativeSrc": "1276:10:1",
"nodeType": "YulIdentifier",
"src": "1276:10:1"
},
{
"kind": "number",
"nativeSrc": "1288:1:1",
"nodeType": "YulLiteral",
"src": "1288:1:1",
"type": "",
"value": "8"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "1272:3:1",
"nodeType": "YulIdentifier",
"src": "1272:3:1"
},
"nativeSrc": "1272:18:1",
"nodeType": "YulFunctionCall",
"src": "1272:18:1"
},
"variables": [
{
"name": "shiftBits",
"nativeSrc": "1259:9:1",
"nodeType": "YulTypedName",
"src": "1259:9:1",
"type": ""
}
]
},
{
"nativeSrc": "1299:109:1",
"nodeType": "YulVariableDeclaration",
"src": "1299:109:1",
"value": {
"arguments": [
{
"name": "shiftBits",
"nativeSrc": "1330:9:1",
"nodeType": "YulIdentifier",
"src": "1330:9:1"
},
{
"kind": "number",
"nativeSrc": "1341:66:1",
"nodeType": "YulLiteral",
"src": "1341:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nativeSrc": "1311:18:1",
"nodeType": "YulIdentifier",
"src": "1311:18:1"
},
"nativeSrc": "1311:97:1",
"nodeType": "YulFunctionCall",
"src": "1311:97:1"
},
"variables": [
{
"name": "mask",
"nativeSrc": "1303:4:1",
"nodeType": "YulTypedName",
"src": "1303:4:1",
"type": ""
}
]
},
{
"nativeSrc": "1417:51:1",
"nodeType": "YulAssignment",
"src": "1417:51:1",
"value": {
"arguments": [
{
"name": "shiftBits",
"nativeSrc": "1448:9:1",
"nodeType": "YulIdentifier",
"src": "1448:9:1"
},
{
"name": "toInsert",
"nativeSrc": "1459:8:1",
"nodeType": "YulIdentifier",
"src": "1459:8:1"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nativeSrc": "1429:18:1",
"nodeType": "YulIdentifier",
"src": "1429:18:1"
},
"nativeSrc": "1429:39:1",
"nodeType": "YulFunctionCall",
"src": "1429:39:1"
},
"variableNames": [
{
"name": "toInsert",
"nativeSrc": "1417:8:1",
"nodeType": "YulIdentifier",
"src": "1417:8:1"
}
]
},
{
"nativeSrc": "1477:30:1",
"nodeType": "YulAssignment",
"src": "1477:30:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1490:5:1",
"nodeType": "YulIdentifier",
"src": "1490:5:1"
},
{
"arguments": [
{
"name": "mask",
"nativeSrc": "1501:4:1",
"nodeType": "YulIdentifier",
"src": "1501:4:1"
}
],
"functionName": {
"name": "not",
"nativeSrc": "1497:3:1",
"nodeType": "YulIdentifier",
"src": "1497:3:1"
},
"nativeSrc": "1497:9:1",
"nodeType": "YulFunctionCall",
"src": "1497:9:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "1486:3:1",
"nodeType": "YulIdentifier",
"src": "1486:3:1"
},
"nativeSrc": "1486:21:1",
"nodeType": "YulFunctionCall",
"src": "1486:21:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "1477:5:1",
"nodeType": "YulIdentifier",
"src": "1477:5:1"
}
]
},
{
"nativeSrc": "1516:40:1",
"nodeType": "YulAssignment",
"src": "1516:40:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1529:5:1",
"nodeType": "YulIdentifier",
"src": "1529:5:1"
},
{
"arguments": [
{
"name": "toInsert",
"nativeSrc": "1540:8:1",
"nodeType": "YulIdentifier",
"src": "1540:8:1"
},
{
"name": "mask",
"nativeSrc": "1550:4:1",
"nodeType": "YulIdentifier",
"src": "1550:4:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "1536:3:1",
"nodeType": "YulIdentifier",
"src": "1536:3:1"
},
"nativeSrc": "1536:19:1",
"nodeType": "YulFunctionCall",
"src": "1536:19:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "1526:2:1",
"nodeType": "YulIdentifier",
"src": "1526:2:1"
},
"nativeSrc": "1526:30:1",
"nodeType": "YulFunctionCall",
"src": "1526:30:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "1516:6:1",
"nodeType": "YulIdentifier",
"src": "1516:6:1"
}
]
}
]
},
"name": "update_byte_slice_dynamic32",
"nativeSrc": "1169:393:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1206:5:1",
"nodeType": "YulTypedName",
"src": "1206:5:1",
"type": ""
},
{
"name": "shiftBytes",
"nativeSrc": "1213:10:1",
"nodeType": "YulTypedName",
"src": "1213:10:1",
"type": ""
},
{
"name": "toInsert",
"nativeSrc": "1225:8:1",
"nodeType": "YulTypedName",
"src": "1225:8:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "1238:6:1",
"nodeType": "YulTypedName",
"src": "1238:6:1",
"type": ""
}
],
"src": "1169:393:1"
},
{
"body": {
"nativeSrc": "1613:32:1",
"nodeType": "YulBlock",
"src": "1613:32:1",
"statements": [
{
"nativeSrc": "1623:16:1",
"nodeType": "YulAssignment",
"src": "1623:16:1",
"value": {
"name": "value",
"nativeSrc": "1634:5:1",
"nodeType": "YulIdentifier",
"src": "1634:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1623:7:1",
"nodeType": "YulIdentifier",
"src": "1623:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nativeSrc": "1568:77:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1595:5:1",
"nodeType": "YulTypedName",
"src": "1595:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1605:7:1",
"nodeType": "YulTypedName",
"src": "1605:7:1",
"type": ""
}
],
"src": "1568:77:1"
},
{
"body": {
"nativeSrc": "1683:28:1",
"nodeType": "YulBlock",
"src": "1683:28:1",
"statements": [
{
"nativeSrc": "1693:12:1",
"nodeType": "YulAssignment",
"src": "1693:12:1",
"value": {
"name": "value",
"nativeSrc": "1700:5:1",
"nodeType": "YulIdentifier",
"src": "1700:5:1"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "1693:3:1",
"nodeType": "YulIdentifier",
"src": "1693:3:1"
}
]
}
]
},
"name": "identity",
"nativeSrc": "1651:60:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1669:5:1",
"nodeType": "YulTypedName",
"src": "1669:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "1679:3:1",
"nodeType": "YulTypedName",
"src": "1679:3:1",
"type": ""
}
],
"src": "1651:60:1"
},
{
"body": {
"nativeSrc": "1777:82:1",
"nodeType": "YulBlock",
"src": "1777:82:1",
"statements": [
{
"nativeSrc": "1787:66:1",
"nodeType": "YulAssignment",
"src": "1787:66:1",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1845:5:1",
"nodeType": "YulIdentifier",
"src": "1845:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "1827:17:1",
"nodeType": "YulIdentifier",
"src": "1827:17:1"
},
"nativeSrc": "1827:24:1",
"nodeType": "YulFunctionCall",
"src": "1827:24:1"
}
],
"functionName": {
"name": "identity",
"nativeSrc": "1818:8:1",
"nodeType": "YulIdentifier",
"src": "1818:8:1"
},
"nativeSrc": "1818:34:1",
"nodeType": "YulFunctionCall",
"src": "1818:34:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "1800:17:1",
"nodeType": "YulIdentifier",
"src": "1800:17:1"
},
"nativeSrc": "1800:53:1",
"nodeType": "YulFunctionCall",
"src": "1800:53:1"
},
"variableNames": [
{
"name": "converted",
"nativeSrc": "1787:9:1",
"nodeType": "YulIdentifier",
"src": "1787:9:1"
}
]
}
]
},
"name": "convert_t_uint256_to_t_uint256",
"nativeSrc": "1717:142:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1757:5:1",
"nodeType": "YulTypedName",
"src": "1757:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nativeSrc": "1767:9:1",
"nodeType": "YulTypedName",
"src": "1767:9:1",
"type": ""
}
],
"src": "1717:142:1"
},
{
"body": {
"nativeSrc": "1912:28:1",
"nodeType": "YulBlock",
"src": "1912:28:1",
"statements": [
{
"nativeSrc": "1922:12:1",
"nodeType": "YulAssignment",
"src": "1922:12:1",
"value": {
"name": "value",
"nativeSrc": "1929:5:1",
"nodeType": "YulIdentifier",
"src": "1929:5:1"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "1922:3:1",
"nodeType": "YulIdentifier",
"src": "1922:3:1"
}
]
}
]
},
"name": "prepare_store_t_uint256",
"nativeSrc": "1865:75:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1898:5:1",
"nodeType": "YulTypedName",
"src": "1898:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "1908:3:1",
"nodeType": "YulTypedName",
"src": "1908:3:1",
"type": ""
}
],
"src": "1865:75:1"
},
{
"body": {
"nativeSrc": "2022:193:1",
"nodeType": "YulBlock",
"src": "2022:193:1",
"statements": [
{
"nativeSrc": "2032:63:1",
"nodeType": "YulVariableDeclaration",
"src": "2032:63:1",
"value": {
"arguments": [
{
"name": "value_0",
"nativeSrc": "2087:7:1",
"nodeType": "YulIdentifier",
"src": "2087:7:1"
}
],
"functionName": {
"name": "convert_t_uint256_to_t_uint256",
"nativeSrc": "2056:30:1",
"nodeType": "YulIdentifier",
"src": "2056:30:1"
},
"nativeSrc": "2056:39:1",
"nodeType": "YulFunctionCall",
"src": "2056:39:1"
},
"variables": [
{
"name": "convertedValue_0",
"nativeSrc": "2036:16:1",
"nodeType": "YulTypedName",
"src": "2036:16:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "2111:4:1",
"nodeType": "YulIdentifier",
"src": "2111:4:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "slot",
"nativeSrc": "2151:4:1",
"nodeType": "YulIdentifier",
"src": "2151:4:1"
}
],
"functionName": {
"name": "sload",
"nativeSrc": "2145:5:1",
"nodeType": "YulIdentifier",
"src": "2145:5:1"
},
"nativeSrc": "2145:11:1",
"nodeType": "YulFunctionCall",
"src": "2145:11:1"
},
{
"name": "offset",
"nativeSrc": "2158:6:1",
"nodeType": "YulIdentifier",
"src": "2158:6:1"
},
{
"arguments": [
{
"name": "convertedValue_0",
"nativeSrc": "2190:16:1",
"nodeType": "YulIdentifier",
"src": "2190:16:1"
}
],
"functionName": {
"name": "prepare_store_t_uint256",
"nativeSrc": "2166:23:1",
"nodeType": "YulIdentifier",
"src": "2166:23:1"
},
"nativeSrc": "2166:41:1",
"nodeType": "YulFunctionCall",
"src": "2166:41:1"
}
],
"functionName": {
"name": "update_byte_slice_dynamic32",
"nativeSrc": "2117:27:1",
"nodeType": "YulIdentifier",
"src": "2117:27:1"
},
"nativeSrc": "2117:91:1",
"nodeType": "YulFunctionCall",
"src": "2117:91:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "2104:6:1",
"nodeType": "YulIdentifier",
"src": "2104:6:1"
},
"nativeSrc": "2104:105:1",
"nodeType": "YulFunctionCall",
"src": "2104:105:1"
},
"nativeSrc": "2104:105:1",
"nodeType": "YulExpressionStatement",
"src": "2104:105:1"
}
]
},
"name": "update_storage_value_t_uint256_to_t_uint256",
"nativeSrc": "1946:269:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "1999:4:1",
"nodeType": "YulTypedName",
"src": "1999:4:1",
"type": ""
},
{
"name": "offset",
"nativeSrc": "2005:6:1",
"nodeType": "YulTypedName",
"src": "2005:6:1",
"type": ""
},
{
"name": "value_0",
"nativeSrc": "2013:7:1",
"nodeType": "YulTypedName",
"src": "2013:7:1",
"type": ""
}
],
"src": "1946:269:1"
},
{
"body": {
"nativeSrc": "2270:24:1",
"nodeType": "YulBlock",
"src": "2270:24:1",
"statements": [
{
"nativeSrc": "2280:8:1",
"nodeType": "YulAssignment",
"src": "2280:8:1",
"value": {
"kind": "number",
"nativeSrc": "2287:1:1",
"nodeType": "YulLiteral",
"src": "2287:1:1",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "2280:3:1",
"nodeType": "YulIdentifier",
"src": "2280:3:1"
}
]
}
]
},
"name": "zero_value_for_split_t_uint256",
"nativeSrc": "2221:73:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "ret",
"nativeSrc": "2266:3:1",
"nodeType": "YulTypedName",
"src": "2266:3:1",
"type": ""
}
],
"src": "2221:73:1"
},
{
"body": {
"nativeSrc": "2353:136:1",
"nodeType": "YulBlock",
"src": "2353:136:1",
"statements": [
{
"nativeSrc": "2363:46:1",
"nodeType": "YulVariableDeclaration",
"src": "2363:46:1",
"value": {
"arguments": [],
"functionName": {
"name": "zero_value_for_split_t_uint256",
"nativeSrc": "2377:30:1",
"nodeType": "YulIdentifier",
"src": "2377:30:1"
},
"nativeSrc": "2377:32:1",
"nodeType": "YulFunctionCall",
"src": "2377:32:1"
},
"variables": [
{
"name": "zero_0",
"nativeSrc": "2367:6:1",
"nodeType": "YulTypedName",
"src": "2367:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "2462:4:1",
"nodeType": "YulIdentifier",
"src": "2462:4:1"
},
{
"name": "offset",
"nativeSrc": "2468:6:1",
"nodeType": "YulIdentifier",
"src": "2468:6:1"
},
{
"name": "zero_0",
"nativeSrc": "2476:6:1",
"nodeType": "YulIdentifier",
"src": "2476:6:1"
}
],
"functionName": {
"name": "update_storage_value_t_uint256_to_t_uint256",
"nativeSrc": "2418:43:1",
"nodeType": "YulIdentifier",
"src": "2418:43:1"
},
"nativeSrc": "2418:65:1",
"nodeType": "YulFunctionCall",
"src": "2418:65:1"
},
"nativeSrc": "2418:65:1",
"nodeType": "YulExpressionStatement",
"src": "2418:65:1"
}
]
},
"name": "storage_set_to_zero_t_uint256",
"nativeSrc": "2300:189:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "2339:4:1",
"nodeType": "YulTypedName",
"src": "2339:4:1",
"type": ""
},
{
"name": "offset",
"nativeSrc": "2345:6:1",
"nodeType": "YulTypedName",
"src": "2345:6:1",
"type": ""
}
],
"src": "2300:189:1"
},
{
"body": {
"nativeSrc": "2545:136:1",
"nodeType": "YulBlock",
"src": "2545:136:1",
"statements": [
{
"body": {
"nativeSrc": "2612:63:1",
"nodeType": "YulBlock",
"src": "2612:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "start",
"nativeSrc": "2656:5:1",
"nodeType": "YulIdentifier",
"src": "2656:5:1"
},
{
"kind": "number",
"nativeSrc": "2663:1:1",
"nodeType": "YulLiteral",
"src": "2663:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "storage_set_to_zero_t_uint256",
"nativeSrc": "2626:29:1",
"nodeType": "YulIdentifier",
"src": "2626:29:1"
},
"nativeSrc": "2626:39:1",
"nodeType": "YulFunctionCall",
"src": "2626:39:1"
},
"nativeSrc": "2626:39:1",
"nodeType": "YulExpressionStatement",
"src": "2626:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "start",
"nativeSrc": "2565:5:1",
"nodeType": "YulIdentifier",
"src": "2565:5:1"
},
{
"name": "end",
"nativeSrc": "2572:3:1",
"nodeType": "YulIdentifier",
"src": "2572:3:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "2562:2:1",
"nodeType": "YulIdentifier",
"src": "2562:2:1"
},
"nativeSrc": "2562:14:1",
"nodeType": "YulFunctionCall",
"src": "2562:14:1"
},
"nativeSrc": "2555:120:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "2577:26:1",
"nodeType": "YulBlock",
"src": "2577:26:1",
"statements": [
{
"nativeSrc": "2579:22:1",
"nodeType": "YulAssignment",
"src": "2579:22:1",
"value": {
"arguments": [
{
"name": "start",
"nativeSrc": "2592:5:1",
"nodeType": "YulIdentifier",
"src": "2592:5:1"
},
{
"kind": "number",
"nativeSrc": "2599:1:1",
"nodeType": "YulLiteral",
"src": "2599:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2588:3:1",
"nodeType": "YulIdentifier",
"src": "2588:3:1"
},
"nativeSrc": "2588:13:1",
"nodeType": "YulFunctionCall",
"src": "2588:13:1"
},
"variableNames": [
{
"name": "start",
"nativeSrc": "2579:5:1",
"nodeType": "YulIdentifier",
"src": "2579:5:1"
}
]
}
]
},
"pre": {
"nativeSrc": "2559:2:1",
"nodeType": "YulBlock",
"src": "2559:2:1",
"statements": []
},
"src": "2555:120:1"
}
]
},
"name": "clear_storage_range_t_bytes1",
"nativeSrc": "2495:186:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "start",
"nativeSrc": "2533:5:1",
"nodeType": "YulTypedName",
"src": "2533:5:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "2540:3:1",
"nodeType": "YulTypedName",
"src": "2540:3:1",
"type": ""
}
],
"src": "2495:186:1"
},
{
"body": {
"nativeSrc": "2766:464:1",
"nodeType": "YulBlock",
"src": "2766:464:1",
"statements": [
{
"body": {
"nativeSrc": "2792:431:1",
"nodeType": "YulBlock",
"src": "2792:431:1",
"statements": [
{
"nativeSrc": "2806:54:1",
"nodeType": "YulVariableDeclaration",
"src": "2806:54:1",
"value": {
"arguments": [
{
"name": "array",
"nativeSrc": "2854:5:1",
"nodeType": "YulIdentifier",
"src": "2854:5:1"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nativeSrc": "2822:31:1",
"nodeType": "YulIdentifier",
"src": "2822:31:1"
},
"nativeSrc": "2822:38:1",
"nodeType": "YulFunctionCall",
"src": "2822:38:1"
},
"variables": [
{
"name": "dataArea",
"nativeSrc": "2810:8:1",
"nodeType": "YulTypedName",
"src": "2810:8:1",
"type": ""
}
]
},
{
"nativeSrc": "2873:63:1",
"nodeType": "YulVariableDeclaration",
"src": "2873:63:1",
"value": {
"arguments": [
{
"name": "dataArea",
"nativeSrc": "2896:8:1",
"nodeType": "YulIdentifier",
"src": "2896:8:1"
},
{
"arguments": [
{
"name": "startIndex",
"nativeSrc": "2924:10:1",
"nodeType": "YulIdentifier",
"src": "2924:10:1"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nativeSrc": "2906:17:1",
"nodeType": "YulIdentifier",
"src": "2906:17:1"
},
"nativeSrc": "2906:29:1",
"nodeType": "YulFunctionCall",
"src": "2906:29:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2892:3:1",
"nodeType": "YulIdentifier",
"src": "2892:3:1"
},
"nativeSrc": "2892:44:1",
"nodeType": "YulFunctionCall",
"src": "2892:44:1"
},
"variables": [
{
"name": "deleteStart",
"nativeSrc": "2877:11:1",
"nodeType": "YulTypedName",
"src": "2877:11:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "3093:27:1",
"nodeType": "YulBlock",
"src": "3093:27:1",
"statements": [
{
"nativeSrc": "3095:23:1",
"nodeType": "YulAssignment",
"src": "3095:23:1",
"value": {
"name": "dataArea",
"nativeSrc": "3110:8:1",
"nodeType": "YulIdentifier",
"src": "3110:8:1"
},
"variableNames": [
{
"name": "deleteStart",
"nativeSrc": "3095:11:1",
"nodeType": "YulIdentifier",
"src": "3095:11:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "startIndex",
"nativeSrc": "3077:10:1",
"nodeType": "YulIdentifier",
"src": "3077:10:1"
},
{
"kind": "number",
"nativeSrc": "3089:2:1",
"nodeType": "YulLiteral",
"src": "3089:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "3074:2:1",
"nodeType": "YulIdentifier",
"src": "3074:2:1"
},
"nativeSrc": "3074:18:1",
"nodeType": "YulFunctionCall",
"src": "3074:18:1"
},
"nativeSrc": "3071:49:1",
"nodeType": "YulIf",
"src": "3071:49:1"
},
{
"expression": {
"arguments": [
{
"name": "deleteStart",
"nativeSrc": "3162:11:1",
"nodeType": "YulIdentifier",
"src": "3162:11:1"
},
{
"arguments": [
{
"name": "dataArea",
"nativeSrc": "3179:8:1",
"nodeType": "YulIdentifier",
"src": "3179:8:1"
},
{
"arguments": [
{
"name": "len",
"nativeSrc": "3207:3:1",
"nodeType": "YulIdentifier",
"src": "3207:3:1"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nativeSrc": "3189:17:1",
"nodeType": "YulIdentifier",
"src": "3189:17:1"
},
"nativeSrc": "3189:22:1",
"nodeType": "YulFunctionCall",
"src": "3189:22:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3175:3:1",
"nodeType": "YulIdentifier",
"src": "3175:3:1"
},
"nativeSrc": "3175:37:1",
"nodeType": "YulFunctionCall",
"src": "3175:37:1"
}
],
"functionName": {
"name": "clear_storage_range_t_bytes1",
"nativeSrc": "3133:28:1",
"nodeType": "YulIdentifier",
"src": "3133:28:1"
},
"nativeSrc": "3133:80:1",
"nodeType": "YulFunctionCall",
"src": "3133:80:1"
},
"nativeSrc": "3133:80:1",
"nodeType": "YulExpressionStatement",
"src": "3133:80:1"
}
]
},
"condition": {
"arguments": [
{
"name": "len",
"nativeSrc": "2783:3:1",
"nodeType": "YulIdentifier",
"src": "2783:3:1"
},
{
"kind": "number",
"nativeSrc": "2788:2:1",
"nodeType": "YulLiteral",
"src": "2788:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "2780:2:1",
"nodeType": "YulIdentifier",
"src": "2780:2:1"
},
"nativeSrc": "2780:11:1",
"nodeType": "YulFunctionCall",
"src": "2780:11:1"
},
"nativeSrc": "2777:446:1",
"nodeType": "YulIf",
"src": "2777:446:1"
}
]
},
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nativeSrc": "2687:543:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "array",
"nativeSrc": "2742:5:1",
"nodeType": "YulTypedName",
"src": "2742:5:1",
"type": ""
},
{
"name": "len",
"nativeSrc": "2749:3:1",
"nodeType": "YulTypedName",
"src": "2749:3:1",
"type": ""
},
{
"name": "startIndex",
"nativeSrc": "2754:10:1",
"nodeType": "YulTypedName",
"src": "2754:10:1",
"type": ""
}
],
"src": "2687:543:1"
},
{
"body": {
"nativeSrc": "3299:54:1",
"nodeType": "YulBlock",
"src": "3299:54:1",
"statements": [
{
"nativeSrc": "3309:37:1",
"nodeType": "YulAssignment",
"src": "3309:37:1",
"value": {
"arguments": [
{
"name": "bits",
"nativeSrc": "3334:4:1",
"nodeType": "YulIdentifier",
"src": "3334:4:1"
},
{
"name": "value",
"nativeSrc": "3340:5:1",
"nodeType": "YulIdentifier",
"src": "3340:5:1"
}
],
"functionName": {
"name": "shr",
"nativeSrc": "3330:3:1",
"nodeType": "YulIdentifier",
"src": "3330:3:1"
},
"nativeSrc": "3330:16:1",
"nodeType": "YulFunctionCall",
"src": "3330:16:1"
},
"variableNames": [
{
"name": "newValue",
"nativeSrc": "3309:8:1",
"nodeType": "YulIdentifier",
"src": "3309:8:1"
}
]
}
]
},
"name": "shift_right_unsigned_dynamic",
"nativeSrc": "3236:117:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nativeSrc": "3274:4:1",
"nodeType": "YulTypedName",
"src": "3274:4:1",
"type": ""
},
{
"name": "value",
"nativeSrc": "3280:5:1",
"nodeType": "YulTypedName",
"src": "3280:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nativeSrc": "3290:8:1",
"nodeType": "YulTypedName",
"src": "3290:8:1",
"type": ""
}
],
"src": "3236:117:1"
},
{
"body": {
"nativeSrc": "3410:118:1",
"nodeType": "YulBlock",
"src": "3410:118:1",
"statements": [
{
"nativeSrc": "3420:68:1",
"nodeType": "YulVariableDeclaration",
"src": "3420:68:1",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nativeSrc": "3469:1:1",
"nodeType": "YulLiteral",
"src": "3469:1:1",
"type": "",
"value": "8"
},
{
"name": "bytes",
"nativeSrc": "3472:5:1",
"nodeType": "YulIdentifier",
"src": "3472:5:1"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "3465:3:1",
"nodeType": "YulIdentifier",
"src": "3465:3:1"
},
"nativeSrc": "3465:13:1",
"nodeType": "YulFunctionCall",
"src": "3465:13:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "3484:1:1",
"nodeType": "YulLiteral",
"src": "3484:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nativeSrc": "3480:3:1",
"nodeType": "YulIdentifier",
"src": "3480:3:1"
},
"nativeSrc": "3480:6:1",
"nodeType": "YulFunctionCall",
"src": "3480:6:1"
}
],
"functionName": {
"name": "shift_right_unsigned_dynamic",
"nativeSrc": "3436:28:1",
"nodeType": "YulIdentifier",
"src": "3436:28:1"
},
"nativeSrc": "3436:51:1",
"nodeType": "YulFunctionCall",
"src": "3436:51:1"
}
],
"functionName": {
"name": "not",
"nativeSrc": "3432:3:1",
"nodeType": "YulIdentifier",
"src": "3432:3:1"
},
"nativeSrc": "3432:56:1",
"nodeType": "YulFunctionCall",
"src": "3432:56:1"
},
"variables": [
{
"name": "mask",
"nativeSrc": "3424:4:1",
"nodeType": "YulTypedName",
"src": "3424:4:1",
"type": ""
}
]
},
{
"nativeSrc": "3497:25:1",
"nodeType": "YulAssignment",
"src": "3497:25:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "3511:4:1",
"nodeType": "YulIdentifier",
"src": "3511:4:1"
},
{
"name": "mask",
"nativeSrc": "3517:4:1",
"nodeType": "YulIdentifier",
"src": "3517:4:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "3507:3:1",
"nodeType": "YulIdentifier",
"src": "3507:3:1"
},
"nativeSrc": "3507:15:1",
"nodeType": "YulFunctionCall",
"src": "3507:15:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "3497:6:1",
"nodeType": "YulIdentifier",
"src": "3497:6:1"
}
]
}
]
},
"name": "mask_bytes_dynamic",
"nativeSrc": "3359:169:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "3387:4:1",
"nodeType": "YulTypedName",
"src": "3387:4:1",
"type": ""
},
{
"name": "bytes",
"nativeSrc": "3393:5:1",
"nodeType": "YulTypedName",
"src": "3393:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "3403:6:1",
"nodeType": "YulTypedName",
"src": "3403:6:1",
"type": ""
}
],
"src": "3359:169:1"
},
{
"body": {
"nativeSrc": "3614:214:1",
"nodeType": "YulBlock",
"src": "3614:214:1",
"statements": [
{
"nativeSrc": "3747:37:1",
"nodeType": "YulAssignment",
"src": "3747:37:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "3774:4:1",
"nodeType": "YulIdentifier",
"src": "3774:4:1"
},
{
"name": "len",
"nativeSrc": "3780:3:1",
"nodeType": "YulIdentifier",
"src": "3780:3:1"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nativeSrc": "3755:18:1",
"nodeType": "YulIdentifier",
"src": "3755:18:1"
},
"nativeSrc": "3755:29:1",
"nodeType": "YulFunctionCall",
"src": "3755:29:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "3747:4:1",
"nodeType": "YulIdentifier",
"src": "3747:4:1"
}
]
},
{
"nativeSrc": "3793:29:1",
"nodeType": "YulAssignment",
"src": "3793:29:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "3804:4:1",
"nodeType": "YulIdentifier",
"src": "3804:4:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "3814:1:1",
"nodeType": "YulLiteral",
"src": "3814:1:1",
"type": "",
"value": "2"
},
{
"name": "len",
"nativeSrc": "3817:3:1",
"nodeType": "YulIdentifier",
"src": "3817:3:1"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "3810:3:1",
"nodeType": "YulIdentifier",
"src": "3810:3:1"
},
"nativeSrc": "3810:11:1",
"nodeType": "YulFunctionCall",
"src": "3810:11:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "3801:2:1",
"nodeType": "YulIdentifier",
"src": "3801:2:1"
},
"nativeSrc": "3801:21:1",
"nodeType": "YulFunctionCall",
"src": "3801:21:1"
},
"variableNames": [
{
"name": "used",
"nativeSrc": "3793:4:1",
"nodeType": "YulIdentifier",
"src": "3793:4:1"
}
]
}
]
},
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nativeSrc": "3533:295:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "3595:4:1",
"nodeType": "YulTypedName",
"src": "3595:4:1",
"type": ""
},
{
"name": "len",
"nativeSrc": "3601:3:1",
"nodeType": "YulTypedName",
"src": "3601:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "used",
"nativeSrc": "3609:4:1",
"nodeType": "YulTypedName",
"src": "3609:4:1",
"type": ""
}
],
"src": "3533:295:1"
},
{
"body": {
"nativeSrc": "3925:1303:1",
"nodeType": "YulBlock",
"src": "3925:1303:1",
"statements": [
{
"nativeSrc": "3936:51:1",
"nodeType": "YulVariableDeclaration",
"src": "3936:51:1",
"value": {
"arguments": [
{
"name": "src",
"nativeSrc": "3983:3:1",
"nodeType": "YulIdentifier",
"src": "3983:3:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "3950:32:1",
"nodeType": "YulIdentifier",
"src": "3950:32:1"
},
"nativeSrc": "3950:37:1",
"nodeType": "YulFunctionCall",
"src": "3950:37:1"
},
"variables": [
{
"name": "newLen",
"nativeSrc": "3940:6:1",
"nodeType": "YulTypedName",
"src": "3940:6:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "4072:22:1",
"nodeType": "YulBlock",
"src": "4072:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "4074:16:1",
"nodeType": "YulIdentifier",
"src": "4074:16:1"
},
"nativeSrc": "4074:18:1",
"nodeType": "YulFunctionCall",
"src": "4074:18:1"
},
"nativeSrc": "4074:18:1",
"nodeType": "YulExpressionStatement",
"src": "4074:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "4044:6:1",
"nodeType": "YulIdentifier",
"src": "4044:6:1"
},
{
"kind": "number",
"nativeSrc": "4052:18:1",
"nodeType": "YulLiteral",
"src": "4052:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "4041:2:1",
"nodeType": "YulIdentifier",
"src": "4041:2:1"
},
"nativeSrc": "4041:30:1",
"nodeType": "YulFunctionCall",
"src": "4041:30:1"
},
"nativeSrc": "4038:56:1",
"nodeType": "YulIf",
"src": "4038:56:1"
},
{
"nativeSrc": "4104:52:1",
"nodeType": "YulVariableDeclaration",
"src": "4104:52:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "slot",
"nativeSrc": "4150:4:1",
"nodeType": "YulIdentifier",
"src": "4150:4:1"
}
],
"functionName": {
"name": "sload",
"nativeSrc": "4144:5:1",
"nodeType": "YulIdentifier",
"src": "4144:5:1"
},
"nativeSrc": "4144:11:1",
"nodeType": "YulFunctionCall",
"src": "4144:11:1"
}
],
"functionName": {
"name": "extract_byte_array_length",
"nativeSrc": "4118:25:1",
"nodeType": "YulIdentifier",
"src": "4118:25:1"
},
"nativeSrc": "4118:38:1",
"nodeType": "YulFunctionCall",
"src": "4118:38:1"
},
"variables": [
{
"name": "oldLen",
"nativeSrc": "4108:6:1",
"nodeType": "YulTypedName",
"src": "4108:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "4249:4:1",
"nodeType": "YulIdentifier",
"src": "4249:4:1"
},
{
"name": "oldLen",
"nativeSrc": "4255:6:1",
"nodeType": "YulIdentifier",
"src": "4255:6:1"
},
{
"name": "newLen",
"nativeSrc": "4263:6:1",
"nodeType": "YulIdentifier",
"src": "4263:6:1"
}
],
"functionName": {
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nativeSrc": "4203:45:1",
"nodeType": "YulIdentifier",
"src": "4203:45:1"
},
"nativeSrc": "4203:67:1",
"nodeType": "YulFunctionCall",
"src": "4203:67:1"
},
"nativeSrc": "4203:67:1",
"nodeType": "YulExpressionStatement",
"src": "4203:67:1"
},
{
"nativeSrc": "4280:18:1",
"nodeType": "YulVariableDeclaration",
"src": "4280:18:1",
"value": {
"kind": "number",
"nativeSrc": "4297:1:1",
"nodeType": "YulLiteral",
"src": "4297:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "srcOffset",
"nativeSrc": "4284:9:1",
"nodeType": "YulTypedName",
"src": "4284:9:1",
"type": ""
}
]
},
{
"nativeSrc": "4308:17:1",
"nodeType": "YulAssignment",
"src": "4308:17:1",
"value": {
"kind": "number",
"nativeSrc": "4321:4:1",
"nodeType": "YulLiteral",
"src": "4321:4:1",
"type": "",
"value": "0x20"
},
"variableNames": [
{
"name": "srcOffset",
"nativeSrc": "4308:9:1",
"nodeType": "YulIdentifier",
"src": "4308:9:1"
}
]
},
{
"cases": [
{
"body": {
"nativeSrc": "4372:611:1",
"nodeType": "YulBlock",
"src": "4372:611:1",
"statements": [
{
"nativeSrc": "4386:37:1",
"nodeType": "YulVariableDeclaration",
"src": "4386:37:1",
"value": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "4405:6:1",
"nodeType": "YulIdentifier",
"src": "4405:6:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "4417:4:1",
"nodeType": "YulLiteral",
"src": "4417:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "not",
"nativeSrc": "4413:3:1",
"nodeType": "YulIdentifier",
"src": "4413:3:1"
},
"nativeSrc": "4413:9:1",
"nodeType": "YulFunctionCall",
"src": "4413:9:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "4401:3:1",
"nodeType": "YulIdentifier",
"src": "4401:3:1"
},
"nativeSrc": "4401:22:1",
"nodeType": "YulFunctionCall",
"src": "4401:22:1"
},
"variables": [
{
"name": "loopEnd",
"nativeSrc": "4390:7:1",
"nodeType": "YulTypedName",
"src": "4390:7:1",
"type": ""
}
]
},
{
"nativeSrc": "4437:51:1",
"nodeType": "YulVariableDeclaration",
"src": "4437:51:1",
"value": {
"arguments": [
{
"name": "slot",
"nativeSrc": "4483:4:1",
"nodeType": "YulIdentifier",
"src": "4483:4:1"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nativeSrc": "4451:31:1",
"nodeType": "YulIdentifier",
"src": "4451:31:1"
},
"nativeSrc": "4451:37:1",
"nodeType": "YulFunctionCall",
"src": "4451:37:1"
},
"variables": [
{
"name": "dstPtr",
"nativeSrc": "4441:6:1",
"nodeType": "YulTypedName",
"src": "4441:6:1",
"type": ""
}
]
},
{
"nativeSrc": "4501:10:1",
"nodeType": "YulVariableDeclaration",
"src": "4501:10:1",
"value": {
"kind": "number",
"nativeSrc": "4510:1:1",
"nodeType": "YulLiteral",
"src": "4510:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nativeSrc": "4505:1:1",
"nodeType": "YulTypedName",
"src": "4505:1:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "4569:163:1",
"nodeType": "YulBlock",
"src": "4569:163:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "4594:6:1",
"nodeType": "YulIdentifier",
"src": "4594:6:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "4612:3:1",
"nodeType": "YulIdentifier",
"src": "4612:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "4617:9:1",
"nodeType": "YulIdentifier",
"src": "4617:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4608:3:1",
"nodeType": "YulIdentifier",
"src": "4608:3:1"
},
"nativeSrc": "4608:19:1",
"nodeType": "YulFunctionCall",
"src": "4608:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "4602:5:1",
"nodeType": "YulIdentifier",
"src": "4602:5:1"
},
"nativeSrc": "4602:26:1",
"nodeType": "YulFunctionCall",
"src": "4602:26:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "4587:6:1",
"nodeType": "YulIdentifier",
"src": "4587:6:1"
},
"nativeSrc": "4587:42:1",
"nodeType": "YulFunctionCall",
"src": "4587:42:1"
},
"nativeSrc": "4587:42:1",
"nodeType": "YulExpressionStatement",
"src": "4587:42:1"
},
{
"nativeSrc": "4646:24:1",
"nodeType": "YulAssignment",
"src": "4646:24:1",
"value": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "4660:6:1",
"nodeType": "YulIdentifier",
"src": "4660:6:1"
},
{
"kind": "number",
"nativeSrc": "4668:1:1",
"nodeType": "YulLiteral",
"src": "4668:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4656:3:1",
"nodeType": "YulIdentifier",
"src": "4656:3:1"
},
"nativeSrc": "4656:14:1",
"nodeType": "YulFunctionCall",
"src": "4656:14:1"
},
"variableNames": [
{
"name": "dstPtr",
"nativeSrc": "4646:6:1",
"nodeType": "YulIdentifier",
"src": "4646:6:1"
}
]
},
{
"nativeSrc": "4687:31:1",
"nodeType": "YulAssignment",
"src": "4687:31:1",
"value": {
"arguments": [
{
"name": "srcOffset",
"nativeSrc": "4704:9:1",
"nodeType": "YulIdentifier",
"src": "4704:9:1"
},
{
"kind": "number",
"nativeSrc": "4715:2:1",
"nodeType": "YulLiteral",
"src": "4715:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4700:3:1",
"nodeType": "YulIdentifier",
"src": "4700:3:1"
},
"nativeSrc": "4700:18:1",
"nodeType": "YulFunctionCall",
"src": "4700:18:1"
},
"variableNames": [
{
"name": "srcOffset",
"nativeSrc": "4687:9:1",
"nodeType": "YulIdentifier",
"src": "4687:9:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nativeSrc": "4535:1:1",
"nodeType": "YulIdentifier",
"src": "4535:1:1"
},
{
"name": "loopEnd",
"nativeSrc": "4538:7:1",
"nodeType": "YulIdentifier",
"src": "4538:7:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "4532:2:1",
"nodeType": "YulIdentifier",
"src": "4532:2:1"
},
"nativeSrc": "4532:14:1",
"nodeType": "YulFunctionCall",
"src": "4532:14:1"
},
"nativeSrc": "4524:208:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "4547:21:1",
"nodeType": "YulBlock",
"src": "4547:21:1",
"statements": [
{
"nativeSrc": "4549:17:1",
"nodeType": "YulAssignment",
"src": "4549:17:1",
"value": {
"arguments": [
{
"name": "i",
"nativeSrc": "4558:1:1",
"nodeType": "YulIdentifier",
"src": "4558:1:1"
},
{
"kind": "number",
"nativeSrc": "4561:4:1",
"nodeType": "YulLiteral",
"src": "4561:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4554:3:1",
"nodeType": "YulIdentifier",
"src": "4554:3:1"
},
"nativeSrc": "4554:12:1",
"nodeType": "YulFunctionCall",
"src": "4554:12:1"
},
"variableNames": [
{
"name": "i",
"nativeSrc": "4549:1:1",
"nodeType": "YulIdentifier",
"src": "4549:1:1"
}
]
}
]
},
"pre": {
"nativeSrc": "4528:3:1",
"nodeType": "YulBlock",
"src": "4528:3:1",
"statements": []
},
"src": "4524:208:1"
},
{
"body": {
"nativeSrc": "4768:156:1",
"nodeType": "YulBlock",
"src": "4768:156:1",
"statements": [
{
"nativeSrc": "4786:43:1",
"nodeType": "YulVariableDeclaration",
"src": "4786:43:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "4813:3:1",
"nodeType": "YulIdentifier",
"src": "4813:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "4818:9:1",
"nodeType": "YulIdentifier",
"src": "4818:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4809:3:1",
"nodeType": "YulIdentifier",
"src": "4809:3:1"
},
"nativeSrc": "4809:19:1",
"nodeType": "YulFunctionCall",
"src": "4809:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "4803:5:1",
"nodeType": "YulIdentifier",
"src": "4803:5:1"
},
"nativeSrc": "4803:26:1",
"nodeType": "YulFunctionCall",
"src": "4803:26:1"
},
"variables": [
{
"name": "lastValue",
"nativeSrc": "4790:9:1",
"nodeType": "YulTypedName",
"src": "4790:9:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "4853:6:1",
"nodeType": "YulIdentifier",
"src": "4853:6:1"
},
{
"arguments": [
{
"name": "lastValue",
"nativeSrc": "4880:9:1",
"nodeType": "YulIdentifier",
"src": "4880:9:1"
},
{
"arguments": [
{
"name": "newLen",
"nativeSrc": "4895:6:1",
"nodeType": "YulIdentifier",
"src": "4895:6:1"
},
{
"kind": "number",
"nativeSrc": "4903:4:1",
"nodeType": "YulLiteral",
"src": "4903:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "4891:3:1",
"nodeType": "YulIdentifier",
"src": "4891:3:1"
},
"nativeSrc": "4891:17:1",
"nodeType": "YulFunctionCall",
"src": "4891:17:1"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nativeSrc": "4861:18:1",
"nodeType": "YulIdentifier",
"src": "4861:18:1"
},
"nativeSrc": "4861:48:1",
"nodeType": "YulFunctionCall",
"src": "4861:48:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "4846:6:1",
"nodeType": "YulIdentifier",
"src": "4846:6:1"
},
"nativeSrc": "4846:64:1",
"nodeType": "YulFunctionCall",
"src": "4846:64:1"
},
"nativeSrc": "4846:64:1",
"nodeType": "YulExpressionStatement",
"src": "4846:64:1"
}
]
},
"condition": {
"arguments": [
{
"name": "loopEnd",
"nativeSrc": "4751:7:1",
"nodeType": "YulIdentifier",
"src": "4751:7:1"
},
{
"name": "newLen",
"nativeSrc": "4760:6:1",
"nodeType": "YulIdentifier",
"src": "4760:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "4748:2:1",
"nodeType": "YulIdentifier",
"src": "4748:2:1"
},
"nativeSrc": "4748:19:1",
"nodeType": "YulFunctionCall",
"src": "4748:19:1"
},
"nativeSrc": "4745:179:1",
"nodeType": "YulIf",
"src": "4745:179:1"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "4944:4:1",
"nodeType": "YulIdentifier",
"src": "4944:4:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "newLen",
"nativeSrc": "4958:6:1",
"nodeType": "YulIdentifier",
"src": "4958:6:1"
},
{
"kind": "number",
"nativeSrc": "4966:1:1",
"nodeType": "YulLiteral",
"src": "4966:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "4954:3:1",
"nodeType": "YulIdentifier",
"src": "4954:3:1"
},
"nativeSrc": "4954:14:1",
"nodeType": "YulFunctionCall",
"src": "4954:14:1"
},
{
"kind": "number",
"nativeSrc": "4970:1:1",
"nodeType": "YulLiteral",
"src": "4970:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4950:3:1",
"nodeType": "YulIdentifier",
"src": "4950:3:1"
},
"nativeSrc": "4950:22:1",
"nodeType": "YulFunctionCall",
"src": "4950:22:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "4937:6:1",
"nodeType": "YulIdentifier",
"src": "4937:6:1"
},
"nativeSrc": "4937:36:1",
"nodeType": "YulFunctionCall",
"src": "4937:36:1"
},
"nativeSrc": "4937:36:1",
"nodeType": "YulExpressionStatement",
"src": "4937:36:1"
}
]
},
"nativeSrc": "4365:618:1",
"nodeType": "YulCase",
"src": "4365:618:1",
"value": {
"kind": "number",
"nativeSrc": "4370:1:1",
"nodeType": "YulLiteral",
"src": "4370:1:1",
"type": "",
"value": "1"
}
},
{
"body": {
"nativeSrc": "5000:222:1",
"nodeType": "YulBlock",
"src": "5000:222:1",
"statements": [
{
"nativeSrc": "5014:14:1",
"nodeType": "YulVariableDeclaration",
"src": "5014:14:1",
"value": {
"kind": "number",
"nativeSrc": "5027:1:1",
"nodeType": "YulLiteral",
"src": "5027:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "value",
"nativeSrc": "5018:5:1",
"nodeType": "YulTypedName",
"src": "5018:5:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "5051:67:1",
"nodeType": "YulBlock",
"src": "5051:67:1",
"statements": [
{
"nativeSrc": "5069:35:1",
"nodeType": "YulAssignment",
"src": "5069:35:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "5088:3:1",
"nodeType": "YulIdentifier",
"src": "5088:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "5093:9:1",
"nodeType": "YulIdentifier",
"src": "5093:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5084:3:1",
"nodeType": "YulIdentifier",
"src": "5084:3:1"
},
"nativeSrc": "5084:19:1",
"nodeType": "YulFunctionCall",
"src": "5084:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "5078:5:1",
"nodeType": "YulIdentifier",
"src": "5078:5:1"
},
"nativeSrc": "5078:26:1",
"nodeType": "YulFunctionCall",
"src": "5078:26:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "5069:5:1",
"nodeType": "YulIdentifier",
"src": "5069:5:1"
}
]
}
]
},
"condition": {
"name": "newLen",
"nativeSrc": "5044:6:1",
"nodeType": "YulIdentifier",
"src": "5044:6:1"
},
"nativeSrc": "5041:77:1",
"nodeType": "YulIf",
"src": "5041:77:1"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "5138:4:1",
"nodeType": "YulIdentifier",
"src": "5138:4:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "5197:5:1",
"nodeType": "YulIdentifier",
"src": "5197:5:1"
},
{
"name": "newLen",
"nativeSrc": "5204:6:1",
"nodeType": "YulIdentifier",
"src": "5204:6:1"
}
],
"functionName": {
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nativeSrc": "5144:52:1",
"nodeType": "YulIdentifier",
"src": "5144:52:1"
},
"nativeSrc": "5144:67:1",
"nodeType": "YulFunctionCall",
"src": "5144:67:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "5131:6:1",
"nodeType": "YulIdentifier",
"src": "5131:6:1"
},
"nativeSrc": "5131:81:1",
"nodeType": "YulFunctionCall",
"src": "5131:81:1"
},
"nativeSrc": "5131:81:1",
"nodeType": "YulExpressionStatement",
"src": "5131:81:1"
}
]
},
"nativeSrc": "4992:230:1",
"nodeType": "YulCase",
"src": "4992:230:1",
"value": "default"
}
],
"expression": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "4345:6:1",
"nodeType": "YulIdentifier",
"src": "4345:6:1"
},
{
"kind": "number",
"nativeSrc": "4353:2:1",
"nodeType": "YulLiteral",
"src": "4353:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "4342:2:1",
"nodeType": "YulIdentifier",
"src": "4342:2:1"
},
"nativeSrc": "4342:14:1",
"nodeType": "YulFunctionCall",
"src": "4342:14:1"
},
"nativeSrc": "4335:887:1",
"nodeType": "YulSwitch",
"src": "4335:887:1"
}
]
},
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage",
"nativeSrc": "3833:1395:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "3914:4:1",
"nodeType": "YulTypedName",
"src": "3914:4:1",
"type": ""
},
{
"name": "src",
"nativeSrc": "3920:3:1",
"nodeType": "YulTypedName",
"src": "3920:3:1",
"type": ""
}
],
"src": "3833:1395:1"
}
]
},
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060400160405280600b81526020017f48656c6c6f576f726c64210000000000000000000000000000000000000000008152505f90816100479190610293565b50348015610053575f80fd5b50610362565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806100d457607f821691505b6020821081036100e7576100e6610090565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026101497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261010e565b610153868361010e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61019761019261018d8461016b565b610174565b61016b565b9050919050565b5f819050919050565b6101b08361017d565b6101c46101bc8261019e565b84845461011a565b825550505050565b5f90565b6101d86101cc565b6101e38184846101a7565b505050565b5b81811015610206576101fb5f826101d0565b6001810190506101e9565b5050565b601f82111561024b5761021c816100ed565b610225846100ff565b81016020851015610234578190505b610248610240856100ff565b8301826101e8565b50505b505050565b5f82821c905092915050565b5f61026b5f1984600802610250565b1980831691505092915050565b5f610283838361025c565b9150826002028217905092915050565b61029c82610059565b67ffffffffffffffff8111156102b5576102b4610063565b5b6102bf82546100bd565b6102ca82828561020a565b5f60209050601f8311600181146102fb575f84156102e9578287015190505b6102f38582610278565b86555061035a565b601f198416610309866100ed565b5f5b828110156103305784890151825560018201915060208501945060208101905061030b565b8683101561034d5784890151610349601f89168261025c565b8355505b6001600288020188555050505b505050505050565b61032f8061036f5f395ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c80632f2f48591461004e57806360fe47b11461006c5780636d4ce63c14610088578063c6b91540146100a6575b5f80fd5b6100566100c4565b60405161006391906101f2565b60405180910390f35b61008660048036038101906100819190610249565b61014f565b005b610090610159565b60405161009d9190610283565b60405180910390f35b6100ae610162565b6040516100bb9190610283565b60405180910390f35b5f80546100d0906102c9565b80601f01602080910402602001604051908101604052809291908181526020018280546100fc906102c9565b80156101475780601f1061011e57610100808354040283529160200191610147565b820191905f5260205f20905b81548152906001019060200180831161012a57829003601f168201915b505050505081565b8060018190555050565b5f600154905090565b60015481565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561019f578082015181840152602081019050610184565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6101c482610168565b6101ce8185610172565b93506101de818560208601610182565b6101e7816101aa565b840191505092915050565b5f6020820190508181035f83015261020a81846101ba565b905092915050565b5f80fd5b5f819050919050565b61022881610216565b8114610232575f80fd5b50565b5f813590506102438161021f565b92915050565b5f6020828403121561025e5761025d610212565b5b5f61026b84828501610235565b91505092915050565b61027d81610216565b82525050565b5f6020820190506102965f830184610274565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806102e057607f821691505b6020821081036102f3576102f261029c565b5b5091905056fea2646970667358221220454e927935d1b200da6cd8d9155c1c3c554711e28bc3cefc5da95f538df7ba6d64736f6c63430008160033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F576F726C6421000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH0 SWAP1 DUP2 PUSH2 0x47 SWAP2 SWAP1 PUSH2 0x293 JUMP JUMPDEST POP CALLVALUE DUP1 ISZERO PUSH2 0x53 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH2 0x362 JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0xD4 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0xE7 JUMPI PUSH2 0xE6 PUSH2 0x90 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP DUP2 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x8 DUP4 MUL PUSH2 0x149 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x10E JUMP JUMPDEST PUSH2 0x153 DUP7 DUP4 PUSH2 0x10E JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x197 PUSH2 0x192 PUSH2 0x18D DUP5 PUSH2 0x16B JUMP JUMPDEST PUSH2 0x174 JUMP JUMPDEST PUSH2 0x16B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1B0 DUP4 PUSH2 0x17D JUMP JUMPDEST PUSH2 0x1C4 PUSH2 0x1BC DUP3 PUSH2 0x19E JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x11A JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH0 SWAP1 JUMP JUMPDEST PUSH2 0x1D8 PUSH2 0x1CC JUMP JUMPDEST PUSH2 0x1E3 DUP2 DUP5 DUP5 PUSH2 0x1A7 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x206 JUMPI PUSH2 0x1FB PUSH0 DUP3 PUSH2 0x1D0 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x1E9 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x24B JUMPI PUSH2 0x21C DUP2 PUSH2 0xED JUMP JUMPDEST PUSH2 0x225 DUP5 PUSH2 0xFF JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x234 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x248 PUSH2 0x240 DUP6 PUSH2 0xFF JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x1E8 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x26B PUSH0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x250 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x283 DUP4 DUP4 PUSH2 0x25C JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x29C DUP3 PUSH2 0x59 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2B5 JUMPI PUSH2 0x2B4 PUSH2 0x63 JUMP JUMPDEST JUMPDEST PUSH2 0x2BF DUP3 SLOAD PUSH2 0xBD JUMP JUMPDEST PUSH2 0x2CA DUP3 DUP3 DUP6 PUSH2 0x20A JUMP JUMPDEST PUSH0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x2FB JUMPI PUSH0 DUP5 ISZERO PUSH2 0x2E9 JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x2F3 DUP6 DUP3 PUSH2 0x278 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x35A JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x309 DUP7 PUSH2 0xED JUMP JUMPDEST PUSH0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x330 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x30B JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x34D JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x349 PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x25C JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x32F DUP1 PUSH2 0x36F PUSH0 CODECOPY PUSH0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2F2F4859 EQ PUSH2 0x4E JUMPI DUP1 PUSH4 0x60FE47B1 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x6D4CE63C EQ PUSH2 0x88 JUMPI DUP1 PUSH4 0xC6B91540 EQ PUSH2 0xA6 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x56 PUSH2 0xC4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x63 SWAP2 SWAP1 PUSH2 0x1F2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x86 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x81 SWAP2 SWAP1 PUSH2 0x249 JUMP JUMPDEST PUSH2 0x14F JUMP JUMPDEST STOP JUMPDEST PUSH2 0x90 PUSH2 0x159 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9D SWAP2 SWAP1 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAE PUSH2 0x162 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBB SWAP2 SWAP1 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH0 DUP1 SLOAD PUSH2 0xD0 SWAP1 PUSH2 0x2C9 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV 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 PUSH2 0xFC SWAP1 PUSH2 0x2C9 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x147 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x11E JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x147 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x12A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP1 PUSH1 0x1 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x19F JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x184 JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x1C4 DUP3 PUSH2 0x168 JUMP JUMPDEST PUSH2 0x1CE DUP2 DUP6 PUSH2 0x172 JUMP JUMPDEST SWAP4 POP PUSH2 0x1DE DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x182 JUMP JUMPDEST PUSH2 0x1E7 DUP2 PUSH2 0x1AA JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x20A DUP2 DUP5 PUSH2 0x1BA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x228 DUP2 PUSH2 0x216 JUMP JUMPDEST DUP2 EQ PUSH2 0x232 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x243 DUP2 PUSH2 0x21F JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x25E JUMPI PUSH2 0x25D PUSH2 0x212 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x26B DUP5 DUP3 DUP6 ADD PUSH2 0x235 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x27D DUP2 PUSH2 0x216 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x296 PUSH0 DUP4 ADD DUP5 PUSH2 0x274 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x2E0 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x2F3 JUMPI PUSH2 0x2F2 PUSH2 0x29C JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 GASLIMIT 0x4E SWAP3 PUSH26 0x35D1B200DA6CD8D9155C1C3C554711E28BC3CEFC5DA95F538DF7 0xBA PUSH14 0x64736F6C63430008160033000000 ",
"sourceMap": "58:229:0:-:0;;;84:40;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;58:229;;;;;;;;;;;;7:99:1;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:180::-;160:77;157:1;150:88;257:4;254:1;247:15;281:4;278:1;271:15;298:180;346:77;343:1;336:88;443:4;440:1;433:15;467:4;464:1;457:15;484:320;528:6;565:1;559:4;555:12;545:22;;612:1;606:4;602:12;633:18;623:81;;689:4;681:6;677:17;667:27;;623:81;751:2;743:6;740:14;720:18;717:38;714:84;;770:18;;:::i;:::-;714:84;535:269;484:320;;;:::o;810:141::-;859:4;882:3;874:11;;905:3;902:1;895:14;939:4;936:1;926:18;918:26;;810:141;;;:::o;957:93::-;994:6;1041:2;1036;1029:5;1025:14;1021:23;1011:33;;957:93;;;:::o;1056:107::-;1100:8;1150:5;1144:4;1140:16;1119:37;;1056:107;;;;:::o;1169:393::-;1238:6;1288:1;1276:10;1272:18;1311:97;1341:66;1330:9;1311:97;:::i;:::-;1429:39;1459:8;1448:9;1429:39;:::i;:::-;1417:51;;1501:4;1497:9;1490:5;1486:21;1477:30;;1550:4;1540:8;1536:19;1529:5;1526:30;1516:40;;1245:317;;1169:393;;;;;:::o;1568:77::-;1605:7;1634:5;1623:16;;1568:77;;;:::o;1651:60::-;1679:3;1700:5;1693:12;;1651:60;;;:::o;1717:142::-;1767:9;1800:53;1818:34;1827:24;1845:5;1827:24;:::i;:::-;1818:34;:::i;:::-;1800:53;:::i;:::-;1787:66;;1717:142;;;:::o;1865:75::-;1908:3;1929:5;1922:12;;1865:75;;;:::o;1946:269::-;2056:39;2087:7;2056:39;:::i;:::-;2117:91;2166:41;2190:16;2166:41;:::i;:::-;2158:6;2151:4;2145:11;2117:91;:::i;:::-;2111:4;2104:105;2022:193;1946:269;;;:::o;2221:73::-;2266:3;2221:73;:::o;2300:189::-;2377:32;;:::i;:::-;2418:65;2476:6;2468;2462:4;2418:65;:::i;:::-;2353:136;2300:189;;:::o;2495:186::-;2555:120;2572:3;2565:5;2562:14;2555:120;;;2626:39;2663:1;2656:5;2626:39;:::i;:::-;2599:1;2592:5;2588:13;2579:22;;2555:120;;;2495:186;;:::o;2687:543::-;2788:2;2783:3;2780:11;2777:446;;;2822:38;2854:5;2822:38;:::i;:::-;2906:29;2924:10;2906:29;:::i;:::-;2896:8;2892:44;3089:2;3077:10;3074:18;3071:49;;;3110:8;3095:23;;3071:49;3133:80;3189:22;3207:3;3189:22;:::i;:::-;3179:8;3175:37;3162:11;3133:80;:::i;:::-;2792:431;;2777:446;2687:543;;;:::o;3236:117::-;3290:8;3340:5;3334:4;3330:16;3309:37;;3236:117;;;;:::o;3359:169::-;3403:6;3436:51;3484:1;3480:6;3472:5;3469:1;3465:13;3436:51;:::i;:::-;3432:56;3517:4;3511;3507:15;3497:25;;3410:118;3359:169;;;;:::o;3533:295::-;3609:4;3755:29;3780:3;3774:4;3755:29;:::i;:::-;3747:37;;3817:3;3814:1;3810:11;3804:4;3801:21;3793:29;;3533:295;;;;:::o;3833:1395::-;3950:37;3983:3;3950:37;:::i;:::-;4052:18;4044:6;4041:30;4038:56;;;4074:18;;:::i;:::-;4038:56;4118:38;4150:4;4144:11;4118:38;:::i;:::-;4203:67;4263:6;4255;4249:4;4203:67;:::i;:::-;4297:1;4321:4;4308:17;;4353:2;4345:6;4342:14;4370:1;4365:618;;;;5027:1;5044:6;5041:77;;;5093:9;5088:3;5084:19;5078:26;5069:35;;5041:77;5144:67;5204:6;5197:5;5144:67;:::i;:::-;5138:4;5131:81;5000:222;4335:887;;4365:618;4417:4;4413:9;4405:6;4401:22;4451:37;4483:4;4451:37;:::i;:::-;4510:1;4524:208;4538:7;4535:1;4532:14;4524:208;;;4617:9;4612:3;4608:19;4602:26;4594:6;4587:42;4668:1;4660:6;4656:14;4646:24;;4715:2;4704:9;4700:18;4687:31;;4561:4;4558:1;4554:12;4549:17;;4524:208;;;4760:6;4751:7;4748:19;4745:179;;;4818:9;4813:3;4809:19;4803:26;4861:48;4903:4;4895:6;4891:17;4880:9;4861:48;:::i;:::-;4853:6;4846:64;4768:156;4745:179;4970:1;4966;4958:6;4954:14;4950:22;4944:4;4937:36;4372:611;;;4335:887;;3925:1303;;;3833:1395;;:::o;58:229:0:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@get_14": {
"entryPoint": 345,
"id": 14,
"parameterSlots": 0,
"returnSlots": 1
},
"@helloworld_4": {
"entryPoint": 196,
"id": 4,
"parameterSlots": 0,
"returnSlots": 0
},
"@myVar_6": {
"entryPoint": 354,
"id": 6,
"parameterSlots": 0,
"returnSlots": 0
},
"@set_24": {
"entryPoint": 335,
"id": 24,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_uint256": {
"entryPoint": 565,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 585,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 442,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 628,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 498,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 643,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 360,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 370,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 534,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 386,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 713,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 668,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 530,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 426,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 543,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:3228:1",
"nodeType": "YulBlock",
"src": "0:3228:1",
"statements": [
{
"body": {
"nativeSrc": "66:40:1",
"nodeType": "YulBlock",
"src": "66:40:1",
"statements": [
{
"nativeSrc": "77:22:1",
"nodeType": "YulAssignment",
"src": "77:22:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "93:5:1",
"nodeType": "YulIdentifier",
"src": "93:5:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "87:5:1",
"nodeType": "YulIdentifier",
"src": "87:5:1"
},
"nativeSrc": "87:12:1",
"nodeType": "YulFunctionCall",
"src": "87:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "77:6:1",
"nodeType": "YulIdentifier",
"src": "77:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "7:99:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "49:5:1",
"nodeType": "YulTypedName",
"src": "49:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "59:6:1",
"nodeType": "YulTypedName",
"src": "59:6:1",
"type": ""
}
],
"src": "7:99:1"
},
{
"body": {
"nativeSrc": "208:73:1",
"nodeType": "YulBlock",
"src": "208:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "225:3:1",
"nodeType": "YulIdentifier",
"src": "225:3:1"
},
{
"name": "length",
"nativeSrc": "230:6:1",
"nodeType": "YulIdentifier",
"src": "230:6:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "218:6:1",
"nodeType": "YulIdentifier",
"src": "218:6:1"
},
"nativeSrc": "218:19:1",
"nodeType": "YulFunctionCall",
"src": "218:19:1"
},
"nativeSrc": "218:19:1",
"nodeType": "YulExpressionStatement",
"src": "218:19:1"
},
{
"nativeSrc": "246:29:1",
"nodeType": "YulAssignment",
"src": "246:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "265:3:1",
"nodeType": "YulIdentifier",
"src": "265:3:1"
},
{
"kind": "number",
"nativeSrc": "270:4:1",
"nodeType": "YulLiteral",
"src": "270:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "261:3:1",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
"nativeSrc": "261:14:1",
"nodeType": "YulFunctionCall",
"src": "261:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nativeSrc": "246:11:1",
"nodeType": "YulIdentifier",
"src": "246:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "112:169:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "180:3:1",
"nodeType": "YulTypedName",
"src": "180:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "185:6:1",
"nodeType": "YulTypedName",
"src": "185:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nativeSrc": "196:11:1",
"nodeType": "YulTypedName",
"src": "196:11:1",
"type": ""
}
],
"src": "112:169:1"
},
{
"body": {
"nativeSrc": "349:184:1",
"nodeType": "YulBlock",
"src": "349:184:1",
"statements": [
{
"nativeSrc": "359:10:1",
"nodeType": "YulVariableDeclaration",
"src": "359:10:1",
"value": {
"kind": "number",
"nativeSrc": "368:1:1",
"nodeType": "YulLiteral",
"src": "368:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nativeSrc": "363:1:1",
"nodeType": "YulTypedName",
"src": "363:1:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "428:63:1",
"nodeType": "YulBlock",
"src": "428:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "453:3:1",
"nodeType": "YulIdentifier",
"src": "453:3:1"
},
{
"name": "i",
"nativeSrc": "458:1:1",
"nodeType": "YulIdentifier",
"src": "458:1:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "449:3:1",
"nodeType": "YulIdentifier",
"src": "449:3:1"
},
"nativeSrc": "449:11:1",
"nodeType": "YulFunctionCall",
"src": "449:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "472:3:1",
"nodeType": "YulIdentifier",
"src": "472:3:1"
},
{
"name": "i",
"nativeSrc": "477:1:1",
"nodeType": "YulIdentifier",
"src": "477:1:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "468:3:1",
"nodeType": "YulIdentifier",
"src": "468:3:1"
},
"nativeSrc": "468:11:1",
"nodeType": "YulFunctionCall",
"src": "468:11:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "462:5:1",
"nodeType": "YulIdentifier",
"src": "462:5:1"
},
"nativeSrc": "462:18:1",
"nodeType": "YulFunctionCall",
"src": "462:18:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "442:6:1",
"nodeType": "YulIdentifier",
"src": "442:6:1"
},
"nativeSrc": "442:39:1",
"nodeType": "YulFunctionCall",
"src": "442:39:1"
},
"nativeSrc": "442:39:1",
"nodeType": "YulExpressionStatement",
"src": "442:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nativeSrc": "389:1:1",
"nodeType": "YulIdentifier",
"src": "389:1:1"
},
{
"name": "length",
"nativeSrc": "392:6:1",
"nodeType": "YulIdentifier",
"src": "392:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "386:2:1",
"nodeType": "YulIdentifier",
"src": "386:2:1"
},
"nativeSrc": "386:13:1",
"nodeType": "YulFunctionCall",
"src": "386:13:1"
},
"nativeSrc": "378:113:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "400:19:1",
"nodeType": "YulBlock",
"src": "400:19:1",
"statements": [
{
"nativeSrc": "402:15:1",
"nodeType": "YulAssignment",
"src": "402:15:1",
"value": {
"arguments": [
{
"name": "i",
"nativeSrc": "411:1:1",
"nodeType": "YulIdentifier",
"src": "411:1:1"
},
{
"kind": "number",
"nativeSrc": "414:2:1",
"nodeType": "YulLiteral",
"src": "414:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "407:3:1",
"nodeType": "YulIdentifier",
"src": "407:3:1"
},
"nativeSrc": "407:10:1",
"nodeType": "YulFunctionCall",
"src": "407:10:1"
},
"variableNames": [
{
"name": "i",
"nativeSrc": "402:1:1",
"nodeType": "YulIdentifier",
"src": "402:1:1"
}
]
}
]
},
"pre": {
"nativeSrc": "382:3:1",
"nodeType": "YulBlock",
"src": "382:3:1",
"statements": []
},
"src": "378:113:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "511:3:1",
"nodeType": "YulIdentifier",
"src": "511:3:1"
},
{
"name": "length",
"nativeSrc": "516:6:1",
"nodeType": "YulIdentifier",
"src": "516:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "507:3:1",
"nodeType": "YulIdentifier",
"src": "507:3:1"
},
"nativeSrc": "507:16:1",
"nodeType": "YulFunctionCall",
"src": "507:16:1"
},
{
"kind": "number",
"nativeSrc": "525:1:1",
"nodeType": "YulLiteral",
"src": "525:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "500:6:1",
"nodeType": "YulIdentifier",
"src": "500:6:1"
},
"nativeSrc": "500:27:1",
"nodeType": "YulFunctionCall",
"src": "500:27:1"
},
"nativeSrc": "500:27:1",
"nodeType": "YulExpressionStatement",
"src": "500:27:1"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "287:246:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "331:3:1",
"nodeType": "YulTypedName",
"src": "331:3:1",
"type": ""
},
{
"name": "dst",
"nativeSrc": "336:3:1",
"nodeType": "YulTypedName",
"src": "336:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "341:6:1",
"nodeType": "YulTypedName",
"src": "341:6:1",
"type": ""
}
],
"src": "287:246:1"
},
{
"body": {
"nativeSrc": "587:54:1",
"nodeType": "YulBlock",
"src": "587:54:1",
"statements": [
{
"nativeSrc": "597:38:1",
"nodeType": "YulAssignment",
"src": "597:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "615:5:1",
"nodeType": "YulIdentifier",
"src": "615:5:1"
},
{
"kind": "number",
"nativeSrc": "622:2:1",
"nodeType": "YulLiteral",
"src": "622:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "611:3:1",
"nodeType": "YulIdentifier",
"src": "611:3:1"
},
"nativeSrc": "611:14:1",
"nodeType": "YulFunctionCall",
"src": "611:14:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "631:2:1",
"nodeType": "YulLiteral",
"src": "631:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nativeSrc": "627:3:1",
"nodeType": "YulIdentifier",
"src": "627:3:1"
},
"nativeSrc": "627:7:1",
"nodeType": "YulFunctionCall",
"src": "627:7:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "607:3:1",
"nodeType": "YulIdentifier",
"src": "607:3:1"
},
"nativeSrc": "607:28:1",
"nodeType": "YulFunctionCall",
"src": "607:28:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "597:6:1",
"nodeType": "YulIdentifier",
"src": "597:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nativeSrc": "539:102:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "570:5:1",
"nodeType": "YulTypedName",
"src": "570:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "580:6:1",
"nodeType": "YulTypedName",
"src": "580:6:1",
"type": ""
}
],
"src": "539:102:1"
},
{
"body": {
"nativeSrc": "739:285:1",
"nodeType": "YulBlock",
"src": "739:285:1",
"statements": [
{
"nativeSrc": "749:53:1",
"nodeType": "YulVariableDeclaration",
"src": "749:53:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "796:5:1",
"nodeType": "YulIdentifier",
"src": "796:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "763:32:1",
"nodeType": "YulIdentifier",
"src": "763:32:1"
},
"nativeSrc": "763:39:1",
"nodeType": "YulFunctionCall",
"src": "763:39:1"
},
"variables": [
{
"name": "length",
"nativeSrc": "753:6:1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
}
]
},
{
"nativeSrc": "811:78:1",
"nodeType": "YulAssignment",
"src": "811:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "877:3:1",
"nodeType": "YulIdentifier",
"src": "877:3:1"
},
{
"name": "length",
"nativeSrc": "882:6:1",
"nodeType": "YulIdentifier",
"src": "882:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "818:58:1",
"nodeType": "YulIdentifier",
"src": "818:58:1"
},
"nativeSrc": "818:71:1",
"nodeType": "YulFunctionCall",
"src": "818:71:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "811:3:1",
"nodeType": "YulIdentifier",
"src": "811:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "937:5:1",
"nodeType": "YulIdentifier",
"src": "937:5:1"
},
{
"kind": "number",
"nativeSrc": "944:4:1",
"nodeType": "YulLiteral",
"src": "944:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "933:3:1",
"nodeType": "YulIdentifier",
"src": "933:3:1"
},
"nativeSrc": "933:16:1",
"nodeType": "YulFunctionCall",
"src": "933:16:1"
},
{
"name": "pos",
"nativeSrc": "951:3:1",
"nodeType": "YulIdentifier",
"src": "951:3:1"
},
{
"name": "length",
"nativeSrc": "956:6:1",
"nodeType": "YulIdentifier",
"src": "956:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "898:34:1",
"nodeType": "YulIdentifier",
"src": "898:34:1"
},
"nativeSrc": "898:65:1",
"nodeType": "YulFunctionCall",
"src": "898:65:1"
},
"nativeSrc": "898:65:1",
"nodeType": "YulExpressionStatement",
"src": "898:65:1"
},
{
"nativeSrc": "972:46:1",
"nodeType": "YulAssignment",
"src": "972:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "983:3:1",
"nodeType": "YulIdentifier",
"src": "983:3:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "1010:6:1",
"nodeType": "YulIdentifier",
"src": "1010:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "988:21:1",
"nodeType": "YulIdentifier",
"src": "988:21:1"
},
"nativeSrc": "988:29:1",
"nodeType": "YulFunctionCall",
"src": "988:29:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "979:3:1",
"nodeType": "YulIdentifier",
"src": "979:3:1"
},
"nativeSrc": "979:39:1",
"nodeType": "YulFunctionCall",
"src": "979:39:1"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "972:3:1",
"nodeType": "YulIdentifier",
"src": "972:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nativeSrc": "647:377:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "720:5:1",
"nodeType": "YulTypedName",
"src": "720:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "727:3:1",
"nodeType": "YulTypedName",
"src": "727:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "735:3:1",
"nodeType": "YulTypedName",
"src": "735:3:1",
"type": ""
}
],
"src": "647:377:1"
},
{
"body": {
"nativeSrc": "1148:195:1",
"nodeType": "YulBlock",
"src": "1148:195:1",
"statements": [
{
"nativeSrc": "1158:26:1",
"nodeType": "YulAssignment",
"src": "1158:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "1170:9:1",
"nodeType": "YulIdentifier",
"src": "1170:9:1"
},
{
"kind": "number",
"nativeSrc": "1181:2:1",
"nodeType": "YulLiteral",
"src": "1181:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1166:3:1",
"nodeType": "YulIdentifier",
"src": "1166:3:1"
},
"nativeSrc": "1166:18:1",
"nodeType": "YulFunctionCall",
"src": "1166:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "1158:4:1",
"nodeType": "YulIdentifier",
"src": "1158:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "1205:9:1",
"nodeType": "YulIdentifier",
"src": "1205:9:1"
},
{
"kind": "number",
"nativeSrc": "1216:1:1",
"nodeType": "YulLiteral",
"src": "1216:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1201:3:1",
"nodeType": "YulIdentifier",
"src": "1201:3:1"
},
"nativeSrc": "1201:17:1",
"nodeType": "YulFunctionCall",
"src": "1201:17:1"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "1224:4:1",
"nodeType": "YulIdentifier",
"src": "1224:4:1"
},
{
"name": "headStart",
"nativeSrc": "1230:9:1",
"nodeType": "YulIdentifier",
"src": "1230:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "1220:3:1",
"nodeType": "YulIdentifier",
"src": "1220:3:1"
},
"nativeSrc": "1220:20:1",
"nodeType": "YulFunctionCall",
"src": "1220:20:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1194:6:1",
"nodeType": "YulIdentifier",
"src": "1194:6:1"
},
"nativeSrc": "1194:47:1",
"nodeType": "YulFunctionCall",
"src": "1194:47:1"
},
"nativeSrc": "1194:47:1",
"nodeType": "YulExpressionStatement",
"src": "1194:47:1"
},
{
"nativeSrc": "1250:86:1",
"nodeType": "YulAssignment",
"src": "1250:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nativeSrc": "1322:6:1",
"nodeType": "YulIdentifier",
"src": "1322:6:1"
},
{
"name": "tail",
"nativeSrc": "1331:4:1",
"nodeType": "YulIdentifier",
"src": "1331:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nativeSrc": "1258:63:1",
"nodeType": "YulIdentifier",
"src": "1258:63:1"
},
"nativeSrc": "1258:78:1",
"nodeType": "YulFunctionCall",
"src": "1258:78:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "1250:4:1",
"nodeType": "YulIdentifier",
"src": "1250:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nativeSrc": "1030:313:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "1120:9:1",
"nodeType": "YulTypedName",
"src": "1120:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "1132:6:1",
"nodeType": "YulTypedName",
"src": "1132:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "1143:4:1",
"nodeType": "YulTypedName",
"src": "1143:4:1",
"type": ""
}
],
"src": "1030:313:1"
},
{
"body": {
"nativeSrc": "1389:35:1",
"nodeType": "YulBlock",
"src": "1389:35:1",
"statements": [
{
"nativeSrc": "1399:19:1",
"nodeType": "YulAssignment",
"src": "1399:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1415:2:1",
"nodeType": "YulLiteral",
"src": "1415:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "1409:5:1",
"nodeType": "YulIdentifier",
"src": "1409:5:1"
},
"nativeSrc": "1409:9:1",
"nodeType": "YulFunctionCall",
"src": "1409:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "1399:6:1",
"nodeType": "YulIdentifier",
"src": "1399:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nativeSrc": "1349:75:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "1382:6:1",
"nodeType": "YulTypedName",
"src": "1382:6:1",
"type": ""
}
],
"src": "1349:75:1"
},
{
"body": {
"nativeSrc": "1519:28:1",
"nodeType": "YulBlock",
"src": "1519:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1536:1:1",
"nodeType": "YulLiteral",
"src": "1536:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1539:1:1",
"nodeType": "YulLiteral",
"src": "1539:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1529:6:1",
"nodeType": "YulIdentifier",
"src": "1529:6:1"
},
"nativeSrc": "1529:12:1",
"nodeType": "YulFunctionCall",
"src": "1529:12:1"
},
"nativeSrc": "1529:12:1",
"nodeType": "YulExpressionStatement",
"src": "1529:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "1430:117:1",
"nodeType": "YulFunctionDefinition",
"src": "1430:117:1"
},
{
"body": {
"nativeSrc": "1642:28:1",
"nodeType": "YulBlock",
"src": "1642:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1659:1:1",
"nodeType": "YulLiteral",
"src": "1659:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1662:1:1",
"nodeType": "YulLiteral",
"src": "1662:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1652:6:1",
"nodeType": "YulIdentifier",
"src": "1652:6:1"
},
"nativeSrc": "1652:12:1",
"nodeType": "YulFunctionCall",
"src": "1652:12:1"
},
"nativeSrc": "1652:12:1",
"nodeType": "YulExpressionStatement",
"src": "1652:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "1553:117:1",
"nodeType": "YulFunctionDefinition",
"src": "1553:117:1"
},
{
"body": {
"nativeSrc": "1721:32:1",
"nodeType": "YulBlock",
"src": "1721:32:1",
"statements": [
{
"nativeSrc": "1731:16:1",
"nodeType": "YulAssignment",
"src": "1731:16:1",
"value": {
"name": "value",
"nativeSrc": "1742:5:1",
"nodeType": "YulIdentifier",
"src": "1742:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1731:7:1",
"nodeType": "YulIdentifier",
"src": "1731:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nativeSrc": "1676:77:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1703:5:1",
"nodeType": "YulTypedName",
"src": "1703:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1713:7:1",
"nodeType": "YulTypedName",
"src": "1713:7:1",
"type": ""
}
],
"src": "1676:77:1"
},
{
"body": {
"nativeSrc": "1802:79:1",
"nodeType": "YulBlock",
"src": "1802:79:1",
"statements": [
{
"body": {
"nativeSrc": "1859:16:1",
"nodeType": "YulBlock",
"src": "1859:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1868:1:1",
"nodeType": "YulLiteral",
"src": "1868:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1871:1:1",
"nodeType": "YulLiteral",
"src": "1871:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1861:6:1",
"nodeType": "YulIdentifier",
"src": "1861:6:1"
},
"nativeSrc": "1861:12:1",
"nodeType": "YulFunctionCall",
"src": "1861:12:1"
},
"nativeSrc": "1861:12:1",
"nodeType": "YulExpressionStatement",
"src": "1861:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1825:5:1",
"nodeType": "YulIdentifier",
"src": "1825:5:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "1850:5:1",
"nodeType": "YulIdentifier",
"src": "1850:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "1832:17:1",
"nodeType": "YulIdentifier",
"src": "1832:17:1"
},
"nativeSrc": "1832:24:1",
"nodeType": "YulFunctionCall",
"src": "1832:24:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "1822:2:1",
"nodeType": "YulIdentifier",
"src": "1822:2:1"
},
"nativeSrc": "1822:35:1",
"nodeType": "YulFunctionCall",
"src": "1822:35:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "1815:6:1",
"nodeType": "YulIdentifier",
"src": "1815:6:1"
},
"nativeSrc": "1815:43:1",
"nodeType": "YulFunctionCall",
"src": "1815:43:1"
},
"nativeSrc": "1812:63:1",
"nodeType": "YulIf",
"src": "1812:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nativeSrc": "1759:122:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1795:5:1",
"nodeType": "YulTypedName",
"src": "1795:5:1",
"type": ""
}
],
"src": "1759:122:1"
},
{
"body": {
"nativeSrc": "1939:87:1",
"nodeType": "YulBlock",
"src": "1939:87:1",
"statements": [
{
"nativeSrc": "1949:29:1",
"nodeType": "YulAssignment",
"src": "1949:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "1971:6:1",
"nodeType": "YulIdentifier",
"src": "1971:6:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "1958:12:1",
"nodeType": "YulIdentifier",
"src": "1958:12:1"
},
"nativeSrc": "1958:20:1",
"nodeType": "YulFunctionCall",
"src": "1958:20:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "1949:5:1",
"nodeType": "YulIdentifier",
"src": "1949:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "2014:5:1",
"nodeType": "YulIdentifier",
"src": "2014:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nativeSrc": "1987:26:1",
"nodeType": "YulIdentifier",
"src": "1987:26:1"
},
"nativeSrc": "1987:33:1",
"nodeType": "YulFunctionCall",
"src": "1987:33:1"
},
"nativeSrc": "1987:33:1",
"nodeType": "YulExpressionStatement",
"src": "1987:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nativeSrc": "1887:139:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "1917:6:1",
"nodeType": "YulTypedName",
"src": "1917:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "1925:3:1",
"nodeType": "YulTypedName",
"src": "1925:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "1933:5:1",
"nodeType": "YulTypedName",
"src": "1933:5:1",
"type": ""
}
],
"src": "1887:139:1"
},
{
"body": {
"nativeSrc": "2098:263:1",
"nodeType": "YulBlock",
"src": "2098:263:1",
"statements": [
{
"body": {
"nativeSrc": "2144:83:1",
"nodeType": "YulBlock",
"src": "2144:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "2146:77:1",
"nodeType": "YulIdentifier",
"src": "2146:77:1"
},
"nativeSrc": "2146:79:1",
"nodeType": "YulFunctionCall",
"src": "2146:79:1"
},
"nativeSrc": "2146:79:1",
"nodeType": "YulExpressionStatement",
"src": "2146:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "2119:7:1",
"nodeType": "YulIdentifier",
"src": "2119:7:1"
},
{
"name": "headStart",
"nativeSrc": "2128:9:1",
"nodeType": "YulIdentifier",
"src": "2128:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "2115:3:1",
"nodeType": "YulIdentifier",
"src": "2115:3:1"
},
"nativeSrc": "2115:23:1",
"nodeType": "YulFunctionCall",
"src": "2115:23:1"
},
{
"kind": "number",
"nativeSrc": "2140:2:1",
"nodeType": "YulLiteral",
"src": "2140:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "2111:3:1",
"nodeType": "YulIdentifier",
"src": "2111:3:1"
},
"nativeSrc": "2111:32:1",
"nodeType": "YulFunctionCall",
"src": "2111:32:1"
},
"nativeSrc": "2108:119:1",
"nodeType": "YulIf",
"src": "2108:119:1"
},
{
"nativeSrc": "2237:117:1",
"nodeType": "YulBlock",
"src": "2237:117:1",
"statements": [
{
"nativeSrc": "2252:15:1",
"nodeType": "YulVariableDeclaration",
"src": "2252:15:1",
"value": {
"kind": "number",
"nativeSrc": "2266:1:1",
"nodeType": "YulLiteral",
"src": "2266:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "2256:6:1",
"nodeType": "YulTypedName",
"src": "2256:6:1",
"type": ""
}
]
},
{
"nativeSrc": "2281:63:1",
"nodeType": "YulAssignment",
"src": "2281:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "2316:9:1",
"nodeType": "YulIdentifier",
"src": "2316:9:1"
},
{
"name": "offset",
"nativeSrc": "2327:6:1",
"nodeType": "YulIdentifier",
"src": "2327:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2312:3:1",
"nodeType": "YulIdentifier",
"src": "2312:3:1"
},
"nativeSrc": "2312:22:1",
"nodeType": "YulFunctionCall",
"src": "2312:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "2336:7:1",
"nodeType": "YulIdentifier",
"src": "2336:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "2291:20:1",
"nodeType": "YulIdentifier",
"src": "2291:20:1"
},
"nativeSrc": "2291:53:1",
"nodeType": "YulFunctionCall",
"src": "2291:53:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "2281:6:1",
"nodeType": "YulIdentifier",
"src": "2281:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nativeSrc": "2032:329:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "2068:9:1",
"nodeType": "YulTypedName",
"src": "2068:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "2079:7:1",
"nodeType": "YulTypedName",
"src": "2079:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "2091:6:1",
"nodeType": "YulTypedName",
"src": "2091:6:1",
"type": ""
}
],
"src": "2032:329:1"
},
{
"body": {
"nativeSrc": "2432:53:1",
"nodeType": "YulBlock",
"src": "2432:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "2449:3:1",
"nodeType": "YulIdentifier",
"src": "2449:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "2472:5:1",
"nodeType": "YulIdentifier",
"src": "2472:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "2454:17:1",
"nodeType": "YulIdentifier",
"src": "2454:17:1"
},
"nativeSrc": "2454:24:1",
"nodeType": "YulFunctionCall",
"src": "2454:24:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2442:6:1",
"nodeType": "YulIdentifier",
"src": "2442:6:1"
},
"nativeSrc": "2442:37:1",
"nodeType": "YulFunctionCall",
"src": "2442:37:1"
},
"nativeSrc": "2442:37:1",
"nodeType": "YulExpressionStatement",
"src": "2442:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "2367:118:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "2420:5:1",
"nodeType": "YulTypedName",
"src": "2420:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "2427:3:1",
"nodeType": "YulTypedName",
"src": "2427:3:1",
"type": ""
}
],
"src": "2367:118:1"
},
{
"body": {
"nativeSrc": "2589:124:1",
"nodeType": "YulBlock",
"src": "2589:124:1",
"statements": [
{
"nativeSrc": "2599:26:1",
"nodeType": "YulAssignment",
"src": "2599:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "2611:9:1",
"nodeType": "YulIdentifier",
"src": "2611:9:1"
},
{
"kind": "number",
"nativeSrc": "2622:2:1",
"nodeType": "YulLiteral",
"src": "2622:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2607:3:1",
"nodeType": "YulIdentifier",
"src": "2607:3:1"
},
"nativeSrc": "2607:18:1",
"nodeType": "YulFunctionCall",
"src": "2607:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "2599:4:1",
"nodeType": "YulIdentifier",
"src": "2599:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "2679:6:1",
"nodeType": "YulIdentifier",
"src": "2679:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "2692:9:1",
"nodeType": "YulIdentifier",
"src": "2692:9:1"
},
{
"kind": "number",
"nativeSrc": "2703:1:1",
"nodeType": "YulLiteral",
"src": "2703:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2688:3:1",
"nodeType": "YulIdentifier",
"src": "2688:3:1"
},
"nativeSrc": "2688:17:1",
"nodeType": "YulFunctionCall",
"src": "2688:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "2635:43:1",
"nodeType": "YulIdentifier",
"src": "2635:43:1"
},
"nativeSrc": "2635:71:1",
"nodeType": "YulFunctionCall",
"src": "2635:71:1"
},
"nativeSrc": "2635:71:1",
"nodeType": "YulExpressionStatement",
"src": "2635:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nativeSrc": "2491:222:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "2561:9:1",
"nodeType": "YulTypedName",
"src": "2561:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "2573:6:1",
"nodeType": "YulTypedName",
"src": "2573:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "2584:4:1",
"nodeType": "YulTypedName",
"src": "2584:4:1",
"type": ""
}
],
"src": "2491:222:1"
},
{
"body": {
"nativeSrc": "2747:152:1",
"nodeType": "YulBlock",
"src": "2747:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2764:1:1",
"nodeType": "YulLiteral",
"src": "2764:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2767:77:1",
"nodeType": "YulLiteral",
"src": "2767:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2757:6:1",
"nodeType": "YulIdentifier",
"src": "2757:6:1"
},
"nativeSrc": "2757:88:1",
"nodeType": "YulFunctionCall",
"src": "2757:88:1"
},
"nativeSrc": "2757:88:1",
"nodeType": "YulExpressionStatement",
"src": "2757:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2861:1:1",
"nodeType": "YulLiteral",
"src": "2861:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "2864:4:1",
"nodeType": "YulLiteral",
"src": "2864:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2854:6:1",
"nodeType": "YulIdentifier",
"src": "2854:6:1"
},
"nativeSrc": "2854:15:1",
"nodeType": "YulFunctionCall",
"src": "2854:15:1"
},
"nativeSrc": "2854:15:1",
"nodeType": "YulExpressionStatement",
"src": "2854:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2885:1:1",
"nodeType": "YulLiteral",
"src": "2885:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2888:4:1",
"nodeType": "YulLiteral",
"src": "2888:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "2878:6:1",
"nodeType": "YulIdentifier",
"src": "2878:6:1"
},
"nativeSrc": "2878:15:1",
"nodeType": "YulFunctionCall",
"src": "2878:15:1"
},
"nativeSrc": "2878:15:1",
"nodeType": "YulExpressionStatement",
"src": "2878:15:1"
}
]
},
"name": "panic_error_0x22",
"nativeSrc": "2719:180:1",
"nodeType": "YulFunctionDefinition",
"src": "2719:180:1"
},
{
"body": {
"nativeSrc": "2956:269:1",
"nodeType": "YulBlock",
"src": "2956:269:1",
"statements": [
{
"nativeSrc": "2966:22:1",
"nodeType": "YulAssignment",
"src": "2966:22:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "2980:4:1",
"nodeType": "YulIdentifier",
"src": "2980:4:1"
},
{
"kind": "number",
"nativeSrc": "2986:1:1",
"nodeType": "YulLiteral",
"src": "2986:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nativeSrc": "2976:3:1",
"nodeType": "YulIdentifier",
"src": "2976:3:1"
},
"nativeSrc": "2976:12:1",
"nodeType": "YulFunctionCall",
"src": "2976:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "2966:6:1",
"nodeType": "YulIdentifier",
"src": "2966:6:1"
}
]
},
{
"nativeSrc": "2997:38:1",
"nodeType": "YulVariableDeclaration",
"src": "2997:38:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "3027:4:1",
"nodeType": "YulIdentifier",
"src": "3027:4:1"
},
{
"kind": "number",
"nativeSrc": "3033:1:1",
"nodeType": "YulLiteral",
"src": "3033:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "3023:3:1",
"nodeType": "YulIdentifier",
"src": "3023:3:1"
},
"nativeSrc": "3023:12:1",
"nodeType": "YulFunctionCall",
"src": "3023:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "3001:18:1",
"nodeType": "YulTypedName",
"src": "3001:18:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "3074:51:1",
"nodeType": "YulBlock",
"src": "3074:51:1",
"statements": [
{
"nativeSrc": "3088:27:1",
"nodeType": "YulAssignment",
"src": "3088:27:1",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "3102:6:1",
"nodeType": "YulIdentifier",
"src": "3102:6:1"
},
{
"kind": "number",
"nativeSrc": "3110:4:1",
"nodeType": "YulLiteral",
"src": "3110:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "3098:3:1",
"nodeType": "YulIdentifier",
"src": "3098:3:1"
},
"nativeSrc": "3098:17:1",
"nodeType": "YulFunctionCall",
"src": "3098:17:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "3088:6:1",
"nodeType": "YulIdentifier",
"src": "3088:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "3054:18:1",
"nodeType": "YulIdentifier",
"src": "3054:18:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "3047:6:1",
"nodeType": "YulIdentifier",
"src": "3047:6:1"
},
"nativeSrc": "3047:26:1",
"nodeType": "YulFunctionCall",
"src": "3047:26:1"
},
"nativeSrc": "3044:81:1",
"nodeType": "YulIf",
"src": "3044:81:1"
},
{
"body": {
"nativeSrc": "3177:42:1",
"nodeType": "YulBlock",
"src": "3177:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nativeSrc": "3191:16:1",
"nodeType": "YulIdentifier",
"src": "3191:16:1"
},
"nativeSrc": "3191:18:1",
"nodeType": "YulFunctionCall",
"src": "3191:18:1"
},
"nativeSrc": "3191:18:1",
"nodeType": "YulExpressionStatement",
"src": "3191:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "3141:18:1",
"nodeType": "YulIdentifier",
"src": "3141:18:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "3164:6:1",
"nodeType": "YulIdentifier",
"src": "3164:6:1"
},
{
"kind": "number",
"nativeSrc": "3172:2:1",
"nodeType": "YulLiteral",
"src": "3172:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "3161:2:1",
"nodeType": "YulIdentifier",
"src": "3161:2:1"
},
"nativeSrc": "3161:14:1",
"nodeType": "YulFunctionCall",
"src": "3161:14:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "3138:2:1",
"nodeType": "YulIdentifier",
"src": "3138:2:1"
},
"nativeSrc": "3138:38:1",
"nodeType": "YulFunctionCall",
"src": "3138:38:1"
},
"nativeSrc": "3135:84:1",
"nodeType": "YulIf",
"src": "3135:84:1"
}
]
},
"name": "extract_byte_array_length",
"nativeSrc": "2905:320:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "2940:4:1",
"nodeType": "YulTypedName",
"src": "2940:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "2949:6:1",
"nodeType": "YulTypedName",
"src": "2949:6:1",
"type": ""
}
],
"src": "2905:320:1"
}
]
},
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 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 abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_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_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function 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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561000f575f80fd5b506004361061004a575f3560e01c80632f2f48591461004e57806360fe47b11461006c5780636d4ce63c14610088578063c6b91540146100a6575b5f80fd5b6100566100c4565b60405161006391906101f2565b60405180910390f35b61008660048036038101906100819190610249565b61014f565b005b610090610159565b60405161009d9190610283565b60405180910390f35b6100ae610162565b6040516100bb9190610283565b60405180910390f35b5f80546100d0906102c9565b80601f01602080910402602001604051908101604052809291908181526020018280546100fc906102c9565b80156101475780601f1061011e57610100808354040283529160200191610147565b820191905f5260205f20905b81548152906001019060200180831161012a57829003601f168201915b505050505081565b8060018190555050565b5f600154905090565b60015481565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561019f578082015181840152602081019050610184565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6101c482610168565b6101ce8185610172565b93506101de818560208601610182565b6101e7816101aa565b840191505092915050565b5f6020820190508181035f83015261020a81846101ba565b905092915050565b5f80fd5b5f819050919050565b61022881610216565b8114610232575f80fd5b50565b5f813590506102438161021f565b92915050565b5f6020828403121561025e5761025d610212565b5b5f61026b84828501610235565b91505092915050565b61027d81610216565b82525050565b5f6020820190506102965f830184610274565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806102e057607f821691505b6020821081036102f3576102f261029c565b5b5091905056fea2646970667358221220454e927935d1b200da6cd8d9155c1c3c554711e28bc3cefc5da95f538df7ba6d64736f6c63430008160033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2F2F4859 EQ PUSH2 0x4E JUMPI DUP1 PUSH4 0x60FE47B1 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x6D4CE63C EQ PUSH2 0x88 JUMPI DUP1 PUSH4 0xC6B91540 EQ PUSH2 0xA6 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x56 PUSH2 0xC4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x63 SWAP2 SWAP1 PUSH2 0x1F2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x86 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x81 SWAP2 SWAP1 PUSH2 0x249 JUMP JUMPDEST PUSH2 0x14F JUMP JUMPDEST STOP JUMPDEST PUSH2 0x90 PUSH2 0x159 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9D SWAP2 SWAP1 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAE PUSH2 0x162 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBB SWAP2 SWAP1 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH0 DUP1 SLOAD PUSH2 0xD0 SWAP1 PUSH2 0x2C9 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV 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 PUSH2 0xFC SWAP1 PUSH2 0x2C9 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x147 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x11E JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x147 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x12A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP1 PUSH1 0x1 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x19F JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x184 JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x1C4 DUP3 PUSH2 0x168 JUMP JUMPDEST PUSH2 0x1CE DUP2 DUP6 PUSH2 0x172 JUMP JUMPDEST SWAP4 POP PUSH2 0x1DE DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x182 JUMP JUMPDEST PUSH2 0x1E7 DUP2 PUSH2 0x1AA JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x20A DUP2 DUP5 PUSH2 0x1BA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x228 DUP2 PUSH2 0x216 JUMP JUMPDEST DUP2 EQ PUSH2 0x232 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x243 DUP2 PUSH2 0x21F JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x25E JUMPI PUSH2 0x25D PUSH2 0x212 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x26B DUP5 DUP3 DUP6 ADD PUSH2 0x235 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x27D DUP2 PUSH2 0x216 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x296 PUSH0 DUP4 ADD DUP5 PUSH2 0x274 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x2E0 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x2F3 JUMPI PUSH2 0x2F2 PUSH2 0x29C JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 GASLIMIT 0x4E SWAP3 PUSH26 0x35D1B200DA6CD8D9155C1C3C554711E28BC3CEFC5DA95F538DF7 0xBA PUSH14 0x64736F6C63430008160033000000 ",
"sourceMap": "58:229:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84:40;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;231:54;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;155:70;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131:17;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;84:40;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;231:54::-;277:1;269:5;:9;;;;231:54;:::o;155:70::-;191:4;213:5;;206:12;;155:70;:::o;131:17::-;;;;:::o;7:99:1:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1430:117::-;1539:1;1536;1529:12;1676:77;1713:7;1742:5;1731:16;;1676:77;;;:::o;1759:122::-;1832:24;1850:5;1832:24;:::i;:::-;1825:5;1822:35;1812:63;;1871:1;1868;1861:12;1812:63;1759:122;:::o;1887:139::-;1933:5;1971:6;1958:20;1949:29;;1987:33;2014:5;1987:33;:::i;:::-;1887:139;;;;:::o;2032:329::-;2091:6;2140:2;2128:9;2119:7;2115:23;2111:32;2108:119;;;2146:79;;:::i;:::-;2108:119;2266:1;2291:53;2336:7;2327:6;2316:9;2312:22;2291:53;:::i;:::-;2281:63;;2237:117;2032:329;;;;:::o;2367:118::-;2454:24;2472:5;2454:24;:::i;:::-;2449:3;2442:37;2367:118;;:::o;2491:222::-;2584:4;2622:2;2611:9;2607:18;2599:26;;2635:71;2703:1;2692:9;2688:17;2679:6;2635:71;:::i;:::-;2491:222;;;;:::o;2719:180::-;2767:77;2764:1;2757:88;2864:4;2861:1;2854:15;2888:4;2885:1;2878:15;2905:320;2949:6;2986:1;2980:4;2976:12;2966:22;;3033:1;3027:4;3023:12;3054:18;3044:81;;3110:4;3102:6;3098:17;3088:27;;3044:81;3172:2;3164:6;3161:14;3141:18;3138:38;3135:84;;3191:18;;:::i;:::-;3135:84;2956:269;2905:320;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "163000",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"get()": "2454",
"helloworld()": "infinite",
"myVar()": "2469",
"set(uint256)": "22515"
}
},
"legacyAssembly": {
".code": [
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 58,
"end": 287,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 84,
"end": 124,
"name": "MLOAD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 84,
"end": 124,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "B"
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "48656C6C6F576F726C6421000000000000000000000000000000000000000000"
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "POP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 84,
"end": 124,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "POP",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "ISZERO",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 58,
"end": 287,
"name": "JUMPI",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "REVERT",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 58,
"end": 287,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "POP",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 58,
"end": 287,
"name": "JUMP",
"source": 0
},
{
"begin": 7,
"end": 106,
"name": "tag",
"source": 1,
"value": "5"
},
{
"begin": 7,
"end": 106,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 59,
"end": 65,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 93,
"end": 98,
"name": "DUP2",
"source": 1
},
{
"begin": 87,
"end": 99,
"name": "MLOAD",
"source": 1
},
{
"begin": 77,
"end": 99,
"name": "SWAP1",
"source": 1
},
{
"begin": 77,
"end": 99,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 106,
"name": "SWAP2",
"source": 1
},
{
"begin": 7,
"end": 106,
"name": "SWAP1",
"source": 1
},
{
"begin": 7,
"end": 106,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 106,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 112,
"end": 292,
"name": "tag",
"source": 1,
"value": "6"
},
{
"begin": 112,
"end": 292,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 160,
"end": 237,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 157,
"end": 158,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 150,
"end": 238,
"name": "MSTORE",
"source": 1
},
{
"begin": 257,
"end": 261,
"name": "PUSH",
"source": 1,
"value": "41"
},
{
"begin": 254,
"end": 255,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 247,
"end": 262,
"name": "MSTORE",
"source": 1
},
{
"begin": 281,
"end": 285,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 278,
"end": 279,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 271,
"end": 286,
"name": "REVERT",
"source": 1
},
{
"begin": 298,
"end": 478,
"name": "tag",
"source": 1,
"value": "7"
},
{
"begin": 298,
"end": 478,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 346,
"end": 423,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 343,
"end": 344,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 336,
"end": 424,
"name": "MSTORE",
"source": 1
},
{
"begin": 443,
"end": 447,
"name": "PUSH",
"source": 1,
"value": "22"
},
{
"begin": 440,
"end": 441,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 433,
"end": 448,
"name": "MSTORE",
"source": 1
},
{
"begin": 467,
"end": 471,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 464,
"end": 465,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 457,
"end": 472,
"name": "REVERT",
"source": 1
},
{
"begin": 484,
"end": 804,
"name": "tag",
"source": 1,
"value": "8"
},
{
"begin": 484,
"end": 804,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 528,
"end": 534,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 565,
"end": 566,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 559,
"end": 563,
"name": "DUP3",
"source": 1
},
{
"begin": 555,
"end": 567,
"name": "DIV",
"source": 1
},
{
"begin": 545,
"end": 567,
"name": "SWAP1",
"source": 1
},
{
"begin": 545,
"end": 567,
"name": "POP",
"source": 1
},
{
"begin": 612,
"end": 613,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 606,
"end": 610,
"name": "DUP3",
"source": 1
},
{
"begin": 602,
"end": 614,
"name": "AND",
"source": 1
},
{
"begin": 633,
"end": 651,
"name": "DUP1",
"source": 1
},
{
"begin": 623,
"end": 704,
"name": "PUSH [tag]",
"source": 1,
"value": "30"
},
{
"begin": 623,
"end": 704,
"name": "JUMPI",
"source": 1
},
{
"begin": 689,
"end": 693,
"name": "PUSH",
"source": 1,
"value": "7F"
},
{
"begin": 681,
"end": 687,
"name": "DUP3",
"source": 1
},
{
"begin": 677,
"end": 694,
"name": "AND",
"source": 1
},
{
"begin": 667,
"end": 694,
"name": "SWAP2",
"source": 1
},
{
"begin": 667,
"end": 694,
"name": "POP",
"source": 1
},
{
"begin": 623,
"end": 704,
"name": "tag",
"source": 1,
"value": "30"
},
{
"begin": 623,
"end": 704,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 751,
"end": 753,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 743,
"end": 749,
"name": "DUP3",
"source": 1
},
{
"begin": 740,
"end": 754,
"name": "LT",
"source": 1
},
{
"begin": 720,
"end": 738,
"name": "DUP2",
"source": 1
},
{
"begin": 717,
"end": 755,
"name": "SUB",
"source": 1
},
{
"begin": 714,
"end": 798,
"name": "PUSH [tag]",
"source": 1,
"value": "31"
},
{
"begin": 714,
"end": 798,
"name": "JUMPI",
"source": 1
},
{
"begin": 770,
"end": 788,
"name": "PUSH [tag]",
"source": 1,
"value": "32"
},
{
"begin": 770,
"end": 788,
"name": "PUSH [tag]",
"source": 1,
"value": "7"
},
{
"begin": 770,
"end": 788,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 770,
"end": 788,
"name": "tag",
"source": 1,
"value": "32"
},
{
"begin": 770,
"end": 788,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 714,
"end": 798,
"name": "tag",
"source": 1,
"value": "31"
},
{
"begin": 714,
"end": 798,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 535,
"end": 804,
"name": "POP",
"source": 1
},
{
"begin": 484,
"end": 804,
"name": "SWAP2",
"source": 1
},
{
"begin": 484,
"end": 804,
"name": "SWAP1",
"source": 1
},
{
"begin": 484,
"end": 804,
"name": "POP",
"source": 1
},
{
"begin": 484,
"end": 804,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 810,
"end": 951,
"name": "tag",
"source": 1,
"value": "9"
},
{
"begin": 810,
"end": 951,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 859,
"end": 863,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 882,
"end": 885,
"name": "DUP2",
"source": 1
},
{
"begin": 874,
"end": 885,
"name": "SWAP1",
"source": 1
},
{
"begin": 874,
"end": 885,
"name": "POP",
"source": 1
},
{
"begin": 905,
"end": 908,
"name": "DUP2",
"source": 1
},
{
"begin": 902,
"end": 903,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 895,
"end": 909,
"name": "MSTORE",
"source": 1
},
{
"begin": 939,
"end": 943,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 936,
"end": 937,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 926,
"end": 944,
"name": "KECCAK256",
"source": 1
},
{
"begin": 918,
"end": 944,
"name": "SWAP1",
"source": 1
},
{
"begin": 918,
"end": 944,
"name": "POP",
"source": 1
},
{
"begin": 810,
"end": 951,
"name": "SWAP2",
"source": 1
},
{
"begin": 810,
"end": 951,
"name": "SWAP1",
"source": 1
},
{
"begin": 810,
"end": 951,
"name": "POP",
"source": 1
},
{
"begin": 810,
"end": 951,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 957,
"end": 1050,
"name": "tag",
"source": 1,
"value": "10"
},
{
"begin": 957,
"end": 1050,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 994,
"end": 1000,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1041,
"end": 1043,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1036,
"end": 1038,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 1029,
"end": 1034,
"name": "DUP4",
"source": 1
},
{
"begin": 1025,
"end": 1039,
"name": "ADD",
"source": 1
},
{
"begin": 1021,
"end": 1044,
"name": "DIV",
"source": 1
},
{
"begin": 1011,
"end": 1044,
"name": "SWAP1",
"source": 1
},
{
"begin": 1011,
"end": 1044,
"name": "POP",
"source": 1
},
{
"begin": 957,
"end": 1050,
"name": "SWAP2",
"source": 1
},
{
"begin": 957,
"end": 1050,
"name": "SWAP1",
"source": 1
},
{
"begin": 957,
"end": 1050,
"name": "POP",
"source": 1
},
{
"begin": 957,
"end": 1050,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1056,
"end": 1163,
"name": "tag",
"source": 1,
"value": "11"
},
{
"begin": 1056,
"end": 1163,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1100,
"end": 1108,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1150,
"end": 1155,
"name": "DUP3",
"source": 1
},
{
"begin": 1144,
"end": 1148,
"name": "DUP3",
"source": 1
},
{
"begin": 1140,
"end": 1156,
"name": "SHL",
"source": 1
},
{
"begin": 1119,
"end": 1156,
"name": "SWAP1",
"source": 1
},
{
"begin": 1119,
"end": 1156,
"name": "POP",
"source": 1
},
{
"begin": 1056,
"end": 1163,
"name": "SWAP3",
"source": 1
},
{
"begin": 1056,
"end": 1163,
"name": "SWAP2",
"source": 1
},
{
"begin": 1056,
"end": 1163,
"name": "POP",
"source": 1
},
{
"begin": 1056,
"end": 1163,
"name": "POP",
"source": 1
},
{
"begin": 1056,
"end": 1163,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1169,
"end": 1562,
"name": "tag",
"source": 1,
"value": "12"
},
{
"begin": 1169,
"end": 1562,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1238,
"end": 1244,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1288,
"end": 1289,
"name": "PUSH",
"source": 1,
"value": "8"
},
{
"begin": 1276,
"end": 1286,
"name": "DUP4",
"source": 1
},
{
"begin": 1272,
"end": 1290,
"name": "MUL",
"source": 1
},
{
"begin": 1311,
"end": 1408,
"name": "PUSH [tag]",
"source": 1,
"value": "37"
},
{
"begin": 1341,
"end": 1407,
"name": "PUSH",
"source": 1,
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
},
{
"begin": 1330,
"end": 1339,
"name": "DUP3",
"source": 1
},
{
"begin": 1311,
"end": 1408,
"name": "PUSH [tag]",
"source": 1,
"value": "11"
},
{
"begin": 1311,
"end": 1408,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1311,
"end": 1408,
"name": "tag",
"source": 1,
"value": "37"
},
{
"begin": 1311,
"end": 1408,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1429,
"end": 1468,
"name": "PUSH [tag]",
"source": 1,
"value": "38"
},
{
"begin": 1459,
"end": 1467,
"name": "DUP7",
"source": 1
},
{
"begin": 1448,
"end": 1457,
"name": "DUP4",
"source": 1
},
{
"begin": 1429,
"end": 1468,
"name": "PUSH [tag]",
"source": 1,
"value": "11"
},
{
"begin": 1429,
"end": 1468,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1429,
"end": 1468,
"name": "tag",
"source": 1,
"value": "38"
},
{
"begin": 1429,
"end": 1468,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1417,
"end": 1468,
"name": "SWAP6",
"source": 1
},
{
"begin": 1417,
"end": 1468,
"name": "POP",
"source": 1
},
{
"begin": 1501,
"end": 1505,
"name": "DUP1",
"source": 1
},
{
"begin": 1497,
"end": 1506,
"name": "NOT",
"source": 1
},
{
"begin": 1490,
"end": 1495,
"name": "DUP5",
"source": 1
},
{
"begin": 1486,
"end": 1507,
"name": "AND",
"source": 1
},
{
"begin": 1477,
"end": 1507,
"name": "SWAP4",
"source": 1
},
{
"begin": 1477,
"end": 1507,
"name": "POP",
"source": 1
},
{
"begin": 1550,
"end": 1554,
"name": "DUP1",
"source": 1
},
{
"begin": 1540,
"end": 1548,
"name": "DUP7",
"source": 1
},
{
"begin": 1536,
"end": 1555,
"name": "AND",
"source": 1
},
{
"begin": 1529,
"end": 1534,
"name": "DUP5",
"source": 1
},
{
"begin": 1526,
"end": 1556,
"name": "OR",
"source": 1
},
{
"begin": 1516,
"end": 1556,
"name": "SWAP3",
"source": 1
},
{
"begin": 1516,
"end": 1556,
"name": "POP",
"source": 1
},
{
"begin": 1245,
"end": 1562,
"name": "POP",
"source": 1
},
{
"begin": 1245,
"end": 1562,
"name": "POP",
"source": 1
},
{
"begin": 1169,
"end": 1562,
"name": "SWAP4",
"source": 1
},
{
"begin": 1169,
"end": 1562,
"name": "SWAP3",
"source": 1
},
{
"begin": 1169,
"end": 1562,
"name": "POP",
"source": 1
},
{
"begin": 1169,
"end": 1562,
"name": "POP",
"source": 1
},
{
"begin": 1169,
"end": 1562,
"name": "POP",
"source": 1
},
{
"begin": 1169,
"end": 1562,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1568,
"end": 1645,
"name": "tag",
"source": 1,
"value": "13"
},
{
"begin": 1568,
"end": 1645,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1605,
"end": 1612,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1634,
"end": 1639,
"name": "DUP2",
"source": 1
},
{
"begin": 1623,
"end": 1639,
"name": "SWAP1",
"source": 1
},
{
"begin": 1623,
"end": 1639,
"name": "POP",
"source": 1
},
{
"begin": 1568,
"end": 1645,
"name": "SWAP2",
"source": 1
},
{
"begin": 1568,
"end": 1645,
"name": "SWAP1",
"source": 1
},
{
"begin": 1568,
"end": 1645,
"name": "POP",
"source": 1
},
{
"begin": 1568,
"end": 1645,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1651,
"end": 1711,
"name": "tag",
"source": 1,
"value": "14"
},
{
"begin": 1651,
"end": 1711,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1679,
"end": 1682,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1700,
"end": 1705,
"name": "DUP2",
"source": 1
},
{
"begin": 1693,
"end": 1705,
"name": "SWAP1",
"source": 1
},
{
"begin": 1693,
"end": 1705,
"name": "POP",
"source": 1
},
{
"begin": 1651,
"end": 1711,
"name": "SWAP2",
"source": 1
},
{
"begin": 1651,
"end": 1711,
"name": "SWAP1",
"source": 1
},
{
"begin": 1651,
"end": 1711,
"name": "POP",
"source": 1
},
{
"begin": 1651,
"end": 1711,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1717,
"end": 1859,
"name": "tag",
"source": 1,
"value": "15"
},
{
"begin": 1717,
"end": 1859,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1767,
"end": 1776,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1800,
"end": 1853,
"name": "PUSH [tag]",
"source": 1,
"value": "42"
},
{
"begin": 1818,
"end": 1852,
"name": "PUSH [tag]",
"source": 1,
"value": "43"
},
{
"begin": 1827,
"end": 1851,
"name": "PUSH [tag]",
"source": 1,
"value": "44"
},
{
"begin": 1845,
"end": 1850,
"name": "DUP5",
"source": 1
},
{
"begin": 1827,
"end": 1851,
"name": "PUSH [tag]",
"source": 1,
"value": "13"
},
{
"begin": 1827,
"end": 1851,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1827,
"end": 1851,
"name": "tag",
"source": 1,
"value": "44"
},
{
"begin": 1827,
"end": 1851,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1818,
"end": 1852,
"name": "PUSH [tag]",
"source": 1,
"value": "14"
},
{
"begin": 1818,
"end": 1852,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1818,
"end": 1852,
"name": "tag",
"source": 1,
"value": "43"
},
{
"begin": 1818,
"end": 1852,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1800,
"end": 1853,
"name": "PUSH [tag]",
"source": 1,
"value": "13"
},
{
"begin": 1800,
"end": 1853,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1800,
"end": 1853,
"name": "tag",
"source": 1,
"value": "42"
},
{
"begin": 1800,
"end": 1853,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1787,
"end": 1853,
"name": "SWAP1",
"source": 1
},
{
"begin": 1787,
"end": 1853,
"name": "POP",
"source": 1
},
{
"begin": 1717,
"end": 1859,
"name": "SWAP2",
"source": 1
},
{
"begin": 1717,
"end": 1859,
"name": "SWAP1",
"source": 1
},
{
"begin": 1717,
"end": 1859,
"name": "POP",
"source": 1
},
{
"begin": 1717,
"end": 1859,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1865,
"end": 1940,
"name": "tag",
"source": 1,
"value": "16"
},
{
"begin": 1865,
"end": 1940,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1908,
"end": 1911,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1929,
"end": 1934,
"name": "DUP2",
"source": 1
},
{
"begin": 1922,
"end": 1934,
"name": "SWAP1",
"source": 1
},
{
"begin": 1922,
"end": 1934,
"name": "POP",
"source": 1
},
{
"begin": 1865,
"end": 1940,
"name": "SWAP2",
"source": 1
},
{
"begin": 1865,
"end": 1940,
"name": "SWAP1",
"source": 1
},
{
"begin": 1865,
"end": 1940,
"name": "POP",
"source": 1
},
{
"begin": 1865,
"end": 1940,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1946,
"end": 2215,
"name": "tag",
"source": 1,
"value": "17"
},
{
"begin": 1946,
"end": 2215,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2056,
"end": 2095,
"name": "PUSH [tag]",
"source": 1,
"value": "47"
},
{
"begin": 2087,
"end": 2094,
"name": "DUP4",
"source": 1
},
{
"begin": 2056,
"end": 2095,
"name": "PUSH [tag]",
"source": 1,
"value": "15"
},
{
"begin": 2056,
"end": 2095,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2056,
"end": 2095,
"name": "tag",
"source": 1,
"value": "47"
},
{
"begin": 2056,
"end": 2095,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2117,
"end": 2208,
"name": "PUSH [tag]",
"source": 1,
"value": "48"
},
{
"begin": 2166,
"end": 2207,
"name": "PUSH [tag]",
"source": 1,
"value": "49"
},
{
"begin": 2190,
"end": 2206,
"name": "DUP3",
"source": 1
},
{
"begin": 2166,
"end": 2207,
"name": "PUSH [tag]",
"source": 1,
"value": "16"
},
{
"begin": 2166,
"end": 2207,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2166,
"end": 2207,
"name": "tag",
"source": 1,
"value": "49"
},
{
"begin": 2166,
"end": 2207,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2158,
"end": 2164,
"name": "DUP5",
"source": 1
},
{
"begin": 2151,
"end": 2155,
"name": "DUP5",
"source": 1
},
{
"begin": 2145,
"end": 2156,
"name": "SLOAD",
"source": 1
},
{
"begin": 2117,
"end": 2208,
"name": "PUSH [tag]",
"source": 1,
"value": "12"
},
{
"begin": 2117,
"end": 2208,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2117,
"end": 2208,
"name": "tag",
"source": 1,
"value": "48"
},
{
"begin": 2117,
"end": 2208,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2111,
"end": 2115,
"name": "DUP3",
"source": 1
},
{
"begin": 2104,
"end": 2209,
"name": "SSTORE",
"source": 1
},
{
"begin": 2022,
"end": 2215,
"name": "POP",
"source": 1
},
{
"begin": 1946,
"end": 2215,
"name": "POP",
"source": 1
},
{
"begin": 1946,
"end": 2215,
"name": "POP",
"source": 1
},
{
"begin": 1946,
"end": 2215,
"name": "POP",
"source": 1
},
{
"begin": 1946,
"end": 2215,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2221,
"end": 2294,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 2221,
"end": 2294,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2266,
"end": 2269,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2221,
"end": 2294,
"name": "SWAP1",
"source": 1
},
{
"begin": 2221,
"end": 2294,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2300,
"end": 2489,
"name": "tag",
"source": 1,
"value": "19"
},
{
"begin": 2300,
"end": 2489,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2377,
"end": 2409,
"name": "PUSH [tag]",
"source": 1,
"value": "52"
},
{
"begin": 2377,
"end": 2409,
"name": "PUSH [tag]",
"source": 1,
"value": "18"
},
{
"begin": 2377,
"end": 2409,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2377,
"end": 2409,
"name": "tag",
"source": 1,
"value": "52"
},
{
"begin": 2377,
"end": 2409,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2418,
"end": 2483,
"name": "PUSH [tag]",
"source": 1,
"value": "53"
},
{
"begin": 2476,
"end": 2482,
"name": "DUP2",
"source": 1
},
{
"begin": 2468,
"end": 2474,
"name": "DUP5",
"source": 1
},
{
"begin": 2462,
"end": 2466,
"name": "DUP5",
"source": 1
},
{
"begin": 2418,
"end": 2483,
"name": "PUSH [tag]",
"source": 1,
"value": "17"
},
{
"begin": 2418,
"end": 2483,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2418,
"end": 2483,
"name": "tag",
"source": 1,
"value": "53"
},
{
"begin": 2418,
"end": 2483,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2353,
"end": 2489,
"name": "POP",
"source": 1
},
{
"begin": 2300,
"end": 2489,
"name": "POP",
"source": 1
},
{
"begin": 2300,
"end": 2489,
"name": "POP",
"source": 1
},
{
"begin": 2300,
"end": 2489,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2495,
"end": 2681,
"name": "tag",
"source": 1,
"value": "20"
},
{
"begin": 2495,
"end": 2681,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2555,
"end": 2675,
"name": "tag",
"source": 1,
"value": "55"
},
{
"begin": 2555,
"end": 2675,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2572,
"end": 2575,
"name": "DUP2",
"source": 1
},
{
"begin": 2565,
"end": 2570,
"name": "DUP2",
"source": 1
},
{
"begin": 2562,
"end": 2576,
"name": "LT",
"source": 1
},
{
"begin": 2555,
"end": 2675,
"name": "ISZERO",
"source": 1
},
{
"begin": 2555,
"end": 2675,
"name": "PUSH [tag]",
"source": 1,
"value": "57"
},
{
"begin": 2555,
"end": 2675,
"name": "JUMPI",
"source": 1
},
{
"begin": 2626,
"end": 2665,
"name": "PUSH [tag]",
"source": 1,
"value": "58"
},
{
"begin": 2663,
"end": 2664,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2656,
"end": 2661,
"name": "DUP3",
"source": 1
},
{
"begin": 2626,
"end": 2665,
"name": "PUSH [tag]",
"source": 1,
"value": "19"
},
{
"begin": 2626,
"end": 2665,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2626,
"end": 2665,
"name": "tag",
"source": 1,
"value": "58"
},
{
"begin": 2626,
"end": 2665,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2599,
"end": 2600,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 2592,
"end": 2597,
"name": "DUP2",
"source": 1
},
{
"begin": 2588,
"end": 2601,
"name": "ADD",
"source": 1
},
{
"begin": 2579,
"end": 2601,
"name": "SWAP1",
"source": 1
},
{
"begin": 2579,
"end": 2601,
"name": "POP",
"source": 1
},
{
"begin": 2555,
"end": 2675,
"name": "PUSH [tag]",
"source": 1,
"value": "55"
},
{
"begin": 2555,
"end": 2675,
"name": "JUMP",
"source": 1
},
{
"begin": 2555,
"end": 2675,
"name": "tag",
"source": 1,
"value": "57"
},
{
"begin": 2555,
"end": 2675,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2495,
"end": 2681,
"name": "POP",
"source": 1
},
{
"begin": 2495,
"end": 2681,
"name": "POP",
"source": 1
},
{
"begin": 2495,
"end": 2681,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2687,
"end": 3230,
"name": "tag",
"source": 1,
"value": "21"
},
{
"begin": 2687,
"end": 3230,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2788,
"end": 2790,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 2783,
"end": 2786,
"name": "DUP3",
"source": 1
},
{
"begin": 2780,
"end": 2791,
"name": "GT",
"source": 1
},
{
"begin": 2777,
"end": 3223,
"name": "ISZERO",
"source": 1
},
{
"begin": 2777,
"end": 3223,
"name": "PUSH [tag]",
"source": 1,
"value": "60"
},
{
"begin": 2777,
"end": 3223,
"name": "JUMPI",
"source": 1
},
{
"begin": 2822,
"end": 2860,
"name": "PUSH [tag]",
"source": 1,
"value": "61"
},
{
"begin": 2854,
"end": 2859,
"name": "DUP2",
"source": 1
},
{
"begin": 2822,
"end": 2860,
"name": "PUSH [tag]",
"source": 1,
"value": "9"
},
{
"begin": 2822,
"end": 2860,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2822,
"end": 2860,
"name": "tag",
"source": 1,
"value": "61"
},
{
"begin": 2822,
"end": 2860,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2906,
"end": 2935,
"name": "PUSH [tag]",
"source": 1,
"value": "62"
},
{
"begin": 2924,
"end": 2934,
"name": "DUP5",
"source": 1
},
{
"begin": 2906,
"end": 2935,
"name": "PUSH [tag]",
"source": 1,
"value": "10"
},
{
"begin": 2906,
"end": 2935,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2906,
"end": 2935,
"name": "tag",
"source": 1,
"value": "62"
},
{
"begin": 2906,
"end": 2935,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2896,
"end": 2904,
"name": "DUP2",
"source": 1
},
{
"begin": 2892,
"end": 2936,
"name": "ADD",
"source": 1
},
{
"begin": 3089,
"end": 3091,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 3077,
"end": 3087,
"name": "DUP6",
"source": 1
},
{
"begin": 3074,
"end": 3092,
"name": "LT",
"source": 1
},
{
"begin": 3071,
"end": 3120,
"name": "ISZERO",
"source": 1
},
{
"begin": 3071,
"end": 3120,
"name": "PUSH [tag]",
"source": 1,
"value": "63"
},
{
"begin": 3071,
"end": 3120,
"name": "JUMPI",
"source": 1
},
{
"begin": 3110,
"end": 3118,
"name": "DUP2",
"source": 1
},
{
"begin": 3095,
"end": 3118,
"name": "SWAP1",
"source": 1
},
{
"begin": 3095,
"end": 3118,
"name": "POP",
"source": 1
},
{
"begin": 3071,
"end": 3120,
"name": "tag",
"source": 1,
"value": "63"
},
{
"begin": 3071,
"end": 3120,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3133,
"end": 3213,
"name": "PUSH [tag]",
"source": 1,
"value": "64"
},
{
"begin": 3189,
"end": 3211,
"name": "PUSH [tag]",
"source": 1,
"value": "65"
},
{
"begin": 3207,
"end": 3210,
"name": "DUP6",
"source": 1
},
{
"begin": 3189,
"end": 3211,
"name": "PUSH [tag]",
"source": 1,
"value": "10"
},
{
"begin": 3189,
"end": 3211,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 3189,
"end": 3211,
"name": "tag",
"source": 1,
"value": "65"
},
{
"begin": 3189,
"end": 3211,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3179,
"end": 3187,
"name": "DUP4",
"source": 1
},
{
"begin": 3175,
"end": 3212,
"name": "ADD",
"source": 1
},
{
"begin": 3162,
"end": 3173,
"name": "DUP3",
"source": 1
},
{
"begin": 3133,
"end": 3213,
"name": "PUSH [tag]",
"source": 1,
"value": "20"
},
{
"begin": 3133,
"end": 3213,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 3133,
"end": 3213,
"name": "tag",
"source": 1,
"value": "64"
},
{
"begin": 3133,
"end": 3213,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2792,
"end": 3223,
"name": "POP",
"source": 1
},
{
"begin": 2792,
"end": 3223,
"name": "POP",
"source": 1
},
{
"begin": 2777,
"end": 3223,
"name": "tag",
"source": 1,
"value": "60"
},
{
"begin": 2777,
"end": 3223,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2687,
"end": 3230,
"name": "POP",
"source": 1
},
{
"begin": 2687,
"end": 3230,
"name": "POP",
"source": 1
},
{
"begin": 2687,
"end": 3230,
"name": "POP",
"source": 1
},
{
"begin": 2687,
"end": 3230,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 3236,
"end": 3353,
"name": "tag",
"source": 1,
"value": "22"
},
{
"begin": 3236,
"end": 3353,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3290,
"end": 3298,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3340,
"end": 3345,
"name": "DUP3",
"source": 1
},
{
"begin": 3334,
"end": 3338,
"name": "DUP3",
"source": 1
},
{
"begin": 3330,
"end": 3346,
"name": "SHR",
"source": 1
},
{
"begin": 3309,
"end": 3346,
"name": "SWAP1",
"source": 1
},
{
"begin": 3309,
"end": 3346,
"name": "POP",
"source": 1
},
{
"begin": 3236,
"end": 3353,
"name": "SWAP3",
"source": 1
},
{
"begin": 3236,
"end": 3353,
"name": "SWAP2",
"source": 1
},
{
"begin": 3236,
"end": 3353,
"name": "POP",
"source": 1
},
{
"begin": 3236,
"end": 3353,
"name": "POP",
"source": 1
},
{
"begin": 3236,
"end": 3353,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 3359,
"end": 3528,
"name": "tag",
"source": 1,
"value": "23"
},
{
"begin": 3359,
"end": 3528,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3403,
"end": 3409,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3436,
"end": 3487,
"name": "PUSH [tag]",
"source": 1,
"value": "68"
},
{
"begin": 3484,
"end": 3485,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3480,
"end": 3486,
"name": "NOT",
"source": 1
},
{
"begin": 3472,
"end": 3477,
"name": "DUP5",
"source": 1
},
{
"begin": 3469,
"end": 3470,
"name": "PUSH",
"source": 1,
"value": "8"
},
{
"begin": 3465,
"end": 3478,
"name": "MUL",
"source": 1
},
{
"begin": 3436,
"end": 3487,
"name": "PUSH [tag]",
"source": 1,
"value": "22"
},
{
"begin": 3436,
"end": 3487,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 3436,
"end": 3487,
"name": "tag",
"source": 1,
"value": "68"
},
{
"begin": 3436,
"end": 3487,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3432,
"end": 3488,
"name": "NOT",
"source": 1
},
{
"begin": 3517,
"end": 3521,
"name": "DUP1",
"source": 1
},
{
"begin": 3511,
"end": 3515,
"name": "DUP4",
"source": 1
},
{
"begin": 3507,
"end": 3522,
"name": "AND",
"source": 1
},
{
"begin": 3497,
"end": 3522,
"name": "SWAP2",
"source": 1
},
{
"begin": 3497,
"end": 3522,
"name": "POP",
"source": 1
},
{
"begin": 3410,
"end": 3528,
"name": "POP",
"source": 1
},
{
"begin": 3359,
"end": 3528,
"name": "SWAP3",
"source": 1
},
{
"begin": 3359,
"end": 3528,
"name": "SWAP2",
"source": 1
},
{
"begin": 3359,
"end": 3528,
"name": "POP",
"source": 1
},
{
"begin": 3359,
"end": 3528,
"name": "POP",
"source": 1
},
{
"begin": 3359,
"end": 3528,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 3533,
"end": 3828,
"name": "tag",
"source": 1,
"value": "24"
},
{
"begin": 3533,
"end": 3828,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3609,
"end": 3613,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 3755,
"end": 3784,
"name": "PUSH [tag]",
"source": 1,
"value": "70"
},
{
"begin": 3780,
"end": 3783,
"name": "DUP4",
"source": 1
},
{
"begin": 3774,
"end": 3778,
"name": "DUP4",
"source": 1
},
{
"begin": 3755,
"end": 3784,
"name": "PUSH [tag]",
"source": 1,
"value": "23"
},
{
"begin": 3755,
"end": 3784,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 3755,
"end": 3784,
"name": "tag",
"source": 1,
"value": "70"
},
{
"begin": 3755,
"end": 3784,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3747,
"end": 3784,
"name": "SWAP2",
"source": 1
},
{
"begin": 3747,
"end": 3784,
"name": "POP",
"source": 1
},
{
"begin": 3817,
"end": 3820,
"name": "DUP3",
"source": 1
},
{
"begin": 3814,
"end": 3815,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 3810,
"end": 3821,
"name": "MUL",
"source": 1
},
{
"begin": 3804,
"end": 3808,
"name": "DUP3",
"source": 1
},
{
"begin": 3801,
"end": 3822,
"name": "OR",
"source": 1
},
{
"begin": 3793,
"end": 3822,
"name": "SWAP1",
"source": 1
},
{
"begin": 3793,
"end": 3822,
"name": "POP",
"source": 1
},
{
"begin": 3533,
"end": 3828,
"name": "SWAP3",
"source": 1
},
{
"begin": 3533,
"end": 3828,
"name": "SWAP2",
"source": 1
},
{
"begin": 3533,
"end": 3828,
"name": "POP",
"source": 1
},
{
"begin": 3533,
"end": 3828,
"name": "POP",
"source": 1
},
{
"begin": 3533,
"end": 3828,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 3833,
"end": 5228,
"name": "tag",
"source": 1,
"value": "2"
},
{
"begin": 3833,
"end": 5228,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3950,
"end": 3987,
"name": "PUSH [tag]",
"source": 1,
"value": "72"
},
{
"begin": 3983,
"end": 3986,
"name": "DUP3",
"source": 1
},
{
"begin": 3950,
"end": 3987,
"name": "PUSH [tag]",
"source": 1,
"value": "5"
},
{
"begin": 3950,
"end": 3987,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 3950,
"end": 3987,
"name": "tag",
"source": 1,
"value": "72"
},
{
"begin": 3950,
"end": 3987,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4052,
"end": 4070,
"name": "PUSH",
"source": 1,
"value": "FFFFFFFFFFFFFFFF"
},
{
"begin": 4044,
"end": 4050,
"name": "DUP2",
"source": 1
},
{
"begin": 4041,
"end": 4071,
"name": "GT",
"source": 1
},
{
"begin": 4038,
"end": 4094,
"name": "ISZERO",
"source": 1
},
{
"begin": 4038,
"end": 4094,
"name": "PUSH [tag]",
"source": 1,
"value": "73"
},
{
"begin": 4038,
"end": 4094,
"name": "JUMPI",
"source": 1
},
{
"begin": 4074,
"end": 4092,
"name": "PUSH [tag]",
"source": 1,
"value": "74"
},
{
"begin": 4074,
"end": 4092,
"name": "PUSH [tag]",
"source": 1,
"value": "6"
},
{
"begin": 4074,
"end": 4092,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 4074,
"end": 4092,
"name": "tag",
"source": 1,
"value": "74"
},
{
"begin": 4074,
"end": 4092,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4038,
"end": 4094,
"name": "tag",
"source": 1,
"value": "73"
},
{
"begin": 4038,
"end": 4094,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4118,
"end": 4156,
"name": "PUSH [tag]",
"source": 1,
"value": "75"
},
{
"begin": 4150,
"end": 4154,
"name": "DUP3",
"source": 1
},
{
"begin": 4144,
"end": 4155,
"name": "SLOAD",
"source": 1
},
{
"begin": 4118,
"end": 4156,
"name": "PUSH [tag]",
"source": 1,
"value": "8"
},
{
"begin": 4118,
"end": 4156,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 4118,
"end": 4156,
"name": "tag",
"source": 1,
"value": "75"
},
{
"begin": 4118,
"end": 4156,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4203,
"end": 4270,
"name": "PUSH [tag]",
"source": 1,
"value": "76"
},
{
"begin": 4263,
"end": 4269,
"name": "DUP3",
"source": 1
},
{
"begin": 4255,
"end": 4261,
"name": "DUP3",
"source": 1
},
{
"begin": 4249,
"end": 4253,
"name": "DUP6",
"source": 1
},
{
"begin": 4203,
"end": 4270,
"name": "PUSH [tag]",
"source": 1,
"value": "21"
},
{
"begin": 4203,
"end": 4270,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 4203,
"end": 4270,
"name": "tag",
"source": 1,
"value": "76"
},
{
"begin": 4203,
"end": 4270,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4297,
"end": 4298,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 4321,
"end": 4325,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 4308,
"end": 4325,
"name": "SWAP1",
"source": 1
},
{
"begin": 4308,
"end": 4325,
"name": "POP",
"source": 1
},
{
"begin": 4353,
"end": 4355,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 4345,
"end": 4351,
"name": "DUP4",
"source": 1
},
{
"begin": 4342,
"end": 4356,
"name": "GT",
"source": 1
},
{
"begin": 4370,
"end": 4371,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 4365,
"end": 4983,
"name": "DUP2",
"source": 1
},
{
"begin": 4365,
"end": 4983,
"name": "EQ",
"source": 1
},
{
"begin": 4365,
"end": 4983,
"name": "PUSH [tag]",
"source": 1,
"value": "78"
},
{
"begin": 4365,
"end": 4983,
"name": "JUMPI",
"source": 1
},
{
"begin": 5027,
"end": 5028,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 5044,
"end": 5050,
"name": "DUP5",
"source": 1
},
{
"begin": 5041,
"end": 5118,
"name": "ISZERO",
"source": 1
},
{
"begin": 5041,
"end": 5118,
"name": "PUSH [tag]",
"source": 1,
"value": "79"
},
{
"begin": 5041,
"end": 5118,
"name": "JUMPI",
"source": 1
},
{
"begin": 5093,
"end": 5102,
"name": "DUP3",
"source": 1
},
{
"begin": 5088,
"end": 5091,
"name": "DUP8",
"source": 1
},
{
"begin": 5084,
"end": 5103,
"name": "ADD",
"source": 1
},
{
"begin": 5078,
"end": 5104,
"name": "MLOAD",
"source": 1
},
{
"begin": 5069,
"end": 5104,
"name": "SWAP1",
"source": 1
},
{
"begin": 5069,
"end": 5104,
"name": "POP",
"source": 1
},
{
"begin": 5041,
"end": 5118,
"name": "tag",
"source": 1,
"value": "79"
},
{
"begin": 5041,
"end": 5118,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 5144,
"end": 5211,
"name": "PUSH [tag]",
"source": 1,
"value": "80"
},
{
"begin": 5204,
"end": 5210,
"name": "DUP6",
"source": 1
},
{
"begin": 5197,
"end": 5202,
"name": "DUP3",
"source": 1
},
{
"begin": 5144,
"end": 5211,
"name": "PUSH [tag]",
"source": 1,
"value": "24"
},
{
"begin": 5144,
"end": 5211,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 5144,
"end": 5211,
"name": "tag",
"source": 1,
"value": "80"
},
{
"begin": 5144,
"end": 5211,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 5138,
"end": 5142,
"name": "DUP7",
"source": 1
},
{
"begin": 5131,
"end": 5212,
"name": "SSTORE",
"source": 1
},
{
"begin": 5000,
"end": 5222,
"name": "POP",
"source": 1
},
{
"begin": 4335,
"end": 5222,
"name": "PUSH [tag]",
"source": 1,
"value": "77"
},
{
"begin": 4335,
"end": 5222,
"name": "JUMP",
"source": 1
},
{
"begin": 4365,
"end": 4983,
"name": "tag",
"source": 1,
"value": "78"
},
{
"begin": 4365,
"end": 4983,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4417,
"end": 4421,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 4413,
"end": 4422,
"name": "NOT",
"source": 1
},
{
"begin": 4405,
"end": 4411,
"name": "DUP5",
"source": 1
},
{
"begin": 4401,
"end": 4423,
"name": "AND",
"source": 1
},
{
"begin": 4451,
"end": 4488,
"name": "PUSH [tag]",
"source": 1,
"value": "81"
},
{
"begin": 4483,
"end": 4487,
"name": "DUP7",
"source": 1
},
{
"begin": 4451,
"end": 4488,
"name": "PUSH [tag]",
"source": 1,
"value": "9"
},
{
"begin": 4451,
"end": 4488,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 4451,
"end": 4488,
"name": "tag",
"source": 1,
"value": "81"
},
{
"begin": 4451,
"end": 4488,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4510,
"end": 4511,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 4524,
"end": 4732,
"name": "tag",
"source": 1,
"value": "82"
},
{
"begin": 4524,
"end": 4732,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4538,
"end": 4545,
"name": "DUP3",
"source": 1
},
{
"begin": 4535,
"end": 4536,
"name": "DUP2",
"source": 1
},
{
"begin": 4532,
"end": 4546,
"name": "LT",
"source": 1
},
{
"begin": 4524,
"end": 4732,
"name": "ISZERO",
"source": 1
},
{
"begin": 4524,
"end": 4732,
"name": "PUSH [tag]",
"source": 1,
"value": "84"
},
{
"begin": 4524,
"end": 4732,
"name": "JUMPI",
"source": 1
},
{
"begin": 4617,
"end": 4626,
"name": "DUP5",
"source": 1
},
{
"begin": 4612,
"end": 4615,
"name": "DUP10",
"source": 1
},
{
"begin": 4608,
"end": 4627,
"name": "ADD",
"source": 1
},
{
"begin": 4602,
"end": 4628,
"name": "MLOAD",
"source": 1
},
{
"begin": 4594,
"end": 4600,
"name": "DUP3",
"source": 1
},
{
"begin": 4587,
"end": 4629,
"name": "SSTORE",
"source": 1
},
{
"begin": 4668,
"end": 4669,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 4660,
"end": 4666,
"name": "DUP3",
"source": 1
},
{
"begin": 4656,
"end": 4670,
"name": "ADD",
"source": 1
},
{
"begin": 4646,
"end": 4670,
"name": "SWAP2",
"source": 1
},
{
"begin": 4646,
"end": 4670,
"name": "POP",
"source": 1
},
{
"begin": 4715,
"end": 4717,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 4704,
"end": 4713,
"name": "DUP6",
"source": 1
},
{
"begin": 4700,
"end": 4718,
"name": "ADD",
"source": 1
},
{
"begin": 4687,
"end": 4718,
"name": "SWAP5",
"source": 1
},
{
"begin": 4687,
"end": 4718,
"name": "POP",
"source": 1
},
{
"begin": 4561,
"end": 4565,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 4558,
"end": 4559,
"name": "DUP2",
"source": 1
},
{
"begin": 4554,
"end": 4566,
"name": "ADD",
"source": 1
},
{
"begin": 4549,
"end": 4566,
"name": "SWAP1",
"source": 1
},
{
"begin": 4549,
"end": 4566,
"name": "POP",
"source": 1
},
{
"begin": 4524,
"end": 4732,
"name": "PUSH [tag]",
"source": 1,
"value": "82"
},
{
"begin": 4524,
"end": 4732,
"name": "JUMP",
"source": 1
},
{
"begin": 4524,
"end": 4732,
"name": "tag",
"source": 1,
"value": "84"
},
{
"begin": 4524,
"end": 4732,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4760,
"end": 4766,
"name": "DUP7",
"source": 1
},
{
"begin": 4751,
"end": 4758,
"name": "DUP4",
"source": 1
},
{
"begin": 4748,
"end": 4767,
"name": "LT",
"source": 1
},
{
"begin": 4745,
"end": 4924,
"name": "ISZERO",
"source": 1
},
{
"begin": 4745,
"end": 4924,
"name": "PUSH [tag]",
"source": 1,
"value": "85"
},
{
"begin": 4745,
"end": 4924,
"name": "JUMPI",
"source": 1
},
{
"begin": 4818,
"end": 4827,
"name": "DUP5",
"source": 1
},
{
"begin": 4813,
"end": 4816,
"name": "DUP10",
"source": 1
},
{
"begin": 4809,
"end": 4828,
"name": "ADD",
"source": 1
},
{
"begin": 4803,
"end": 4829,
"name": "MLOAD",
"source": 1
},
{
"begin": 4861,
"end": 4909,
"name": "PUSH [tag]",
"source": 1,
"value": "86"
},
{
"begin": 4903,
"end": 4907,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 4895,
"end": 4901,
"name": "DUP10",
"source": 1
},
{
"begin": 4891,
"end": 4908,
"name": "AND",
"source": 1
},
{
"begin": 4880,
"end": 4889,
"name": "DUP3",
"source": 1
},
{
"begin": 4861,
"end": 4909,
"name": "PUSH [tag]",
"source": 1,
"value": "23"
},
{
"begin": 4861,
"end": 4909,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 4861,
"end": 4909,
"name": "tag",
"source": 1,
"value": "86"
},
{
"begin": 4861,
"end": 4909,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4853,
"end": 4859,
"name": "DUP4",
"source": 1
},
{
"begin": 4846,
"end": 4910,
"name": "SSTORE",
"source": 1
},
{
"begin": 4768,
"end": 4924,
"name": "POP",
"source": 1
},
{
"begin": 4745,
"end": 4924,
"name": "tag",
"source": 1,
"value": "85"
},
{
"begin": 4745,
"end": 4924,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4970,
"end": 4971,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 4966,
"end": 4967,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 4958,
"end": 4964,
"name": "DUP9",
"source": 1
},
{
"begin": 4954,
"end": 4968,
"name": "MUL",
"source": 1
},
{
"begin": 4950,
"end": 4972,
"name": "ADD",
"source": 1
},
{
"begin": 4944,
"end": 4948,
"name": "DUP9",
"source": 1
},
{
"begin": 4937,
"end": 4973,
"name": "SSTORE",
"source": 1
},
{
"begin": 4372,
"end": 4983,
"name": "POP",
"source": 1
},
{
"begin": 4372,
"end": 4983,
"name": "POP",
"source": 1
},
{
"begin": 4372,
"end": 4983,
"name": "POP",
"source": 1
},
{
"begin": 4335,
"end": 5222,
"name": "tag",
"source": 1,
"value": "77"
},
{
"begin": 4335,
"end": 5222,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 4335,
"end": 5222,
"name": "POP",
"source": 1
},
{
"begin": 3925,
"end": 5228,
"name": "POP",
"source": 1
},
{
"begin": 3925,
"end": 5228,
"name": "POP",
"source": 1
},
{
"begin": 3925,
"end": 5228,
"name": "POP",
"source": 1
},
{
"begin": 3833,
"end": 5228,
"name": "POP",
"source": 1
},
{
"begin": 3833,
"end": 5228,
"name": "POP",
"source": 1
},
{
"begin": 3833,
"end": 5228,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 58,
"end": 287,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 58,
"end": 287,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 287,
"name": "CODECOPY",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 287,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220454e927935d1b200da6cd8d9155c1c3c554711e28bc3cefc5da95f538df7ba6d64736f6c63430008160033",
".code": [
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 58,
"end": 287,
"name": "MSTORE",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "ISZERO",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 58,
"end": 287,
"name": "JUMPI",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "REVERT",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 58,
"end": 287,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "POP",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 58,
"end": 287,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "LT",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [tag]",
"source": 0,
"value": "2"
},
{
"begin": 58,
"end": 287,
"name": "JUMPI",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 287,
"name": "CALLDATALOAD",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "E0"
},
{
"begin": 58,
"end": 287,
"name": "SHR",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "2F2F4859"
},
{
"begin": 58,
"end": 287,
"name": "EQ",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [tag]",
"source": 0,
"value": "3"
},
{
"begin": 58,
"end": 287,
"name": "JUMPI",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "60FE47B1"
},
{
"begin": 58,
"end": 287,
"name": "EQ",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [tag]",
"source": 0,
"value": "4"
},
{
"begin": 58,
"end": 287,
"name": "JUMPI",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "6D4CE63C"
},
{
"begin": 58,
"end": 287,
"name": "EQ",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [tag]",
"source": 0,
"value": "5"
},
{
"begin": 58,
"end": 287,
"name": "JUMPI",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "C6B91540"
},
{
"begin": 58,
"end": 287,
"name": "EQ",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH [tag]",
"source": 0,
"value": "6"
},
{
"begin": 58,
"end": 287,
"name": "JUMPI",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "tag",
"source": 0,
"value": "2"
},
{
"begin": 58,
"end": 287,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 287,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 287,
"name": "REVERT",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "3"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "7"
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "8"
},
{
"begin": 84,
"end": 124,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "7"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 84,
"end": 124,
"name": "MLOAD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "9"
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "10"
},
{
"begin": 84,
"end": 124,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "9"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 84,
"end": 124,
"name": "MLOAD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SUB",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "RETURN",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "tag",
"source": 0,
"value": "4"
},
{
"begin": 231,
"end": 285,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "PUSH [tag]",
"source": 0,
"value": "11"
},
{
"begin": 231,
"end": 285,
"name": "PUSH",
"source": 0,
"value": "4"
},
{
"begin": 231,
"end": 285,
"name": "DUP1",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "CALLDATASIZE",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "SUB",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "DUP2",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "ADD",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "SWAP1",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "PUSH [tag]",
"source": 0,
"value": "12"
},
{
"begin": 231,
"end": 285,
"name": "SWAP2",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "SWAP1",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "PUSH [tag]",
"source": 0,
"value": "13"
},
{
"begin": 231,
"end": 285,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "tag",
"source": 0,
"value": "12"
},
{
"begin": 231,
"end": 285,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "PUSH [tag]",
"source": 0,
"value": "14"
},
{
"begin": 231,
"end": 285,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "tag",
"source": 0,
"value": "11"
},
{
"begin": 231,
"end": 285,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "STOP",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "tag",
"source": 0,
"value": "5"
},
{
"begin": 155,
"end": 225,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "PUSH [tag]",
"source": 0,
"value": "15"
},
{
"begin": 155,
"end": 225,
"name": "PUSH [tag]",
"source": 0,
"value": "16"
},
{
"begin": 155,
"end": 225,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "tag",
"source": 0,
"value": "15"
},
{
"begin": 155,
"end": 225,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 155,
"end": 225,
"name": "MLOAD",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "PUSH [tag]",
"source": 0,
"value": "17"
},
{
"begin": 155,
"end": 225,
"name": "SWAP2",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "SWAP1",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "PUSH [tag]",
"source": 0,
"value": "18"
},
{
"begin": 155,
"end": 225,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "tag",
"source": 0,
"value": "17"
},
{
"begin": 155,
"end": 225,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 155,
"end": 225,
"name": "MLOAD",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "DUP1",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "SWAP2",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "SUB",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "SWAP1",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "RETURN",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "tag",
"source": 0,
"value": "6"
},
{
"begin": 131,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "19"
},
{
"begin": 131,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "20"
},
{
"begin": 131,
"end": 148,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "tag",
"source": 0,
"value": "19"
},
{
"begin": 131,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 131,
"end": 148,
"name": "MLOAD",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "21"
},
{
"begin": 131,
"end": 148,
"name": "SWAP2",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "SWAP1",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "PUSH [tag]",
"source": 0,
"value": "18"
},
{
"begin": 131,
"end": 148,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "tag",
"source": 0,
"value": "21"
},
{
"begin": 131,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 131,
"end": 148,
"name": "MLOAD",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "DUP1",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "SWAP2",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "SUB",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "SWAP1",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "RETURN",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "8"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SLOAD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "22"
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "23"
},
{
"begin": 84,
"end": 124,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "22"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DIV",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "MUL",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 84,
"end": 124,
"name": "MLOAD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 84,
"end": 124,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP3",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP3",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SLOAD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "24"
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "23"
},
{
"begin": 84,
"end": 124,
"jumpType": "[in]",
"name": "JUMP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "24"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "ISZERO",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "25"
},
{
"begin": 84,
"end": 124,
"name": "JUMPI",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 84,
"end": 124,
"name": "LT",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "26"
},
{
"begin": 84,
"end": 124,
"name": "JUMPI",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "100"
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP4",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SLOAD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DIV",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "MUL",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP4",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "25"
},
{
"begin": 84,
"end": 124,
"name": "JUMP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "26"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP3",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 84,
"end": 124,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 84,
"end": 124,
"name": "KECCAK256",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "27"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SLOAD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "MSTORE",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "20"
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP4",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "GT",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH [tag]",
"source": 0,
"value": "27"
},
{
"begin": 84,
"end": 124,
"name": "JUMPI",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP3",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP1",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SUB",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "PUSH",
"source": 0,
"value": "1F"
},
{
"begin": 84,
"end": 124,
"name": "AND",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP3",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "ADD",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "SWAP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "tag",
"source": 0,
"value": "25"
},
{
"begin": 84,
"end": 124,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "POP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "POP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "POP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "POP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "POP",
"source": 0
},
{
"begin": 84,
"end": 124,
"name": "DUP2",
"source": 0
},
{
"begin": 84,
"end": 124,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "tag",
"source": 0,
"value": "14"
},
{
"begin": 231,
"end": 285,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 277,
"end": 278,
"name": "DUP1",
"source": 0
},
{
"begin": 269,
"end": 274,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 269,
"end": 278,
"name": "DUP2",
"source": 0
},
{
"begin": 269,
"end": 278,
"name": "SWAP1",
"source": 0
},
{
"begin": 269,
"end": 278,
"name": "SSTORE",
"source": 0
},
{
"begin": 269,
"end": 278,
"name": "POP",
"source": 0
},
{
"begin": 231,
"end": 285,
"name": "POP",
"source": 0
},
{
"begin": 231,
"end": 285,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "tag",
"source": 0,
"value": "16"
},
{
"begin": 155,
"end": 225,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 191,
"end": 195,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 213,
"end": 218,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 213,
"end": 218,
"name": "SLOAD",
"source": 0
},
{
"begin": 206,
"end": 218,
"name": "SWAP1",
"source": 0
},
{
"begin": 206,
"end": 218,
"name": "POP",
"source": 0
},
{
"begin": 155,
"end": 225,
"name": "SWAP1",
"source": 0
},
{
"begin": 155,
"end": 225,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "tag",
"source": 0,
"value": "20"
},
{
"begin": 131,
"end": 148,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "PUSH",
"source": 0,
"value": "1"
},
{
"begin": 131,
"end": 148,
"name": "SLOAD",
"source": 0
},
{
"begin": 131,
"end": 148,
"name": "DUP2",
"source": 0
},
{
"begin": 131,
"end": 148,
"jumpType": "[out]",
"name": "JUMP",
"source": 0
},
{
"begin": 7,
"end": 106,
"name": "tag",
"source": 1,
"value": "30"
},
{
"begin": 7,
"end": 106,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 59,
"end": 65,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 93,
"end": 98,
"name": "DUP2",
"source": 1
},
{
"begin": 87,
"end": 99,
"name": "MLOAD",
"source": 1
},
{
"begin": 77,
"end": 99,
"name": "SWAP1",
"source": 1
},
{
"begin": 77,
"end": 99,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 106,
"name": "SWAP2",
"source": 1
},
{
"begin": 7,
"end": 106,
"name": "SWAP1",
"source": 1
},
{
"begin": 7,
"end": 106,
"name": "POP",
"source": 1
},
{
"begin": 7,
"end": 106,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 112,
"end": 281,
"name": "tag",
"source": 1,
"value": "31"
},
{
"begin": 112,
"end": 281,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 196,
"end": 207,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 230,
"end": 236,
"name": "DUP3",
"source": 1
},
{
"begin": 225,
"end": 228,
"name": "DUP3",
"source": 1
},
{
"begin": 218,
"end": 237,
"name": "MSTORE",
"source": 1
},
{
"begin": 270,
"end": 274,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 265,
"end": 268,
"name": "DUP3",
"source": 1
},
{
"begin": 261,
"end": 275,
"name": "ADD",
"source": 1
},
{
"begin": 246,
"end": 275,
"name": "SWAP1",
"source": 1
},
{
"begin": 246,
"end": 275,
"name": "POP",
"source": 1
},
{
"begin": 112,
"end": 281,
"name": "SWAP3",
"source": 1
},
{
"begin": 112,
"end": 281,
"name": "SWAP2",
"source": 1
},
{
"begin": 112,
"end": 281,
"name": "POP",
"source": 1
},
{
"begin": 112,
"end": 281,
"name": "POP",
"source": 1
},
{
"begin": 112,
"end": 281,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 287,
"end": 533,
"name": "tag",
"source": 1,
"value": "32"
},
{
"begin": 287,
"end": 533,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 368,
"end": 369,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 378,
"end": 491,
"name": "tag",
"source": 1,
"value": "47"
},
{
"begin": 378,
"end": 491,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 392,
"end": 398,
"name": "DUP4",
"source": 1
},
{
"begin": 389,
"end": 390,
"name": "DUP2",
"source": 1
},
{
"begin": 386,
"end": 399,
"name": "LT",
"source": 1
},
{
"begin": 378,
"end": 491,
"name": "ISZERO",
"source": 1
},
{
"begin": 378,
"end": 491,
"name": "PUSH [tag]",
"source": 1,
"value": "49"
},
{
"begin": 378,
"end": 491,
"name": "JUMPI",
"source": 1
},
{
"begin": 477,
"end": 478,
"name": "DUP1",
"source": 1
},
{
"begin": 472,
"end": 475,
"name": "DUP3",
"source": 1
},
{
"begin": 468,
"end": 479,
"name": "ADD",
"source": 1
},
{
"begin": 462,
"end": 480,
"name": "MLOAD",
"source": 1
},
{
"begin": 458,
"end": 459,
"name": "DUP2",
"source": 1
},
{
"begin": 453,
"end": 456,
"name": "DUP5",
"source": 1
},
{
"begin": 449,
"end": 460,
"name": "ADD",
"source": 1
},
{
"begin": 442,
"end": 481,
"name": "MSTORE",
"source": 1
},
{
"begin": 414,
"end": 416,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 411,
"end": 412,
"name": "DUP2",
"source": 1
},
{
"begin": 407,
"end": 417,
"name": "ADD",
"source": 1
},
{
"begin": 402,
"end": 417,
"name": "SWAP1",
"source": 1
},
{
"begin": 402,
"end": 417,
"name": "POP",
"source": 1
},
{
"begin": 378,
"end": 491,
"name": "PUSH [tag]",
"source": 1,
"value": "47"
},
{
"begin": 378,
"end": 491,
"name": "JUMP",
"source": 1
},
{
"begin": 378,
"end": 491,
"name": "tag",
"source": 1,
"value": "49"
},
{
"begin": 378,
"end": 491,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 525,
"end": 526,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 516,
"end": 522,
"name": "DUP5",
"source": 1
},
{
"begin": 511,
"end": 514,
"name": "DUP5",
"source": 1
},
{
"begin": 507,
"end": 523,
"name": "ADD",
"source": 1
},
{
"begin": 500,
"end": 527,
"name": "MSTORE",
"source": 1
},
{
"begin": 349,
"end": 533,
"name": "POP",
"source": 1
},
{
"begin": 287,
"end": 533,
"name": "POP",
"source": 1
},
{
"begin": 287,
"end": 533,
"name": "POP",
"source": 1
},
{
"begin": 287,
"end": 533,
"name": "POP",
"source": 1
},
{
"begin": 287,
"end": 533,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 539,
"end": 641,
"name": "tag",
"source": 1,
"value": "33"
},
{
"begin": 539,
"end": 641,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 580,
"end": 586,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 631,
"end": 633,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 627,
"end": 634,
"name": "NOT",
"source": 1
},
{
"begin": 622,
"end": 624,
"name": "PUSH",
"source": 1,
"value": "1F"
},
{
"begin": 615,
"end": 620,
"name": "DUP4",
"source": 1
},
{
"begin": 611,
"end": 625,
"name": "ADD",
"source": 1
},
{
"begin": 607,
"end": 635,
"name": "AND",
"source": 1
},
{
"begin": 597,
"end": 635,
"name": "SWAP1",
"source": 1
},
{
"begin": 597,
"end": 635,
"name": "POP",
"source": 1
},
{
"begin": 539,
"end": 641,
"name": "SWAP2",
"source": 1
},
{
"begin": 539,
"end": 641,
"name": "SWAP1",
"source": 1
},
{
"begin": 539,
"end": 641,
"name": "POP",
"source": 1
},
{
"begin": 539,
"end": 641,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 647,
"end": 1024,
"name": "tag",
"source": 1,
"value": "34"
},
{
"begin": 647,
"end": 1024,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 735,
"end": 738,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 763,
"end": 802,
"name": "PUSH [tag]",
"source": 1,
"value": "52"
},
{
"begin": 796,
"end": 801,
"name": "DUP3",
"source": 1
},
{
"begin": 763,
"end": 802,
"name": "PUSH [tag]",
"source": 1,
"value": "30"
},
{
"begin": 763,
"end": 802,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 763,
"end": 802,
"name": "tag",
"source": 1,
"value": "52"
},
{
"begin": 763,
"end": 802,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 818,
"end": 889,
"name": "PUSH [tag]",
"source": 1,
"value": "53"
},
{
"begin": 882,
"end": 888,
"name": "DUP2",
"source": 1
},
{
"begin": 877,
"end": 880,
"name": "DUP6",
"source": 1
},
{
"begin": 818,
"end": 889,
"name": "PUSH [tag]",
"source": 1,
"value": "31"
},
{
"begin": 818,
"end": 889,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 818,
"end": 889,
"name": "tag",
"source": 1,
"value": "53"
},
{
"begin": 818,
"end": 889,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 811,
"end": 889,
"name": "SWAP4",
"source": 1
},
{
"begin": 811,
"end": 889,
"name": "POP",
"source": 1
},
{
"begin": 898,
"end": 963,
"name": "PUSH [tag]",
"source": 1,
"value": "54"
},
{
"begin": 956,
"end": 962,
"name": "DUP2",
"source": 1
},
{
"begin": 951,
"end": 954,
"name": "DUP6",
"source": 1
},
{
"begin": 944,
"end": 948,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 937,
"end": 942,
"name": "DUP7",
"source": 1
},
{
"begin": 933,
"end": 949,
"name": "ADD",
"source": 1
},
{
"begin": 898,
"end": 963,
"name": "PUSH [tag]",
"source": 1,
"value": "32"
},
{
"begin": 898,
"end": 963,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 898,
"end": 963,
"name": "tag",
"source": 1,
"value": "54"
},
{
"begin": 898,
"end": 963,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 988,
"end": 1017,
"name": "PUSH [tag]",
"source": 1,
"value": "55"
},
{
"begin": 1010,
"end": 1016,
"name": "DUP2",
"source": 1
},
{
"begin": 988,
"end": 1017,
"name": "PUSH [tag]",
"source": 1,
"value": "33"
},
{
"begin": 988,
"end": 1017,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 988,
"end": 1017,
"name": "tag",
"source": 1,
"value": "55"
},
{
"begin": 988,
"end": 1017,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 983,
"end": 986,
"name": "DUP5",
"source": 1
},
{
"begin": 979,
"end": 1018,
"name": "ADD",
"source": 1
},
{
"begin": 972,
"end": 1018,
"name": "SWAP2",
"source": 1
},
{
"begin": 972,
"end": 1018,
"name": "POP",
"source": 1
},
{
"begin": 739,
"end": 1024,
"name": "POP",
"source": 1
},
{
"begin": 647,
"end": 1024,
"name": "SWAP3",
"source": 1
},
{
"begin": 647,
"end": 1024,
"name": "SWAP2",
"source": 1
},
{
"begin": 647,
"end": 1024,
"name": "POP",
"source": 1
},
{
"begin": 647,
"end": 1024,
"name": "POP",
"source": 1
},
{
"begin": 647,
"end": 1024,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1030,
"end": 1343,
"name": "tag",
"source": 1,
"value": "10"
},
{
"begin": 1030,
"end": 1343,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1143,
"end": 1147,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1181,
"end": 1183,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 1170,
"end": 1179,
"name": "DUP3",
"source": 1
},
{
"begin": 1166,
"end": 1184,
"name": "ADD",
"source": 1
},
{
"begin": 1158,
"end": 1184,
"name": "SWAP1",
"source": 1
},
{
"begin": 1158,
"end": 1184,
"name": "POP",
"source": 1
},
{
"begin": 1230,
"end": 1239,
"name": "DUP2",
"source": 1
},
{
"begin": 1224,
"end": 1228,
"name": "DUP2",
"source": 1
},
{
"begin": 1220,
"end": 1240,
"name": "SUB",
"source": 1
},
{
"begin": 1216,
"end": 1217,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1205,
"end": 1214,
"name": "DUP4",
"source": 1
},
{
"begin": 1201,
"end": 1218,
"name": "ADD",
"source": 1
},
{
"begin": 1194,
"end": 1241,
"name": "MSTORE",
"source": 1
},
{
"begin": 1258,
"end": 1336,
"name": "PUSH [tag]",
"source": 1,
"value": "57"
},
{
"begin": 1331,
"end": 1335,
"name": "DUP2",
"source": 1
},
{
"begin": 1322,
"end": 1328,
"name": "DUP5",
"source": 1
},
{
"begin": 1258,
"end": 1336,
"name": "PUSH [tag]",
"source": 1,
"value": "34"
},
{
"begin": 1258,
"end": 1336,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1258,
"end": 1336,
"name": "tag",
"source": 1,
"value": "57"
},
{
"begin": 1258,
"end": 1336,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1250,
"end": 1336,
"name": "SWAP1",
"source": 1
},
{
"begin": 1250,
"end": 1336,
"name": "POP",
"source": 1
},
{
"begin": 1030,
"end": 1343,
"name": "SWAP3",
"source": 1
},
{
"begin": 1030,
"end": 1343,
"name": "SWAP2",
"source": 1
},
{
"begin": 1030,
"end": 1343,
"name": "POP",
"source": 1
},
{
"begin": 1030,
"end": 1343,
"name": "POP",
"source": 1
},
{
"begin": 1030,
"end": 1343,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1430,
"end": 1547,
"name": "tag",
"source": 1,
"value": "36"
},
{
"begin": 1430,
"end": 1547,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1539,
"end": 1540,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1536,
"end": 1537,
"name": "DUP1",
"source": 1
},
{
"begin": 1529,
"end": 1541,
"name": "REVERT",
"source": 1
},
{
"begin": 1676,
"end": 1753,
"name": "tag",
"source": 1,
"value": "38"
},
{
"begin": 1676,
"end": 1753,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1713,
"end": 1720,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1742,
"end": 1747,
"name": "DUP2",
"source": 1
},
{
"begin": 1731,
"end": 1747,
"name": "SWAP1",
"source": 1
},
{
"begin": 1731,
"end": 1747,
"name": "POP",
"source": 1
},
{
"begin": 1676,
"end": 1753,
"name": "SWAP2",
"source": 1
},
{
"begin": 1676,
"end": 1753,
"name": "SWAP1",
"source": 1
},
{
"begin": 1676,
"end": 1753,
"name": "POP",
"source": 1
},
{
"begin": 1676,
"end": 1753,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1759,
"end": 1881,
"name": "tag",
"source": 1,
"value": "39"
},
{
"begin": 1759,
"end": 1881,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1832,
"end": 1856,
"name": "PUSH [tag]",
"source": 1,
"value": "63"
},
{
"begin": 1850,
"end": 1855,
"name": "DUP2",
"source": 1
},
{
"begin": 1832,
"end": 1856,
"name": "PUSH [tag]",
"source": 1,
"value": "38"
},
{
"begin": 1832,
"end": 1856,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1832,
"end": 1856,
"name": "tag",
"source": 1,
"value": "63"
},
{
"begin": 1832,
"end": 1856,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1825,
"end": 1830,
"name": "DUP2",
"source": 1
},
{
"begin": 1822,
"end": 1857,
"name": "EQ",
"source": 1
},
{
"begin": 1812,
"end": 1875,
"name": "PUSH [tag]",
"source": 1,
"value": "64"
},
{
"begin": 1812,
"end": 1875,
"name": "JUMPI",
"source": 1
},
{
"begin": 1871,
"end": 1872,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1868,
"end": 1869,
"name": "DUP1",
"source": 1
},
{
"begin": 1861,
"end": 1873,
"name": "REVERT",
"source": 1
},
{
"begin": 1812,
"end": 1875,
"name": "tag",
"source": 1,
"value": "64"
},
{
"begin": 1812,
"end": 1875,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1759,
"end": 1881,
"name": "POP",
"source": 1
},
{
"begin": 1759,
"end": 1881,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 1887,
"end": 2026,
"name": "tag",
"source": 1,
"value": "40"
},
{
"begin": 1887,
"end": 2026,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1933,
"end": 1938,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 1971,
"end": 1977,
"name": "DUP2",
"source": 1
},
{
"begin": 1958,
"end": 1978,
"name": "CALLDATALOAD",
"source": 1
},
{
"begin": 1949,
"end": 1978,
"name": "SWAP1",
"source": 1
},
{
"begin": 1949,
"end": 1978,
"name": "POP",
"source": 1
},
{
"begin": 1987,
"end": 2020,
"name": "PUSH [tag]",
"source": 1,
"value": "66"
},
{
"begin": 2014,
"end": 2019,
"name": "DUP2",
"source": 1
},
{
"begin": 1987,
"end": 2020,
"name": "PUSH [tag]",
"source": 1,
"value": "39"
},
{
"begin": 1987,
"end": 2020,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 1987,
"end": 2020,
"name": "tag",
"source": 1,
"value": "66"
},
{
"begin": 1987,
"end": 2020,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 1887,
"end": 2026,
"name": "SWAP3",
"source": 1
},
{
"begin": 1887,
"end": 2026,
"name": "SWAP2",
"source": 1
},
{
"begin": 1887,
"end": 2026,
"name": "POP",
"source": 1
},
{
"begin": 1887,
"end": 2026,
"name": "POP",
"source": 1
},
{
"begin": 1887,
"end": 2026,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2032,
"end": 2361,
"name": "tag",
"source": 1,
"value": "13"
},
{
"begin": 2032,
"end": 2361,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2091,
"end": 2097,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2140,
"end": 2142,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 2128,
"end": 2137,
"name": "DUP3",
"source": 1
},
{
"begin": 2119,
"end": 2126,
"name": "DUP5",
"source": 1
},
{
"begin": 2115,
"end": 2138,
"name": "SUB",
"source": 1
},
{
"begin": 2111,
"end": 2143,
"name": "SLT",
"source": 1
},
{
"begin": 2108,
"end": 2227,
"name": "ISZERO",
"source": 1
},
{
"begin": 2108,
"end": 2227,
"name": "PUSH [tag]",
"source": 1,
"value": "68"
},
{
"begin": 2108,
"end": 2227,
"name": "JUMPI",
"source": 1
},
{
"begin": 2146,
"end": 2225,
"name": "PUSH [tag]",
"source": 1,
"value": "69"
},
{
"begin": 2146,
"end": 2225,
"name": "PUSH [tag]",
"source": 1,
"value": "36"
},
{
"begin": 2146,
"end": 2225,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2146,
"end": 2225,
"name": "tag",
"source": 1,
"value": "69"
},
{
"begin": 2146,
"end": 2225,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2108,
"end": 2227,
"name": "tag",
"source": 1,
"value": "68"
},
{
"begin": 2108,
"end": 2227,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2266,
"end": 2267,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2291,
"end": 2344,
"name": "PUSH [tag]",
"source": 1,
"value": "70"
},
{
"begin": 2336,
"end": 2343,
"name": "DUP5",
"source": 1
},
{
"begin": 2327,
"end": 2333,
"name": "DUP3",
"source": 1
},
{
"begin": 2316,
"end": 2325,
"name": "DUP6",
"source": 1
},
{
"begin": 2312,
"end": 2334,
"name": "ADD",
"source": 1
},
{
"begin": 2291,
"end": 2344,
"name": "PUSH [tag]",
"source": 1,
"value": "40"
},
{
"begin": 2291,
"end": 2344,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2291,
"end": 2344,
"name": "tag",
"source": 1,
"value": "70"
},
{
"begin": 2291,
"end": 2344,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2281,
"end": 2344,
"name": "SWAP2",
"source": 1
},
{
"begin": 2281,
"end": 2344,
"name": "POP",
"source": 1
},
{
"begin": 2237,
"end": 2354,
"name": "POP",
"source": 1
},
{
"begin": 2032,
"end": 2361,
"name": "SWAP3",
"source": 1
},
{
"begin": 2032,
"end": 2361,
"name": "SWAP2",
"source": 1
},
{
"begin": 2032,
"end": 2361,
"name": "POP",
"source": 1
},
{
"begin": 2032,
"end": 2361,
"name": "POP",
"source": 1
},
{
"begin": 2032,
"end": 2361,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2367,
"end": 2485,
"name": "tag",
"source": 1,
"value": "41"
},
{
"begin": 2367,
"end": 2485,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2454,
"end": 2478,
"name": "PUSH [tag]",
"source": 1,
"value": "72"
},
{
"begin": 2472,
"end": 2477,
"name": "DUP2",
"source": 1
},
{
"begin": 2454,
"end": 2478,
"name": "PUSH [tag]",
"source": 1,
"value": "38"
},
{
"begin": 2454,
"end": 2478,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2454,
"end": 2478,
"name": "tag",
"source": 1,
"value": "72"
},
{
"begin": 2454,
"end": 2478,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2449,
"end": 2452,
"name": "DUP3",
"source": 1
},
{
"begin": 2442,
"end": 2479,
"name": "MSTORE",
"source": 1
},
{
"begin": 2367,
"end": 2485,
"name": "POP",
"source": 1
},
{
"begin": 2367,
"end": 2485,
"name": "POP",
"source": 1
},
{
"begin": 2367,
"end": 2485,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2491,
"end": 2713,
"name": "tag",
"source": 1,
"value": "18"
},
{
"begin": 2491,
"end": 2713,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2584,
"end": 2588,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2622,
"end": 2624,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 2611,
"end": 2620,
"name": "DUP3",
"source": 1
},
{
"begin": 2607,
"end": 2625,
"name": "ADD",
"source": 1
},
{
"begin": 2599,
"end": 2625,
"name": "SWAP1",
"source": 1
},
{
"begin": 2599,
"end": 2625,
"name": "POP",
"source": 1
},
{
"begin": 2635,
"end": 2706,
"name": "PUSH [tag]",
"source": 1,
"value": "74"
},
{
"begin": 2703,
"end": 2704,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2692,
"end": 2701,
"name": "DUP4",
"source": 1
},
{
"begin": 2688,
"end": 2705,
"name": "ADD",
"source": 1
},
{
"begin": 2679,
"end": 2685,
"name": "DUP5",
"source": 1
},
{
"begin": 2635,
"end": 2706,
"name": "PUSH [tag]",
"source": 1,
"value": "41"
},
{
"begin": 2635,
"end": 2706,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 2635,
"end": 2706,
"name": "tag",
"source": 1,
"value": "74"
},
{
"begin": 2635,
"end": 2706,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2491,
"end": 2713,
"name": "SWAP3",
"source": 1
},
{
"begin": 2491,
"end": 2713,
"name": "SWAP2",
"source": 1
},
{
"begin": 2491,
"end": 2713,
"name": "POP",
"source": 1
},
{
"begin": 2491,
"end": 2713,
"name": "POP",
"source": 1
},
{
"begin": 2491,
"end": 2713,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
},
{
"begin": 2719,
"end": 2899,
"name": "tag",
"source": 1,
"value": "42"
},
{
"begin": 2719,
"end": 2899,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2767,
"end": 2844,
"name": "PUSH",
"source": 1,
"value": "4E487B7100000000000000000000000000000000000000000000000000000000"
},
{
"begin": 2764,
"end": 2765,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2757,
"end": 2845,
"name": "MSTORE",
"source": 1
},
{
"begin": 2864,
"end": 2868,
"name": "PUSH",
"source": 1,
"value": "22"
},
{
"begin": 2861,
"end": 2862,
"name": "PUSH",
"source": 1,
"value": "4"
},
{
"begin": 2854,
"end": 2869,
"name": "MSTORE",
"source": 1
},
{
"begin": 2888,
"end": 2892,
"name": "PUSH",
"source": 1,
"value": "24"
},
{
"begin": 2885,
"end": 2886,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2878,
"end": 2893,
"name": "REVERT",
"source": 1
},
{
"begin": 2905,
"end": 3225,
"name": "tag",
"source": 1,
"value": "23"
},
{
"begin": 2905,
"end": 3225,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2949,
"end": 2955,
"name": "PUSH",
"source": 1,
"value": "0"
},
{
"begin": 2986,
"end": 2987,
"name": "PUSH",
"source": 1,
"value": "2"
},
{
"begin": 2980,
"end": 2984,
"name": "DUP3",
"source": 1
},
{
"begin": 2976,
"end": 2988,
"name": "DIV",
"source": 1
},
{
"begin": 2966,
"end": 2988,
"name": "SWAP1",
"source": 1
},
{
"begin": 2966,
"end": 2988,
"name": "POP",
"source": 1
},
{
"begin": 3033,
"end": 3034,
"name": "PUSH",
"source": 1,
"value": "1"
},
{
"begin": 3027,
"end": 3031,
"name": "DUP3",
"source": 1
},
{
"begin": 3023,
"end": 3035,
"name": "AND",
"source": 1
},
{
"begin": 3054,
"end": 3072,
"name": "DUP1",
"source": 1
},
{
"begin": 3044,
"end": 3125,
"name": "PUSH [tag]",
"source": 1,
"value": "77"
},
{
"begin": 3044,
"end": 3125,
"name": "JUMPI",
"source": 1
},
{
"begin": 3110,
"end": 3114,
"name": "PUSH",
"source": 1,
"value": "7F"
},
{
"begin": 3102,
"end": 3108,
"name": "DUP3",
"source": 1
},
{
"begin": 3098,
"end": 3115,
"name": "AND",
"source": 1
},
{
"begin": 3088,
"end": 3115,
"name": "SWAP2",
"source": 1
},
{
"begin": 3088,
"end": 3115,
"name": "POP",
"source": 1
},
{
"begin": 3044,
"end": 3125,
"name": "tag",
"source": 1,
"value": "77"
},
{
"begin": 3044,
"end": 3125,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3172,
"end": 3174,
"name": "PUSH",
"source": 1,
"value": "20"
},
{
"begin": 3164,
"end": 3170,
"name": "DUP3",
"source": 1
},
{
"begin": 3161,
"end": 3175,
"name": "LT",
"source": 1
},
{
"begin": 3141,
"end": 3159,
"name": "DUP2",
"source": 1
},
{
"begin": 3138,
"end": 3176,
"name": "SUB",
"source": 1
},
{
"begin": 3135,
"end": 3219,
"name": "PUSH [tag]",
"source": 1,
"value": "78"
},
{
"begin": 3135,
"end": 3219,
"name": "JUMPI",
"source": 1
},
{
"begin": 3191,
"end": 3209,
"name": "PUSH [tag]",
"source": 1,
"value": "79"
},
{
"begin": 3191,
"end": 3209,
"name": "PUSH [tag]",
"source": 1,
"value": "42"
},
{
"begin": 3191,
"end": 3209,
"jumpType": "[in]",
"name": "JUMP",
"source": 1
},
{
"begin": 3191,
"end": 3209,
"name": "tag",
"source": 1,
"value": "79"
},
{
"begin": 3191,
"end": 3209,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 3135,
"end": 3219,
"name": "tag",
"source": 1,
"value": "78"
},
{
"begin": 3135,
"end": 3219,
"name": "JUMPDEST",
"source": 1
},
{
"begin": 2956,
"end": 3225,
"name": "POP",
"source": 1
},
{
"begin": 2905,
"end": 3225,
"name": "SWAP2",
"source": 1
},
{
"begin": 2905,
"end": 3225,
"name": "SWAP1",
"source": 1
},
{
"begin": 2905,
"end": 3225,
"name": "POP",
"source": 1
},
{
"begin": 2905,
"end": 3225,
"jumpType": "[out]",
"name": "JUMP",
"source": 1
}
]
}
},
"sourceList": [
"HelloWorld.sol",
"#utility.yul"
]
},
"methodIdentifiers": {
"get()": "6d4ce63c",
"helloworld()": "2f2f4859",
"myVar()": "c6b91540",
"set(uint256)": "60fe47b1"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"get\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"helloworld\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"myVar\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"x\",\"type\":\"uint256\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"HelloWorld.sol\":\"HelloWorld\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"HelloWorld.sol\":{\"keccak256\":\"0xe21d1a516883078731d5405f26734bf0101e6f86eed25ba37c0e132b666ec844\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://963af3d3d6cac77566b89a1565fdf9b5a67800c998228c0eae3f1629cd315ba9\",\"dweb:/ipfs/QmNiEcs3nLMnNRv5CkAs2bCu7URM3xfeH3BNnKYH2RNiRY\"]}},\"version\":1}",
"storageLayout": {
"storage": [
{
"astId": 4,
"contract": "HelloWorld.sol:HelloWorld",
"label": "helloworld",
"offset": 0,
"slot": "0",
"type": "t_string_storage"
},
{
"astId": 6,
"contract": "HelloWorld.sol:HelloWorld",
"label": "myVar",
"offset": 0,
"slot": "1",
"type": "t_uint256"
}
],
"types": {
"t_string_storage": {
"encoding": "bytes",
"label": "string",
"numberOfBytes": "32"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"HelloWorld.sol": {
"ast": {
"absolutePath": "HelloWorld.sol",
"exportedSymbols": {
"HelloWorld": [
25
]
},
"id": 26,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".12"
],
"nodeType": "PragmaDirective",
"src": "32:24:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "HelloWorld",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 25,
"linearizedBaseContracts": [
25
],
"name": "HelloWorld",
"nameLocation": "67:10:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"functionSelector": "2f2f4859",
"id": 4,
"mutability": "mutable",
"name": "helloworld",
"nameLocation": "98:10:0",
"nodeType": "VariableDeclaration",
"scope": 25,
"src": "84:40:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string"
},
"typeName": {
"id": 2,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "84:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": {
"hexValue": "48656c6c6f576f726c6421",
"id": 3,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "111:13:0",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_2a901ed9a0877f6d161c62e87d7d73a0942c8078640507854c5d66efc2819897",
"typeString": "literal_string \"HelloWorld!\""
},
"value": "HelloWorld!"
},
"visibility": "public"
},
{
"constant": false,
"functionSelector": "c6b91540",
"id": 6,
"mutability": "mutable",
"name": "myVar",
"nameLocation": "143:5:0",
"nodeType": "VariableDeclaration",
"scope": 25,
"src": "131:17:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "131:4:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "public"
},
{
"body": {
"id": 13,
"nodeType": "Block",
"src": "196:29:0",
"statements": [
{
"expression": {
"id": 11,
"name": "myVar",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6,
"src": "213:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"functionReturnParameters": 10,
"id": 12,
"nodeType": "Return",
"src": "206:12:0"
}
]
},
"functionSelector": "6d4ce63c",
"id": 14,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "get",
"nameLocation": "164:3:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 7,
"nodeType": "ParameterList",
"parameters": [],
"src": "167:2:0"
},
"returnParameters": {
"id": 10,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 14,
"src": "191:4:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 8,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "191:4:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "190:6:0"
},
"scope": 25,
"src": "155:70:0",
"stateMutability": "view",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 23,
"nodeType": "Block",
"src": "259:26:0",
"statements": [
{
"expression": {
"id": 21,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 19,
"name": "myVar",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6,
"src": "269:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"id": 20,
"name": "x",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 16,
"src": "277:1:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "269:9:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 22,
"nodeType": "ExpressionStatement",
"src": "269:9:0"
}
]
},
"functionSelector": "60fe47b1",
"id": 24,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "set",
"nameLocation": "240:3:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 17,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 16,
"mutability": "mutable",
"name": "x",
"nameLocation": "249:1:0",
"nodeType": "VariableDeclaration",
"scope": 24,
"src": "244:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 15,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "244:4:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "243:9:0"
},
"returnParameters": {
"id": 18,
"nodeType": "ParameterList",
"parameters": [],
"src": "259:0:0"
},
"scope": 25,
"src": "231:54:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
}
],
"scope": 26,
"src": "58:229:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "32:255: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": {
"array_dataslot_t_string_storage": {
"entryPoint": 237,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 89,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 522,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_uint256": {
"entryPoint": 363,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 488,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 381,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 659,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 255,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 189,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 632,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"identity": {
"entryPoint": 372,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 604,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 144,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 99,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 414,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_dynamic": {
"entryPoint": 270,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 592,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 464,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 282,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 423,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 460,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:5231:1",
"nodeType": "YulBlock",
"src": "0:5231:1",
"statements": [
{
"body": {
"nativeSrc": "66:40:1",
"nodeType": "YulBlock",
"src": "66:40:1",
"statements": [
{
"nativeSrc": "77:22:1",
"nodeType": "YulAssignment",
"src": "77:22:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "93:5:1",
"nodeType": "YulIdentifier",
"src": "93:5:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "87:5:1",
"nodeType": "YulIdentifier",
"src": "87:5:1"
},
"nativeSrc": "87:12:1",
"nodeType": "YulFunctionCall",
"src": "87:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "77:6:1",
"nodeType": "YulIdentifier",
"src": "77:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "7:99:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "49:5:1",
"nodeType": "YulTypedName",
"src": "49:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "59:6:1",
"nodeType": "YulTypedName",
"src": "59:6:1",
"type": ""
}
],
"src": "7:99:1"
},
{
"body": {
"nativeSrc": "140:152:1",
"nodeType": "YulBlock",
"src": "140:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "157:1:1",
"nodeType": "YulLiteral",
"src": "157:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "160:77:1",
"nodeType": "YulLiteral",
"src": "160:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "150:6:1",
"nodeType": "YulIdentifier",
"src": "150:6:1"
},
"nativeSrc": "150:88:1",
"nodeType": "YulFunctionCall",
"src": "150:88:1"
},
"nativeSrc": "150:88:1",
"nodeType": "YulExpressionStatement",
"src": "150:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "254:1:1",
"nodeType": "YulLiteral",
"src": "254:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "257:4:1",
"nodeType": "YulLiteral",
"src": "257:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "247:6:1",
"nodeType": "YulIdentifier",
"src": "247:6:1"
},
"nativeSrc": "247:15:1",
"nodeType": "YulFunctionCall",
"src": "247:15:1"
},
"nativeSrc": "247:15:1",
"nodeType": "YulExpressionStatement",
"src": "247:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "278:1:1",
"nodeType": "YulLiteral",
"src": "278:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "281:4:1",
"nodeType": "YulLiteral",
"src": "281:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "271:6:1",
"nodeType": "YulIdentifier",
"src": "271:6:1"
},
"nativeSrc": "271:15:1",
"nodeType": "YulFunctionCall",
"src": "271:15:1"
},
"nativeSrc": "271:15:1",
"nodeType": "YulExpressionStatement",
"src": "271:15:1"
}
]
},
"name": "panic_error_0x41",
"nativeSrc": "112:180:1",
"nodeType": "YulFunctionDefinition",
"src": "112:180:1"
},
{
"body": {
"nativeSrc": "326:152:1",
"nodeType": "YulBlock",
"src": "326:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "343:1:1",
"nodeType": "YulLiteral",
"src": "343:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "346:77:1",
"nodeType": "YulLiteral",
"src": "346:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "336:6:1",
"nodeType": "YulIdentifier",
"src": "336:6:1"
},
"nativeSrc": "336:88:1",
"nodeType": "YulFunctionCall",
"src": "336:88:1"
},
"nativeSrc": "336:88:1",
"nodeType": "YulExpressionStatement",
"src": "336:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "440:1:1",
"nodeType": "YulLiteral",
"src": "440:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "443:4:1",
"nodeType": "YulLiteral",
"src": "443:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "433:6:1",
"nodeType": "YulIdentifier",
"src": "433:6:1"
},
"nativeSrc": "433:15:1",
"nodeType": "YulFunctionCall",
"src": "433:15:1"
},
"nativeSrc": "433:15:1",
"nodeType": "YulExpressionStatement",
"src": "433:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "464:1:1",
"nodeType": "YulLiteral",
"src": "464:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "467:4:1",
"nodeType": "YulLiteral",
"src": "467:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "457:6:1",
"nodeType": "YulIdentifier",
"src": "457:6:1"
},
"nativeSrc": "457:15:1",
"nodeType": "YulFunctionCall",
"src": "457:15:1"
},
"nativeSrc": "457:15:1",
"nodeType": "YulExpressionStatement",
"src": "457:15:1"
}
]
},
"name": "panic_error_0x22",
"nativeSrc": "298:180:1",
"nodeType": "YulFunctionDefinition",
"src": "298:180:1"
},
{
"body": {
"nativeSrc": "535:269:1",
"nodeType": "YulBlock",
"src": "535:269:1",
"statements": [
{
"nativeSrc": "545:22:1",
"nodeType": "YulAssignment",
"src": "545:22:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "559:4:1",
"nodeType": "YulIdentifier",
"src": "559:4:1"
},
{
"kind": "number",
"nativeSrc": "565:1:1",
"nodeType": "YulLiteral",
"src": "565:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nativeSrc": "555:3:1",
"nodeType": "YulIdentifier",
"src": "555:3:1"
},
"nativeSrc": "555:12:1",
"nodeType": "YulFunctionCall",
"src": "555:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "545:6:1",
"nodeType": "YulIdentifier",
"src": "545:6:1"
}
]
},
{
"nativeSrc": "576:38:1",
"nodeType": "YulVariableDeclaration",
"src": "576:38:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "606:4:1",
"nodeType": "YulIdentifier",
"src": "606:4:1"
},
{
"kind": "number",
"nativeSrc": "612:1:1",
"nodeType": "YulLiteral",
"src": "612:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "602:3:1",
"nodeType": "YulIdentifier",
"src": "602:3:1"
},
"nativeSrc": "602:12:1",
"nodeType": "YulFunctionCall",
"src": "602:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "580:18:1",
"nodeType": "YulTypedName",
"src": "580:18:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "653:51:1",
"nodeType": "YulBlock",
"src": "653:51:1",
"statements": [
{
"nativeSrc": "667:27:1",
"nodeType": "YulAssignment",
"src": "667:27:1",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "681:6:1",
"nodeType": "YulIdentifier",
"src": "681:6:1"
},
{
"kind": "number",
"nativeSrc": "689:4:1",
"nodeType": "YulLiteral",
"src": "689:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "677:3:1",
"nodeType": "YulIdentifier",
"src": "677:3:1"
},
"nativeSrc": "677:17:1",
"nodeType": "YulFunctionCall",
"src": "677:17:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "667:6:1",
"nodeType": "YulIdentifier",
"src": "667:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "633:18:1",
"nodeType": "YulIdentifier",
"src": "633:18:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "626:6:1",
"nodeType": "YulIdentifier",
"src": "626:6:1"
},
"nativeSrc": "626:26:1",
"nodeType": "YulFunctionCall",
"src": "626:26:1"
},
"nativeSrc": "623:81:1",
"nodeType": "YulIf",
"src": "623:81:1"
},
{
"body": {
"nativeSrc": "756:42:1",
"nodeType": "YulBlock",
"src": "756:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nativeSrc": "770:16:1",
"nodeType": "YulIdentifier",
"src": "770:16:1"
},
"nativeSrc": "770:18:1",
"nodeType": "YulFunctionCall",
"src": "770:18:1"
},
"nativeSrc": "770:18:1",
"nodeType": "YulExpressionStatement",
"src": "770:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "720:18:1",
"nodeType": "YulIdentifier",
"src": "720:18:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "743:6:1",
"nodeType": "YulIdentifier",
"src": "743:6:1"
},
{
"kind": "number",
"nativeSrc": "751:2:1",
"nodeType": "YulLiteral",
"src": "751:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "740:2:1",
"nodeType": "YulIdentifier",
"src": "740:2:1"
},
"nativeSrc": "740:14:1",
"nodeType": "YulFunctionCall",
"src": "740:14:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "717:2:1",
"nodeType": "YulIdentifier",
"src": "717:2:1"
},
"nativeSrc": "717:38:1",
"nodeType": "YulFunctionCall",
"src": "717:38:1"
},
"nativeSrc": "714:84:1",
"nodeType": "YulIf",
"src": "714:84:1"
}
]
},
"name": "extract_byte_array_length",
"nativeSrc": "484:320:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "519:4:1",
"nodeType": "YulTypedName",
"src": "519:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "528:6:1",
"nodeType": "YulTypedName",
"src": "528:6:1",
"type": ""
}
],
"src": "484:320:1"
},
{
"body": {
"nativeSrc": "864:87:1",
"nodeType": "YulBlock",
"src": "864:87:1",
"statements": [
{
"nativeSrc": "874:11:1",
"nodeType": "YulAssignment",
"src": "874:11:1",
"value": {
"name": "ptr",
"nativeSrc": "882:3:1",
"nodeType": "YulIdentifier",
"src": "882:3:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "874:4:1",
"nodeType": "YulIdentifier",
"src": "874:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "902:1:1",
"nodeType": "YulLiteral",
"src": "902:1:1",
"type": "",
"value": "0"
},
{
"name": "ptr",
"nativeSrc": "905:3:1",
"nodeType": "YulIdentifier",
"src": "905:3:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "895:6:1",
"nodeType": "YulIdentifier",
"src": "895:6:1"
},
"nativeSrc": "895:14:1",
"nodeType": "YulFunctionCall",
"src": "895:14:1"
},
"nativeSrc": "895:14:1",
"nodeType": "YulExpressionStatement",
"src": "895:14:1"
},
{
"nativeSrc": "918:26:1",
"nodeType": "YulAssignment",
"src": "918:26:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "936:1:1",
"nodeType": "YulLiteral",
"src": "936:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "939:4:1",
"nodeType": "YulLiteral",
"src": "939:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "keccak256",
"nativeSrc": "926:9:1",
"nodeType": "YulIdentifier",
"src": "926:9:1"
},
"nativeSrc": "926:18:1",
"nodeType": "YulFunctionCall",
"src": "926:18:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "918:4:1",
"nodeType": "YulIdentifier",
"src": "918:4:1"
}
]
}
]
},
"name": "array_dataslot_t_string_storage",
"nativeSrc": "810:141:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nativeSrc": "851:3:1",
"nodeType": "YulTypedName",
"src": "851:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nativeSrc": "859:4:1",
"nodeType": "YulTypedName",
"src": "859:4:1",
"type": ""
}
],
"src": "810:141:1"
},
{
"body": {
"nativeSrc": "1001:49:1",
"nodeType": "YulBlock",
"src": "1001:49:1",
"statements": [
{
"nativeSrc": "1011:33:1",
"nodeType": "YulAssignment",
"src": "1011:33:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1029:5:1",
"nodeType": "YulIdentifier",
"src": "1029:5:1"
},
{
"kind": "number",
"nativeSrc": "1036:2:1",
"nodeType": "YulLiteral",
"src": "1036:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1025:3:1",
"nodeType": "YulIdentifier",
"src": "1025:3:1"
},
"nativeSrc": "1025:14:1",
"nodeType": "YulFunctionCall",
"src": "1025:14:1"
},
{
"kind": "number",
"nativeSrc": "1041:2:1",
"nodeType": "YulLiteral",
"src": "1041:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "div",
"nativeSrc": "1021:3:1",
"nodeType": "YulIdentifier",
"src": "1021:3:1"
},
"nativeSrc": "1021:23:1",
"nodeType": "YulFunctionCall",
"src": "1021:23:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "1011:6:1",
"nodeType": "YulIdentifier",
"src": "1011:6:1"
}
]
}
]
},
"name": "divide_by_32_ceil",
"nativeSrc": "957:93:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "984:5:1",
"nodeType": "YulTypedName",
"src": "984:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "994:6:1",
"nodeType": "YulTypedName",
"src": "994:6:1",
"type": ""
}
],
"src": "957:93:1"
},
{
"body": {
"nativeSrc": "1109:54:1",
"nodeType": "YulBlock",
"src": "1109:54:1",
"statements": [
{
"nativeSrc": "1119:37:1",
"nodeType": "YulAssignment",
"src": "1119:37:1",
"value": {
"arguments": [
{
"name": "bits",
"nativeSrc": "1144:4:1",
"nodeType": "YulIdentifier",
"src": "1144:4:1"
},
{
"name": "value",
"nativeSrc": "1150:5:1",
"nodeType": "YulIdentifier",
"src": "1150:5:1"
}
],
"functionName": {
"name": "shl",
"nativeSrc": "1140:3:1",
"nodeType": "YulIdentifier",
"src": "1140:3:1"
},
"nativeSrc": "1140:16:1",
"nodeType": "YulFunctionCall",
"src": "1140:16:1"
},
"variableNames": [
{
"name": "newValue",
"nativeSrc": "1119:8:1",
"nodeType": "YulIdentifier",
"src": "1119:8:1"
}
]
}
]
},
"name": "shift_left_dynamic",
"nativeSrc": "1056:107:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nativeSrc": "1084:4:1",
"nodeType": "YulTypedName",
"src": "1084:4:1",
"type": ""
},
{
"name": "value",
"nativeSrc": "1090:5:1",
"nodeType": "YulTypedName",
"src": "1090:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nativeSrc": "1100:8:1",
"nodeType": "YulTypedName",
"src": "1100:8:1",
"type": ""
}
],
"src": "1056:107:1"
},
{
"body": {
"nativeSrc": "1245:317:1",
"nodeType": "YulBlock",
"src": "1245:317:1",
"statements": [
{
"nativeSrc": "1255:35:1",
"nodeType": "YulVariableDeclaration",
"src": "1255:35:1",
"value": {
"arguments": [
{
"name": "shiftBytes",
"nativeSrc": "1276:10:1",
"nodeType": "YulIdentifier",
"src": "1276:10:1"
},
{
"kind": "number",
"nativeSrc": "1288:1:1",
"nodeType": "YulLiteral",
"src": "1288:1:1",
"type": "",
"value": "8"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "1272:3:1",
"nodeType": "YulIdentifier",
"src": "1272:3:1"
},
"nativeSrc": "1272:18:1",
"nodeType": "YulFunctionCall",
"src": "1272:18:1"
},
"variables": [
{
"name": "shiftBits",
"nativeSrc": "1259:9:1",
"nodeType": "YulTypedName",
"src": "1259:9:1",
"type": ""
}
]
},
{
"nativeSrc": "1299:109:1",
"nodeType": "YulVariableDeclaration",
"src": "1299:109:1",
"value": {
"arguments": [
{
"name": "shiftBits",
"nativeSrc": "1330:9:1",
"nodeType": "YulIdentifier",
"src": "1330:9:1"
},
{
"kind": "number",
"nativeSrc": "1341:66:1",
"nodeType": "YulLiteral",
"src": "1341:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nativeSrc": "1311:18:1",
"nodeType": "YulIdentifier",
"src": "1311:18:1"
},
"nativeSrc": "1311:97:1",
"nodeType": "YulFunctionCall",
"src": "1311:97:1"
},
"variables": [
{
"name": "mask",
"nativeSrc": "1303:4:1",
"nodeType": "YulTypedName",
"src": "1303:4:1",
"type": ""
}
]
},
{
"nativeSrc": "1417:51:1",
"nodeType": "YulAssignment",
"src": "1417:51:1",
"value": {
"arguments": [
{
"name": "shiftBits",
"nativeSrc": "1448:9:1",
"nodeType": "YulIdentifier",
"src": "1448:9:1"
},
{
"name": "toInsert",
"nativeSrc": "1459:8:1",
"nodeType": "YulIdentifier",
"src": "1459:8:1"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nativeSrc": "1429:18:1",
"nodeType": "YulIdentifier",
"src": "1429:18:1"
},
"nativeSrc": "1429:39:1",
"nodeType": "YulFunctionCall",
"src": "1429:39:1"
},
"variableNames": [
{
"name": "toInsert",
"nativeSrc": "1417:8:1",
"nodeType": "YulIdentifier",
"src": "1417:8:1"
}
]
},
{
"nativeSrc": "1477:30:1",
"nodeType": "YulAssignment",
"src": "1477:30:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1490:5:1",
"nodeType": "YulIdentifier",
"src": "1490:5:1"
},
{
"arguments": [
{
"name": "mask",
"nativeSrc": "1501:4:1",
"nodeType": "YulIdentifier",
"src": "1501:4:1"
}
],
"functionName": {
"name": "not",
"nativeSrc": "1497:3:1",
"nodeType": "YulIdentifier",
"src": "1497:3:1"
},
"nativeSrc": "1497:9:1",
"nodeType": "YulFunctionCall",
"src": "1497:9:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "1486:3:1",
"nodeType": "YulIdentifier",
"src": "1486:3:1"
},
"nativeSrc": "1486:21:1",
"nodeType": "YulFunctionCall",
"src": "1486:21:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "1477:5:1",
"nodeType": "YulIdentifier",
"src": "1477:5:1"
}
]
},
{
"nativeSrc": "1516:40:1",
"nodeType": "YulAssignment",
"src": "1516:40:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1529:5:1",
"nodeType": "YulIdentifier",
"src": "1529:5:1"
},
{
"arguments": [
{
"name": "toInsert",
"nativeSrc": "1540:8:1",
"nodeType": "YulIdentifier",
"src": "1540:8:1"
},
{
"name": "mask",
"nativeSrc": "1550:4:1",
"nodeType": "YulIdentifier",
"src": "1550:4:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "1536:3:1",
"nodeType": "YulIdentifier",
"src": "1536:3:1"
},
"nativeSrc": "1536:19:1",
"nodeType": "YulFunctionCall",
"src": "1536:19:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "1526:2:1",
"nodeType": "YulIdentifier",
"src": "1526:2:1"
},
"nativeSrc": "1526:30:1",
"nodeType": "YulFunctionCall",
"src": "1526:30:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "1516:6:1",
"nodeType": "YulIdentifier",
"src": "1516:6:1"
}
]
}
]
},
"name": "update_byte_slice_dynamic32",
"nativeSrc": "1169:393:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1206:5:1",
"nodeType": "YulTypedName",
"src": "1206:5:1",
"type": ""
},
{
"name": "shiftBytes",
"nativeSrc": "1213:10:1",
"nodeType": "YulTypedName",
"src": "1213:10:1",
"type": ""
},
{
"name": "toInsert",
"nativeSrc": "1225:8:1",
"nodeType": "YulTypedName",
"src": "1225:8:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "1238:6:1",
"nodeType": "YulTypedName",
"src": "1238:6:1",
"type": ""
}
],
"src": "1169:393:1"
},
{
"body": {
"nativeSrc": "1613:32:1",
"nodeType": "YulBlock",
"src": "1613:32:1",
"statements": [
{
"nativeSrc": "1623:16:1",
"nodeType": "YulAssignment",
"src": "1623:16:1",
"value": {
"name": "value",
"nativeSrc": "1634:5:1",
"nodeType": "YulIdentifier",
"src": "1634:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1623:7:1",
"nodeType": "YulIdentifier",
"src": "1623:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nativeSrc": "1568:77:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1595:5:1",
"nodeType": "YulTypedName",
"src": "1595:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1605:7:1",
"nodeType": "YulTypedName",
"src": "1605:7:1",
"type": ""
}
],
"src": "1568:77:1"
},
{
"body": {
"nativeSrc": "1683:28:1",
"nodeType": "YulBlock",
"src": "1683:28:1",
"statements": [
{
"nativeSrc": "1693:12:1",
"nodeType": "YulAssignment",
"src": "1693:12:1",
"value": {
"name": "value",
"nativeSrc": "1700:5:1",
"nodeType": "YulIdentifier",
"src": "1700:5:1"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "1693:3:1",
"nodeType": "YulIdentifier",
"src": "1693:3:1"
}
]
}
]
},
"name": "identity",
"nativeSrc": "1651:60:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1669:5:1",
"nodeType": "YulTypedName",
"src": "1669:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "1679:3:1",
"nodeType": "YulTypedName",
"src": "1679:3:1",
"type": ""
}
],
"src": "1651:60:1"
},
{
"body": {
"nativeSrc": "1777:82:1",
"nodeType": "YulBlock",
"src": "1777:82:1",
"statements": [
{
"nativeSrc": "1787:66:1",
"nodeType": "YulAssignment",
"src": "1787:66:1",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1845:5:1",
"nodeType": "YulIdentifier",
"src": "1845:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "1827:17:1",
"nodeType": "YulIdentifier",
"src": "1827:17:1"
},
"nativeSrc": "1827:24:1",
"nodeType": "YulFunctionCall",
"src": "1827:24:1"
}
],
"functionName": {
"name": "identity",
"nativeSrc": "1818:8:1",
"nodeType": "YulIdentifier",
"src": "1818:8:1"
},
"nativeSrc": "1818:34:1",
"nodeType": "YulFunctionCall",
"src": "1818:34:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "1800:17:1",
"nodeType": "YulIdentifier",
"src": "1800:17:1"
},
"nativeSrc": "1800:53:1",
"nodeType": "YulFunctionCall",
"src": "1800:53:1"
},
"variableNames": [
{
"name": "converted",
"nativeSrc": "1787:9:1",
"nodeType": "YulIdentifier",
"src": "1787:9:1"
}
]
}
]
},
"name": "convert_t_uint256_to_t_uint256",
"nativeSrc": "1717:142:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1757:5:1",
"nodeType": "YulTypedName",
"src": "1757:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nativeSrc": "1767:9:1",
"nodeType": "YulTypedName",
"src": "1767:9:1",
"type": ""
}
],
"src": "1717:142:1"
},
{
"body": {
"nativeSrc": "1912:28:1",
"nodeType": "YulBlock",
"src": "1912:28:1",
"statements": [
{
"nativeSrc": "1922:12:1",
"nodeType": "YulAssignment",
"src": "1922:12:1",
"value": {
"name": "value",
"nativeSrc": "1929:5:1",
"nodeType": "YulIdentifier",
"src": "1929:5:1"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "1922:3:1",
"nodeType": "YulIdentifier",
"src": "1922:3:1"
}
]
}
]
},
"name": "prepare_store_t_uint256",
"nativeSrc": "1865:75:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1898:5:1",
"nodeType": "YulTypedName",
"src": "1898:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "1908:3:1",
"nodeType": "YulTypedName",
"src": "1908:3:1",
"type": ""
}
],
"src": "1865:75:1"
},
{
"body": {
"nativeSrc": "2022:193:1",
"nodeType": "YulBlock",
"src": "2022:193:1",
"statements": [
{
"nativeSrc": "2032:63:1",
"nodeType": "YulVariableDeclaration",
"src": "2032:63:1",
"value": {
"arguments": [
{
"name": "value_0",
"nativeSrc": "2087:7:1",
"nodeType": "YulIdentifier",
"src": "2087:7:1"
}
],
"functionName": {
"name": "convert_t_uint256_to_t_uint256",
"nativeSrc": "2056:30:1",
"nodeType": "YulIdentifier",
"src": "2056:30:1"
},
"nativeSrc": "2056:39:1",
"nodeType": "YulFunctionCall",
"src": "2056:39:1"
},
"variables": [
{
"name": "convertedValue_0",
"nativeSrc": "2036:16:1",
"nodeType": "YulTypedName",
"src": "2036:16:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "2111:4:1",
"nodeType": "YulIdentifier",
"src": "2111:4:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "slot",
"nativeSrc": "2151:4:1",
"nodeType": "YulIdentifier",
"src": "2151:4:1"
}
],
"functionName": {
"name": "sload",
"nativeSrc": "2145:5:1",
"nodeType": "YulIdentifier",
"src": "2145:5:1"
},
"nativeSrc": "2145:11:1",
"nodeType": "YulFunctionCall",
"src": "2145:11:1"
},
{
"name": "offset",
"nativeSrc": "2158:6:1",
"nodeType": "YulIdentifier",
"src": "2158:6:1"
},
{
"arguments": [
{
"name": "convertedValue_0",
"nativeSrc": "2190:16:1",
"nodeType": "YulIdentifier",
"src": "2190:16:1"
}
],
"functionName": {
"name": "prepare_store_t_uint256",
"nativeSrc": "2166:23:1",
"nodeType": "YulIdentifier",
"src": "2166:23:1"
},
"nativeSrc": "2166:41:1",
"nodeType": "YulFunctionCall",
"src": "2166:41:1"
}
],
"functionName": {
"name": "update_byte_slice_dynamic32",
"nativeSrc": "2117:27:1",
"nodeType": "YulIdentifier",
"src": "2117:27:1"
},
"nativeSrc": "2117:91:1",
"nodeType": "YulFunctionCall",
"src": "2117:91:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "2104:6:1",
"nodeType": "YulIdentifier",
"src": "2104:6:1"
},
"nativeSrc": "2104:105:1",
"nodeType": "YulFunctionCall",
"src": "2104:105:1"
},
"nativeSrc": "2104:105:1",
"nodeType": "YulExpressionStatement",
"src": "2104:105:1"
}
]
},
"name": "update_storage_value_t_uint256_to_t_uint256",
"nativeSrc": "1946:269:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "1999:4:1",
"nodeType": "YulTypedName",
"src": "1999:4:1",
"type": ""
},
{
"name": "offset",
"nativeSrc": "2005:6:1",
"nodeType": "YulTypedName",
"src": "2005:6:1",
"type": ""
},
{
"name": "value_0",
"nativeSrc": "2013:7:1",
"nodeType": "YulTypedName",
"src": "2013:7:1",
"type": ""
}
],
"src": "1946:269:1"
},
{
"body": {
"nativeSrc": "2270:24:1",
"nodeType": "YulBlock",
"src": "2270:24:1",
"statements": [
{
"nativeSrc": "2280:8:1",
"nodeType": "YulAssignment",
"src": "2280:8:1",
"value": {
"kind": "number",
"nativeSrc": "2287:1:1",
"nodeType": "YulLiteral",
"src": "2287:1:1",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "2280:3:1",
"nodeType": "YulIdentifier",
"src": "2280:3:1"
}
]
}
]
},
"name": "zero_value_for_split_t_uint256",
"nativeSrc": "2221:73:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "ret",
"nativeSrc": "2266:3:1",
"nodeType": "YulTypedName",
"src": "2266:3:1",
"type": ""
}
],
"src": "2221:73:1"
},
{
"body": {
"nativeSrc": "2353:136:1",
"nodeType": "YulBlock",
"src": "2353:136:1",
"statements": [
{
"nativeSrc": "2363:46:1",
"nodeType": "YulVariableDeclaration",
"src": "2363:46:1",
"value": {
"arguments": [],
"functionName": {
"name": "zero_value_for_split_t_uint256",
"nativeSrc": "2377:30:1",
"nodeType": "YulIdentifier",
"src": "2377:30:1"
},
"nativeSrc": "2377:32:1",
"nodeType": "YulFunctionCall",
"src": "2377:32:1"
},
"variables": [
{
"name": "zero_0",
"nativeSrc": "2367:6:1",
"nodeType": "YulTypedName",
"src": "2367:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "2462:4:1",
"nodeType": "YulIdentifier",
"src": "2462:4:1"
},
{
"name": "offset",
"nativeSrc": "2468:6:1",
"nodeType": "YulIdentifier",
"src": "2468:6:1"
},
{
"name": "zero_0",
"nativeSrc": "2476:6:1",
"nodeType": "YulIdentifier",
"src": "2476:6:1"
}
],
"functionName": {
"name": "update_storage_value_t_uint256_to_t_uint256",
"nativeSrc": "2418:43:1",
"nodeType": "YulIdentifier",
"src": "2418:43:1"
},
"nativeSrc": "2418:65:1",
"nodeType": "YulFunctionCall",
"src": "2418:65:1"
},
"nativeSrc": "2418:65:1",
"nodeType": "YulExpressionStatement",
"src": "2418:65:1"
}
]
},
"name": "storage_set_to_zero_t_uint256",
"nativeSrc": "2300:189:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "2339:4:1",
"nodeType": "YulTypedName",
"src": "2339:4:1",
"type": ""
},
{
"name": "offset",
"nativeSrc": "2345:6:1",
"nodeType": "YulTypedName",
"src": "2345:6:1",
"type": ""
}
],
"src": "2300:189:1"
},
{
"body": {
"nativeSrc": "2545:136:1",
"nodeType": "YulBlock",
"src": "2545:136:1",
"statements": [
{
"body": {
"nativeSrc": "2612:63:1",
"nodeType": "YulBlock",
"src": "2612:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "start",
"nativeSrc": "2656:5:1",
"nodeType": "YulIdentifier",
"src": "2656:5:1"
},
{
"kind": "number",
"nativeSrc": "2663:1:1",
"nodeType": "YulLiteral",
"src": "2663:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "storage_set_to_zero_t_uint256",
"nativeSrc": "2626:29:1",
"nodeType": "YulIdentifier",
"src": "2626:29:1"
},
"nativeSrc": "2626:39:1",
"nodeType": "YulFunctionCall",
"src": "2626:39:1"
},
"nativeSrc": "2626:39:1",
"nodeType": "YulExpressionStatement",
"src": "2626:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "start",
"nativeSrc": "2565:5:1",
"nodeType": "YulIdentifier",
"src": "2565:5:1"
},
{
"name": "end",
"nativeSrc": "2572:3:1",
"nodeType": "YulIdentifier",
"src": "2572:3:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "2562:2:1",
"nodeType": "YulIdentifier",
"src": "2562:2:1"
},
"nativeSrc": "2562:14:1",
"nodeType": "YulFunctionCall",
"src": "2562:14:1"
},
"nativeSrc": "2555:120:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "2577:26:1",
"nodeType": "YulBlock",
"src": "2577:26:1",
"statements": [
{
"nativeSrc": "2579:22:1",
"nodeType": "YulAssignment",
"src": "2579:22:1",
"value": {
"arguments": [
{
"name": "start",
"nativeSrc": "2592:5:1",
"nodeType": "YulIdentifier",
"src": "2592:5:1"
},
{
"kind": "number",
"nativeSrc": "2599:1:1",
"nodeType": "YulLiteral",
"src": "2599:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2588:3:1",
"nodeType": "YulIdentifier",
"src": "2588:3:1"
},
"nativeSrc": "2588:13:1",
"nodeType": "YulFunctionCall",
"src": "2588:13:1"
},
"variableNames": [
{
"name": "start",
"nativeSrc": "2579:5:1",
"nodeType": "YulIdentifier",
"src": "2579:5:1"
}
]
}
]
},
"pre": {
"nativeSrc": "2559:2:1",
"nodeType": "YulBlock",
"src": "2559:2:1",
"statements": []
},
"src": "2555:120:1"
}
]
},
"name": "clear_storage_range_t_bytes1",
"nativeSrc": "2495:186:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "start",
"nativeSrc": "2533:5:1",
"nodeType": "YulTypedName",
"src": "2533:5:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "2540:3:1",
"nodeType": "YulTypedName",
"src": "2540:3:1",
"type": ""
}
],
"src": "2495:186:1"
},
{
"body": {
"nativeSrc": "2766:464:1",
"nodeType": "YulBlock",
"src": "2766:464:1",
"statements": [
{
"body": {
"nativeSrc": "2792:431:1",
"nodeType": "YulBlock",
"src": "2792:431:1",
"statements": [
{
"nativeSrc": "2806:54:1",
"nodeType": "YulVariableDeclaration",
"src": "2806:54:1",
"value": {
"arguments": [
{
"name": "array",
"nativeSrc": "2854:5:1",
"nodeType": "YulIdentifier",
"src": "2854:5:1"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nativeSrc": "2822:31:1",
"nodeType": "YulIdentifier",
"src": "2822:31:1"
},
"nativeSrc": "2822:38:1",
"nodeType": "YulFunctionCall",
"src": "2822:38:1"
},
"variables": [
{
"name": "dataArea",
"nativeSrc": "2810:8:1",
"nodeType": "YulTypedName",
"src": "2810:8:1",
"type": ""
}
]
},
{
"nativeSrc": "2873:63:1",
"nodeType": "YulVariableDeclaration",
"src": "2873:63:1",
"value": {
"arguments": [
{
"name": "dataArea",
"nativeSrc": "2896:8:1",
"nodeType": "YulIdentifier",
"src": "2896:8:1"
},
{
"arguments": [
{
"name": "startIndex",
"nativeSrc": "2924:10:1",
"nodeType": "YulIdentifier",
"src": "2924:10:1"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nativeSrc": "2906:17:1",
"nodeType": "YulIdentifier",
"src": "2906:17:1"
},
"nativeSrc": "2906:29:1",
"nodeType": "YulFunctionCall",
"src": "2906:29:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2892:3:1",
"nodeType": "YulIdentifier",
"src": "2892:3:1"
},
"nativeSrc": "2892:44:1",
"nodeType": "YulFunctionCall",
"src": "2892:44:1"
},
"variables": [
{
"name": "deleteStart",
"nativeSrc": "2877:11:1",
"nodeType": "YulTypedName",
"src": "2877:11:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "3093:27:1",
"nodeType": "YulBlock",
"src": "3093:27:1",
"statements": [
{
"nativeSrc": "3095:23:1",
"nodeType": "YulAssignment",
"src": "3095:23:1",
"value": {
"name": "dataArea",
"nativeSrc": "3110:8:1",
"nodeType": "YulIdentifier",
"src": "3110:8:1"
},
"variableNames": [
{
"name": "deleteStart",
"nativeSrc": "3095:11:1",
"nodeType": "YulIdentifier",
"src": "3095:11:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "startIndex",
"nativeSrc": "3077:10:1",
"nodeType": "YulIdentifier",
"src": "3077:10:1"
},
{
"kind": "number",
"nativeSrc": "3089:2:1",
"nodeType": "YulLiteral",
"src": "3089:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "3074:2:1",
"nodeType": "YulIdentifier",
"src": "3074:2:1"
},
"nativeSrc": "3074:18:1",
"nodeType": "YulFunctionCall",
"src": "3074:18:1"
},
"nativeSrc": "3071:49:1",
"nodeType": "YulIf",
"src": "3071:49:1"
},
{
"expression": {
"arguments": [
{
"name": "deleteStart",
"nativeSrc": "3162:11:1",
"nodeType": "YulIdentifier",
"src": "3162:11:1"
},
{
"arguments": [
{
"name": "dataArea",
"nativeSrc": "3179:8:1",
"nodeType": "YulIdentifier",
"src": "3179:8:1"
},
{
"arguments": [
{
"name": "len",
"nativeSrc": "3207:3:1",
"nodeType": "YulIdentifier",
"src": "3207:3:1"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nativeSrc": "3189:17:1",
"nodeType": "YulIdentifier",
"src": "3189:17:1"
},
"nativeSrc": "3189:22:1",
"nodeType": "YulFunctionCall",
"src": "3189:22:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3175:3:1",
"nodeType": "YulIdentifier",
"src": "3175:3:1"
},
"nativeSrc": "3175:37:1",
"nodeType": "YulFunctionCall",
"src": "3175:37:1"
}
],
"functionName": {
"name": "clear_storage_range_t_bytes1",
"nativeSrc": "3133:28:1",
"nodeType": "YulIdentifier",
"src": "3133:28:1"
},
"nativeSrc": "3133:80:1",
"nodeType": "YulFunctionCall",
"src": "3133:80:1"
},
"nativeSrc": "3133:80:1",
"nodeType": "YulExpressionStatement",
"src": "3133:80:1"
}
]
},
"condition": {
"arguments": [
{
"name": "len",
"nativeSrc": "2783:3:1",
"nodeType": "YulIdentifier",
"src": "2783:3:1"
},
{
"kind": "number",
"nativeSrc": "2788:2:1",
"nodeType": "YulLiteral",
"src": "2788:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "2780:2:1",
"nodeType": "YulIdentifier",
"src": "2780:2:1"
},
"nativeSrc": "2780:11:1",
"nodeType": "YulFunctionCall",
"src": "2780:11:1"
},
"nativeSrc": "2777:446:1",
"nodeType": "YulIf",
"src": "2777:446:1"
}
]
},
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nativeSrc": "2687:543:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "array",
"nativeSrc": "2742:5:1",
"nodeType": "YulTypedName",
"src": "2742:5:1",
"type": ""
},
{
"name": "len",
"nativeSrc": "2749:3:1",
"nodeType": "YulTypedName",
"src": "2749:3:1",
"type": ""
},
{
"name": "startIndex",
"nativeSrc": "2754:10:1",
"nodeType": "YulTypedName",
"src": "2754:10:1",
"type": ""
}
],
"src": "2687:543:1"
},
{
"body": {
"nativeSrc": "3299:54:1",
"nodeType": "YulBlock",
"src": "3299:54:1",
"statements": [
{
"nativeSrc": "3309:37:1",
"nodeType": "YulAssignment",
"src": "3309:37:1",
"value": {
"arguments": [
{
"name": "bits",
"nativeSrc": "3334:4:1",
"nodeType": "YulIdentifier",
"src": "3334:4:1"
},
{
"name": "value",
"nativeSrc": "3340:5:1",
"nodeType": "YulIdentifier",
"src": "3340:5:1"
}
],
"functionName": {
"name": "shr",
"nativeSrc": "3330:3:1",
"nodeType": "YulIdentifier",
"src": "3330:3:1"
},
"nativeSrc": "3330:16:1",
"nodeType": "YulFunctionCall",
"src": "3330:16:1"
},
"variableNames": [
{
"name": "newValue",
"nativeSrc": "3309:8:1",
"nodeType": "YulIdentifier",
"src": "3309:8:1"
}
]
}
]
},
"name": "shift_right_unsigned_dynamic",
"nativeSrc": "3236:117:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nativeSrc": "3274:4:1",
"nodeType": "YulTypedName",
"src": "3274:4:1",
"type": ""
},
{
"name": "value",
"nativeSrc": "3280:5:1",
"nodeType": "YulTypedName",
"src": "3280:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nativeSrc": "3290:8:1",
"nodeType": "YulTypedName",
"src": "3290:8:1",
"type": ""
}
],
"src": "3236:117:1"
},
{
"body": {
"nativeSrc": "3410:118:1",
"nodeType": "YulBlock",
"src": "3410:118:1",
"statements": [
{
"nativeSrc": "3420:68:1",
"nodeType": "YulVariableDeclaration",
"src": "3420:68:1",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nativeSrc": "3469:1:1",
"nodeType": "YulLiteral",
"src": "3469:1:1",
"type": "",
"value": "8"
},
{
"name": "bytes",
"nativeSrc": "3472:5:1",
"nodeType": "YulIdentifier",
"src": "3472:5:1"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "3465:3:1",
"nodeType": "YulIdentifier",
"src": "3465:3:1"
},
"nativeSrc": "3465:13:1",
"nodeType": "YulFunctionCall",
"src": "3465:13:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "3484:1:1",
"nodeType": "YulLiteral",
"src": "3484:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nativeSrc": "3480:3:1",
"nodeType": "YulIdentifier",
"src": "3480:3:1"
},
"nativeSrc": "3480:6:1",
"nodeType": "YulFunctionCall",
"src": "3480:6:1"
}
],
"functionName": {
"name": "shift_right_unsigned_dynamic",
"nativeSrc": "3436:28:1",
"nodeType": "YulIdentifier",
"src": "3436:28:1"
},
"nativeSrc": "3436:51:1",
"nodeType": "YulFunctionCall",
"src": "3436:51:1"
}
],
"functionName": {
"name": "not",
"nativeSrc": "3432:3:1",
"nodeType": "YulIdentifier",
"src": "3432:3:1"
},
"nativeSrc": "3432:56:1",
"nodeType": "YulFunctionCall",
"src": "3432:56:1"
},
"variables": [
{
"name": "mask",
"nativeSrc": "3424:4:1",
"nodeType": "YulTypedName",
"src": "3424:4:1",
"type": ""
}
]
},
{
"nativeSrc": "3497:25:1",
"nodeType": "YulAssignment",
"src": "3497:25:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "3511:4:1",
"nodeType": "YulIdentifier",
"src": "3511:4:1"
},
{
"name": "mask",
"nativeSrc": "3517:4:1",
"nodeType": "YulIdentifier",
"src": "3517:4:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "3507:3:1",
"nodeType": "YulIdentifier",
"src": "3507:3:1"
},
"nativeSrc": "3507:15:1",
"nodeType": "YulFunctionCall",
"src": "3507:15:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "3497:6:1",
"nodeType": "YulIdentifier",
"src": "3497:6:1"
}
]
}
]
},
"name": "mask_bytes_dynamic",
"nativeSrc": "3359:169:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "3387:4:1",
"nodeType": "YulTypedName",
"src": "3387:4:1",
"type": ""
},
{
"name": "bytes",
"nativeSrc": "3393:5:1",
"nodeType": "YulTypedName",
"src": "3393:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "3403:6:1",
"nodeType": "YulTypedName",
"src": "3403:6:1",
"type": ""
}
],
"src": "3359:169:1"
},
{
"body": {
"nativeSrc": "3614:214:1",
"nodeType": "YulBlock",
"src": "3614:214:1",
"statements": [
{
"nativeSrc": "3747:37:1",
"nodeType": "YulAssignment",
"src": "3747:37:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "3774:4:1",
"nodeType": "YulIdentifier",
"src": "3774:4:1"
},
{
"name": "len",
"nativeSrc": "3780:3:1",
"nodeType": "YulIdentifier",
"src": "3780:3:1"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nativeSrc": "3755:18:1",
"nodeType": "YulIdentifier",
"src": "3755:18:1"
},
"nativeSrc": "3755:29:1",
"nodeType": "YulFunctionCall",
"src": "3755:29:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "3747:4:1",
"nodeType": "YulIdentifier",
"src": "3747:4:1"
}
]
},
{
"nativeSrc": "3793:29:1",
"nodeType": "YulAssignment",
"src": "3793:29:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "3804:4:1",
"nodeType": "YulIdentifier",
"src": "3804:4:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "3814:1:1",
"nodeType": "YulLiteral",
"src": "3814:1:1",
"type": "",
"value": "2"
},
{
"name": "len",
"nativeSrc": "3817:3:1",
"nodeType": "YulIdentifier",
"src": "3817:3:1"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "3810:3:1",
"nodeType": "YulIdentifier",
"src": "3810:3:1"
},
"nativeSrc": "3810:11:1",
"nodeType": "YulFunctionCall",
"src": "3810:11:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "3801:2:1",
"nodeType": "YulIdentifier",
"src": "3801:2:1"
},
"nativeSrc": "3801:21:1",
"nodeType": "YulFunctionCall",
"src": "3801:21:1"
},
"variableNames": [
{
"name": "used",
"nativeSrc": "3793:4:1",
"nodeType": "YulIdentifier",
"src": "3793:4:1"
}
]
}
]
},
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nativeSrc": "3533:295:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "3595:4:1",
"nodeType": "YulTypedName",
"src": "3595:4:1",
"type": ""
},
{
"name": "len",
"nativeSrc": "3601:3:1",
"nodeType": "YulTypedName",
"src": "3601:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "used",
"nativeSrc": "3609:4:1",
"nodeType": "YulTypedName",
"src": "3609:4:1",
"type": ""
}
],
"src": "3533:295:1"
},
{
"body": {
"nativeSrc": "3925:1303:1",
"nodeType": "YulBlock",
"src": "3925:1303:1",
"statements": [
{
"nativeSrc": "3936:51:1",
"nodeType": "YulVariableDeclaration",
"src": "3936:51:1",
"value": {
"arguments": [
{
"name": "src",
"nativeSrc": "3983:3:1",
"nodeType": "YulIdentifier",
"src": "3983:3:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "3950:32:1",
"nodeType": "YulIdentifier",
"src": "3950:32:1"
},
"nativeSrc": "3950:37:1",
"nodeType": "YulFunctionCall",
"src": "3950:37:1"
},
"variables": [
{
"name": "newLen",
"nativeSrc": "3940:6:1",
"nodeType": "YulTypedName",
"src": "3940:6:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "4072:22:1",
"nodeType": "YulBlock",
"src": "4072:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "4074:16:1",
"nodeType": "YulIdentifier",
"src": "4074:16:1"
},
"nativeSrc": "4074:18:1",
"nodeType": "YulFunctionCall",
"src": "4074:18:1"
},
"nativeSrc": "4074:18:1",
"nodeType": "YulExpressionStatement",
"src": "4074:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "4044:6:1",
"nodeType": "YulIdentifier",
"src": "4044:6:1"
},
{
"kind": "number",
"nativeSrc": "4052:18:1",
"nodeType": "YulLiteral",
"src": "4052:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "4041:2:1",
"nodeType": "YulIdentifier",
"src": "4041:2:1"
},
"nativeSrc": "4041:30:1",
"nodeType": "YulFunctionCall",
"src": "4041:30:1"
},
"nativeSrc": "4038:56:1",
"nodeType": "YulIf",
"src": "4038:56:1"
},
{
"nativeSrc": "4104:52:1",
"nodeType": "YulVariableDeclaration",
"src": "4104:52:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "slot",
"nativeSrc": "4150:4:1",
"nodeType": "YulIdentifier",
"src": "4150:4:1"
}
],
"functionName": {
"name": "sload",
"nativeSrc": "4144:5:1",
"nodeType": "YulIdentifier",
"src": "4144:5:1"
},
"nativeSrc": "4144:11:1",
"nodeType": "YulFunctionCall",
"src": "4144:11:1"
}
],
"functionName": {
"name": "extract_byte_array_length",
"nativeSrc": "4118:25:1",
"nodeType": "YulIdentifier",
"src": "4118:25:1"
},
"nativeSrc": "4118:38:1",
"nodeType": "YulFunctionCall",
"src": "4118:38:1"
},
"variables": [
{
"name": "oldLen",
"nativeSrc": "4108:6:1",
"nodeType": "YulTypedName",
"src": "4108:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "4249:4:1",
"nodeType": "YulIdentifier",
"src": "4249:4:1"
},
{
"name": "oldLen",
"nativeSrc": "4255:6:1",
"nodeType": "YulIdentifier",
"src": "4255:6:1"
},
{
"name": "newLen",
"nativeSrc": "4263:6:1",
"nodeType": "YulIdentifier",
"src": "4263:6:1"
}
],
"functionName": {
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nativeSrc": "4203:45:1",
"nodeType": "YulIdentifier",
"src": "4203:45:1"
},
"nativeSrc": "4203:67:1",
"nodeType": "YulFunctionCall",
"src": "4203:67:1"
},
"nativeSrc": "4203:67:1",
"nodeType": "YulExpressionStatement",
"src": "4203:67:1"
},
{
"nativeSrc": "4280:18:1",
"nodeType": "YulVariableDeclaration",
"src": "4280:18:1",
"value": {
"kind": "number",
"nativeSrc": "4297:1:1",
"nodeType": "YulLiteral",
"src": "4297:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "srcOffset",
"nativeSrc": "4284:9:1",
"nodeType": "YulTypedName",
"src": "4284:9:1",
"type": ""
}
]
},
{
"nativeSrc": "4308:17:1",
"nodeType": "YulAssignment",
"src": "4308:17:1",
"value": {
"kind": "number",
"nativeSrc": "4321:4:1",
"nodeType": "YulLiteral",
"src": "4321:4:1",
"type": "",
"value": "0x20"
},
"variableNames": [
{
"name": "srcOffset",
"nativeSrc": "4308:9:1",
"nodeType": "YulIdentifier",
"src": "4308:9:1"
}
]
},
{
"cases": [
{
"body": {
"nativeSrc": "4372:611:1",
"nodeType": "YulBlock",
"src": "4372:611:1",
"statements": [
{
"nativeSrc": "4386:37:1",
"nodeType": "YulVariableDeclaration",
"src": "4386:37:1",
"value": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "4405:6:1",
"nodeType": "YulIdentifier",
"src": "4405:6:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "4417:4:1",
"nodeType": "YulLiteral",
"src": "4417:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "not",
"nativeSrc": "4413:3:1",
"nodeType": "YulIdentifier",
"src": "4413:3:1"
},
"nativeSrc": "4413:9:1",
"nodeType": "YulFunctionCall",
"src": "4413:9:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "4401:3:1",
"nodeType": "YulIdentifier",
"src": "4401:3:1"
},
"nativeSrc": "4401:22:1",
"nodeType": "YulFunctionCall",
"src": "4401:22:1"
},
"variables": [
{
"name": "loopEnd",
"nativeSrc": "4390:7:1",
"nodeType": "YulTypedName",
"src": "4390:7:1",
"type": ""
}
]
},
{
"nativeSrc": "4437:51:1",
"nodeType": "YulVariableDeclaration",
"src": "4437:51:1",
"value": {
"arguments": [
{
"name": "slot",
"nativeSrc": "4483:4:1",
"nodeType": "YulIdentifier",
"src": "4483:4:1"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nativeSrc": "4451:31:1",
"nodeType": "YulIdentifier",
"src": "4451:31:1"
},
"nativeSrc": "4451:37:1",
"nodeType": "YulFunctionCall",
"src": "4451:37:1"
},
"variables": [
{
"name": "dstPtr",
"nativeSrc": "4441:6:1",
"nodeType": "YulTypedName",
"src": "4441:6:1",
"type": ""
}
]
},
{
"nativeSrc": "4501:10:1",
"nodeType": "YulVariableDeclaration",
"src": "4501:10:1",
"value": {
"kind": "number",
"nativeSrc": "4510:1:1",
"nodeType": "YulLiteral",
"src": "4510:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nativeSrc": "4505:1:1",
"nodeType": "YulTypedName",
"src": "4505:1:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "4569:163:1",
"nodeType": "YulBlock",
"src": "4569:163:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "4594:6:1",
"nodeType": "YulIdentifier",
"src": "4594:6:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "4612:3:1",
"nodeType": "YulIdentifier",
"src": "4612:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "4617:9:1",
"nodeType": "YulIdentifier",
"src": "4617:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4608:3:1",
"nodeType": "YulIdentifier",
"src": "4608:3:1"
},
"nativeSrc": "4608:19:1",
"nodeType": "YulFunctionCall",
"src": "4608:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "4602:5:1",
"nodeType": "YulIdentifier",
"src": "4602:5:1"
},
"nativeSrc": "4602:26:1",
"nodeType": "YulFunctionCall",
"src": "4602:26:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "4587:6:1",
"nodeType": "YulIdentifier",
"src": "4587:6:1"
},
"nativeSrc": "4587:42:1",
"nodeType": "YulFunctionCall",
"src": "4587:42:1"
},
"nativeSrc": "4587:42:1",
"nodeType": "YulExpressionStatement",
"src": "4587:42:1"
},
{
"nativeSrc": "4646:24:1",
"nodeType": "YulAssignment",
"src": "4646:24:1",
"value": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "4660:6:1",
"nodeType": "YulIdentifier",
"src": "4660:6:1"
},
{
"kind": "number",
"nativeSrc": "4668:1:1",
"nodeType": "YulLiteral",
"src": "4668:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4656:3:1",
"nodeType": "YulIdentifier",
"src": "4656:3:1"
},
"nativeSrc": "4656:14:1",
"nodeType": "YulFunctionCall",
"src": "4656:14:1"
},
"variableNames": [
{
"name": "dstPtr",
"nativeSrc": "4646:6:1",
"nodeType": "YulIdentifier",
"src": "4646:6:1"
}
]
},
{
"nativeSrc": "4687:31:1",
"nodeType": "YulAssignment",
"src": "4687:31:1",
"value": {
"arguments": [
{
"name": "srcOffset",
"nativeSrc": "4704:9:1",
"nodeType": "YulIdentifier",
"src": "4704:9:1"
},
{
"kind": "number",
"nativeSrc": "4715:2:1",
"nodeType": "YulLiteral",
"src": "4715:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4700:3:1",
"nodeType": "YulIdentifier",
"src": "4700:3:1"
},
"nativeSrc": "4700:18:1",
"nodeType": "YulFunctionCall",
"src": "4700:18:1"
},
"variableNames": [
{
"name": "srcOffset",
"nativeSrc": "4687:9:1",
"nodeType": "YulIdentifier",
"src": "4687:9:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nativeSrc": "4535:1:1",
"nodeType": "YulIdentifier",
"src": "4535:1:1"
},
{
"name": "loopEnd",
"nativeSrc": "4538:7:1",
"nodeType": "YulIdentifier",
"src": "4538:7:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "4532:2:1",
"nodeType": "YulIdentifier",
"src": "4532:2:1"
},
"nativeSrc": "4532:14:1",
"nodeType": "YulFunctionCall",
"src": "4532:14:1"
},
"nativeSrc": "4524:208:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "4547:21:1",
"nodeType": "YulBlock",
"src": "4547:21:1",
"statements": [
{
"nativeSrc": "4549:17:1",
"nodeType": "YulAssignment",
"src": "4549:17:1",
"value": {
"arguments": [
{
"name": "i",
"nativeSrc": "4558:1:1",
"nodeType": "YulIdentifier",
"src": "4558:1:1"
},
{
"kind": "number",
"nativeSrc": "4561:4:1",
"nodeType": "YulLiteral",
"src": "4561:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4554:3:1",
"nodeType": "YulIdentifier",
"src": "4554:3:1"
},
"nativeSrc": "4554:12:1",
"nodeType": "YulFunctionCall",
"src": "4554:12:1"
},
"variableNames": [
{
"name": "i",
"nativeSrc": "4549:1:1",
"nodeType": "YulIdentifier",
"src": "4549:1:1"
}
]
}
]
},
"pre": {
"nativeSrc": "4528:3:1",
"nodeType": "YulBlock",
"src": "4528:3:1",
"statements": []
},
"src": "4524:208:1"
},
{
"body": {
"nativeSrc": "4768:156:1",
"nodeType": "YulBlock",
"src": "4768:156:1",
"statements": [
{
"nativeSrc": "4786:43:1",
"nodeType": "YulVariableDeclaration",
"src": "4786:43:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "4813:3:1",
"nodeType": "YulIdentifier",
"src": "4813:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "4818:9:1",
"nodeType": "YulIdentifier",
"src": "4818:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4809:3:1",
"nodeType": "YulIdentifier",
"src": "4809:3:1"
},
"nativeSrc": "4809:19:1",
"nodeType": "YulFunctionCall",
"src": "4809:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "4803:5:1",
"nodeType": "YulIdentifier",
"src": "4803:5:1"
},
"nativeSrc": "4803:26:1",
"nodeType": "YulFunctionCall",
"src": "4803:26:1"
},
"variables": [
{
"name": "lastValue",
"nativeSrc": "4790:9:1",
"nodeType": "YulTypedName",
"src": "4790:9:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "4853:6:1",
"nodeType": "YulIdentifier",
"src": "4853:6:1"
},
{
"arguments": [
{
"name": "lastValue",
"nativeSrc": "4880:9:1",
"nodeType": "YulIdentifier",
"src": "4880:9:1"
},
{
"arguments": [
{
"name": "newLen",
"nativeSrc": "4895:6:1",
"nodeType": "YulIdentifier",
"src": "4895:6:1"
},
{
"kind": "number",
"nativeSrc": "4903:4:1",
"nodeType": "YulLiteral",
"src": "4903:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "4891:3:1",
"nodeType": "YulIdentifier",
"src": "4891:3:1"
},
"nativeSrc": "4891:17:1",
"nodeType": "YulFunctionCall",
"src": "4891:17:1"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nativeSrc": "4861:18:1",
"nodeType": "YulIdentifier",
"src": "4861:18:1"
},
"nativeSrc": "4861:48:1",
"nodeType": "YulFunctionCall",
"src": "4861:48:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "4846:6:1",
"nodeType": "YulIdentifier",
"src": "4846:6:1"
},
"nativeSrc": "4846:64:1",
"nodeType": "YulFunctionCall",
"src": "4846:64:1"
},
"nativeSrc": "4846:64:1",
"nodeType": "YulExpressionStatement",
"src": "4846:64:1"
}
]
},
"condition": {
"arguments": [
{
"name": "loopEnd",
"nativeSrc": "4751:7:1",
"nodeType": "YulIdentifier",
"src": "4751:7:1"
},
{
"name": "newLen",
"nativeSrc": "4760:6:1",
"nodeType": "YulIdentifier",
"src": "4760:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "4748:2:1",
"nodeType": "YulIdentifier",
"src": "4748:2:1"
},
"nativeSrc": "4748:19:1",
"nodeType": "YulFunctionCall",
"src": "4748:19:1"
},
"nativeSrc": "4745:179:1",
"nodeType": "YulIf",
"src": "4745:179:1"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "4944:4:1",
"nodeType": "YulIdentifier",
"src": "4944:4:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "newLen",
"nativeSrc": "4958:6:1",
"nodeType": "YulIdentifier",
"src": "4958:6:1"
},
{
"kind": "number",
"nativeSrc": "4966:1:1",
"nodeType": "YulLiteral",
"src": "4966:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "4954:3:1",
"nodeType": "YulIdentifier",
"src": "4954:3:1"
},
"nativeSrc": "4954:14:1",
"nodeType": "YulFunctionCall",
"src": "4954:14:1"
},
{
"kind": "number",
"nativeSrc": "4970:1:1",
"nodeType": "YulLiteral",
"src": "4970:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4950:3:1",
"nodeType": "YulIdentifier",
"src": "4950:3:1"
},
"nativeSrc": "4950:22:1",
"nodeType": "YulFunctionCall",
"src": "4950:22:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "4937:6:1",
"nodeType": "YulIdentifier",
"src": "4937:6:1"
},
"nativeSrc": "4937:36:1",
"nodeType": "YulFunctionCall",
"src": "4937:36:1"
},
"nativeSrc": "4937:36:1",
"nodeType": "YulExpressionStatement",
"src": "4937:36:1"
}
]
},
"nativeSrc": "4365:618:1",
"nodeType": "YulCase",
"src": "4365:618:1",
"value": {
"kind": "number",
"nativeSrc": "4370:1:1",
"nodeType": "YulLiteral",
"src": "4370:1:1",
"type": "",
"value": "1"
}
},
{
"body": {
"nativeSrc": "5000:222:1",
"nodeType": "YulBlock",
"src": "5000:222:1",
"statements": [
{
"nativeSrc": "5014:14:1",
"nodeType": "YulVariableDeclaration",
"src": "5014:14:1",
"value": {
"kind": "number",
"nativeSrc": "5027:1:1",
"nodeType": "YulLiteral",
"src": "5027:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "value",
"nativeSrc": "5018:5:1",
"nodeType": "YulTypedName",
"src": "5018:5:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "5051:67:1",
"nodeType": "YulBlock",
"src": "5051:67:1",
"statements": [
{
"nativeSrc": "5069:35:1",
"nodeType": "YulAssignment",
"src": "5069:35:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "5088:3:1",
"nodeType": "YulIdentifier",
"src": "5088:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "5093:9:1",
"nodeType": "YulIdentifier",
"src": "5093:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5084:3:1",
"nodeType": "YulIdentifier",
"src": "5084:3:1"
},
"nativeSrc": "5084:19:1",
"nodeType": "YulFunctionCall",
"src": "5084:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "5078:5:1",
"nodeType": "YulIdentifier",
"src": "5078:5:1"
},
"nativeSrc": "5078:26:1",
"nodeType": "YulFunctionCall",
"src": "5078:26:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "5069:5:1",
"nodeType": "YulIdentifier",
"src": "5069:5:1"
}
]
}
]
},
"condition": {
"name": "newLen",
"nativeSrc": "5044:6:1",
"nodeType": "YulIdentifier",
"src": "5044:6:1"
},
"nativeSrc": "5041:77:1",
"nodeType": "YulIf",
"src": "5041:77:1"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "5138:4:1",
"nodeType": "YulIdentifier",
"src": "5138:4:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "5197:5:1",
"nodeType": "YulIdentifier",
"src": "5197:5:1"
},
{
"name": "newLen",
"nativeSrc": "5204:6:1",
"nodeType": "YulIdentifier",
"src": "5204:6:1"
}
],
"functionName": {
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nativeSrc": "5144:52:1",
"nodeType": "YulIdentifier",
"src": "5144:52:1"
},
"nativeSrc": "5144:67:1",
"nodeType": "YulFunctionCall",
"src": "5144:67:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "5131:6:1",
"nodeType": "YulIdentifier",
"src": "5131:6:1"
},
"nativeSrc": "5131:81:1",
"nodeType": "YulFunctionCall",
"src": "5131:81:1"
},
"nativeSrc": "5131:81:1",
"nodeType": "YulExpressionStatement",
"src": "5131:81:1"
}
]
},
"nativeSrc": "4992:230:1",
"nodeType": "YulCase",
"src": "4992:230:1",
"value": "default"
}
],
"expression": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "4345:6:1",
"nodeType": "YulIdentifier",
"src": "4345:6:1"
},
{
"kind": "number",
"nativeSrc": "4353:2:1",
"nodeType": "YulLiteral",
"src": "4353:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "4342:2:1",
"nodeType": "YulIdentifier",
"src": "4342:2:1"
},
"nativeSrc": "4342:14:1",
"nodeType": "YulFunctionCall",
"src": "4342:14:1"
},
"nativeSrc": "4335:887:1",
"nodeType": "YulSwitch",
"src": "4335:887:1"
}
]
},
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage",
"nativeSrc": "3833:1395:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "3914:4:1",
"nodeType": "YulTypedName",
"src": "3914:4:1",
"type": ""
},
{
"name": "src",
"nativeSrc": "3920:3:1",
"nodeType": "YulTypedName",
"src": "3920:3:1",
"type": ""
}
],
"src": "3833:1395:1"
}
]
},
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60806040526040518060400160405280600b81526020017f48656c6c6f576f726c64210000000000000000000000000000000000000000008152505f90816100479190610293565b50348015610053575f80fd5b50610362565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806100d457607f821691505b6020821081036100e7576100e6610090565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026101497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261010e565b610153868361010e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61019761019261018d8461016b565b610174565b61016b565b9050919050565b5f819050919050565b6101b08361017d565b6101c46101bc8261019e565b84845461011a565b825550505050565b5f90565b6101d86101cc565b6101e38184846101a7565b505050565b5b81811015610206576101fb5f826101d0565b6001810190506101e9565b5050565b601f82111561024b5761021c816100ed565b610225846100ff565b81016020851015610234578190505b610248610240856100ff565b8301826101e8565b50505b505050565b5f82821c905092915050565b5f61026b5f1984600802610250565b1980831691505092915050565b5f610283838361025c565b9150826002028217905092915050565b61029c82610059565b67ffffffffffffffff8111156102b5576102b4610063565b5b6102bf82546100bd565b6102ca82828561020a565b5f60209050601f8311600181146102fb575f84156102e9578287015190505b6102f38582610278565b86555061035a565b601f198416610309866100ed565b5f5b828110156103305784890151825560018201915060208501945060208101905061030b565b8683101561034d5784890151610349601f89168261025c565b8355505b6001600288020188555050505b505050505050565b61032f8061036f5f395ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c80632f2f48591461004e57806360fe47b11461006c5780636d4ce63c14610088578063c6b91540146100a6575b5f80fd5b6100566100c4565b60405161006391906101f2565b60405180910390f35b61008660048036038101906100819190610249565b61014f565b005b610090610159565b60405161009d9190610283565b60405180910390f35b6100ae610162565b6040516100bb9190610283565b60405180910390f35b5f80546100d0906102c9565b80601f01602080910402602001604051908101604052809291908181526020018280546100fc906102c9565b80156101475780601f1061011e57610100808354040283529160200191610147565b820191905f5260205f20905b81548152906001019060200180831161012a57829003601f168201915b505050505081565b8060018190555050565b5f600154905090565b60015481565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561019f578082015181840152602081019050610184565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6101c482610168565b6101ce8185610172565b93506101de818560208601610182565b6101e7816101aa565b840191505092915050565b5f6020820190508181035f83015261020a81846101ba565b905092915050565b5f80fd5b5f819050919050565b61022881610216565b8114610232575f80fd5b50565b5f813590506102438161021f565b92915050565b5f6020828403121561025e5761025d610212565b5b5f61026b84828501610235565b91505092915050565b61027d81610216565b82525050565b5f6020820190506102965f830184610274565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806102e057607f821691505b6020821081036102f3576102f261029c565b5b5091905056fea2646970667358221220454e927935d1b200da6cd8d9155c1c3c554711e28bc3cefc5da95f538df7ba6d64736f6c63430008160033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xB DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x48656C6C6F576F726C6421000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH0 SWAP1 DUP2 PUSH2 0x47 SWAP2 SWAP1 PUSH2 0x293 JUMP JUMPDEST POP CALLVALUE DUP1 ISZERO PUSH2 0x53 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH2 0x362 JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0xD4 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0xE7 JUMPI PUSH2 0xE6 PUSH2 0x90 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP DUP2 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x8 DUP4 MUL PUSH2 0x149 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x10E JUMP JUMPDEST PUSH2 0x153 DUP7 DUP4 PUSH2 0x10E JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x197 PUSH2 0x192 PUSH2 0x18D DUP5 PUSH2 0x16B JUMP JUMPDEST PUSH2 0x174 JUMP JUMPDEST PUSH2 0x16B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1B0 DUP4 PUSH2 0x17D JUMP JUMPDEST PUSH2 0x1C4 PUSH2 0x1BC DUP3 PUSH2 0x19E JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x11A JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH0 SWAP1 JUMP JUMPDEST PUSH2 0x1D8 PUSH2 0x1CC JUMP JUMPDEST PUSH2 0x1E3 DUP2 DUP5 DUP5 PUSH2 0x1A7 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x206 JUMPI PUSH2 0x1FB PUSH0 DUP3 PUSH2 0x1D0 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x1E9 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x24B JUMPI PUSH2 0x21C DUP2 PUSH2 0xED JUMP JUMPDEST PUSH2 0x225 DUP5 PUSH2 0xFF JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x234 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x248 PUSH2 0x240 DUP6 PUSH2 0xFF JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x1E8 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x26B PUSH0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x250 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x283 DUP4 DUP4 PUSH2 0x25C JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x29C DUP3 PUSH2 0x59 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2B5 JUMPI PUSH2 0x2B4 PUSH2 0x63 JUMP JUMPDEST JUMPDEST PUSH2 0x2BF DUP3 SLOAD PUSH2 0xBD JUMP JUMPDEST PUSH2 0x2CA DUP3 DUP3 DUP6 PUSH2 0x20A JUMP JUMPDEST PUSH0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x2FB JUMPI PUSH0 DUP5 ISZERO PUSH2 0x2E9 JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x2F3 DUP6 DUP3 PUSH2 0x278 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x35A JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x309 DUP7 PUSH2 0xED JUMP JUMPDEST PUSH0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x330 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x30B JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x34D JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x349 PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x25C JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x32F DUP1 PUSH2 0x36F PUSH0 CODECOPY PUSH0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2F2F4859 EQ PUSH2 0x4E JUMPI DUP1 PUSH4 0x60FE47B1 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x6D4CE63C EQ PUSH2 0x88 JUMPI DUP1 PUSH4 0xC6B91540 EQ PUSH2 0xA6 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x56 PUSH2 0xC4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x63 SWAP2 SWAP1 PUSH2 0x1F2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x86 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x81 SWAP2 SWAP1 PUSH2 0x249 JUMP JUMPDEST PUSH2 0x14F JUMP JUMPDEST STOP JUMPDEST PUSH2 0x90 PUSH2 0x159 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9D SWAP2 SWAP1 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAE PUSH2 0x162 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBB SWAP2 SWAP1 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH0 DUP1 SLOAD PUSH2 0xD0 SWAP1 PUSH2 0x2C9 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV 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 PUSH2 0xFC SWAP1 PUSH2 0x2C9 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x147 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x11E JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x147 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x12A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP1 PUSH1 0x1 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x19F JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x184 JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x1C4 DUP3 PUSH2 0x168 JUMP JUMPDEST PUSH2 0x1CE DUP2 DUP6 PUSH2 0x172 JUMP JUMPDEST SWAP4 POP PUSH2 0x1DE DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x182 JUMP JUMPDEST PUSH2 0x1E7 DUP2 PUSH2 0x1AA JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x20A DUP2 DUP5 PUSH2 0x1BA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x228 DUP2 PUSH2 0x216 JUMP JUMPDEST DUP2 EQ PUSH2 0x232 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x243 DUP2 PUSH2 0x21F JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x25E JUMPI PUSH2 0x25D PUSH2 0x212 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x26B DUP5 DUP3 DUP6 ADD PUSH2 0x235 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x27D DUP2 PUSH2 0x216 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x296 PUSH0 DUP4 ADD DUP5 PUSH2 0x274 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x2E0 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x2F3 JUMPI PUSH2 0x2F2 PUSH2 0x29C JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 GASLIMIT 0x4E SWAP3 PUSH26 0x35D1B200DA6CD8D9155C1C3C554711E28BC3CEFC5DA95F538DF7 0xBA PUSH14 0x64736F6C63430008160033000000 ",
"sourceMap": "58:229:0:-:0;;;84:40;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;58:229;;;;;;;;;;;;7:99:1;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:180::-;160:77;157:1;150:88;257:4;254:1;247:15;281:4;278:1;271:15;298:180;346:77;343:1;336:88;443:4;440:1;433:15;467:4;464:1;457:15;484:320;528:6;565:1;559:4;555:12;545:22;;612:1;606:4;602:12;633:18;623:81;;689:4;681:6;677:17;667:27;;623:81;751:2;743:6;740:14;720:18;717:38;714:84;;770:18;;:::i;:::-;714:84;535:269;484:320;;;:::o;810:141::-;859:4;882:3;874:11;;905:3;902:1;895:14;939:4;936:1;926:18;918:26;;810:141;;;:::o;957:93::-;994:6;1041:2;1036;1029:5;1025:14;1021:23;1011:33;;957:93;;;:::o;1056:107::-;1100:8;1150:5;1144:4;1140:16;1119:37;;1056:107;;;;:::o;1169:393::-;1238:6;1288:1;1276:10;1272:18;1311:97;1341:66;1330:9;1311:97;:::i;:::-;1429:39;1459:8;1448:9;1429:39;:::i;:::-;1417:51;;1501:4;1497:9;1490:5;1486:21;1477:30;;1550:4;1540:8;1536:19;1529:5;1526:30;1516:40;;1245:317;;1169:393;;;;;:::o;1568:77::-;1605:7;1634:5;1623:16;;1568:77;;;:::o;1651:60::-;1679:3;1700:5;1693:12;;1651:60;;;:::o;1717:142::-;1767:9;1800:53;1818:34;1827:24;1845:5;1827:24;:::i;:::-;1818:34;:::i;:::-;1800:53;:::i;:::-;1787:66;;1717:142;;;:::o;1865:75::-;1908:3;1929:5;1922:12;;1865:75;;;:::o;1946:269::-;2056:39;2087:7;2056:39;:::i;:::-;2117:91;2166:41;2190:16;2166:41;:::i;:::-;2158:6;2151:4;2145:11;2117:91;:::i;:::-;2111:4;2104:105;2022:193;1946:269;;;:::o;2221:73::-;2266:3;2221:73;:::o;2300:189::-;2377:32;;:::i;:::-;2418:65;2476:6;2468;2462:4;2418:65;:::i;:::-;2353:136;2300:189;;:::o;2495:186::-;2555:120;2572:3;2565:5;2562:14;2555:120;;;2626:39;2663:1;2656:5;2626:39;:::i;:::-;2599:1;2592:5;2588:13;2579:22;;2555:120;;;2495:186;;:::o;2687:543::-;2788:2;2783:3;2780:11;2777:446;;;2822:38;2854:5;2822:38;:::i;:::-;2906:29;2924:10;2906:29;:::i;:::-;2896:8;2892:44;3089:2;3077:10;3074:18;3071:49;;;3110:8;3095:23;;3071:49;3133:80;3189:22;3207:3;3189:22;:::i;:::-;3179:8;3175:37;3162:11;3133:80;:::i;:::-;2792:431;;2777:446;2687:543;;;:::o;3236:117::-;3290:8;3340:5;3334:4;3330:16;3309:37;;3236:117;;;;:::o;3359:169::-;3403:6;3436:51;3484:1;3480:6;3472:5;3469:1;3465:13;3436:51;:::i;:::-;3432:56;3517:4;3511;3507:15;3497:25;;3410:118;3359:169;;;;:::o;3533:295::-;3609:4;3755:29;3780:3;3774:4;3755:29;:::i;:::-;3747:37;;3817:3;3814:1;3810:11;3804:4;3801:21;3793:29;;3533:295;;;;:::o;3833:1395::-;3950:37;3983:3;3950:37;:::i;:::-;4052:18;4044:6;4041:30;4038:56;;;4074:18;;:::i;:::-;4038:56;4118:38;4150:4;4144:11;4118:38;:::i;:::-;4203:67;4263:6;4255;4249:4;4203:67;:::i;:::-;4297:1;4321:4;4308:17;;4353:2;4345:6;4342:14;4370:1;4365:618;;;;5027:1;5044:6;5041:77;;;5093:9;5088:3;5084:19;5078:26;5069:35;;5041:77;5144:67;5204:6;5197:5;5144:67;:::i;:::-;5138:4;5131:81;5000:222;4335:887;;4365:618;4417:4;4413:9;4405:6;4401:22;4451:37;4483:4;4451:37;:::i;:::-;4510:1;4524:208;4538:7;4535:1;4532:14;4524:208;;;4617:9;4612:3;4608:19;4602:26;4594:6;4587:42;4668:1;4660:6;4656:14;4646:24;;4715:2;4704:9;4700:18;4687:31;;4561:4;4558:1;4554:12;4549:17;;4524:208;;;4760:6;4751:7;4748:19;4745:179;;;4818:9;4813:3;4809:19;4803:26;4861:48;4903:4;4895:6;4891:17;4880:9;4861:48;:::i;:::-;4853:6;4846:64;4768:156;4745:179;4970:1;4966;4958:6;4954:14;4950:22;4944:4;4937:36;4372:611;;;4335:887;;3925:1303;;;3833:1395;;:::o;58:229:0:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@get_14": {
"entryPoint": 345,
"id": 14,
"parameterSlots": 0,
"returnSlots": 1
},
"@helloworld_4": {
"entryPoint": 196,
"id": 4,
"parameterSlots": 0,
"returnSlots": 0
},
"@myVar_6": {
"entryPoint": 354,
"id": 6,
"parameterSlots": 0,
"returnSlots": 0
},
"@set_24": {
"entryPoint": 335,
"id": 24,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_uint256": {
"entryPoint": 565,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 585,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 442,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 628,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 498,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 643,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 360,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 370,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 534,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 386,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"extract_byte_array_length": {
"entryPoint": 713,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 668,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 530,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 426,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_uint256": {
"entryPoint": 543,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:3228:1",
"nodeType": "YulBlock",
"src": "0:3228:1",
"statements": [
{
"body": {
"nativeSrc": "66:40:1",
"nodeType": "YulBlock",
"src": "66:40:1",
"statements": [
{
"nativeSrc": "77:22:1",
"nodeType": "YulAssignment",
"src": "77:22:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "93:5:1",
"nodeType": "YulIdentifier",
"src": "93:5:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "87:5:1",
"nodeType": "YulIdentifier",
"src": "87:5:1"
},
"nativeSrc": "87:12:1",
"nodeType": "YulFunctionCall",
"src": "87:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "77:6:1",
"nodeType": "YulIdentifier",
"src": "77:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "7:99:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "49:5:1",
"nodeType": "YulTypedName",
"src": "49:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "59:6:1",
"nodeType": "YulTypedName",
"src": "59:6:1",
"type": ""
}
],
"src": "7:99:1"
},
{
"body": {
"nativeSrc": "208:73:1",
"nodeType": "YulBlock",
"src": "208:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "225:3:1",
"nodeType": "YulIdentifier",
"src": "225:3:1"
},
{
"name": "length",
"nativeSrc": "230:6:1",
"nodeType": "YulIdentifier",
"src": "230:6:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "218:6:1",
"nodeType": "YulIdentifier",
"src": "218:6:1"
},
"nativeSrc": "218:19:1",
"nodeType": "YulFunctionCall",
"src": "218:19:1"
},
"nativeSrc": "218:19:1",
"nodeType": "YulExpressionStatement",
"src": "218:19:1"
},
{
"nativeSrc": "246:29:1",
"nodeType": "YulAssignment",
"src": "246:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "265:3:1",
"nodeType": "YulIdentifier",
"src": "265:3:1"
},
{
"kind": "number",
"nativeSrc": "270:4:1",
"nodeType": "YulLiteral",
"src": "270:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "261:3:1",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
"nativeSrc": "261:14:1",
"nodeType": "YulFunctionCall",
"src": "261:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nativeSrc": "246:11:1",
"nodeType": "YulIdentifier",
"src": "246:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "112:169:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "180:3:1",
"nodeType": "YulTypedName",
"src": "180:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "185:6:1",
"nodeType": "YulTypedName",
"src": "185:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nativeSrc": "196:11:1",
"nodeType": "YulTypedName",
"src": "196:11:1",
"type": ""
}
],
"src": "112:169:1"
},
{
"body": {
"nativeSrc": "349:184:1",
"nodeType": "YulBlock",
"src": "349:184:1",
"statements": [
{
"nativeSrc": "359:10:1",
"nodeType": "YulVariableDeclaration",
"src": "359:10:1",
"value": {
"kind": "number",
"nativeSrc": "368:1:1",
"nodeType": "YulLiteral",
"src": "368:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nativeSrc": "363:1:1",
"nodeType": "YulTypedName",
"src": "363:1:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "428:63:1",
"nodeType": "YulBlock",
"src": "428:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "453:3:1",
"nodeType": "YulIdentifier",
"src": "453:3:1"
},
{
"name": "i",
"nativeSrc": "458:1:1",
"nodeType": "YulIdentifier",
"src": "458:1:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "449:3:1",
"nodeType": "YulIdentifier",
"src": "449:3:1"
},
"nativeSrc": "449:11:1",
"nodeType": "YulFunctionCall",
"src": "449:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "472:3:1",
"nodeType": "YulIdentifier",
"src": "472:3:1"
},
{
"name": "i",
"nativeSrc": "477:1:1",
"nodeType": "YulIdentifier",
"src": "477:1:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "468:3:1",
"nodeType": "YulIdentifier",
"src": "468:3:1"
},
"nativeSrc": "468:11:1",
"nodeType": "YulFunctionCall",
"src": "468:11:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "462:5:1",
"nodeType": "YulIdentifier",
"src": "462:5:1"
},
"nativeSrc": "462:18:1",
"nodeType": "YulFunctionCall",
"src": "462:18:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "442:6:1",
"nodeType": "YulIdentifier",
"src": "442:6:1"
},
"nativeSrc": "442:39:1",
"nodeType": "YulFunctionCall",
"src": "442:39:1"
},
"nativeSrc": "442:39:1",
"nodeType": "YulExpressionStatement",
"src": "442:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nativeSrc": "389:1:1",
"nodeType": "YulIdentifier",
"src": "389:1:1"
},
{
"name": "length",
"nativeSrc": "392:6:1",
"nodeType": "YulIdentifier",
"src": "392:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "386:2:1",
"nodeType": "YulIdentifier",
"src": "386:2:1"
},
"nativeSrc": "386:13:1",
"nodeType": "YulFunctionCall",
"src": "386:13:1"
},
"nativeSrc": "378:113:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "400:19:1",
"nodeType": "YulBlock",
"src": "400:19:1",
"statements": [
{
"nativeSrc": "402:15:1",
"nodeType": "YulAssignment",
"src": "402:15:1",
"value": {
"arguments": [
{
"name": "i",
"nativeSrc": "411:1:1",
"nodeType": "YulIdentifier",
"src": "411:1:1"
},
{
"kind": "number",
"nativeSrc": "414:2:1",
"nodeType": "YulLiteral",
"src": "414:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "407:3:1",
"nodeType": "YulIdentifier",
"src": "407:3:1"
},
"nativeSrc": "407:10:1",
"nodeType": "YulFunctionCall",
"src": "407:10:1"
},
"variableNames": [
{
"name": "i",
"nativeSrc": "402:1:1",
"nodeType": "YulIdentifier",
"src": "402:1:1"
}
]
}
]
},
"pre": {
"nativeSrc": "382:3:1",
"nodeType": "YulBlock",
"src": "382:3:1",
"statements": []
},
"src": "378:113:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "511:3:1",
"nodeType": "YulIdentifier",
"src": "511:3:1"
},
{
"name": "length",
"nativeSrc": "516:6:1",
"nodeType": "YulIdentifier",
"src": "516:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "507:3:1",
"nodeType": "YulIdentifier",
"src": "507:3:1"
},
"nativeSrc": "507:16:1",
"nodeType": "YulFunctionCall",
"src": "507:16:1"
},
{
"kind": "number",
"nativeSrc": "525:1:1",
"nodeType": "YulLiteral",
"src": "525:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "500:6:1",
"nodeType": "YulIdentifier",
"src": "500:6:1"
},
"nativeSrc": "500:27:1",
"nodeType": "YulFunctionCall",
"src": "500:27:1"
},
"nativeSrc": "500:27:1",
"nodeType": "YulExpressionStatement",
"src": "500:27:1"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "287:246:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "331:3:1",
"nodeType": "YulTypedName",
"src": "331:3:1",
"type": ""
},
{
"name": "dst",
"nativeSrc": "336:3:1",
"nodeType": "YulTypedName",
"src": "336:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "341:6:1",
"nodeType": "YulTypedName",
"src": "341:6:1",
"type": ""
}
],
"src": "287:246:1"
},
{
"body": {
"nativeSrc": "587:54:1",
"nodeType": "YulBlock",
"src": "587:54:1",
"statements": [
{
"nativeSrc": "597:38:1",
"nodeType": "YulAssignment",
"src": "597:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "615:5:1",
"nodeType": "YulIdentifier",
"src": "615:5:1"
},
{
"kind": "number",
"nativeSrc": "622:2:1",
"nodeType": "YulLiteral",
"src": "622:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "611:3:1",
"nodeType": "YulIdentifier",
"src": "611:3:1"
},
"nativeSrc": "611:14:1",
"nodeType": "YulFunctionCall",
"src": "611:14:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "631:2:1",
"nodeType": "YulLiteral",
"src": "631:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nativeSrc": "627:3:1",
"nodeType": "YulIdentifier",
"src": "627:3:1"
},
"nativeSrc": "627:7:1",
"nodeType": "YulFunctionCall",
"src": "627:7:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "607:3:1",
"nodeType": "YulIdentifier",
"src": "607:3:1"
},
"nativeSrc": "607:28:1",
"nodeType": "YulFunctionCall",
"src": "607:28:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "597:6:1",
"nodeType": "YulIdentifier",
"src": "597:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nativeSrc": "539:102:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "570:5:1",
"nodeType": "YulTypedName",
"src": "570:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "580:6:1",
"nodeType": "YulTypedName",
"src": "580:6:1",
"type": ""
}
],
"src": "539:102:1"
},
{
"body": {
"nativeSrc": "739:285:1",
"nodeType": "YulBlock",
"src": "739:285:1",
"statements": [
{
"nativeSrc": "749:53:1",
"nodeType": "YulVariableDeclaration",
"src": "749:53:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "796:5:1",
"nodeType": "YulIdentifier",
"src": "796:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "763:32:1",
"nodeType": "YulIdentifier",
"src": "763:32:1"
},
"nativeSrc": "763:39:1",
"nodeType": "YulFunctionCall",
"src": "763:39:1"
},
"variables": [
{
"name": "length",
"nativeSrc": "753:6:1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
}
]
},
{
"nativeSrc": "811:78:1",
"nodeType": "YulAssignment",
"src": "811:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "877:3:1",
"nodeType": "YulIdentifier",
"src": "877:3:1"
},
{
"name": "length",
"nativeSrc": "882:6:1",
"nodeType": "YulIdentifier",
"src": "882:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "818:58:1",
"nodeType": "YulIdentifier",
"src": "818:58:1"
},
"nativeSrc": "818:71:1",
"nodeType": "YulFunctionCall",
"src": "818:71:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "811:3:1",
"nodeType": "YulIdentifier",
"src": "811:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "937:5:1",
"nodeType": "YulIdentifier",
"src": "937:5:1"
},
{
"kind": "number",
"nativeSrc": "944:4:1",
"nodeType": "YulLiteral",
"src": "944:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "933:3:1",
"nodeType": "YulIdentifier",
"src": "933:3:1"
},
"nativeSrc": "933:16:1",
"nodeType": "YulFunctionCall",
"src": "933:16:1"
},
{
"name": "pos",
"nativeSrc": "951:3:1",
"nodeType": "YulIdentifier",
"src": "951:3:1"
},
{
"name": "length",
"nativeSrc": "956:6:1",
"nodeType": "YulIdentifier",
"src": "956:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "898:34:1",
"nodeType": "YulIdentifier",
"src": "898:34:1"
},
"nativeSrc": "898:65:1",
"nodeType": "YulFunctionCall",
"src": "898:65:1"
},
"nativeSrc": "898:65:1",
"nodeType": "YulExpressionStatement",
"src": "898:65:1"
},
{
"nativeSrc": "972:46:1",
"nodeType": "YulAssignment",
"src": "972:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "983:3:1",
"nodeType": "YulIdentifier",
"src": "983:3:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "1010:6:1",
"nodeType": "YulIdentifier",
"src": "1010:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "988:21:1",
"nodeType": "YulIdentifier",
"src": "988:21:1"
},
"nativeSrc": "988:29:1",
"nodeType": "YulFunctionCall",
"src": "988:29:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "979:3:1",
"nodeType": "YulIdentifier",
"src": "979:3:1"
},
"nativeSrc": "979:39:1",
"nodeType": "YulFunctionCall",
"src": "979:39:1"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "972:3:1",
"nodeType": "YulIdentifier",
"src": "972:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nativeSrc": "647:377:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "720:5:1",
"nodeType": "YulTypedName",
"src": "720:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "727:3:1",
"nodeType": "YulTypedName",
"src": "727:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "735:3:1",
"nodeType": "YulTypedName",
"src": "735:3:1",
"type": ""
}
],
"src": "647:377:1"
},
{
"body": {
"nativeSrc": "1148:195:1",
"nodeType": "YulBlock",
"src": "1148:195:1",
"statements": [
{
"nativeSrc": "1158:26:1",
"nodeType": "YulAssignment",
"src": "1158:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "1170:9:1",
"nodeType": "YulIdentifier",
"src": "1170:9:1"
},
{
"kind": "number",
"nativeSrc": "1181:2:1",
"nodeType": "YulLiteral",
"src": "1181:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1166:3:1",
"nodeType": "YulIdentifier",
"src": "1166:3:1"
},
"nativeSrc": "1166:18:1",
"nodeType": "YulFunctionCall",
"src": "1166:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "1158:4:1",
"nodeType": "YulIdentifier",
"src": "1158:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "1205:9:1",
"nodeType": "YulIdentifier",
"src": "1205:9:1"
},
{
"kind": "number",
"nativeSrc": "1216:1:1",
"nodeType": "YulLiteral",
"src": "1216:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1201:3:1",
"nodeType": "YulIdentifier",
"src": "1201:3:1"
},
"nativeSrc": "1201:17:1",
"nodeType": "YulFunctionCall",
"src": "1201:17:1"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "1224:4:1",
"nodeType": "YulIdentifier",
"src": "1224:4:1"
},
{
"name": "headStart",
"nativeSrc": "1230:9:1",
"nodeType": "YulIdentifier",
"src": "1230:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "1220:3:1",
"nodeType": "YulIdentifier",
"src": "1220:3:1"
},
"nativeSrc": "1220:20:1",
"nodeType": "YulFunctionCall",
"src": "1220:20:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1194:6:1",
"nodeType": "YulIdentifier",
"src": "1194:6:1"
},
"nativeSrc": "1194:47:1",
"nodeType": "YulFunctionCall",
"src": "1194:47:1"
},
"nativeSrc": "1194:47:1",
"nodeType": "YulExpressionStatement",
"src": "1194:47:1"
},
{
"nativeSrc": "1250:86:1",
"nodeType": "YulAssignment",
"src": "1250:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nativeSrc": "1322:6:1",
"nodeType": "YulIdentifier",
"src": "1322:6:1"
},
{
"name": "tail",
"nativeSrc": "1331:4:1",
"nodeType": "YulIdentifier",
"src": "1331:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nativeSrc": "1258:63:1",
"nodeType": "YulIdentifier",
"src": "1258:63:1"
},
"nativeSrc": "1258:78:1",
"nodeType": "YulFunctionCall",
"src": "1258:78:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "1250:4:1",
"nodeType": "YulIdentifier",
"src": "1250:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nativeSrc": "1030:313:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "1120:9:1",
"nodeType": "YulTypedName",
"src": "1120:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "1132:6:1",
"nodeType": "YulTypedName",
"src": "1132:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "1143:4:1",
"nodeType": "YulTypedName",
"src": "1143:4:1",
"type": ""
}
],
"src": "1030:313:1"
},
{
"body": {
"nativeSrc": "1389:35:1",
"nodeType": "YulBlock",
"src": "1389:35:1",
"statements": [
{
"nativeSrc": "1399:19:1",
"nodeType": "YulAssignment",
"src": "1399:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1415:2:1",
"nodeType": "YulLiteral",
"src": "1415:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "1409:5:1",
"nodeType": "YulIdentifier",
"src": "1409:5:1"
},
"nativeSrc": "1409:9:1",
"nodeType": "YulFunctionCall",
"src": "1409:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "1399:6:1",
"nodeType": "YulIdentifier",
"src": "1399:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nativeSrc": "1349:75:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "1382:6:1",
"nodeType": "YulTypedName",
"src": "1382:6:1",
"type": ""
}
],
"src": "1349:75:1"
},
{
"body": {
"nativeSrc": "1519:28:1",
"nodeType": "YulBlock",
"src": "1519:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1536:1:1",
"nodeType": "YulLiteral",
"src": "1536:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1539:1:1",
"nodeType": "YulLiteral",
"src": "1539:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1529:6:1",
"nodeType": "YulIdentifier",
"src": "1529:6:1"
},
"nativeSrc": "1529:12:1",
"nodeType": "YulFunctionCall",
"src": "1529:12:1"
},
"nativeSrc": "1529:12:1",
"nodeType": "YulExpressionStatement",
"src": "1529:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "1430:117:1",
"nodeType": "YulFunctionDefinition",
"src": "1430:117:1"
},
{
"body": {
"nativeSrc": "1642:28:1",
"nodeType": "YulBlock",
"src": "1642:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1659:1:1",
"nodeType": "YulLiteral",
"src": "1659:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1662:1:1",
"nodeType": "YulLiteral",
"src": "1662:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1652:6:1",
"nodeType": "YulIdentifier",
"src": "1652:6:1"
},
"nativeSrc": "1652:12:1",
"nodeType": "YulFunctionCall",
"src": "1652:12:1"
},
"nativeSrc": "1652:12:1",
"nodeType": "YulExpressionStatement",
"src": "1652:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "1553:117:1",
"nodeType": "YulFunctionDefinition",
"src": "1553:117:1"
},
{
"body": {
"nativeSrc": "1721:32:1",
"nodeType": "YulBlock",
"src": "1721:32:1",
"statements": [
{
"nativeSrc": "1731:16:1",
"nodeType": "YulAssignment",
"src": "1731:16:1",
"value": {
"name": "value",
"nativeSrc": "1742:5:1",
"nodeType": "YulIdentifier",
"src": "1742:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1731:7:1",
"nodeType": "YulIdentifier",
"src": "1731:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nativeSrc": "1676:77:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1703:5:1",
"nodeType": "YulTypedName",
"src": "1703:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1713:7:1",
"nodeType": "YulTypedName",
"src": "1713:7:1",
"type": ""
}
],
"src": "1676:77:1"
},
{
"body": {
"nativeSrc": "1802:79:1",
"nodeType": "YulBlock",
"src": "1802:79:1",
"statements": [
{
"body": {
"nativeSrc": "1859:16:1",
"nodeType": "YulBlock",
"src": "1859:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1868:1:1",
"nodeType": "YulLiteral",
"src": "1868:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1871:1:1",
"nodeType": "YulLiteral",
"src": "1871:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1861:6:1",
"nodeType": "YulIdentifier",
"src": "1861:6:1"
},
"nativeSrc": "1861:12:1",
"nodeType": "YulFunctionCall",
"src": "1861:12:1"
},
"nativeSrc": "1861:12:1",
"nodeType": "YulExpressionStatement",
"src": "1861:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1825:5:1",
"nodeType": "YulIdentifier",
"src": "1825:5:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "1850:5:1",
"nodeType": "YulIdentifier",
"src": "1850:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "1832:17:1",
"nodeType": "YulIdentifier",
"src": "1832:17:1"
},
"nativeSrc": "1832:24:1",
"nodeType": "YulFunctionCall",
"src": "1832:24:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "1822:2:1",
"nodeType": "YulIdentifier",
"src": "1822:2:1"
},
"nativeSrc": "1822:35:1",
"nodeType": "YulFunctionCall",
"src": "1822:35:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "1815:6:1",
"nodeType": "YulIdentifier",
"src": "1815:6:1"
},
"nativeSrc": "1815:43:1",
"nodeType": "YulFunctionCall",
"src": "1815:43:1"
},
"nativeSrc": "1812:63:1",
"nodeType": "YulIf",
"src": "1812:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nativeSrc": "1759:122:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1795:5:1",
"nodeType": "YulTypedName",
"src": "1795:5:1",
"type": ""
}
],
"src": "1759:122:1"
},
{
"body": {
"nativeSrc": "1939:87:1",
"nodeType": "YulBlock",
"src": "1939:87:1",
"statements": [
{
"nativeSrc": "1949:29:1",
"nodeType": "YulAssignment",
"src": "1949:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "1971:6:1",
"nodeType": "YulIdentifier",
"src": "1971:6:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "1958:12:1",
"nodeType": "YulIdentifier",
"src": "1958:12:1"
},
"nativeSrc": "1958:20:1",
"nodeType": "YulFunctionCall",
"src": "1958:20:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "1949:5:1",
"nodeType": "YulIdentifier",
"src": "1949:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "2014:5:1",
"nodeType": "YulIdentifier",
"src": "2014:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nativeSrc": "1987:26:1",
"nodeType": "YulIdentifier",
"src": "1987:26:1"
},
"nativeSrc": "1987:33:1",
"nodeType": "YulFunctionCall",
"src": "1987:33:1"
},
"nativeSrc": "1987:33:1",
"nodeType": "YulExpressionStatement",
"src": "1987:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nativeSrc": "1887:139:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "1917:6:1",
"nodeType": "YulTypedName",
"src": "1917:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "1925:3:1",
"nodeType": "YulTypedName",
"src": "1925:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "1933:5:1",
"nodeType": "YulTypedName",
"src": "1933:5:1",
"type": ""
}
],
"src": "1887:139:1"
},
{
"body": {
"nativeSrc": "2098:263:1",
"nodeType": "YulBlock",
"src": "2098:263:1",
"statements": [
{
"body": {
"nativeSrc": "2144:83:1",
"nodeType": "YulBlock",
"src": "2144:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "2146:77:1",
"nodeType": "YulIdentifier",
"src": "2146:77:1"
},
"nativeSrc": "2146:79:1",
"nodeType": "YulFunctionCall",
"src": "2146:79:1"
},
"nativeSrc": "2146:79:1",
"nodeType": "YulExpressionStatement",
"src": "2146:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "2119:7:1",
"nodeType": "YulIdentifier",
"src": "2119:7:1"
},
{
"name": "headStart",
"nativeSrc": "2128:9:1",
"nodeType": "YulIdentifier",
"src": "2128:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "2115:3:1",
"nodeType": "YulIdentifier",
"src": "2115:3:1"
},
"nativeSrc": "2115:23:1",
"nodeType": "YulFunctionCall",
"src": "2115:23:1"
},
{
"kind": "number",
"nativeSrc": "2140:2:1",
"nodeType": "YulLiteral",
"src": "2140:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "2111:3:1",
"nodeType": "YulIdentifier",
"src": "2111:3:1"
},
"nativeSrc": "2111:32:1",
"nodeType": "YulFunctionCall",
"src": "2111:32:1"
},
"nativeSrc": "2108:119:1",
"nodeType": "YulIf",
"src": "2108:119:1"
},
{
"nativeSrc": "2237:117:1",
"nodeType": "YulBlock",
"src": "2237:117:1",
"statements": [
{
"nativeSrc": "2252:15:1",
"nodeType": "YulVariableDeclaration",
"src": "2252:15:1",
"value": {
"kind": "number",
"nativeSrc": "2266:1:1",
"nodeType": "YulLiteral",
"src": "2266:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "2256:6:1",
"nodeType": "YulTypedName",
"src": "2256:6:1",
"type": ""
}
]
},
{
"nativeSrc": "2281:63:1",
"nodeType": "YulAssignment",
"src": "2281:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "2316:9:1",
"nodeType": "YulIdentifier",
"src": "2316:9:1"
},
{
"name": "offset",
"nativeSrc": "2327:6:1",
"nodeType": "YulIdentifier",
"src": "2327:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2312:3:1",
"nodeType": "YulIdentifier",
"src": "2312:3:1"
},
"nativeSrc": "2312:22:1",
"nodeType": "YulFunctionCall",
"src": "2312:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "2336:7:1",
"nodeType": "YulIdentifier",
"src": "2336:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "2291:20:1",
"nodeType": "YulIdentifier",
"src": "2291:20:1"
},
"nativeSrc": "2291:53:1",
"nodeType": "YulFunctionCall",
"src": "2291:53:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "2281:6:1",
"nodeType": "YulIdentifier",
"src": "2281:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nativeSrc": "2032:329:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "2068:9:1",
"nodeType": "YulTypedName",
"src": "2068:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "2079:7:1",
"nodeType": "YulTypedName",
"src": "2079:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "2091:6:1",
"nodeType": "YulTypedName",
"src": "2091:6:1",
"type": ""
}
],
"src": "2032:329:1"
},
{
"body": {
"nativeSrc": "2432:53:1",
"nodeType": "YulBlock",
"src": "2432:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "2449:3:1",
"nodeType": "YulIdentifier",
"src": "2449:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "2472:5:1",
"nodeType": "YulIdentifier",
"src": "2472:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "2454:17:1",
"nodeType": "YulIdentifier",
"src": "2454:17:1"
},
"nativeSrc": "2454:24:1",
"nodeType": "YulFunctionCall",
"src": "2454:24:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2442:6:1",
"nodeType": "YulIdentifier",
"src": "2442:6:1"
},
"nativeSrc": "2442:37:1",
"nodeType": "YulFunctionCall",
"src": "2442:37:1"
},
"nativeSrc": "2442:37:1",
"nodeType": "YulExpressionStatement",
"src": "2442:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "2367:118:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "2420:5:1",
"nodeType": "YulTypedName",
"src": "2420:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "2427:3:1",
"nodeType": "YulTypedName",
"src": "2427:3:1",
"type": ""
}
],
"src": "2367:118:1"
},
{
"body": {
"nativeSrc": "2589:124:1",
"nodeType": "YulBlock",
"src": "2589:124:1",
"statements": [
{
"nativeSrc": "2599:26:1",
"nodeType": "YulAssignment",
"src": "2599:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "2611:9:1",
"nodeType": "YulIdentifier",
"src": "2611:9:1"
},
{
"kind": "number",
"nativeSrc": "2622:2:1",
"nodeType": "YulLiteral",
"src": "2622:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2607:3:1",
"nodeType": "YulIdentifier",
"src": "2607:3:1"
},
"nativeSrc": "2607:18:1",
"nodeType": "YulFunctionCall",
"src": "2607:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "2599:4:1",
"nodeType": "YulIdentifier",
"src": "2599:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "2679:6:1",
"nodeType": "YulIdentifier",
"src": "2679:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "2692:9:1",
"nodeType": "YulIdentifier",
"src": "2692:9:1"
},
{
"kind": "number",
"nativeSrc": "2703:1:1",
"nodeType": "YulLiteral",
"src": "2703:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2688:3:1",
"nodeType": "YulIdentifier",
"src": "2688:3:1"
},
"nativeSrc": "2688:17:1",
"nodeType": "YulFunctionCall",
"src": "2688:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "2635:43:1",
"nodeType": "YulIdentifier",
"src": "2635:43:1"
},
"nativeSrc": "2635:71:1",
"nodeType": "YulFunctionCall",
"src": "2635:71:1"
},
"nativeSrc": "2635:71:1",
"nodeType": "YulExpressionStatement",
"src": "2635:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nativeSrc": "2491:222:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "2561:9:1",
"nodeType": "YulTypedName",
"src": "2561:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "2573:6:1",
"nodeType": "YulTypedName",
"src": "2573:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "2584:4:1",
"nodeType": "YulTypedName",
"src": "2584:4:1",
"type": ""
}
],
"src": "2491:222:1"
},
{
"body": {
"nativeSrc": "2747:152:1",
"nodeType": "YulBlock",
"src": "2747:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2764:1:1",
"nodeType": "YulLiteral",
"src": "2764:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2767:77:1",
"nodeType": "YulLiteral",
"src": "2767:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2757:6:1",
"nodeType": "YulIdentifier",
"src": "2757:6:1"
},
"nativeSrc": "2757:88:1",
"nodeType": "YulFunctionCall",
"src": "2757:88:1"
},
"nativeSrc": "2757:88:1",
"nodeType": "YulExpressionStatement",
"src": "2757:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2861:1:1",
"nodeType": "YulLiteral",
"src": "2861:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "2864:4:1",
"nodeType": "YulLiteral",
"src": "2864:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2854:6:1",
"nodeType": "YulIdentifier",
"src": "2854:6:1"
},
"nativeSrc": "2854:15:1",
"nodeType": "YulFunctionCall",
"src": "2854:15:1"
},
"nativeSrc": "2854:15:1",
"nodeType": "YulExpressionStatement",
"src": "2854:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2885:1:1",
"nodeType": "YulLiteral",
"src": "2885:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2888:4:1",
"nodeType": "YulLiteral",
"src": "2888:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "2878:6:1",
"nodeType": "YulIdentifier",
"src": "2878:6:1"
},
"nativeSrc": "2878:15:1",
"nodeType": "YulFunctionCall",
"src": "2878:15:1"
},
"nativeSrc": "2878:15:1",
"nodeType": "YulExpressionStatement",
"src": "2878:15:1"
}
]
},
"name": "panic_error_0x22",
"nativeSrc": "2719:180:1",
"nodeType": "YulFunctionDefinition",
"src": "2719:180:1"
},
{
"body": {
"nativeSrc": "2956:269:1",
"nodeType": "YulBlock",
"src": "2956:269:1",
"statements": [
{
"nativeSrc": "2966:22:1",
"nodeType": "YulAssignment",
"src": "2966:22:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "2980:4:1",
"nodeType": "YulIdentifier",
"src": "2980:4:1"
},
{
"kind": "number",
"nativeSrc": "2986:1:1",
"nodeType": "YulLiteral",
"src": "2986:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nativeSrc": "2976:3:1",
"nodeType": "YulIdentifier",
"src": "2976:3:1"
},
"nativeSrc": "2976:12:1",
"nodeType": "YulFunctionCall",
"src": "2976:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "2966:6:1",
"nodeType": "YulIdentifier",
"src": "2966:6:1"
}
]
},
{
"nativeSrc": "2997:38:1",
"nodeType": "YulVariableDeclaration",
"src": "2997:38:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "3027:4:1",
"nodeType": "YulIdentifier",
"src": "3027:4:1"
},
{
"kind": "number",
"nativeSrc": "3033:1:1",
"nodeType": "YulLiteral",
"src": "3033:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "3023:3:1",
"nodeType": "YulIdentifier",
"src": "3023:3:1"
},
"nativeSrc": "3023:12:1",
"nodeType": "YulFunctionCall",
"src": "3023:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "3001:18:1",
"nodeType": "YulTypedName",
"src": "3001:18:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "3074:51:1",
"nodeType": "YulBlock",
"src": "3074:51:1",
"statements": [
{
"nativeSrc": "3088:27:1",
"nodeType": "YulAssignment",
"src": "3088:27:1",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "3102:6:1",
"nodeType": "YulIdentifier",
"src": "3102:6:1"
},
{
"kind": "number",
"nativeSrc": "3110:4:1",
"nodeType": "YulLiteral",
"src": "3110:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "3098:3:1",
"nodeType": "YulIdentifier",
"src": "3098:3:1"
},
"nativeSrc": "3098:17:1",
"nodeType": "YulFunctionCall",
"src": "3098:17:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "3088:6:1",
"nodeType": "YulIdentifier",
"src": "3088:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "3054:18:1",
"nodeType": "YulIdentifier",
"src": "3054:18:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "3047:6:1",
"nodeType": "YulIdentifier",
"src": "3047:6:1"
},
"nativeSrc": "3047:26:1",
"nodeType": "YulFunctionCall",
"src": "3047:26:1"
},
"nativeSrc": "3044:81:1",
"nodeType": "YulIf",
"src": "3044:81:1"
},
{
"body": {
"nativeSrc": "3177:42:1",
"nodeType": "YulBlock",
"src": "3177:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nativeSrc": "3191:16:1",
"nodeType": "YulIdentifier",
"src": "3191:16:1"
},
"nativeSrc": "3191:18:1",
"nodeType": "YulFunctionCall",
"src": "3191:18:1"
},
"nativeSrc": "3191:18:1",
"nodeType": "YulExpressionStatement",
"src": "3191:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "3141:18:1",
"nodeType": "YulIdentifier",
"src": "3141:18:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "3164:6:1",
"nodeType": "YulIdentifier",
"src": "3164:6:1"
},
{
"kind": "number",
"nativeSrc": "3172:2:1",
"nodeType": "YulLiteral",
"src": "3172:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "3161:2:1",
"nodeType": "YulIdentifier",
"src": "3161:2:1"
},
"nativeSrc": "3161:14:1",
"nodeType": "YulFunctionCall",
"src": "3161:14:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "3138:2:1",
"nodeType": "YulIdentifier",
"src": "3138:2:1"
},
"nativeSrc": "3138:38:1",
"nodeType": "YulFunctionCall",
"src": "3138:38:1"
},
"nativeSrc": "3135:84:1",
"nodeType": "YulIf",
"src": "3135:84:1"
}
]
},
"name": "extract_byte_array_length",
"nativeSrc": "2905:320:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "2940:4:1",
"nodeType": "YulTypedName",
"src": "2940:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "2949:6:1",
"nodeType": "YulTypedName",
"src": "2949:6:1",
"type": ""
}
],
"src": "2905:320:1"
}
]
},
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 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 abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_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_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function 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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561000f575f80fd5b506004361061004a575f3560e01c80632f2f48591461004e57806360fe47b11461006c5780636d4ce63c14610088578063c6b91540146100a6575b5f80fd5b6100566100c4565b60405161006391906101f2565b60405180910390f35b61008660048036038101906100819190610249565b61014f565b005b610090610159565b60405161009d9190610283565b60405180910390f35b6100ae610162565b6040516100bb9190610283565b60405180910390f35b5f80546100d0906102c9565b80601f01602080910402602001604051908101604052809291908181526020018280546100fc906102c9565b80156101475780601f1061011e57610100808354040283529160200191610147565b820191905f5260205f20905b81548152906001019060200180831161012a57829003601f168201915b505050505081565b8060018190555050565b5f600154905090565b60015481565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561019f578082015181840152602081019050610184565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6101c482610168565b6101ce8185610172565b93506101de818560208601610182565b6101e7816101aa565b840191505092915050565b5f6020820190508181035f83015261020a81846101ba565b905092915050565b5f80fd5b5f819050919050565b61022881610216565b8114610232575f80fd5b50565b5f813590506102438161021f565b92915050565b5f6020828403121561025e5761025d610212565b5b5f61026b84828501610235565b91505092915050565b61027d81610216565b82525050565b5f6020820190506102965f830184610274565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806102e057607f821691505b6020821081036102f3576102f261029c565b5b5091905056fea2646970667358221220454e927935d1b200da6cd8d9155c1c3c554711e28bc3cefc5da95f538df7ba6d64736f6c63430008160033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4A JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2F2F4859 EQ PUSH2 0x4E JUMPI DUP1 PUSH4 0x60FE47B1 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x6D4CE63C EQ PUSH2 0x88 JUMPI DUP1 PUSH4 0xC6B91540 EQ PUSH2 0xA6 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x56 PUSH2 0xC4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x63 SWAP2 SWAP1 PUSH2 0x1F2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x86 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x81 SWAP2 SWAP1 PUSH2 0x249 JUMP JUMPDEST PUSH2 0x14F JUMP JUMPDEST STOP JUMPDEST PUSH2 0x90 PUSH2 0x159 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x9D SWAP2 SWAP1 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xAE PUSH2 0x162 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBB SWAP2 SWAP1 PUSH2 0x283 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH0 DUP1 SLOAD PUSH2 0xD0 SWAP1 PUSH2 0x2C9 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV 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 PUSH2 0xFC SWAP1 PUSH2 0x2C9 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x147 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x11E JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x147 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x12A JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST DUP1 PUSH1 0x1 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x19F JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x184 JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x1C4 DUP3 PUSH2 0x168 JUMP JUMPDEST PUSH2 0x1CE DUP2 DUP6 PUSH2 0x172 JUMP JUMPDEST SWAP4 POP PUSH2 0x1DE DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x182 JUMP JUMPDEST PUSH2 0x1E7 DUP2 PUSH2 0x1AA JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x20A DUP2 DUP5 PUSH2 0x1BA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x228 DUP2 PUSH2 0x216 JUMP JUMPDEST DUP2 EQ PUSH2 0x232 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x243 DUP2 PUSH2 0x21F JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x25E JUMPI PUSH2 0x25D PUSH2 0x212 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x26B DUP5 DUP3 DUP6 ADD PUSH2 0x235 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x27D DUP2 PUSH2 0x216 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x296 PUSH0 DUP4 ADD DUP5 PUSH2 0x274 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x2E0 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x2F3 JUMPI PUSH2 0x2F2 PUSH2 0x29C JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 GASLIMIT 0x4E SWAP3 PUSH26 0x35D1B200DA6CD8D9155C1C3C554711E28BC3CEFC5DA95F538DF7 0xBA PUSH14 0x64736F6C63430008160033000000 ",
"sourceMap": "58:229:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84:40;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;231:54;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;155:70;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131:17;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;84:40;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;231:54::-;277:1;269:5;:9;;;;231:54;:::o;155:70::-;191:4;213:5;;206:12;;155:70;:::o;131:17::-;;;;:::o;7:99:1:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1430:117::-;1539:1;1536;1529:12;1676:77;1713:7;1742:5;1731:16;;1676:77;;;:::o;1759:122::-;1832:24;1850:5;1832:24;:::i;:::-;1825:5;1822:35;1812:63;;1871:1;1868;1861:12;1812:63;1759:122;:::o;1887:139::-;1933:5;1971:6;1958:20;1949:29;;1987:33;2014:5;1987:33;:::i;:::-;1887:139;;;;:::o;2032:329::-;2091:6;2140:2;2128:9;2119:7;2115:23;2111:32;2108:119;;;2146:79;;:::i;:::-;2108:119;2266:1;2291:53;2336:7;2327:6;2316:9;2312:22;2291:53;:::i;:::-;2281:63;;2237:117;2032:329;;;;:::o;2367:118::-;2454:24;2472:5;2454:24;:::i;:::-;2449:3;2442:37;2367:118;;:::o;2491:222::-;2584:4;2622:2;2611:9;2607:18;2599:26;;2635:71;2703:1;2692:9;2688:17;2679:6;2635:71;:::i;:::-;2491:222;;;;:::o;2719:180::-;2767:77;2764:1;2757:88;2864:4;2861:1;2854:15;2888:4;2885:1;2878:15;2905:320;2949:6;2986:1;2980:4;2976:12;2966:22;;3033:1;3027:4;3023:12;3054:18;3044:81;;3110:4;3102:6;3098:17;3088:27;;3044:81;3172:2;3164:6;3161:14;3141:18;3138:38;3135:84;;3191:18;;:::i;:::-;3135:84;2956:269;2905:320;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "163000",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"get()": "2454",
"helloworld()": "infinite",
"myVar()": "2469",
"set(uint256)": "22515"
}
},
"methodIdentifiers": {
"get()": "6d4ce63c",
"helloworld()": "2f2f4859",
"myVar()": "c6b91540",
"set(uint256)": "60fe47b1"
}
},
"abi": [
{
"inputs": [],
"name": "get",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "helloworld",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "myVar",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
}
],
"name": "set",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.22+commit.4fc1097e"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "get",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "helloworld",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "myVar",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "x",
"type": "uint256"
}
],
"name": "set",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"HelloWorld.sol": "HelloWorld"
},
"evmVersion": "shanghai",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"HelloWorld.sol": {
"keccak256": "0xe21d1a516883078731d5405f26734bf0101e6f86eed25ba37c0e132b666ec844",
"license": "MIT",
"urls": [
"bzz-raw://963af3d3d6cac77566b89a1565fdf9b5a67800c998228c0eae3f1629cd315ba9",
"dweb:/ipfs/QmNiEcs3nLMnNRv5CkAs2bCu7URM3xfeH3BNnKYH2RNiRY"
]
}
},
"version": 1
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.2 <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.12;
contract HelloWorld {
string public helloworld = "HelloWorld!";
uint public myVar;
function get() public view returns (uint){
return myVar;
}
function set(uint x ) public{
myVar = x;
}
}
// This script can be used to deploy the "Storage" contract using ethers.js library.
// Please make sure to compile "./contracts/1_Storage.sol" file before running this script.
// And use Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
import { deploy } from './ethers-lib'
(async () => {
try {
const result = await deploy('Storage', [])
console.log(`address: ${result.address}`)
} catch (e) {
console.log(e.message)
}
})()
// This script can be used to deploy the "Storage" contract using Web3 library.
// Please make sure to compile "./contracts/1_Storage.sol" file before running this script.
// And use Right click -> "Run" from context menu of the file to run the script. Shortcut: Ctrl+Shift+S
import { deploy } from './web3-lib'
(async () => {
try {
const result = await deploy('Storage', [])
console.log(`address: ${result.address}`)
} catch (e) {
console.log(e.message)
}
})()
import { ethers } from 'ethers'
/**
* Deploy the given contract
* @param {string} contractName name of the contract to deploy
* @param {Array<any>} args list of constructor' parameters
* @param {Number} accountIndex account index from the exposed account
* @return {Contract} deployed contract
*/
export const deploy = async (contractName: string, args: Array<any>, accountIndex?: number): Promise<ethers.Contract> => {
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json` // Change this for different path
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
// 'web3Provider' is a remix global variable object
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner(accountIndex)
const factory = new ethers.ContractFactory(metadata.abi, metadata.data.bytecode.object, signer)
const contract = await factory.deploy(...args)
// The contract is NOT deployed yet; we must wait until it is mined
await contract.deployed()
return contract
}
import Web3 from 'web3'
import { Contract, ContractSendMethod, Options } from 'web3-eth-contract'
/**
* Deploy the given contract
* @param {string} contractName name of the contract to deploy
* @param {Array<any>} args list of constructor' parameters
* @param {string} from account used to send the transaction
* @param {number} gas gas limit
* @return {Options} deployed contract
*/
export const deploy = async (contractName: string, args: Array<any>, from?: string, gas?: number): Promise<Options> => {
const web3 = new Web3(web3Provider)
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated
const artifactsPath = `browser/contracts/artifacts/${contractName}.json`
const metadata = JSON.parse(await remix.call('fileManager', 'getFile', artifactsPath))
const accounts = await web3.eth.getAccounts()
const contract: Contract = new web3.eth.Contract(metadata.abi)
const contractSend: ContractSendMethod = contract.deploy({
data: metadata.data.bytecode.object,
arguments: args
})
const newContractInstance = await contractSend.send({
from: from || accounts[0],
gas: gas || 1500000
})
return newContractInstance.options
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "hardhat/console.sol";
import "../contracts/3_Ballot.sol";
contract BallotTest {
bytes32[] proposalNames;
Ballot ballotToTest;
function beforeAll () public {
proposalNames.push(bytes32("candidate1"));
ballotToTest = new Ballot(proposalNames);
}
function checkWinningProposal () public {
console.log("Running checkWinningProposal");
ballotToTest.vote(0);
Assert.equal(ballotToTest.winningProposal(), uint(0), "proposal at index 0 should be the winning proposal");
Assert.equal(ballotToTest.winnerName(), bytes32("candidate1"), "candidate1 should be the winner name");
}
function checkWinninProposalWithReturnValue () public view returns (bool) {
return ballotToTest.winningProposal() == 0;
}
}
// Right click on the script name and hit "Run" to execute
const { expect } = require("chai");
const { ethers } = require("hardhat");
describe("Storage", function () {
it("test initial value", async function () {
const Storage = await ethers.getContractFactory("Storage");
const storage = await Storage.deploy();
await storage.deployed();
console.log('storage deployed at:'+ storage.address)
expect((await storage.retrieve()).toNumber()).to.equal(0);
});
it("test updating and retrieving updated value", async function () {
const Storage = await ethers.getContractFactory("Storage");
const storage = await Storage.deploy();
await storage.deployed();
const storage2 = await ethers.getContractAt("Storage", storage.address);
const setValue = await storage2.store(56);
await setValue.wait();
expect((await storage2.retrieve()).toNumber()).to.equal(56);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment