Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save auryn-macmillan/2da2c3c06e289b42136d8ba6cb6fef65 to your computer and use it in GitHub Desktop.
Save auryn-macmillan/2da2c3c06e289b42136d8ba6cb6fef65 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
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
/// @custom:storage-location erc7201:openzeppelin.storage.Ownable
struct OwnableStorage {
address _owner;
}
// keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable")) - 1)) & ~bytes32(uint256(0xff))
bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;
function _getOwnableStorage() private pure returns (OwnableStorage storage $) {
assembly {
$.slot := OwnableStorageLocation
}
}
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
function __Ownable_init(address initialOwner) internal onlyInitializing {
__Ownable_init_unchained(initialOwner);
}
function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
OwnableStorage storage $ = _getOwnableStorage();
return $._owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
OwnableStorage storage $ = _getOwnableStorage();
address oldOwner = $._owner;
$._owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.20;
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
* case an upgrade adds a module that needs to be initialized.
*
* For example:
*
* [.hljs-theme-light.nopadding]
* ```solidity
* contract MyToken is ERC20Upgradeable {
* function initialize() initializer public {
* __ERC20_init("MyToken", "MTK");
* }
* }
*
* contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
* function initializeV2() reinitializer(2) public {
* __ERC20Permit_init("MyToken");
* }
* }
* ```
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*
* [CAUTION]
* ====
* Avoid leaving a contract uninitialized.
*
* An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
* the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() {
* _disableInitializers();
* }
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Storage of the initializable contract.
*
* It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions
* when using with upgradeable contracts.
*
* @custom:storage-location erc7201:openzeppelin.storage.Initializable
*/
struct InitializableStorage {
/**
* @dev Indicates that the contract has been initialized.
*/
uint64 _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool _initializing;
}
// keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;
/**
* @dev The contract is already initialized.
*/
error InvalidInitialization();
/**
* @dev The contract is not initializing.
*/
error NotInitializing();
/**
* @dev Triggered when the contract has been initialized or reinitialized.
*/
event Initialized(uint64 version);
/**
* @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
* `onlyInitializing` functions can be used to initialize parent contracts.
*
* Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any
* number of times. This behavior in the constructor can be useful during testing and is not expected to be used in
* production.
*
* Emits an {Initialized} event.
*/
modifier initializer() {
// solhint-disable-next-line var-name-mixedcase
InitializableStorage storage $ = _getInitializableStorage();
// Cache values to avoid duplicated sloads
bool isTopLevelCall = !$._initializing;
uint64 initialized = $._initialized;
// Allowed calls:
// - initialSetup: the contract is not in the initializing state and no previous version was
// initialized
// - construction: the contract is initialized at version 1 (no reininitialization) and the
// current contract is just being deployed
bool initialSetup = initialized == 0 && isTopLevelCall;
bool construction = initialized == 1 && address(this).code.length == 0;
if (!initialSetup && !construction) {
revert InvalidInitialization();
}
$._initialized = 1;
if (isTopLevelCall) {
$._initializing = true;
}
_;
if (isTopLevelCall) {
$._initializing = false;
emit Initialized(1);
}
}
/**
* @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
* contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
* used to initialize parent contracts.
*
* A reinitializer may be used after the original initialization step. This is essential to configure modules that
* are added through upgrades and that require initialization.
*
* When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
* cannot be nested. If one is invoked in the context of another, execution will revert.
*
* Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
* a contract, executing them in the right order is up to the developer or operator.
*
* WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.
*
* Emits an {Initialized} event.
*/
modifier reinitializer(uint64 version) {
// solhint-disable-next-line var-name-mixedcase
InitializableStorage storage $ = _getInitializableStorage();
if ($._initializing || $._initialized >= version) {
revert InvalidInitialization();
}
$._initialized = version;
$._initializing = true;
_;
$._initializing = false;
emit Initialized(version);
}
/**
* @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
* {initializer} and {reinitializer} modifiers, directly or indirectly.
*/
modifier onlyInitializing() {
_checkInitializing();
_;
}
/**
* @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.
*/
function _checkInitializing() internal view virtual {
if (!_isInitializing()) {
revert NotInitializing();
}
}
/**
* @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
* Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
* to any version. It is recommended to use this to lock implementation contracts that are designed to be called
* through proxies.
*
* Emits an {Initialized} event the first time it is successfully executed.
*/
function _disableInitializers() internal virtual {
// solhint-disable-next-line var-name-mixedcase
InitializableStorage storage $ = _getInitializableStorage();
if ($._initializing) {
revert InvalidInitialization();
}
if ($._initialized != type(uint64).max) {
$._initialized = type(uint64).max;
emit Initialized(type(uint64).max);
}
}
/**
* @dev Returns the highest version that has been initialized. See {reinitializer}.
*/
function _getInitializedVersion() internal view returns (uint64) {
return _getInitializableStorage()._initialized;
}
/**
* @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
*/
function _isInitializing() internal view returns (bool) {
return _getInitializableStorage()._initializing;
}
/**
* @dev Returns a pointer to the storage namespace.
*/
// solhint-disable-next-line var-name-mixedcase
function _getInitializableStorage() private pure returns (InitializableStorage storage $) {
assembly {
$.slot := INITIALIZABLE_STORAGE
}
}
}
{
"id": "3bd276aa0656f4e03d265efa66f084eb",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.22",
"solcLongVersion": "0.8.22+commit.4fc1097e",
"input": {
"language": "Solidity",
"sources": {
".deps/npm/@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../../utils/introspection/IERC165Upgradeable.sol\";\n\n/**\n * @dev Required interface of an ERC1155 compliant contract, as defined in the\n * https://eips.ethereum.org/EIPS/eip-1155[EIP].\n *\n * _Available since v3.1._\n */\ninterface IERC1155Upgradeable is IERC165Upgradeable {\n /**\n * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.\n */\n event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\n\n /**\n * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\n * transfers.\n */\n event TransferBatch(\n address indexed operator,\n address indexed from,\n address indexed to,\n uint256[] ids,\n uint256[] values\n );\n\n /**\n * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\n * `approved`.\n */\n event ApprovalForAll(address indexed account, address indexed operator, bool approved);\n\n /**\n * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\n *\n * If an {URI} event was emitted for `id`, the standard\n * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\n * returned by {IERC1155MetadataURI-uri}.\n */\n event URI(string value, uint256 indexed id);\n\n /**\n * @dev Returns the amount of tokens of token type `id` owned by `account`.\n *\n * Requirements:\n *\n * - `account` cannot be the zero address.\n */\n function balanceOf(address account, uint256 id) external view returns (uint256);\n\n /**\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\n *\n * Requirements:\n *\n * - `accounts` and `ids` must have the same length.\n */\n function balanceOfBatch(\n address[] calldata accounts,\n uint256[] calldata ids\n ) external view returns (uint256[] memory);\n\n /**\n * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\n *\n * Emits an {ApprovalForAll} event.\n *\n * Requirements:\n *\n * - `operator` cannot be the caller.\n */\n function setApprovalForAll(address operator, bool approved) external;\n\n /**\n * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\n *\n * See {setApprovalForAll}.\n */\n function isApprovedForAll(address account, address operator) external view returns (bool);\n\n /**\n * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\n *\n * Emits a {TransferSingle} event.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.\n * - `from` must have a balance of tokens of type `id` of at least `amount`.\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\n * acceptance magic value.\n */\n function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;\n\n /**\n * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\n *\n * Emits a {TransferBatch} event.\n *\n * Requirements:\n *\n * - `ids` and `amounts` must have the same length.\n * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\n * acceptance magic value.\n */\n function safeBatchTransferFrom(\n address from,\n address to,\n uint256[] calldata ids,\n uint256[] calldata amounts,\n bytes calldata data\n ) external;\n}\n"
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165Upgradeable {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\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"
]
}
},
"remappings": []
}
},
"output": {
"contracts": {
".deps/npm/@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol": {
"IERC1155Upgradeable": {
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "ApprovalForAll",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
}
],
"name": "TransferBatch",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "TransferSingle",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "value",
"type": "string"
},
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "URI",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "accounts",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
}
],
"name": "balanceOfBatch",
"outputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "amounts",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeBatchTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Required interface of an ERC1155 compliant contract, as defined in the https://eips.ethereum.org/EIPS/eip-1155[EIP]. _Available since v3.1._",
"events": {
"ApprovalForAll(address,address,bool)": {
"details": "Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to `approved`."
},
"TransferBatch(address,address,address,uint256[],uint256[])": {
"details": "Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all transfers."
},
"TransferSingle(address,address,address,uint256,uint256)": {
"details": "Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`."
},
"URI(string,uint256)": {
"details": "Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. If an {URI} event was emitted for `id`, the standard https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value returned by {IERC1155MetadataURI-uri}."
}
},
"kind": "dev",
"methods": {
"balanceOf(address,uint256)": {
"details": "Returns the amount of tokens of token type `id` owned by `account`. Requirements: - `account` cannot be the zero address."
},
"balanceOfBatch(address[],uint256[])": {
"details": "xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. Requirements: - `accounts` and `ids` must have the same length."
},
"isApprovedForAll(address,address)": {
"details": "Returns true if `operator` is approved to transfer ``account``'s tokens. See {setApprovalForAll}."
},
"safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)": {
"details": "xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. Emits a {TransferBatch} event. Requirements: - `ids` and `amounts` must have the same length. - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value."
},
"safeTransferFrom(address,address,uint256,uint256,bytes)": {
"details": "Transfers `amount` tokens of token type `id` from `from` to `to`. Emits a {TransferSingle} event. Requirements: - `to` cannot be the zero address. - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. - `from` must have a balance of tokens of type `id` of at least `amount`. - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value."
},
"setApprovalForAll(address,bool)": {
"details": "Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, Emits an {ApprovalForAll} event. Requirements: - `operator` cannot be the caller."
},
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"balanceOf(address,uint256)": "00fdd58e",
"balanceOfBatch(address[],uint256[])": "4e1273f4",
"isApprovedForAll(address,address)": "e985e9c5",
"safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)": "2eb2c2d6",
"safeTransferFrom(address,address,uint256,uint256,bytes)": "f242432a",
"setApprovalForAll(address,bool)": "a22cb465",
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Required interface of an ERC1155 compliant contract, as defined in the https://eips.ethereum.org/EIPS/eip-1155[EIP]. _Available since v3.1._\",\"events\":{\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to `approved`.\"},\"TransferBatch(address,address,address,uint256[],uint256[])\":{\"details\":\"Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all transfers.\"},\"TransferSingle(address,address,address,uint256,uint256)\":{\"details\":\"Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.\"},\"URI(string,uint256)\":{\"details\":\"Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. If an {URI} event was emitted for `id`, the standard https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value returned by {IERC1155MetadataURI-uri}.\"}},\"kind\":\"dev\",\"methods\":{\"balanceOf(address,uint256)\":{\"details\":\"Returns the amount of tokens of token type `id` owned by `account`. Requirements: - `account` cannot be the zero address.\"},\"balanceOfBatch(address[],uint256[])\":{\"details\":\"xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. Requirements: - `accounts` and `ids` must have the same length.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns true if `operator` is approved to transfer ``account``'s tokens. See {setApprovalForAll}.\"},\"safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)\":{\"details\":\"xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. Emits a {TransferBatch} event. Requirements: - `ids` and `amounts` must have the same length. - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value.\"},\"safeTransferFrom(address,address,uint256,uint256,bytes)\":{\"details\":\"Transfers `amount` tokens of token type `id` from `from` to `to`. Emits a {TransferSingle} event. Requirements: - `to` cannot be the zero address. - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. - `from` must have a balance of tokens of type `id` of at least `amount`. - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, Emits an {ApprovalForAll} event. Requirements: - `operator` cannot be the caller.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol\":\"IERC1155Upgradeable\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol\":{\"keccak256\":\"0xf51f292659a77777c0ed7375a39683d8bee53b86a6e7bd0c76f34ce7aa37a3a8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://32c68498e1b6013477d299e4881dcea818d7e4c3e3aba7a18bde3989b12dff83\",\"dweb:/ipfs/QmZzw1eHLQmDLfKbxVivEWUdae2BfTmjSg1aLowuLwScuZ\"]},\".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol\":{\"keccak256\":\"0xc6cef87559d0aeffdf0a99803de655938a7779ec0a3cd5d4383483ad85565a09\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://92ad7e572cf44e6b4b37631b44b62f9eb9fb1cf14d9ce51c1504d5dc7ccaf758\",\"dweb:/ipfs/QmcnbqX85tsWnUXPmtuPLE4SczME2sJaTfmqEFkuAJvWhy\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol": {
"IERC165Upgradeable": {
"abi": [
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.",
"kind": "dev",
"methods": {
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol\":\"IERC165Upgradeable\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol\":{\"keccak256\":\"0xc6cef87559d0aeffdf0a99803de655938a7779ec0a3cd5d4383483ad85565a09\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://92ad7e572cf44e6b4b37631b44b62f9eb9fb1cf14d9ce51c1504d5dc7ccaf758\",\"dweb:/ipfs/QmcnbqX85tsWnUXPmtuPLE4SczME2sJaTfmqEFkuAJvWhy\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
".deps/npm/@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol",
"exportedSymbols": {
"IERC1155Upgradeable": [
121
],
"IERC165Upgradeable": [
133
]
},
"id": 122,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "110:23:0"
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol",
"file": "../../utils/introspection/IERC165Upgradeable.sol",
"id": 2,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 122,
"sourceUnit": 134,
"src": "135:58:0",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"baseName": {
"id": 4,
"name": "IERC165Upgradeable",
"nameLocations": [
"394:18:0"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 133,
"src": "394:18:0"
},
"id": 5,
"nodeType": "InheritanceSpecifier",
"src": "394:18:0"
}
],
"canonicalName": "IERC1155Upgradeable",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 3,
"nodeType": "StructuredDocumentation",
"src": "195:165:0",
"text": " @dev Required interface of an ERC1155 compliant contract, as defined in the\n https://eips.ethereum.org/EIPS/eip-1155[EIP].\n _Available since v3.1._"
},
"fullyImplemented": false,
"id": 121,
"linearizedBaseContracts": [
121,
133
],
"name": "IERC1155Upgradeable",
"nameLocation": "371:19:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": {
"id": 6,
"nodeType": "StructuredDocumentation",
"src": "419:121:0",
"text": " @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`."
},
"eventSelector": "c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62",
"id": 18,
"name": "TransferSingle",
"nameLocation": "551:14:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 17,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 8,
"indexed": true,
"mutability": "mutable",
"name": "operator",
"nameLocation": "582:8:0",
"nodeType": "VariableDeclaration",
"scope": 18,
"src": "566:24:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "566:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 10,
"indexed": true,
"mutability": "mutable",
"name": "from",
"nameLocation": "608:4:0",
"nodeType": "VariableDeclaration",
"scope": 18,
"src": "592:20:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 9,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "592:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 12,
"indexed": true,
"mutability": "mutable",
"name": "to",
"nameLocation": "630:2:0",
"nodeType": "VariableDeclaration",
"scope": 18,
"src": "614:18:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 11,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "614:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 14,
"indexed": false,
"mutability": "mutable",
"name": "id",
"nameLocation": "642:2:0",
"nodeType": "VariableDeclaration",
"scope": 18,
"src": "634:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 13,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "634:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 16,
"indexed": false,
"mutability": "mutable",
"name": "value",
"nameLocation": "654:5:0",
"nodeType": "VariableDeclaration",
"scope": 18,
"src": "646:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 15,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "646:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "565:95:0"
},
"src": "545:116:0"
},
{
"anonymous": false,
"documentation": {
"id": 19,
"nodeType": "StructuredDocumentation",
"src": "667:144:0",
"text": " @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\n transfers."
},
"eventSelector": "4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb",
"id": 33,
"name": "TransferBatch",
"nameLocation": "822:13:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 32,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 21,
"indexed": true,
"mutability": "mutable",
"name": "operator",
"nameLocation": "861:8:0",
"nodeType": "VariableDeclaration",
"scope": 33,
"src": "845:24:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 20,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "845:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 23,
"indexed": true,
"mutability": "mutable",
"name": "from",
"nameLocation": "895:4:0",
"nodeType": "VariableDeclaration",
"scope": 33,
"src": "879:20:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 22,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "879:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25,
"indexed": true,
"mutability": "mutable",
"name": "to",
"nameLocation": "925:2:0",
"nodeType": "VariableDeclaration",
"scope": 33,
"src": "909:18:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 24,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "909:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 28,
"indexed": false,
"mutability": "mutable",
"name": "ids",
"nameLocation": "947:3:0",
"nodeType": "VariableDeclaration",
"scope": 33,
"src": "937:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 26,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "937:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 27,
"nodeType": "ArrayTypeName",
"src": "937:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 31,
"indexed": false,
"mutability": "mutable",
"name": "values",
"nameLocation": "970:6:0",
"nodeType": "VariableDeclaration",
"scope": 33,
"src": "960:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 29,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "960:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 30,
"nodeType": "ArrayTypeName",
"src": "960:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
}
],
"src": "835:147:0"
},
"src": "816:167:0"
},
{
"anonymous": false,
"documentation": {
"id": 34,
"nodeType": "StructuredDocumentation",
"src": "989:147:0",
"text": " @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\n `approved`."
},
"eventSelector": "17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31",
"id": 42,
"name": "ApprovalForAll",
"nameLocation": "1147:14:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 41,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 36,
"indexed": true,
"mutability": "mutable",
"name": "account",
"nameLocation": "1178:7:0",
"nodeType": "VariableDeclaration",
"scope": 42,
"src": "1162:23:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 35,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1162:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 38,
"indexed": true,
"mutability": "mutable",
"name": "operator",
"nameLocation": "1203:8:0",
"nodeType": "VariableDeclaration",
"scope": 42,
"src": "1187:24:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 37,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1187:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 40,
"indexed": false,
"mutability": "mutable",
"name": "approved",
"nameLocation": "1218:8:0",
"nodeType": "VariableDeclaration",
"scope": 42,
"src": "1213:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 39,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1213:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1161:66:0"
},
"src": "1141:87:0"
},
{
"anonymous": false,
"documentation": {
"id": 43,
"nodeType": "StructuredDocumentation",
"src": "1234:343:0",
"text": " @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\n If an {URI} event was emitted for `id`, the standard\n https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\n returned by {IERC1155MetadataURI-uri}."
},
"eventSelector": "6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b",
"id": 49,
"name": "URI",
"nameLocation": "1588:3:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 48,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 45,
"indexed": false,
"mutability": "mutable",
"name": "value",
"nameLocation": "1599:5:0",
"nodeType": "VariableDeclaration",
"scope": 49,
"src": "1592:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 44,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1592:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 47,
"indexed": true,
"mutability": "mutable",
"name": "id",
"nameLocation": "1622:2:0",
"nodeType": "VariableDeclaration",
"scope": 49,
"src": "1606:18:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 46,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1606:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1591:34:0"
},
"src": "1582:44:0"
},
{
"documentation": {
"id": 50,
"nodeType": "StructuredDocumentation",
"src": "1632:173:0",
"text": " @dev Returns the amount of tokens of token type `id` owned by `account`.\n Requirements:\n - `account` cannot be the zero address."
},
"functionSelector": "00fdd58e",
"id": 59,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOf",
"nameLocation": "1819:9:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 55,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 52,
"mutability": "mutable",
"name": "account",
"nameLocation": "1837:7:0",
"nodeType": "VariableDeclaration",
"scope": 59,
"src": "1829:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 51,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1829:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 54,
"mutability": "mutable",
"name": "id",
"nameLocation": "1854:2:0",
"nodeType": "VariableDeclaration",
"scope": 59,
"src": "1846:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 53,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1846:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1828:29:0"
},
"returnParameters": {
"id": 58,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 57,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 59,
"src": "1881:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 56,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1881:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1880:9:0"
},
"scope": 121,
"src": "1810:80:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 60,
"nodeType": "StructuredDocumentation",
"src": "1896:188:0",
"text": " @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\n Requirements:\n - `accounts` and `ids` must have the same length."
},
"functionSelector": "4e1273f4",
"id": 72,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "balanceOfBatch",
"nameLocation": "2098:14:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 67,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 63,
"mutability": "mutable",
"name": "accounts",
"nameLocation": "2141:8:0",
"nodeType": "VariableDeclaration",
"scope": 72,
"src": "2122:27:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
"typeString": "address[]"
},
"typeName": {
"baseType": {
"id": 61,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2122:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 62,
"nodeType": "ArrayTypeName",
"src": "2122:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
"typeString": "address[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 66,
"mutability": "mutable",
"name": "ids",
"nameLocation": "2178:3:0",
"nodeType": "VariableDeclaration",
"scope": 72,
"src": "2159:22:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 64,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2159:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 65,
"nodeType": "ArrayTypeName",
"src": "2159:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
}
],
"src": "2112:75:0"
},
"returnParameters": {
"id": 71,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 70,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 72,
"src": "2211:16:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 68,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2211:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 69,
"nodeType": "ArrayTypeName",
"src": "2211:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
}
],
"src": "2210:18:0"
},
"scope": 121,
"src": "2089:140:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 73,
"nodeType": "StructuredDocumentation",
"src": "2235:248:0",
"text": " @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\n Emits an {ApprovalForAll} event.\n Requirements:\n - `operator` cannot be the caller."
},
"functionSelector": "a22cb465",
"id": 80,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "setApprovalForAll",
"nameLocation": "2497:17:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 78,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 75,
"mutability": "mutable",
"name": "operator",
"nameLocation": "2523:8:0",
"nodeType": "VariableDeclaration",
"scope": 80,
"src": "2515:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 74,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2515:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 77,
"mutability": "mutable",
"name": "approved",
"nameLocation": "2538:8:0",
"nodeType": "VariableDeclaration",
"scope": 80,
"src": "2533:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 76,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2533:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "2514:33:0"
},
"returnParameters": {
"id": 79,
"nodeType": "ParameterList",
"parameters": [],
"src": "2556:0:0"
},
"scope": 121,
"src": "2488:69:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 81,
"nodeType": "StructuredDocumentation",
"src": "2563:135:0",
"text": " @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\n See {setApprovalForAll}."
},
"functionSelector": "e985e9c5",
"id": 90,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "isApprovedForAll",
"nameLocation": "2712:16:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 86,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 83,
"mutability": "mutable",
"name": "account",
"nameLocation": "2737:7:0",
"nodeType": "VariableDeclaration",
"scope": 90,
"src": "2729:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 82,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2729:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 85,
"mutability": "mutable",
"name": "operator",
"nameLocation": "2754:8:0",
"nodeType": "VariableDeclaration",
"scope": 90,
"src": "2746:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 84,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2746:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "2728:35:0"
},
"returnParameters": {
"id": 89,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 88,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 90,
"src": "2787:4:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 87,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2787:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "2786:6:0"
},
"scope": 121,
"src": "2703:90:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 91,
"nodeType": "StructuredDocumentation",
"src": "2799:556:0",
"text": " @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\n Emits a {TransferSingle} event.\n Requirements:\n - `to` cannot be the zero address.\n - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.\n - `from` must have a balance of tokens of type `id` of at least `amount`.\n - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\n acceptance magic value."
},
"functionSelector": "f242432a",
"id": 104,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "safeTransferFrom",
"nameLocation": "3369:16:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 102,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 93,
"mutability": "mutable",
"name": "from",
"nameLocation": "3394:4:0",
"nodeType": "VariableDeclaration",
"scope": 104,
"src": "3386:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 92,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3386:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 95,
"mutability": "mutable",
"name": "to",
"nameLocation": "3408:2:0",
"nodeType": "VariableDeclaration",
"scope": 104,
"src": "3400:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 94,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3400:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 97,
"mutability": "mutable",
"name": "id",
"nameLocation": "3420:2:0",
"nodeType": "VariableDeclaration",
"scope": 104,
"src": "3412:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 96,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3412:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 99,
"mutability": "mutable",
"name": "amount",
"nameLocation": "3432:6:0",
"nodeType": "VariableDeclaration",
"scope": 104,
"src": "3424:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 98,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3424:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 101,
"mutability": "mutable",
"name": "data",
"nameLocation": "3455:4:0",
"nodeType": "VariableDeclaration",
"scope": 104,
"src": "3440:19:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 100,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "3440:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "3385:75:0"
},
"returnParameters": {
"id": 103,
"nodeType": "ParameterList",
"parameters": [],
"src": "3469:0:0"
},
"scope": 121,
"src": "3360:110:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 105,
"nodeType": "StructuredDocumentation",
"src": "3476:390:0",
"text": " @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\n Emits a {TransferBatch} event.\n Requirements:\n - `ids` and `amounts` must have the same length.\n - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\n acceptance magic value."
},
"functionSelector": "2eb2c2d6",
"id": 120,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "safeBatchTransferFrom",
"nameLocation": "3880:21:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 118,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 107,
"mutability": "mutable",
"name": "from",
"nameLocation": "3919:4:0",
"nodeType": "VariableDeclaration",
"scope": 120,
"src": "3911:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 106,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3911:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 109,
"mutability": "mutable",
"name": "to",
"nameLocation": "3941:2:0",
"nodeType": "VariableDeclaration",
"scope": 120,
"src": "3933:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 108,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "3933:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 112,
"mutability": "mutable",
"name": "ids",
"nameLocation": "3972:3:0",
"nodeType": "VariableDeclaration",
"scope": 120,
"src": "3953:22:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 110,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3953:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 111,
"nodeType": "ArrayTypeName",
"src": "3953:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 115,
"mutability": "mutable",
"name": "amounts",
"nameLocation": "4004:7:0",
"nodeType": "VariableDeclaration",
"scope": 120,
"src": "3985:26:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 113,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3985:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 114,
"nodeType": "ArrayTypeName",
"src": "3985:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 117,
"mutability": "mutable",
"name": "data",
"nameLocation": "4036:4:0",
"nodeType": "VariableDeclaration",
"scope": 120,
"src": "4021:19:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 116,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "4021:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "3901:145:0"
},
"returnParameters": {
"id": 119,
"nodeType": "ParameterList",
"parameters": [],
"src": "4055:0:0"
},
"scope": 121,
"src": "3871:185:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 122,
"src": "361:3697:0",
"usedErrors": [],
"usedEvents": [
18,
33,
42,
49
]
}
],
"src": "110:3949:0"
},
"id": 0
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol",
"exportedSymbols": {
"IERC165Upgradeable": [
133
]
},
"id": 134,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 123,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "100:23:1"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IERC165Upgradeable",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 124,
"nodeType": "StructuredDocumentation",
"src": "125:279:1",
"text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}."
},
"fullyImplemented": false,
"id": 133,
"linearizedBaseContracts": [
133
],
"name": "IERC165Upgradeable",
"nameLocation": "415:18:1",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 125,
"nodeType": "StructuredDocumentation",
"src": "440:340:1",
"text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas."
},
"functionSelector": "01ffc9a7",
"id": 132,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nameLocation": "794:17:1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 128,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 127,
"mutability": "mutable",
"name": "interfaceId",
"nameLocation": "819:11:1",
"nodeType": "VariableDeclaration",
"scope": 132,
"src": "812:18:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 126,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "812:6:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "811:20:1"
},
"returnParameters": {
"id": 131,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 130,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 132,
"src": "855:4:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 129,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "855:4:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "854:6:1"
},
"scope": 133,
"src": "785:76:1",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 134,
"src": "405:458:1",
"usedErrors": [],
"usedEvents": []
}
],
"src": "100:764:1"
},
"id": 1
}
}
}
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"methodIdentifiers": {
"balanceOf(address,uint256)": "00fdd58e",
"balanceOfBatch(address[],uint256[])": "4e1273f4",
"isApprovedForAll(address,address)": "e985e9c5",
"safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)": "2eb2c2d6",
"safeTransferFrom(address,address,uint256,uint256,bytes)": "f242432a",
"setApprovalForAll(address,bool)": "a22cb465",
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "ApprovalForAll",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
}
],
"name": "TransferBatch",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "TransferSingle",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "value",
"type": "string"
},
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "URI",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "accounts",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
}
],
"name": "balanceOfBatch",
"outputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "amounts",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeBatchTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.22+commit.4fc1097e"
},
"language": "Solidity",
"output": {
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "ApprovalForAll",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
}
],
"name": "TransferBatch",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "TransferSingle",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "value",
"type": "string"
},
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "URI",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "accounts",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
}
],
"name": "balanceOfBatch",
"outputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "amounts",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeBatchTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "setApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Required interface of an ERC1155 compliant contract, as defined in the https://eips.ethereum.org/EIPS/eip-1155[EIP]. _Available since v3.1._",
"events": {
"ApprovalForAll(address,address,bool)": {
"details": "Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to `approved`."
},
"TransferBatch(address,address,address,uint256[],uint256[])": {
"details": "Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all transfers."
},
"TransferSingle(address,address,address,uint256,uint256)": {
"details": "Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`."
},
"URI(string,uint256)": {
"details": "Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. If an {URI} event was emitted for `id`, the standard https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value returned by {IERC1155MetadataURI-uri}."
}
},
"kind": "dev",
"methods": {
"balanceOf(address,uint256)": {
"details": "Returns the amount of tokens of token type `id` owned by `account`. Requirements: - `account` cannot be the zero address."
},
"balanceOfBatch(address[],uint256[])": {
"details": "xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. Requirements: - `accounts` and `ids` must have the same length."
},
"isApprovedForAll(address,address)": {
"details": "Returns true if `operator` is approved to transfer ``account``'s tokens. See {setApprovalForAll}."
},
"safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)": {
"details": "xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. Emits a {TransferBatch} event. Requirements: - `ids` and `amounts` must have the same length. - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value."
},
"safeTransferFrom(address,address,uint256,uint256,bytes)": {
"details": "Transfers `amount` tokens of token type `id` from `from` to `to`. Emits a {TransferSingle} event. Requirements: - `to` cannot be the zero address. - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. - `from` must have a balance of tokens of type `id` of at least `amount`. - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value."
},
"setApprovalForAll(address,bool)": {
"details": "Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, Emits an {ApprovalForAll} event. Requirements: - `operator` cannot be the caller."
},
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
".deps/npm/@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol": "IERC1155Upgradeable"
},
"evmVersion": "shanghai",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
".deps/npm/@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol": {
"keccak256": "0xf51f292659a77777c0ed7375a39683d8bee53b86a6e7bd0c76f34ce7aa37a3a8",
"license": "MIT",
"urls": [
"bzz-raw://32c68498e1b6013477d299e4881dcea818d7e4c3e3aba7a18bde3989b12dff83",
"dweb:/ipfs/QmZzw1eHLQmDLfKbxVivEWUdae2BfTmjSg1aLowuLwScuZ"
]
},
".deps/npm/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol": {
"keccak256": "0xc6cef87559d0aeffdf0a99803de655938a7779ec0a3cd5d4383483ad85565a09",
"license": "MIT",
"urls": [
"bzz-raw://92ad7e572cf44e6b4b37631b44b62f9eb9fb1cf14d9ce51c1504d5dc7ccaf758",
"dweb:/ipfs/QmcnbqX85tsWnUXPmtuPLE4SczME2sJaTfmqEFkuAJvWhy"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165Upgradeable.sol";
/**
* @dev Required interface of an ERC1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[EIP].
*
* _Available since v3.1._
*/
interface IERC1155Upgradeable is IERC165Upgradeable {
/**
* @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
/**
* @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
* `approved`.
*/
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
/**
* @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
*
* If an {URI} event was emitted for `id`, the standard
* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
* returned by {IERC1155MetadataURI-uri}.
*/
event URI(string value, uint256 indexed id);
/**
* @dev Returns the amount of tokens of token type `id` owned by `account`.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) external view returns (uint256);
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(
address[] calldata accounts,
uint256[] calldata ids
) external view returns (uint256[] memory);
/**
* @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
*
* Emits an {ApprovalForAll} event.
*
* Requirements:
*
* - `operator` cannot be the caller.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address account, address operator) external view returns (bool);
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata amounts,
bytes calldata data
) external;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
interface IERC20PermitUpgradeable {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*
* CAUTION: See Security Considerations above.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20Upgradeable.sol";
import "../extensions/IERC20PermitUpgradeable.sol";
import "../../../utils/AddressUpgradeable.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20Upgradeable {
using AddressUpgradeable for address;
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20Upgradeable token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20Upgradeable token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20Upgradeable token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20Upgradeable token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeDecreaseAllowance(IERC20Upgradeable token, address spender, uint256 value) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20Upgradeable token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
* Revert on invalid signature.
*/
function safePermit(
IERC20PermitUpgradeable token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20Upgradeable token, bytes memory data) private returns (bool) {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return
success && (returndata.length == 0 || abi.decode(returndata, (bool))) && AddressUpgradeable.isContract(address(token));
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165Upgradeable.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721Upgradeable is IERC165Upgradeable {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library AddressUpgradeable {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
import {Initializable} from "../proxy/utils/Initializable.sol";
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract ContextUpgradeable is Initializable {
function __Context_init() internal onlyInitializing {
}
function __Context_init_unchained() internal onlyInitializing {
}
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165Upgradeable {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMathUpgradeable {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```solidity
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*
* [WARNING]
* ====
* Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
* unusable.
* See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
*
* In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
* array of EnumerableSet.
* ====
*/
library EnumerableSetUpgradeable {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping(bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) {
// Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
if (lastIndex != toDeleteIndex) {
bytes32 lastValue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastValue;
// Update the index for the moved value
set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
}
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
return set._values[index];
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function _values(Set storage set) private view returns (bytes32[] memory) {
return set._values;
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
bytes32[] memory store = _values(set._inner);
bytes32[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(AddressSet storage set) internal view returns (address[] memory) {
bytes32[] memory store = _values(set._inner);
address[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(UintSet storage set) internal view returns (uint256[] memory) {
bytes32[] memory store = _values(set._inner);
uint256[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
}
{
"id": "6203c78c65fa2f49fead06a91a571ce7",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.22",
"solcLongVersion": "0.8.22+commit.4fc1097e",
"input": {
"language": "Solidity",
"sources": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Interface that must be implemented by smart contracts in order to receive\n * ERC-1155 token transfers.\n */\ninterface IERC1155Receiver is IERC165 {\n /**\n * @dev Handles the receipt of a single ERC1155 token type. This function is\n * called at the end of a `safeTransferFrom` after the balance has been updated.\n *\n * NOTE: To accept the transfer, this must return\n * `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n * (i.e. 0xf23a6e61, or its own function selector).\n *\n * @param operator The address which initiated the transfer (i.e. msg.sender)\n * @param from The address which previously owned the token\n * @param id The ID of the token being transferred\n * @param value The amount of tokens being transferred\n * @param data Additional data with no specified format\n * @return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed\n */\n function onERC1155Received(\n address operator,\n address from,\n uint256 id,\n uint256 value,\n bytes calldata data\n ) external returns (bytes4);\n\n /**\n * @dev Handles the receipt of a multiple ERC1155 token types. This function\n * is called at the end of a `safeBatchTransferFrom` after the balances have\n * been updated.\n *\n * NOTE: To accept the transfer(s), this must return\n * `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n * (i.e. 0xbc197c81, or its own function selector).\n *\n * @param operator The address which initiated the batch transfer (i.e. msg.sender)\n * @param from The address which previously owned the token\n * @param ids An array containing ids of each token being transferred (order and length must match values array)\n * @param values An array containing amounts of each token being transferred (order and length must match ids array)\n * @param data Additional data with no specified format\n * @return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed\n */\n function onERC1155BatchReceived(\n address operator,\n address from,\n uint256[] calldata ids,\n uint256[] calldata values,\n bytes calldata data\n ) external returns (bytes4);\n}\n"
},
".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\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"
]
}
},
"remappings": []
}
},
"output": {
"contracts": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": {
"IERC1155Receiver": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155BatchReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Interface that must be implemented by smart contracts in order to receive ERC-1155 token transfers.",
"kind": "dev",
"methods": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": {
"details": "Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. NOTE: To accept the transfer(s), this must return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` (i.e. 0xbc197c81, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"ids": "An array containing ids of each token being transferred (order and length must match values array)",
"operator": "The address which initiated the batch transfer (i.e. msg.sender)",
"values": "An array containing amounts of each token being transferred (order and length must match ids array)"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed"
}
},
"onERC1155Received(address,address,uint256,uint256,bytes)": {
"details": "Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. NOTE: To accept the transfer, this must return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` (i.e. 0xf23a6e61, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"id": "The ID of the token being transferred",
"operator": "The address which initiated the transfer (i.e. msg.sender)",
"value": "The amount of tokens being transferred"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed"
}
},
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": "bc197c81",
"onERC1155Received(address,address,uint256,uint256,bytes)": "f23a6e61",
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface that must be implemented by smart contracts in order to receive ERC-1155 token transfers.\",\"kind\":\"dev\",\"methods\":{\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\":{\"details\":\"Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. NOTE: To accept the transfer(s), this must return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` (i.e. 0xbc197c81, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"ids\":\"An array containing ids of each token being transferred (order and length must match values array)\",\"operator\":\"The address which initiated the batch transfer (i.e. msg.sender)\",\"values\":\"An array containing amounts of each token being transferred (order and length must match ids array)\"},\"returns\":{\"_0\":\"`bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\"}},\"onERC1155Received(address,address,uint256,uint256,bytes)\":{\"details\":\"Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. NOTE: To accept the transfer, this must return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` (i.e. 0xf23a6e61, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"id\":\"The ID of the token being transferred\",\"operator\":\"The address which initiated the transfer (i.e. msg.sender)\",\"value\":\"The amount of tokens being transferred\"},\"returns\":{\"_0\":\"`bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\"}},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\":\"IERC1155Receiver\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\":{\"keccak256\":\"0xb69597a63b202e28401128bed6a6d259e8730191274471af7303eafb247881a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://25addbda49a578b3318130585601344c5149a5549d749adf88e9685349a46b23\",\"dweb:/ipfs/Qme2DuD8gpsve1ZvaSMQpBwMdpU7yAtekDwr7gUp8dX4zX\"]},\".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"IERC165": {
"abi": [
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.",
"kind": "dev",
"methods": {
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol",
"exportedSymbols": {
"IERC1155Receiver": [
41
],
"IERC165": [
53
]
},
"id": 42,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".20"
],
"nodeType": "PragmaDirective",
"src": "118:24:0"
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol",
"file": "../../utils/introspection/IERC165.sol",
"id": 3,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 42,
"sourceUnit": 54,
"src": "144:62:0",
"symbolAliases": [
{
"foreign": {
"id": 2,
"name": "IERC165",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 53,
"src": "152:7:0",
"typeDescriptions": {}
},
"nameLocation": "-1:-1:-1"
}
],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"baseName": {
"id": 5,
"name": "IERC165",
"nameLocations": [
"357:7:0"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 53,
"src": "357:7:0"
},
"id": 6,
"nodeType": "InheritanceSpecifier",
"src": "357:7:0"
}
],
"canonicalName": "IERC1155Receiver",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 4,
"nodeType": "StructuredDocumentation",
"src": "208:118:0",
"text": " @dev Interface that must be implemented by smart contracts in order to receive\n ERC-1155 token transfers."
},
"fullyImplemented": false,
"id": 41,
"linearizedBaseContracts": [
41,
53
],
"name": "IERC1155Receiver",
"nameLocation": "337:16:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 7,
"nodeType": "StructuredDocumentation",
"src": "371:826:0",
"text": " @dev Handles the receipt of a single ERC1155 token type. This function is\n called at the end of a `safeTransferFrom` after the balance has been updated.\n NOTE: To accept the transfer, this must return\n `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n (i.e. 0xf23a6e61, or its own function selector).\n @param operator The address which initiated the transfer (i.e. msg.sender)\n @param from The address which previously owned the token\n @param id The ID of the token being transferred\n @param value The amount of tokens being transferred\n @param data Additional data with no specified format\n @return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed"
},
"functionSelector": "f23a6e61",
"id": 22,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "onERC1155Received",
"nameLocation": "1211:17:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 18,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9,
"mutability": "mutable",
"name": "operator",
"nameLocation": "1246:8:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1238:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 8,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1238:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 11,
"mutability": "mutable",
"name": "from",
"nameLocation": "1272:4:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1264:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 10,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1264:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13,
"mutability": "mutable",
"name": "id",
"nameLocation": "1294:2:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1286:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 12,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1286:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 15,
"mutability": "mutable",
"name": "value",
"nameLocation": "1314:5:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1306:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 14,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1306:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 17,
"mutability": "mutable",
"name": "data",
"nameLocation": "1344:4:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1329:19:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 16,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1329:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "1228:126:0"
},
"returnParameters": {
"id": 21,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 20,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1373:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 19,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1373:6:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "1372:8:0"
},
"scope": 41,
"src": "1202:179:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 23,
"nodeType": "StructuredDocumentation",
"src": "1387:994:0",
"text": " @dev Handles the receipt of a multiple ERC1155 token types. This function\n is called at the end of a `safeBatchTransferFrom` after the balances have\n been updated.\n NOTE: To accept the transfer(s), this must return\n `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n (i.e. 0xbc197c81, or its own function selector).\n @param operator The address which initiated the batch transfer (i.e. msg.sender)\n @param from The address which previously owned the token\n @param ids An array containing ids of each token being transferred (order and length must match values array)\n @param values An array containing amounts of each token being transferred (order and length must match ids array)\n @param data Additional data with no specified format\n @return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed"
},
"functionSelector": "bc197c81",
"id": 40,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "onERC1155BatchReceived",
"nameLocation": "2395:22:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 36,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25,
"mutability": "mutable",
"name": "operator",
"nameLocation": "2435:8:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2427:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 24,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2427:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 27,
"mutability": "mutable",
"name": "from",
"nameLocation": "2461:4:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2453:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2453:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 30,
"mutability": "mutable",
"name": "ids",
"nameLocation": "2494:3:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2475:22:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 28,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2475:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 29,
"nodeType": "ArrayTypeName",
"src": "2475:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 33,
"mutability": "mutable",
"name": "values",
"nameLocation": "2526:6:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2507:25:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 31,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2507:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 32,
"nodeType": "ArrayTypeName",
"src": "2507:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 35,
"mutability": "mutable",
"name": "data",
"nameLocation": "2557:4:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2542:19:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 34,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "2542:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "2417:150:0"
},
"returnParameters": {
"id": 39,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 38,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2586:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 37,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "2586:6:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "2585:8:0"
},
"scope": 41,
"src": "2386:208:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 42,
"src": "327:2269:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "118:2479:0"
},
"id": 0
},
".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol",
"exportedSymbols": {
"IERC165": [
53
]
},
"id": 54,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 43,
"literals": [
"solidity",
"^",
"0.8",
".20"
],
"nodeType": "PragmaDirective",
"src": "115:24:1"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IERC165",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 44,
"nodeType": "StructuredDocumentation",
"src": "141:279:1",
"text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}."
},
"fullyImplemented": false,
"id": 53,
"linearizedBaseContracts": [
53
],
"name": "IERC165",
"nameLocation": "431:7:1",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 45,
"nodeType": "StructuredDocumentation",
"src": "445:340:1",
"text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas."
},
"functionSelector": "01ffc9a7",
"id": 52,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nameLocation": "799:17:1",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 48,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 47,
"mutability": "mutable",
"name": "interfaceId",
"nameLocation": "824:11:1",
"nodeType": "VariableDeclaration",
"scope": 52,
"src": "817:18:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 46,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "817:6:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "816:20:1"
},
"returnParameters": {
"id": 51,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 50,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 52,
"src": "860:4:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 49,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "860:4:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "859:6:1"
},
"scope": 53,
"src": "790:76:1",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 54,
"src": "421:447:1",
"usedErrors": [],
"usedEvents": []
}
],
"src": "115:754:1"
},
"id": 1
}
}
}
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"methodIdentifiers": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": "bc197c81",
"onERC1155Received(address,address,uint256,uint256,bytes)": "f23a6e61",
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155BatchReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.22+commit.4fc1097e"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155BatchReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Interface that must be implemented by smart contracts in order to receive ERC-1155 token transfers.",
"kind": "dev",
"methods": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": {
"details": "Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. NOTE: To accept the transfer(s), this must return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` (i.e. 0xbc197c81, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"ids": "An array containing ids of each token being transferred (order and length must match values array)",
"operator": "The address which initiated the batch transfer (i.e. msg.sender)",
"values": "An array containing amounts of each token being transferred (order and length must match ids array)"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed"
}
},
"onERC1155Received(address,address,uint256,uint256,bytes)": {
"details": "Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. NOTE: To accept the transfer, this must return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` (i.e. 0xf23a6e61, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"id": "The ID of the token being transferred",
"operator": "The address which initiated the transfer (i.e. msg.sender)",
"value": "The amount of tokens being transferred"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed"
}
},
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": "IERC1155Receiver"
},
"evmVersion": "shanghai",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": {
"keccak256": "0xb69597a63b202e28401128bed6a6d259e8730191274471af7303eafb247881a3",
"license": "MIT",
"urls": [
"bzz-raw://25addbda49a578b3318130585601344c5149a5549d749adf88e9685349a46b23",
"dweb:/ipfs/Qme2DuD8gpsve1ZvaSMQpBwMdpU7yAtekDwr7gUp8dX4zX"
]
},
".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"keccak256": "0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b",
"license": "MIT",
"urls": [
"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df",
"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (token/ERC1155/IERC1155.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[EIP].
*/
interface IERC1155 is IERC165 {
/**
* @dev Emitted when `value` amount of tokens of type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
/**
* @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
* `approved`.
*/
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
/**
* @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
*
* If an {URI} event was emitted for `id`, the standard
* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
* returned by {IERC1155MetadataURI-uri}.
*/
event URI(string value, uint256 indexed id);
/**
* @dev Returns the value of tokens of token type `id` owned by `account`.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) external view returns (uint256);
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(
address[] calldata accounts,
uint256[] calldata ids
) external view returns (uint256[] memory);
/**
* @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
*
* Emits an {ApprovalForAll} event.
*
* Requirements:
*
* - `operator` cannot be the caller.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address account, address operator) external view returns (bool);
/**
* @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`.
*
* WARNING: This function can potentially allow a reentrancy attack when transferring tokens
* to an untrusted contract, when invoking {onERC1155Received} on the receiver.
* Ensure to follow the checks-effects-interactions pattern and consider employing
* reentrancy guards when interacting with untrusted contracts.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
* - `from` must have a balance of tokens of type `id` of at least `value` amount.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
*
* WARNING: This function can potentially allow a reentrancy attack when transferring tokens
* to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
* Ensure to follow the checks-effects-interactions pattern and consider employing
* reentrancy guards when interacting with untrusted contracts.
*
* Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.
*
* Requirements:
*
* - `ids` and `values` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../../utils/introspection/IERC165.sol";
/**
* @dev Interface that must be implemented by smart contracts in order to receive
* ERC-1155 token transfers.
*/
interface IERC1155Receiver is IERC165 {
/**
* @dev Handles the receipt of a single ERC1155 token type. This function is
* called at the end of a `safeTransferFrom` after the balance has been updated.
*
* NOTE: To accept the transfer, this must return
* `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
* (i.e. 0xf23a6e61, or its own function selector).
*
* @param operator The address which initiated the transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param id The ID of the token being transferred
* @param value The amount of tokens being transferred
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
*/
function onERC1155Received(
address operator,
address from,
uint256 id,
uint256 value,
bytes calldata data
) external returns (bytes4);
/**
* @dev Handles the receipt of a multiple ERC1155 token types. This function
* is called at the end of a `safeBatchTransferFrom` after the balances have
* been updated.
*
* NOTE: To accept the transfer(s), this must return
* `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
* (i.e. 0xbc197c81, or its own function selector).
*
* @param operator The address which initiated the batch transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param ids An array containing ids of each token being transferred (order and length must match values array)
* @param values An array containing amounts of each token being transferred (order and length must match ids array)
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
*/
function onERC1155BatchReceived(
address operator,
address from,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external returns (bytes4);
}
{
"id": "d033812ddbb0ce6816a96a7c74057de5",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.22",
"solcLongVersion": "0.8.22+commit.4fc1097e",
"input": {
"language": "Solidity",
"sources": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC1155Receiver.sol\";\nimport \"../../../utils/introspection/ERC165.sol\";\n\n/**\n * @dev _Available since v3.1._\n */\nabstract contract ERC1155Receiver is ERC165, IERC1155Receiver {\n /**\n * @dev See {IERC165-supportsInterface}.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);\n }\n}\n"
},
".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n /**\n * @dev See {IERC165-supportsInterface}.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n return interfaceId == type(IERC165).interfaceId;\n }\n}\n"
},
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Interface that must be implemented by smart contracts in order to receive\n * ERC-1155 token transfers.\n */\ninterface IERC1155Receiver is IERC165 {\n /**\n * @dev Handles the receipt of a single ERC1155 token type. This function is\n * called at the end of a `safeTransferFrom` after the balance has been updated.\n *\n * NOTE: To accept the transfer, this must return\n * `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n * (i.e. 0xf23a6e61, or its own function selector).\n *\n * @param operator The address which initiated the transfer (i.e. msg.sender)\n * @param from The address which previously owned the token\n * @param id The ID of the token being transferred\n * @param value The amount of tokens being transferred\n * @param data Additional data with no specified format\n * @return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed\n */\n function onERC1155Received(\n address operator,\n address from,\n uint256 id,\n uint256 value,\n bytes calldata data\n ) external returns (bytes4);\n\n /**\n * @dev Handles the receipt of a multiple ERC1155 token types. This function\n * is called at the end of a `safeBatchTransferFrom` after the balances have\n * been updated.\n *\n * NOTE: To accept the transfer(s), this must return\n * `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n * (i.e. 0xbc197c81, or its own function selector).\n *\n * @param operator The address which initiated the batch transfer (i.e. msg.sender)\n * @param from The address which previously owned the token\n * @param ids An array containing ids of each token being transferred (order and length must match values array)\n * @param values An array containing amounts of each token being transferred (order and length must match ids array)\n * @param data Additional data with no specified format\n * @return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed\n */\n function onERC1155BatchReceived(\n address operator,\n address from,\n uint256[] calldata ids,\n uint256[] calldata values,\n bytes calldata data\n ) external returns (bytes4);\n}\n"
},
".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\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"
]
}
},
"remappings": []
}
},
"output": {
"contracts": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": {
"IERC1155Receiver": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155BatchReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Interface that must be implemented by smart contracts in order to receive ERC-1155 token transfers.",
"kind": "dev",
"methods": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": {
"details": "Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. NOTE: To accept the transfer(s), this must return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` (i.e. 0xbc197c81, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"ids": "An array containing ids of each token being transferred (order and length must match values array)",
"operator": "The address which initiated the batch transfer (i.e. msg.sender)",
"values": "An array containing amounts of each token being transferred (order and length must match ids array)"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed"
}
},
"onERC1155Received(address,address,uint256,uint256,bytes)": {
"details": "Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. NOTE: To accept the transfer, this must return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` (i.e. 0xf23a6e61, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"id": "The ID of the token being transferred",
"operator": "The address which initiated the transfer (i.e. msg.sender)",
"value": "The amount of tokens being transferred"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed"
}
},
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": "bc197c81",
"onERC1155Received(address,address,uint256,uint256,bytes)": "f23a6e61",
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface that must be implemented by smart contracts in order to receive ERC-1155 token transfers.\",\"kind\":\"dev\",\"methods\":{\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\":{\"details\":\"Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. NOTE: To accept the transfer(s), this must return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` (i.e. 0xbc197c81, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"ids\":\"An array containing ids of each token being transferred (order and length must match values array)\",\"operator\":\"The address which initiated the batch transfer (i.e. msg.sender)\",\"values\":\"An array containing amounts of each token being transferred (order and length must match ids array)\"},\"returns\":{\"_0\":\"`bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\"}},\"onERC1155Received(address,address,uint256,uint256,bytes)\":{\"details\":\"Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. NOTE: To accept the transfer, this must return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` (i.e. 0xf23a6e61, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"id\":\"The ID of the token being transferred\",\"operator\":\"The address which initiated the transfer (i.e. msg.sender)\",\"value\":\"The amount of tokens being transferred\"},\"returns\":{\"_0\":\"`bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\"}},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\":\"IERC1155Receiver\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\":{\"keccak256\":\"0xb69597a63b202e28401128bed6a6d259e8730191274471af7303eafb247881a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://25addbda49a578b3318130585601344c5149a5549d749adf88e9685349a46b23\",\"dweb:/ipfs/Qme2DuD8gpsve1ZvaSMQpBwMdpU7yAtekDwr7gUp8dX4zX\"]},\".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol": {
"ERC1155Receiver": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155BatchReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "_Available since v3.1._",
"kind": "dev",
"methods": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": {
"details": "Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. NOTE: To accept the transfer(s), this must return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` (i.e. 0xbc197c81, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"ids": "An array containing ids of each token being transferred (order and length must match values array)",
"operator": "The address which initiated the batch transfer (i.e. msg.sender)",
"values": "An array containing amounts of each token being transferred (order and length must match ids array)"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed"
}
},
"onERC1155Received(address,address,uint256,uint256,bytes)": {
"details": "Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. NOTE: To accept the transfer, this must return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` (i.e. 0xf23a6e61, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"id": "The ID of the token being transferred",
"operator": "The address which initiated the transfer (i.e. msg.sender)",
"value": "The amount of tokens being transferred"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed"
}
},
"supportsInterface(bytes4)": {
"details": "See {IERC165-supportsInterface}."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": "bc197c81",
"onERC1155Received(address,address,uint256,uint256,bytes)": "f23a6e61",
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"_Available since v3.1._\",\"kind\":\"dev\",\"methods\":{\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\":{\"details\":\"Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. NOTE: To accept the transfer(s), this must return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` (i.e. 0xbc197c81, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"ids\":\"An array containing ids of each token being transferred (order and length must match values array)\",\"operator\":\"The address which initiated the batch transfer (i.e. msg.sender)\",\"values\":\"An array containing amounts of each token being transferred (order and length must match ids array)\"},\"returns\":{\"_0\":\"`bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\"}},\"onERC1155Received(address,address,uint256,uint256,bytes)\":{\"details\":\"Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. NOTE: To accept the transfer, this must return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` (i.e. 0xf23a6e61, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"id\":\"The ID of the token being transferred\",\"operator\":\"The address which initiated the transfer (i.e. msg.sender)\",\"value\":\"The amount of tokens being transferred\"},\"returns\":{\"_0\":\"`bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\"}},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol\":\"ERC1155Receiver\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\":{\"keccak256\":\"0xb69597a63b202e28401128bed6a6d259e8730191274471af7303eafb247881a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://25addbda49a578b3318130585601344c5149a5549d749adf88e9685349a46b23\",\"dweb:/ipfs/Qme2DuD8gpsve1ZvaSMQpBwMdpU7yAtekDwr7gUp8dX4zX\"]},\".deps/npm/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol\":{\"keccak256\":\"0x3dd5e1a66a56f30302108a1da97d677a42b1daa60e503696b2bcbbf3e4c95bcb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0808de0ae4918c664643c885ca7fa6503e8ef2bd75609dfc85152c0128a3422d\",\"dweb:/ipfs/QmNrhFC1XgBKuuxfahFeiwi1MCdu3FLNpHj2uStgmf4iJj\"]},\".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0x9e8778b14317ba9e256c30a76fd6c32b960af621987f56069e1e819c77c6a133\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1777404f1dcd0fac188e55a288724ec3c67b45288e49cc64723e95e702b49ab8\",\"dweb:/ipfs/QmZFdC626GButBApwDUvvTnUzdinevC3B24d7yyh57XkiA\"]},\".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol": {
"ERC165": {
"abi": [
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Implementation of the {IERC165} interface. Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check for the additional interface id that will be supported. For example: ```solidity function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); } ```",
"kind": "dev",
"methods": {
"supportsInterface(bytes4)": {
"details": "See {IERC165-supportsInterface}."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the {IERC165} interface. Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check for the additional interface id that will be supported. For example: ```solidity function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); } ```\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0x9e8778b14317ba9e256c30a76fd6c32b960af621987f56069e1e819c77c6a133\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1777404f1dcd0fac188e55a288724ec3c67b45288e49cc64723e95e702b49ab8\",\"dweb:/ipfs/QmZFdC626GButBApwDUvvTnUzdinevC3B24d7yyh57XkiA\"]},\".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
},
".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"IERC165": {
"abi": [
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.",
"kind": "dev",
"methods": {
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
}
},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"shanghai\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol",
"exportedSymbols": {
"IERC1155Receiver": [
41
],
"IERC165": [
111
]
},
"id": 42,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".20"
],
"nodeType": "PragmaDirective",
"src": "118:24:0"
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol",
"file": "../../utils/introspection/IERC165.sol",
"id": 3,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 42,
"sourceUnit": 112,
"src": "144:62:0",
"symbolAliases": [
{
"foreign": {
"id": 2,
"name": "IERC165",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 111,
"src": "152:7:0",
"typeDescriptions": {}
},
"nameLocation": "-1:-1:-1"
}
],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"baseName": {
"id": 5,
"name": "IERC165",
"nameLocations": [
"357:7:0"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 111,
"src": "357:7:0"
},
"id": 6,
"nodeType": "InheritanceSpecifier",
"src": "357:7:0"
}
],
"canonicalName": "IERC1155Receiver",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 4,
"nodeType": "StructuredDocumentation",
"src": "208:118:0",
"text": " @dev Interface that must be implemented by smart contracts in order to receive\n ERC-1155 token transfers."
},
"fullyImplemented": false,
"id": 41,
"linearizedBaseContracts": [
41,
111
],
"name": "IERC1155Receiver",
"nameLocation": "337:16:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 7,
"nodeType": "StructuredDocumentation",
"src": "371:826:0",
"text": " @dev Handles the receipt of a single ERC1155 token type. This function is\n called at the end of a `safeTransferFrom` after the balance has been updated.\n NOTE: To accept the transfer, this must return\n `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n (i.e. 0xf23a6e61, or its own function selector).\n @param operator The address which initiated the transfer (i.e. msg.sender)\n @param from The address which previously owned the token\n @param id The ID of the token being transferred\n @param value The amount of tokens being transferred\n @param data Additional data with no specified format\n @return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed"
},
"functionSelector": "f23a6e61",
"id": 22,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "onERC1155Received",
"nameLocation": "1211:17:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 18,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9,
"mutability": "mutable",
"name": "operator",
"nameLocation": "1246:8:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1238:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 8,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1238:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 11,
"mutability": "mutable",
"name": "from",
"nameLocation": "1272:4:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1264:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 10,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1264:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13,
"mutability": "mutable",
"name": "id",
"nameLocation": "1294:2:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1286:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 12,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1286:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 15,
"mutability": "mutable",
"name": "value",
"nameLocation": "1314:5:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1306:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 14,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1306:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 17,
"mutability": "mutable",
"name": "data",
"nameLocation": "1344:4:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1329:19:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 16,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1329:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "1228:126:0"
},
"returnParameters": {
"id": 21,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 20,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1373:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 19,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1373:6:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "1372:8:0"
},
"scope": 41,
"src": "1202:179:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 23,
"nodeType": "StructuredDocumentation",
"src": "1387:994:0",
"text": " @dev Handles the receipt of a multiple ERC1155 token types. This function\n is called at the end of a `safeBatchTransferFrom` after the balances have\n been updated.\n NOTE: To accept the transfer(s), this must return\n `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n (i.e. 0xbc197c81, or its own function selector).\n @param operator The address which initiated the batch transfer (i.e. msg.sender)\n @param from The address which previously owned the token\n @param ids An array containing ids of each token being transferred (order and length must match values array)\n @param values An array containing amounts of each token being transferred (order and length must match ids array)\n @param data Additional data with no specified format\n @return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed"
},
"functionSelector": "bc197c81",
"id": 40,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "onERC1155BatchReceived",
"nameLocation": "2395:22:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 36,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25,
"mutability": "mutable",
"name": "operator",
"nameLocation": "2435:8:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2427:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 24,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2427:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 27,
"mutability": "mutable",
"name": "from",
"nameLocation": "2461:4:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2453:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 26,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2453:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 30,
"mutability": "mutable",
"name": "ids",
"nameLocation": "2494:3:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2475:22:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 28,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2475:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 29,
"nodeType": "ArrayTypeName",
"src": "2475:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 33,
"mutability": "mutable",
"name": "values",
"nameLocation": "2526:6:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2507:25:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr",
"typeString": "uint256[]"
},
"typeName": {
"baseType": {
"id": 31,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2507:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 32,
"nodeType": "ArrayTypeName",
"src": "2507:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString": "uint256[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 35,
"mutability": "mutable",
"name": "data",
"nameLocation": "2557:4:0",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2542:19:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 34,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "2542:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "2417:150:0"
},
"returnParameters": {
"id": 39,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 38,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "2586:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 37,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "2586:6:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "2585:8:0"
},
"scope": 41,
"src": "2386:208:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 42,
"src": "327:2269:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "118:2479:0"
},
"id": 0
},
".deps/npm/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol",
"exportedSymbols": {
"ERC1155Receiver": [
75
],
"ERC165": [
99
],
"IERC1155Receiver": [
41
],
"IERC165": [
111
]
},
"id": 76,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 43,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "108:23:1"
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol",
"file": "../IERC1155Receiver.sol",
"id": 44,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 76,
"sourceUnit": 42,
"src": "133:33:1",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol",
"file": "../../../utils/introspection/ERC165.sol",
"id": 45,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 76,
"sourceUnit": 100,
"src": "167:49:1",
"symbolAliases": [],
"unitAlias": ""
},
{
"abstract": true,
"baseContracts": [
{
"baseName": {
"id": 47,
"name": "ERC165",
"nameLocations": [
"295:6:1"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 99,
"src": "295:6:1"
},
"id": 48,
"nodeType": "InheritanceSpecifier",
"src": "295:6:1"
},
{
"baseName": {
"id": 49,
"name": "IERC1155Receiver",
"nameLocations": [
"303:16:1"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 41,
"src": "303:16:1"
},
"id": 50,
"nodeType": "InheritanceSpecifier",
"src": "303:16:1"
}
],
"canonicalName": "ERC1155Receiver",
"contractDependencies": [],
"contractKind": "contract",
"documentation": {
"id": 46,
"nodeType": "StructuredDocumentation",
"src": "218:39:1",
"text": " @dev _Available since v3.1._"
},
"fullyImplemented": false,
"id": 75,
"linearizedBaseContracts": [
75,
41,
99,
111
],
"name": "ERC1155Receiver",
"nameLocation": "276:15:1",
"nodeType": "ContractDefinition",
"nodes": [
{
"baseFunctions": [
98,
110
],
"body": {
"id": 73,
"nodeType": "Block",
"src": "495:113:1",
"statements": [
{
"expression": {
"commonType": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"id": 71,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"commonType": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"id": 66,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 61,
"name": "interfaceId",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 53,
"src": "512:11:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"expression": {
"arguments": [
{
"id": 63,
"name": "IERC1155Receiver",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 41,
"src": "532:16:1",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_IERC1155Receiver_$41_$",
"typeString": "type(contract IERC1155Receiver)"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_type$_t_contract$_IERC1155Receiver_$41_$",
"typeString": "type(contract IERC1155Receiver)"
}
],
"id": 62,
"name": "type",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967269,
"src": "527:4:1",
"typeDescriptions": {
"typeIdentifier": "t_function_metatype_pure$__$returns$__$",
"typeString": "function () pure"
}
},
"id": 64,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "527:22:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_magic_meta_type_t_contract$_IERC1155Receiver_$41",
"typeString": "type(contract IERC1155Receiver)"
}
},
"id": 65,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"memberLocation": "550:11:1",
"memberName": "interfaceId",
"nodeType": "MemberAccess",
"src": "527:34:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"src": "512:49:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "BinaryOperation",
"operator": "||",
"rightExpression": {
"arguments": [
{
"id": 69,
"name": "interfaceId",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 53,
"src": "589:11:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
],
"expression": {
"id": 67,
"name": "super",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967271,
"src": "565:5:1",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_super$_ERC1155Receiver_$75_$",
"typeString": "type(contract super ERC1155Receiver)"
}
},
"id": 68,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "571:17:1",
"memberName": "supportsInterface",
"nodeType": "MemberAccess",
"referencedDeclaration": 98,
"src": "565:23:1",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$",
"typeString": "function (bytes4) view returns (bool)"
}
},
"id": 70,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "565:36:1",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"src": "512:89:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"functionReturnParameters": 60,
"id": 72,
"nodeType": "Return",
"src": "505:96:1"
}
]
},
"documentation": {
"id": 51,
"nodeType": "StructuredDocumentation",
"src": "326:56:1",
"text": " @dev See {IERC165-supportsInterface}."
},
"functionSelector": "01ffc9a7",
"id": 74,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nameLocation": "396:17:1",
"nodeType": "FunctionDefinition",
"overrides": {
"id": 57,
"nodeType": "OverrideSpecifier",
"overrides": [
{
"id": 55,
"name": "ERC165",
"nameLocations": [
"463:6:1"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 99,
"src": "463:6:1"
},
{
"id": 56,
"name": "IERC165",
"nameLocations": [
"471:7:1"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 111,
"src": "471:7:1"
}
],
"src": "454:25:1"
},
"parameters": {
"id": 54,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 53,
"mutability": "mutable",
"name": "interfaceId",
"nameLocation": "421:11:1",
"nodeType": "VariableDeclaration",
"scope": 74,
"src": "414:18:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 52,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "414:6:1",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "413:20:1"
},
"returnParameters": {
"id": 60,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 59,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 74,
"src": "489:4:1",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 58,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "489:4:1",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "488:6:1"
},
"scope": 75,
"src": "387:221:1",
"stateMutability": "view",
"virtual": true,
"visibility": "public"
}
],
"scope": 76,
"src": "258:352:1",
"usedErrors": [],
"usedEvents": []
}
],
"src": "108:503:1"
},
"id": 1
},
".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol",
"exportedSymbols": {
"ERC165": [
99
],
"IERC165": [
111
]
},
"id": 100,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 77,
"literals": [
"solidity",
"^",
"0.8",
".20"
],
"nodeType": "PragmaDirective",
"src": "114:24:2"
},
{
"absolutePath": ".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol",
"file": "./IERC165.sol",
"id": 79,
"nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective",
"scope": 100,
"sourceUnit": 112,
"src": "140:38:2",
"symbolAliases": [
{
"foreign": {
"id": 78,
"name": "IERC165",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 111,
"src": "148:7:2",
"typeDescriptions": {}
},
"nameLocation": "-1:-1:-1"
}
],
"unitAlias": ""
},
{
"abstract": true,
"baseContracts": [
{
"baseName": {
"id": 81,
"name": "IERC165",
"nameLocations": [
"687:7:2"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 111,
"src": "687:7:2"
},
"id": 82,
"nodeType": "InheritanceSpecifier",
"src": "687:7:2"
}
],
"canonicalName": "ERC165",
"contractDependencies": [],
"contractKind": "contract",
"documentation": {
"id": 80,
"nodeType": "StructuredDocumentation",
"src": "180:478:2",
"text": " @dev Implementation of the {IERC165} interface.\n Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n for the additional interface id that will be supported. For example:\n ```solidity\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n }\n ```"
},
"fullyImplemented": true,
"id": 99,
"linearizedBaseContracts": [
99,
111
],
"name": "ERC165",
"nameLocation": "677:6:2",
"nodeType": "ContractDefinition",
"nodes": [
{
"baseFunctions": [
110
],
"body": {
"id": 97,
"nodeType": "Block",
"src": "844:64:2",
"statements": [
{
"expression": {
"commonType": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"id": 95,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"id": 90,
"name": "interfaceId",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 85,
"src": "861:11:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"expression": {
"arguments": [
{
"id": 92,
"name": "IERC165",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 111,
"src": "881:7:2",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_IERC165_$111_$",
"typeString": "type(contract IERC165)"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_type$_t_contract$_IERC165_$111_$",
"typeString": "type(contract IERC165)"
}
],
"id": 91,
"name": "type",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4294967269,
"src": "876:4:2",
"typeDescriptions": {
"typeIdentifier": "t_function_metatype_pure$__$returns$__$",
"typeString": "function () pure"
}
},
"id": 93,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "876:13:2",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_magic_meta_type_t_contract$_IERC165_$111",
"typeString": "type(contract IERC165)"
}
},
"id": 94,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"memberLocation": "890:11:2",
"memberName": "interfaceId",
"nodeType": "MemberAccess",
"src": "876:25:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"src": "861:40:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"functionReturnParameters": 89,
"id": 96,
"nodeType": "Return",
"src": "854:47:2"
}
]
},
"documentation": {
"id": 83,
"nodeType": "StructuredDocumentation",
"src": "701:56:2",
"text": " @dev See {IERC165-supportsInterface}."
},
"functionSelector": "01ffc9a7",
"id": 98,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nameLocation": "771:17:2",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 86,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 85,
"mutability": "mutable",
"name": "interfaceId",
"nameLocation": "796:11:2",
"nodeType": "VariableDeclaration",
"scope": 98,
"src": "789:18:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 84,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "789:6:2",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "788:20:2"
},
"returnParameters": {
"id": 89,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 88,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 98,
"src": "838:4:2",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 87,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "838:4:2",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "837:6:2"
},
"scope": 99,
"src": "762:146:2",
"stateMutability": "view",
"virtual": true,
"visibility": "public"
}
],
"scope": 100,
"src": "659:251:2",
"usedErrors": [],
"usedEvents": []
}
],
"src": "114:797:2"
},
"id": 2
},
".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"ast": {
"absolutePath": ".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol",
"exportedSymbols": {
"IERC165": [
111
]
},
"id": 112,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 101,
"literals": [
"solidity",
"^",
"0.8",
".20"
],
"nodeType": "PragmaDirective",
"src": "115:24:3"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IERC165",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 102,
"nodeType": "StructuredDocumentation",
"src": "141:279:3",
"text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}."
},
"fullyImplemented": false,
"id": 111,
"linearizedBaseContracts": [
111
],
"name": "IERC165",
"nameLocation": "431:7:3",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 103,
"nodeType": "StructuredDocumentation",
"src": "445:340:3",
"text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas."
},
"functionSelector": "01ffc9a7",
"id": 110,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nameLocation": "799:17:3",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 106,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 105,
"mutability": "mutable",
"name": "interfaceId",
"nameLocation": "824:11:3",
"nodeType": "VariableDeclaration",
"scope": 110,
"src": "817:18:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 104,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "817:6:3",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"visibility": "internal"
}
],
"src": "816:20:3"
},
"returnParameters": {
"id": 109,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 108,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 110,
"src": "860:4:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 107,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "860:4:3",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "859:6:3"
},
"scope": 111,
"src": "790:76:3",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 112,
"src": "421:447:3",
"usedErrors": [],
"usedEvents": []
}
],
"src": "115:754:3"
},
"id": 3
}
}
}
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"methodIdentifiers": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": "bc197c81",
"onERC1155Received(address,address,uint256,uint256,bytes)": "f23a6e61",
"supportsInterface(bytes4)": "01ffc9a7"
}
},
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155BatchReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.22+commit.4fc1097e"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "ids",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155BatchReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onERC1155Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"details": "_Available since v3.1._",
"kind": "dev",
"methods": {
"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": {
"details": "Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. NOTE: To accept the transfer(s), this must return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` (i.e. 0xbc197c81, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"ids": "An array containing ids of each token being transferred (order and length must match values array)",
"operator": "The address which initiated the batch transfer (i.e. msg.sender)",
"values": "An array containing amounts of each token being transferred (order and length must match ids array)"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed"
}
},
"onERC1155Received(address,address,uint256,uint256,bytes)": {
"details": "Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. NOTE: To accept the transfer, this must return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` (i.e. 0xf23a6e61, or its own function selector).",
"params": {
"data": "Additional data with no specified format",
"from": "The address which previously owned the token",
"id": "The ID of the token being transferred",
"operator": "The address which initiated the transfer (i.e. msg.sender)",
"value": "The amount of tokens being transferred"
},
"returns": {
"_0": "`bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed"
}
},
"supportsInterface(bytes4)": {
"details": "See {IERC165-supportsInterface}."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol": "ERC1155Receiver"
},
"evmVersion": "shanghai",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
".deps/npm/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol": {
"keccak256": "0xb69597a63b202e28401128bed6a6d259e8730191274471af7303eafb247881a3",
"license": "MIT",
"urls": [
"bzz-raw://25addbda49a578b3318130585601344c5149a5549d749adf88e9685349a46b23",
"dweb:/ipfs/Qme2DuD8gpsve1ZvaSMQpBwMdpU7yAtekDwr7gUp8dX4zX"
]
},
".deps/npm/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol": {
"keccak256": "0x3dd5e1a66a56f30302108a1da97d677a42b1daa60e503696b2bcbbf3e4c95bcb",
"license": "MIT",
"urls": [
"bzz-raw://0808de0ae4918c664643c885ca7fa6503e8ef2bd75609dfc85152c0128a3422d",
"dweb:/ipfs/QmNrhFC1XgBKuuxfahFeiwi1MCdu3FLNpHj2uStgmf4iJj"
]
},
".deps/npm/@openzeppelin/contracts/utils/introspection/ERC165.sol": {
"keccak256": "0x9e8778b14317ba9e256c30a76fd6c32b960af621987f56069e1e819c77c6a133",
"license": "MIT",
"urls": [
"bzz-raw://1777404f1dcd0fac188e55a288724ec3c67b45288e49cc64723e95e702b49ab8",
"dweb:/ipfs/QmZFdC626GButBApwDUvvTnUzdinevC3B24d7yyh57XkiA"
]
},
".deps/npm/@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"keccak256": "0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b",
"license": "MIT",
"urls": [
"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df",
"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/utils/ERC1155Holder.sol)
pragma solidity ^0.8.20;
import {IERC165, ERC165} from "../../../utils/introspection/ERC165.sol";
import {IERC1155Receiver} from "../IERC1155Receiver.sol";
/**
* @dev Simple implementation of `IERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
*
* IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
* stuck.
*/
abstract contract ERC1155Holder is ERC165, IERC1155Receiver {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
}
function onERC1155Received(
address,
address,
uint256,
uint256,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155Received.selector;
}
function onERC1155BatchReceived(
address,
address,
uint256[] memory,
uint256[] memory,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155BatchReceived.selector;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)
pragma solidity ^0.8.0;
import "../IERC1155Receiver.sol";
import "../../../utils/introspection/ERC165.sol";
/**
* @dev _Available since v3.1._
*/
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*
* CAUTION: See Security Considerations above.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
/**
* @dev An operation with an ERC20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data);
if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
* a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or
* {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
* a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the address zero.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.20;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be
* reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/utils/ERC721Holder.sol)
pragma solidity ^0.8.20;
import {IERC721Receiver} from "../IERC721Receiver.sol";
/**
* @dev Implementation of the {IERC721Receiver} interface.
*
* Accepts all token transfers.
* Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or
* {IERC721-setApprovalForAll}.
*/
abstract contract ERC721Holder is IERC721Receiver {
/**
* @dev See {IERC721Receiver-onERC721Received}.
*
* Always returns `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(address, address, uint256, bytes memory) public virtual returns (bytes4) {
return this.onERC721Received.selector;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error AddressInsufficientBalance(address account);
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedInnerCall();
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
if (address(this).balance < amount) {
revert AddressInsufficientBalance(address(this));
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert FailedInnerCall();
}
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason or custom error, it is bubbled
* up by this function (like regular Solidity function calls). However, if
* the call reverted with no returned reason, this function reverts with a
* {FailedInnerCall} error.
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
if (address(this).balance < value) {
revert AddressInsufficientBalance(address(this));
}
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
* was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
* unsuccessful call.
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata
) internal view returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
// only check if target is a contract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
if (returndata.length == 0 && target.code.length == 0) {
revert AddressEmptyCode(target);
}
return returndata;
}
}
/**
* @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
* revert reason or with a default {FailedInnerCall} error.
*/
function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
return returndata;
}
}
/**
* @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
*/
function _revert(bytes memory returndata) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert FailedInnerCall();
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
{
"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": {}
}
]
}
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
contract DutchAuction is Initializable, OwnableUpgradeable, ERC1155Holder, ERC721Holder {
using SafeMathUpgradeable for uint256;
using SafeERC20 for IERC20;
struct Auction {
uint256 tokenId;
address tokenContract;
TokenType tokenType;
uint256 amount;
address saleToken;
address seller;
uint256 startPrice;
uint256 reservePrice;
uint256 duration;
uint256 startTime;
bool sold;
}
enum TokenType { erc721, erc1155 }
mapping(uint256 auctionId => Auction) public auctions;
uint256 private nextAuctionId;
uint256 public feePercentage;
address public feeCollector;
error InvalidPercentage();
error InvalidFeeCollector();
error durationCannotBeZero();
error AuctionDoesNotExist();
error TooLate();
error OnlySellerCanCancel();
event AuctionCreated(uint256 auctionId, uint256 tokenId, address indexed tokenContract, TokenType tokenType, address indexed saleToken, address indexed seller, uint256 startPrice, uint256 duration);
event AuctionSuccessful(uint256 auctionId, uint256 totalPrice, address winner);
event AuctionCancelled(uint256 auctionId);
event FeePercentageSet(uint256 feePercentage);
event FeeCollectorSet(address feeCollector);
constructor(address initialOwner) {
initialize(initialOwner);
}
function initialize(address initialOwner) initializer public {
__Ownable_init(initialOwner);
}
function setFeePercentage(uint256 _feePercentage) external onlyOwner {
if (_feePercentage > 100) revert InvalidPercentage();
feePercentage = _feePercentage;
emit FeePercentageSet(_feePercentage);
}
function setFeeCollector(address _feeCollector) external onlyOwner {
if (_feeCollector == feeCollector) revert InvalidFeeCollector();
feeCollector = _feeCollector;
emit FeeCollectorSet(_feeCollector);
}
function createAuction(
uint256 tokenId,
address tokenContract,
TokenType tokenType,
uint256 amount,
address saleToken,
uint256 startPrice,
uint256 reservePrice,
uint256 duration
) external {
if (duration == 0) revert durationCannotBeZero();
uint256 auctionId = nextAuctionId;
auctions[auctionId] = Auction({
tokenId: tokenId,
tokenContract: tokenContract,
tokenType: tokenType,
amount: amount,
saleToken: saleToken,
seller: msg.sender,
startPrice: startPrice,
reservePrice: reservePrice,
duration: duration,
startTime: block.timestamp,
sold: false
});
nextAuctionId++;
if (tokenType == TokenType.erc721) {
IERC721(tokenContract).safeTransferFrom(msg.sender, address(this), tokenId);
} else {
IERC1155(tokenContract).safeTransferFrom(msg.sender, address(this), tokenId, 1, "");
}
emit AuctionCreated(auctionId, tokenId, tokenContract, tokenType, saleToken, msg.sender, startPrice, duration);
}
function buy(uint256 auctionId) external {
Auction storage auction = auctions[auctionId];
if (auction.tokenId == 0) revert AuctionDoesNotExist();
if (auction.sold) revert TooLate();
auction.sold = true;
uint256 currentPrice = getCurrentPrice(auctionId);
uint256 feeAmount = 0;
if (feePercentage != 0) {
feeAmount = currentPrice.mul(feePercentage).div(100);
IERC20(auction.saleToken).safeTransferFrom(msg.sender, feeCollector, feeAmount);
}
IERC20(auction.saleToken).safeTransferFrom(msg.sender, auction.seller, currentPrice - feeAmount);
if (auction.tokenType == TokenType.erc721) {
IERC721(auction.tokenContract).safeTransferFrom(address(this), msg.sender, auction.tokenId);
} else {
IERC1155(auction.tokenContract).safeTransferFrom(address(this), msg.sender, auction.tokenId, auction.amount, "");
}
emit AuctionSuccessful(auctionId, currentPrice, msg.sender);
}
function getCurrentPrice(uint256 auctionId) public view returns (uint256) {
Auction storage auction = auctions[auctionId];
uint256 elapsedTime = block.timestamp.sub(auction.startTime);
if (elapsedTime >= auction.duration) {
return auction.reservePrice;
}
uint256 priceDrop = auction.startPrice.mul(elapsedTime).div(auction.duration);
return auction.startPrice.sub(priceDrop);
}
function cancelAuction(uint256 _auctionId) external onlyOwner {
Auction storage auction = auctions[_auctionId];
if (auction.startTime.add(auction.duration) <= block.timestamp) {
revert("Auction has ended");
}
if (msg.sender != auction.seller) revert OnlySellerCanCancel();
address tokenContract = auction.tokenContract;
TokenType tokenType = auction.tokenType;
address seller = auction.seller;
uint256 tokenId = auction.tokenId;
uint256 amount = auction.amount;
delete auctions[_auctionId];
if (tokenType == TokenType.erc721) {
IERC721(tokenContract).safeTransferFrom(address(this), seller, tokenId);
} else {
IERC1155(tokenContract).safeTransferFrom(address(this), seller, tokenId, amount, "");
}
emit AuctionCancelled(_auctionId);
}
function recoverNativeTokens() external {
payable(feeCollector).transfer(address(this).balance);
}
function recoverERC20(address tokenContract) external {
uint256 amount = IERC20(tokenContract).balanceOf(address(this));
IERC20(tokenContract).safeTransferFrom(address(this), feeCollector, amount);
}
function recoverERC721(address tokenContract, uint256 tokenId) external onlyOwner {
IERC721(tokenContract).safeTransferFrom(address(this), feeCollector, tokenId);
}
function recoverERC1155(address tokenContract, uint256 tokenId, uint256 amount) external onlyOwner {
IERC1155(tokenContract).safeTransferFrom(address(this), feeCollector, tokenId, amount, "");
}
}
View raw

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

This file has been truncated, but you can view the full file.
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_2032": {
"entryPoint": null,
"id": 2032,
"parameterSlots": 1,
"returnSlots": 0
},
"@__Ownable_init_54": {
"entryPoint": 526,
"id": 54,
"parameterSlots": 1,
"returnSlots": 0
},
"@__Ownable_init_unchained_81": {
"entryPoint": 635,
"id": 81,
"parameterSlots": 1,
"returnSlots": 0
},
"@_checkInitializing_370": {
"entryPoint": 562,
"id": 370,
"parameterSlots": 0,
"returnSlots": 0
},
"@_getInitializableStorage_447": {
"entryPoint": 487,
"id": 447,
"parameterSlots": 0,
"returnSlots": 1
},
"@_getOwnableStorage_25": {
"entryPoint": 1041,
"id": 25,
"parameterSlots": 0,
"returnSlots": 1
},
"@_isInitializing_438": {
"entryPoint": 786,
"id": 438,
"parameterSlots": 0,
"returnSlots": 1
},
"@_transferOwnership_193": {
"entryPoint": 824,
"id": 193,
"parameterSlots": 1,
"returnSlots": 0
},
"@initialize_2044": {
"entryPoint": 78,
"id": 2044,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_t_address_fromMemory": {
"entryPoint": 1159,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_fromMemory": {
"entryPoint": 1181,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 1349,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_rational_1_by_1_to_t_uint64_fromStack": {
"entryPoint": 1305,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 1366,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_rational_1_by_1__to_t_uint64__fromStack_reversed": {
"entryPoint": 1322,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 1115,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_rational_1_by_1": {
"entryPoint": 1229,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 1084,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint64": {
"entryPoint": 1238,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_rational_1_by_1_to_t_uint64": {
"entryPoint": 1266,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"identity": {
"entryPoint": 1257,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1080,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 1134,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:2370:17",
"nodeType": "YulBlock",
"src": "0:2370:17",
"statements": [
{
"body": {
"nativeSrc": "47:35:17",
"nodeType": "YulBlock",
"src": "47:35:17",
"statements": [
{
"nativeSrc": "57:19:17",
"nodeType": "YulAssignment",
"src": "57:19:17",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "73:2:17",
"nodeType": "YulLiteral",
"src": "73:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "67:5:17",
"nodeType": "YulIdentifier",
"src": "67:5:17"
},
"nativeSrc": "67:9:17",
"nodeType": "YulFunctionCall",
"src": "67:9:17"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "57:6:17",
"nodeType": "YulIdentifier",
"src": "57:6:17"
}
]
}
]
},
"name": "allocate_unbounded",
"nativeSrc": "7:75:17",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "40:6:17",
"nodeType": "YulTypedName",
"src": "40:6:17",
"type": ""
}
],
"src": "7:75:17"
},
{
"body": {
"nativeSrc": "177:28:17",
"nodeType": "YulBlock",
"src": "177:28:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "194:1:17",
"nodeType": "YulLiteral",
"src": "194:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "197:1:17",
"nodeType": "YulLiteral",
"src": "197:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "187:6:17",
"nodeType": "YulIdentifier",
"src": "187:6:17"
},
"nativeSrc": "187:12:17",
"nodeType": "YulFunctionCall",
"src": "187:12:17"
},
"nativeSrc": "187:12:17",
"nodeType": "YulExpressionStatement",
"src": "187:12:17"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "88:117:17",
"nodeType": "YulFunctionDefinition",
"src": "88:117:17"
},
{
"body": {
"nativeSrc": "300:28:17",
"nodeType": "YulBlock",
"src": "300:28:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "317:1:17",
"nodeType": "YulLiteral",
"src": "317:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "320:1:17",
"nodeType": "YulLiteral",
"src": "320:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "310:6:17",
"nodeType": "YulIdentifier",
"src": "310:6:17"
},
"nativeSrc": "310:12:17",
"nodeType": "YulFunctionCall",
"src": "310:12:17"
},
"nativeSrc": "310:12:17",
"nodeType": "YulExpressionStatement",
"src": "310:12:17"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "211:117:17",
"nodeType": "YulFunctionDefinition",
"src": "211:117:17"
},
{
"body": {
"nativeSrc": "379:81:17",
"nodeType": "YulBlock",
"src": "379:81:17",
"statements": [
{
"nativeSrc": "389:65:17",
"nodeType": "YulAssignment",
"src": "389:65:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "404:5:17",
"nodeType": "YulIdentifier",
"src": "404:5:17"
},
{
"kind": "number",
"nativeSrc": "411:42:17",
"nodeType": "YulLiteral",
"src": "411:42:17",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nativeSrc": "400:3:17",
"nodeType": "YulIdentifier",
"src": "400:3:17"
},
"nativeSrc": "400:54:17",
"nodeType": "YulFunctionCall",
"src": "400:54:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "389:7:17",
"nodeType": "YulIdentifier",
"src": "389:7:17"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nativeSrc": "334:126:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "361:5:17",
"nodeType": "YulTypedName",
"src": "361:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "371:7:17",
"nodeType": "YulTypedName",
"src": "371:7:17",
"type": ""
}
],
"src": "334:126:17"
},
{
"body": {
"nativeSrc": "511:51:17",
"nodeType": "YulBlock",
"src": "511:51:17",
"statements": [
{
"nativeSrc": "521:35:17",
"nodeType": "YulAssignment",
"src": "521:35:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "550:5:17",
"nodeType": "YulIdentifier",
"src": "550:5:17"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nativeSrc": "532:17:17",
"nodeType": "YulIdentifier",
"src": "532:17:17"
},
"nativeSrc": "532:24:17",
"nodeType": "YulFunctionCall",
"src": "532:24:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "521:7:17",
"nodeType": "YulIdentifier",
"src": "521:7:17"
}
]
}
]
},
"name": "cleanup_t_address",
"nativeSrc": "466:96:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "493:5:17",
"nodeType": "YulTypedName",
"src": "493:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "503:7:17",
"nodeType": "YulTypedName",
"src": "503:7:17",
"type": ""
}
],
"src": "466:96:17"
},
{
"body": {
"nativeSrc": "611:79:17",
"nodeType": "YulBlock",
"src": "611:79:17",
"statements": [
{
"body": {
"nativeSrc": "668:16:17",
"nodeType": "YulBlock",
"src": "668:16:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "677:1:17",
"nodeType": "YulLiteral",
"src": "677:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "680:1:17",
"nodeType": "YulLiteral",
"src": "680:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "670:6:17",
"nodeType": "YulIdentifier",
"src": "670:6:17"
},
"nativeSrc": "670:12:17",
"nodeType": "YulFunctionCall",
"src": "670:12:17"
},
"nativeSrc": "670:12:17",
"nodeType": "YulExpressionStatement",
"src": "670:12:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "634:5:17",
"nodeType": "YulIdentifier",
"src": "634:5:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "659:5:17",
"nodeType": "YulIdentifier",
"src": "659:5:17"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "641:17:17",
"nodeType": "YulIdentifier",
"src": "641:17:17"
},
"nativeSrc": "641:24:17",
"nodeType": "YulFunctionCall",
"src": "641:24:17"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "631:2:17",
"nodeType": "YulIdentifier",
"src": "631:2:17"
},
"nativeSrc": "631:35:17",
"nodeType": "YulFunctionCall",
"src": "631:35:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "624:6:17",
"nodeType": "YulIdentifier",
"src": "624:6:17"
},
"nativeSrc": "624:43:17",
"nodeType": "YulFunctionCall",
"src": "624:43:17"
},
"nativeSrc": "621:63:17",
"nodeType": "YulIf",
"src": "621:63:17"
}
]
},
"name": "validator_revert_t_address",
"nativeSrc": "568:122:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "604:5:17",
"nodeType": "YulTypedName",
"src": "604:5:17",
"type": ""
}
],
"src": "568:122:17"
},
{
"body": {
"nativeSrc": "759:80:17",
"nodeType": "YulBlock",
"src": "759:80:17",
"statements": [
{
"nativeSrc": "769:22:17",
"nodeType": "YulAssignment",
"src": "769:22:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "784:6:17",
"nodeType": "YulIdentifier",
"src": "784:6:17"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "778:5:17",
"nodeType": "YulIdentifier",
"src": "778:5:17"
},
"nativeSrc": "778:13:17",
"nodeType": "YulFunctionCall",
"src": "778:13:17"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "769:5:17",
"nodeType": "YulIdentifier",
"src": "769:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "827:5:17",
"nodeType": "YulIdentifier",
"src": "827:5:17"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nativeSrc": "800:26:17",
"nodeType": "YulIdentifier",
"src": "800:26:17"
},
"nativeSrc": "800:33:17",
"nodeType": "YulFunctionCall",
"src": "800:33:17"
},
"nativeSrc": "800:33:17",
"nodeType": "YulExpressionStatement",
"src": "800:33:17"
}
]
},
"name": "abi_decode_t_address_fromMemory",
"nativeSrc": "696:143:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "737:6:17",
"nodeType": "YulTypedName",
"src": "737:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "745:3:17",
"nodeType": "YulTypedName",
"src": "745:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "753:5:17",
"nodeType": "YulTypedName",
"src": "753:5:17",
"type": ""
}
],
"src": "696:143:17"
},
{
"body": {
"nativeSrc": "922:274:17",
"nodeType": "YulBlock",
"src": "922:274:17",
"statements": [
{
"body": {
"nativeSrc": "968:83:17",
"nodeType": "YulBlock",
"src": "968:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "970:77:17",
"nodeType": "YulIdentifier",
"src": "970:77:17"
},
"nativeSrc": "970:79:17",
"nodeType": "YulFunctionCall",
"src": "970:79:17"
},
"nativeSrc": "970:79:17",
"nodeType": "YulExpressionStatement",
"src": "970:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "943:7:17",
"nodeType": "YulIdentifier",
"src": "943:7:17"
},
{
"name": "headStart",
"nativeSrc": "952:9:17",
"nodeType": "YulIdentifier",
"src": "952:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "939:3:17",
"nodeType": "YulIdentifier",
"src": "939:3:17"
},
"nativeSrc": "939:23:17",
"nodeType": "YulFunctionCall",
"src": "939:23:17"
},
{
"kind": "number",
"nativeSrc": "964:2:17",
"nodeType": "YulLiteral",
"src": "964:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "935:3:17",
"nodeType": "YulIdentifier",
"src": "935:3:17"
},
"nativeSrc": "935:32:17",
"nodeType": "YulFunctionCall",
"src": "935:32:17"
},
"nativeSrc": "932:119:17",
"nodeType": "YulIf",
"src": "932:119:17"
},
{
"nativeSrc": "1061:128:17",
"nodeType": "YulBlock",
"src": "1061:128:17",
"statements": [
{
"nativeSrc": "1076:15:17",
"nodeType": "YulVariableDeclaration",
"src": "1076:15:17",
"value": {
"kind": "number",
"nativeSrc": "1090:1:17",
"nodeType": "YulLiteral",
"src": "1090:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "1080:6:17",
"nodeType": "YulTypedName",
"src": "1080:6:17",
"type": ""
}
]
},
{
"nativeSrc": "1105:74:17",
"nodeType": "YulAssignment",
"src": "1105:74:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "1151:9:17",
"nodeType": "YulIdentifier",
"src": "1151:9:17"
},
{
"name": "offset",
"nativeSrc": "1162:6:17",
"nodeType": "YulIdentifier",
"src": "1162:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1147:3:17",
"nodeType": "YulIdentifier",
"src": "1147:3:17"
},
"nativeSrc": "1147:22:17",
"nodeType": "YulFunctionCall",
"src": "1147:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "1171:7:17",
"nodeType": "YulIdentifier",
"src": "1171:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nativeSrc": "1115:31:17",
"nodeType": "YulIdentifier",
"src": "1115:31:17"
},
"nativeSrc": "1115:64:17",
"nodeType": "YulFunctionCall",
"src": "1115:64:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "1105:6:17",
"nodeType": "YulIdentifier",
"src": "1105:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_fromMemory",
"nativeSrc": "845:351:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "892:9:17",
"nodeType": "YulTypedName",
"src": "892:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "903:7:17",
"nodeType": "YulTypedName",
"src": "903:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "915:6:17",
"nodeType": "YulTypedName",
"src": "915:6:17",
"type": ""
}
],
"src": "845:351:17"
},
{
"body": {
"nativeSrc": "1255:32:17",
"nodeType": "YulBlock",
"src": "1255:32:17",
"statements": [
{
"nativeSrc": "1265:16:17",
"nodeType": "YulAssignment",
"src": "1265:16:17",
"value": {
"name": "value",
"nativeSrc": "1276:5:17",
"nodeType": "YulIdentifier",
"src": "1276:5:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1265:7:17",
"nodeType": "YulIdentifier",
"src": "1265:7:17"
}
]
}
]
},
"name": "cleanup_t_rational_1_by_1",
"nativeSrc": "1202:85:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1237:5:17",
"nodeType": "YulTypedName",
"src": "1237:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1247:7:17",
"nodeType": "YulTypedName",
"src": "1247:7:17",
"type": ""
}
],
"src": "1202:85:17"
},
{
"body": {
"nativeSrc": "1337:57:17",
"nodeType": "YulBlock",
"src": "1337:57:17",
"statements": [
{
"nativeSrc": "1347:41:17",
"nodeType": "YulAssignment",
"src": "1347:41:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1362:5:17",
"nodeType": "YulIdentifier",
"src": "1362:5:17"
},
{
"kind": "number",
"nativeSrc": "1369:18:17",
"nodeType": "YulLiteral",
"src": "1369:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nativeSrc": "1358:3:17",
"nodeType": "YulIdentifier",
"src": "1358:3:17"
},
"nativeSrc": "1358:30:17",
"nodeType": "YulFunctionCall",
"src": "1358:30:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1347:7:17",
"nodeType": "YulIdentifier",
"src": "1347:7:17"
}
]
}
]
},
"name": "cleanup_t_uint64",
"nativeSrc": "1293:101:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1319:5:17",
"nodeType": "YulTypedName",
"src": "1319:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1329:7:17",
"nodeType": "YulTypedName",
"src": "1329:7:17",
"type": ""
}
],
"src": "1293:101:17"
},
{
"body": {
"nativeSrc": "1432:28:17",
"nodeType": "YulBlock",
"src": "1432:28:17",
"statements": [
{
"nativeSrc": "1442:12:17",
"nodeType": "YulAssignment",
"src": "1442:12:17",
"value": {
"name": "value",
"nativeSrc": "1449:5:17",
"nodeType": "YulIdentifier",
"src": "1449:5:17"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "1442:3:17",
"nodeType": "YulIdentifier",
"src": "1442:3:17"
}
]
}
]
},
"name": "identity",
"nativeSrc": "1400:60:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1418:5:17",
"nodeType": "YulTypedName",
"src": "1418:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "1428:3:17",
"nodeType": "YulTypedName",
"src": "1428:3:17",
"type": ""
}
],
"src": "1400:60:17"
},
{
"body": {
"nativeSrc": "1533:89:17",
"nodeType": "YulBlock",
"src": "1533:89:17",
"statements": [
{
"nativeSrc": "1543:73:17",
"nodeType": "YulAssignment",
"src": "1543:73:17",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1608:5:17",
"nodeType": "YulIdentifier",
"src": "1608:5:17"
}
],
"functionName": {
"name": "cleanup_t_rational_1_by_1",
"nativeSrc": "1582:25:17",
"nodeType": "YulIdentifier",
"src": "1582:25:17"
},
"nativeSrc": "1582:32:17",
"nodeType": "YulFunctionCall",
"src": "1582:32:17"
}
],
"functionName": {
"name": "identity",
"nativeSrc": "1573:8:17",
"nodeType": "YulIdentifier",
"src": "1573:8:17"
},
"nativeSrc": "1573:42:17",
"nodeType": "YulFunctionCall",
"src": "1573:42:17"
}
],
"functionName": {
"name": "cleanup_t_uint64",
"nativeSrc": "1556:16:17",
"nodeType": "YulIdentifier",
"src": "1556:16:17"
},
"nativeSrc": "1556:60:17",
"nodeType": "YulFunctionCall",
"src": "1556:60:17"
},
"variableNames": [
{
"name": "converted",
"nativeSrc": "1543:9:17",
"nodeType": "YulIdentifier",
"src": "1543:9:17"
}
]
}
]
},
"name": "convert_t_rational_1_by_1_to_t_uint64",
"nativeSrc": "1466:156:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1513:5:17",
"nodeType": "YulTypedName",
"src": "1513:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nativeSrc": "1523:9:17",
"nodeType": "YulTypedName",
"src": "1523:9:17",
"type": ""
}
],
"src": "1466:156:17"
},
{
"body": {
"nativeSrc": "1700:73:17",
"nodeType": "YulBlock",
"src": "1700:73:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "1717:3:17",
"nodeType": "YulIdentifier",
"src": "1717:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "1760:5:17",
"nodeType": "YulIdentifier",
"src": "1760:5:17"
}
],
"functionName": {
"name": "convert_t_rational_1_by_1_to_t_uint64",
"nativeSrc": "1722:37:17",
"nodeType": "YulIdentifier",
"src": "1722:37:17"
},
"nativeSrc": "1722:44:17",
"nodeType": "YulFunctionCall",
"src": "1722:44:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1710:6:17",
"nodeType": "YulIdentifier",
"src": "1710:6:17"
},
"nativeSrc": "1710:57:17",
"nodeType": "YulFunctionCall",
"src": "1710:57:17"
},
"nativeSrc": "1710:57:17",
"nodeType": "YulExpressionStatement",
"src": "1710:57:17"
}
]
},
"name": "abi_encode_t_rational_1_by_1_to_t_uint64_fromStack",
"nativeSrc": "1628:145:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1688:5:17",
"nodeType": "YulTypedName",
"src": "1688:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "1695:3:17",
"nodeType": "YulTypedName",
"src": "1695:3:17",
"type": ""
}
],
"src": "1628:145:17"
},
{
"body": {
"nativeSrc": "1884:131:17",
"nodeType": "YulBlock",
"src": "1884:131:17",
"statements": [
{
"nativeSrc": "1894:26:17",
"nodeType": "YulAssignment",
"src": "1894:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "1906:9:17",
"nodeType": "YulIdentifier",
"src": "1906:9:17"
},
{
"kind": "number",
"nativeSrc": "1917:2:17",
"nodeType": "YulLiteral",
"src": "1917:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1902:3:17",
"nodeType": "YulIdentifier",
"src": "1902:3:17"
},
"nativeSrc": "1902:18:17",
"nodeType": "YulFunctionCall",
"src": "1902:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "1894:4:17",
"nodeType": "YulIdentifier",
"src": "1894:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "1981:6:17",
"nodeType": "YulIdentifier",
"src": "1981:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "1994:9:17",
"nodeType": "YulIdentifier",
"src": "1994:9:17"
},
{
"kind": "number",
"nativeSrc": "2005:1:17",
"nodeType": "YulLiteral",
"src": "2005:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1990:3:17",
"nodeType": "YulIdentifier",
"src": "1990:3:17"
},
"nativeSrc": "1990:17:17",
"nodeType": "YulFunctionCall",
"src": "1990:17:17"
}
],
"functionName": {
"name": "abi_encode_t_rational_1_by_1_to_t_uint64_fromStack",
"nativeSrc": "1930:50:17",
"nodeType": "YulIdentifier",
"src": "1930:50:17"
},
"nativeSrc": "1930:78:17",
"nodeType": "YulFunctionCall",
"src": "1930:78:17"
},
"nativeSrc": "1930:78:17",
"nodeType": "YulExpressionStatement",
"src": "1930:78:17"
}
]
},
"name": "abi_encode_tuple_t_rational_1_by_1__to_t_uint64__fromStack_reversed",
"nativeSrc": "1779:236:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "1856:9:17",
"nodeType": "YulTypedName",
"src": "1856:9:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "1868:6:17",
"nodeType": "YulTypedName",
"src": "1868:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "1879:4:17",
"nodeType": "YulTypedName",
"src": "1879:4:17",
"type": ""
}
],
"src": "1779:236:17"
},
{
"body": {
"nativeSrc": "2086:53:17",
"nodeType": "YulBlock",
"src": "2086:53:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "2103:3:17",
"nodeType": "YulIdentifier",
"src": "2103:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "2126:5:17",
"nodeType": "YulIdentifier",
"src": "2126:5:17"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "2108:17:17",
"nodeType": "YulIdentifier",
"src": "2108:17:17"
},
"nativeSrc": "2108:24:17",
"nodeType": "YulFunctionCall",
"src": "2108:24:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2096:6:17",
"nodeType": "YulIdentifier",
"src": "2096:6:17"
},
"nativeSrc": "2096:37:17",
"nodeType": "YulFunctionCall",
"src": "2096:37:17"
},
"nativeSrc": "2096:37:17",
"nodeType": "YulExpressionStatement",
"src": "2096:37:17"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "2021:118:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "2074:5:17",
"nodeType": "YulTypedName",
"src": "2074:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "2081:3:17",
"nodeType": "YulTypedName",
"src": "2081:3:17",
"type": ""
}
],
"src": "2021:118:17"
},
{
"body": {
"nativeSrc": "2243:124:17",
"nodeType": "YulBlock",
"src": "2243:124:17",
"statements": [
{
"nativeSrc": "2253:26:17",
"nodeType": "YulAssignment",
"src": "2253:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "2265:9:17",
"nodeType": "YulIdentifier",
"src": "2265:9:17"
},
{
"kind": "number",
"nativeSrc": "2276:2:17",
"nodeType": "YulLiteral",
"src": "2276:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2261:3:17",
"nodeType": "YulIdentifier",
"src": "2261:3:17"
},
"nativeSrc": "2261:18:17",
"nodeType": "YulFunctionCall",
"src": "2261:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "2253:4:17",
"nodeType": "YulIdentifier",
"src": "2253:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "2333:6:17",
"nodeType": "YulIdentifier",
"src": "2333:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "2346:9:17",
"nodeType": "YulIdentifier",
"src": "2346:9:17"
},
{
"kind": "number",
"nativeSrc": "2357:1:17",
"nodeType": "YulLiteral",
"src": "2357:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2342:3:17",
"nodeType": "YulIdentifier",
"src": "2342:3:17"
},
"nativeSrc": "2342:17:17",
"nodeType": "YulFunctionCall",
"src": "2342:17:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "2289:43:17",
"nodeType": "YulIdentifier",
"src": "2289:43:17"
},
"nativeSrc": "2289:71:17",
"nodeType": "YulFunctionCall",
"src": "2289:71:17"
},
"nativeSrc": "2289:71:17",
"nodeType": "YulExpressionStatement",
"src": "2289:71:17"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nativeSrc": "2145:222:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "2215:9:17",
"nodeType": "YulTypedName",
"src": "2215:9:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "2227:6:17",
"nodeType": "YulTypedName",
"src": "2227:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "2238:4:17",
"nodeType": "YulTypedName",
"src": "2238:4:17",
"type": ""
}
],
"src": "2145:222:17"
}
]
},
"contents": "{\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_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_rational_1_by_1(value) -> cleaned {\n cleaned := value\n }\n\n function cleanup_t_uint64(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffff)\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_rational_1_by_1_to_t_uint64(value) -> converted {\n converted := cleanup_t_uint64(identity(cleanup_t_rational_1_by_1(value)))\n }\n\n function abi_encode_t_rational_1_by_1_to_t_uint64_fromStack(value, pos) {\n mstore(pos, convert_t_rational_1_by_1_to_t_uint64(value))\n }\n\n function abi_encode_tuple_t_rational_1_by_1__to_t_uint64__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_rational_1_by_1_to_t_uint64_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n}\n",
"id": 17,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "608060405234801562000010575f80fd5b50604051620031173803806200311783398181016040528101906200003691906200049d565b62000047816200004e60201b60201c565b5062000571565b5f6200005f620001e760201b60201c565b90505f815f0160089054906101000a900460ff161590505f825f015f9054906101000a900467ffffffffffffffff1690505f808267ffffffffffffffff16148015620000a85750825b90505f60018367ffffffffffffffff16148015620000dc57505f3073ffffffffffffffffffffffffffffffffffffffff163b145b905081158015620000eb575080155b1562000123576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001855f015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550831562000171576001855f0160086101000a81548160ff0219169083151502179055505b62000182866200020e60201b60201c565b8315620001df575f855f0160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d26001604051620001d691906200052a565b60405180910390a15b505050505050565b5f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b6200021e6200023260201b60201c565b6200022f816200027b60201b60201c565b50565b620002426200031260201b60201c565b62000279576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6200028b6200023260201b60201c565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620002fe575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620002f5919062000556565b60405180910390fd5b6200030f816200033860201b60201c565b50565b5f62000323620001e760201b60201c565b5f0160089054906101000a900460ff16905090565b5f620003496200041160201b60201c565b90505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082825f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050565b5f7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300905090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000467826200043c565b9050919050565b62000479816200045b565b811462000484575f80fd5b50565b5f8151905062000497816200046e565b92915050565b5f60208284031215620004b557620004b462000438565b5b5f620004c48482850162000487565b91505092915050565b5f819050919050565b5f67ffffffffffffffff82169050919050565b5f819050919050565b5f620005126200050c6200050684620004cd565b620004e9565b620004d6565b9050919050565b6200052481620004f2565b82525050565b5f6020820190506200053f5f83018462000519565b92915050565b62000550816200045b565b82525050565b5f6020820190506200056b5f83018462000545565b92915050565b612b98806200057f5f395ff3fe608060405234801561000f575f80fd5b5060043610610135575f3560e01c8063a3b605a0116100b6578063c4d66de81161007a578063c4d66de814610319578063c55d0f5614610335578063cbaa1d9b14610365578063d96a094a14610381578063f23a6e611461039d578063f2fde38b146103cd57610135565b8063a3b605a014610277578063a42dce8014610293578063ae06c1b7146102af578063bc197c81146102cb578063c415b95c146102fb57610135565b8063819d4cc6116100fd578063819d4cc6146101e75780638da5cb5b1461020357806396b5a755146102215780639e8c708e1461023d578063a001ecdd1461025957610135565b806301ffc9a714610139578063150b7a0214610169578063571a26a014610199578063715018a6146101d3578063794af91e146101dd575b5f80fd5b610153600480360381019061014e9190611e0f565b6103e9565b6040516101609190611e54565b60405180910390f35b610183600480360381019061017e9190612036565b610462565b60405161019091906120c5565b60405180910390f35b6101b360048036038101906101ae91906120de565b610475565b6040516101ca9b9a9998979695949392919061219a565b60405180910390f35b6101db610540565b005b6101e5610553565b005b61020160048036038101906101fc9190612243565b6105ba565b005b61020b610651565b6040516102189190612281565b60405180910390f35b61023b600480360381019061023691906120de565b610686565b005b6102576004803603810190610252919061229a565b610a13565b005b610261610ae0565b60405161026e91906122c5565b60405180910390f35b610291600480360381019061028c9190612301565b610ae6565b005b6102ad60048036038101906102a8919061229a565b610ee6565b005b6102c960048036038101906102c491906120de565b610fee565b005b6102e560048036038101906102e09190612476565b611072565b6040516102f291906120c5565b60405180910390f35b610303611086565b6040516103109190612281565b60405180910390f35b610333600480360381019061032e919061229a565b6110ab565b005b61034f600480360381019061034a91906120de565b61122c565b60405161035c91906122c5565b60405180910390f35b61037f600480360381019061037a9190612541565b6112c5565b005b61039b600480360381019061039691906120de565b61135f565b005b6103b760048036038101906103b29190612591565b6116eb565b6040516103c491906120c5565b60405180910390f35b6103e760048036038101906103e2919061229a565b6116ff565b005b5f7f4e2312e0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061045b575061045a82611783565b5b9050919050565b5f63150b7a0260e01b9050949350505050565b5f602052805f5260405f205f91509050805f015490806001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160149054906101000a900460ff1690806002015490806003015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806004015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806005015490806006015490806007015490806008015490806009015f9054906101000a900460ff1690508b565b6105486117ec565b6105515f611873565b565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f193505050501580156105b7573d5f803e3d5ffd5b50565b6105c26117ec565b8173ffffffffffffffffffffffffffffffffffffffff166342842e0e3060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b815260040161062093929190612624565b5f604051808303815f87803b158015610637575f80fd5b505af1158015610649573d5f803e3d5ffd5b505050505050565b5f8061065b611944565b9050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b61068e6117ec565b5f805f8381526020019081526020015f209050426106bd8260070154836008015461196b90919063ffffffff16565b116106fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f4906126b3565b60405180910390fd5b806004015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610785576040517fc855b5ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f8260010160149054906101000a900460ff1690505f836004015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f845f015490505f856002015490505f808881526020019081526020015f205f8082015f9055600182015f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160146101000a81549060ff0219169055600282015f9055600382015f6101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600482015f6101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600582015f9055600682015f9055600782015f9055600882015f9055600982015f6101000a81549060ff021916905550505f60018111156108df576108de612127565b5b8460018111156108f2576108f1612127565b5b03610966578473ffffffffffffffffffffffffffffffffffffffff166342842e0e3085856040518463ffffffff1660e01b815260040161093493929190612624565b5f604051808303815f87803b15801561094b575f80fd5b505af115801561095d573d5f803e3d5ffd5b505050506109d3565b8473ffffffffffffffffffffffffffffffffffffffff1663f242432a308585856040518563ffffffff1660e01b81526004016109a59493929190612704565b5f604051808303815f87803b1580156109bc575f80fd5b505af11580156109ce573d5f803e3d5ffd5b505050505b7f2809c7e17bf978fbc7194c0a694b638c4215e9140cacc6c38ca36010b45697df87604051610a0291906122c5565b60405180910390a150505050505050565b5f8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a4d9190612281565b602060405180830381865afa158015610a68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8c919061276e565b9050610adc3060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838573ffffffffffffffffffffffffffffffffffffffff16611980909392919063ffffffff16565b5050565b60025481565b5f8103610b1f576040517f36d0f62800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60015490506040518061016001604052808a81526020018973ffffffffffffffffffffffffffffffffffffffff168152602001886001811115610b6657610b65612127565b5b81526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020014281526020015f15158152505f808381526020019081526020015f205f820151815f01556020820151816001015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548160ff02191690836001811115610c5057610c4f612127565b5b0217905550606082015181600201556080820151816003015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a0820151816004015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816005015560e0820151816006015561010082015181600701556101208201518160080155610140820151816009015f6101000a81548160ff02191690831515021790555090505060015f815480929190610d4a906127c6565b91905055505f6001811115610d6257610d61612127565b5b876001811115610d7557610d74612127565b5b03610de9578773ffffffffffffffffffffffffffffffffffffffff166342842e0e33308c6040518463ffffffff1660e01b8152600401610db793929190612624565b5f604051808303815f87803b158015610dce575f80fd5b505af1158015610de0573d5f803e3d5ffd5b50505050610e57565b8773ffffffffffffffffffffffffffffffffffffffff1663f242432a33308c60016040518563ffffffff1660e01b8152600401610e29949392919061284f565b5f604051808303815f87803b158015610e40575f80fd5b505af1158015610e52573d5f803e3d5ffd5b505050505b3373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f0d7563f1fe6ab0d595ff6942193b0a84d4329634ec8674a835b1c91ee5b519a7848d8c8a89604051610ed39594939291906128a5565b60405180910390a4505050505050505050565b610eee6117ec565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f74576040517fbb0bac9900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f12e1d17016b94668449f97876f4a8d5cc2c19f314db337418894734037cc19d481604051610fe39190612281565b60405180910390a150565b610ff66117ec565b6064811115611031576040517f1f3b85d300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806002819055507ffdb174bbb157048e9f3962e375891bace08d9741796e3288bf79ab8ccd1dfa208160405161106791906122c5565b60405180910390a150565b5f63bc197c8160e01b905095945050505050565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6110b4611a02565b90505f815f0160089054906101000a900460ff161590505f825f015f9054906101000a900467ffffffffffffffff1690505f808267ffffffffffffffff161480156110fc5750825b90505f60018367ffffffffffffffff1614801561112f57505f3073ffffffffffffffffffffffffffffffffffffffff163b145b90508115801561113d575080155b15611174576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001855f015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083156111c1576001855f0160086101000a81548160ff0219169083151502179055505b6111ca86611a29565b8315611224575f855f0160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2600160405161121b9190612939565b60405180910390a15b505050505050565b5f805f808481526020019081526020015f2090505f611258826008015442611a3d90919063ffffffff16565b905081600701548110611273578160060154925050506112c0565b5f6112a18360070154611293848660050154611a5290919063ffffffff16565b611a6790919063ffffffff16565b90506112ba818460050154611a3d90919063ffffffff16565b93505050505b919050565b6112cd6117ec565b8273ffffffffffffffffffffffffffffffffffffffff1663f242432a3060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685856040518563ffffffff1660e01b815260040161132d9493929190612704565b5f604051808303815f87803b158015611344575f80fd5b505af1158015611356573d5f803e3d5ffd5b50505050505050565b5f805f8381526020019081526020015f2090505f815f0154036113ae576040517fe6759c6700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806009015f9054906101000a900460ff16156113f6576040517fecdd1c2900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001816009015f6101000a81548160ff0219169083151502179055505f61141c8361122c565b90505f80600254146114c457611450606461144260025485611a5290919063ffffffff16565b611a6790919063ffffffff16565b90506114c33360035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683866003015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611980909392919063ffffffff16565b5b61154233846004015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683856114f89190612952565b866003015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611980909392919063ffffffff16565b5f600181111561155557611554612127565b5b8360010160149054906101000a900460ff16600181111561157957611578612127565b5b0361161357826001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3033865f01546040518463ffffffff1660e01b81526004016115e193929190612624565b5f604051808303815f87803b1580156115f8575f80fd5b505af115801561160a573d5f803e3d5ffd5b505050506116aa565b826001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3033865f015487600201546040518563ffffffff1660e01b815260040161167c9493929190612704565b5f604051808303815f87803b158015611693575f80fd5b505af11580156116a5573d5f803e3d5ffd5b505050505b7f4fcc30d90a842164dd58501ab874a101a3749c3d4747139cefe7c876f4ccebd28483336040516116dd93929190612985565b60405180910390a150505050565b5f63f23a6e6160e01b905095945050505050565b6117076117ec565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611777575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161176e9190612281565b60405180910390fd5b61178081611873565b50565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6117f4611a7c565b73ffffffffffffffffffffffffffffffffffffffff16611812610651565b73ffffffffffffffffffffffffffffffffffffffff161461187157611835611a7c565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016118689190612281565b60405180910390fd5b565b5f61187c611944565b90505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082825f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050565b5f7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300905090565b5f818361197891906129ba565b905092915050565b6119fc848573ffffffffffffffffffffffffffffffffffffffff166323b872dd8686866040516024016119b593929190612624565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a83565b50505050565b5f7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b611a31611b18565b611a3a81611b58565b50565b5f8183611a4a9190612952565b905092915050565b5f8183611a5f91906129ed565b905092915050565b5f8183611a749190612a5b565b905092915050565b5f33905090565b5f611aad828473ffffffffffffffffffffffffffffffffffffffff16611bdc90919063ffffffff16565b90505f815114158015611ad1575080806020019051810190611acf9190612ab5565b155b15611b1357826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611b0a9190612281565b60405180910390fd5b505050565b611b20611bf1565b611b56576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b611b60611b18565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bd0575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611bc79190612281565b60405180910390fd5b611bd981611873565b50565b6060611be983835f611c0f565b905092915050565b5f611bfa611a02565b5f0160089054906101000a900460ff16905090565b606081471015611c5657306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401611c4d9190612281565b60405180910390fd5b5f808573ffffffffffffffffffffffffffffffffffffffff168486604051611c7e9190612b4c565b5f6040518083038185875af1925050503d805f8114611cb8576040519150601f19603f3d011682016040523d82523d5f602084013e611cbd565b606091505b5091509150611ccd868383611cd8565b925050509392505050565b606082611ced57611ce882611d65565b611d5d565b5f8251148015611d1357505f8473ffffffffffffffffffffffffffffffffffffffff163b145b15611d5557836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401611d4c9190612281565b60405180910390fd5b819050611d5e565b5b9392505050565b5f81511115611d775780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611dee81611dba565b8114611df8575f80fd5b50565b5f81359050611e0981611de5565b92915050565b5f60208284031215611e2457611e23611db2565b5b5f611e3184828501611dfb565b91505092915050565b5f8115159050919050565b611e4e81611e3a565b82525050565b5f602082019050611e675f830184611e45565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611e9682611e6d565b9050919050565b611ea681611e8c565b8114611eb0575f80fd5b50565b5f81359050611ec181611e9d565b92915050565b5f819050919050565b611ed981611ec7565b8114611ee3575f80fd5b50565b5f81359050611ef481611ed0565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611f4882611f02565b810181811067ffffffffffffffff82111715611f6757611f66611f12565b5b80604052505050565b5f611f79611da9565b9050611f858282611f3f565b919050565b5f67ffffffffffffffff821115611fa457611fa3611f12565b5b611fad82611f02565b9050602081019050919050565b828183375f83830152505050565b5f611fda611fd584611f8a565b611f70565b905082815260208101848484011115611ff657611ff5611efe565b5b612001848285611fba565b509392505050565b5f82601f83011261201d5761201c611efa565b5b813561202d848260208601611fc8565b91505092915050565b5f805f806080858703121561204e5761204d611db2565b5b5f61205b87828801611eb3565b945050602061206c87828801611eb3565b935050604061207d87828801611ee6565b925050606085013567ffffffffffffffff81111561209e5761209d611db6565b5b6120aa87828801612009565b91505092959194509250565b6120bf81611dba565b82525050565b5f6020820190506120d85f8301846120b6565b92915050565b5f602082840312156120f3576120f2611db2565b5b5f61210084828501611ee6565b91505092915050565b61211281611ec7565b82525050565b61212181611e8c565b82525050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b6002811061216557612164612127565b5b50565b5f81905061217582612154565b919050565b5f61218482612168565b9050919050565b6121948161217a565b82525050565b5f610160820190506121ae5f83018e612109565b6121bb602083018d612118565b6121c8604083018c61218b565b6121d5606083018b612109565b6121e2608083018a612118565b6121ef60a0830189612118565b6121fc60c0830188612109565b61220960e0830187612109565b612217610100830186612109565b612225610120830185612109565b612233610140830184611e45565b9c9b505050505050505050505050565b5f806040838503121561225957612258611db2565b5b5f61226685828601611eb3565b925050602061227785828601611ee6565b9150509250929050565b5f6020820190506122945f830184612118565b92915050565b5f602082840312156122af576122ae611db2565b5b5f6122bc84828501611eb3565b91505092915050565b5f6020820190506122d85f830184612109565b92915050565b600281106122ea575f80fd5b50565b5f813590506122fb816122de565b92915050565b5f805f805f805f80610100898b03121561231e5761231d611db2565b5b5f61232b8b828c01611ee6565b985050602061233c8b828c01611eb3565b975050604061234d8b828c016122ed565b965050606061235e8b828c01611ee6565b955050608061236f8b828c01611eb3565b94505060a06123808b828c01611ee6565b93505060c06123918b828c01611ee6565b92505060e06123a28b828c01611ee6565b9150509295985092959890939650565b5f67ffffffffffffffff8211156123cc576123cb611f12565b5b602082029050602081019050919050565b5f80fd5b5f6123f36123ee846123b2565b611f70565b90508083825260208201905060208402830185811115612416576124156123dd565b5b835b8181101561243f578061242b8882611ee6565b845260208401935050602081019050612418565b5050509392505050565b5f82601f83011261245d5761245c611efa565b5b813561246d8482602086016123e1565b91505092915050565b5f805f805f60a0868803121561248f5761248e611db2565b5b5f61249c88828901611eb3565b95505060206124ad88828901611eb3565b945050604086013567ffffffffffffffff8111156124ce576124cd611db6565b5b6124da88828901612449565b935050606086013567ffffffffffffffff8111156124fb576124fa611db6565b5b61250788828901612449565b925050608086013567ffffffffffffffff81111561252857612527611db6565b5b61253488828901612009565b9150509295509295909350565b5f805f6060848603121561255857612557611db2565b5b5f61256586828701611eb3565b935050602061257686828701611ee6565b925050604061258786828701611ee6565b9150509250925092565b5f805f805f60a086880312156125aa576125a9611db2565b5b5f6125b788828901611eb3565b95505060206125c888828901611eb3565b94505060406125d988828901611ee6565b93505060606125ea88828901611ee6565b925050608086013567ffffffffffffffff81111561260b5761260a611db6565b5b61261788828901612009565b9150509295509295909350565b5f6060820190506126375f830186612118565b6126446020830185612118565b6126516040830184612109565b949350505050565b5f82825260208201905092915050565b7f41756374696f6e2068617320656e6465640000000000000000000000000000005f82015250565b5f61269d601183612659565b91506126a882612669565b602082019050919050565b5f6020820190508181035f8301526126ca81612691565b9050919050565b5f82825260208201905092915050565b50565b5f6126ef5f836126d1565b91506126fa826126e1565b5f82019050919050565b5f60a0820190506127175f830187612118565b6127246020830186612118565b6127316040830185612109565b61273e6060830184612109565b818103608083015261274f816126e4565b905095945050505050565b5f8151905061276881611ed0565b92915050565b5f6020828403121561278357612782611db2565b5b5f6127908482850161275a565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6127d082611ec7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361280257612801612799565b5b600182019050919050565b5f819050919050565b5f819050919050565b5f61283961283461282f8461280d565b612816565b611ec7565b9050919050565b6128498161281f565b82525050565b5f60a0820190506128625f830187612118565b61286f6020830186612118565b61287c6040830185612109565b6128896060830184612840565b818103608083015261289a816126e4565b905095945050505050565b5f60a0820190506128b85f830188612109565b6128c56020830187612109565b6128d2604083018661218b565b6128df6060830185612109565b6128ec6080830184612109565b9695505050505050565b5f67ffffffffffffffff82169050919050565b5f61292361291e6129198461280d565b612816565b6128f6565b9050919050565b61293381612909565b82525050565b5f60208201905061294c5f83018461292a565b92915050565b5f61295c82611ec7565b915061296783611ec7565b925082820390508181111561297f5761297e612799565b5b92915050565b5f6060820190506129985f830186612109565b6129a56020830185612109565b6129b26040830184612118565b949350505050565b5f6129c482611ec7565b91506129cf83611ec7565b92508282019050808211156129e7576129e6612799565b5b92915050565b5f6129f782611ec7565b9150612a0283611ec7565b9250828202612a1081611ec7565b91508282048414831517612a2757612a26612799565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612a6582611ec7565b9150612a7083611ec7565b925082612a8057612a7f612a2e565b5b828204905092915050565b612a9481611e3a565b8114612a9e575f80fd5b50565b5f81519050612aaf81612a8b565b92915050565b5f60208284031215612aca57612ac9611db2565b5b5f612ad784828501612aa1565b91505092915050565b5f81519050919050565b5f81905092915050565b5f5b83811015612b11578082015181840152602081019050612af6565b5f8484015250505050565b5f612b2682612ae0565b612b308185612aea565b9350612b40818560208601612af4565b80840191505092915050565b5f612b578284612b1c565b91508190509291505056fea2646970667358221220c80181708cd9e344747f06e555dd1492d7ca05d53e526dfe468de66f83b9009964736f6c63430008160033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x10 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x3117 CODESIZE SUB DUP1 PUSH3 0x3117 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH3 0x36 SWAP2 SWAP1 PUSH3 0x49D JUMP JUMPDEST PUSH3 0x47 DUP2 PUSH3 0x4E PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP PUSH3 0x571 JUMP JUMPDEST PUSH0 PUSH3 0x5F PUSH3 0x1E7 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST SWAP1 POP PUSH0 DUP2 PUSH0 ADD PUSH1 0x8 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO SWAP1 POP PUSH0 DUP3 PUSH0 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH8 0xFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH0 DUP1 DUP3 PUSH8 0xFFFFFFFFFFFFFFFF AND EQ DUP1 ISZERO PUSH3 0xA8 JUMPI POP DUP3 JUMPDEST SWAP1 POP PUSH0 PUSH1 0x1 DUP4 PUSH8 0xFFFFFFFFFFFFFFFF AND EQ DUP1 ISZERO PUSH3 0xDC JUMPI POP PUSH0 ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE EQ JUMPDEST SWAP1 POP DUP2 ISZERO DUP1 ISZERO PUSH3 0xEB JUMPI POP DUP1 ISZERO JUMPDEST ISZERO PUSH3 0x123 JUMPI PUSH1 0x40 MLOAD PUSH32 0xF92EE8A900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP6 PUSH0 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH8 0xFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH8 0xFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP4 ISZERO PUSH3 0x171 JUMPI PUSH1 0x1 DUP6 PUSH0 ADD PUSH1 0x8 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP JUMPDEST PUSH3 0x182 DUP7 PUSH3 0x20E PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST DUP4 ISZERO PUSH3 0x1DF JUMPI PUSH0 DUP6 PUSH0 ADD PUSH1 0x8 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP PUSH32 0xC7F505B2F371AE2175EE4913F4499E1F2633A7B5936321EED1CDAEB6115181D2 PUSH1 0x1 PUSH1 0x40 MLOAD PUSH3 0x1D6 SWAP2 SWAP1 PUSH3 0x52A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH0 PUSH32 0xF0C57E16840DF040F15088DC2F81FE391C3923BEC73E23A9662EFC9C229C6A00 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH3 0x21E PUSH3 0x232 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x22F DUP2 PUSH3 0x27B PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP JUMP JUMPDEST PUSH3 0x242 PUSH3 0x312 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x279 JUMPI PUSH1 0x40 MLOAD PUSH32 0xD7E6BCF800000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH3 0x28B PUSH3 0x232 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH3 0x2FE JUMPI PUSH0 PUSH1 0x40 MLOAD PUSH32 0x1E4FBDF700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x2F5 SWAP2 SWAP1 PUSH3 0x556 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH3 0x30F DUP2 PUSH3 0x338 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP JUMP JUMPDEST PUSH0 PUSH3 0x323 PUSH3 0x1E7 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH0 ADD PUSH1 0x8 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 PUSH3 0x349 PUSH3 0x411 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST SWAP1 POP PUSH0 DUP2 PUSH0 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP3 DUP3 PUSH0 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH0 PUSH32 0x9016D09D72D40FDAE2FD8CEAC6B6234C7706214FD39C1CD1E609A0528C199300 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH3 0x467 DUP3 PUSH3 0x43C JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x479 DUP2 PUSH3 0x45B JUMP JUMPDEST DUP2 EQ PUSH3 0x484 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP PUSH3 0x497 DUP2 PUSH3 0x46E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x4B5 JUMPI PUSH3 0x4B4 PUSH3 0x438 JUMP JUMPDEST JUMPDEST PUSH0 PUSH3 0x4C4 DUP5 DUP3 DUP6 ADD PUSH3 0x487 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH3 0x512 PUSH3 0x50C PUSH3 0x506 DUP5 PUSH3 0x4CD JUMP JUMPDEST PUSH3 0x4E9 JUMP JUMPDEST PUSH3 0x4D6 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x524 DUP2 PUSH3 0x4F2 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH3 0x53F PUSH0 DUP4 ADD DUP5 PUSH3 0x519 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH3 0x550 DUP2 PUSH3 0x45B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH3 0x56B PUSH0 DUP4 ADD DUP5 PUSH3 0x545 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x2B98 DUP1 PUSH3 0x57F 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 0x135 JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA3B605A0 GT PUSH2 0xB6 JUMPI DUP1 PUSH4 0xC4D66DE8 GT PUSH2 0x7A JUMPI DUP1 PUSH4 0xC4D66DE8 EQ PUSH2 0x319 JUMPI DUP1 PUSH4 0xC55D0F56 EQ PUSH2 0x335 JUMPI DUP1 PUSH4 0xCBAA1D9B EQ PUSH2 0x365 JUMPI DUP1 PUSH4 0xD96A094A EQ PUSH2 0x381 JUMPI DUP1 PUSH4 0xF23A6E61 EQ PUSH2 0x39D JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x3CD JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0xA3B605A0 EQ PUSH2 0x277 JUMPI DUP1 PUSH4 0xA42DCE80 EQ PUSH2 0x293 JUMPI DUP1 PUSH4 0xAE06C1B7 EQ PUSH2 0x2AF JUMPI DUP1 PUSH4 0xBC197C81 EQ PUSH2 0x2CB JUMPI DUP1 PUSH4 0xC415B95C EQ PUSH2 0x2FB JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x819D4CC6 GT PUSH2 0xFD JUMPI DUP1 PUSH4 0x819D4CC6 EQ PUSH2 0x1E7 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x203 JUMPI DUP1 PUSH4 0x96B5A755 EQ PUSH2 0x221 JUMPI DUP1 PUSH4 0x9E8C708E EQ PUSH2 0x23D JUMPI DUP1 PUSH4 0xA001ECDD EQ PUSH2 0x259 JUMPI PUSH2 0x135 JUMP JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x139 JUMPI DUP1 PUSH4 0x150B7A02 EQ PUSH2 0x169 JUMPI DUP1 PUSH4 0x571A26A0 EQ PUSH2 0x199 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x1D3 JUMPI DUP1 PUSH4 0x794AF91E EQ PUSH2 0x1DD JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x153 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x14E SWAP2 SWAP1 PUSH2 0x1E0F JUMP JUMPDEST PUSH2 0x3E9 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x160 SWAP2 SWAP1 PUSH2 0x1E54 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x183 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x17E SWAP2 SWAP1 PUSH2 0x2036 JUMP JUMPDEST PUSH2 0x462 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x190 SWAP2 SWAP1 PUSH2 0x20C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1B3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1AE SWAP2 SWAP1 PUSH2 0x20DE JUMP JUMPDEST PUSH2 0x475 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CA SWAP12 SWAP11 SWAP10 SWAP9 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x219A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1DB PUSH2 0x540 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1E5 PUSH2 0x553 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x201 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1FC SWAP2 SWAP1 PUSH2 0x2243 JUMP JUMPDEST PUSH2 0x5BA JUMP JUMPDEST STOP JUMPDEST PUSH2 0x20B PUSH2 0x651 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x218 SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x23B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x236 SWAP2 SWAP1 PUSH2 0x20DE JUMP JUMPDEST PUSH2 0x686 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x257 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x252 SWAP2 SWAP1 PUSH2 0x229A JUMP JUMPDEST PUSH2 0xA13 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x261 PUSH2 0xAE0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x26E SWAP2 SWAP1 PUSH2 0x22C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x291 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x28C SWAP2 SWAP1 PUSH2 0x2301 JUMP JUMPDEST PUSH2 0xAE6 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2AD PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2A8 SWAP2 SWAP1 PUSH2 0x229A JUMP JUMPDEST PUSH2 0xEE6 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2C9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2C4 SWAP2 SWAP1 PUSH2 0x20DE JUMP JUMPDEST PUSH2 0xFEE JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2E5 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2E0 SWAP2 SWAP1 PUSH2 0x2476 JUMP JUMPDEST PUSH2 0x1072 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2F2 SWAP2 SWAP1 PUSH2 0x20C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x303 PUSH2 0x1086 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x310 SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x333 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x32E SWAP2 SWAP1 PUSH2 0x229A JUMP JUMPDEST PUSH2 0x10AB JUMP JUMPDEST STOP JUMPDEST PUSH2 0x34F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x34A SWAP2 SWAP1 PUSH2 0x20DE JUMP JUMPDEST PUSH2 0x122C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x35C SWAP2 SWAP1 PUSH2 0x22C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x37F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x37A SWAP2 SWAP1 PUSH2 0x2541 JUMP JUMPDEST PUSH2 0x12C5 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x39B PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x396 SWAP2 SWAP1 PUSH2 0x20DE JUMP JUMPDEST PUSH2 0x135F JUMP JUMPDEST STOP JUMPDEST PUSH2 0x3B7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x3B2 SWAP2 SWAP1 PUSH2 0x2591 JUMP JUMPDEST PUSH2 0x16EB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x3C4 SWAP2 SWAP1 PUSH2 0x20C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x3E7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x3E2 SWAP2 SWAP1 PUSH2 0x229A JUMP JUMPDEST PUSH2 0x16FF JUMP JUMPDEST STOP JUMPDEST PUSH0 PUSH32 0x4E2312E000000000000000000000000000000000000000000000000000000000 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP3 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND EQ DUP1 PUSH2 0x45B JUMPI POP PUSH2 0x45A DUP3 PUSH2 0x1783 JUMP JUMPDEST JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH4 0x150B7A02 PUSH1 0xE0 SHL SWAP1 POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 MSTORE DUP1 PUSH0 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH0 SWAP2 POP SWAP1 POP DUP1 PUSH0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP1 PUSH1 0x1 ADD PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 DUP1 PUSH1 0x2 ADD SLOAD SWAP1 DUP1 PUSH1 0x3 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP1 PUSH1 0x4 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP1 PUSH1 0x5 ADD SLOAD SWAP1 DUP1 PUSH1 0x6 ADD SLOAD SWAP1 DUP1 PUSH1 0x7 ADD SLOAD SWAP1 DUP1 PUSH1 0x8 ADD SLOAD SWAP1 DUP1 PUSH1 0x9 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP DUP12 JUMP JUMPDEST PUSH2 0x548 PUSH2 0x17EC JUMP JUMPDEST PUSH2 0x551 PUSH0 PUSH2 0x1873 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x3 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x8FC SELFBALANCE SWAP1 DUP2 ISZERO MUL SWAP1 PUSH1 0x40 MLOAD PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO DUP1 ISZERO PUSH2 0x5B7 JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x5C2 PUSH2 0x17EC JUMP JUMPDEST DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x42842E0E ADDRESS PUSH1 0x3 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x620 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2624 JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x637 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x649 JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH2 0x65B PUSH2 0x1944 JUMP JUMPDEST SWAP1 POP DUP1 PUSH0 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH2 0x68E PUSH2 0x17EC JUMP JUMPDEST PUSH0 DUP1 PUSH0 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 SWAP1 POP TIMESTAMP PUSH2 0x6BD DUP3 PUSH1 0x7 ADD SLOAD DUP4 PUSH1 0x8 ADD SLOAD PUSH2 0x196B SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST GT PUSH2 0x6FD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6F4 SWAP1 PUSH2 0x26B3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x4 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x785 JUMPI PUSH1 0x40 MLOAD PUSH32 0xC855B5EE00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH0 DUP2 PUSH1 0x1 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH0 DUP3 PUSH1 0x1 ADD PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP PUSH0 DUP4 PUSH1 0x4 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH0 DUP5 PUSH0 ADD SLOAD SWAP1 POP PUSH0 DUP6 PUSH1 0x2 ADD SLOAD SWAP1 POP PUSH0 DUP1 DUP9 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 DUP1 DUP3 ADD PUSH0 SWAP1 SSTORE PUSH1 0x1 DUP3 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 SSTORE PUSH1 0x1 DUP3 ADD PUSH1 0x14 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH1 0xFF MUL NOT AND SWAP1 SSTORE PUSH1 0x2 DUP3 ADD PUSH0 SWAP1 SSTORE PUSH1 0x3 DUP3 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 SSTORE PUSH1 0x4 DUP3 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 SSTORE PUSH1 0x5 DUP3 ADD PUSH0 SWAP1 SSTORE PUSH1 0x6 DUP3 ADD PUSH0 SWAP1 SSTORE PUSH1 0x7 DUP3 ADD PUSH0 SWAP1 SSTORE PUSH1 0x8 DUP3 ADD PUSH0 SWAP1 SSTORE PUSH1 0x9 DUP3 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH1 0xFF MUL NOT AND SWAP1 SSTORE POP POP PUSH0 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x8DF JUMPI PUSH2 0x8DE PUSH2 0x2127 JUMP JUMPDEST JUMPDEST DUP5 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x8F2 JUMPI PUSH2 0x8F1 PUSH2 0x2127 JUMP JUMPDEST JUMPDEST SUB PUSH2 0x966 JUMPI DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x42842E0E ADDRESS DUP6 DUP6 PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x934 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2624 JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x94B JUMPI PUSH0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x95D JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP PUSH2 0x9D3 JUMP JUMPDEST DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xF242432A ADDRESS DUP6 DUP6 DUP6 PUSH1 0x40 MLOAD DUP6 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9A5 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2704 JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x9BC JUMPI PUSH0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x9CE JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP JUMPDEST PUSH32 0x2809C7E17BF978FBC7194C0A694B638C4215E9140CACC6C38CA36010B45697DF DUP8 PUSH1 0x40 MLOAD PUSH2 0xA02 SWAP2 SWAP1 PUSH2 0x22C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x70A08231 ADDRESS PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA4D SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA68 JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA8C SWAP2 SWAP1 PUSH2 0x276E JUMP JUMPDEST SWAP1 POP PUSH2 0xADC ADDRESS PUSH1 0x3 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1980 SWAP1 SWAP4 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD DUP2 JUMP JUMPDEST PUSH0 DUP2 SUB PUSH2 0xB1F JUMPI PUSH1 0x40 MLOAD PUSH32 0x36D0F62800000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH0 PUSH1 0x1 SLOAD SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH2 0x160 ADD PUSH1 0x40 MSTORE DUP1 DUP11 DUP2 MSTORE PUSH1 0x20 ADD DUP10 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0xB66 JUMPI PUSH2 0xB65 PUSH2 0x2127 JUMP JUMPDEST JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD DUP8 DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD TIMESTAMP DUP2 MSTORE PUSH1 0x20 ADD PUSH0 ISZERO ISZERO DUP2 MSTORE POP PUSH0 DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 DUP3 ADD MLOAD DUP2 PUSH0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x40 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD PUSH1 0x14 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0xC50 JUMPI PUSH2 0xC4F PUSH2 0x2127 JUMP JUMPDEST JUMPDEST MUL OR SWAP1 SSTORE POP PUSH1 0x60 DUP3 ADD MLOAD DUP2 PUSH1 0x2 ADD SSTORE PUSH1 0x80 DUP3 ADD MLOAD DUP2 PUSH1 0x3 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0xA0 DUP3 ADD MLOAD DUP2 PUSH1 0x4 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0xC0 DUP3 ADD MLOAD DUP2 PUSH1 0x5 ADD SSTORE PUSH1 0xE0 DUP3 ADD MLOAD DUP2 PUSH1 0x6 ADD SSTORE PUSH2 0x100 DUP3 ADD MLOAD DUP2 PUSH1 0x7 ADD SSTORE PUSH2 0x120 DUP3 ADD MLOAD DUP2 PUSH1 0x8 ADD SSTORE PUSH2 0x140 DUP3 ADD MLOAD DUP2 PUSH1 0x9 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP SWAP1 POP POP PUSH1 0x1 PUSH0 DUP2 SLOAD DUP1 SWAP3 SWAP2 SWAP1 PUSH2 0xD4A SWAP1 PUSH2 0x27C6 JUMP JUMPDEST SWAP2 SWAP1 POP SSTORE POP PUSH0 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0xD62 JUMPI PUSH2 0xD61 PUSH2 0x2127 JUMP JUMPDEST JUMPDEST DUP8 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0xD75 JUMPI PUSH2 0xD74 PUSH2 0x2127 JUMP JUMPDEST JUMPDEST SUB PUSH2 0xDE9 JUMPI DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x42842E0E CALLER ADDRESS DUP13 PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDB7 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2624 JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDCE JUMPI PUSH0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xDE0 JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP PUSH2 0xE57 JUMP JUMPDEST DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xF242432A CALLER ADDRESS DUP13 PUSH1 0x1 PUSH1 0x40 MLOAD DUP6 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE29 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x284F JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE40 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xE52 JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP10 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xD7563F1FE6AB0D595FF6942193B0A84D4329634EC8674A835B1C91EE5B519A7 DUP5 DUP14 DUP13 DUP11 DUP10 PUSH1 0x40 MLOAD PUSH2 0xED3 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x28A5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0xEEE PUSH2 0x17EC JUMP JUMPDEST PUSH1 0x3 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xF74 JUMPI PUSH1 0x40 MLOAD PUSH32 0xBB0BAC9900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x3 PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x12E1D17016B94668449F97876F4A8D5CC2C19F314DB337418894734037CC19D4 DUP2 PUSH1 0x40 MLOAD PUSH2 0xFE3 SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH2 0xFF6 PUSH2 0x17EC JUMP JUMPDEST PUSH1 0x64 DUP2 GT ISZERO PUSH2 0x1031 JUMPI PUSH1 0x40 MLOAD PUSH32 0x1F3B85D300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x2 DUP2 SWAP1 SSTORE POP PUSH32 0xFDB174BBB157048E9F3962E375891BACE08D9741796E3288BF79AB8CCD1DFA20 DUP2 PUSH1 0x40 MLOAD PUSH2 0x1067 SWAP2 SWAP1 PUSH2 0x22C5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH0 PUSH4 0xBC197C81 PUSH1 0xE0 SHL SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x3 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH0 PUSH2 0x10B4 PUSH2 0x1A02 JUMP JUMPDEST SWAP1 POP PUSH0 DUP2 PUSH0 ADD PUSH1 0x8 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO SWAP1 POP PUSH0 DUP3 PUSH0 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH8 0xFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH0 DUP1 DUP3 PUSH8 0xFFFFFFFFFFFFFFFF AND EQ DUP1 ISZERO PUSH2 0x10FC JUMPI POP DUP3 JUMPDEST SWAP1 POP PUSH0 PUSH1 0x1 DUP4 PUSH8 0xFFFFFFFFFFFFFFFF AND EQ DUP1 ISZERO PUSH2 0x112F JUMPI POP PUSH0 ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE EQ JUMPDEST SWAP1 POP DUP2 ISZERO DUP1 ISZERO PUSH2 0x113D JUMPI POP DUP1 ISZERO JUMPDEST ISZERO PUSH2 0x1174 JUMPI PUSH1 0x40 MLOAD PUSH32 0xF92EE8A900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP6 PUSH0 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH8 0xFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH8 0xFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP4 ISZERO PUSH2 0x11C1 JUMPI PUSH1 0x1 DUP6 PUSH0 ADD PUSH1 0x8 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP JUMPDEST PUSH2 0x11CA DUP7 PUSH2 0x1A29 JUMP JUMPDEST DUP4 ISZERO PUSH2 0x1224 JUMPI PUSH0 DUP6 PUSH0 ADD PUSH1 0x8 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP PUSH32 0xC7F505B2F371AE2175EE4913F4499E1F2633A7B5936321EED1CDAEB6115181D2 PUSH1 0x1 PUSH1 0x40 MLOAD PUSH2 0x121B SWAP2 SWAP1 PUSH2 0x2939 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH0 DUP1 DUP5 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 SWAP1 POP PUSH0 PUSH2 0x1258 DUP3 PUSH1 0x8 ADD SLOAD TIMESTAMP PUSH2 0x1A3D SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 POP DUP2 PUSH1 0x7 ADD SLOAD DUP2 LT PUSH2 0x1273 JUMPI DUP2 PUSH1 0x6 ADD SLOAD SWAP3 POP POP POP PUSH2 0x12C0 JUMP JUMPDEST PUSH0 PUSH2 0x12A1 DUP4 PUSH1 0x7 ADD SLOAD PUSH2 0x1293 DUP5 DUP7 PUSH1 0x5 ADD SLOAD PUSH2 0x1A52 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x1A67 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 POP PUSH2 0x12BA DUP2 DUP5 PUSH1 0x5 ADD SLOAD PUSH2 0x1A3D SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP4 POP POP POP POP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x12CD PUSH2 0x17EC JUMP JUMPDEST DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xF242432A ADDRESS PUSH1 0x3 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 DUP6 PUSH1 0x40 MLOAD DUP6 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x132D SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2704 JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1344 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1356 JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH0 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 SWAP1 POP PUSH0 DUP2 PUSH0 ADD SLOAD SUB PUSH2 0x13AE JUMPI PUSH1 0x40 MLOAD PUSH32 0xE6759C6700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x9 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x13F6 JUMPI PUSH1 0x40 MLOAD PUSH32 0xECDD1C2900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x9 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP PUSH0 PUSH2 0x141C DUP4 PUSH2 0x122C JUMP JUMPDEST SWAP1 POP PUSH0 DUP1 PUSH1 0x2 SLOAD EQ PUSH2 0x14C4 JUMPI PUSH2 0x1450 PUSH1 0x64 PUSH2 0x1442 PUSH1 0x2 SLOAD DUP6 PUSH2 0x1A52 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x1A67 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 POP PUSH2 0x14C3 CALLER PUSH1 0x3 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 DUP7 PUSH1 0x3 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1980 SWAP1 SWAP4 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST JUMPDEST PUSH2 0x1542 CALLER DUP5 PUSH1 0x4 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 DUP6 PUSH2 0x14F8 SWAP2 SWAP1 PUSH2 0x2952 JUMP JUMPDEST DUP7 PUSH1 0x3 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1980 SWAP1 SWAP4 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH0 PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1555 JUMPI PUSH2 0x1554 PUSH2 0x2127 JUMP JUMPDEST JUMPDEST DUP4 PUSH1 0x1 ADD PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1579 JUMPI PUSH2 0x1578 PUSH2 0x2127 JUMP JUMPDEST JUMPDEST SUB PUSH2 0x1613 JUMPI DUP3 PUSH1 0x1 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x42842E0E ADDRESS CALLER DUP7 PUSH0 ADD SLOAD PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15E1 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2624 JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x15F8 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x160A JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP PUSH2 0x16AA JUMP JUMPDEST DUP3 PUSH1 0x1 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xF242432A ADDRESS CALLER DUP7 PUSH0 ADD SLOAD DUP8 PUSH1 0x2 ADD SLOAD PUSH1 0x40 MLOAD DUP6 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x167C SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2704 JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1693 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x16A5 JUMPI RETURNDATASIZE PUSH0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH0 REVERT JUMPDEST POP POP POP POP JUMPDEST PUSH32 0x4FCC30D90A842164DD58501AB874A101A3749C3D4747139CEFE7C876F4CCEBD2 DUP5 DUP4 CALLER PUSH1 0x40 MLOAD PUSH2 0x16DD SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2985 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP JUMP JUMPDEST PUSH0 PUSH4 0xF23A6E61 PUSH1 0xE0 SHL SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x1707 PUSH2 0x17EC JUMP JUMPDEST PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x1777 JUMPI PUSH0 PUSH1 0x40 MLOAD PUSH32 0x1E4FBDF700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x176E SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1780 DUP2 PUSH2 0x1873 JUMP JUMPDEST POP JUMP JUMPDEST PUSH0 PUSH32 0x1FFC9A700000000000000000000000000000000000000000000000000000000 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP3 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND EQ SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x17F4 PUSH2 0x1A7C JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1812 PUSH2 0x651 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x1871 JUMPI PUSH2 0x1835 PUSH2 0x1A7C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x118CDAA700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1868 SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH0 PUSH2 0x187C PUSH2 0x1944 JUMP JUMPDEST SWAP1 POP PUSH0 DUP2 PUSH0 ADD PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP3 DUP3 PUSH0 ADD PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH0 PUSH32 0x9016D09D72D40FDAE2FD8CEAC6B6234C7706214FD39C1CD1E609A0528C199300 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 DUP2 DUP4 PUSH2 0x1978 SWAP2 SWAP1 PUSH2 0x29BA JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x19FC DUP5 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x23B872DD DUP7 DUP7 DUP7 PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x19B5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2624 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP2 POP PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 DUP4 AND OR DUP4 MSTORE POP POP POP POP PUSH2 0x1A83 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH0 PUSH32 0xF0C57E16840DF040F15088DC2F81FE391C3923BEC73E23A9662EFC9C229C6A00 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH2 0x1A31 PUSH2 0x1B18 JUMP JUMPDEST PUSH2 0x1A3A DUP2 PUSH2 0x1B58 JUMP JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 DUP4 PUSH2 0x1A4A SWAP2 SWAP1 PUSH2 0x2952 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 DUP4 PUSH2 0x1A5F SWAP2 SWAP1 PUSH2 0x29ED JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 DUP4 PUSH2 0x1A74 SWAP2 SWAP1 PUSH2 0x2A5B JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 PUSH2 0x1AAD DUP3 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1BDC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 POP PUSH0 DUP2 MLOAD EQ ISZERO DUP1 ISZERO PUSH2 0x1AD1 JUMPI POP DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0x1ACF SWAP2 SWAP1 PUSH2 0x2AB5 JUMP JUMPDEST ISZERO JUMPDEST ISZERO PUSH2 0x1B13 JUMPI DUP3 PUSH1 0x40 MLOAD PUSH32 0x5274AFE700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1B0A SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x1B20 PUSH2 0x1BF1 JUMP JUMPDEST PUSH2 0x1B56 JUMPI PUSH1 0x40 MLOAD PUSH32 0xD7E6BCF800000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH2 0x1B60 PUSH2 0x1B18 JUMP JUMPDEST PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x1BD0 JUMPI PUSH0 PUSH1 0x40 MLOAD PUSH32 0x1E4FBDF700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1BC7 SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1BD9 DUP2 PUSH2 0x1873 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0x1BE9 DUP4 DUP4 PUSH0 PUSH2 0x1C0F JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x1BFA PUSH2 0x1A02 JUMP JUMPDEST PUSH0 ADD PUSH1 0x8 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x60 DUP2 SELFBALANCE LT ISZERO PUSH2 0x1C56 JUMPI ADDRESS PUSH1 0x40 MLOAD PUSH32 0xCD78605900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1C4D SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH0 DUP1 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 DUP7 PUSH1 0x40 MLOAD PUSH2 0x1C7E SWAP2 SWAP1 PUSH2 0x2B4C JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH0 DUP2 EQ PUSH2 0x1CB8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1CBD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP PUSH2 0x1CCD DUP7 DUP4 DUP4 PUSH2 0x1CD8 JUMP JUMPDEST SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP3 PUSH2 0x1CED JUMPI PUSH2 0x1CE8 DUP3 PUSH2 0x1D65 JUMP JUMPDEST PUSH2 0x1D5D JUMP JUMPDEST PUSH0 DUP3 MLOAD EQ DUP1 ISZERO PUSH2 0x1D13 JUMPI POP PUSH0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EXTCODESIZE EQ JUMPDEST ISZERO PUSH2 0x1D55 JUMPI DUP4 PUSH1 0x40 MLOAD PUSH32 0x9996B31500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1D4C SWAP2 SWAP1 PUSH2 0x2281 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 SWAP1 POP PUSH2 0x1D5E JUMP JUMPDEST JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD GT ISZERO PUSH2 0x1D77 JUMPI DUP1 MLOAD DUP1 DUP3 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x1425EA4200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1DEE DUP2 PUSH2 0x1DBA JUMP JUMPDEST DUP2 EQ PUSH2 0x1DF8 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1E09 DUP2 PUSH2 0x1DE5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1E24 JUMPI PUSH2 0x1E23 PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x1E31 DUP5 DUP3 DUP6 ADD PUSH2 0x1DFB JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1E4E DUP2 PUSH2 0x1E3A JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1E67 PUSH0 DUP4 ADD DUP5 PUSH2 0x1E45 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x1E96 DUP3 PUSH2 0x1E6D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1EA6 DUP2 PUSH2 0x1E8C JUMP JUMPDEST DUP2 EQ PUSH2 0x1EB0 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1EC1 DUP2 PUSH2 0x1E9D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1ED9 DUP2 PUSH2 0x1EC7 JUMP JUMPDEST DUP2 EQ PUSH2 0x1EE3 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1EF4 DUP2 PUSH2 0x1ED0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x1F48 DUP3 PUSH2 0x1F02 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x1F67 JUMPI PUSH2 0x1F66 PUSH2 0x1F12 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x1F79 PUSH2 0x1DA9 JUMP JUMPDEST SWAP1 POP PUSH2 0x1F85 DUP3 DUP3 PUSH2 0x1F3F JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x1FA4 JUMPI PUSH2 0x1FA3 PUSH2 0x1F12 JUMP JUMPDEST JUMPDEST PUSH2 0x1FAD DUP3 PUSH2 0x1F02 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x1FDA PUSH2 0x1FD5 DUP5 PUSH2 0x1F8A JUMP JUMPDEST PUSH2 0x1F70 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x1FF6 JUMPI PUSH2 0x1FF5 PUSH2 0x1EFE JUMP JUMPDEST JUMPDEST PUSH2 0x2001 DUP5 DUP3 DUP6 PUSH2 0x1FBA JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x201D JUMPI PUSH2 0x201C PUSH2 0x1EFA JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x202D DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x1FC8 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x204E JUMPI PUSH2 0x204D PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x205B DUP8 DUP3 DUP9 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x20 PUSH2 0x206C DUP8 DUP3 DUP9 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x40 PUSH2 0x207D DUP8 DUP3 DUP9 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x209E JUMPI PUSH2 0x209D PUSH2 0x1DB6 JUMP JUMPDEST JUMPDEST PUSH2 0x20AA DUP8 DUP3 DUP9 ADD PUSH2 0x2009 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH2 0x20BF DUP2 PUSH2 0x1DBA JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x20D8 PUSH0 DUP4 ADD DUP5 PUSH2 0x20B6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x20F3 JUMPI PUSH2 0x20F2 PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x2100 DUP5 DUP3 DUP6 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x2112 DUP2 PUSH2 0x1EC7 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x2121 DUP2 PUSH2 0x1E8C JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x2 DUP2 LT PUSH2 0x2165 JUMPI PUSH2 0x2164 PUSH2 0x2127 JUMP JUMPDEST JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP PUSH2 0x2175 DUP3 PUSH2 0x2154 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x2184 DUP3 PUSH2 0x2168 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2194 DUP2 PUSH2 0x217A JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH2 0x160 DUP3 ADD SWAP1 POP PUSH2 0x21AE PUSH0 DUP4 ADD DUP15 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x21BB PUSH1 0x20 DUP4 ADD DUP14 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x21C8 PUSH1 0x40 DUP4 ADD DUP13 PUSH2 0x218B JUMP JUMPDEST PUSH2 0x21D5 PUSH1 0x60 DUP4 ADD DUP12 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x21E2 PUSH1 0x80 DUP4 ADD DUP11 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x21EF PUSH1 0xA0 DUP4 ADD DUP10 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x21FC PUSH1 0xC0 DUP4 ADD DUP9 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x2209 PUSH1 0xE0 DUP4 ADD DUP8 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x2217 PUSH2 0x100 DUP4 ADD DUP7 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x2225 PUSH2 0x120 DUP4 ADD DUP6 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x2233 PUSH2 0x140 DUP4 ADD DUP5 PUSH2 0x1E45 JUMP JUMPDEST SWAP13 SWAP12 POP POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2259 JUMPI PUSH2 0x2258 PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x2266 DUP6 DUP3 DUP7 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x2277 DUP6 DUP3 DUP7 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x2294 PUSH0 DUP4 ADD DUP5 PUSH2 0x2118 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x22AF JUMPI PUSH2 0x22AE PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x22BC DUP5 DUP3 DUP6 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x22D8 PUSH0 DUP4 ADD DUP5 PUSH2 0x2109 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x2 DUP2 LT PUSH2 0x22EA JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x22FB DUP2 PUSH2 0x22DE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH0 DUP1 PUSH0 DUP1 PUSH0 DUP1 PUSH2 0x100 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x231E JUMPI PUSH2 0x231D PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x232B DUP12 DUP3 DUP13 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP9 POP POP PUSH1 0x20 PUSH2 0x233C DUP12 DUP3 DUP13 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP8 POP POP PUSH1 0x40 PUSH2 0x234D DUP12 DUP3 DUP13 ADD PUSH2 0x22ED JUMP JUMPDEST SWAP7 POP POP PUSH1 0x60 PUSH2 0x235E DUP12 DUP3 DUP13 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x80 PUSH2 0x236F DUP12 DUP3 DUP13 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP5 POP POP PUSH1 0xA0 PUSH2 0x2380 DUP12 DUP3 DUP13 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP4 POP POP PUSH1 0xC0 PUSH2 0x2391 DUP12 DUP3 DUP13 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP3 POP POP PUSH1 0xE0 PUSH2 0x23A2 DUP12 DUP3 DUP13 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 SWAP1 SWAP4 SWAP7 POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x23CC JUMPI PUSH2 0x23CB PUSH2 0x1F12 JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP3 MUL SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 PUSH2 0x23F3 PUSH2 0x23EE DUP5 PUSH2 0x23B2 JUMP JUMPDEST PUSH2 0x1F70 JUMP JUMPDEST SWAP1 POP DUP1 DUP4 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH1 0x20 DUP5 MUL DUP4 ADD DUP6 DUP2 GT ISZERO PUSH2 0x2416 JUMPI PUSH2 0x2415 PUSH2 0x23DD JUMP JUMPDEST JUMPDEST DUP4 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x243F JUMPI DUP1 PUSH2 0x242B DUP9 DUP3 PUSH2 0x1EE6 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP4 POP POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2418 JUMP JUMPDEST POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x245D JUMPI PUSH2 0x245C PUSH2 0x1EFA JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x246D DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x23E1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH0 DUP1 PUSH0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x248F JUMPI PUSH2 0x248E PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x249C DUP9 DUP3 DUP10 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x24AD DUP9 DUP3 DUP10 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x24CE JUMPI PUSH2 0x24CD PUSH2 0x1DB6 JUMP JUMPDEST JUMPDEST PUSH2 0x24DA DUP9 DUP3 DUP10 ADD PUSH2 0x2449 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x24FB JUMPI PUSH2 0x24FA PUSH2 0x1DB6 JUMP JUMPDEST JUMPDEST PUSH2 0x2507 DUP9 DUP3 DUP10 ADD PUSH2 0x2449 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x80 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2528 JUMPI PUSH2 0x2527 PUSH2 0x1DB6 JUMP JUMPDEST JUMPDEST PUSH2 0x2534 DUP9 DUP3 DUP10 ADD PUSH2 0x2009 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH0 DUP1 PUSH0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x2558 JUMPI PUSH2 0x2557 PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x2565 DUP7 DUP3 DUP8 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x2576 DUP7 DUP3 DUP8 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x2587 DUP7 DUP3 DUP8 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH0 DUP1 PUSH0 DUP1 PUSH0 PUSH1 0xA0 DUP7 DUP9 SUB SLT ISZERO PUSH2 0x25AA JUMPI PUSH2 0x25A9 PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x25B7 DUP9 DUP3 DUP10 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x20 PUSH2 0x25C8 DUP9 DUP3 DUP10 ADD PUSH2 0x1EB3 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x40 PUSH2 0x25D9 DUP9 DUP3 DUP10 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x60 PUSH2 0x25EA DUP9 DUP3 DUP10 ADD PUSH2 0x1EE6 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x80 DUP7 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x260B JUMPI PUSH2 0x260A PUSH2 0x1DB6 JUMP JUMPDEST JUMPDEST PUSH2 0x2617 DUP9 DUP3 DUP10 ADD PUSH2 0x2009 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 SWAP1 SWAP4 POP JUMP JUMPDEST PUSH0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x2637 PUSH0 DUP4 ADD DUP7 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x2644 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x2651 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x2109 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x41756374696F6E2068617320656E646564000000000000000000000000000000 PUSH0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH0 PUSH2 0x269D PUSH1 0x11 DUP4 PUSH2 0x2659 JUMP JUMPDEST SWAP2 POP PUSH2 0x26A8 DUP3 PUSH2 0x2669 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x26CA DUP2 PUSH2 0x2691 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST POP JUMP JUMPDEST PUSH0 PUSH2 0x26EF PUSH0 DUP4 PUSH2 0x26D1 JUMP JUMPDEST SWAP2 POP PUSH2 0x26FA DUP3 PUSH2 0x26E1 JUMP JUMPDEST PUSH0 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0xA0 DUP3 ADD SWAP1 POP PUSH2 0x2717 PUSH0 DUP4 ADD DUP8 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x2724 PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x2731 PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x273E PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x2109 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x80 DUP4 ADD MSTORE PUSH2 0x274F DUP2 PUSH2 0x26E4 JUMP JUMPDEST SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP PUSH2 0x2768 DUP2 PUSH2 0x1ED0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2783 JUMPI PUSH2 0x2782 PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x2790 DUP5 DUP3 DUP6 ADD PUSH2 0x275A JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH2 0x27D0 DUP3 PUSH2 0x1EC7 JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x2802 JUMPI PUSH2 0x2801 PUSH2 0x2799 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x2839 PUSH2 0x2834 PUSH2 0x282F DUP5 PUSH2 0x280D JUMP JUMPDEST PUSH2 0x2816 JUMP JUMPDEST PUSH2 0x1EC7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2849 DUP2 PUSH2 0x281F JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0xA0 DUP3 ADD SWAP1 POP PUSH2 0x2862 PUSH0 DUP4 ADD DUP8 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x286F PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x2118 JUMP JUMPDEST PUSH2 0x287C PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x2889 PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x2840 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x80 DUP4 ADD MSTORE PUSH2 0x289A DUP2 PUSH2 0x26E4 JUMP JUMPDEST SWAP1 POP SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0xA0 DUP3 ADD SWAP1 POP PUSH2 0x28B8 PUSH0 DUP4 ADD DUP9 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x28C5 PUSH1 0x20 DUP4 ADD DUP8 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x28D2 PUSH1 0x40 DUP4 ADD DUP7 PUSH2 0x218B JUMP JUMPDEST PUSH2 0x28DF PUSH1 0x60 DUP4 ADD DUP6 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x28EC PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0x2109 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x2923 PUSH2 0x291E PUSH2 0x2919 DUP5 PUSH2 0x280D JUMP JUMPDEST PUSH2 0x2816 JUMP JUMPDEST PUSH2 0x28F6 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2933 DUP2 PUSH2 0x2909 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x294C PUSH0 DUP4 ADD DUP5 PUSH2 0x292A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x295C DUP3 PUSH2 0x1EC7 JUMP JUMPDEST SWAP2 POP PUSH2 0x2967 DUP4 PUSH2 0x1EC7 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 SUB SWAP1 POP DUP2 DUP2 GT ISZERO PUSH2 0x297F JUMPI PUSH2 0x297E PUSH2 0x2799 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x2998 PUSH0 DUP4 ADD DUP7 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x29A5 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x2109 JUMP JUMPDEST PUSH2 0x29B2 PUSH1 0x40 DUP4 ADD DUP5 PUSH2 0x2118 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x29C4 DUP3 PUSH2 0x1EC7 JUMP JUMPDEST SWAP2 POP PUSH2 0x29CF DUP4 PUSH2 0x1EC7 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x29E7 JUMPI PUSH2 0x29E6 PUSH2 0x2799 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x29F7 DUP3 PUSH2 0x1EC7 JUMP JUMPDEST SWAP2 POP PUSH2 0x2A02 DUP4 PUSH2 0x1EC7 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x2A10 DUP2 PUSH2 0x1EC7 JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x2A27 JUMPI PUSH2 0x2A26 PUSH2 0x2799 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH2 0x2A65 DUP3 PUSH2 0x1EC7 JUMP JUMPDEST SWAP2 POP PUSH2 0x2A70 DUP4 PUSH2 0x1EC7 JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x2A80 JUMPI PUSH2 0x2A7F PUSH2 0x2A2E JUMP JUMPDEST JUMPDEST DUP3 DUP3 DIV SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x2A94 DUP2 PUSH2 0x1E3A JUMP JUMPDEST DUP2 EQ PUSH2 0x2A9E JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP PUSH2 0x2AAF DUP2 PUSH2 0x2A8B JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2ACA JUMPI PUSH2 0x2AC9 PUSH2 0x1DB2 JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x2AD7 DUP5 DUP3 DUP6 ADD PUSH2 0x2AA1 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2B11 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2AF6 JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x2B26 DUP3 PUSH2 0x2AE0 JUMP JUMPDEST PUSH2 0x2B30 DUP2 DUP6 PUSH2 0x2AEA JUMP JUMPDEST SWAP4 POP PUSH2 0x2B40 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x2AF4 JUMP JUMPDEST DUP1 DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x2B57 DUP3 DUP5 PUSH2 0x2B1C JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC8 ADD DUP2 PUSH17 0x8CD9E344747F06E555DD1492D7CA05D53E MSTORE PUSH14 0xFE468DE66F83B9009964736F6C63 NUMBER STOP ADDMOD AND STOP CALLER ",
"sourceMap": "687:6308:16:-:0;;;1999:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2043:24;2054:12;2043:10;;;:24;;:::i;:::-;1999:75;687:6308;;2080:106;4158:30:1;4191:26;:24;;;:26;;:::i;:::-;4158:59;;4279:19;4302:1;:15;;;;;;;;;;;;4301:16;4279:38;;4327:18;4348:1;:14;;;;;;;;;;;;4327:35;;4706:17;4741:1;4726:11;:16;;;:34;;;;;4746:14;4726:34;4706:54;;4770:17;4805:1;4790:11;:16;;;:50;;;;;4839:1;4818:4;4810:25;;;:30;4790:50;4770:70;;4856:12;4855:13;:30;;;;;4873:12;4872:13;4855:30;4851:91;;;4908:23;;;;;;;;;;;;;;4851:91;4968:1;4951;:14;;;:18;;;;;;;;;;;;;;;;;;4983:14;4979:67;;;5031:4;5013:1;:15;;;:22;;;;;;;;;;;;;;;;;;4979:67;2151:28:16::1;2166:12;2151:14;;;:28;;:::i;:::-;5070:14:1::0;5066:101;;;5118:5;5100:1;:15;;;:23;;;;;;;;;;;;;;;;;;5142:14;5154:1;5142:14;;;;;;:::i;:::-;;;;;;;;5066:101;4092:1081;;;;;2080:106:16;:::o;8737:170:1:-;8795:30;8870:21;8860:31;;8737:170;:::o;1847:127:0:-;6931:20:1;:18;;;:20;;:::i;:::-;1929:38:0::1;1954:12;1929:24;;;:38;;:::i;:::-;1847:127:::0;:::o;7084:141:1:-;7151:17;:15;;;:17;;:::i;:::-;7146:73;;7191:17;;;;;;;;;;;;;;7146:73;7084:141::o;1980:235:0:-;6931:20:1;:18;;;:20;;:::i;:::-;2100:1:0::1;2076:26;;:12;:26;;::::0;2072:95:::1;;2153:1;2125:31;;;;;;;;;;;:::i;:::-;;;;;;;;2072:95;2176:32;2195:12;2176:18;;;:32;;:::i;:::-;1980:235:::0;:::o;8487:120:1:-;8537:4;8560:26;:24;;;:26;;:::i;:::-;:40;;;;;;;;;;;;8553:47;;8487:120;:::o;3774:248:0:-;3847:24;3874:20;:18;;;:20;;:::i;:::-;3847:47;;3904:16;3923:1;:8;;;;;;;;;;;;3904:27;;3952:8;3941:1;:8;;;:19;;;;;;;;;;;;;;;;;;4006:8;3975:40;;3996:8;3975:40;;;;;;;;;;;;3837:185;;3774:248;:::o;1192:159::-;1244:24;1313:22;1303:32;;1192:159;:::o;88:117:17:-;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:351::-;915:6;964:2;952:9;943:7;939:23;935:32;932:119;;;970:79;;:::i;:::-;932:119;1090:1;1115:64;1171:7;1162:6;1151:9;1147:22;1115:64;:::i;:::-;1105:74;;1061:128;845:351;;;;:::o;1202:85::-;1247:7;1276:5;1265:16;;1202:85;;;:::o;1293:101::-;1329:7;1369:18;1362:5;1358:30;1347:41;;1293:101;;;:::o;1400:60::-;1428:3;1449:5;1442:12;;1400:60;;;:::o;1466:156::-;1523:9;1556:60;1573:42;1582:32;1608:5;1582:32;:::i;:::-;1573:42;:::i;:::-;1556:60;:::i;:::-;1543:73;;1466:156;;;:::o;1628:145::-;1722:44;1760:5;1722:44;:::i;:::-;1717:3;1710:57;1628:145;;:::o;1779:236::-;1879:4;1917:2;1906:9;1902:18;1894:26;;1930:78;2005:1;1994:9;1990:17;1981:6;1930:78;:::i;:::-;1779:236;;;;:::o;2021:118::-;2108:24;2126:5;2108:24;:::i;:::-;2103:3;2096:37;2021:118;;:::o;2145:222::-;2238:4;2276:2;2265:9;2261:18;2253:26;;2289:71;2357:1;2346:9;2342:17;2333:6;2289:71;:::i;:::-;2145:222;;;;:::o;687:6308:16:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@__Ownable_init_54": {
"entryPoint": 6697,
"id": 54,
"parameterSlots": 1,
"returnSlots": 0
},
"@__Ownable_init_unchained_81": {
"entryPoint": 7000,
"id": 81,
"parameterSlots": 1,
"returnSlots": 0
},
"@_callOptionalReturn_1406": {
"entryPoint": 6787,
"id": 1406,
"parameterSlots": 2,
"returnSlots": 0
},
"@_checkInitializing_370": {
"entryPoint": 6936,
"id": 370,
"parameterSlots": 0,
"returnSlots": 0
},
"@_checkOwner_122": {
"entryPoint": 6124,
"id": 122,
"parameterSlots": 0,
"returnSlots": 0
},
"@_getInitializableStorage_447": {
"entryPoint": 6658,
"id": 447,
"parameterSlots": 0,
"returnSlots": 1
},
"@_getOwnableStorage_25": {
"entryPoint": 6468,
"id": 25,
"parameterSlots": 0,
"returnSlots": 1
},
"@_isInitializing_438": {
"entryPoint": 7153,
"id": 438,
"parameterSlots": 0,
"returnSlots": 1
},
"@_msgSender_476": {
"entryPoint": 6780,
"id": 476,
"parameterSlots": 0,
"returnSlots": 1
},
"@_revert_1870": {
"entryPoint": 7525,
"id": 1870,
"parameterSlots": 1,
"returnSlots": 0
},
"@_transferOwnership_193": {
"entryPoint": 6259,
"id": 193,
"parameterSlots": 1,
"returnSlots": 0
},
"@add_670": {
"entryPoint": 6507,
"id": 670,
"parameterSlots": 2,
"returnSlots": 1
},
"@auctions_1965": {
"entryPoint": 1141,
"id": 1965,
"parameterSlots": 0,
"returnSlots": 0
},
"@buy_2323": {
"entryPoint": 4959,
"id": 2323,
"parameterSlots": 1,
"returnSlots": 0
},
"@cancelAuction_2481": {
"entryPoint": 1670,
"id": 2481,
"parameterSlots": 1,
"returnSlots": 0
},
"@createAuction_2192": {
"entryPoint": 2790,
"id": 2192,
"parameterSlots": 8,
"returnSlots": 0
},
"@div_715": {
"entryPoint": 6759,
"id": 715,
"parameterSlots": 2,
"returnSlots": 1
},
"@feeCollector_1971": {
"entryPoint": 4230,
"id": 1971,
"parameterSlots": 0,
"returnSlots": 0
},
"@feePercentage_1969": {
"entryPoint": 2784,
"id": 1969,
"parameterSlots": 0,
"returnSlots": 0
},
"@functionCallWithValue_1738": {
"entryPoint": 7183,
"id": 1738,
"parameterSlots": 3,
"returnSlots": 1
},
"@functionCall_1692": {
"entryPoint": 7132,
"id": 1692,
"parameterSlots": 2,
"returnSlots": 1
},
"@getCurrentPrice_2374": {
"entryPoint": 4652,
"id": 2374,
"parameterSlots": 1,
"returnSlots": 1
},
"@initialize_2044": {
"entryPoint": 4267,
"id": 2044,
"parameterSlots": 1,
"returnSlots": 0
},
"@mul_700": {
"entryPoint": 6738,
"id": 700,
"parameterSlots": 2,
"returnSlots": 1
},
"@onERC1155BatchReceived_1051": {
"entryPoint": 4210,
"id": 1051,
"parameterSlots": 5,
"returnSlots": 1
},
"@onERC1155Received_1028": {
"entryPoint": 5867,
"id": 1028,
"parameterSlots": 5,
"returnSlots": 1
},
"@onERC721Received_1617": {
"entryPoint": 1122,
"id": 1617,
"parameterSlots": 4,
"returnSlots": 1
},
"@owner_105": {
"entryPoint": 1617,
"id": 105,
"parameterSlots": 0,
"returnSlots": 1
},
"@recoverERC1155_2575": {
"entryPoint": 4805,
"id": 2575,
"parameterSlots": 3,
"returnSlots": 0
},
"@recoverERC20_2527": {
"entryPoint": 2579,
"id": 2527,
"parameterSlots": 1,
"returnSlots": 0
},
"@recoverERC721_2549": {
"entryPoint": 1466,
"id": 2549,
"parameterSlots": 2,
"returnSlots": 0
},
"@recoverNativeTokens_2497": {
"entryPoint": 1363,
"id": 2497,
"parameterSlots": 0,
"returnSlots": 0
},
"@renounceOwnership_136": {
"entryPoint": 1344,
"id": 136,
"parameterSlots": 0,
"returnSlots": 0
},
"@safeTransferFrom_1243": {
"entryPoint": 6528,
"id": 1243,
"parameterSlots": 4,
"returnSlots": 0
},
"@setFeeCollector_2090": {
"entryPoint": 3814,
"id": 2090,
"parameterSlots": 1,
"returnSlots": 0
},
"@setFeePercentage_2067": {
"entryPoint": 4078,
"id": 2067,
"parameterSlots": 1,
"returnSlots": 0
},
"@sub_685": {
"entryPoint": 6717,
"id": 685,
"parameterSlots": 2,
"returnSlots": 1
},
"@supportsInterface_1007": {
"entryPoint": 1001,
"id": 1007,
"parameterSlots": 1,
"returnSlots": 1
},
"@supportsInterface_1894": {
"entryPoint": 6019,
"id": 1894,
"parameterSlots": 1,
"returnSlots": 1
},
"@transferOwnership_164": {
"entryPoint": 5887,
"id": 164,
"parameterSlots": 1,
"returnSlots": 0
},
"@verifyCallResultFromTarget_1830": {
"entryPoint": 7384,
"id": 1830,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_available_length_t_array$_t_uint256_$dyn_memory_ptr": {
"entryPoint": 9185,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_available_length_t_bytes_memory_ptr": {
"entryPoint": 8136,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_address": {
"entryPoint": 7859,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_array$_t_uint256_$dyn_memory_ptr": {
"entryPoint": 9289,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bool_fromMemory": {
"entryPoint": 10913,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bytes4": {
"entryPoint": 7675,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bytes_memory_ptr": {
"entryPoint": 8201,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_enum$_TokenType_$1960": {
"entryPoint": 8941,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 7910,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256_fromMemory": {
"entryPoint": 10074,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address": {
"entryPoint": 8858,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_addresst_array$_t_uint256_$dyn_memory_ptrt_array$_t_uint256_$dyn_memory_ptrt_bytes_memory_ptr": {
"entryPoint": 9334,
"id": null,
"parameterSlots": 2,
"returnSlots": 5
},
"abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr": {
"entryPoint": 8246,
"id": null,
"parameterSlots": 2,
"returnSlots": 4
},
"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_memory_ptr": {
"entryPoint": 9617,
"id": null,
"parameterSlots": 2,
"returnSlots": 5
},
"abi_decode_tuple_t_addresst_uint256": {
"entryPoint": 8771,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_addresst_uint256t_uint256": {
"entryPoint": 9537,
"id": null,
"parameterSlots": 2,
"returnSlots": 3
},
"abi_decode_tuple_t_bool_fromMemory": {
"entryPoint": 10933,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_bytes4": {
"entryPoint": 7695,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 8414,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256_fromMemory": {
"entryPoint": 10094,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256t_addresst_enum$_TokenType_$1960t_uint256t_addresst_uint256t_uint256t_uint256": {
"entryPoint": 8961,
"id": null,
"parameterSlots": 2,
"returnSlots": 8
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 8472,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 7749,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes4_to_t_bytes4_fromStack": {
"entryPoint": 8374,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 11036,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_enum$_TokenType_$1960_to_t_uint8_fromStack": {
"entryPoint": 8587,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_rational_1_by_1_to_t_uint256_fromStack": {
"entryPoint": 10304,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_rational_1_by_1_to_t_uint64_fromStack": {
"entryPoint": 10538,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_stringliteral_56b97bcc53ee0c0e9403b910ca18980144503ea7aa8dd9200096ebdea6941df5_to_t_string_memory_ptr_fromStack": {
"entryPoint": 9873,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_fromStack": {
"entryPoint": 9956,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 8457,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 11084,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 8833,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed": {
"entryPoint": 9764,
"id": null,
"parameterSlots": 4,
"returnSlots": 1
},
"abi_encode_tuple_t_address_t_address_t_uint256_t_rational_1_by_1_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_address_t_address_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed": {
"entryPoint": 10319,
"id": null,
"parameterSlots": 5,
"returnSlots": 1
},
"abi_encode_tuple_t_address_t_address_t_uint256_t_uint256_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_address_t_address_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed": {
"entryPoint": 9988,
"id": null,
"parameterSlots": 5,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": 7764,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed": {
"entryPoint": 8389,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_rational_1_by_1__to_t_uint64__fromStack_reversed": {
"entryPoint": 10553,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_56b97bcc53ee0c0e9403b910ca18980144503ea7aa8dd9200096ebdea6941df5__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 9907,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 8901,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_address_t_enum$_TokenType_$1960_t_uint256_t_address_t_address_t_uint256_t_uint256_t_uint256_t_uint256_t_bool__to_t_uint256_t_address_t_uint8_t_uint256_t_address_t_address_t_uint256_t_uint256_t_uint256_t_uint256_t_bool__fromStack_reversed": {
"entryPoint": 8602,
"id": null,
"parameterSlots": 12,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_uint256_t_address__to_t_uint256_t_uint256_t_address__fromStack_reversed": {
"entryPoint": 10629,
"id": null,
"parameterSlots": 4,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_uint256_t_enum$_TokenType_$1960_t_uint256_t_uint256__to_t_uint256_t_uint256_t_uint8_t_uint256_t_uint256__fromStack_reversed": {
"entryPoint": 10405,
"id": null,
"parameterSlots": 6,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 8048,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 7593,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_array$_t_uint256_$dyn_memory_ptr": {
"entryPoint": 9138,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_allocation_size_t_bytes_memory_ptr": {
"entryPoint": 8074,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_bytes_memory_ptr": {
"entryPoint": 10976,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack": {
"entryPoint": 9937,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 10986,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 9817,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 10682,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_div_t_uint256": {
"entryPoint": 10843,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_mul_t_uint256": {
"entryPoint": 10733,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_sub_t_uint256": {
"entryPoint": 10578,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 7820,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 7738,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes4": {
"entryPoint": 7610,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_enum$_TokenType_$1960": {
"entryPoint": 8552,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_rational_1_by_1": {
"entryPoint": 10253,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 7789,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 7879,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint64": {
"entryPoint": 10486,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_enum$_TokenType_$1960_to_t_uint8": {
"entryPoint": 8570,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_rational_1_by_1_to_t_uint256": {
"entryPoint": 10271,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_rational_1_by_1_to_t_uint64": {
"entryPoint": 10505,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_calldata_to_memory_with_cleanup": {
"entryPoint": 8122,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 10996,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"finalize_allocation": {
"entryPoint": 7999,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"identity": {
"entryPoint": 10262,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"increment_t_uint256": {
"entryPoint": 10182,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 10137,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x12": {
"entryPoint": 10798,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x21": {
"entryPoint": 8487,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 7954,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 7930,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef": {
"entryPoint": 9181,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 7934,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 7606,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 7602,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 7938,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"store_literal_in_memory_56b97bcc53ee0c0e9403b910ca18980144503ea7aa8dd9200096ebdea6941df5": {
"entryPoint": 9833,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470": {
"entryPoint": 9953,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_assert_t_enum$_TokenType_$1960": {
"entryPoint": 8532,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 7837,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_bool": {
"entryPoint": 10891,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_bytes4": {
"entryPoint": 7653,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_enum$_TokenType_$1960": {
"entryPoint": 8926,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 7888,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:26521:17",
"nodeType": "YulBlock",
"src": "0:26521:17",
"statements": [
{
"body": {
"nativeSrc": "47:35:17",
"nodeType": "YulBlock",
"src": "47:35:17",
"statements": [
{
"nativeSrc": "57:19:17",
"nodeType": "YulAssignment",
"src": "57:19:17",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "73:2:17",
"nodeType": "YulLiteral",
"src": "73:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "67:5:17",
"nodeType": "YulIdentifier",
"src": "67:5:17"
},
"nativeSrc": "67:9:17",
"nodeType": "YulFunctionCall",
"src": "67:9:17"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "57:6:17",
"nodeType": "YulIdentifier",
"src": "57:6:17"
}
]
}
]
},
"name": "allocate_unbounded",
"nativeSrc": "7:75:17",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "40:6:17",
"nodeType": "YulTypedName",
"src": "40:6:17",
"type": ""
}
],
"src": "7:75:17"
},
{
"body": {
"nativeSrc": "177:28:17",
"nodeType": "YulBlock",
"src": "177:28:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "194:1:17",
"nodeType": "YulLiteral",
"src": "194:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "197:1:17",
"nodeType": "YulLiteral",
"src": "197:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "187:6:17",
"nodeType": "YulIdentifier",
"src": "187:6:17"
},
"nativeSrc": "187:12:17",
"nodeType": "YulFunctionCall",
"src": "187:12:17"
},
"nativeSrc": "187:12:17",
"nodeType": "YulExpressionStatement",
"src": "187:12:17"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "88:117:17",
"nodeType": "YulFunctionDefinition",
"src": "88:117:17"
},
{
"body": {
"nativeSrc": "300:28:17",
"nodeType": "YulBlock",
"src": "300:28:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "317:1:17",
"nodeType": "YulLiteral",
"src": "317:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "320:1:17",
"nodeType": "YulLiteral",
"src": "320:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "310:6:17",
"nodeType": "YulIdentifier",
"src": "310:6:17"
},
"nativeSrc": "310:12:17",
"nodeType": "YulFunctionCall",
"src": "310:12:17"
},
"nativeSrc": "310:12:17",
"nodeType": "YulExpressionStatement",
"src": "310:12:17"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "211:117:17",
"nodeType": "YulFunctionDefinition",
"src": "211:117:17"
},
{
"body": {
"nativeSrc": "378:105:17",
"nodeType": "YulBlock",
"src": "378:105:17",
"statements": [
{
"nativeSrc": "388:89:17",
"nodeType": "YulAssignment",
"src": "388:89:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "403:5:17",
"nodeType": "YulIdentifier",
"src": "403:5:17"
},
{
"kind": "number",
"nativeSrc": "410:66:17",
"nodeType": "YulLiteral",
"src": "410:66:17",
"type": "",
"value": "0xffffffff00000000000000000000000000000000000000000000000000000000"
}
],
"functionName": {
"name": "and",
"nativeSrc": "399:3:17",
"nodeType": "YulIdentifier",
"src": "399:3:17"
},
"nativeSrc": "399:78:17",
"nodeType": "YulFunctionCall",
"src": "399:78:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "388:7:17",
"nodeType": "YulIdentifier",
"src": "388:7:17"
}
]
}
]
},
"name": "cleanup_t_bytes4",
"nativeSrc": "334:149:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "360:5:17",
"nodeType": "YulTypedName",
"src": "360:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "370:7:17",
"nodeType": "YulTypedName",
"src": "370:7:17",
"type": ""
}
],
"src": "334:149:17"
},
{
"body": {
"nativeSrc": "531:78:17",
"nodeType": "YulBlock",
"src": "531:78:17",
"statements": [
{
"body": {
"nativeSrc": "587:16:17",
"nodeType": "YulBlock",
"src": "587:16:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "596:1:17",
"nodeType": "YulLiteral",
"src": "596:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "599:1:17",
"nodeType": "YulLiteral",
"src": "599:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "589:6:17",
"nodeType": "YulIdentifier",
"src": "589:6:17"
},
"nativeSrc": "589:12:17",
"nodeType": "YulFunctionCall",
"src": "589:12:17"
},
"nativeSrc": "589:12:17",
"nodeType": "YulExpressionStatement",
"src": "589:12:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "554:5:17",
"nodeType": "YulIdentifier",
"src": "554:5:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "578:5:17",
"nodeType": "YulIdentifier",
"src": "578:5:17"
}
],
"functionName": {
"name": "cleanup_t_bytes4",
"nativeSrc": "561:16:17",
"nodeType": "YulIdentifier",
"src": "561:16:17"
},
"nativeSrc": "561:23:17",
"nodeType": "YulFunctionCall",
"src": "561:23:17"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "551:2:17",
"nodeType": "YulIdentifier",
"src": "551:2:17"
},
"nativeSrc": "551:34:17",
"nodeType": "YulFunctionCall",
"src": "551:34:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "544:6:17",
"nodeType": "YulIdentifier",
"src": "544:6:17"
},
"nativeSrc": "544:42:17",
"nodeType": "YulFunctionCall",
"src": "544:42:17"
},
"nativeSrc": "541:62:17",
"nodeType": "YulIf",
"src": "541:62:17"
}
]
},
"name": "validator_revert_t_bytes4",
"nativeSrc": "489:120:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "524:5:17",
"nodeType": "YulTypedName",
"src": "524:5:17",
"type": ""
}
],
"src": "489:120:17"
},
{
"body": {
"nativeSrc": "666:86:17",
"nodeType": "YulBlock",
"src": "666:86:17",
"statements": [
{
"nativeSrc": "676:29:17",
"nodeType": "YulAssignment",
"src": "676:29:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "698:6:17",
"nodeType": "YulIdentifier",
"src": "698:6:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "685:12:17",
"nodeType": "YulIdentifier",
"src": "685:12:17"
},
"nativeSrc": "685:20:17",
"nodeType": "YulFunctionCall",
"src": "685:20:17"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "676:5:17",
"nodeType": "YulIdentifier",
"src": "676:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "740:5:17",
"nodeType": "YulIdentifier",
"src": "740:5:17"
}
],
"functionName": {
"name": "validator_revert_t_bytes4",
"nativeSrc": "714:25:17",
"nodeType": "YulIdentifier",
"src": "714:25:17"
},
"nativeSrc": "714:32:17",
"nodeType": "YulFunctionCall",
"src": "714:32:17"
},
"nativeSrc": "714:32:17",
"nodeType": "YulExpressionStatement",
"src": "714:32:17"
}
]
},
"name": "abi_decode_t_bytes4",
"nativeSrc": "615:137:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "644:6:17",
"nodeType": "YulTypedName",
"src": "644:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "652:3:17",
"nodeType": "YulTypedName",
"src": "652:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "660:5:17",
"nodeType": "YulTypedName",
"src": "660:5:17",
"type": ""
}
],
"src": "615:137:17"
},
{
"body": {
"nativeSrc": "823:262:17",
"nodeType": "YulBlock",
"src": "823:262:17",
"statements": [
{
"body": {
"nativeSrc": "869:83:17",
"nodeType": "YulBlock",
"src": "869:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "871:77:17",
"nodeType": "YulIdentifier",
"src": "871:77:17"
},
"nativeSrc": "871:79:17",
"nodeType": "YulFunctionCall",
"src": "871:79:17"
},
"nativeSrc": "871:79:17",
"nodeType": "YulExpressionStatement",
"src": "871:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "844:7:17",
"nodeType": "YulIdentifier",
"src": "844:7:17"
},
{
"name": "headStart",
"nativeSrc": "853:9:17",
"nodeType": "YulIdentifier",
"src": "853:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "840:3:17",
"nodeType": "YulIdentifier",
"src": "840:3:17"
},
"nativeSrc": "840:23:17",
"nodeType": "YulFunctionCall",
"src": "840:23:17"
},
{
"kind": "number",
"nativeSrc": "865:2:17",
"nodeType": "YulLiteral",
"src": "865:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "836:3:17",
"nodeType": "YulIdentifier",
"src": "836:3:17"
},
"nativeSrc": "836:32:17",
"nodeType": "YulFunctionCall",
"src": "836:32:17"
},
"nativeSrc": "833:119:17",
"nodeType": "YulIf",
"src": "833:119:17"
},
{
"nativeSrc": "962:116:17",
"nodeType": "YulBlock",
"src": "962:116:17",
"statements": [
{
"nativeSrc": "977:15:17",
"nodeType": "YulVariableDeclaration",
"src": "977:15:17",
"value": {
"kind": "number",
"nativeSrc": "991:1:17",
"nodeType": "YulLiteral",
"src": "991:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "981:6:17",
"nodeType": "YulTypedName",
"src": "981:6:17",
"type": ""
}
]
},
{
"nativeSrc": "1006:62:17",
"nodeType": "YulAssignment",
"src": "1006:62:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "1040:9:17",
"nodeType": "YulIdentifier",
"src": "1040:9:17"
},
{
"name": "offset",
"nativeSrc": "1051:6:17",
"nodeType": "YulIdentifier",
"src": "1051:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1036:3:17",
"nodeType": "YulIdentifier",
"src": "1036:3:17"
},
"nativeSrc": "1036:22:17",
"nodeType": "YulFunctionCall",
"src": "1036:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "1060:7:17",
"nodeType": "YulIdentifier",
"src": "1060:7:17"
}
],
"functionName": {
"name": "abi_decode_t_bytes4",
"nativeSrc": "1016:19:17",
"nodeType": "YulIdentifier",
"src": "1016:19:17"
},
"nativeSrc": "1016:52:17",
"nodeType": "YulFunctionCall",
"src": "1016:52:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "1006:6:17",
"nodeType": "YulIdentifier",
"src": "1006:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_bytes4",
"nativeSrc": "758:327:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "793:9:17",
"nodeType": "YulTypedName",
"src": "793:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "804:7:17",
"nodeType": "YulTypedName",
"src": "804:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "816:6:17",
"nodeType": "YulTypedName",
"src": "816:6:17",
"type": ""
}
],
"src": "758:327:17"
},
{
"body": {
"nativeSrc": "1133:48:17",
"nodeType": "YulBlock",
"src": "1133:48:17",
"statements": [
{
"nativeSrc": "1143:32:17",
"nodeType": "YulAssignment",
"src": "1143:32:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1168:5:17",
"nodeType": "YulIdentifier",
"src": "1168:5:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "1161:6:17",
"nodeType": "YulIdentifier",
"src": "1161:6:17"
},
"nativeSrc": "1161:13:17",
"nodeType": "YulFunctionCall",
"src": "1161:13:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "1154:6:17",
"nodeType": "YulIdentifier",
"src": "1154:6:17"
},
"nativeSrc": "1154:21:17",
"nodeType": "YulFunctionCall",
"src": "1154:21:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1143:7:17",
"nodeType": "YulIdentifier",
"src": "1143:7:17"
}
]
}
]
},
"name": "cleanup_t_bool",
"nativeSrc": "1091:90:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1115:5:17",
"nodeType": "YulTypedName",
"src": "1115:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1125:7:17",
"nodeType": "YulTypedName",
"src": "1125:7:17",
"type": ""
}
],
"src": "1091:90:17"
},
{
"body": {
"nativeSrc": "1246:50:17",
"nodeType": "YulBlock",
"src": "1246:50:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "1263:3:17",
"nodeType": "YulIdentifier",
"src": "1263:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "1283:5:17",
"nodeType": "YulIdentifier",
"src": "1283:5:17"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nativeSrc": "1268:14:17",
"nodeType": "YulIdentifier",
"src": "1268:14:17"
},
"nativeSrc": "1268:21:17",
"nodeType": "YulFunctionCall",
"src": "1268:21:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1256:6:17",
"nodeType": "YulIdentifier",
"src": "1256:6:17"
},
"nativeSrc": "1256:34:17",
"nodeType": "YulFunctionCall",
"src": "1256:34:17"
},
"nativeSrc": "1256:34:17",
"nodeType": "YulExpressionStatement",
"src": "1256:34:17"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nativeSrc": "1187:109:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1234:5:17",
"nodeType": "YulTypedName",
"src": "1234:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "1241:3:17",
"nodeType": "YulTypedName",
"src": "1241:3:17",
"type": ""
}
],
"src": "1187:109:17"
},
{
"body": {
"nativeSrc": "1394:118:17",
"nodeType": "YulBlock",
"src": "1394:118:17",
"statements": [
{
"nativeSrc": "1404:26:17",
"nodeType": "YulAssignment",
"src": "1404:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "1416:9:17",
"nodeType": "YulIdentifier",
"src": "1416:9:17"
},
{
"kind": "number",
"nativeSrc": "1427:2:17",
"nodeType": "YulLiteral",
"src": "1427:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1412:3:17",
"nodeType": "YulIdentifier",
"src": "1412:3:17"
},
"nativeSrc": "1412:18:17",
"nodeType": "YulFunctionCall",
"src": "1412:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "1404:4:17",
"nodeType": "YulIdentifier",
"src": "1404:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "1478:6:17",
"nodeType": "YulIdentifier",
"src": "1478:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "1491:9:17",
"nodeType": "YulIdentifier",
"src": "1491:9:17"
},
{
"kind": "number",
"nativeSrc": "1502:1:17",
"nodeType": "YulLiteral",
"src": "1502:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1487:3:17",
"nodeType": "YulIdentifier",
"src": "1487:3:17"
},
"nativeSrc": "1487:17:17",
"nodeType": "YulFunctionCall",
"src": "1487:17:17"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nativeSrc": "1440:37:17",
"nodeType": "YulIdentifier",
"src": "1440:37:17"
},
"nativeSrc": "1440:65:17",
"nodeType": "YulFunctionCall",
"src": "1440:65:17"
},
"nativeSrc": "1440:65:17",
"nodeType": "YulExpressionStatement",
"src": "1440:65:17"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nativeSrc": "1302:210:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "1366:9:17",
"nodeType": "YulTypedName",
"src": "1366:9:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "1378:6:17",
"nodeType": "YulTypedName",
"src": "1378:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "1389:4:17",
"nodeType": "YulTypedName",
"src": "1389:4:17",
"type": ""
}
],
"src": "1302:210:17"
},
{
"body": {
"nativeSrc": "1563:81:17",
"nodeType": "YulBlock",
"src": "1563:81:17",
"statements": [
{
"nativeSrc": "1573:65:17",
"nodeType": "YulAssignment",
"src": "1573:65:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1588:5:17",
"nodeType": "YulIdentifier",
"src": "1588:5:17"
},
{
"kind": "number",
"nativeSrc": "1595:42:17",
"nodeType": "YulLiteral",
"src": "1595:42:17",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nativeSrc": "1584:3:17",
"nodeType": "YulIdentifier",
"src": "1584:3:17"
},
"nativeSrc": "1584:54:17",
"nodeType": "YulFunctionCall",
"src": "1584:54:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1573:7:17",
"nodeType": "YulIdentifier",
"src": "1573:7:17"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nativeSrc": "1518:126:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1545:5:17",
"nodeType": "YulTypedName",
"src": "1545:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1555:7:17",
"nodeType": "YulTypedName",
"src": "1555:7:17",
"type": ""
}
],
"src": "1518:126:17"
},
{
"body": {
"nativeSrc": "1695:51:17",
"nodeType": "YulBlock",
"src": "1695:51:17",
"statements": [
{
"nativeSrc": "1705:35:17",
"nodeType": "YulAssignment",
"src": "1705:35:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "1734:5:17",
"nodeType": "YulIdentifier",
"src": "1734:5:17"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nativeSrc": "1716:17:17",
"nodeType": "YulIdentifier",
"src": "1716:17:17"
},
"nativeSrc": "1716:24:17",
"nodeType": "YulFunctionCall",
"src": "1716:24:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "1705:7:17",
"nodeType": "YulIdentifier",
"src": "1705:7:17"
}
]
}
]
},
"name": "cleanup_t_address",
"nativeSrc": "1650:96:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1677:5:17",
"nodeType": "YulTypedName",
"src": "1677:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "1687:7:17",
"nodeType": "YulTypedName",
"src": "1687:7:17",
"type": ""
}
],
"src": "1650:96:17"
},
{
"body": {
"nativeSrc": "1795:79:17",
"nodeType": "YulBlock",
"src": "1795:79:17",
"statements": [
{
"body": {
"nativeSrc": "1852:16:17",
"nodeType": "YulBlock",
"src": "1852:16:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1861:1:17",
"nodeType": "YulLiteral",
"src": "1861:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1864:1:17",
"nodeType": "YulLiteral",
"src": "1864:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1854:6:17",
"nodeType": "YulIdentifier",
"src": "1854:6:17"
},
"nativeSrc": "1854:12:17",
"nodeType": "YulFunctionCall",
"src": "1854:12:17"
},
"nativeSrc": "1854:12:17",
"nodeType": "YulExpressionStatement",
"src": "1854:12:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "1818:5:17",
"nodeType": "YulIdentifier",
"src": "1818:5:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "1843:5:17",
"nodeType": "YulIdentifier",
"src": "1843:5:17"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "1825:17:17",
"nodeType": "YulIdentifier",
"src": "1825:17:17"
},
"nativeSrc": "1825:24:17",
"nodeType": "YulFunctionCall",
"src": "1825:24:17"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "1815:2:17",
"nodeType": "YulIdentifier",
"src": "1815:2:17"
},
"nativeSrc": "1815:35:17",
"nodeType": "YulFunctionCall",
"src": "1815:35:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "1808:6:17",
"nodeType": "YulIdentifier",
"src": "1808:6:17"
},
"nativeSrc": "1808:43:17",
"nodeType": "YulFunctionCall",
"src": "1808:43:17"
},
"nativeSrc": "1805:63:17",
"nodeType": "YulIf",
"src": "1805:63:17"
}
]
},
"name": "validator_revert_t_address",
"nativeSrc": "1752:122:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "1788:5:17",
"nodeType": "YulTypedName",
"src": "1788:5:17",
"type": ""
}
],
"src": "1752:122:17"
},
{
"body": {
"nativeSrc": "1932:87:17",
"nodeType": "YulBlock",
"src": "1932:87:17",
"statements": [
{
"nativeSrc": "1942:29:17",
"nodeType": "YulAssignment",
"src": "1942:29:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "1964:6:17",
"nodeType": "YulIdentifier",
"src": "1964:6:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "1951:12:17",
"nodeType": "YulIdentifier",
"src": "1951:12:17"
},
"nativeSrc": "1951:20:17",
"nodeType": "YulFunctionCall",
"src": "1951:20:17"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "1942:5:17",
"nodeType": "YulIdentifier",
"src": "1942:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "2007:5:17",
"nodeType": "YulIdentifier",
"src": "2007:5:17"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nativeSrc": "1980:26:17",
"nodeType": "YulIdentifier",
"src": "1980:26:17"
},
"nativeSrc": "1980:33:17",
"nodeType": "YulFunctionCall",
"src": "1980:33:17"
},
"nativeSrc": "1980:33:17",
"nodeType": "YulExpressionStatement",
"src": "1980:33:17"
}
]
},
"name": "abi_decode_t_address",
"nativeSrc": "1880:139:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "1910:6:17",
"nodeType": "YulTypedName",
"src": "1910:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "1918:3:17",
"nodeType": "YulTypedName",
"src": "1918:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "1926:5:17",
"nodeType": "YulTypedName",
"src": "1926:5:17",
"type": ""
}
],
"src": "1880:139:17"
},
{
"body": {
"nativeSrc": "2070:32:17",
"nodeType": "YulBlock",
"src": "2070:32:17",
"statements": [
{
"nativeSrc": "2080:16:17",
"nodeType": "YulAssignment",
"src": "2080:16:17",
"value": {
"name": "value",
"nativeSrc": "2091:5:17",
"nodeType": "YulIdentifier",
"src": "2091:5:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "2080:7:17",
"nodeType": "YulIdentifier",
"src": "2080:7:17"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nativeSrc": "2025:77:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "2052:5:17",
"nodeType": "YulTypedName",
"src": "2052:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "2062:7:17",
"nodeType": "YulTypedName",
"src": "2062:7:17",
"type": ""
}
],
"src": "2025:77:17"
},
{
"body": {
"nativeSrc": "2151:79:17",
"nodeType": "YulBlock",
"src": "2151:79:17",
"statements": [
{
"body": {
"nativeSrc": "2208:16:17",
"nodeType": "YulBlock",
"src": "2208:16:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2217:1:17",
"nodeType": "YulLiteral",
"src": "2217:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2220:1:17",
"nodeType": "YulLiteral",
"src": "2220:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "2210:6:17",
"nodeType": "YulIdentifier",
"src": "2210:6:17"
},
"nativeSrc": "2210:12:17",
"nodeType": "YulFunctionCall",
"src": "2210:12:17"
},
"nativeSrc": "2210:12:17",
"nodeType": "YulExpressionStatement",
"src": "2210:12:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "2174:5:17",
"nodeType": "YulIdentifier",
"src": "2174:5:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "2199:5:17",
"nodeType": "YulIdentifier",
"src": "2199:5:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "2181:17:17",
"nodeType": "YulIdentifier",
"src": "2181:17:17"
},
"nativeSrc": "2181:24:17",
"nodeType": "YulFunctionCall",
"src": "2181:24:17"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "2171:2:17",
"nodeType": "YulIdentifier",
"src": "2171:2:17"
},
"nativeSrc": "2171:35:17",
"nodeType": "YulFunctionCall",
"src": "2171:35:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "2164:6:17",
"nodeType": "YulIdentifier",
"src": "2164:6:17"
},
"nativeSrc": "2164:43:17",
"nodeType": "YulFunctionCall",
"src": "2164:43:17"
},
"nativeSrc": "2161:63:17",
"nodeType": "YulIf",
"src": "2161:63:17"
}
]
},
"name": "validator_revert_t_uint256",
"nativeSrc": "2108:122:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "2144:5:17",
"nodeType": "YulTypedName",
"src": "2144:5:17",
"type": ""
}
],
"src": "2108:122:17"
},
{
"body": {
"nativeSrc": "2288:87:17",
"nodeType": "YulBlock",
"src": "2288:87:17",
"statements": [
{
"nativeSrc": "2298:29:17",
"nodeType": "YulAssignment",
"src": "2298:29:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "2320:6:17",
"nodeType": "YulIdentifier",
"src": "2320:6:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "2307:12:17",
"nodeType": "YulIdentifier",
"src": "2307:12:17"
},
"nativeSrc": "2307:20:17",
"nodeType": "YulFunctionCall",
"src": "2307:20:17"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "2298:5:17",
"nodeType": "YulIdentifier",
"src": "2298:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "2363:5:17",
"nodeType": "YulIdentifier",
"src": "2363:5:17"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nativeSrc": "2336:26:17",
"nodeType": "YulIdentifier",
"src": "2336:26:17"
},
"nativeSrc": "2336:33:17",
"nodeType": "YulFunctionCall",
"src": "2336:33:17"
},
"nativeSrc": "2336:33:17",
"nodeType": "YulExpressionStatement",
"src": "2336:33:17"
}
]
},
"name": "abi_decode_t_uint256",
"nativeSrc": "2236:139:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "2266:6:17",
"nodeType": "YulTypedName",
"src": "2266:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "2274:3:17",
"nodeType": "YulTypedName",
"src": "2274:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "2282:5:17",
"nodeType": "YulTypedName",
"src": "2282:5:17",
"type": ""
}
],
"src": "2236:139:17"
},
{
"body": {
"nativeSrc": "2470:28:17",
"nodeType": "YulBlock",
"src": "2470:28:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2487:1:17",
"nodeType": "YulLiteral",
"src": "2487:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2490:1:17",
"nodeType": "YulLiteral",
"src": "2490:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "2480:6:17",
"nodeType": "YulIdentifier",
"src": "2480:6:17"
},
"nativeSrc": "2480:12:17",
"nodeType": "YulFunctionCall",
"src": "2480:12:17"
},
"nativeSrc": "2480:12:17",
"nodeType": "YulExpressionStatement",
"src": "2480:12:17"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nativeSrc": "2381:117:17",
"nodeType": "YulFunctionDefinition",
"src": "2381:117:17"
},
{
"body": {
"nativeSrc": "2593:28:17",
"nodeType": "YulBlock",
"src": "2593:28:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2610:1:17",
"nodeType": "YulLiteral",
"src": "2610:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2613:1:17",
"nodeType": "YulLiteral",
"src": "2613:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "2603:6:17",
"nodeType": "YulIdentifier",
"src": "2603:6:17"
},
"nativeSrc": "2603:12:17",
"nodeType": "YulFunctionCall",
"src": "2603:12:17"
},
"nativeSrc": "2603:12:17",
"nodeType": "YulExpressionStatement",
"src": "2603:12:17"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nativeSrc": "2504:117:17",
"nodeType": "YulFunctionDefinition",
"src": "2504:117:17"
},
{
"body": {
"nativeSrc": "2675:54:17",
"nodeType": "YulBlock",
"src": "2675:54:17",
"statements": [
{
"nativeSrc": "2685:38:17",
"nodeType": "YulAssignment",
"src": "2685:38:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "2703:5:17",
"nodeType": "YulIdentifier",
"src": "2703:5:17"
},
{
"kind": "number",
"nativeSrc": "2710:2:17",
"nodeType": "YulLiteral",
"src": "2710:2:17",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2699:3:17",
"nodeType": "YulIdentifier",
"src": "2699:3:17"
},
"nativeSrc": "2699:14:17",
"nodeType": "YulFunctionCall",
"src": "2699:14:17"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "2719:2:17",
"nodeType": "YulLiteral",
"src": "2719:2:17",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nativeSrc": "2715:3:17",
"nodeType": "YulIdentifier",
"src": "2715:3:17"
},
"nativeSrc": "2715:7:17",
"nodeType": "YulFunctionCall",
"src": "2715:7:17"
}
],
"functionName": {
"name": "and",
"nativeSrc": "2695:3:17",
"nodeType": "YulIdentifier",
"src": "2695:3:17"
},
"nativeSrc": "2695:28:17",
"nodeType": "YulFunctionCall",
"src": "2695:28:17"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "2685:6:17",
"nodeType": "YulIdentifier",
"src": "2685:6:17"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nativeSrc": "2627:102:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "2658:5:17",
"nodeType": "YulTypedName",
"src": "2658:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "2668:6:17",
"nodeType": "YulTypedName",
"src": "2668:6:17",
"type": ""
}
],
"src": "2627:102:17"
},
{
"body": {
"nativeSrc": "2763:152:17",
"nodeType": "YulBlock",
"src": "2763:152:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2780:1:17",
"nodeType": "YulLiteral",
"src": "2780:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2783:77:17",
"nodeType": "YulLiteral",
"src": "2783:77:17",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2773:6:17",
"nodeType": "YulIdentifier",
"src": "2773:6:17"
},
"nativeSrc": "2773:88:17",
"nodeType": "YulFunctionCall",
"src": "2773:88:17"
},
"nativeSrc": "2773:88:17",
"nodeType": "YulExpressionStatement",
"src": "2773:88:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2877:1:17",
"nodeType": "YulLiteral",
"src": "2877:1:17",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "2880:4:17",
"nodeType": "YulLiteral",
"src": "2880:4:17",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2870:6:17",
"nodeType": "YulIdentifier",
"src": "2870:6:17"
},
"nativeSrc": "2870:15:17",
"nodeType": "YulFunctionCall",
"src": "2870:15:17"
},
"nativeSrc": "2870:15:17",
"nodeType": "YulExpressionStatement",
"src": "2870:15:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2901:1:17",
"nodeType": "YulLiteral",
"src": "2901:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2904:4:17",
"nodeType": "YulLiteral",
"src": "2904:4:17",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "2894:6:17",
"nodeType": "YulIdentifier",
"src": "2894:6:17"
},
"nativeSrc": "2894:15:17",
"nodeType": "YulFunctionCall",
"src": "2894:15:17"
},
"nativeSrc": "2894:15:17",
"nodeType": "YulExpressionStatement",
"src": "2894:15:17"
}
]
},
"name": "panic_error_0x41",
"nativeSrc": "2735:180:17",
"nodeType": "YulFunctionDefinition",
"src": "2735:180:17"
},
{
"body": {
"nativeSrc": "2964:238:17",
"nodeType": "YulBlock",
"src": "2964:238:17",
"statements": [
{
"nativeSrc": "2974:58:17",
"nodeType": "YulVariableDeclaration",
"src": "2974:58:17",
"value": {
"arguments": [
{
"name": "memPtr",
"nativeSrc": "2996:6:17",
"nodeType": "YulIdentifier",
"src": "2996:6:17"
},
{
"arguments": [
{
"name": "size",
"nativeSrc": "3026:4:17",
"nodeType": "YulIdentifier",
"src": "3026:4:17"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "3004:21:17",
"nodeType": "YulIdentifier",
"src": "3004:21:17"
},
"nativeSrc": "3004:27:17",
"nodeType": "YulFunctionCall",
"src": "3004:27:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2992:3:17",
"nodeType": "YulIdentifier",
"src": "2992:3:17"
},
"nativeSrc": "2992:40:17",
"nodeType": "YulFunctionCall",
"src": "2992:40:17"
},
"variables": [
{
"name": "newFreePtr",
"nativeSrc": "2978:10:17",
"nodeType": "YulTypedName",
"src": "2978:10:17",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "3143:22:17",
"nodeType": "YulBlock",
"src": "3143:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "3145:16:17",
"nodeType": "YulIdentifier",
"src": "3145:16:17"
},
"nativeSrc": "3145:18:17",
"nodeType": "YulFunctionCall",
"src": "3145:18:17"
},
"nativeSrc": "3145:18:17",
"nodeType": "YulExpressionStatement",
"src": "3145:18:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nativeSrc": "3086:10:17",
"nodeType": "YulIdentifier",
"src": "3086:10:17"
},
{
"kind": "number",
"nativeSrc": "3098:18:17",
"nodeType": "YulLiteral",
"src": "3098:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "3083:2:17",
"nodeType": "YulIdentifier",
"src": "3083:2:17"
},
"nativeSrc": "3083:34:17",
"nodeType": "YulFunctionCall",
"src": "3083:34:17"
},
{
"arguments": [
{
"name": "newFreePtr",
"nativeSrc": "3122:10:17",
"nodeType": "YulIdentifier",
"src": "3122:10:17"
},
{
"name": "memPtr",
"nativeSrc": "3134:6:17",
"nodeType": "YulIdentifier",
"src": "3134:6:17"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "3119:2:17",
"nodeType": "YulIdentifier",
"src": "3119:2:17"
},
"nativeSrc": "3119:22:17",
"nodeType": "YulFunctionCall",
"src": "3119:22:17"
}
],
"functionName": {
"name": "or",
"nativeSrc": "3080:2:17",
"nodeType": "YulIdentifier",
"src": "3080:2:17"
},
"nativeSrc": "3080:62:17",
"nodeType": "YulFunctionCall",
"src": "3080:62:17"
},
"nativeSrc": "3077:88:17",
"nodeType": "YulIf",
"src": "3077:88:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "3181:2:17",
"nodeType": "YulLiteral",
"src": "3181:2:17",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nativeSrc": "3185:10:17",
"nodeType": "YulIdentifier",
"src": "3185:10:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "3174:6:17",
"nodeType": "YulIdentifier",
"src": "3174:6:17"
},
"nativeSrc": "3174:22:17",
"nodeType": "YulFunctionCall",
"src": "3174:22:17"
},
"nativeSrc": "3174:22:17",
"nodeType": "YulExpressionStatement",
"src": "3174:22:17"
}
]
},
"name": "finalize_allocation",
"nativeSrc": "2921:281:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nativeSrc": "2950:6:17",
"nodeType": "YulTypedName",
"src": "2950:6:17",
"type": ""
},
{
"name": "size",
"nativeSrc": "2958:4:17",
"nodeType": "YulTypedName",
"src": "2958:4:17",
"type": ""
}
],
"src": "2921:281:17"
},
{
"body": {
"nativeSrc": "3249:88:17",
"nodeType": "YulBlock",
"src": "3249:88:17",
"statements": [
{
"nativeSrc": "3259:30:17",
"nodeType": "YulAssignment",
"src": "3259:30:17",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nativeSrc": "3269:18:17",
"nodeType": "YulIdentifier",
"src": "3269:18:17"
},
"nativeSrc": "3269:20:17",
"nodeType": "YulFunctionCall",
"src": "3269:20:17"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "3259:6:17",
"nodeType": "YulIdentifier",
"src": "3259:6:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nativeSrc": "3318:6:17",
"nodeType": "YulIdentifier",
"src": "3318:6:17"
},
{
"name": "size",
"nativeSrc": "3326:4:17",
"nodeType": "YulIdentifier",
"src": "3326:4:17"
}
],
"functionName": {
"name": "finalize_allocation",
"nativeSrc": "3298:19:17",
"nodeType": "YulIdentifier",
"src": "3298:19:17"
},
"nativeSrc": "3298:33:17",
"nodeType": "YulFunctionCall",
"src": "3298:33:17"
},
"nativeSrc": "3298:33:17",
"nodeType": "YulExpressionStatement",
"src": "3298:33:17"
}
]
},
"name": "allocate_memory",
"nativeSrc": "3208:129:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nativeSrc": "3233:4:17",
"nodeType": "YulTypedName",
"src": "3233:4:17",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "3242:6:17",
"nodeType": "YulTypedName",
"src": "3242:6:17",
"type": ""
}
],
"src": "3208:129:17"
},
{
"body": {
"nativeSrc": "3409:241:17",
"nodeType": "YulBlock",
"src": "3409:241:17",
"statements": [
{
"body": {
"nativeSrc": "3514:22:17",
"nodeType": "YulBlock",
"src": "3514:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "3516:16:17",
"nodeType": "YulIdentifier",
"src": "3516:16:17"
},
"nativeSrc": "3516:18:17",
"nodeType": "YulFunctionCall",
"src": "3516:18:17"
},
"nativeSrc": "3516:18:17",
"nodeType": "YulExpressionStatement",
"src": "3516:18:17"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nativeSrc": "3486:6:17",
"nodeType": "YulIdentifier",
"src": "3486:6:17"
},
{
"kind": "number",
"nativeSrc": "3494:18:17",
"nodeType": "YulLiteral",
"src": "3494:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "3483:2:17",
"nodeType": "YulIdentifier",
"src": "3483:2:17"
},
"nativeSrc": "3483:30:17",
"nodeType": "YulFunctionCall",
"src": "3483:30:17"
},
"nativeSrc": "3480:56:17",
"nodeType": "YulIf",
"src": "3480:56:17"
},
{
"nativeSrc": "3546:37:17",
"nodeType": "YulAssignment",
"src": "3546:37:17",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "3576:6:17",
"nodeType": "YulIdentifier",
"src": "3576:6:17"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "3554:21:17",
"nodeType": "YulIdentifier",
"src": "3554:21:17"
},
"nativeSrc": "3554:29:17",
"nodeType": "YulFunctionCall",
"src": "3554:29:17"
},
"variableNames": [
{
"name": "size",
"nativeSrc": "3546:4:17",
"nodeType": "YulIdentifier",
"src": "3546:4:17"
}
]
},
{
"nativeSrc": "3620:23:17",
"nodeType": "YulAssignment",
"src": "3620:23:17",
"value": {
"arguments": [
{
"name": "size",
"nativeSrc": "3632:4:17",
"nodeType": "YulIdentifier",
"src": "3632:4:17"
},
{
"kind": "number",
"nativeSrc": "3638:4:17",
"nodeType": "YulLiteral",
"src": "3638:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3628:3:17",
"nodeType": "YulIdentifier",
"src": "3628:3:17"
},
"nativeSrc": "3628:15:17",
"nodeType": "YulFunctionCall",
"src": "3628:15:17"
},
"variableNames": [
{
"name": "size",
"nativeSrc": "3620:4:17",
"nodeType": "YulIdentifier",
"src": "3620:4:17"
}
]
}
]
},
"name": "array_allocation_size_t_bytes_memory_ptr",
"nativeSrc": "3343:307:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nativeSrc": "3393:6:17",
"nodeType": "YulTypedName",
"src": "3393:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nativeSrc": "3404:4:17",
"nodeType": "YulTypedName",
"src": "3404:4:17",
"type": ""
}
],
"src": "3343:307:17"
},
{
"body": {
"nativeSrc": "3720:82:17",
"nodeType": "YulBlock",
"src": "3720:82:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nativeSrc": "3743:3:17",
"nodeType": "YulIdentifier",
"src": "3743:3:17"
},
{
"name": "src",
"nativeSrc": "3748:3:17",
"nodeType": "YulIdentifier",
"src": "3748:3:17"
},
{
"name": "length",
"nativeSrc": "3753:6:17",
"nodeType": "YulIdentifier",
"src": "3753:6:17"
}
],
"functionName": {
"name": "calldatacopy",
"nativeSrc": "3730:12:17",
"nodeType": "YulIdentifier",
"src": "3730:12:17"
},
"nativeSrc": "3730:30:17",
"nodeType": "YulFunctionCall",
"src": "3730:30:17"
},
"nativeSrc": "3730:30:17",
"nodeType": "YulExpressionStatement",
"src": "3730:30:17"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "3780:3:17",
"nodeType": "YulIdentifier",
"src": "3780:3:17"
},
{
"name": "length",
"nativeSrc": "3785:6:17",
"nodeType": "YulIdentifier",
"src": "3785:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3776:3:17",
"nodeType": "YulIdentifier",
"src": "3776:3:17"
},
"nativeSrc": "3776:16:17",
"nodeType": "YulFunctionCall",
"src": "3776:16:17"
},
{
"kind": "number",
"nativeSrc": "3794:1:17",
"nodeType": "YulLiteral",
"src": "3794:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "3769:6:17",
"nodeType": "YulIdentifier",
"src": "3769:6:17"
},
"nativeSrc": "3769:27:17",
"nodeType": "YulFunctionCall",
"src": "3769:27:17"
},
"nativeSrc": "3769:27:17",
"nodeType": "YulExpressionStatement",
"src": "3769:27:17"
}
]
},
"name": "copy_calldata_to_memory_with_cleanup",
"nativeSrc": "3656:146:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "3702:3:17",
"nodeType": "YulTypedName",
"src": "3702:3:17",
"type": ""
},
{
"name": "dst",
"nativeSrc": "3707:3:17",
"nodeType": "YulTypedName",
"src": "3707:3:17",
"type": ""
},
{
"name": "length",
"nativeSrc": "3712:6:17",
"nodeType": "YulTypedName",
"src": "3712:6:17",
"type": ""
}
],
"src": "3656:146:17"
},
{
"body": {
"nativeSrc": "3891:340:17",
"nodeType": "YulBlock",
"src": "3891:340:17",
"statements": [
{
"nativeSrc": "3901:74:17",
"nodeType": "YulAssignment",
"src": "3901:74:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nativeSrc": "3967:6:17",
"nodeType": "YulIdentifier",
"src": "3967:6:17"
}
],
"functionName": {
"name": "array_allocation_size_t_bytes_memory_ptr",
"nativeSrc": "3926:40:17",
"nodeType": "YulIdentifier",
"src": "3926:40:17"
},
"nativeSrc": "3926:48:17",
"nodeType": "YulFunctionCall",
"src": "3926:48:17"
}
],
"functionName": {
"name": "allocate_memory",
"nativeSrc": "3910:15:17",
"nodeType": "YulIdentifier",
"src": "3910:15:17"
},
"nativeSrc": "3910:65:17",
"nodeType": "YulFunctionCall",
"src": "3910:65:17"
},
"variableNames": [
{
"name": "array",
"nativeSrc": "3901:5:17",
"nodeType": "YulIdentifier",
"src": "3901:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nativeSrc": "3991:5:17",
"nodeType": "YulIdentifier",
"src": "3991:5:17"
},
{
"name": "length",
"nativeSrc": "3998:6:17",
"nodeType": "YulIdentifier",
"src": "3998:6:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "3984:6:17",
"nodeType": "YulIdentifier",
"src": "3984:6:17"
},
"nativeSrc": "3984:21:17",
"nodeType": "YulFunctionCall",
"src": "3984:21:17"
},
"nativeSrc": "3984:21:17",
"nodeType": "YulExpressionStatement",
"src": "3984:21:17"
},
{
"nativeSrc": "4014:27:17",
"nodeType": "YulVariableDeclaration",
"src": "4014:27:17",
"value": {
"arguments": [
{
"name": "array",
"nativeSrc": "4029:5:17",
"nodeType": "YulIdentifier",
"src": "4029:5:17"
},
{
"kind": "number",
"nativeSrc": "4036:4:17",
"nodeType": "YulLiteral",
"src": "4036:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4025:3:17",
"nodeType": "YulIdentifier",
"src": "4025:3:17"
},
"nativeSrc": "4025:16:17",
"nodeType": "YulFunctionCall",
"src": "4025:16:17"
},
"variables": [
{
"name": "dst",
"nativeSrc": "4018:3:17",
"nodeType": "YulTypedName",
"src": "4018:3:17",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "4079:83:17",
"nodeType": "YulBlock",
"src": "4079:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nativeSrc": "4081:77:17",
"nodeType": "YulIdentifier",
"src": "4081:77:17"
},
"nativeSrc": "4081:79:17",
"nodeType": "YulFunctionCall",
"src": "4081:79:17"
},
"nativeSrc": "4081:79:17",
"nodeType": "YulExpressionStatement",
"src": "4081:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "4060:3:17",
"nodeType": "YulIdentifier",
"src": "4060:3:17"
},
{
"name": "length",
"nativeSrc": "4065:6:17",
"nodeType": "YulIdentifier",
"src": "4065:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4056:3:17",
"nodeType": "YulIdentifier",
"src": "4056:3:17"
},
"nativeSrc": "4056:16:17",
"nodeType": "YulFunctionCall",
"src": "4056:16:17"
},
{
"name": "end",
"nativeSrc": "4074:3:17",
"nodeType": "YulIdentifier",
"src": "4074:3:17"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "4053:2:17",
"nodeType": "YulIdentifier",
"src": "4053:2:17"
},
"nativeSrc": "4053:25:17",
"nodeType": "YulFunctionCall",
"src": "4053:25:17"
},
"nativeSrc": "4050:112:17",
"nodeType": "YulIf",
"src": "4050:112:17"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nativeSrc": "4208:3:17",
"nodeType": "YulIdentifier",
"src": "4208:3:17"
},
{
"name": "dst",
"nativeSrc": "4213:3:17",
"nodeType": "YulIdentifier",
"src": "4213:3:17"
},
{
"name": "length",
"nativeSrc": "4218:6:17",
"nodeType": "YulIdentifier",
"src": "4218:6:17"
}
],
"functionName": {
"name": "copy_calldata_to_memory_with_cleanup",
"nativeSrc": "4171:36:17",
"nodeType": "YulIdentifier",
"src": "4171:36:17"
},
"nativeSrc": "4171:54:17",
"nodeType": "YulFunctionCall",
"src": "4171:54:17"
},
"nativeSrc": "4171:54:17",
"nodeType": "YulExpressionStatement",
"src": "4171:54:17"
}
]
},
"name": "abi_decode_available_length_t_bytes_memory_ptr",
"nativeSrc": "3808:423:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "3864:3:17",
"nodeType": "YulTypedName",
"src": "3864:3:17",
"type": ""
},
{
"name": "length",
"nativeSrc": "3869:6:17",
"nodeType": "YulTypedName",
"src": "3869:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "3877:3:17",
"nodeType": "YulTypedName",
"src": "3877:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nativeSrc": "3885:5:17",
"nodeType": "YulTypedName",
"src": "3885:5:17",
"type": ""
}
],
"src": "3808:423:17"
},
{
"body": {
"nativeSrc": "4311:277:17",
"nodeType": "YulBlock",
"src": "4311:277:17",
"statements": [
{
"body": {
"nativeSrc": "4360:83:17",
"nodeType": "YulBlock",
"src": "4360:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nativeSrc": "4362:77:17",
"nodeType": "YulIdentifier",
"src": "4362:77:17"
},
"nativeSrc": "4362:79:17",
"nodeType": "YulFunctionCall",
"src": "4362:79:17"
},
"nativeSrc": "4362:79:17",
"nodeType": "YulExpressionStatement",
"src": "4362:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nativeSrc": "4339:6:17",
"nodeType": "YulIdentifier",
"src": "4339:6:17"
},
{
"kind": "number",
"nativeSrc": "4347:4:17",
"nodeType": "YulLiteral",
"src": "4347:4:17",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4335:3:17",
"nodeType": "YulIdentifier",
"src": "4335:3:17"
},
"nativeSrc": "4335:17:17",
"nodeType": "YulFunctionCall",
"src": "4335:17:17"
},
{
"name": "end",
"nativeSrc": "4354:3:17",
"nodeType": "YulIdentifier",
"src": "4354:3:17"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "4331:3:17",
"nodeType": "YulIdentifier",
"src": "4331:3:17"
},
"nativeSrc": "4331:27:17",
"nodeType": "YulFunctionCall",
"src": "4331:27:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "4324:6:17",
"nodeType": "YulIdentifier",
"src": "4324:6:17"
},
"nativeSrc": "4324:35:17",
"nodeType": "YulFunctionCall",
"src": "4324:35:17"
},
"nativeSrc": "4321:122:17",
"nodeType": "YulIf",
"src": "4321:122:17"
},
{
"nativeSrc": "4452:34:17",
"nodeType": "YulVariableDeclaration",
"src": "4452:34:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "4479:6:17",
"nodeType": "YulIdentifier",
"src": "4479:6:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "4466:12:17",
"nodeType": "YulIdentifier",
"src": "4466:12:17"
},
"nativeSrc": "4466:20:17",
"nodeType": "YulFunctionCall",
"src": "4466:20:17"
},
"variables": [
{
"name": "length",
"nativeSrc": "4456:6:17",
"nodeType": "YulTypedName",
"src": "4456:6:17",
"type": ""
}
]
},
{
"nativeSrc": "4495:87:17",
"nodeType": "YulAssignment",
"src": "4495:87:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nativeSrc": "4555:6:17",
"nodeType": "YulIdentifier",
"src": "4555:6:17"
},
{
"kind": "number",
"nativeSrc": "4563:4:17",
"nodeType": "YulLiteral",
"src": "4563:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4551:3:17",
"nodeType": "YulIdentifier",
"src": "4551:3:17"
},
"nativeSrc": "4551:17:17",
"nodeType": "YulFunctionCall",
"src": "4551:17:17"
},
{
"name": "length",
"nativeSrc": "4570:6:17",
"nodeType": "YulIdentifier",
"src": "4570:6:17"
},
{
"name": "end",
"nativeSrc": "4578:3:17",
"nodeType": "YulIdentifier",
"src": "4578:3:17"
}
],
"functionName": {
"name": "abi_decode_available_length_t_bytes_memory_ptr",
"nativeSrc": "4504:46:17",
"nodeType": "YulIdentifier",
"src": "4504:46:17"
},
"nativeSrc": "4504:78:17",
"nodeType": "YulFunctionCall",
"src": "4504:78:17"
},
"variableNames": [
{
"name": "array",
"nativeSrc": "4495:5:17",
"nodeType": "YulIdentifier",
"src": "4495:5:17"
}
]
}
]
},
"name": "abi_decode_t_bytes_memory_ptr",
"nativeSrc": "4250:338:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "4289:6:17",
"nodeType": "YulTypedName",
"src": "4289:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "4297:3:17",
"nodeType": "YulTypedName",
"src": "4297:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nativeSrc": "4305:5:17",
"nodeType": "YulTypedName",
"src": "4305:5:17",
"type": ""
}
],
"src": "4250:338:17"
},
{
"body": {
"nativeSrc": "4720:817:17",
"nodeType": "YulBlock",
"src": "4720:817:17",
"statements": [
{
"body": {
"nativeSrc": "4767:83:17",
"nodeType": "YulBlock",
"src": "4767:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "4769:77:17",
"nodeType": "YulIdentifier",
"src": "4769:77:17"
},
"nativeSrc": "4769:79:17",
"nodeType": "YulFunctionCall",
"src": "4769:79:17"
},
"nativeSrc": "4769:79:17",
"nodeType": "YulExpressionStatement",
"src": "4769:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "4741:7:17",
"nodeType": "YulIdentifier",
"src": "4741:7:17"
},
{
"name": "headStart",
"nativeSrc": "4750:9:17",
"nodeType": "YulIdentifier",
"src": "4750:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "4737:3:17",
"nodeType": "YulIdentifier",
"src": "4737:3:17"
},
"nativeSrc": "4737:23:17",
"nodeType": "YulFunctionCall",
"src": "4737:23:17"
},
{
"kind": "number",
"nativeSrc": "4762:3:17",
"nodeType": "YulLiteral",
"src": "4762:3:17",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "4733:3:17",
"nodeType": "YulIdentifier",
"src": "4733:3:17"
},
"nativeSrc": "4733:33:17",
"nodeType": "YulFunctionCall",
"src": "4733:33:17"
},
"nativeSrc": "4730:120:17",
"nodeType": "YulIf",
"src": "4730:120:17"
},
{
"nativeSrc": "4860:117:17",
"nodeType": "YulBlock",
"src": "4860:117:17",
"statements": [
{
"nativeSrc": "4875:15:17",
"nodeType": "YulVariableDeclaration",
"src": "4875:15:17",
"value": {
"kind": "number",
"nativeSrc": "4889:1:17",
"nodeType": "YulLiteral",
"src": "4889:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "4879:6:17",
"nodeType": "YulTypedName",
"src": "4879:6:17",
"type": ""
}
]
},
{
"nativeSrc": "4904:63:17",
"nodeType": "YulAssignment",
"src": "4904:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "4939:9:17",
"nodeType": "YulIdentifier",
"src": "4939:9:17"
},
{
"name": "offset",
"nativeSrc": "4950:6:17",
"nodeType": "YulIdentifier",
"src": "4950:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4935:3:17",
"nodeType": "YulIdentifier",
"src": "4935:3:17"
},
"nativeSrc": "4935:22:17",
"nodeType": "YulFunctionCall",
"src": "4935:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "4959:7:17",
"nodeType": "YulIdentifier",
"src": "4959:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "4914:20:17",
"nodeType": "YulIdentifier",
"src": "4914:20:17"
},
"nativeSrc": "4914:53:17",
"nodeType": "YulFunctionCall",
"src": "4914:53:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "4904:6:17",
"nodeType": "YulIdentifier",
"src": "4904:6:17"
}
]
}
]
},
{
"nativeSrc": "4987:118:17",
"nodeType": "YulBlock",
"src": "4987:118:17",
"statements": [
{
"nativeSrc": "5002:16:17",
"nodeType": "YulVariableDeclaration",
"src": "5002:16:17",
"value": {
"kind": "number",
"nativeSrc": "5016:2:17",
"nodeType": "YulLiteral",
"src": "5016:2:17",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nativeSrc": "5006:6:17",
"nodeType": "YulTypedName",
"src": "5006:6:17",
"type": ""
}
]
},
{
"nativeSrc": "5032:63:17",
"nodeType": "YulAssignment",
"src": "5032:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "5067:9:17",
"nodeType": "YulIdentifier",
"src": "5067:9:17"
},
{
"name": "offset",
"nativeSrc": "5078:6:17",
"nodeType": "YulIdentifier",
"src": "5078:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5063:3:17",
"nodeType": "YulIdentifier",
"src": "5063:3:17"
},
"nativeSrc": "5063:22:17",
"nodeType": "YulFunctionCall",
"src": "5063:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "5087:7:17",
"nodeType": "YulIdentifier",
"src": "5087:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "5042:20:17",
"nodeType": "YulIdentifier",
"src": "5042:20:17"
},
"nativeSrc": "5042:53:17",
"nodeType": "YulFunctionCall",
"src": "5042:53:17"
},
"variableNames": [
{
"name": "value1",
"nativeSrc": "5032:6:17",
"nodeType": "YulIdentifier",
"src": "5032:6:17"
}
]
}
]
},
{
"nativeSrc": "5115:118:17",
"nodeType": "YulBlock",
"src": "5115:118:17",
"statements": [
{
"nativeSrc": "5130:16:17",
"nodeType": "YulVariableDeclaration",
"src": "5130:16:17",
"value": {
"kind": "number",
"nativeSrc": "5144:2:17",
"nodeType": "YulLiteral",
"src": "5144:2:17",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nativeSrc": "5134:6:17",
"nodeType": "YulTypedName",
"src": "5134:6:17",
"type": ""
}
]
},
{
"nativeSrc": "5160:63:17",
"nodeType": "YulAssignment",
"src": "5160:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "5195:9:17",
"nodeType": "YulIdentifier",
"src": "5195:9:17"
},
{
"name": "offset",
"nativeSrc": "5206:6:17",
"nodeType": "YulIdentifier",
"src": "5206:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5191:3:17",
"nodeType": "YulIdentifier",
"src": "5191:3:17"
},
"nativeSrc": "5191:22:17",
"nodeType": "YulFunctionCall",
"src": "5191:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "5215:7:17",
"nodeType": "YulIdentifier",
"src": "5215:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "5170:20:17",
"nodeType": "YulIdentifier",
"src": "5170:20:17"
},
"nativeSrc": "5170:53:17",
"nodeType": "YulFunctionCall",
"src": "5170:53:17"
},
"variableNames": [
{
"name": "value2",
"nativeSrc": "5160:6:17",
"nodeType": "YulIdentifier",
"src": "5160:6:17"
}
]
}
]
},
{
"nativeSrc": "5243:287:17",
"nodeType": "YulBlock",
"src": "5243:287:17",
"statements": [
{
"nativeSrc": "5258:46:17",
"nodeType": "YulVariableDeclaration",
"src": "5258:46:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "5289:9:17",
"nodeType": "YulIdentifier",
"src": "5289:9:17"
},
{
"kind": "number",
"nativeSrc": "5300:2:17",
"nodeType": "YulLiteral",
"src": "5300:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5285:3:17",
"nodeType": "YulIdentifier",
"src": "5285:3:17"
},
"nativeSrc": "5285:18:17",
"nodeType": "YulFunctionCall",
"src": "5285:18:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "5272:12:17",
"nodeType": "YulIdentifier",
"src": "5272:12:17"
},
"nativeSrc": "5272:32:17",
"nodeType": "YulFunctionCall",
"src": "5272:32:17"
},
"variables": [
{
"name": "offset",
"nativeSrc": "5262:6:17",
"nodeType": "YulTypedName",
"src": "5262:6:17",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "5351:83:17",
"nodeType": "YulBlock",
"src": "5351:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "5353:77:17",
"nodeType": "YulIdentifier",
"src": "5353:77:17"
},
"nativeSrc": "5353:79:17",
"nodeType": "YulFunctionCall",
"src": "5353:79:17"
},
"nativeSrc": "5353:79:17",
"nodeType": "YulExpressionStatement",
"src": "5353:79:17"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nativeSrc": "5323:6:17",
"nodeType": "YulIdentifier",
"src": "5323:6:17"
},
{
"kind": "number",
"nativeSrc": "5331:18:17",
"nodeType": "YulLiteral",
"src": "5331:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "5320:2:17",
"nodeType": "YulIdentifier",
"src": "5320:2:17"
},
"nativeSrc": "5320:30:17",
"nodeType": "YulFunctionCall",
"src": "5320:30:17"
},
"nativeSrc": "5317:117:17",
"nodeType": "YulIf",
"src": "5317:117:17"
},
{
"nativeSrc": "5448:72:17",
"nodeType": "YulAssignment",
"src": "5448:72:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "5492:9:17",
"nodeType": "YulIdentifier",
"src": "5492:9:17"
},
{
"name": "offset",
"nativeSrc": "5503:6:17",
"nodeType": "YulIdentifier",
"src": "5503:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5488:3:17",
"nodeType": "YulIdentifier",
"src": "5488:3:17"
},
"nativeSrc": "5488:22:17",
"nodeType": "YulFunctionCall",
"src": "5488:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "5512:7:17",
"nodeType": "YulIdentifier",
"src": "5512:7:17"
}
],
"functionName": {
"name": "abi_decode_t_bytes_memory_ptr",
"nativeSrc": "5458:29:17",
"nodeType": "YulIdentifier",
"src": "5458:29:17"
},
"nativeSrc": "5458:62:17",
"nodeType": "YulFunctionCall",
"src": "5458:62:17"
},
"variableNames": [
{
"name": "value3",
"nativeSrc": "5448:6:17",
"nodeType": "YulIdentifier",
"src": "5448:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr",
"nativeSrc": "4594:943:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "4666:9:17",
"nodeType": "YulTypedName",
"src": "4666:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "4677:7:17",
"nodeType": "YulTypedName",
"src": "4677:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "4689:6:17",
"nodeType": "YulTypedName",
"src": "4689:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "4697:6:17",
"nodeType": "YulTypedName",
"src": "4697:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "4705:6:17",
"nodeType": "YulTypedName",
"src": "4705:6:17",
"type": ""
},
{
"name": "value3",
"nativeSrc": "4713:6:17",
"nodeType": "YulTypedName",
"src": "4713:6:17",
"type": ""
}
],
"src": "4594:943:17"
},
{
"body": {
"nativeSrc": "5606:52:17",
"nodeType": "YulBlock",
"src": "5606:52:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "5623:3:17",
"nodeType": "YulIdentifier",
"src": "5623:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "5645:5:17",
"nodeType": "YulIdentifier",
"src": "5645:5:17"
}
],
"functionName": {
"name": "cleanup_t_bytes4",
"nativeSrc": "5628:16:17",
"nodeType": "YulIdentifier",
"src": "5628:16:17"
},
"nativeSrc": "5628:23:17",
"nodeType": "YulFunctionCall",
"src": "5628:23:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "5616:6:17",
"nodeType": "YulIdentifier",
"src": "5616:6:17"
},
"nativeSrc": "5616:36:17",
"nodeType": "YulFunctionCall",
"src": "5616:36:17"
},
"nativeSrc": "5616:36:17",
"nodeType": "YulExpressionStatement",
"src": "5616:36:17"
}
]
},
"name": "abi_encode_t_bytes4_to_t_bytes4_fromStack",
"nativeSrc": "5543:115:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5594:5:17",
"nodeType": "YulTypedName",
"src": "5594:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "5601:3:17",
"nodeType": "YulTypedName",
"src": "5601:3:17",
"type": ""
}
],
"src": "5543:115:17"
},
{
"body": {
"nativeSrc": "5760:122:17",
"nodeType": "YulBlock",
"src": "5760:122:17",
"statements": [
{
"nativeSrc": "5770:26:17",
"nodeType": "YulAssignment",
"src": "5770:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "5782:9:17",
"nodeType": "YulIdentifier",
"src": "5782:9:17"
},
{
"kind": "number",
"nativeSrc": "5793:2:17",
"nodeType": "YulLiteral",
"src": "5793:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5778:3:17",
"nodeType": "YulIdentifier",
"src": "5778:3:17"
},
"nativeSrc": "5778:18:17",
"nodeType": "YulFunctionCall",
"src": "5778:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "5770:4:17",
"nodeType": "YulIdentifier",
"src": "5770:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "5848:6:17",
"nodeType": "YulIdentifier",
"src": "5848:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "5861:9:17",
"nodeType": "YulIdentifier",
"src": "5861:9:17"
},
{
"kind": "number",
"nativeSrc": "5872:1:17",
"nodeType": "YulLiteral",
"src": "5872:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5857:3:17",
"nodeType": "YulIdentifier",
"src": "5857:3:17"
},
"nativeSrc": "5857:17:17",
"nodeType": "YulFunctionCall",
"src": "5857:17:17"
}
],
"functionName": {
"name": "abi_encode_t_bytes4_to_t_bytes4_fromStack",
"nativeSrc": "5806:41:17",
"nodeType": "YulIdentifier",
"src": "5806:41:17"
},
"nativeSrc": "5806:69:17",
"nodeType": "YulFunctionCall",
"src": "5806:69:17"
},
"nativeSrc": "5806:69:17",
"nodeType": "YulExpressionStatement",
"src": "5806:69:17"
}
]
},
"name": "abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed",
"nativeSrc": "5664:218:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "5732:9:17",
"nodeType": "YulTypedName",
"src": "5732:9:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "5744:6:17",
"nodeType": "YulTypedName",
"src": "5744:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "5755:4:17",
"nodeType": "YulTypedName",
"src": "5755:4:17",
"type": ""
}
],
"src": "5664:218:17"
},
{
"body": {
"nativeSrc": "5954:263:17",
"nodeType": "YulBlock",
"src": "5954:263:17",
"statements": [
{
"body": {
"nativeSrc": "6000:83:17",
"nodeType": "YulBlock",
"src": "6000:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "6002:77:17",
"nodeType": "YulIdentifier",
"src": "6002:77:17"
},
"nativeSrc": "6002:79:17",
"nodeType": "YulFunctionCall",
"src": "6002:79:17"
},
"nativeSrc": "6002:79:17",
"nodeType": "YulExpressionStatement",
"src": "6002:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "5975:7:17",
"nodeType": "YulIdentifier",
"src": "5975:7:17"
},
{
"name": "headStart",
"nativeSrc": "5984:9:17",
"nodeType": "YulIdentifier",
"src": "5984:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "5971:3:17",
"nodeType": "YulIdentifier",
"src": "5971:3:17"
},
"nativeSrc": "5971:23:17",
"nodeType": "YulFunctionCall",
"src": "5971:23:17"
},
{
"kind": "number",
"nativeSrc": "5996:2:17",
"nodeType": "YulLiteral",
"src": "5996:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "5967:3:17",
"nodeType": "YulIdentifier",
"src": "5967:3:17"
},
"nativeSrc": "5967:32:17",
"nodeType": "YulFunctionCall",
"src": "5967:32:17"
},
"nativeSrc": "5964:119:17",
"nodeType": "YulIf",
"src": "5964:119:17"
},
{
"nativeSrc": "6093:117:17",
"nodeType": "YulBlock",
"src": "6093:117:17",
"statements": [
{
"nativeSrc": "6108:15:17",
"nodeType": "YulVariableDeclaration",
"src": "6108:15:17",
"value": {
"kind": "number",
"nativeSrc": "6122:1:17",
"nodeType": "YulLiteral",
"src": "6122:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "6112:6:17",
"nodeType": "YulTypedName",
"src": "6112:6:17",
"type": ""
}
]
},
{
"nativeSrc": "6137:63:17",
"nodeType": "YulAssignment",
"src": "6137:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "6172:9:17",
"nodeType": "YulIdentifier",
"src": "6172:9:17"
},
{
"name": "offset",
"nativeSrc": "6183:6:17",
"nodeType": "YulIdentifier",
"src": "6183:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "6168:3:17",
"nodeType": "YulIdentifier",
"src": "6168:3:17"
},
"nativeSrc": "6168:22:17",
"nodeType": "YulFunctionCall",
"src": "6168:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "6192:7:17",
"nodeType": "YulIdentifier",
"src": "6192:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "6147:20:17",
"nodeType": "YulIdentifier",
"src": "6147:20:17"
},
"nativeSrc": "6147:53:17",
"nodeType": "YulFunctionCall",
"src": "6147:53:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "6137:6:17",
"nodeType": "YulIdentifier",
"src": "6137:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nativeSrc": "5888:329:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "5924:9:17",
"nodeType": "YulTypedName",
"src": "5924:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "5935:7:17",
"nodeType": "YulTypedName",
"src": "5935:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "5947:6:17",
"nodeType": "YulTypedName",
"src": "5947:6:17",
"type": ""
}
],
"src": "5888:329:17"
},
{
"body": {
"nativeSrc": "6288:53:17",
"nodeType": "YulBlock",
"src": "6288:53:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "6305:3:17",
"nodeType": "YulIdentifier",
"src": "6305:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "6328:5:17",
"nodeType": "YulIdentifier",
"src": "6328:5:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "6310:17:17",
"nodeType": "YulIdentifier",
"src": "6310:17:17"
},
"nativeSrc": "6310:24:17",
"nodeType": "YulFunctionCall",
"src": "6310:24:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "6298:6:17",
"nodeType": "YulIdentifier",
"src": "6298:6:17"
},
"nativeSrc": "6298:37:17",
"nodeType": "YulFunctionCall",
"src": "6298:37:17"
},
"nativeSrc": "6298:37:17",
"nodeType": "YulExpressionStatement",
"src": "6298:37:17"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "6223:118:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "6276:5:17",
"nodeType": "YulTypedName",
"src": "6276:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "6283:3:17",
"nodeType": "YulTypedName",
"src": "6283:3:17",
"type": ""
}
],
"src": "6223:118:17"
},
{
"body": {
"nativeSrc": "6412:53:17",
"nodeType": "YulBlock",
"src": "6412:53:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "6429:3:17",
"nodeType": "YulIdentifier",
"src": "6429:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "6452:5:17",
"nodeType": "YulIdentifier",
"src": "6452:5:17"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "6434:17:17",
"nodeType": "YulIdentifier",
"src": "6434:17:17"
},
"nativeSrc": "6434:24:17",
"nodeType": "YulFunctionCall",
"src": "6434:24:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "6422:6:17",
"nodeType": "YulIdentifier",
"src": "6422:6:17"
},
"nativeSrc": "6422:37:17",
"nodeType": "YulFunctionCall",
"src": "6422:37:17"
},
"nativeSrc": "6422:37:17",
"nodeType": "YulExpressionStatement",
"src": "6422:37:17"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "6347:118:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "6400:5:17",
"nodeType": "YulTypedName",
"src": "6400:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "6407:3:17",
"nodeType": "YulTypedName",
"src": "6407:3:17",
"type": ""
}
],
"src": "6347:118:17"
},
{
"body": {
"nativeSrc": "6499:152:17",
"nodeType": "YulBlock",
"src": "6499:152:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "6516:1:17",
"nodeType": "YulLiteral",
"src": "6516:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "6519:77:17",
"nodeType": "YulLiteral",
"src": "6519:77:17",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "6509:6:17",
"nodeType": "YulIdentifier",
"src": "6509:6:17"
},
"nativeSrc": "6509:88:17",
"nodeType": "YulFunctionCall",
"src": "6509:88:17"
},
"nativeSrc": "6509:88:17",
"nodeType": "YulExpressionStatement",
"src": "6509:88:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "6613:1:17",
"nodeType": "YulLiteral",
"src": "6613:1:17",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "6616:4:17",
"nodeType": "YulLiteral",
"src": "6616:4:17",
"type": "",
"value": "0x21"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "6606:6:17",
"nodeType": "YulIdentifier",
"src": "6606:6:17"
},
"nativeSrc": "6606:15:17",
"nodeType": "YulFunctionCall",
"src": "6606:15:17"
},
"nativeSrc": "6606:15:17",
"nodeType": "YulExpressionStatement",
"src": "6606:15:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "6637:1:17",
"nodeType": "YulLiteral",
"src": "6637:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "6640:4:17",
"nodeType": "YulLiteral",
"src": "6640:4:17",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "6630:6:17",
"nodeType": "YulIdentifier",
"src": "6630:6:17"
},
"nativeSrc": "6630:15:17",
"nodeType": "YulFunctionCall",
"src": "6630:15:17"
},
"nativeSrc": "6630:15:17",
"nodeType": "YulExpressionStatement",
"src": "6630:15:17"
}
]
},
"name": "panic_error_0x21",
"nativeSrc": "6471:180:17",
"nodeType": "YulFunctionDefinition",
"src": "6471:180:17"
},
{
"body": {
"nativeSrc": "6714:62:17",
"nodeType": "YulBlock",
"src": "6714:62:17",
"statements": [
{
"body": {
"nativeSrc": "6748:22:17",
"nodeType": "YulBlock",
"src": "6748:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x21",
"nativeSrc": "6750:16:17",
"nodeType": "YulIdentifier",
"src": "6750:16:17"
},
"nativeSrc": "6750:18:17",
"nodeType": "YulFunctionCall",
"src": "6750:18:17"
},
"nativeSrc": "6750:18:17",
"nodeType": "YulExpressionStatement",
"src": "6750:18:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "6737:5:17",
"nodeType": "YulIdentifier",
"src": "6737:5:17"
},
{
"kind": "number",
"nativeSrc": "6744:1:17",
"nodeType": "YulLiteral",
"src": "6744:1:17",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "6734:2:17",
"nodeType": "YulIdentifier",
"src": "6734:2:17"
},
"nativeSrc": "6734:12:17",
"nodeType": "YulFunctionCall",
"src": "6734:12:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "6727:6:17",
"nodeType": "YulIdentifier",
"src": "6727:6:17"
},
"nativeSrc": "6727:20:17",
"nodeType": "YulFunctionCall",
"src": "6727:20:17"
},
"nativeSrc": "6724:46:17",
"nodeType": "YulIf",
"src": "6724:46:17"
}
]
},
"name": "validator_assert_t_enum$_TokenType_$1960",
"nativeSrc": "6657:119:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "6707:5:17",
"nodeType": "YulTypedName",
"src": "6707:5:17",
"type": ""
}
],
"src": "6657:119:17"
},
{
"body": {
"nativeSrc": "6841:80:17",
"nodeType": "YulBlock",
"src": "6841:80:17",
"statements": [
{
"nativeSrc": "6851:16:17",
"nodeType": "YulAssignment",
"src": "6851:16:17",
"value": {
"name": "value",
"nativeSrc": "6862:5:17",
"nodeType": "YulIdentifier",
"src": "6862:5:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "6851:7:17",
"nodeType": "YulIdentifier",
"src": "6851:7:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "6909:5:17",
"nodeType": "YulIdentifier",
"src": "6909:5:17"
}
],
"functionName": {
"name": "validator_assert_t_enum$_TokenType_$1960",
"nativeSrc": "6868:40:17",
"nodeType": "YulIdentifier",
"src": "6868:40:17"
},
"nativeSrc": "6868:47:17",
"nodeType": "YulFunctionCall",
"src": "6868:47:17"
},
"nativeSrc": "6868:47:17",
"nodeType": "YulExpressionStatement",
"src": "6868:47:17"
}
]
},
"name": "cleanup_t_enum$_TokenType_$1960",
"nativeSrc": "6782:139:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "6823:5:17",
"nodeType": "YulTypedName",
"src": "6823:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "6833:7:17",
"nodeType": "YulTypedName",
"src": "6833:7:17",
"type": ""
}
],
"src": "6782:139:17"
},
{
"body": {
"nativeSrc": "6999:67:17",
"nodeType": "YulBlock",
"src": "6999:67:17",
"statements": [
{
"nativeSrc": "7009:51:17",
"nodeType": "YulAssignment",
"src": "7009:51:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "7054:5:17",
"nodeType": "YulIdentifier",
"src": "7054:5:17"
}
],
"functionName": {
"name": "cleanup_t_enum$_TokenType_$1960",
"nativeSrc": "7022:31:17",
"nodeType": "YulIdentifier",
"src": "7022:31:17"
},
"nativeSrc": "7022:38:17",
"nodeType": "YulFunctionCall",
"src": "7022:38:17"
},
"variableNames": [
{
"name": "converted",
"nativeSrc": "7009:9:17",
"nodeType": "YulIdentifier",
"src": "7009:9:17"
}
]
}
]
},
"name": "convert_t_enum$_TokenType_$1960_to_t_uint8",
"nativeSrc": "6927:139:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "6979:5:17",
"nodeType": "YulTypedName",
"src": "6979:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nativeSrc": "6989:9:17",
"nodeType": "YulTypedName",
"src": "6989:9:17",
"type": ""
}
],
"src": "6927:139:17"
},
{
"body": {
"nativeSrc": "7149:78:17",
"nodeType": "YulBlock",
"src": "7149:78:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "7166:3:17",
"nodeType": "YulIdentifier",
"src": "7166:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "7214:5:17",
"nodeType": "YulIdentifier",
"src": "7214:5:17"
}
],
"functionName": {
"name": "convert_t_enum$_TokenType_$1960_to_t_uint8",
"nativeSrc": "7171:42:17",
"nodeType": "YulIdentifier",
"src": "7171:42:17"
},
"nativeSrc": "7171:49:17",
"nodeType": "YulFunctionCall",
"src": "7171:49:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "7159:6:17",
"nodeType": "YulIdentifier",
"src": "7159:6:17"
},
"nativeSrc": "7159:62:17",
"nodeType": "YulFunctionCall",
"src": "7159:62:17"
},
"nativeSrc": "7159:62:17",
"nodeType": "YulExpressionStatement",
"src": "7159:62:17"
}
]
},
"name": "abi_encode_t_enum$_TokenType_$1960_to_t_uint8_fromStack",
"nativeSrc": "7072:155:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "7137:5:17",
"nodeType": "YulTypedName",
"src": "7137:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "7144:3:17",
"nodeType": "YulTypedName",
"src": "7144:3:17",
"type": ""
}
],
"src": "7072:155:17"
},
{
"body": {
"nativeSrc": "7618:959:17",
"nodeType": "YulBlock",
"src": "7618:959:17",
"statements": [
{
"nativeSrc": "7628:27:17",
"nodeType": "YulAssignment",
"src": "7628:27:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "7640:9:17",
"nodeType": "YulIdentifier",
"src": "7640:9:17"
},
{
"kind": "number",
"nativeSrc": "7651:3:17",
"nodeType": "YulLiteral",
"src": "7651:3:17",
"type": "",
"value": "352"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7636:3:17",
"nodeType": "YulIdentifier",
"src": "7636:3:17"
},
"nativeSrc": "7636:19:17",
"nodeType": "YulFunctionCall",
"src": "7636:19:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "7628:4:17",
"nodeType": "YulIdentifier",
"src": "7628:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "7709:6:17",
"nodeType": "YulIdentifier",
"src": "7709:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "7722:9:17",
"nodeType": "YulIdentifier",
"src": "7722:9:17"
},
{
"kind": "number",
"nativeSrc": "7733:1:17",
"nodeType": "YulLiteral",
"src": "7733:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7718:3:17",
"nodeType": "YulIdentifier",
"src": "7718:3:17"
},
"nativeSrc": "7718:17:17",
"nodeType": "YulFunctionCall",
"src": "7718:17:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "7665:43:17",
"nodeType": "YulIdentifier",
"src": "7665:43:17"
},
"nativeSrc": "7665:71:17",
"nodeType": "YulFunctionCall",
"src": "7665:71:17"
},
"nativeSrc": "7665:71:17",
"nodeType": "YulExpressionStatement",
"src": "7665:71:17"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nativeSrc": "7790:6:17",
"nodeType": "YulIdentifier",
"src": "7790:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "7803:9:17",
"nodeType": "YulIdentifier",
"src": "7803:9:17"
},
{
"kind": "number",
"nativeSrc": "7814:2:17",
"nodeType": "YulLiteral",
"src": "7814:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7799:3:17",
"nodeType": "YulIdentifier",
"src": "7799:3:17"
},
"nativeSrc": "7799:18:17",
"nodeType": "YulFunctionCall",
"src": "7799:18:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "7746:43:17",
"nodeType": "YulIdentifier",
"src": "7746:43:17"
},
"nativeSrc": "7746:72:17",
"nodeType": "YulFunctionCall",
"src": "7746:72:17"
},
"nativeSrc": "7746:72:17",
"nodeType": "YulExpressionStatement",
"src": "7746:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nativeSrc": "7884:6:17",
"nodeType": "YulIdentifier",
"src": "7884:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "7897:9:17",
"nodeType": "YulIdentifier",
"src": "7897:9:17"
},
{
"kind": "number",
"nativeSrc": "7908:2:17",
"nodeType": "YulLiteral",
"src": "7908:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7893:3:17",
"nodeType": "YulIdentifier",
"src": "7893:3:17"
},
"nativeSrc": "7893:18:17",
"nodeType": "YulFunctionCall",
"src": "7893:18:17"
}
],
"functionName": {
"name": "abi_encode_t_enum$_TokenType_$1960_to_t_uint8_fromStack",
"nativeSrc": "7828:55:17",
"nodeType": "YulIdentifier",
"src": "7828:55:17"
},
"nativeSrc": "7828:84:17",
"nodeType": "YulFunctionCall",
"src": "7828:84:17"
},
"nativeSrc": "7828:84:17",
"nodeType": "YulExpressionStatement",
"src": "7828:84:17"
},
{
"expression": {
"arguments": [
{
"name": "value3",
"nativeSrc": "7966:6:17",
"nodeType": "YulIdentifier",
"src": "7966:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "7979:9:17",
"nodeType": "YulIdentifier",
"src": "7979:9:17"
},
{
"kind": "number",
"nativeSrc": "7990:2:17",
"nodeType": "YulLiteral",
"src": "7990:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7975:3:17",
"nodeType": "YulIdentifier",
"src": "7975:3:17"
},
"nativeSrc": "7975:18:17",
"nodeType": "YulFunctionCall",
"src": "7975:18:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "7922:43:17",
"nodeType": "YulIdentifier",
"src": "7922:43:17"
},
"nativeSrc": "7922:72:17",
"nodeType": "YulFunctionCall",
"src": "7922:72:17"
},
"nativeSrc": "7922:72:17",
"nodeType": "YulExpressionStatement",
"src": "7922:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value4",
"nativeSrc": "8048:6:17",
"nodeType": "YulIdentifier",
"src": "8048:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "8061:9:17",
"nodeType": "YulIdentifier",
"src": "8061:9:17"
},
{
"kind": "number",
"nativeSrc": "8072:3:17",
"nodeType": "YulLiteral",
"src": "8072:3:17",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8057:3:17",
"nodeType": "YulIdentifier",
"src": "8057:3:17"
},
"nativeSrc": "8057:19:17",
"nodeType": "YulFunctionCall",
"src": "8057:19:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "8004:43:17",
"nodeType": "YulIdentifier",
"src": "8004:43:17"
},
"nativeSrc": "8004:73:17",
"nodeType": "YulFunctionCall",
"src": "8004:73:17"
},
"nativeSrc": "8004:73:17",
"nodeType": "YulExpressionStatement",
"src": "8004:73:17"
},
{
"expression": {
"arguments": [
{
"name": "value5",
"nativeSrc": "8131:6:17",
"nodeType": "YulIdentifier",
"src": "8131:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "8144:9:17",
"nodeType": "YulIdentifier",
"src": "8144:9:17"
},
{
"kind": "number",
"nativeSrc": "8155:3:17",
"nodeType": "YulLiteral",
"src": "8155:3:17",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8140:3:17",
"nodeType": "YulIdentifier",
"src": "8140:3:17"
},
"nativeSrc": "8140:19:17",
"nodeType": "YulFunctionCall",
"src": "8140:19:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "8087:43:17",
"nodeType": "YulIdentifier",
"src": "8087:43:17"
},
"nativeSrc": "8087:73:17",
"nodeType": "YulFunctionCall",
"src": "8087:73:17"
},
"nativeSrc": "8087:73:17",
"nodeType": "YulExpressionStatement",
"src": "8087:73:17"
},
{
"expression": {
"arguments": [
{
"name": "value6",
"nativeSrc": "8214:6:17",
"nodeType": "YulIdentifier",
"src": "8214:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "8227:9:17",
"nodeType": "YulIdentifier",
"src": "8227:9:17"
},
{
"kind": "number",
"nativeSrc": "8238:3:17",
"nodeType": "YulLiteral",
"src": "8238:3:17",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8223:3:17",
"nodeType": "YulIdentifier",
"src": "8223:3:17"
},
"nativeSrc": "8223:19:17",
"nodeType": "YulFunctionCall",
"src": "8223:19:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "8170:43:17",
"nodeType": "YulIdentifier",
"src": "8170:43:17"
},
"nativeSrc": "8170:73:17",
"nodeType": "YulFunctionCall",
"src": "8170:73:17"
},
"nativeSrc": "8170:73:17",
"nodeType": "YulExpressionStatement",
"src": "8170:73:17"
},
{
"expression": {
"arguments": [
{
"name": "value7",
"nativeSrc": "8297:6:17",
"nodeType": "YulIdentifier",
"src": "8297:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "8310:9:17",
"nodeType": "YulIdentifier",
"src": "8310:9:17"
},
{
"kind": "number",
"nativeSrc": "8321:3:17",
"nodeType": "YulLiteral",
"src": "8321:3:17",
"type": "",
"value": "224"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8306:3:17",
"nodeType": "YulIdentifier",
"src": "8306:3:17"
},
"nativeSrc": "8306:19:17",
"nodeType": "YulFunctionCall",
"src": "8306:19:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "8253:43:17",
"nodeType": "YulIdentifier",
"src": "8253:43:17"
},
"nativeSrc": "8253:73:17",
"nodeType": "YulFunctionCall",
"src": "8253:73:17"
},
"nativeSrc": "8253:73:17",
"nodeType": "YulExpressionStatement",
"src": "8253:73:17"
},
{
"expression": {
"arguments": [
{
"name": "value8",
"nativeSrc": "8380:6:17",
"nodeType": "YulIdentifier",
"src": "8380:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "8393:9:17",
"nodeType": "YulIdentifier",
"src": "8393:9:17"
},
{
"kind": "number",
"nativeSrc": "8404:3:17",
"nodeType": "YulLiteral",
"src": "8404:3:17",
"type": "",
"value": "256"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8389:3:17",
"nodeType": "YulIdentifier",
"src": "8389:3:17"
},
"nativeSrc": "8389:19:17",
"nodeType": "YulFunctionCall",
"src": "8389:19:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "8336:43:17",
"nodeType": "YulIdentifier",
"src": "8336:43:17"
},
"nativeSrc": "8336:73:17",
"nodeType": "YulFunctionCall",
"src": "8336:73:17"
},
"nativeSrc": "8336:73:17",
"nodeType": "YulExpressionStatement",
"src": "8336:73:17"
},
{
"expression": {
"arguments": [
{
"name": "value9",
"nativeSrc": "8463:6:17",
"nodeType": "YulIdentifier",
"src": "8463:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "8476:9:17",
"nodeType": "YulIdentifier",
"src": "8476:9:17"
},
{
"kind": "number",
"nativeSrc": "8487:3:17",
"nodeType": "YulLiteral",
"src": "8487:3:17",
"type": "",
"value": "288"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8472:3:17",
"nodeType": "YulIdentifier",
"src": "8472:3:17"
},
"nativeSrc": "8472:19:17",
"nodeType": "YulFunctionCall",
"src": "8472:19:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "8419:43:17",
"nodeType": "YulIdentifier",
"src": "8419:43:17"
},
"nativeSrc": "8419:73:17",
"nodeType": "YulFunctionCall",
"src": "8419:73:17"
},
"nativeSrc": "8419:73:17",
"nodeType": "YulExpressionStatement",
"src": "8419:73:17"
},
{
"expression": {
"arguments": [
{
"name": "value10",
"nativeSrc": "8540:7:17",
"nodeType": "YulIdentifier",
"src": "8540:7:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "8554:9:17",
"nodeType": "YulIdentifier",
"src": "8554:9:17"
},
{
"kind": "number",
"nativeSrc": "8565:3:17",
"nodeType": "YulLiteral",
"src": "8565:3:17",
"type": "",
"value": "320"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8550:3:17",
"nodeType": "YulIdentifier",
"src": "8550:3:17"
},
"nativeSrc": "8550:19:17",
"nodeType": "YulFunctionCall",
"src": "8550:19:17"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nativeSrc": "8502:37:17",
"nodeType": "YulIdentifier",
"src": "8502:37:17"
},
"nativeSrc": "8502:68:17",
"nodeType": "YulFunctionCall",
"src": "8502:68:17"
},
"nativeSrc": "8502:68:17",
"nodeType": "YulExpressionStatement",
"src": "8502:68:17"
}
]
},
"name": "abi_encode_tuple_t_uint256_t_address_t_enum$_TokenType_$1960_t_uint256_t_address_t_address_t_uint256_t_uint256_t_uint256_t_uint256_t_bool__to_t_uint256_t_address_t_uint8_t_uint256_t_address_t_address_t_uint256_t_uint256_t_uint256_t_uint256_t_bool__fromStack_reversed",
"nativeSrc": "7233:1344:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "7509:9:17",
"nodeType": "YulTypedName",
"src": "7509:9:17",
"type": ""
},
{
"name": "value10",
"nativeSrc": "7521:7:17",
"nodeType": "YulTypedName",
"src": "7521:7:17",
"type": ""
},
{
"name": "value9",
"nativeSrc": "7530:6:17",
"nodeType": "YulTypedName",
"src": "7530:6:17",
"type": ""
},
{
"name": "value8",
"nativeSrc": "7538:6:17",
"nodeType": "YulTypedName",
"src": "7538:6:17",
"type": ""
},
{
"name": "value7",
"nativeSrc": "7546:6:17",
"nodeType": "YulTypedName",
"src": "7546:6:17",
"type": ""
},
{
"name": "value6",
"nativeSrc": "7554:6:17",
"nodeType": "YulTypedName",
"src": "7554:6:17",
"type": ""
},
{
"name": "value5",
"nativeSrc": "7562:6:17",
"nodeType": "YulTypedName",
"src": "7562:6:17",
"type": ""
},
{
"name": "value4",
"nativeSrc": "7570:6:17",
"nodeType": "YulTypedName",
"src": "7570:6:17",
"type": ""
},
{
"name": "value3",
"nativeSrc": "7578:6:17",
"nodeType": "YulTypedName",
"src": "7578:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "7586:6:17",
"nodeType": "YulTypedName",
"src": "7586:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "7594:6:17",
"nodeType": "YulTypedName",
"src": "7594:6:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "7602:6:17",
"nodeType": "YulTypedName",
"src": "7602:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "7613:4:17",
"nodeType": "YulTypedName",
"src": "7613:4:17",
"type": ""
}
],
"src": "7233:1344:17"
},
{
"body": {
"nativeSrc": "8666:391:17",
"nodeType": "YulBlock",
"src": "8666:391:17",
"statements": [
{
"body": {
"nativeSrc": "8712:83:17",
"nodeType": "YulBlock",
"src": "8712:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "8714:77:17",
"nodeType": "YulIdentifier",
"src": "8714:77:17"
},
"nativeSrc": "8714:79:17",
"nodeType": "YulFunctionCall",
"src": "8714:79:17"
},
"nativeSrc": "8714:79:17",
"nodeType": "YulExpressionStatement",
"src": "8714:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "8687:7:17",
"nodeType": "YulIdentifier",
"src": "8687:7:17"
},
{
"name": "headStart",
"nativeSrc": "8696:9:17",
"nodeType": "YulIdentifier",
"src": "8696:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "8683:3:17",
"nodeType": "YulIdentifier",
"src": "8683:3:17"
},
"nativeSrc": "8683:23:17",
"nodeType": "YulFunctionCall",
"src": "8683:23:17"
},
{
"kind": "number",
"nativeSrc": "8708:2:17",
"nodeType": "YulLiteral",
"src": "8708:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "8679:3:17",
"nodeType": "YulIdentifier",
"src": "8679:3:17"
},
"nativeSrc": "8679:32:17",
"nodeType": "YulFunctionCall",
"src": "8679:32:17"
},
"nativeSrc": "8676:119:17",
"nodeType": "YulIf",
"src": "8676:119:17"
},
{
"nativeSrc": "8805:117:17",
"nodeType": "YulBlock",
"src": "8805:117:17",
"statements": [
{
"nativeSrc": "8820:15:17",
"nodeType": "YulVariableDeclaration",
"src": "8820:15:17",
"value": {
"kind": "number",
"nativeSrc": "8834:1:17",
"nodeType": "YulLiteral",
"src": "8834:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "8824:6:17",
"nodeType": "YulTypedName",
"src": "8824:6:17",
"type": ""
}
]
},
{
"nativeSrc": "8849:63:17",
"nodeType": "YulAssignment",
"src": "8849:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "8884:9:17",
"nodeType": "YulIdentifier",
"src": "8884:9:17"
},
{
"name": "offset",
"nativeSrc": "8895:6:17",
"nodeType": "YulIdentifier",
"src": "8895:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8880:3:17",
"nodeType": "YulIdentifier",
"src": "8880:3:17"
},
"nativeSrc": "8880:22:17",
"nodeType": "YulFunctionCall",
"src": "8880:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "8904:7:17",
"nodeType": "YulIdentifier",
"src": "8904:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "8859:20:17",
"nodeType": "YulIdentifier",
"src": "8859:20:17"
},
"nativeSrc": "8859:53:17",
"nodeType": "YulFunctionCall",
"src": "8859:53:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "8849:6:17",
"nodeType": "YulIdentifier",
"src": "8849:6:17"
}
]
}
]
},
{
"nativeSrc": "8932:118:17",
"nodeType": "YulBlock",
"src": "8932:118:17",
"statements": [
{
"nativeSrc": "8947:16:17",
"nodeType": "YulVariableDeclaration",
"src": "8947:16:17",
"value": {
"kind": "number",
"nativeSrc": "8961:2:17",
"nodeType": "YulLiteral",
"src": "8961:2:17",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nativeSrc": "8951:6:17",
"nodeType": "YulTypedName",
"src": "8951:6:17",
"type": ""
}
]
},
{
"nativeSrc": "8977:63:17",
"nodeType": "YulAssignment",
"src": "8977:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "9012:9:17",
"nodeType": "YulIdentifier",
"src": "9012:9:17"
},
{
"name": "offset",
"nativeSrc": "9023:6:17",
"nodeType": "YulIdentifier",
"src": "9023:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9008:3:17",
"nodeType": "YulIdentifier",
"src": "9008:3:17"
},
"nativeSrc": "9008:22:17",
"nodeType": "YulFunctionCall",
"src": "9008:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "9032:7:17",
"nodeType": "YulIdentifier",
"src": "9032:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "8987:20:17",
"nodeType": "YulIdentifier",
"src": "8987:20:17"
},
"nativeSrc": "8987:53:17",
"nodeType": "YulFunctionCall",
"src": "8987:53:17"
},
"variableNames": [
{
"name": "value1",
"nativeSrc": "8977:6:17",
"nodeType": "YulIdentifier",
"src": "8977:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nativeSrc": "8583:474:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "8628:9:17",
"nodeType": "YulTypedName",
"src": "8628:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "8639:7:17",
"nodeType": "YulTypedName",
"src": "8639:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "8651:6:17",
"nodeType": "YulTypedName",
"src": "8651:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "8659:6:17",
"nodeType": "YulTypedName",
"src": "8659:6:17",
"type": ""
}
],
"src": "8583:474:17"
},
{
"body": {
"nativeSrc": "9161:124:17",
"nodeType": "YulBlock",
"src": "9161:124:17",
"statements": [
{
"nativeSrc": "9171:26:17",
"nodeType": "YulAssignment",
"src": "9171:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "9183:9:17",
"nodeType": "YulIdentifier",
"src": "9183:9:17"
},
{
"kind": "number",
"nativeSrc": "9194:2:17",
"nodeType": "YulLiteral",
"src": "9194:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9179:3:17",
"nodeType": "YulIdentifier",
"src": "9179:3:17"
},
"nativeSrc": "9179:18:17",
"nodeType": "YulFunctionCall",
"src": "9179:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "9171:4:17",
"nodeType": "YulIdentifier",
"src": "9171:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "9251:6:17",
"nodeType": "YulIdentifier",
"src": "9251:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "9264:9:17",
"nodeType": "YulIdentifier",
"src": "9264:9:17"
},
{
"kind": "number",
"nativeSrc": "9275:1:17",
"nodeType": "YulLiteral",
"src": "9275:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9260:3:17",
"nodeType": "YulIdentifier",
"src": "9260:3:17"
},
"nativeSrc": "9260:17:17",
"nodeType": "YulFunctionCall",
"src": "9260:17:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "9207:43:17",
"nodeType": "YulIdentifier",
"src": "9207:43:17"
},
"nativeSrc": "9207:71:17",
"nodeType": "YulFunctionCall",
"src": "9207:71:17"
},
"nativeSrc": "9207:71:17",
"nodeType": "YulExpressionStatement",
"src": "9207:71:17"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nativeSrc": "9063:222:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "9133:9:17",
"nodeType": "YulTypedName",
"src": "9133:9:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "9145:6:17",
"nodeType": "YulTypedName",
"src": "9145:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "9156:4:17",
"nodeType": "YulTypedName",
"src": "9156:4:17",
"type": ""
}
],
"src": "9063:222:17"
},
{
"body": {
"nativeSrc": "9357:263:17",
"nodeType": "YulBlock",
"src": "9357:263:17",
"statements": [
{
"body": {
"nativeSrc": "9403:83:17",
"nodeType": "YulBlock",
"src": "9403:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "9405:77:17",
"nodeType": "YulIdentifier",
"src": "9405:77:17"
},
"nativeSrc": "9405:79:17",
"nodeType": "YulFunctionCall",
"src": "9405:79:17"
},
"nativeSrc": "9405:79:17",
"nodeType": "YulExpressionStatement",
"src": "9405:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "9378:7:17",
"nodeType": "YulIdentifier",
"src": "9378:7:17"
},
{
"name": "headStart",
"nativeSrc": "9387:9:17",
"nodeType": "YulIdentifier",
"src": "9387:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "9374:3:17",
"nodeType": "YulIdentifier",
"src": "9374:3:17"
},
"nativeSrc": "9374:23:17",
"nodeType": "YulFunctionCall",
"src": "9374:23:17"
},
{
"kind": "number",
"nativeSrc": "9399:2:17",
"nodeType": "YulLiteral",
"src": "9399:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "9370:3:17",
"nodeType": "YulIdentifier",
"src": "9370:3:17"
},
"nativeSrc": "9370:32:17",
"nodeType": "YulFunctionCall",
"src": "9370:32:17"
},
"nativeSrc": "9367:119:17",
"nodeType": "YulIf",
"src": "9367:119:17"
},
{
"nativeSrc": "9496:117:17",
"nodeType": "YulBlock",
"src": "9496:117:17",
"statements": [
{
"nativeSrc": "9511:15:17",
"nodeType": "YulVariableDeclaration",
"src": "9511:15:17",
"value": {
"kind": "number",
"nativeSrc": "9525:1:17",
"nodeType": "YulLiteral",
"src": "9525:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "9515:6:17",
"nodeType": "YulTypedName",
"src": "9515:6:17",
"type": ""
}
]
},
{
"nativeSrc": "9540:63:17",
"nodeType": "YulAssignment",
"src": "9540:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "9575:9:17",
"nodeType": "YulIdentifier",
"src": "9575:9:17"
},
{
"name": "offset",
"nativeSrc": "9586:6:17",
"nodeType": "YulIdentifier",
"src": "9586:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9571:3:17",
"nodeType": "YulIdentifier",
"src": "9571:3:17"
},
"nativeSrc": "9571:22:17",
"nodeType": "YulFunctionCall",
"src": "9571:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "9595:7:17",
"nodeType": "YulIdentifier",
"src": "9595:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "9550:20:17",
"nodeType": "YulIdentifier",
"src": "9550:20:17"
},
"nativeSrc": "9550:53:17",
"nodeType": "YulFunctionCall",
"src": "9550:53:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "9540:6:17",
"nodeType": "YulIdentifier",
"src": "9540:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nativeSrc": "9291:329:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "9327:9:17",
"nodeType": "YulTypedName",
"src": "9327:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "9338:7:17",
"nodeType": "YulTypedName",
"src": "9338:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "9350:6:17",
"nodeType": "YulTypedName",
"src": "9350:6:17",
"type": ""
}
],
"src": "9291:329:17"
},
{
"body": {
"nativeSrc": "9724:124:17",
"nodeType": "YulBlock",
"src": "9724:124:17",
"statements": [
{
"nativeSrc": "9734:26:17",
"nodeType": "YulAssignment",
"src": "9734:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "9746:9:17",
"nodeType": "YulIdentifier",
"src": "9746:9:17"
},
{
"kind": "number",
"nativeSrc": "9757:2:17",
"nodeType": "YulLiteral",
"src": "9757:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9742:3:17",
"nodeType": "YulIdentifier",
"src": "9742:3:17"
},
"nativeSrc": "9742:18:17",
"nodeType": "YulFunctionCall",
"src": "9742:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "9734:4:17",
"nodeType": "YulIdentifier",
"src": "9734:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "9814:6:17",
"nodeType": "YulIdentifier",
"src": "9814:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "9827:9:17",
"nodeType": "YulIdentifier",
"src": "9827:9:17"
},
{
"kind": "number",
"nativeSrc": "9838:1:17",
"nodeType": "YulLiteral",
"src": "9838:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9823:3:17",
"nodeType": "YulIdentifier",
"src": "9823:3:17"
},
"nativeSrc": "9823:17:17",
"nodeType": "YulFunctionCall",
"src": "9823:17:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "9770:43:17",
"nodeType": "YulIdentifier",
"src": "9770:43:17"
},
"nativeSrc": "9770:71:17",
"nodeType": "YulFunctionCall",
"src": "9770:71:17"
},
"nativeSrc": "9770:71:17",
"nodeType": "YulExpressionStatement",
"src": "9770:71:17"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nativeSrc": "9626:222:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "9696:9:17",
"nodeType": "YulTypedName",
"src": "9696:9:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "9708:6:17",
"nodeType": "YulTypedName",
"src": "9708:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "9719:4:17",
"nodeType": "YulTypedName",
"src": "9719:4:17",
"type": ""
}
],
"src": "9626:222:17"
},
{
"body": {
"nativeSrc": "9911:56:17",
"nodeType": "YulBlock",
"src": "9911:56:17",
"statements": [
{
"body": {
"nativeSrc": "9945:16:17",
"nodeType": "YulBlock",
"src": "9945:16:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "9954:1:17",
"nodeType": "YulLiteral",
"src": "9954:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "9957:1:17",
"nodeType": "YulLiteral",
"src": "9957:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "9947:6:17",
"nodeType": "YulIdentifier",
"src": "9947:6:17"
},
"nativeSrc": "9947:12:17",
"nodeType": "YulFunctionCall",
"src": "9947:12:17"
},
"nativeSrc": "9947:12:17",
"nodeType": "YulExpressionStatement",
"src": "9947:12:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "9934:5:17",
"nodeType": "YulIdentifier",
"src": "9934:5:17"
},
{
"kind": "number",
"nativeSrc": "9941:1:17",
"nodeType": "YulLiteral",
"src": "9941:1:17",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "9931:2:17",
"nodeType": "YulIdentifier",
"src": "9931:2:17"
},
"nativeSrc": "9931:12:17",
"nodeType": "YulFunctionCall",
"src": "9931:12:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "9924:6:17",
"nodeType": "YulIdentifier",
"src": "9924:6:17"
},
"nativeSrc": "9924:20:17",
"nodeType": "YulFunctionCall",
"src": "9924:20:17"
},
"nativeSrc": "9921:40:17",
"nodeType": "YulIf",
"src": "9921:40:17"
}
]
},
"name": "validator_revert_t_enum$_TokenType_$1960",
"nativeSrc": "9854:113:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "9904:5:17",
"nodeType": "YulTypedName",
"src": "9904:5:17",
"type": ""
}
],
"src": "9854:113:17"
},
{
"body": {
"nativeSrc": "10039:101:17",
"nodeType": "YulBlock",
"src": "10039:101:17",
"statements": [
{
"nativeSrc": "10049:29:17",
"nodeType": "YulAssignment",
"src": "10049:29:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "10071:6:17",
"nodeType": "YulIdentifier",
"src": "10071:6:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "10058:12:17",
"nodeType": "YulIdentifier",
"src": "10058:12:17"
},
"nativeSrc": "10058:20:17",
"nodeType": "YulFunctionCall",
"src": "10058:20:17"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "10049:5:17",
"nodeType": "YulIdentifier",
"src": "10049:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "10128:5:17",
"nodeType": "YulIdentifier",
"src": "10128:5:17"
}
],
"functionName": {
"name": "validator_revert_t_enum$_TokenType_$1960",
"nativeSrc": "10087:40:17",
"nodeType": "YulIdentifier",
"src": "10087:40:17"
},
"nativeSrc": "10087:47:17",
"nodeType": "YulFunctionCall",
"src": "10087:47:17"
},
"nativeSrc": "10087:47:17",
"nodeType": "YulExpressionStatement",
"src": "10087:47:17"
}
]
},
"name": "abi_decode_t_enum$_TokenType_$1960",
"nativeSrc": "9973:167:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "10017:6:17",
"nodeType": "YulTypedName",
"src": "10017:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "10025:3:17",
"nodeType": "YulTypedName",
"src": "10025:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "10033:5:17",
"nodeType": "YulTypedName",
"src": "10033:5:17",
"type": ""
}
],
"src": "9973:167:17"
},
{
"body": {
"nativeSrc": "10345:1178:17",
"nodeType": "YulBlock",
"src": "10345:1178:17",
"statements": [
{
"body": {
"nativeSrc": "10392:83:17",
"nodeType": "YulBlock",
"src": "10392:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "10394:77:17",
"nodeType": "YulIdentifier",
"src": "10394:77:17"
},
"nativeSrc": "10394:79:17",
"nodeType": "YulFunctionCall",
"src": "10394:79:17"
},
"nativeSrc": "10394:79:17",
"nodeType": "YulExpressionStatement",
"src": "10394:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "10366:7:17",
"nodeType": "YulIdentifier",
"src": "10366:7:17"
},
{
"name": "headStart",
"nativeSrc": "10375:9:17",
"nodeType": "YulIdentifier",
"src": "10375:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "10362:3:17",
"nodeType": "YulIdentifier",
"src": "10362:3:17"
},
"nativeSrc": "10362:23:17",
"nodeType": "YulFunctionCall",
"src": "10362:23:17"
},
{
"kind": "number",
"nativeSrc": "10387:3:17",
"nodeType": "YulLiteral",
"src": "10387:3:17",
"type": "",
"value": "256"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "10358:3:17",
"nodeType": "YulIdentifier",
"src": "10358:3:17"
},
"nativeSrc": "10358:33:17",
"nodeType": "YulFunctionCall",
"src": "10358:33:17"
},
"nativeSrc": "10355:120:17",
"nodeType": "YulIf",
"src": "10355:120:17"
},
{
"nativeSrc": "10485:117:17",
"nodeType": "YulBlock",
"src": "10485:117:17",
"statements": [
{
"nativeSrc": "10500:15:17",
"nodeType": "YulVariableDeclaration",
"src": "10500:15:17",
"value": {
"kind": "number",
"nativeSrc": "10514:1:17",
"nodeType": "YulLiteral",
"src": "10514:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "10504:6:17",
"nodeType": "YulTypedName",
"src": "10504:6:17",
"type": ""
}
]
},
{
"nativeSrc": "10529:63:17",
"nodeType": "YulAssignment",
"src": "10529:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "10564:9:17",
"nodeType": "YulIdentifier",
"src": "10564:9:17"
},
{
"name": "offset",
"nativeSrc": "10575:6:17",
"nodeType": "YulIdentifier",
"src": "10575:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "10560:3:17",
"nodeType": "YulIdentifier",
"src": "10560:3:17"
},
"nativeSrc": "10560:22:17",
"nodeType": "YulFunctionCall",
"src": "10560:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "10584:7:17",
"nodeType": "YulIdentifier",
"src": "10584:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "10539:20:17",
"nodeType": "YulIdentifier",
"src": "10539:20:17"
},
"nativeSrc": "10539:53:17",
"nodeType": "YulFunctionCall",
"src": "10539:53:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "10529:6:17",
"nodeType": "YulIdentifier",
"src": "10529:6:17"
}
]
}
]
},
{
"nativeSrc": "10612:118:17",
"nodeType": "YulBlock",
"src": "10612:118:17",
"statements": [
{
"nativeSrc": "10627:16:17",
"nodeType": "YulVariableDeclaration",
"src": "10627:16:17",
"value": {
"kind": "number",
"nativeSrc": "10641:2:17",
"nodeType": "YulLiteral",
"src": "10641:2:17",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nativeSrc": "10631:6:17",
"nodeType": "YulTypedName",
"src": "10631:6:17",
"type": ""
}
]
},
{
"nativeSrc": "10657:63:17",
"nodeType": "YulAssignment",
"src": "10657:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "10692:9:17",
"nodeType": "YulIdentifier",
"src": "10692:9:17"
},
{
"name": "offset",
"nativeSrc": "10703:6:17",
"nodeType": "YulIdentifier",
"src": "10703:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "10688:3:17",
"nodeType": "YulIdentifier",
"src": "10688:3:17"
},
"nativeSrc": "10688:22:17",
"nodeType": "YulFunctionCall",
"src": "10688:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "10712:7:17",
"nodeType": "YulIdentifier",
"src": "10712:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "10667:20:17",
"nodeType": "YulIdentifier",
"src": "10667:20:17"
},
"nativeSrc": "10667:53:17",
"nodeType": "YulFunctionCall",
"src": "10667:53:17"
},
"variableNames": [
{
"name": "value1",
"nativeSrc": "10657:6:17",
"nodeType": "YulIdentifier",
"src": "10657:6:17"
}
]
}
]
},
{
"nativeSrc": "10740:132:17",
"nodeType": "YulBlock",
"src": "10740:132:17",
"statements": [
{
"nativeSrc": "10755:16:17",
"nodeType": "YulVariableDeclaration",
"src": "10755:16:17",
"value": {
"kind": "number",
"nativeSrc": "10769:2:17",
"nodeType": "YulLiteral",
"src": "10769:2:17",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nativeSrc": "10759:6:17",
"nodeType": "YulTypedName",
"src": "10759:6:17",
"type": ""
}
]
},
{
"nativeSrc": "10785:77:17",
"nodeType": "YulAssignment",
"src": "10785:77:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "10834:9:17",
"nodeType": "YulIdentifier",
"src": "10834:9:17"
},
{
"name": "offset",
"nativeSrc": "10845:6:17",
"nodeType": "YulIdentifier",
"src": "10845:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "10830:3:17",
"nodeType": "YulIdentifier",
"src": "10830:3:17"
},
"nativeSrc": "10830:22:17",
"nodeType": "YulFunctionCall",
"src": "10830:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "10854:7:17",
"nodeType": "YulIdentifier",
"src": "10854:7:17"
}
],
"functionName": {
"name": "abi_decode_t_enum$_TokenType_$1960",
"nativeSrc": "10795:34:17",
"nodeType": "YulIdentifier",
"src": "10795:34:17"
},
"nativeSrc": "10795:67:17",
"nodeType": "YulFunctionCall",
"src": "10795:67:17"
},
"variableNames": [
{
"name": "value2",
"nativeSrc": "10785:6:17",
"nodeType": "YulIdentifier",
"src": "10785:6:17"
}
]
}
]
},
{
"nativeSrc": "10882:118:17",
"nodeType": "YulBlock",
"src": "10882:118:17",
"statements": [
{
"nativeSrc": "10897:16:17",
"nodeType": "YulVariableDeclaration",
"src": "10897:16:17",
"value": {
"kind": "number",
"nativeSrc": "10911:2:17",
"nodeType": "YulLiteral",
"src": "10911:2:17",
"type": "",
"value": "96"
},
"variables": [
{
"name": "offset",
"nativeSrc": "10901:6:17",
"nodeType": "YulTypedName",
"src": "10901:6:17",
"type": ""
}
]
},
{
"nativeSrc": "10927:63:17",
"nodeType": "YulAssignment",
"src": "10927:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "10962:9:17",
"nodeType": "YulIdentifier",
"src": "10962:9:17"
},
{
"name": "offset",
"nativeSrc": "10973:6:17",
"nodeType": "YulIdentifier",
"src": "10973:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "10958:3:17",
"nodeType": "YulIdentifier",
"src": "10958:3:17"
},
"nativeSrc": "10958:22:17",
"nodeType": "YulFunctionCall",
"src": "10958:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "10982:7:17",
"nodeType": "YulIdentifier",
"src": "10982:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "10937:20:17",
"nodeType": "YulIdentifier",
"src": "10937:20:17"
},
"nativeSrc": "10937:53:17",
"nodeType": "YulFunctionCall",
"src": "10937:53:17"
},
"variableNames": [
{
"name": "value3",
"nativeSrc": "10927:6:17",
"nodeType": "YulIdentifier",
"src": "10927:6:17"
}
]
}
]
},
{
"nativeSrc": "11010:119:17",
"nodeType": "YulBlock",
"src": "11010:119:17",
"statements": [
{
"nativeSrc": "11025:17:17",
"nodeType": "YulVariableDeclaration",
"src": "11025:17:17",
"value": {
"kind": "number",
"nativeSrc": "11039:3:17",
"nodeType": "YulLiteral",
"src": "11039:3:17",
"type": "",
"value": "128"
},
"variables": [
{
"name": "offset",
"nativeSrc": "11029:6:17",
"nodeType": "YulTypedName",
"src": "11029:6:17",
"type": ""
}
]
},
{
"nativeSrc": "11056:63:17",
"nodeType": "YulAssignment",
"src": "11056:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "11091:9:17",
"nodeType": "YulIdentifier",
"src": "11091:9:17"
},
{
"name": "offset",
"nativeSrc": "11102:6:17",
"nodeType": "YulIdentifier",
"src": "11102:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "11087:3:17",
"nodeType": "YulIdentifier",
"src": "11087:3:17"
},
"nativeSrc": "11087:22:17",
"nodeType": "YulFunctionCall",
"src": "11087:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "11111:7:17",
"nodeType": "YulIdentifier",
"src": "11111:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "11066:20:17",
"nodeType": "YulIdentifier",
"src": "11066:20:17"
},
"nativeSrc": "11066:53:17",
"nodeType": "YulFunctionCall",
"src": "11066:53:17"
},
"variableNames": [
{
"name": "value4",
"nativeSrc": "11056:6:17",
"nodeType": "YulIdentifier",
"src": "11056:6:17"
}
]
}
]
},
{
"nativeSrc": "11139:119:17",
"nodeType": "YulBlock",
"src": "11139:119:17",
"statements": [
{
"nativeSrc": "11154:17:17",
"nodeType": "YulVariableDeclaration",
"src": "11154:17:17",
"value": {
"kind": "number",
"nativeSrc": "11168:3:17",
"nodeType": "YulLiteral",
"src": "11168:3:17",
"type": "",
"value": "160"
},
"variables": [
{
"name": "offset",
"nativeSrc": "11158:6:17",
"nodeType": "YulTypedName",
"src": "11158:6:17",
"type": ""
}
]
},
{
"nativeSrc": "11185:63:17",
"nodeType": "YulAssignment",
"src": "11185:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "11220:9:17",
"nodeType": "YulIdentifier",
"src": "11220:9:17"
},
{
"name": "offset",
"nativeSrc": "11231:6:17",
"nodeType": "YulIdentifier",
"src": "11231:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "11216:3:17",
"nodeType": "YulIdentifier",
"src": "11216:3:17"
},
"nativeSrc": "11216:22:17",
"nodeType": "YulFunctionCall",
"src": "11216:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "11240:7:17",
"nodeType": "YulIdentifier",
"src": "11240:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "11195:20:17",
"nodeType": "YulIdentifier",
"src": "11195:20:17"
},
"nativeSrc": "11195:53:17",
"nodeType": "YulFunctionCall",
"src": "11195:53:17"
},
"variableNames": [
{
"name": "value5",
"nativeSrc": "11185:6:17",
"nodeType": "YulIdentifier",
"src": "11185:6:17"
}
]
}
]
},
{
"nativeSrc": "11268:119:17",
"nodeType": "YulBlock",
"src": "11268:119:17",
"statements": [
{
"nativeSrc": "11283:17:17",
"nodeType": "YulVariableDeclaration",
"src": "11283:17:17",
"value": {
"kind": "number",
"nativeSrc": "11297:3:17",
"nodeType": "YulLiteral",
"src": "11297:3:17",
"type": "",
"value": "192"
},
"variables": [
{
"name": "offset",
"nativeSrc": "11287:6:17",
"nodeType": "YulTypedName",
"src": "11287:6:17",
"type": ""
}
]
},
{
"nativeSrc": "11314:63:17",
"nodeType": "YulAssignment",
"src": "11314:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "11349:9:17",
"nodeType": "YulIdentifier",
"src": "11349:9:17"
},
{
"name": "offset",
"nativeSrc": "11360:6:17",
"nodeType": "YulIdentifier",
"src": "11360:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "11345:3:17",
"nodeType": "YulIdentifier",
"src": "11345:3:17"
},
"nativeSrc": "11345:22:17",
"nodeType": "YulFunctionCall",
"src": "11345:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "11369:7:17",
"nodeType": "YulIdentifier",
"src": "11369:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "11324:20:17",
"nodeType": "YulIdentifier",
"src": "11324:20:17"
},
"nativeSrc": "11324:53:17",
"nodeType": "YulFunctionCall",
"src": "11324:53:17"
},
"variableNames": [
{
"name": "value6",
"nativeSrc": "11314:6:17",
"nodeType": "YulIdentifier",
"src": "11314:6:17"
}
]
}
]
},
{
"nativeSrc": "11397:119:17",
"nodeType": "YulBlock",
"src": "11397:119:17",
"statements": [
{
"nativeSrc": "11412:17:17",
"nodeType": "YulVariableDeclaration",
"src": "11412:17:17",
"value": {
"kind": "number",
"nativeSrc": "11426:3:17",
"nodeType": "YulLiteral",
"src": "11426:3:17",
"type": "",
"value": "224"
},
"variables": [
{
"name": "offset",
"nativeSrc": "11416:6:17",
"nodeType": "YulTypedName",
"src": "11416:6:17",
"type": ""
}
]
},
{
"nativeSrc": "11443:63:17",
"nodeType": "YulAssignment",
"src": "11443:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "11478:9:17",
"nodeType": "YulIdentifier",
"src": "11478:9:17"
},
{
"name": "offset",
"nativeSrc": "11489:6:17",
"nodeType": "YulIdentifier",
"src": "11489:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "11474:3:17",
"nodeType": "YulIdentifier",
"src": "11474:3:17"
},
"nativeSrc": "11474:22:17",
"nodeType": "YulFunctionCall",
"src": "11474:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "11498:7:17",
"nodeType": "YulIdentifier",
"src": "11498:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "11453:20:17",
"nodeType": "YulIdentifier",
"src": "11453:20:17"
},
"nativeSrc": "11453:53:17",
"nodeType": "YulFunctionCall",
"src": "11453:53:17"
},
"variableNames": [
{
"name": "value7",
"nativeSrc": "11443:6:17",
"nodeType": "YulIdentifier",
"src": "11443:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_addresst_enum$_TokenType_$1960t_uint256t_addresst_uint256t_uint256t_uint256",
"nativeSrc": "10146:1377:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "10259:9:17",
"nodeType": "YulTypedName",
"src": "10259:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "10270:7:17",
"nodeType": "YulTypedName",
"src": "10270:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "10282:6:17",
"nodeType": "YulTypedName",
"src": "10282:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "10290:6:17",
"nodeType": "YulTypedName",
"src": "10290:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "10298:6:17",
"nodeType": "YulTypedName",
"src": "10298:6:17",
"type": ""
},
{
"name": "value3",
"nativeSrc": "10306:6:17",
"nodeType": "YulTypedName",
"src": "10306:6:17",
"type": ""
},
{
"name": "value4",
"nativeSrc": "10314:6:17",
"nodeType": "YulTypedName",
"src": "10314:6:17",
"type": ""
},
{
"name": "value5",
"nativeSrc": "10322:6:17",
"nodeType": "YulTypedName",
"src": "10322:6:17",
"type": ""
},
{
"name": "value6",
"nativeSrc": "10330:6:17",
"nodeType": "YulTypedName",
"src": "10330:6:17",
"type": ""
},
{
"name": "value7",
"nativeSrc": "10338:6:17",
"nodeType": "YulTypedName",
"src": "10338:6:17",
"type": ""
}
],
"src": "10146:1377:17"
},
{
"body": {
"nativeSrc": "11611:229:17",
"nodeType": "YulBlock",
"src": "11611:229:17",
"statements": [
{
"body": {
"nativeSrc": "11716:22:17",
"nodeType": "YulBlock",
"src": "11716:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "11718:16:17",
"nodeType": "YulIdentifier",
"src": "11718:16:17"
},
"nativeSrc": "11718:18:17",
"nodeType": "YulFunctionCall",
"src": "11718:18:17"
},
"nativeSrc": "11718:18:17",
"nodeType": "YulExpressionStatement",
"src": "11718:18:17"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nativeSrc": "11688:6:17",
"nodeType": "YulIdentifier",
"src": "11688:6:17"
},
{
"kind": "number",
"nativeSrc": "11696:18:17",
"nodeType": "YulLiteral",
"src": "11696:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "11685:2:17",
"nodeType": "YulIdentifier",
"src": "11685:2:17"
},
"nativeSrc": "11685:30:17",
"nodeType": "YulFunctionCall",
"src": "11685:30:17"
},
"nativeSrc": "11682:56:17",
"nodeType": "YulIf",
"src": "11682:56:17"
},
{
"nativeSrc": "11748:25:17",
"nodeType": "YulAssignment",
"src": "11748:25:17",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "11760:6:17",
"nodeType": "YulIdentifier",
"src": "11760:6:17"
},
{
"kind": "number",
"nativeSrc": "11768:4:17",
"nodeType": "YulLiteral",
"src": "11768:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "11756:3:17",
"nodeType": "YulIdentifier",
"src": "11756:3:17"
},
"nativeSrc": "11756:17:17",
"nodeType": "YulFunctionCall",
"src": "11756:17:17"
},
"variableNames": [
{
"name": "size",
"nativeSrc": "11748:4:17",
"nodeType": "YulIdentifier",
"src": "11748:4:17"
}
]
},
{
"nativeSrc": "11810:23:17",
"nodeType": "YulAssignment",
"src": "11810:23:17",
"value": {
"arguments": [
{
"name": "size",
"nativeSrc": "11822:4:17",
"nodeType": "YulIdentifier",
"src": "11822:4:17"
},
{
"kind": "number",
"nativeSrc": "11828:4:17",
"nodeType": "YulLiteral",
"src": "11828:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "11818:3:17",
"nodeType": "YulIdentifier",
"src": "11818:3:17"
},
"nativeSrc": "11818:15:17",
"nodeType": "YulFunctionCall",
"src": "11818:15:17"
},
"variableNames": [
{
"name": "size",
"nativeSrc": "11810:4:17",
"nodeType": "YulIdentifier",
"src": "11810:4:17"
}
]
}
]
},
"name": "array_allocation_size_t_array$_t_uint256_$dyn_memory_ptr",
"nativeSrc": "11529:311:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nativeSrc": "11595:6:17",
"nodeType": "YulTypedName",
"src": "11595:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nativeSrc": "11606:4:17",
"nodeType": "YulTypedName",
"src": "11606:4:17",
"type": ""
}
],
"src": "11529:311:17"
},
{
"body": {
"nativeSrc": "11935:28:17",
"nodeType": "YulBlock",
"src": "11935:28:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "11952:1:17",
"nodeType": "YulLiteral",
"src": "11952:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "11955:1:17",
"nodeType": "YulLiteral",
"src": "11955:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "11945:6:17",
"nodeType": "YulIdentifier",
"src": "11945:6:17"
},
"nativeSrc": "11945:12:17",
"nodeType": "YulFunctionCall",
"src": "11945:12:17"
},
"nativeSrc": "11945:12:17",
"nodeType": "YulExpressionStatement",
"src": "11945:12:17"
}
]
},
"name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef",
"nativeSrc": "11846:117:17",
"nodeType": "YulFunctionDefinition",
"src": "11846:117:17"
},
{
"body": {
"nativeSrc": "12088:608:17",
"nodeType": "YulBlock",
"src": "12088:608:17",
"statements": [
{
"nativeSrc": "12098:90:17",
"nodeType": "YulAssignment",
"src": "12098:90:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nativeSrc": "12180:6:17",
"nodeType": "YulIdentifier",
"src": "12180:6:17"
}
],
"functionName": {
"name": "array_allocation_size_t_array$_t_uint256_$dyn_memory_ptr",
"nativeSrc": "12123:56:17",
"nodeType": "YulIdentifier",
"src": "12123:56:17"
},
"nativeSrc": "12123:64:17",
"nodeType": "YulFunctionCall",
"src": "12123:64:17"
}
],
"functionName": {
"name": "allocate_memory",
"nativeSrc": "12107:15:17",
"nodeType": "YulIdentifier",
"src": "12107:15:17"
},
"nativeSrc": "12107:81:17",
"nodeType": "YulFunctionCall",
"src": "12107:81:17"
},
"variableNames": [
{
"name": "array",
"nativeSrc": "12098:5:17",
"nodeType": "YulIdentifier",
"src": "12098:5:17"
}
]
},
{
"nativeSrc": "12197:16:17",
"nodeType": "YulVariableDeclaration",
"src": "12197:16:17",
"value": {
"name": "array",
"nativeSrc": "12208:5:17",
"nodeType": "YulIdentifier",
"src": "12208:5:17"
},
"variables": [
{
"name": "dst",
"nativeSrc": "12201:3:17",
"nodeType": "YulTypedName",
"src": "12201:3:17",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nativeSrc": "12230:5:17",
"nodeType": "YulIdentifier",
"src": "12230:5:17"
},
{
"name": "length",
"nativeSrc": "12237:6:17",
"nodeType": "YulIdentifier",
"src": "12237:6:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "12223:6:17",
"nodeType": "YulIdentifier",
"src": "12223:6:17"
},
"nativeSrc": "12223:21:17",
"nodeType": "YulFunctionCall",
"src": "12223:21:17"
},
"nativeSrc": "12223:21:17",
"nodeType": "YulExpressionStatement",
"src": "12223:21:17"
},
{
"nativeSrc": "12253:23:17",
"nodeType": "YulAssignment",
"src": "12253:23:17",
"value": {
"arguments": [
{
"name": "array",
"nativeSrc": "12264:5:17",
"nodeType": "YulIdentifier",
"src": "12264:5:17"
},
{
"kind": "number",
"nativeSrc": "12271:4:17",
"nodeType": "YulLiteral",
"src": "12271:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "12260:3:17",
"nodeType": "YulIdentifier",
"src": "12260:3:17"
},
"nativeSrc": "12260:16:17",
"nodeType": "YulFunctionCall",
"src": "12260:16:17"
},
"variableNames": [
{
"name": "dst",
"nativeSrc": "12253:3:17",
"nodeType": "YulIdentifier",
"src": "12253:3:17"
}
]
},
{
"nativeSrc": "12286:44:17",
"nodeType": "YulVariableDeclaration",
"src": "12286:44:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "12304:6:17",
"nodeType": "YulIdentifier",
"src": "12304:6:17"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "12316:6:17",
"nodeType": "YulIdentifier",
"src": "12316:6:17"
},
{
"kind": "number",
"nativeSrc": "12324:4:17",
"nodeType": "YulLiteral",
"src": "12324:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "12312:3:17",
"nodeType": "YulIdentifier",
"src": "12312:3:17"
},
"nativeSrc": "12312:17:17",
"nodeType": "YulFunctionCall",
"src": "12312:17:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "12300:3:17",
"nodeType": "YulIdentifier",
"src": "12300:3:17"
},
"nativeSrc": "12300:30:17",
"nodeType": "YulFunctionCall",
"src": "12300:30:17"
},
"variables": [
{
"name": "srcEnd",
"nativeSrc": "12290:6:17",
"nodeType": "YulTypedName",
"src": "12290:6:17",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "12358:103:17",
"nodeType": "YulBlock",
"src": "12358:103:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_81385d8c0b31fffe14be1da910c8bd3a80be4cfa248e04f42ec0faea3132a8ef",
"nativeSrc": "12372:77:17",
"nodeType": "YulIdentifier",
"src": "12372:77:17"
},
"nativeSrc": "12372:79:17",
"nodeType": "YulFunctionCall",
"src": "12372:79:17"
},
"nativeSrc": "12372:79:17",
"nodeType": "YulExpressionStatement",
"src": "12372:79:17"
}
]
},
"condition": {
"arguments": [
{
"name": "srcEnd",
"nativeSrc": "12345:6:17",
"nodeType": "YulIdentifier",
"src": "12345:6:17"
},
{
"name": "end",
"nativeSrc": "12353:3:17",
"nodeType": "YulIdentifier",
"src": "12353:3:17"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "12342:2:17",
"nodeType": "YulIdentifier",
"src": "12342:2:17"
},
"nativeSrc": "12342:15:17",
"nodeType": "YulFunctionCall",
"src": "12342:15:17"
},
"nativeSrc": "12339:122:17",
"nodeType": "YulIf",
"src": "12339:122:17"
},
{
"body": {
"nativeSrc": "12546:144:17",
"nodeType": "YulBlock",
"src": "12546:144:17",
"statements": [
{
"nativeSrc": "12561:21:17",
"nodeType": "YulVariableDeclaration",
"src": "12561:21:17",
"value": {
"name": "src",
"nativeSrc": "12579:3:17",
"nodeType": "YulIdentifier",
"src": "12579:3:17"
},
"variables": [
{
"name": "elementPos",
"nativeSrc": "12565:10:17",
"nodeType": "YulTypedName",
"src": "12565:10:17",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dst",
"nativeSrc": "12603:3:17",
"nodeType": "YulIdentifier",
"src": "12603:3:17"
},
{
"arguments": [
{
"name": "elementPos",
"nativeSrc": "12629:10:17",
"nodeType": "YulIdentifier",
"src": "12629:10:17"
},
{
"name": "end",
"nativeSrc": "12641:3:17",
"nodeType": "YulIdentifier",
"src": "12641:3:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "12608:20:17",
"nodeType": "YulIdentifier",
"src": "12608:20:17"
},
"nativeSrc": "12608:37:17",
"nodeType": "YulFunctionCall",
"src": "12608:37:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "12596:6:17",
"nodeType": "YulIdentifier",
"src": "12596:6:17"
},
"nativeSrc": "12596:50:17",
"nodeType": "YulFunctionCall",
"src": "12596:50:17"
},
"nativeSrc": "12596:50:17",
"nodeType": "YulExpressionStatement",
"src": "12596:50:17"
},
{
"nativeSrc": "12659:21:17",
"nodeType": "YulAssignment",
"src": "12659:21:17",
"value": {
"arguments": [
{
"name": "dst",
"nativeSrc": "12670:3:17",
"nodeType": "YulIdentifier",
"src": "12670:3:17"
},
{
"kind": "number",
"nativeSrc": "12675:4:17",
"nodeType": "YulLiteral",
"src": "12675:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "12666:3:17",
"nodeType": "YulIdentifier",
"src": "12666:3:17"
},
"nativeSrc": "12666:14:17",
"nodeType": "YulFunctionCall",
"src": "12666:14:17"
},
"variableNames": [
{
"name": "dst",
"nativeSrc": "12659:3:17",
"nodeType": "YulIdentifier",
"src": "12659:3:17"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "src",
"nativeSrc": "12499:3:17",
"nodeType": "YulIdentifier",
"src": "12499:3:17"
},
{
"name": "srcEnd",
"nativeSrc": "12504:6:17",
"nodeType": "YulIdentifier",
"src": "12504:6:17"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "12496:2:17",
"nodeType": "YulIdentifier",
"src": "12496:2:17"
},
"nativeSrc": "12496:15:17",
"nodeType": "YulFunctionCall",
"src": "12496:15:17"
},
"nativeSrc": "12470:220:17",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "12512:25:17",
"nodeType": "YulBlock",
"src": "12512:25:17",
"statements": [
{
"nativeSrc": "12514:21:17",
"nodeType": "YulAssignment",
"src": "12514:21:17",
"value": {
"arguments": [
{
"name": "src",
"nativeSrc": "12525:3:17",
"nodeType": "YulIdentifier",
"src": "12525:3:17"
},
{
"kind": "number",
"nativeSrc": "12530:4:17",
"nodeType": "YulLiteral",
"src": "12530:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "12521:3:17",
"nodeType": "YulIdentifier",
"src": "12521:3:17"
},
"nativeSrc": "12521:14:17",
"nodeType": "YulFunctionCall",
"src": "12521:14:17"
},
"variableNames": [
{
"name": "src",
"nativeSrc": "12514:3:17",
"nodeType": "YulIdentifier",
"src": "12514:3:17"
}
]
}
]
},
"pre": {
"nativeSrc": "12474:21:17",
"nodeType": "YulBlock",
"src": "12474:21:17",
"statements": [
{
"nativeSrc": "12476:17:17",
"nodeType": "YulVariableDeclaration",
"src": "12476:17:17",
"value": {
"name": "offset",
"nativeSrc": "12487:6:17",
"nodeType": "YulIdentifier",
"src": "12487:6:17"
},
"variables": [
{
"name": "src",
"nativeSrc": "12480:3:17",
"nodeType": "YulTypedName",
"src": "12480:3:17",
"type": ""
}
]
}
]
},
"src": "12470:220:17"
}
]
},
"name": "abi_decode_available_length_t_array$_t_uint256_$dyn_memory_ptr",
"nativeSrc": "11986:710:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "12058:6:17",
"nodeType": "YulTypedName",
"src": "12058:6:17",
"type": ""
},
{
"name": "length",
"nativeSrc": "12066:6:17",
"nodeType": "YulTypedName",
"src": "12066:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "12074:3:17",
"nodeType": "YulTypedName",
"src": "12074:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nativeSrc": "12082:5:17",
"nodeType": "YulTypedName",
"src": "12082:5:17",
"type": ""
}
],
"src": "11986:710:17"
},
{
"body": {
"nativeSrc": "12796:293:17",
"nodeType": "YulBlock",
"src": "12796:293:17",
"statements": [
{
"body": {
"nativeSrc": "12845:83:17",
"nodeType": "YulBlock",
"src": "12845:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nativeSrc": "12847:77:17",
"nodeType": "YulIdentifier",
"src": "12847:77:17"
},
"nativeSrc": "12847:79:17",
"nodeType": "YulFunctionCall",
"src": "12847:79:17"
},
"nativeSrc": "12847:79:17",
"nodeType": "YulExpressionStatement",
"src": "12847:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nativeSrc": "12824:6:17",
"nodeType": "YulIdentifier",
"src": "12824:6:17"
},
{
"kind": "number",
"nativeSrc": "12832:4:17",
"nodeType": "YulLiteral",
"src": "12832:4:17",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nativeSrc": "12820:3:17",
"nodeType": "YulIdentifier",
"src": "12820:3:17"
},
"nativeSrc": "12820:17:17",
"nodeType": "YulFunctionCall",
"src": "12820:17:17"
},
{
"name": "end",
"nativeSrc": "12839:3:17",
"nodeType": "YulIdentifier",
"src": "12839:3:17"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "12816:3:17",
"nodeType": "YulIdentifier",
"src": "12816:3:17"
},
"nativeSrc": "12816:27:17",
"nodeType": "YulFunctionCall",
"src": "12816:27:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "12809:6:17",
"nodeType": "YulIdentifier",
"src": "12809:6:17"
},
"nativeSrc": "12809:35:17",
"nodeType": "YulFunctionCall",
"src": "12809:35:17"
},
"nativeSrc": "12806:122:17",
"nodeType": "YulIf",
"src": "12806:122:17"
},
{
"nativeSrc": "12937:34:17",
"nodeType": "YulVariableDeclaration",
"src": "12937:34:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "12964:6:17",
"nodeType": "YulIdentifier",
"src": "12964:6:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "12951:12:17",
"nodeType": "YulIdentifier",
"src": "12951:12:17"
},
"nativeSrc": "12951:20:17",
"nodeType": "YulFunctionCall",
"src": "12951:20:17"
},
"variables": [
{
"name": "length",
"nativeSrc": "12941:6:17",
"nodeType": "YulTypedName",
"src": "12941:6:17",
"type": ""
}
]
},
{
"nativeSrc": "12980:103:17",
"nodeType": "YulAssignment",
"src": "12980:103:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nativeSrc": "13056:6:17",
"nodeType": "YulIdentifier",
"src": "13056:6:17"
},
{
"kind": "number",
"nativeSrc": "13064:4:17",
"nodeType": "YulLiteral",
"src": "13064:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "13052:3:17",
"nodeType": "YulIdentifier",
"src": "13052:3:17"
},
"nativeSrc": "13052:17:17",
"nodeType": "YulFunctionCall",
"src": "13052:17:17"
},
{
"name": "length",
"nativeSrc": "13071:6:17",
"nodeType": "YulIdentifier",
"src": "13071:6:17"
},
{
"name": "end",
"nativeSrc": "13079:3:17",
"nodeType": "YulIdentifier",
"src": "13079:3:17"
}
],
"functionName": {
"name": "abi_decode_available_length_t_array$_t_uint256_$dyn_memory_ptr",
"nativeSrc": "12989:62:17",
"nodeType": "YulIdentifier",
"src": "12989:62:17"
},
"nativeSrc": "12989:94:17",
"nodeType": "YulFunctionCall",
"src": "12989:94:17"
},
"variableNames": [
{
"name": "array",
"nativeSrc": "12980:5:17",
"nodeType": "YulIdentifier",
"src": "12980:5:17"
}
]
}
]
},
"name": "abi_decode_t_array$_t_uint256_$dyn_memory_ptr",
"nativeSrc": "12719:370:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "12774:6:17",
"nodeType": "YulTypedName",
"src": "12774:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "12782:3:17",
"nodeType": "YulTypedName",
"src": "12782:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nativeSrc": "12790:5:17",
"nodeType": "YulTypedName",
"src": "12790:5:17",
"type": ""
}
],
"src": "12719:370:17"
},
{
"body": {
"nativeSrc": "13288:1316:17",
"nodeType": "YulBlock",
"src": "13288:1316:17",
"statements": [
{
"body": {
"nativeSrc": "13335:83:17",
"nodeType": "YulBlock",
"src": "13335:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "13337:77:17",
"nodeType": "YulIdentifier",
"src": "13337:77:17"
},
"nativeSrc": "13337:79:17",
"nodeType": "YulFunctionCall",
"src": "13337:79:17"
},
"nativeSrc": "13337:79:17",
"nodeType": "YulExpressionStatement",
"src": "13337:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "13309:7:17",
"nodeType": "YulIdentifier",
"src": "13309:7:17"
},
{
"name": "headStart",
"nativeSrc": "13318:9:17",
"nodeType": "YulIdentifier",
"src": "13318:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "13305:3:17",
"nodeType": "YulIdentifier",
"src": "13305:3:17"
},
"nativeSrc": "13305:23:17",
"nodeType": "YulFunctionCall",
"src": "13305:23:17"
},
{
"kind": "number",
"nativeSrc": "13330:3:17",
"nodeType": "YulLiteral",
"src": "13330:3:17",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "13301:3:17",
"nodeType": "YulIdentifier",
"src": "13301:3:17"
},
"nativeSrc": "13301:33:17",
"nodeType": "YulFunctionCall",
"src": "13301:33:17"
},
"nativeSrc": "13298:120:17",
"nodeType": "YulIf",
"src": "13298:120:17"
},
{
"nativeSrc": "13428:117:17",
"nodeType": "YulBlock",
"src": "13428:117:17",
"statements": [
{
"nativeSrc": "13443:15:17",
"nodeType": "YulVariableDeclaration",
"src": "13443:15:17",
"value": {
"kind": "number",
"nativeSrc": "13457:1:17",
"nodeType": "YulLiteral",
"src": "13457:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "13447:6:17",
"nodeType": "YulTypedName",
"src": "13447:6:17",
"type": ""
}
]
},
{
"nativeSrc": "13472:63:17",
"nodeType": "YulAssignment",
"src": "13472:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "13507:9:17",
"nodeType": "YulIdentifier",
"src": "13507:9:17"
},
{
"name": "offset",
"nativeSrc": "13518:6:17",
"nodeType": "YulIdentifier",
"src": "13518:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "13503:3:17",
"nodeType": "YulIdentifier",
"src": "13503:3:17"
},
"nativeSrc": "13503:22:17",
"nodeType": "YulFunctionCall",
"src": "13503:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "13527:7:17",
"nodeType": "YulIdentifier",
"src": "13527:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "13482:20:17",
"nodeType": "YulIdentifier",
"src": "13482:20:17"
},
"nativeSrc": "13482:53:17",
"nodeType": "YulFunctionCall",
"src": "13482:53:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "13472:6:17",
"nodeType": "YulIdentifier",
"src": "13472:6:17"
}
]
}
]
},
{
"nativeSrc": "13555:118:17",
"nodeType": "YulBlock",
"src": "13555:118:17",
"statements": [
{
"nativeSrc": "13570:16:17",
"nodeType": "YulVariableDeclaration",
"src": "13570:16:17",
"value": {
"kind": "number",
"nativeSrc": "13584:2:17",
"nodeType": "YulLiteral",
"src": "13584:2:17",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nativeSrc": "13574:6:17",
"nodeType": "YulTypedName",
"src": "13574:6:17",
"type": ""
}
]
},
{
"nativeSrc": "13600:63:17",
"nodeType": "YulAssignment",
"src": "13600:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "13635:9:17",
"nodeType": "YulIdentifier",
"src": "13635:9:17"
},
{
"name": "offset",
"nativeSrc": "13646:6:17",
"nodeType": "YulIdentifier",
"src": "13646:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "13631:3:17",
"nodeType": "YulIdentifier",
"src": "13631:3:17"
},
"nativeSrc": "13631:22:17",
"nodeType": "YulFunctionCall",
"src": "13631:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "13655:7:17",
"nodeType": "YulIdentifier",
"src": "13655:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "13610:20:17",
"nodeType": "YulIdentifier",
"src": "13610:20:17"
},
"nativeSrc": "13610:53:17",
"nodeType": "YulFunctionCall",
"src": "13610:53:17"
},
"variableNames": [
{
"name": "value1",
"nativeSrc": "13600:6:17",
"nodeType": "YulIdentifier",
"src": "13600:6:17"
}
]
}
]
},
{
"nativeSrc": "13683:303:17",
"nodeType": "YulBlock",
"src": "13683:303:17",
"statements": [
{
"nativeSrc": "13698:46:17",
"nodeType": "YulVariableDeclaration",
"src": "13698:46:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "13729:9:17",
"nodeType": "YulIdentifier",
"src": "13729:9:17"
},
{
"kind": "number",
"nativeSrc": "13740:2:17",
"nodeType": "YulLiteral",
"src": "13740:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "13725:3:17",
"nodeType": "YulIdentifier",
"src": "13725:3:17"
},
"nativeSrc": "13725:18:17",
"nodeType": "YulFunctionCall",
"src": "13725:18:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "13712:12:17",
"nodeType": "YulIdentifier",
"src": "13712:12:17"
},
"nativeSrc": "13712:32:17",
"nodeType": "YulFunctionCall",
"src": "13712:32:17"
},
"variables": [
{
"name": "offset",
"nativeSrc": "13702:6:17",
"nodeType": "YulTypedName",
"src": "13702:6:17",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "13791:83:17",
"nodeType": "YulBlock",
"src": "13791:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "13793:77:17",
"nodeType": "YulIdentifier",
"src": "13793:77:17"
},
"nativeSrc": "13793:79:17",
"nodeType": "YulFunctionCall",
"src": "13793:79:17"
},
"nativeSrc": "13793:79:17",
"nodeType": "YulExpressionStatement",
"src": "13793:79:17"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nativeSrc": "13763:6:17",
"nodeType": "YulIdentifier",
"src": "13763:6:17"
},
{
"kind": "number",
"nativeSrc": "13771:18:17",
"nodeType": "YulLiteral",
"src": "13771:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "13760:2:17",
"nodeType": "YulIdentifier",
"src": "13760:2:17"
},
"nativeSrc": "13760:30:17",
"nodeType": "YulFunctionCall",
"src": "13760:30:17"
},
"nativeSrc": "13757:117:17",
"nodeType": "YulIf",
"src": "13757:117:17"
},
{
"nativeSrc": "13888:88:17",
"nodeType": "YulAssignment",
"src": "13888:88:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "13948:9:17",
"nodeType": "YulIdentifier",
"src": "13948:9:17"
},
{
"name": "offset",
"nativeSrc": "13959:6:17",
"nodeType": "YulIdentifier",
"src": "13959:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "13944:3:17",
"nodeType": "YulIdentifier",
"src": "13944:3:17"
},
"nativeSrc": "13944:22:17",
"nodeType": "YulFunctionCall",
"src": "13944:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "13968:7:17",
"nodeType": "YulIdentifier",
"src": "13968:7:17"
}
],
"functionName": {
"name": "abi_decode_t_array$_t_uint256_$dyn_memory_ptr",
"nativeSrc": "13898:45:17",
"nodeType": "YulIdentifier",
"src": "13898:45:17"
},
"nativeSrc": "13898:78:17",
"nodeType": "YulFunctionCall",
"src": "13898:78:17"
},
"variableNames": [
{
"name": "value2",
"nativeSrc": "13888:6:17",
"nodeType": "YulIdentifier",
"src": "13888:6:17"
}
]
}
]
},
{
"nativeSrc": "13996:303:17",
"nodeType": "YulBlock",
"src": "13996:303:17",
"statements": [
{
"nativeSrc": "14011:46:17",
"nodeType": "YulVariableDeclaration",
"src": "14011:46:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "14042:9:17",
"nodeType": "YulIdentifier",
"src": "14042:9:17"
},
{
"kind": "number",
"nativeSrc": "14053:2:17",
"nodeType": "YulLiteral",
"src": "14053:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nativeSrc": "14038:3:17",
"nodeType": "YulIdentifier",
"src": "14038:3:17"
},
"nativeSrc": "14038:18:17",
"nodeType": "YulFunctionCall",
"src": "14038:18:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "14025:12:17",
"nodeType": "YulIdentifier",
"src": "14025:12:17"
},
"nativeSrc": "14025:32:17",
"nodeType": "YulFunctionCall",
"src": "14025:32:17"
},
"variables": [
{
"name": "offset",
"nativeSrc": "14015:6:17",
"nodeType": "YulTypedName",
"src": "14015:6:17",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "14104:83:17",
"nodeType": "YulBlock",
"src": "14104:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "14106:77:17",
"nodeType": "YulIdentifier",
"src": "14106:77:17"
},
"nativeSrc": "14106:79:17",
"nodeType": "YulFunctionCall",
"src": "14106:79:17"
},
"nativeSrc": "14106:79:17",
"nodeType": "YulExpressionStatement",
"src": "14106:79:17"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nativeSrc": "14076:6:17",
"nodeType": "YulIdentifier",
"src": "14076:6:17"
},
{
"kind": "number",
"nativeSrc": "14084:18:17",
"nodeType": "YulLiteral",
"src": "14084:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "14073:2:17",
"nodeType": "YulIdentifier",
"src": "14073:2:17"
},
"nativeSrc": "14073:30:17",
"nodeType": "YulFunctionCall",
"src": "14073:30:17"
},
"nativeSrc": "14070:117:17",
"nodeType": "YulIf",
"src": "14070:117:17"
},
{
"nativeSrc": "14201:88:17",
"nodeType": "YulAssignment",
"src": "14201:88:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "14261:9:17",
"nodeType": "YulIdentifier",
"src": "14261:9:17"
},
{
"name": "offset",
"nativeSrc": "14272:6:17",
"nodeType": "YulIdentifier",
"src": "14272:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "14257:3:17",
"nodeType": "YulIdentifier",
"src": "14257:3:17"
},
"nativeSrc": "14257:22:17",
"nodeType": "YulFunctionCall",
"src": "14257:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "14281:7:17",
"nodeType": "YulIdentifier",
"src": "14281:7:17"
}
],
"functionName": {
"name": "abi_decode_t_array$_t_uint256_$dyn_memory_ptr",
"nativeSrc": "14211:45:17",
"nodeType": "YulIdentifier",
"src": "14211:45:17"
},
"nativeSrc": "14211:78:17",
"nodeType": "YulFunctionCall",
"src": "14211:78:17"
},
"variableNames": [
{
"name": "value3",
"nativeSrc": "14201:6:17",
"nodeType": "YulIdentifier",
"src": "14201:6:17"
}
]
}
]
},
{
"nativeSrc": "14309:288:17",
"nodeType": "YulBlock",
"src": "14309:288:17",
"statements": [
{
"nativeSrc": "14324:47:17",
"nodeType": "YulVariableDeclaration",
"src": "14324:47:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "14355:9:17",
"nodeType": "YulIdentifier",
"src": "14355:9:17"
},
{
"kind": "number",
"nativeSrc": "14366:3:17",
"nodeType": "YulLiteral",
"src": "14366:3:17",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nativeSrc": "14351:3:17",
"nodeType": "YulIdentifier",
"src": "14351:3:17"
},
"nativeSrc": "14351:19:17",
"nodeType": "YulFunctionCall",
"src": "14351:19:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "14338:12:17",
"nodeType": "YulIdentifier",
"src": "14338:12:17"
},
"nativeSrc": "14338:33:17",
"nodeType": "YulFunctionCall",
"src": "14338:33:17"
},
"variables": [
{
"name": "offset",
"nativeSrc": "14328:6:17",
"nodeType": "YulTypedName",
"src": "14328:6:17",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "14418:83:17",
"nodeType": "YulBlock",
"src": "14418:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "14420:77:17",
"nodeType": "YulIdentifier",
"src": "14420:77:17"
},
"nativeSrc": "14420:79:17",
"nodeType": "YulFunctionCall",
"src": "14420:79:17"
},
"nativeSrc": "14420:79:17",
"nodeType": "YulExpressionStatement",
"src": "14420:79:17"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nativeSrc": "14390:6:17",
"nodeType": "YulIdentifier",
"src": "14390:6:17"
},
{
"kind": "number",
"nativeSrc": "14398:18:17",
"nodeType": "YulLiteral",
"src": "14398:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "14387:2:17",
"nodeType": "YulIdentifier",
"src": "14387:2:17"
},
"nativeSrc": "14387:30:17",
"nodeType": "YulFunctionCall",
"src": "14387:30:17"
},
"nativeSrc": "14384:117:17",
"nodeType": "YulIf",
"src": "14384:117:17"
},
{
"nativeSrc": "14515:72:17",
"nodeType": "YulAssignment",
"src": "14515:72:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "14559:9:17",
"nodeType": "YulIdentifier",
"src": "14559:9:17"
},
{
"name": "offset",
"nativeSrc": "14570:6:17",
"nodeType": "YulIdentifier",
"src": "14570:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "14555:3:17",
"nodeType": "YulIdentifier",
"src": "14555:3:17"
},
"nativeSrc": "14555:22:17",
"nodeType": "YulFunctionCall",
"src": "14555:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "14579:7:17",
"nodeType": "YulIdentifier",
"src": "14579:7:17"
}
],
"functionName": {
"name": "abi_decode_t_bytes_memory_ptr",
"nativeSrc": "14525:29:17",
"nodeType": "YulIdentifier",
"src": "14525:29:17"
},
"nativeSrc": "14525:62:17",
"nodeType": "YulFunctionCall",
"src": "14525:62:17"
},
"variableNames": [
{
"name": "value4",
"nativeSrc": "14515:6:17",
"nodeType": "YulIdentifier",
"src": "14515:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_array$_t_uint256_$dyn_memory_ptrt_array$_t_uint256_$dyn_memory_ptrt_bytes_memory_ptr",
"nativeSrc": "13095:1509:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "13226:9:17",
"nodeType": "YulTypedName",
"src": "13226:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "13237:7:17",
"nodeType": "YulTypedName",
"src": "13237:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "13249:6:17",
"nodeType": "YulTypedName",
"src": "13249:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "13257:6:17",
"nodeType": "YulTypedName",
"src": "13257:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "13265:6:17",
"nodeType": "YulTypedName",
"src": "13265:6:17",
"type": ""
},
{
"name": "value3",
"nativeSrc": "13273:6:17",
"nodeType": "YulTypedName",
"src": "13273:6:17",
"type": ""
},
{
"name": "value4",
"nativeSrc": "13281:6:17",
"nodeType": "YulTypedName",
"src": "13281:6:17",
"type": ""
}
],
"src": "13095:1509:17"
},
{
"body": {
"nativeSrc": "14710:519:17",
"nodeType": "YulBlock",
"src": "14710:519:17",
"statements": [
{
"body": {
"nativeSrc": "14756:83:17",
"nodeType": "YulBlock",
"src": "14756:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "14758:77:17",
"nodeType": "YulIdentifier",
"src": "14758:77:17"
},
"nativeSrc": "14758:79:17",
"nodeType": "YulFunctionCall",
"src": "14758:79:17"
},
"nativeSrc": "14758:79:17",
"nodeType": "YulExpressionStatement",
"src": "14758:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "14731:7:17",
"nodeType": "YulIdentifier",
"src": "14731:7:17"
},
{
"name": "headStart",
"nativeSrc": "14740:9:17",
"nodeType": "YulIdentifier",
"src": "14740:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "14727:3:17",
"nodeType": "YulIdentifier",
"src": "14727:3:17"
},
"nativeSrc": "14727:23:17",
"nodeType": "YulFunctionCall",
"src": "14727:23:17"
},
{
"kind": "number",
"nativeSrc": "14752:2:17",
"nodeType": "YulLiteral",
"src": "14752:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "14723:3:17",
"nodeType": "YulIdentifier",
"src": "14723:3:17"
},
"nativeSrc": "14723:32:17",
"nodeType": "YulFunctionCall",
"src": "14723:32:17"
},
"nativeSrc": "14720:119:17",
"nodeType": "YulIf",
"src": "14720:119:17"
},
{
"nativeSrc": "14849:117:17",
"nodeType": "YulBlock",
"src": "14849:117:17",
"statements": [
{
"nativeSrc": "14864:15:17",
"nodeType": "YulVariableDeclaration",
"src": "14864:15:17",
"value": {
"kind": "number",
"nativeSrc": "14878:1:17",
"nodeType": "YulLiteral",
"src": "14878:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "14868:6:17",
"nodeType": "YulTypedName",
"src": "14868:6:17",
"type": ""
}
]
},
{
"nativeSrc": "14893:63:17",
"nodeType": "YulAssignment",
"src": "14893:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "14928:9:17",
"nodeType": "YulIdentifier",
"src": "14928:9:17"
},
{
"name": "offset",
"nativeSrc": "14939:6:17",
"nodeType": "YulIdentifier",
"src": "14939:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "14924:3:17",
"nodeType": "YulIdentifier",
"src": "14924:3:17"
},
"nativeSrc": "14924:22:17",
"nodeType": "YulFunctionCall",
"src": "14924:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "14948:7:17",
"nodeType": "YulIdentifier",
"src": "14948:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "14903:20:17",
"nodeType": "YulIdentifier",
"src": "14903:20:17"
},
"nativeSrc": "14903:53:17",
"nodeType": "YulFunctionCall",
"src": "14903:53:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "14893:6:17",
"nodeType": "YulIdentifier",
"src": "14893:6:17"
}
]
}
]
},
{
"nativeSrc": "14976:118:17",
"nodeType": "YulBlock",
"src": "14976:118:17",
"statements": [
{
"nativeSrc": "14991:16:17",
"nodeType": "YulVariableDeclaration",
"src": "14991:16:17",
"value": {
"kind": "number",
"nativeSrc": "15005:2:17",
"nodeType": "YulLiteral",
"src": "15005:2:17",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nativeSrc": "14995:6:17",
"nodeType": "YulTypedName",
"src": "14995:6:17",
"type": ""
}
]
},
{
"nativeSrc": "15021:63:17",
"nodeType": "YulAssignment",
"src": "15021:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "15056:9:17",
"nodeType": "YulIdentifier",
"src": "15056:9:17"
},
{
"name": "offset",
"nativeSrc": "15067:6:17",
"nodeType": "YulIdentifier",
"src": "15067:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "15052:3:17",
"nodeType": "YulIdentifier",
"src": "15052:3:17"
},
"nativeSrc": "15052:22:17",
"nodeType": "YulFunctionCall",
"src": "15052:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "15076:7:17",
"nodeType": "YulIdentifier",
"src": "15076:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "15031:20:17",
"nodeType": "YulIdentifier",
"src": "15031:20:17"
},
"nativeSrc": "15031:53:17",
"nodeType": "YulFunctionCall",
"src": "15031:53:17"
},
"variableNames": [
{
"name": "value1",
"nativeSrc": "15021:6:17",
"nodeType": "YulIdentifier",
"src": "15021:6:17"
}
]
}
]
},
{
"nativeSrc": "15104:118:17",
"nodeType": "YulBlock",
"src": "15104:118:17",
"statements": [
{
"nativeSrc": "15119:16:17",
"nodeType": "YulVariableDeclaration",
"src": "15119:16:17",
"value": {
"kind": "number",
"nativeSrc": "15133:2:17",
"nodeType": "YulLiteral",
"src": "15133:2:17",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nativeSrc": "15123:6:17",
"nodeType": "YulTypedName",
"src": "15123:6:17",
"type": ""
}
]
},
{
"nativeSrc": "15149:63:17",
"nodeType": "YulAssignment",
"src": "15149:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "15184:9:17",
"nodeType": "YulIdentifier",
"src": "15184:9:17"
},
{
"name": "offset",
"nativeSrc": "15195:6:17",
"nodeType": "YulIdentifier",
"src": "15195:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "15180:3:17",
"nodeType": "YulIdentifier",
"src": "15180:3:17"
},
"nativeSrc": "15180:22:17",
"nodeType": "YulFunctionCall",
"src": "15180:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "15204:7:17",
"nodeType": "YulIdentifier",
"src": "15204:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "15159:20:17",
"nodeType": "YulIdentifier",
"src": "15159:20:17"
},
"nativeSrc": "15159:53:17",
"nodeType": "YulFunctionCall",
"src": "15159:53:17"
},
"variableNames": [
{
"name": "value2",
"nativeSrc": "15149:6:17",
"nodeType": "YulIdentifier",
"src": "15149:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256t_uint256",
"nativeSrc": "14610:619:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "14664:9:17",
"nodeType": "YulTypedName",
"src": "14664:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "14675:7:17",
"nodeType": "YulTypedName",
"src": "14675:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "14687:6:17",
"nodeType": "YulTypedName",
"src": "14687:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "14695:6:17",
"nodeType": "YulTypedName",
"src": "14695:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "14703:6:17",
"nodeType": "YulTypedName",
"src": "14703:6:17",
"type": ""
}
],
"src": "14610:619:17"
},
{
"body": {
"nativeSrc": "15378:946:17",
"nodeType": "YulBlock",
"src": "15378:946:17",
"statements": [
{
"body": {
"nativeSrc": "15425:83:17",
"nodeType": "YulBlock",
"src": "15425:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "15427:77:17",
"nodeType": "YulIdentifier",
"src": "15427:77:17"
},
"nativeSrc": "15427:79:17",
"nodeType": "YulFunctionCall",
"src": "15427:79:17"
},
"nativeSrc": "15427:79:17",
"nodeType": "YulExpressionStatement",
"src": "15427:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "15399:7:17",
"nodeType": "YulIdentifier",
"src": "15399:7:17"
},
{
"name": "headStart",
"nativeSrc": "15408:9:17",
"nodeType": "YulIdentifier",
"src": "15408:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "15395:3:17",
"nodeType": "YulIdentifier",
"src": "15395:3:17"
},
"nativeSrc": "15395:23:17",
"nodeType": "YulFunctionCall",
"src": "15395:23:17"
},
{
"kind": "number",
"nativeSrc": "15420:3:17",
"nodeType": "YulLiteral",
"src": "15420:3:17",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "15391:3:17",
"nodeType": "YulIdentifier",
"src": "15391:3:17"
},
"nativeSrc": "15391:33:17",
"nodeType": "YulFunctionCall",
"src": "15391:33:17"
},
"nativeSrc": "15388:120:17",
"nodeType": "YulIf",
"src": "15388:120:17"
},
{
"nativeSrc": "15518:117:17",
"nodeType": "YulBlock",
"src": "15518:117:17",
"statements": [
{
"nativeSrc": "15533:15:17",
"nodeType": "YulVariableDeclaration",
"src": "15533:15:17",
"value": {
"kind": "number",
"nativeSrc": "15547:1:17",
"nodeType": "YulLiteral",
"src": "15547:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "15537:6:17",
"nodeType": "YulTypedName",
"src": "15537:6:17",
"type": ""
}
]
},
{
"nativeSrc": "15562:63:17",
"nodeType": "YulAssignment",
"src": "15562:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "15597:9:17",
"nodeType": "YulIdentifier",
"src": "15597:9:17"
},
{
"name": "offset",
"nativeSrc": "15608:6:17",
"nodeType": "YulIdentifier",
"src": "15608:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "15593:3:17",
"nodeType": "YulIdentifier",
"src": "15593:3:17"
},
"nativeSrc": "15593:22:17",
"nodeType": "YulFunctionCall",
"src": "15593:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "15617:7:17",
"nodeType": "YulIdentifier",
"src": "15617:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "15572:20:17",
"nodeType": "YulIdentifier",
"src": "15572:20:17"
},
"nativeSrc": "15572:53:17",
"nodeType": "YulFunctionCall",
"src": "15572:53:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "15562:6:17",
"nodeType": "YulIdentifier",
"src": "15562:6:17"
}
]
}
]
},
{
"nativeSrc": "15645:118:17",
"nodeType": "YulBlock",
"src": "15645:118:17",
"statements": [
{
"nativeSrc": "15660:16:17",
"nodeType": "YulVariableDeclaration",
"src": "15660:16:17",
"value": {
"kind": "number",
"nativeSrc": "15674:2:17",
"nodeType": "YulLiteral",
"src": "15674:2:17",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nativeSrc": "15664:6:17",
"nodeType": "YulTypedName",
"src": "15664:6:17",
"type": ""
}
]
},
{
"nativeSrc": "15690:63:17",
"nodeType": "YulAssignment",
"src": "15690:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "15725:9:17",
"nodeType": "YulIdentifier",
"src": "15725:9:17"
},
{
"name": "offset",
"nativeSrc": "15736:6:17",
"nodeType": "YulIdentifier",
"src": "15736:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "15721:3:17",
"nodeType": "YulIdentifier",
"src": "15721:3:17"
},
"nativeSrc": "15721:22:17",
"nodeType": "YulFunctionCall",
"src": "15721:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "15745:7:17",
"nodeType": "YulIdentifier",
"src": "15745:7:17"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "15700:20:17",
"nodeType": "YulIdentifier",
"src": "15700:20:17"
},
"nativeSrc": "15700:53:17",
"nodeType": "YulFunctionCall",
"src": "15700:53:17"
},
"variableNames": [
{
"name": "value1",
"nativeSrc": "15690:6:17",
"nodeType": "YulIdentifier",
"src": "15690:6:17"
}
]
}
]
},
{
"nativeSrc": "15773:118:17",
"nodeType": "YulBlock",
"src": "15773:118:17",
"statements": [
{
"nativeSrc": "15788:16:17",
"nodeType": "YulVariableDeclaration",
"src": "15788:16:17",
"value": {
"kind": "number",
"nativeSrc": "15802:2:17",
"nodeType": "YulLiteral",
"src": "15802:2:17",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nativeSrc": "15792:6:17",
"nodeType": "YulTypedName",
"src": "15792:6:17",
"type": ""
}
]
},
{
"nativeSrc": "15818:63:17",
"nodeType": "YulAssignment",
"src": "15818:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "15853:9:17",
"nodeType": "YulIdentifier",
"src": "15853:9:17"
},
{
"name": "offset",
"nativeSrc": "15864:6:17",
"nodeType": "YulIdentifier",
"src": "15864:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "15849:3:17",
"nodeType": "YulIdentifier",
"src": "15849:3:17"
},
"nativeSrc": "15849:22:17",
"nodeType": "YulFunctionCall",
"src": "15849:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "15873:7:17",
"nodeType": "YulIdentifier",
"src": "15873:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "15828:20:17",
"nodeType": "YulIdentifier",
"src": "15828:20:17"
},
"nativeSrc": "15828:53:17",
"nodeType": "YulFunctionCall",
"src": "15828:53:17"
},
"variableNames": [
{
"name": "value2",
"nativeSrc": "15818:6:17",
"nodeType": "YulIdentifier",
"src": "15818:6:17"
}
]
}
]
},
{
"nativeSrc": "15901:118:17",
"nodeType": "YulBlock",
"src": "15901:118:17",
"statements": [
{
"nativeSrc": "15916:16:17",
"nodeType": "YulVariableDeclaration",
"src": "15916:16:17",
"value": {
"kind": "number",
"nativeSrc": "15930:2:17",
"nodeType": "YulLiteral",
"src": "15930:2:17",
"type": "",
"value": "96"
},
"variables": [
{
"name": "offset",
"nativeSrc": "15920:6:17",
"nodeType": "YulTypedName",
"src": "15920:6:17",
"type": ""
}
]
},
{
"nativeSrc": "15946:63:17",
"nodeType": "YulAssignment",
"src": "15946:63:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "15981:9:17",
"nodeType": "YulIdentifier",
"src": "15981:9:17"
},
{
"name": "offset",
"nativeSrc": "15992:6:17",
"nodeType": "YulIdentifier",
"src": "15992:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "15977:3:17",
"nodeType": "YulIdentifier",
"src": "15977:3:17"
},
"nativeSrc": "15977:22:17",
"nodeType": "YulFunctionCall",
"src": "15977:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "16001:7:17",
"nodeType": "YulIdentifier",
"src": "16001:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "15956:20:17",
"nodeType": "YulIdentifier",
"src": "15956:20:17"
},
"nativeSrc": "15956:53:17",
"nodeType": "YulFunctionCall",
"src": "15956:53:17"
},
"variableNames": [
{
"name": "value3",
"nativeSrc": "15946:6:17",
"nodeType": "YulIdentifier",
"src": "15946:6:17"
}
]
}
]
},
{
"nativeSrc": "16029:288:17",
"nodeType": "YulBlock",
"src": "16029:288:17",
"statements": [
{
"nativeSrc": "16044:47:17",
"nodeType": "YulVariableDeclaration",
"src": "16044:47:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "16075:9:17",
"nodeType": "YulIdentifier",
"src": "16075:9:17"
},
{
"kind": "number",
"nativeSrc": "16086:3:17",
"nodeType": "YulLiteral",
"src": "16086:3:17",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nativeSrc": "16071:3:17",
"nodeType": "YulIdentifier",
"src": "16071:3:17"
},
"nativeSrc": "16071:19:17",
"nodeType": "YulFunctionCall",
"src": "16071:19:17"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "16058:12:17",
"nodeType": "YulIdentifier",
"src": "16058:12:17"
},
"nativeSrc": "16058:33:17",
"nodeType": "YulFunctionCall",
"src": "16058:33:17"
},
"variables": [
{
"name": "offset",
"nativeSrc": "16048:6:17",
"nodeType": "YulTypedName",
"src": "16048:6:17",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "16138:83:17",
"nodeType": "YulBlock",
"src": "16138:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "16140:77:17",
"nodeType": "YulIdentifier",
"src": "16140:77:17"
},
"nativeSrc": "16140:79:17",
"nodeType": "YulFunctionCall",
"src": "16140:79:17"
},
"nativeSrc": "16140:79:17",
"nodeType": "YulExpressionStatement",
"src": "16140:79:17"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nativeSrc": "16110:6:17",
"nodeType": "YulIdentifier",
"src": "16110:6:17"
},
{
"kind": "number",
"nativeSrc": "16118:18:17",
"nodeType": "YulLiteral",
"src": "16118:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "16107:2:17",
"nodeType": "YulIdentifier",
"src": "16107:2:17"
},
"nativeSrc": "16107:30:17",
"nodeType": "YulFunctionCall",
"src": "16107:30:17"
},
"nativeSrc": "16104:117:17",
"nodeType": "YulIf",
"src": "16104:117:17"
},
{
"nativeSrc": "16235:72:17",
"nodeType": "YulAssignment",
"src": "16235:72:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "16279:9:17",
"nodeType": "YulIdentifier",
"src": "16279:9:17"
},
{
"name": "offset",
"nativeSrc": "16290:6:17",
"nodeType": "YulIdentifier",
"src": "16290:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "16275:3:17",
"nodeType": "YulIdentifier",
"src": "16275:3:17"
},
"nativeSrc": "16275:22:17",
"nodeType": "YulFunctionCall",
"src": "16275:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "16299:7:17",
"nodeType": "YulIdentifier",
"src": "16299:7:17"
}
],
"functionName": {
"name": "abi_decode_t_bytes_memory_ptr",
"nativeSrc": "16245:29:17",
"nodeType": "YulIdentifier",
"src": "16245:29:17"
},
"nativeSrc": "16245:62:17",
"nodeType": "YulFunctionCall",
"src": "16245:62:17"
},
"variableNames": [
{
"name": "value4",
"nativeSrc": "16235:6:17",
"nodeType": "YulIdentifier",
"src": "16235:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_memory_ptr",
"nativeSrc": "15235:1089:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "15316:9:17",
"nodeType": "YulTypedName",
"src": "15316:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "15327:7:17",
"nodeType": "YulTypedName",
"src": "15327:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "15339:6:17",
"nodeType": "YulTypedName",
"src": "15339:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "15347:6:17",
"nodeType": "YulTypedName",
"src": "15347:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "15355:6:17",
"nodeType": "YulTypedName",
"src": "15355:6:17",
"type": ""
},
{
"name": "value3",
"nativeSrc": "15363:6:17",
"nodeType": "YulTypedName",
"src": "15363:6:17",
"type": ""
},
{
"name": "value4",
"nativeSrc": "15371:6:17",
"nodeType": "YulTypedName",
"src": "15371:6:17",
"type": ""
}
],
"src": "15235:1089:17"
},
{
"body": {
"nativeSrc": "16484:288:17",
"nodeType": "YulBlock",
"src": "16484:288:17",
"statements": [
{
"nativeSrc": "16494:26:17",
"nodeType": "YulAssignment",
"src": "16494:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "16506:9:17",
"nodeType": "YulIdentifier",
"src": "16506:9:17"
},
{
"kind": "number",
"nativeSrc": "16517:2:17",
"nodeType": "YulLiteral",
"src": "16517:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nativeSrc": "16502:3:17",
"nodeType": "YulIdentifier",
"src": "16502:3:17"
},
"nativeSrc": "16502:18:17",
"nodeType": "YulFunctionCall",
"src": "16502:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "16494:4:17",
"nodeType": "YulIdentifier",
"src": "16494:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "16574:6:17",
"nodeType": "YulIdentifier",
"src": "16574:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "16587:9:17",
"nodeType": "YulIdentifier",
"src": "16587:9:17"
},
{
"kind": "number",
"nativeSrc": "16598:1:17",
"nodeType": "YulLiteral",
"src": "16598:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "16583:3:17",
"nodeType": "YulIdentifier",
"src": "16583:3:17"
},
"nativeSrc": "16583:17:17",
"nodeType": "YulFunctionCall",
"src": "16583:17:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "16530:43:17",
"nodeType": "YulIdentifier",
"src": "16530:43:17"
},
"nativeSrc": "16530:71:17",
"nodeType": "YulFunctionCall",
"src": "16530:71:17"
},
"nativeSrc": "16530:71:17",
"nodeType": "YulExpressionStatement",
"src": "16530:71:17"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nativeSrc": "16655:6:17",
"nodeType": "YulIdentifier",
"src": "16655:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "16668:9:17",
"nodeType": "YulIdentifier",
"src": "16668:9:17"
},
{
"kind": "number",
"nativeSrc": "16679:2:17",
"nodeType": "YulLiteral",
"src": "16679:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "16664:3:17",
"nodeType": "YulIdentifier",
"src": "16664:3:17"
},
"nativeSrc": "16664:18:17",
"nodeType": "YulFunctionCall",
"src": "16664:18:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "16611:43:17",
"nodeType": "YulIdentifier",
"src": "16611:43:17"
},
"nativeSrc": "16611:72:17",
"nodeType": "YulFunctionCall",
"src": "16611:72:17"
},
"nativeSrc": "16611:72:17",
"nodeType": "YulExpressionStatement",
"src": "16611:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nativeSrc": "16737:6:17",
"nodeType": "YulIdentifier",
"src": "16737:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "16750:9:17",
"nodeType": "YulIdentifier",
"src": "16750:9:17"
},
{
"kind": "number",
"nativeSrc": "16761:2:17",
"nodeType": "YulLiteral",
"src": "16761:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "16746:3:17",
"nodeType": "YulIdentifier",
"src": "16746:3:17"
},
"nativeSrc": "16746:18:17",
"nodeType": "YulFunctionCall",
"src": "16746:18:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "16693:43:17",
"nodeType": "YulIdentifier",
"src": "16693:43:17"
},
"nativeSrc": "16693:72:17",
"nodeType": "YulFunctionCall",
"src": "16693:72:17"
},
"nativeSrc": "16693:72:17",
"nodeType": "YulExpressionStatement",
"src": "16693:72:17"
}
]
},
"name": "abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed",
"nativeSrc": "16330:442:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "16440:9:17",
"nodeType": "YulTypedName",
"src": "16440:9:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "16452:6:17",
"nodeType": "YulTypedName",
"src": "16452:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "16460:6:17",
"nodeType": "YulTypedName",
"src": "16460:6:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "16468:6:17",
"nodeType": "YulTypedName",
"src": "16468:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "16479:4:17",
"nodeType": "YulTypedName",
"src": "16479:4:17",
"type": ""
}
],
"src": "16330:442:17"
},
{
"body": {
"nativeSrc": "16874:73:17",
"nodeType": "YulBlock",
"src": "16874:73:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "16891:3:17",
"nodeType": "YulIdentifier",
"src": "16891:3:17"
},
{
"name": "length",
"nativeSrc": "16896:6:17",
"nodeType": "YulIdentifier",
"src": "16896:6:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "16884:6:17",
"nodeType": "YulIdentifier",
"src": "16884:6:17"
},
"nativeSrc": "16884:19:17",
"nodeType": "YulFunctionCall",
"src": "16884:19:17"
},
"nativeSrc": "16884:19:17",
"nodeType": "YulExpressionStatement",
"src": "16884:19:17"
},
{
"nativeSrc": "16912:29:17",
"nodeType": "YulAssignment",
"src": "16912:29:17",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "16931:3:17",
"nodeType": "YulIdentifier",
"src": "16931:3:17"
},
{
"kind": "number",
"nativeSrc": "16936:4:17",
"nodeType": "YulLiteral",
"src": "16936:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "16927:3:17",
"nodeType": "YulIdentifier",
"src": "16927:3:17"
},
"nativeSrc": "16927:14:17",
"nodeType": "YulFunctionCall",
"src": "16927:14:17"
},
"variableNames": [
{
"name": "updated_pos",
"nativeSrc": "16912:11:17",
"nodeType": "YulIdentifier",
"src": "16912:11:17"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "16778:169:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "16846:3:17",
"nodeType": "YulTypedName",
"src": "16846:3:17",
"type": ""
},
{
"name": "length",
"nativeSrc": "16851:6:17",
"nodeType": "YulTypedName",
"src": "16851:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nativeSrc": "16862:11:17",
"nodeType": "YulTypedName",
"src": "16862:11:17",
"type": ""
}
],
"src": "16778:169:17"
},
{
"body": {
"nativeSrc": "17059:61:17",
"nodeType": "YulBlock",
"src": "17059:61:17",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nativeSrc": "17081:6:17",
"nodeType": "YulIdentifier",
"src": "17081:6:17"
},
{
"kind": "number",
"nativeSrc": "17089:1:17",
"nodeType": "YulLiteral",
"src": "17089:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "17077:3:17",
"nodeType": "YulIdentifier",
"src": "17077:3:17"
},
"nativeSrc": "17077:14:17",
"nodeType": "YulFunctionCall",
"src": "17077:14:17"
},
{
"hexValue": "41756374696f6e2068617320656e646564",
"kind": "string",
"nativeSrc": "17093:19:17",
"nodeType": "YulLiteral",
"src": "17093:19:17",
"type": "",
"value": "Auction has ended"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "17070:6:17",
"nodeType": "YulIdentifier",
"src": "17070:6:17"
},
"nativeSrc": "17070:43:17",
"nodeType": "YulFunctionCall",
"src": "17070:43:17"
},
"nativeSrc": "17070:43:17",
"nodeType": "YulExpressionStatement",
"src": "17070:43:17"
}
]
},
"name": "store_literal_in_memory_56b97bcc53ee0c0e9403b910ca18980144503ea7aa8dd9200096ebdea6941df5",
"nativeSrc": "16953:167:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nativeSrc": "17051:6:17",
"nodeType": "YulTypedName",
"src": "17051:6:17",
"type": ""
}
],
"src": "16953:167:17"
},
{
"body": {
"nativeSrc": "17272:220:17",
"nodeType": "YulBlock",
"src": "17272:220:17",
"statements": [
{
"nativeSrc": "17282:74:17",
"nodeType": "YulAssignment",
"src": "17282:74:17",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "17348:3:17",
"nodeType": "YulIdentifier",
"src": "17348:3:17"
},
{
"kind": "number",
"nativeSrc": "17353:2:17",
"nodeType": "YulLiteral",
"src": "17353:2:17",
"type": "",
"value": "17"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "17289:58:17",
"nodeType": "YulIdentifier",
"src": "17289:58:17"
},
"nativeSrc": "17289:67:17",
"nodeType": "YulFunctionCall",
"src": "17289:67:17"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "17282:3:17",
"nodeType": "YulIdentifier",
"src": "17282:3:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "17454:3:17",
"nodeType": "YulIdentifier",
"src": "17454:3:17"
}
],
"functionName": {
"name": "store_literal_in_memory_56b97bcc53ee0c0e9403b910ca18980144503ea7aa8dd9200096ebdea6941df5",
"nativeSrc": "17365:88:17",
"nodeType": "YulIdentifier",
"src": "17365:88:17"
},
"nativeSrc": "17365:93:17",
"nodeType": "YulFunctionCall",
"src": "17365:93:17"
},
"nativeSrc": "17365:93:17",
"nodeType": "YulExpressionStatement",
"src": "17365:93:17"
},
{
"nativeSrc": "17467:19:17",
"nodeType": "YulAssignment",
"src": "17467:19:17",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "17478:3:17",
"nodeType": "YulIdentifier",
"src": "17478:3:17"
},
{
"kind": "number",
"nativeSrc": "17483:2:17",
"nodeType": "YulLiteral",
"src": "17483:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "17474:3:17",
"nodeType": "YulIdentifier",
"src": "17474:3:17"
},
"nativeSrc": "17474:12:17",
"nodeType": "YulFunctionCall",
"src": "17474:12:17"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "17467:3:17",
"nodeType": "YulIdentifier",
"src": "17467:3:17"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_56b97bcc53ee0c0e9403b910ca18980144503ea7aa8dd9200096ebdea6941df5_to_t_string_memory_ptr_fromStack",
"nativeSrc": "17126:366:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "17260:3:17",
"nodeType": "YulTypedName",
"src": "17260:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "17268:3:17",
"nodeType": "YulTypedName",
"src": "17268:3:17",
"type": ""
}
],
"src": "17126:366:17"
},
{
"body": {
"nativeSrc": "17669:248:17",
"nodeType": "YulBlock",
"src": "17669:248:17",
"statements": [
{
"nativeSrc": "17679:26:17",
"nodeType": "YulAssignment",
"src": "17679:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "17691:9:17",
"nodeType": "YulIdentifier",
"src": "17691:9:17"
},
{
"kind": "number",
"nativeSrc": "17702:2:17",
"nodeType": "YulLiteral",
"src": "17702:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "17687:3:17",
"nodeType": "YulIdentifier",
"src": "17687:3:17"
},
"nativeSrc": "17687:18:17",
"nodeType": "YulFunctionCall",
"src": "17687:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "17679:4:17",
"nodeType": "YulIdentifier",
"src": "17679:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "17726:9:17",
"nodeType": "YulIdentifier",
"src": "17726:9:17"
},
{
"kind": "number",
"nativeSrc": "17737:1:17",
"nodeType": "YulLiteral",
"src": "17737:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "17722:3:17",
"nodeType": "YulIdentifier",
"src": "17722:3:17"
},
"nativeSrc": "17722:17:17",
"nodeType": "YulFunctionCall",
"src": "17722:17:17"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "17745:4:17",
"nodeType": "YulIdentifier",
"src": "17745:4:17"
},
{
"name": "headStart",
"nativeSrc": "17751:9:17",
"nodeType": "YulIdentifier",
"src": "17751:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "17741:3:17",
"nodeType": "YulIdentifier",
"src": "17741:3:17"
},
"nativeSrc": "17741:20:17",
"nodeType": "YulFunctionCall",
"src": "17741:20:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "17715:6:17",
"nodeType": "YulIdentifier",
"src": "17715:6:17"
},
"nativeSrc": "17715:47:17",
"nodeType": "YulFunctionCall",
"src": "17715:47:17"
},
"nativeSrc": "17715:47:17",
"nodeType": "YulExpressionStatement",
"src": "17715:47:17"
},
{
"nativeSrc": "17771:139:17",
"nodeType": "YulAssignment",
"src": "17771:139:17",
"value": {
"arguments": [
{
"name": "tail",
"nativeSrc": "17905:4:17",
"nodeType": "YulIdentifier",
"src": "17905:4:17"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_56b97bcc53ee0c0e9403b910ca18980144503ea7aa8dd9200096ebdea6941df5_to_t_string_memory_ptr_fromStack",
"nativeSrc": "17779:124:17",
"nodeType": "YulIdentifier",
"src": "17779:124:17"
},
"nativeSrc": "17779:131:17",
"nodeType": "YulFunctionCall",
"src": "17779:131:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "17771:4:17",
"nodeType": "YulIdentifier",
"src": "17771:4:17"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_56b97bcc53ee0c0e9403b910ca18980144503ea7aa8dd9200096ebdea6941df5__to_t_string_memory_ptr__fromStack_reversed",
"nativeSrc": "17498:419:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "17649:9:17",
"nodeType": "YulTypedName",
"src": "17649:9:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "17664:4:17",
"nodeType": "YulTypedName",
"src": "17664:4:17",
"type": ""
}
],
"src": "17498:419:17"
},
{
"body": {
"nativeSrc": "18018:73:17",
"nodeType": "YulBlock",
"src": "18018:73:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "18035:3:17",
"nodeType": "YulIdentifier",
"src": "18035:3:17"
},
{
"name": "length",
"nativeSrc": "18040:6:17",
"nodeType": "YulIdentifier",
"src": "18040:6:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "18028:6:17",
"nodeType": "YulIdentifier",
"src": "18028:6:17"
},
"nativeSrc": "18028:19:17",
"nodeType": "YulFunctionCall",
"src": "18028:19:17"
},
"nativeSrc": "18028:19:17",
"nodeType": "YulExpressionStatement",
"src": "18028:19:17"
},
{
"nativeSrc": "18056:29:17",
"nodeType": "YulAssignment",
"src": "18056:29:17",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "18075:3:17",
"nodeType": "YulIdentifier",
"src": "18075:3:17"
},
{
"kind": "number",
"nativeSrc": "18080:4:17",
"nodeType": "YulLiteral",
"src": "18080:4:17",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "18071:3:17",
"nodeType": "YulIdentifier",
"src": "18071:3:17"
},
"nativeSrc": "18071:14:17",
"nodeType": "YulFunctionCall",
"src": "18071:14:17"
},
"variableNames": [
{
"name": "updated_pos",
"nativeSrc": "18056:11:17",
"nodeType": "YulIdentifier",
"src": "18056:11:17"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack",
"nativeSrc": "17923:168:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "17990:3:17",
"nodeType": "YulTypedName",
"src": "17990:3:17",
"type": ""
},
{
"name": "length",
"nativeSrc": "17995:6:17",
"nodeType": "YulTypedName",
"src": "17995:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nativeSrc": "18006:11:17",
"nodeType": "YulTypedName",
"src": "18006:11:17",
"type": ""
}
],
"src": "17923:168:17"
},
{
"body": {
"nativeSrc": "18203:8:17",
"nodeType": "YulBlock",
"src": "18203:8:17",
"statements": []
},
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nativeSrc": "18097:114:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nativeSrc": "18195:6:17",
"nodeType": "YulTypedName",
"src": "18195:6:17",
"type": ""
}
],
"src": "18097:114:17"
},
{
"body": {
"nativeSrc": "18362:217:17",
"nodeType": "YulBlock",
"src": "18362:217:17",
"statements": [
{
"nativeSrc": "18372:72:17",
"nodeType": "YulAssignment",
"src": "18372:72:17",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "18437:3:17",
"nodeType": "YulIdentifier",
"src": "18437:3:17"
},
{
"kind": "number",
"nativeSrc": "18442:1:17",
"nodeType": "YulLiteral",
"src": "18442:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack",
"nativeSrc": "18379:57:17",
"nodeType": "YulIdentifier",
"src": "18379:57:17"
},
"nativeSrc": "18379:65:17",
"nodeType": "YulFunctionCall",
"src": "18379:65:17"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "18372:3:17",
"nodeType": "YulIdentifier",
"src": "18372:3:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "18542:3:17",
"nodeType": "YulIdentifier",
"src": "18542:3:17"
}
],
"functionName": {
"name": "store_literal_in_memory_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nativeSrc": "18453:88:17",
"nodeType": "YulIdentifier",
"src": "18453:88:17"
},
"nativeSrc": "18453:93:17",
"nodeType": "YulFunctionCall",
"src": "18453:93:17"
},
"nativeSrc": "18453:93:17",
"nodeType": "YulExpressionStatement",
"src": "18453:93:17"
},
{
"nativeSrc": "18555:18:17",
"nodeType": "YulAssignment",
"src": "18555:18:17",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "18566:3:17",
"nodeType": "YulIdentifier",
"src": "18566:3:17"
},
{
"kind": "number",
"nativeSrc": "18571:1:17",
"nodeType": "YulLiteral",
"src": "18571:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "18562:3:17",
"nodeType": "YulIdentifier",
"src": "18562:3:17"
},
"nativeSrc": "18562:11:17",
"nodeType": "YulFunctionCall",
"src": "18562:11:17"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "18555:3:17",
"nodeType": "YulIdentifier",
"src": "18555:3:17"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_fromStack",
"nativeSrc": "18217:362:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "18350:3:17",
"nodeType": "YulTypedName",
"src": "18350:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "18358:3:17",
"nodeType": "YulTypedName",
"src": "18358:3:17",
"type": ""
}
],
"src": "18217:362:17"
},
{
"body": {
"nativeSrc": "18867:577:17",
"nodeType": "YulBlock",
"src": "18867:577:17",
"statements": [
{
"nativeSrc": "18877:27:17",
"nodeType": "YulAssignment",
"src": "18877:27:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "18889:9:17",
"nodeType": "YulIdentifier",
"src": "18889:9:17"
},
{
"kind": "number",
"nativeSrc": "18900:3:17",
"nodeType": "YulLiteral",
"src": "18900:3:17",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nativeSrc": "18885:3:17",
"nodeType": "YulIdentifier",
"src": "18885:3:17"
},
"nativeSrc": "18885:19:17",
"nodeType": "YulFunctionCall",
"src": "18885:19:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "18877:4:17",
"nodeType": "YulIdentifier",
"src": "18877:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "18958:6:17",
"nodeType": "YulIdentifier",
"src": "18958:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "18971:9:17",
"nodeType": "YulIdentifier",
"src": "18971:9:17"
},
{
"kind": "number",
"nativeSrc": "18982:1:17",
"nodeType": "YulLiteral",
"src": "18982:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "18967:3:17",
"nodeType": "YulIdentifier",
"src": "18967:3:17"
},
"nativeSrc": "18967:17:17",
"nodeType": "YulFunctionCall",
"src": "18967:17:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "18914:43:17",
"nodeType": "YulIdentifier",
"src": "18914:43:17"
},
"nativeSrc": "18914:71:17",
"nodeType": "YulFunctionCall",
"src": "18914:71:17"
},
"nativeSrc": "18914:71:17",
"nodeType": "YulExpressionStatement",
"src": "18914:71:17"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nativeSrc": "19039:6:17",
"nodeType": "YulIdentifier",
"src": "19039:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "19052:9:17",
"nodeType": "YulIdentifier",
"src": "19052:9:17"
},
{
"kind": "number",
"nativeSrc": "19063:2:17",
"nodeType": "YulLiteral",
"src": "19063:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "19048:3:17",
"nodeType": "YulIdentifier",
"src": "19048:3:17"
},
"nativeSrc": "19048:18:17",
"nodeType": "YulFunctionCall",
"src": "19048:18:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "18995:43:17",
"nodeType": "YulIdentifier",
"src": "18995:43:17"
},
"nativeSrc": "18995:72:17",
"nodeType": "YulFunctionCall",
"src": "18995:72:17"
},
"nativeSrc": "18995:72:17",
"nodeType": "YulExpressionStatement",
"src": "18995:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nativeSrc": "19121:6:17",
"nodeType": "YulIdentifier",
"src": "19121:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "19134:9:17",
"nodeType": "YulIdentifier",
"src": "19134:9:17"
},
{
"kind": "number",
"nativeSrc": "19145:2:17",
"nodeType": "YulLiteral",
"src": "19145:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "19130:3:17",
"nodeType": "YulIdentifier",
"src": "19130:3:17"
},
"nativeSrc": "19130:18:17",
"nodeType": "YulFunctionCall",
"src": "19130:18:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "19077:43:17",
"nodeType": "YulIdentifier",
"src": "19077:43:17"
},
"nativeSrc": "19077:72:17",
"nodeType": "YulFunctionCall",
"src": "19077:72:17"
},
"nativeSrc": "19077:72:17",
"nodeType": "YulExpressionStatement",
"src": "19077:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value3",
"nativeSrc": "19203:6:17",
"nodeType": "YulIdentifier",
"src": "19203:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "19216:9:17",
"nodeType": "YulIdentifier",
"src": "19216:9:17"
},
{
"kind": "number",
"nativeSrc": "19227:2:17",
"nodeType": "YulLiteral",
"src": "19227:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nativeSrc": "19212:3:17",
"nodeType": "YulIdentifier",
"src": "19212:3:17"
},
"nativeSrc": "19212:18:17",
"nodeType": "YulFunctionCall",
"src": "19212:18:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "19159:43:17",
"nodeType": "YulIdentifier",
"src": "19159:43:17"
},
"nativeSrc": "19159:72:17",
"nodeType": "YulFunctionCall",
"src": "19159:72:17"
},
"nativeSrc": "19159:72:17",
"nodeType": "YulExpressionStatement",
"src": "19159:72:17"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "19252:9:17",
"nodeType": "YulIdentifier",
"src": "19252:9:17"
},
{
"kind": "number",
"nativeSrc": "19263:3:17",
"nodeType": "YulLiteral",
"src": "19263:3:17",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nativeSrc": "19248:3:17",
"nodeType": "YulIdentifier",
"src": "19248:3:17"
},
"nativeSrc": "19248:19:17",
"nodeType": "YulFunctionCall",
"src": "19248:19:17"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "19273:4:17",
"nodeType": "YulIdentifier",
"src": "19273:4:17"
},
{
"name": "headStart",
"nativeSrc": "19279:9:17",
"nodeType": "YulIdentifier",
"src": "19279:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "19269:3:17",
"nodeType": "YulIdentifier",
"src": "19269:3:17"
},
"nativeSrc": "19269:20:17",
"nodeType": "YulFunctionCall",
"src": "19269:20:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "19241:6:17",
"nodeType": "YulIdentifier",
"src": "19241:6:17"
},
"nativeSrc": "19241:49:17",
"nodeType": "YulFunctionCall",
"src": "19241:49:17"
},
"nativeSrc": "19241:49:17",
"nodeType": "YulExpressionStatement",
"src": "19241:49:17"
},
{
"nativeSrc": "19299:138:17",
"nodeType": "YulAssignment",
"src": "19299:138:17",
"value": {
"arguments": [
{
"name": "tail",
"nativeSrc": "19432:4:17",
"nodeType": "YulIdentifier",
"src": "19432:4:17"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_fromStack",
"nativeSrc": "19307:123:17",
"nodeType": "YulIdentifier",
"src": "19307:123:17"
},
"nativeSrc": "19307:130:17",
"nodeType": "YulFunctionCall",
"src": "19307:130:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "19299:4:17",
"nodeType": "YulIdentifier",
"src": "19299:4:17"
}
]
}
]
},
"name": "abi_encode_tuple_t_address_t_address_t_uint256_t_uint256_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_address_t_address_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed",
"nativeSrc": "18585:859:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "18815:9:17",
"nodeType": "YulTypedName",
"src": "18815:9:17",
"type": ""
},
{
"name": "value3",
"nativeSrc": "18827:6:17",
"nodeType": "YulTypedName",
"src": "18827:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "18835:6:17",
"nodeType": "YulTypedName",
"src": "18835:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "18843:6:17",
"nodeType": "YulTypedName",
"src": "18843:6:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "18851:6:17",
"nodeType": "YulTypedName",
"src": "18851:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "18862:4:17",
"nodeType": "YulTypedName",
"src": "18862:4:17",
"type": ""
}
],
"src": "18585:859:17"
},
{
"body": {
"nativeSrc": "19513:80:17",
"nodeType": "YulBlock",
"src": "19513:80:17",
"statements": [
{
"nativeSrc": "19523:22:17",
"nodeType": "YulAssignment",
"src": "19523:22:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "19538:6:17",
"nodeType": "YulIdentifier",
"src": "19538:6:17"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "19532:5:17",
"nodeType": "YulIdentifier",
"src": "19532:5:17"
},
"nativeSrc": "19532:13:17",
"nodeType": "YulFunctionCall",
"src": "19532:13:17"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "19523:5:17",
"nodeType": "YulIdentifier",
"src": "19523:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "19581:5:17",
"nodeType": "YulIdentifier",
"src": "19581:5:17"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nativeSrc": "19554:26:17",
"nodeType": "YulIdentifier",
"src": "19554:26:17"
},
"nativeSrc": "19554:33:17",
"nodeType": "YulFunctionCall",
"src": "19554:33:17"
},
"nativeSrc": "19554:33:17",
"nodeType": "YulExpressionStatement",
"src": "19554:33:17"
}
]
},
"name": "abi_decode_t_uint256_fromMemory",
"nativeSrc": "19450:143:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "19491:6:17",
"nodeType": "YulTypedName",
"src": "19491:6:17",
"type": ""
},
{
"name": "end",
"nativeSrc": "19499:3:17",
"nodeType": "YulTypedName",
"src": "19499:3:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "19507:5:17",
"nodeType": "YulTypedName",
"src": "19507:5:17",
"type": ""
}
],
"src": "19450:143:17"
},
{
"body": {
"nativeSrc": "19676:274:17",
"nodeType": "YulBlock",
"src": "19676:274:17",
"statements": [
{
"body": {
"nativeSrc": "19722:83:17",
"nodeType": "YulBlock",
"src": "19722:83:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "19724:77:17",
"nodeType": "YulIdentifier",
"src": "19724:77:17"
},
"nativeSrc": "19724:79:17",
"nodeType": "YulFunctionCall",
"src": "19724:79:17"
},
"nativeSrc": "19724:79:17",
"nodeType": "YulExpressionStatement",
"src": "19724:79:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "19697:7:17",
"nodeType": "YulIdentifier",
"src": "19697:7:17"
},
{
"name": "headStart",
"nativeSrc": "19706:9:17",
"nodeType": "YulIdentifier",
"src": "19706:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "19693:3:17",
"nodeType": "YulIdentifier",
"src": "19693:3:17"
},
"nativeSrc": "19693:23:17",
"nodeType": "YulFunctionCall",
"src": "19693:23:17"
},
{
"kind": "number",
"nativeSrc": "19718:2:17",
"nodeType": "YulLiteral",
"src": "19718:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "19689:3:17",
"nodeType": "YulIdentifier",
"src": "19689:3:17"
},
"nativeSrc": "19689:32:17",
"nodeType": "YulFunctionCall",
"src": "19689:32:17"
},
"nativeSrc": "19686:119:17",
"nodeType": "YulIf",
"src": "19686:119:17"
},
{
"nativeSrc": "19815:128:17",
"nodeType": "YulBlock",
"src": "19815:128:17",
"statements": [
{
"nativeSrc": "19830:15:17",
"nodeType": "YulVariableDeclaration",
"src": "19830:15:17",
"value": {
"kind": "number",
"nativeSrc": "19844:1:17",
"nodeType": "YulLiteral",
"src": "19844:1:17",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "19834:6:17",
"nodeType": "YulTypedName",
"src": "19834:6:17",
"type": ""
}
]
},
{
"nativeSrc": "19859:74:17",
"nodeType": "YulAssignment",
"src": "19859:74:17",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "19905:9:17",
"nodeType": "YulIdentifier",
"src": "19905:9:17"
},
{
"name": "offset",
"nativeSrc": "19916:6:17",
"nodeType": "YulIdentifier",
"src": "19916:6:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "19901:3:17",
"nodeType": "YulIdentifier",
"src": "19901:3:17"
},
"nativeSrc": "19901:22:17",
"nodeType": "YulFunctionCall",
"src": "19901:22:17"
},
{
"name": "dataEnd",
"nativeSrc": "19925:7:17",
"nodeType": "YulIdentifier",
"src": "19925:7:17"
}
],
"functionName": {
"name": "abi_decode_t_uint256_fromMemory",
"nativeSrc": "19869:31:17",
"nodeType": "YulIdentifier",
"src": "19869:31:17"
},
"nativeSrc": "19869:64:17",
"nodeType": "YulFunctionCall",
"src": "19869:64:17"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "19859:6:17",
"nodeType": "YulIdentifier",
"src": "19859:6:17"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256_fromMemory",
"nativeSrc": "19599:351:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "19646:9:17",
"nodeType": "YulTypedName",
"src": "19646:9:17",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "19657:7:17",
"nodeType": "YulTypedName",
"src": "19657:7:17",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "19669:6:17",
"nodeType": "YulTypedName",
"src": "19669:6:17",
"type": ""
}
],
"src": "19599:351:17"
},
{
"body": {
"nativeSrc": "19984:152:17",
"nodeType": "YulBlock",
"src": "19984:152:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "20001:1:17",
"nodeType": "YulLiteral",
"src": "20001:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "20004:77:17",
"nodeType": "YulLiteral",
"src": "20004:77:17",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "19994:6:17",
"nodeType": "YulIdentifier",
"src": "19994:6:17"
},
"nativeSrc": "19994:88:17",
"nodeType": "YulFunctionCall",
"src": "19994:88:17"
},
"nativeSrc": "19994:88:17",
"nodeType": "YulExpressionStatement",
"src": "19994:88:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "20098:1:17",
"nodeType": "YulLiteral",
"src": "20098:1:17",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "20101:4:17",
"nodeType": "YulLiteral",
"src": "20101:4:17",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "20091:6:17",
"nodeType": "YulIdentifier",
"src": "20091:6:17"
},
"nativeSrc": "20091:15:17",
"nodeType": "YulFunctionCall",
"src": "20091:15:17"
},
"nativeSrc": "20091:15:17",
"nodeType": "YulExpressionStatement",
"src": "20091:15:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "20122:1:17",
"nodeType": "YulLiteral",
"src": "20122:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "20125:4:17",
"nodeType": "YulLiteral",
"src": "20125:4:17",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "20115:6:17",
"nodeType": "YulIdentifier",
"src": "20115:6:17"
},
"nativeSrc": "20115:15:17",
"nodeType": "YulFunctionCall",
"src": "20115:15:17"
},
"nativeSrc": "20115:15:17",
"nodeType": "YulExpressionStatement",
"src": "20115:15:17"
}
]
},
"name": "panic_error_0x11",
"nativeSrc": "19956:180:17",
"nodeType": "YulFunctionDefinition",
"src": "19956:180:17"
},
{
"body": {
"nativeSrc": "20185:190:17",
"nodeType": "YulBlock",
"src": "20185:190:17",
"statements": [
{
"nativeSrc": "20195:33:17",
"nodeType": "YulAssignment",
"src": "20195:33:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "20222:5:17",
"nodeType": "YulIdentifier",
"src": "20222:5:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "20204:17:17",
"nodeType": "YulIdentifier",
"src": "20204:17:17"
},
"nativeSrc": "20204:24:17",
"nodeType": "YulFunctionCall",
"src": "20204:24:17"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "20195:5:17",
"nodeType": "YulIdentifier",
"src": "20195:5:17"
}
]
},
{
"body": {
"nativeSrc": "20318:22:17",
"nodeType": "YulBlock",
"src": "20318:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nativeSrc": "20320:16:17",
"nodeType": "YulIdentifier",
"src": "20320:16:17"
},
"nativeSrc": "20320:18:17",
"nodeType": "YulFunctionCall",
"src": "20320:18:17"
},
"nativeSrc": "20320:18:17",
"nodeType": "YulExpressionStatement",
"src": "20320:18:17"
}
]
},
"condition": {
"arguments": [
{
"name": "value",
"nativeSrc": "20243:5:17",
"nodeType": "YulIdentifier",
"src": "20243:5:17"
},
{
"kind": "number",
"nativeSrc": "20250:66:17",
"nodeType": "YulLiteral",
"src": "20250:66:17",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "20240:2:17",
"nodeType": "YulIdentifier",
"src": "20240:2:17"
},
"nativeSrc": "20240:77:17",
"nodeType": "YulFunctionCall",
"src": "20240:77:17"
},
"nativeSrc": "20237:103:17",
"nodeType": "YulIf",
"src": "20237:103:17"
},
{
"nativeSrc": "20349:20:17",
"nodeType": "YulAssignment",
"src": "20349:20:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "20360:5:17",
"nodeType": "YulIdentifier",
"src": "20360:5:17"
},
{
"kind": "number",
"nativeSrc": "20367:1:17",
"nodeType": "YulLiteral",
"src": "20367:1:17",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "20356:3:17",
"nodeType": "YulIdentifier",
"src": "20356:3:17"
},
"nativeSrc": "20356:13:17",
"nodeType": "YulFunctionCall",
"src": "20356:13:17"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "20349:3:17",
"nodeType": "YulIdentifier",
"src": "20349:3:17"
}
]
}
]
},
"name": "increment_t_uint256",
"nativeSrc": "20142:233:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "20171:5:17",
"nodeType": "YulTypedName",
"src": "20171:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "20181:3:17",
"nodeType": "YulTypedName",
"src": "20181:3:17",
"type": ""
}
],
"src": "20142:233:17"
},
{
"body": {
"nativeSrc": "20434:32:17",
"nodeType": "YulBlock",
"src": "20434:32:17",
"statements": [
{
"nativeSrc": "20444:16:17",
"nodeType": "YulAssignment",
"src": "20444:16:17",
"value": {
"name": "value",
"nativeSrc": "20455:5:17",
"nodeType": "YulIdentifier",
"src": "20455:5:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "20444:7:17",
"nodeType": "YulIdentifier",
"src": "20444:7:17"
}
]
}
]
},
"name": "cleanup_t_rational_1_by_1",
"nativeSrc": "20381:85:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "20416:5:17",
"nodeType": "YulTypedName",
"src": "20416:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "20426:7:17",
"nodeType": "YulTypedName",
"src": "20426:7:17",
"type": ""
}
],
"src": "20381:85:17"
},
{
"body": {
"nativeSrc": "20504:28:17",
"nodeType": "YulBlock",
"src": "20504:28:17",
"statements": [
{
"nativeSrc": "20514:12:17",
"nodeType": "YulAssignment",
"src": "20514:12:17",
"value": {
"name": "value",
"nativeSrc": "20521:5:17",
"nodeType": "YulIdentifier",
"src": "20521:5:17"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "20514:3:17",
"nodeType": "YulIdentifier",
"src": "20514:3:17"
}
]
}
]
},
"name": "identity",
"nativeSrc": "20472:60:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "20490:5:17",
"nodeType": "YulTypedName",
"src": "20490:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "20500:3:17",
"nodeType": "YulTypedName",
"src": "20500:3:17",
"type": ""
}
],
"src": "20472:60:17"
},
{
"body": {
"nativeSrc": "20606:90:17",
"nodeType": "YulBlock",
"src": "20606:90:17",
"statements": [
{
"nativeSrc": "20616:74:17",
"nodeType": "YulAssignment",
"src": "20616:74:17",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "20682:5:17",
"nodeType": "YulIdentifier",
"src": "20682:5:17"
}
],
"functionName": {
"name": "cleanup_t_rational_1_by_1",
"nativeSrc": "20656:25:17",
"nodeType": "YulIdentifier",
"src": "20656:25:17"
},
"nativeSrc": "20656:32:17",
"nodeType": "YulFunctionCall",
"src": "20656:32:17"
}
],
"functionName": {
"name": "identity",
"nativeSrc": "20647:8:17",
"nodeType": "YulIdentifier",
"src": "20647:8:17"
},
"nativeSrc": "20647:42:17",
"nodeType": "YulFunctionCall",
"src": "20647:42:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "20629:17:17",
"nodeType": "YulIdentifier",
"src": "20629:17:17"
},
"nativeSrc": "20629:61:17",
"nodeType": "YulFunctionCall",
"src": "20629:61:17"
},
"variableNames": [
{
"name": "converted",
"nativeSrc": "20616:9:17",
"nodeType": "YulIdentifier",
"src": "20616:9:17"
}
]
}
]
},
"name": "convert_t_rational_1_by_1_to_t_uint256",
"nativeSrc": "20538:158:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "20586:5:17",
"nodeType": "YulTypedName",
"src": "20586:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nativeSrc": "20596:9:17",
"nodeType": "YulTypedName",
"src": "20596:9:17",
"type": ""
}
],
"src": "20538:158:17"
},
{
"body": {
"nativeSrc": "20775:74:17",
"nodeType": "YulBlock",
"src": "20775:74:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "20792:3:17",
"nodeType": "YulIdentifier",
"src": "20792:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "20836:5:17",
"nodeType": "YulIdentifier",
"src": "20836:5:17"
}
],
"functionName": {
"name": "convert_t_rational_1_by_1_to_t_uint256",
"nativeSrc": "20797:38:17",
"nodeType": "YulIdentifier",
"src": "20797:38:17"
},
"nativeSrc": "20797:45:17",
"nodeType": "YulFunctionCall",
"src": "20797:45:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "20785:6:17",
"nodeType": "YulIdentifier",
"src": "20785:6:17"
},
"nativeSrc": "20785:58:17",
"nodeType": "YulFunctionCall",
"src": "20785:58:17"
},
"nativeSrc": "20785:58:17",
"nodeType": "YulExpressionStatement",
"src": "20785:58:17"
}
]
},
"name": "abi_encode_t_rational_1_by_1_to_t_uint256_fromStack",
"nativeSrc": "20702:147:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "20763:5:17",
"nodeType": "YulTypedName",
"src": "20763:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "20770:3:17",
"nodeType": "YulTypedName",
"src": "20770:3:17",
"type": ""
}
],
"src": "20702:147:17"
},
{
"body": {
"nativeSrc": "21145:585:17",
"nodeType": "YulBlock",
"src": "21145:585:17",
"statements": [
{
"nativeSrc": "21155:27:17",
"nodeType": "YulAssignment",
"src": "21155:27:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "21167:9:17",
"nodeType": "YulIdentifier",
"src": "21167:9:17"
},
{
"kind": "number",
"nativeSrc": "21178:3:17",
"nodeType": "YulLiteral",
"src": "21178:3:17",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nativeSrc": "21163:3:17",
"nodeType": "YulIdentifier",
"src": "21163:3:17"
},
"nativeSrc": "21163:19:17",
"nodeType": "YulFunctionCall",
"src": "21163:19:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "21155:4:17",
"nodeType": "YulIdentifier",
"src": "21155:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "21236:6:17",
"nodeType": "YulIdentifier",
"src": "21236:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "21249:9:17",
"nodeType": "YulIdentifier",
"src": "21249:9:17"
},
{
"kind": "number",
"nativeSrc": "21260:1:17",
"nodeType": "YulLiteral",
"src": "21260:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "21245:3:17",
"nodeType": "YulIdentifier",
"src": "21245:3:17"
},
"nativeSrc": "21245:17:17",
"nodeType": "YulFunctionCall",
"src": "21245:17:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "21192:43:17",
"nodeType": "YulIdentifier",
"src": "21192:43:17"
},
"nativeSrc": "21192:71:17",
"nodeType": "YulFunctionCall",
"src": "21192:71:17"
},
"nativeSrc": "21192:71:17",
"nodeType": "YulExpressionStatement",
"src": "21192:71:17"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nativeSrc": "21317:6:17",
"nodeType": "YulIdentifier",
"src": "21317:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "21330:9:17",
"nodeType": "YulIdentifier",
"src": "21330:9:17"
},
{
"kind": "number",
"nativeSrc": "21341:2:17",
"nodeType": "YulLiteral",
"src": "21341:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "21326:3:17",
"nodeType": "YulIdentifier",
"src": "21326:3:17"
},
"nativeSrc": "21326:18:17",
"nodeType": "YulFunctionCall",
"src": "21326:18:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "21273:43:17",
"nodeType": "YulIdentifier",
"src": "21273:43:17"
},
"nativeSrc": "21273:72:17",
"nodeType": "YulFunctionCall",
"src": "21273:72:17"
},
"nativeSrc": "21273:72:17",
"nodeType": "YulExpressionStatement",
"src": "21273:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nativeSrc": "21399:6:17",
"nodeType": "YulIdentifier",
"src": "21399:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "21412:9:17",
"nodeType": "YulIdentifier",
"src": "21412:9:17"
},
{
"kind": "number",
"nativeSrc": "21423:2:17",
"nodeType": "YulLiteral",
"src": "21423:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "21408:3:17",
"nodeType": "YulIdentifier",
"src": "21408:3:17"
},
"nativeSrc": "21408:18:17",
"nodeType": "YulFunctionCall",
"src": "21408:18:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "21355:43:17",
"nodeType": "YulIdentifier",
"src": "21355:43:17"
},
"nativeSrc": "21355:72:17",
"nodeType": "YulFunctionCall",
"src": "21355:72:17"
},
"nativeSrc": "21355:72:17",
"nodeType": "YulExpressionStatement",
"src": "21355:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value3",
"nativeSrc": "21489:6:17",
"nodeType": "YulIdentifier",
"src": "21489:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "21502:9:17",
"nodeType": "YulIdentifier",
"src": "21502:9:17"
},
{
"kind": "number",
"nativeSrc": "21513:2:17",
"nodeType": "YulLiteral",
"src": "21513:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nativeSrc": "21498:3:17",
"nodeType": "YulIdentifier",
"src": "21498:3:17"
},
"nativeSrc": "21498:18:17",
"nodeType": "YulFunctionCall",
"src": "21498:18:17"
}
],
"functionName": {
"name": "abi_encode_t_rational_1_by_1_to_t_uint256_fromStack",
"nativeSrc": "21437:51:17",
"nodeType": "YulIdentifier",
"src": "21437:51:17"
},
"nativeSrc": "21437:80:17",
"nodeType": "YulFunctionCall",
"src": "21437:80:17"
},
"nativeSrc": "21437:80:17",
"nodeType": "YulExpressionStatement",
"src": "21437:80:17"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "21538:9:17",
"nodeType": "YulIdentifier",
"src": "21538:9:17"
},
{
"kind": "number",
"nativeSrc": "21549:3:17",
"nodeType": "YulLiteral",
"src": "21549:3:17",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nativeSrc": "21534:3:17",
"nodeType": "YulIdentifier",
"src": "21534:3:17"
},
"nativeSrc": "21534:19:17",
"nodeType": "YulFunctionCall",
"src": "21534:19:17"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "21559:4:17",
"nodeType": "YulIdentifier",
"src": "21559:4:17"
},
{
"name": "headStart",
"nativeSrc": "21565:9:17",
"nodeType": "YulIdentifier",
"src": "21565:9:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "21555:3:17",
"nodeType": "YulIdentifier",
"src": "21555:3:17"
},
"nativeSrc": "21555:20:17",
"nodeType": "YulFunctionCall",
"src": "21555:20:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "21527:6:17",
"nodeType": "YulIdentifier",
"src": "21527:6:17"
},
"nativeSrc": "21527:49:17",
"nodeType": "YulFunctionCall",
"src": "21527:49:17"
},
"nativeSrc": "21527:49:17",
"nodeType": "YulExpressionStatement",
"src": "21527:49:17"
},
{
"nativeSrc": "21585:138:17",
"nodeType": "YulAssignment",
"src": "21585:138:17",
"value": {
"arguments": [
{
"name": "tail",
"nativeSrc": "21718:4:17",
"nodeType": "YulIdentifier",
"src": "21718:4:17"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470_to_t_bytes_memory_ptr_fromStack",
"nativeSrc": "21593:123:17",
"nodeType": "YulIdentifier",
"src": "21593:123:17"
},
"nativeSrc": "21593:130:17",
"nodeType": "YulFunctionCall",
"src": "21593:130:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "21585:4:17",
"nodeType": "YulIdentifier",
"src": "21585:4:17"
}
]
}
]
},
"name": "abi_encode_tuple_t_address_t_address_t_uint256_t_rational_1_by_1_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_address_t_address_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed",
"nativeSrc": "20855:875:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "21093:9:17",
"nodeType": "YulTypedName",
"src": "21093:9:17",
"type": ""
},
{
"name": "value3",
"nativeSrc": "21105:6:17",
"nodeType": "YulTypedName",
"src": "21105:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "21113:6:17",
"nodeType": "YulTypedName",
"src": "21113:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "21121:6:17",
"nodeType": "YulTypedName",
"src": "21121:6:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "21129:6:17",
"nodeType": "YulTypedName",
"src": "21129:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "21140:4:17",
"nodeType": "YulTypedName",
"src": "21140:4:17",
"type": ""
}
],
"src": "20855:875:17"
},
{
"body": {
"nativeSrc": "21958:466:17",
"nodeType": "YulBlock",
"src": "21958:466:17",
"statements": [
{
"nativeSrc": "21968:27:17",
"nodeType": "YulAssignment",
"src": "21968:27:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "21980:9:17",
"nodeType": "YulIdentifier",
"src": "21980:9:17"
},
{
"kind": "number",
"nativeSrc": "21991:3:17",
"nodeType": "YulLiteral",
"src": "21991:3:17",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nativeSrc": "21976:3:17",
"nodeType": "YulIdentifier",
"src": "21976:3:17"
},
"nativeSrc": "21976:19:17",
"nodeType": "YulFunctionCall",
"src": "21976:19:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "21968:4:17",
"nodeType": "YulIdentifier",
"src": "21968:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "22049:6:17",
"nodeType": "YulIdentifier",
"src": "22049:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "22062:9:17",
"nodeType": "YulIdentifier",
"src": "22062:9:17"
},
{
"kind": "number",
"nativeSrc": "22073:1:17",
"nodeType": "YulLiteral",
"src": "22073:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "22058:3:17",
"nodeType": "YulIdentifier",
"src": "22058:3:17"
},
"nativeSrc": "22058:17:17",
"nodeType": "YulFunctionCall",
"src": "22058:17:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "22005:43:17",
"nodeType": "YulIdentifier",
"src": "22005:43:17"
},
"nativeSrc": "22005:71:17",
"nodeType": "YulFunctionCall",
"src": "22005:71:17"
},
"nativeSrc": "22005:71:17",
"nodeType": "YulExpressionStatement",
"src": "22005:71:17"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nativeSrc": "22130:6:17",
"nodeType": "YulIdentifier",
"src": "22130:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "22143:9:17",
"nodeType": "YulIdentifier",
"src": "22143:9:17"
},
{
"kind": "number",
"nativeSrc": "22154:2:17",
"nodeType": "YulLiteral",
"src": "22154:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "22139:3:17",
"nodeType": "YulIdentifier",
"src": "22139:3:17"
},
"nativeSrc": "22139:18:17",
"nodeType": "YulFunctionCall",
"src": "22139:18:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "22086:43:17",
"nodeType": "YulIdentifier",
"src": "22086:43:17"
},
"nativeSrc": "22086:72:17",
"nodeType": "YulFunctionCall",
"src": "22086:72:17"
},
"nativeSrc": "22086:72:17",
"nodeType": "YulExpressionStatement",
"src": "22086:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nativeSrc": "22224:6:17",
"nodeType": "YulIdentifier",
"src": "22224:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "22237:9:17",
"nodeType": "YulIdentifier",
"src": "22237:9:17"
},
{
"kind": "number",
"nativeSrc": "22248:2:17",
"nodeType": "YulLiteral",
"src": "22248:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "22233:3:17",
"nodeType": "YulIdentifier",
"src": "22233:3:17"
},
"nativeSrc": "22233:18:17",
"nodeType": "YulFunctionCall",
"src": "22233:18:17"
}
],
"functionName": {
"name": "abi_encode_t_enum$_TokenType_$1960_to_t_uint8_fromStack",
"nativeSrc": "22168:55:17",
"nodeType": "YulIdentifier",
"src": "22168:55:17"
},
"nativeSrc": "22168:84:17",
"nodeType": "YulFunctionCall",
"src": "22168:84:17"
},
"nativeSrc": "22168:84:17",
"nodeType": "YulExpressionStatement",
"src": "22168:84:17"
},
{
"expression": {
"arguments": [
{
"name": "value3",
"nativeSrc": "22306:6:17",
"nodeType": "YulIdentifier",
"src": "22306:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "22319:9:17",
"nodeType": "YulIdentifier",
"src": "22319:9:17"
},
{
"kind": "number",
"nativeSrc": "22330:2:17",
"nodeType": "YulLiteral",
"src": "22330:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nativeSrc": "22315:3:17",
"nodeType": "YulIdentifier",
"src": "22315:3:17"
},
"nativeSrc": "22315:18:17",
"nodeType": "YulFunctionCall",
"src": "22315:18:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "22262:43:17",
"nodeType": "YulIdentifier",
"src": "22262:43:17"
},
"nativeSrc": "22262:72:17",
"nodeType": "YulFunctionCall",
"src": "22262:72:17"
},
"nativeSrc": "22262:72:17",
"nodeType": "YulExpressionStatement",
"src": "22262:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value4",
"nativeSrc": "22388:6:17",
"nodeType": "YulIdentifier",
"src": "22388:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "22401:9:17",
"nodeType": "YulIdentifier",
"src": "22401:9:17"
},
{
"kind": "number",
"nativeSrc": "22412:3:17",
"nodeType": "YulLiteral",
"src": "22412:3:17",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nativeSrc": "22397:3:17",
"nodeType": "YulIdentifier",
"src": "22397:3:17"
},
"nativeSrc": "22397:19:17",
"nodeType": "YulFunctionCall",
"src": "22397:19:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "22344:43:17",
"nodeType": "YulIdentifier",
"src": "22344:43:17"
},
"nativeSrc": "22344:73:17",
"nodeType": "YulFunctionCall",
"src": "22344:73:17"
},
"nativeSrc": "22344:73:17",
"nodeType": "YulExpressionStatement",
"src": "22344:73:17"
}
]
},
"name": "abi_encode_tuple_t_uint256_t_uint256_t_enum$_TokenType_$1960_t_uint256_t_uint256__to_t_uint256_t_uint256_t_uint8_t_uint256_t_uint256__fromStack_reversed",
"nativeSrc": "21736:688:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "21898:9:17",
"nodeType": "YulTypedName",
"src": "21898:9:17",
"type": ""
},
{
"name": "value4",
"nativeSrc": "21910:6:17",
"nodeType": "YulTypedName",
"src": "21910:6:17",
"type": ""
},
{
"name": "value3",
"nativeSrc": "21918:6:17",
"nodeType": "YulTypedName",
"src": "21918:6:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "21926:6:17",
"nodeType": "YulTypedName",
"src": "21926:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "21934:6:17",
"nodeType": "YulTypedName",
"src": "21934:6:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "21942:6:17",
"nodeType": "YulTypedName",
"src": "21942:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "21953:4:17",
"nodeType": "YulTypedName",
"src": "21953:4:17",
"type": ""
}
],
"src": "21736:688:17"
},
{
"body": {
"nativeSrc": "22474:57:17",
"nodeType": "YulBlock",
"src": "22474:57:17",
"statements": [
{
"nativeSrc": "22484:41:17",
"nodeType": "YulAssignment",
"src": "22484:41:17",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "22499:5:17",
"nodeType": "YulIdentifier",
"src": "22499:5:17"
},
{
"kind": "number",
"nativeSrc": "22506:18:17",
"nodeType": "YulLiteral",
"src": "22506:18:17",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nativeSrc": "22495:3:17",
"nodeType": "YulIdentifier",
"src": "22495:3:17"
},
"nativeSrc": "22495:30:17",
"nodeType": "YulFunctionCall",
"src": "22495:30:17"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "22484:7:17",
"nodeType": "YulIdentifier",
"src": "22484:7:17"
}
]
}
]
},
"name": "cleanup_t_uint64",
"nativeSrc": "22430:101:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "22456:5:17",
"nodeType": "YulTypedName",
"src": "22456:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "22466:7:17",
"nodeType": "YulTypedName",
"src": "22466:7:17",
"type": ""
}
],
"src": "22430:101:17"
},
{
"body": {
"nativeSrc": "22604:89:17",
"nodeType": "YulBlock",
"src": "22604:89:17",
"statements": [
{
"nativeSrc": "22614:73:17",
"nodeType": "YulAssignment",
"src": "22614:73:17",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "22679:5:17",
"nodeType": "YulIdentifier",
"src": "22679:5:17"
}
],
"functionName": {
"name": "cleanup_t_rational_1_by_1",
"nativeSrc": "22653:25:17",
"nodeType": "YulIdentifier",
"src": "22653:25:17"
},
"nativeSrc": "22653:32:17",
"nodeType": "YulFunctionCall",
"src": "22653:32:17"
}
],
"functionName": {
"name": "identity",
"nativeSrc": "22644:8:17",
"nodeType": "YulIdentifier",
"src": "22644:8:17"
},
"nativeSrc": "22644:42:17",
"nodeType": "YulFunctionCall",
"src": "22644:42:17"
}
],
"functionName": {
"name": "cleanup_t_uint64",
"nativeSrc": "22627:16:17",
"nodeType": "YulIdentifier",
"src": "22627:16:17"
},
"nativeSrc": "22627:60:17",
"nodeType": "YulFunctionCall",
"src": "22627:60:17"
},
"variableNames": [
{
"name": "converted",
"nativeSrc": "22614:9:17",
"nodeType": "YulIdentifier",
"src": "22614:9:17"
}
]
}
]
},
"name": "convert_t_rational_1_by_1_to_t_uint64",
"nativeSrc": "22537:156:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "22584:5:17",
"nodeType": "YulTypedName",
"src": "22584:5:17",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nativeSrc": "22594:9:17",
"nodeType": "YulTypedName",
"src": "22594:9:17",
"type": ""
}
],
"src": "22537:156:17"
},
{
"body": {
"nativeSrc": "22771:73:17",
"nodeType": "YulBlock",
"src": "22771:73:17",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "22788:3:17",
"nodeType": "YulIdentifier",
"src": "22788:3:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "22831:5:17",
"nodeType": "YulIdentifier",
"src": "22831:5:17"
}
],
"functionName": {
"name": "convert_t_rational_1_by_1_to_t_uint64",
"nativeSrc": "22793:37:17",
"nodeType": "YulIdentifier",
"src": "22793:37:17"
},
"nativeSrc": "22793:44:17",
"nodeType": "YulFunctionCall",
"src": "22793:44:17"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "22781:6:17",
"nodeType": "YulIdentifier",
"src": "22781:6:17"
},
"nativeSrc": "22781:57:17",
"nodeType": "YulFunctionCall",
"src": "22781:57:17"
},
"nativeSrc": "22781:57:17",
"nodeType": "YulExpressionStatement",
"src": "22781:57:17"
}
]
},
"name": "abi_encode_t_rational_1_by_1_to_t_uint64_fromStack",
"nativeSrc": "22699:145:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "22759:5:17",
"nodeType": "YulTypedName",
"src": "22759:5:17",
"type": ""
},
{
"name": "pos",
"nativeSrc": "22766:3:17",
"nodeType": "YulTypedName",
"src": "22766:3:17",
"type": ""
}
],
"src": "22699:145:17"
},
{
"body": {
"nativeSrc": "22955:131:17",
"nodeType": "YulBlock",
"src": "22955:131:17",
"statements": [
{
"nativeSrc": "22965:26:17",
"nodeType": "YulAssignment",
"src": "22965:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "22977:9:17",
"nodeType": "YulIdentifier",
"src": "22977:9:17"
},
{
"kind": "number",
"nativeSrc": "22988:2:17",
"nodeType": "YulLiteral",
"src": "22988:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "22973:3:17",
"nodeType": "YulIdentifier",
"src": "22973:3:17"
},
"nativeSrc": "22973:18:17",
"nodeType": "YulFunctionCall",
"src": "22973:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "22965:4:17",
"nodeType": "YulIdentifier",
"src": "22965:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "23052:6:17",
"nodeType": "YulIdentifier",
"src": "23052:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "23065:9:17",
"nodeType": "YulIdentifier",
"src": "23065:9:17"
},
{
"kind": "number",
"nativeSrc": "23076:1:17",
"nodeType": "YulLiteral",
"src": "23076:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "23061:3:17",
"nodeType": "YulIdentifier",
"src": "23061:3:17"
},
"nativeSrc": "23061:17:17",
"nodeType": "YulFunctionCall",
"src": "23061:17:17"
}
],
"functionName": {
"name": "abi_encode_t_rational_1_by_1_to_t_uint64_fromStack",
"nativeSrc": "23001:50:17",
"nodeType": "YulIdentifier",
"src": "23001:50:17"
},
"nativeSrc": "23001:78:17",
"nodeType": "YulFunctionCall",
"src": "23001:78:17"
},
"nativeSrc": "23001:78:17",
"nodeType": "YulExpressionStatement",
"src": "23001:78:17"
}
]
},
"name": "abi_encode_tuple_t_rational_1_by_1__to_t_uint64__fromStack_reversed",
"nativeSrc": "22850:236:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "22927:9:17",
"nodeType": "YulTypedName",
"src": "22927:9:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "22939:6:17",
"nodeType": "YulTypedName",
"src": "22939:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "22950:4:17",
"nodeType": "YulTypedName",
"src": "22950:4:17",
"type": ""
}
],
"src": "22850:236:17"
},
{
"body": {
"nativeSrc": "23137:149:17",
"nodeType": "YulBlock",
"src": "23137:149:17",
"statements": [
{
"nativeSrc": "23147:25:17",
"nodeType": "YulAssignment",
"src": "23147:25:17",
"value": {
"arguments": [
{
"name": "x",
"nativeSrc": "23170:1:17",
"nodeType": "YulIdentifier",
"src": "23170:1:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "23152:17:17",
"nodeType": "YulIdentifier",
"src": "23152:17:17"
},
"nativeSrc": "23152:20:17",
"nodeType": "YulFunctionCall",
"src": "23152:20:17"
},
"variableNames": [
{
"name": "x",
"nativeSrc": "23147:1:17",
"nodeType": "YulIdentifier",
"src": "23147:1:17"
}
]
},
{
"nativeSrc": "23181:25:17",
"nodeType": "YulAssignment",
"src": "23181:25:17",
"value": {
"arguments": [
{
"name": "y",
"nativeSrc": "23204:1:17",
"nodeType": "YulIdentifier",
"src": "23204:1:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "23186:17:17",
"nodeType": "YulIdentifier",
"src": "23186:17:17"
},
"nativeSrc": "23186:20:17",
"nodeType": "YulFunctionCall",
"src": "23186:20:17"
},
"variableNames": [
{
"name": "y",
"nativeSrc": "23181:1:17",
"nodeType": "YulIdentifier",
"src": "23181:1:17"
}
]
},
{
"nativeSrc": "23215:17:17",
"nodeType": "YulAssignment",
"src": "23215:17:17",
"value": {
"arguments": [
{
"name": "x",
"nativeSrc": "23227:1:17",
"nodeType": "YulIdentifier",
"src": "23227:1:17"
},
{
"name": "y",
"nativeSrc": "23230:1:17",
"nodeType": "YulIdentifier",
"src": "23230:1:17"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "23223:3:17",
"nodeType": "YulIdentifier",
"src": "23223:3:17"
},
"nativeSrc": "23223:9:17",
"nodeType": "YulFunctionCall",
"src": "23223:9:17"
},
"variableNames": [
{
"name": "diff",
"nativeSrc": "23215:4:17",
"nodeType": "YulIdentifier",
"src": "23215:4:17"
}
]
},
{
"body": {
"nativeSrc": "23257:22:17",
"nodeType": "YulBlock",
"src": "23257:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nativeSrc": "23259:16:17",
"nodeType": "YulIdentifier",
"src": "23259:16:17"
},
"nativeSrc": "23259:18:17",
"nodeType": "YulFunctionCall",
"src": "23259:18:17"
},
"nativeSrc": "23259:18:17",
"nodeType": "YulExpressionStatement",
"src": "23259:18:17"
}
]
},
"condition": {
"arguments": [
{
"name": "diff",
"nativeSrc": "23248:4:17",
"nodeType": "YulIdentifier",
"src": "23248:4:17"
},
{
"name": "x",
"nativeSrc": "23254:1:17",
"nodeType": "YulIdentifier",
"src": "23254:1:17"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "23245:2:17",
"nodeType": "YulIdentifier",
"src": "23245:2:17"
},
"nativeSrc": "23245:11:17",
"nodeType": "YulFunctionCall",
"src": "23245:11:17"
},
"nativeSrc": "23242:37:17",
"nodeType": "YulIf",
"src": "23242:37:17"
}
]
},
"name": "checked_sub_t_uint256",
"nativeSrc": "23092:194:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nativeSrc": "23123:1:17",
"nodeType": "YulTypedName",
"src": "23123:1:17",
"type": ""
},
{
"name": "y",
"nativeSrc": "23126:1:17",
"nodeType": "YulTypedName",
"src": "23126:1:17",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nativeSrc": "23132:4:17",
"nodeType": "YulTypedName",
"src": "23132:4:17",
"type": ""
}
],
"src": "23092:194:17"
},
{
"body": {
"nativeSrc": "23446:288:17",
"nodeType": "YulBlock",
"src": "23446:288:17",
"statements": [
{
"nativeSrc": "23456:26:17",
"nodeType": "YulAssignment",
"src": "23456:26:17",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "23468:9:17",
"nodeType": "YulIdentifier",
"src": "23468:9:17"
},
{
"kind": "number",
"nativeSrc": "23479:2:17",
"nodeType": "YulLiteral",
"src": "23479:2:17",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nativeSrc": "23464:3:17",
"nodeType": "YulIdentifier",
"src": "23464:3:17"
},
"nativeSrc": "23464:18:17",
"nodeType": "YulFunctionCall",
"src": "23464:18:17"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "23456:4:17",
"nodeType": "YulIdentifier",
"src": "23456:4:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "23536:6:17",
"nodeType": "YulIdentifier",
"src": "23536:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "23549:9:17",
"nodeType": "YulIdentifier",
"src": "23549:9:17"
},
{
"kind": "number",
"nativeSrc": "23560:1:17",
"nodeType": "YulLiteral",
"src": "23560:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "23545:3:17",
"nodeType": "YulIdentifier",
"src": "23545:3:17"
},
"nativeSrc": "23545:17:17",
"nodeType": "YulFunctionCall",
"src": "23545:17:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "23492:43:17",
"nodeType": "YulIdentifier",
"src": "23492:43:17"
},
"nativeSrc": "23492:71:17",
"nodeType": "YulFunctionCall",
"src": "23492:71:17"
},
"nativeSrc": "23492:71:17",
"nodeType": "YulExpressionStatement",
"src": "23492:71:17"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nativeSrc": "23617:6:17",
"nodeType": "YulIdentifier",
"src": "23617:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "23630:9:17",
"nodeType": "YulIdentifier",
"src": "23630:9:17"
},
{
"kind": "number",
"nativeSrc": "23641:2:17",
"nodeType": "YulLiteral",
"src": "23641:2:17",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "23626:3:17",
"nodeType": "YulIdentifier",
"src": "23626:3:17"
},
"nativeSrc": "23626:18:17",
"nodeType": "YulFunctionCall",
"src": "23626:18:17"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "23573:43:17",
"nodeType": "YulIdentifier",
"src": "23573:43:17"
},
"nativeSrc": "23573:72:17",
"nodeType": "YulFunctionCall",
"src": "23573:72:17"
},
"nativeSrc": "23573:72:17",
"nodeType": "YulExpressionStatement",
"src": "23573:72:17"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nativeSrc": "23699:6:17",
"nodeType": "YulIdentifier",
"src": "23699:6:17"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "23712:9:17",
"nodeType": "YulIdentifier",
"src": "23712:9:17"
},
{
"kind": "number",
"nativeSrc": "23723:2:17",
"nodeType": "YulLiteral",
"src": "23723:2:17",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nativeSrc": "23708:3:17",
"nodeType": "YulIdentifier",
"src": "23708:3:17"
},
"nativeSrc": "23708:18:17",
"nodeType": "YulFunctionCall",
"src": "23708:18:17"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "23655:43:17",
"nodeType": "YulIdentifier",
"src": "23655:43:17"
},
"nativeSrc": "23655:72:17",
"nodeType": "YulFunctionCall",
"src": "23655:72:17"
},
"nativeSrc": "23655:72:17",
"nodeType": "YulExpressionStatement",
"src": "23655:72:17"
}
]
},
"name": "abi_encode_tuple_t_uint256_t_uint256_t_address__to_t_uint256_t_uint256_t_address__fromStack_reversed",
"nativeSrc": "23292:442:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "23402:9:17",
"nodeType": "YulTypedName",
"src": "23402:9:17",
"type": ""
},
{
"name": "value2",
"nativeSrc": "23414:6:17",
"nodeType": "YulTypedName",
"src": "23414:6:17",
"type": ""
},
{
"name": "value1",
"nativeSrc": "23422:6:17",
"nodeType": "YulTypedName",
"src": "23422:6:17",
"type": ""
},
{
"name": "value0",
"nativeSrc": "23430:6:17",
"nodeType": "YulTypedName",
"src": "23430:6:17",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "23441:4:17",
"nodeType": "YulTypedName",
"src": "23441:4:17",
"type": ""
}
],
"src": "23292:442:17"
},
{
"body": {
"nativeSrc": "23784:147:17",
"nodeType": "YulBlock",
"src": "23784:147:17",
"statements": [
{
"nativeSrc": "23794:25:17",
"nodeType": "YulAssignment",
"src": "23794:25:17",
"value": {
"arguments": [
{
"name": "x",
"nativeSrc": "23817:1:17",
"nodeType": "YulIdentifier",
"src": "23817:1:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "23799:17:17",
"nodeType": "YulIdentifier",
"src": "23799:17:17"
},
"nativeSrc": "23799:20:17",
"nodeType": "YulFunctionCall",
"src": "23799:20:17"
},
"variableNames": [
{
"name": "x",
"nativeSrc": "23794:1:17",
"nodeType": "YulIdentifier",
"src": "23794:1:17"
}
]
},
{
"nativeSrc": "23828:25:17",
"nodeType": "YulAssignment",
"src": "23828:25:17",
"value": {
"arguments": [
{
"name": "y",
"nativeSrc": "23851:1:17",
"nodeType": "YulIdentifier",
"src": "23851:1:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "23833:17:17",
"nodeType": "YulIdentifier",
"src": "23833:17:17"
},
"nativeSrc": "23833:20:17",
"nodeType": "YulFunctionCall",
"src": "23833:20:17"
},
"variableNames": [
{
"name": "y",
"nativeSrc": "23828:1:17",
"nodeType": "YulIdentifier",
"src": "23828:1:17"
}
]
},
{
"nativeSrc": "23862:16:17",
"nodeType": "YulAssignment",
"src": "23862:16:17",
"value": {
"arguments": [
{
"name": "x",
"nativeSrc": "23873:1:17",
"nodeType": "YulIdentifier",
"src": "23873:1:17"
},
{
"name": "y",
"nativeSrc": "23876:1:17",
"nodeType": "YulIdentifier",
"src": "23876:1:17"
}
],
"functionName": {
"name": "add",
"nativeSrc": "23869:3:17",
"nodeType": "YulIdentifier",
"src": "23869:3:17"
},
"nativeSrc": "23869:9:17",
"nodeType": "YulFunctionCall",
"src": "23869:9:17"
},
"variableNames": [
{
"name": "sum",
"nativeSrc": "23862:3:17",
"nodeType": "YulIdentifier",
"src": "23862:3:17"
}
]
},
{
"body": {
"nativeSrc": "23902:22:17",
"nodeType": "YulBlock",
"src": "23902:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nativeSrc": "23904:16:17",
"nodeType": "YulIdentifier",
"src": "23904:16:17"
},
"nativeSrc": "23904:18:17",
"nodeType": "YulFunctionCall",
"src": "23904:18:17"
},
"nativeSrc": "23904:18:17",
"nodeType": "YulExpressionStatement",
"src": "23904:18:17"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nativeSrc": "23894:1:17",
"nodeType": "YulIdentifier",
"src": "23894:1:17"
},
{
"name": "sum",
"nativeSrc": "23897:3:17",
"nodeType": "YulIdentifier",
"src": "23897:3:17"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "23891:2:17",
"nodeType": "YulIdentifier",
"src": "23891:2:17"
},
"nativeSrc": "23891:10:17",
"nodeType": "YulFunctionCall",
"src": "23891:10:17"
},
"nativeSrc": "23888:36:17",
"nodeType": "YulIf",
"src": "23888:36:17"
}
]
},
"name": "checked_add_t_uint256",
"nativeSrc": "23740:191:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nativeSrc": "23771:1:17",
"nodeType": "YulTypedName",
"src": "23771:1:17",
"type": ""
},
{
"name": "y",
"nativeSrc": "23774:1:17",
"nodeType": "YulTypedName",
"src": "23774:1:17",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nativeSrc": "23780:3:17",
"nodeType": "YulTypedName",
"src": "23780:3:17",
"type": ""
}
],
"src": "23740:191:17"
},
{
"body": {
"nativeSrc": "23985:362:17",
"nodeType": "YulBlock",
"src": "23985:362:17",
"statements": [
{
"nativeSrc": "23995:25:17",
"nodeType": "YulAssignment",
"src": "23995:25:17",
"value": {
"arguments": [
{
"name": "x",
"nativeSrc": "24018:1:17",
"nodeType": "YulIdentifier",
"src": "24018:1:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "24000:17:17",
"nodeType": "YulIdentifier",
"src": "24000:17:17"
},
"nativeSrc": "24000:20:17",
"nodeType": "YulFunctionCall",
"src": "24000:20:17"
},
"variableNames": [
{
"name": "x",
"nativeSrc": "23995:1:17",
"nodeType": "YulIdentifier",
"src": "23995:1:17"
}
]
},
{
"nativeSrc": "24029:25:17",
"nodeType": "YulAssignment",
"src": "24029:25:17",
"value": {
"arguments": [
{
"name": "y",
"nativeSrc": "24052:1:17",
"nodeType": "YulIdentifier",
"src": "24052:1:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "24034:17:17",
"nodeType": "YulIdentifier",
"src": "24034:17:17"
},
"nativeSrc": "24034:20:17",
"nodeType": "YulFunctionCall",
"src": "24034:20:17"
},
"variableNames": [
{
"name": "y",
"nativeSrc": "24029:1:17",
"nodeType": "YulIdentifier",
"src": "24029:1:17"
}
]
},
{
"nativeSrc": "24063:28:17",
"nodeType": "YulVariableDeclaration",
"src": "24063:28:17",
"value": {
"arguments": [
{
"name": "x",
"nativeSrc": "24086:1:17",
"nodeType": "YulIdentifier",
"src": "24086:1:17"
},
{
"name": "y",
"nativeSrc": "24089:1:17",
"nodeType": "YulIdentifier",
"src": "24089:1:17"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "24082:3:17",
"nodeType": "YulIdentifier",
"src": "24082:3:17"
},
"nativeSrc": "24082:9:17",
"nodeType": "YulFunctionCall",
"src": "24082:9:17"
},
"variables": [
{
"name": "product_raw",
"nativeSrc": "24067:11:17",
"nodeType": "YulTypedName",
"src": "24067:11:17",
"type": ""
}
]
},
{
"nativeSrc": "24100:41:17",
"nodeType": "YulAssignment",
"src": "24100:41:17",
"value": {
"arguments": [
{
"name": "product_raw",
"nativeSrc": "24129:11:17",
"nodeType": "YulIdentifier",
"src": "24129:11:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "24111:17:17",
"nodeType": "YulIdentifier",
"src": "24111:17:17"
},
"nativeSrc": "24111:30:17",
"nodeType": "YulFunctionCall",
"src": "24111:30:17"
},
"variableNames": [
{
"name": "product",
"nativeSrc": "24100:7:17",
"nodeType": "YulIdentifier",
"src": "24100:7:17"
}
]
},
{
"body": {
"nativeSrc": "24318:22:17",
"nodeType": "YulBlock",
"src": "24318:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nativeSrc": "24320:16:17",
"nodeType": "YulIdentifier",
"src": "24320:16:17"
},
"nativeSrc": "24320:18:17",
"nodeType": "YulFunctionCall",
"src": "24320:18:17"
},
"nativeSrc": "24320:18:17",
"nodeType": "YulExpressionStatement",
"src": "24320:18:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "x",
"nativeSrc": "24251:1:17",
"nodeType": "YulIdentifier",
"src": "24251:1:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "24244:6:17",
"nodeType": "YulIdentifier",
"src": "24244:6:17"
},
"nativeSrc": "24244:9:17",
"nodeType": "YulFunctionCall",
"src": "24244:9:17"
},
{
"arguments": [
{
"name": "y",
"nativeSrc": "24274:1:17",
"nodeType": "YulIdentifier",
"src": "24274:1:17"
},
{
"arguments": [
{
"name": "product",
"nativeSrc": "24281:7:17",
"nodeType": "YulIdentifier",
"src": "24281:7:17"
},
{
"name": "x",
"nativeSrc": "24290:1:17",
"nodeType": "YulIdentifier",
"src": "24290:1:17"
}
],
"functionName": {
"name": "div",
"nativeSrc": "24277:3:17",
"nodeType": "YulIdentifier",
"src": "24277:3:17"
},
"nativeSrc": "24277:15:17",
"nodeType": "YulFunctionCall",
"src": "24277:15:17"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "24271:2:17",
"nodeType": "YulIdentifier",
"src": "24271:2:17"
},
"nativeSrc": "24271:22:17",
"nodeType": "YulFunctionCall",
"src": "24271:22:17"
}
],
"functionName": {
"name": "or",
"nativeSrc": "24224:2:17",
"nodeType": "YulIdentifier",
"src": "24224:2:17"
},
"nativeSrc": "24224:83:17",
"nodeType": "YulFunctionCall",
"src": "24224:83:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "24204:6:17",
"nodeType": "YulIdentifier",
"src": "24204:6:17"
},
"nativeSrc": "24204:113:17",
"nodeType": "YulFunctionCall",
"src": "24204:113:17"
},
"nativeSrc": "24201:139:17",
"nodeType": "YulIf",
"src": "24201:139:17"
}
]
},
"name": "checked_mul_t_uint256",
"nativeSrc": "23937:410:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nativeSrc": "23968:1:17",
"nodeType": "YulTypedName",
"src": "23968:1:17",
"type": ""
},
{
"name": "y",
"nativeSrc": "23971:1:17",
"nodeType": "YulTypedName",
"src": "23971:1:17",
"type": ""
}
],
"returnVariables": [
{
"name": "product",
"nativeSrc": "23977:7:17",
"nodeType": "YulTypedName",
"src": "23977:7:17",
"type": ""
}
],
"src": "23937:410:17"
},
{
"body": {
"nativeSrc": "24381:152:17",
"nodeType": "YulBlock",
"src": "24381:152:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "24398:1:17",
"nodeType": "YulLiteral",
"src": "24398:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "24401:77:17",
"nodeType": "YulLiteral",
"src": "24401:77:17",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "24391:6:17",
"nodeType": "YulIdentifier",
"src": "24391:6:17"
},
"nativeSrc": "24391:88:17",
"nodeType": "YulFunctionCall",
"src": "24391:88:17"
},
"nativeSrc": "24391:88:17",
"nodeType": "YulExpressionStatement",
"src": "24391:88:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "24495:1:17",
"nodeType": "YulLiteral",
"src": "24495:1:17",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "24498:4:17",
"nodeType": "YulLiteral",
"src": "24498:4:17",
"type": "",
"value": "0x12"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "24488:6:17",
"nodeType": "YulIdentifier",
"src": "24488:6:17"
},
"nativeSrc": "24488:15:17",
"nodeType": "YulFunctionCall",
"src": "24488:15:17"
},
"nativeSrc": "24488:15:17",
"nodeType": "YulExpressionStatement",
"src": "24488:15:17"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "24519:1:17",
"nodeType": "YulLiteral",
"src": "24519:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "24522:4:17",
"nodeType": "YulLiteral",
"src": "24522:4:17",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "24512:6:17",
"nodeType": "YulIdentifier",
"src": "24512:6:17"
},
"nativeSrc": "24512:15:17",
"nodeType": "YulFunctionCall",
"src": "24512:15:17"
},
"nativeSrc": "24512:15:17",
"nodeType": "YulExpressionStatement",
"src": "24512:15:17"
}
]
},
"name": "panic_error_0x12",
"nativeSrc": "24353:180:17",
"nodeType": "YulFunctionDefinition",
"src": "24353:180:17"
},
{
"body": {
"nativeSrc": "24581:143:17",
"nodeType": "YulBlock",
"src": "24581:143:17",
"statements": [
{
"nativeSrc": "24591:25:17",
"nodeType": "YulAssignment",
"src": "24591:25:17",
"value": {
"arguments": [
{
"name": "x",
"nativeSrc": "24614:1:17",
"nodeType": "YulIdentifier",
"src": "24614:1:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "24596:17:17",
"nodeType": "YulIdentifier",
"src": "24596:17:17"
},
"nativeSrc": "24596:20:17",
"nodeType": "YulFunctionCall",
"src": "24596:20:17"
},
"variableNames": [
{
"name": "x",
"nativeSrc": "24591:1:17",
"nodeType": "YulIdentifier",
"src": "24591:1:17"
}
]
},
{
"nativeSrc": "24625:25:17",
"nodeType": "YulAssignment",
"src": "24625:25:17",
"value": {
"arguments": [
{
"name": "y",
"nativeSrc": "24648:1:17",
"nodeType": "YulIdentifier",
"src": "24648:1:17"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "24630:17:17",
"nodeType": "YulIdentifier",
"src": "24630:17:17"
},
"nativeSrc": "24630:20:17",
"nodeType": "YulFunctionCall",
"src": "24630:20:17"
},
"variableNames": [
{
"name": "y",
"nativeSrc": "24625:1:17",
"nodeType": "YulIdentifier",
"src": "24625:1:17"
}
]
},
{
"body": {
"nativeSrc": "24672:22:17",
"nodeType": "YulBlock",
"src": "24672:22:17",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x12",
"nativeSrc": "24674:16:17",
"nodeType": "YulIdentifier",
"src": "24674:16:17"
},
"nativeSrc": "24674:18:17",
"nodeType": "YulFunctionCall",
"src": "24674:18:17"
},
"nativeSrc": "24674:18:17",
"nodeType": "YulExpressionStatement",
"src": "24674:18:17"
}
]
},
"condition": {
"arguments": [
{
"name": "y",
"nativeSrc": "24669:1:17",
"nodeType": "YulIdentifier",
"src": "24669:1:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "24662:6:17",
"nodeType": "YulIdentifier",
"src": "24662:6:17"
},
"nativeSrc": "24662:9:17",
"nodeType": "YulFunctionCall",
"src": "24662:9:17"
},
"nativeSrc": "24659:35:17",
"nodeType": "YulIf",
"src": "24659:35:17"
},
{
"nativeSrc": "24704:14:17",
"nodeType": "YulAssignment",
"src": "24704:14:17",
"value": {
"arguments": [
{
"name": "x",
"nativeSrc": "24713:1:17",
"nodeType": "YulIdentifier",
"src": "24713:1:17"
},
{
"name": "y",
"nativeSrc": "24716:1:17",
"nodeType": "YulIdentifier",
"src": "24716:1:17"
}
],
"functionName": {
"name": "div",
"nativeSrc": "24709:3:17",
"nodeType": "YulIdentifier",
"src": "24709:3:17"
},
"nativeSrc": "24709:9:17",
"nodeType": "YulFunctionCall",
"src": "24709:9:17"
},
"variableNames": [
{
"name": "r",
"nativeSrc": "24704:1:17",
"nodeType": "YulIdentifier",
"src": "24704:1:17"
}
]
}
]
},
"name": "checked_div_t_uint256",
"nativeSrc": "24539:185:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nativeSrc": "24570:1:17",
"nodeType": "YulTypedName",
"src": "24570:1:17",
"type": ""
},
{
"name": "y",
"nativeSrc": "24573:1:17",
"nodeType": "YulTypedName",
"src": "24573:1:17",
"type": ""
}
],
"returnVariables": [
{
"name": "r",
"nativeSrc": "24579:1:17",
"nodeType": "YulTypedName",
"src": "24579:1:17",
"type": ""
}
],
"src": "24539:185:17"
},
{
"body": {
"nativeSrc": "24770:76:17",
"nodeType": "YulBlock",
"src": "24770:76:17",
"statements": [
{
"body": {
"nativeSrc": "24824:16:17",
"nodeType": "YulBlock",
"src": "24824:16:17",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "24833:1:17",
"nodeType": "YulLiteral",
"src": "24833:1:17",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "24836:1:17",
"nodeType": "YulLiteral",
"src": "24836:1:17",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "24826:6:17",
"nodeType": "YulIdentifier",
"src": "24826:6:17"
},
"nativeSrc": "24826:12:17",
"nodeType": "YulFunctionCall",
"src": "24826:12:17"
},
"nativeSrc": "24826:12:17",
"nodeType": "YulExpressionStatement",
"src": "24826:12:17"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "24793:5:17",
"nodeType": "YulIdentifier",
"src": "24793:5:17"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "24815:5:17",
"nodeType": "YulIdentifier",
"src": "24815:5:17"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nativeSrc": "24800:14:17",
"nodeType": "YulIdentifier",
"src": "24800:14:17"
},
"nativeSrc": "24800:21:17",
"nodeType": "YulFunctionCall",
"src": "24800:21:17"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "24790:2:17",
"nodeType": "YulIdentifier",
"src": "24790:2:17"
},
"nativeSrc": "24790:32:17",
"nodeType": "YulFunctionCall",
"src": "24790:32:17"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "24783:6:17",
"nodeType": "YulIdentifier",
"src": "24783:6:17"
},
"nativeSrc": "24783:40:17",
"nodeType": "YulFunctionCall",
"src": "24783:40:17"
},
"nativeSrc": "24780:60:17",
"nodeType": "YulIf",
"src": "24780:60:17"
}
]
},
"name": "validator_revert_t_bool",
"nativeSrc": "24730:116:17",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "24763:5:17",
"nodeType": "YulTypedName",
"src": "24763:5:17",
"type": ""
}
],
"src": "24730:116:17"
},
{
"body": {
"nativeSrc": "24912:77:17",
"nodeType": "YulBlock",
"src": "24912:77:17",
"statements": [
{
"nativeSrc": "24922:22:17",
"nodeType": "YulAssignment",
"src": "24922:22:17",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "24937:6:17",
"nodeType": "YulIdentifier",
"src": "24937:6:17"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "24931:5:17",
"nodeType": "YulIdentifier",
"src": "24931:5:17"
},
"nativeSrc": "24931:13:17",
"nodeType": "YulFunctionCall",
"src": "24931:13:17"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "24922:5:17",
"nodeType": "YulIdentifier",
"src": "24922:5:17"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "24977:5:17",
"nodeType": "YulIdentifier",
"src": "24977:5:17"
}
],
"functionName": {
"name": "validator_revert_t_bool",
"nativeSrc": "24953:23:17",
"nodeType": "YulIdentifier",
View raw

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

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