Created
December 6, 2021 07:33
-
-
Save dAAAb/93b0c564e285d279788b53e83f118e3e 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.9+commit.e5eed63a.js&optimize=true&runs=300&gist=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/// @author: manifold.xyz | |
import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; | |
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
import "./IAdminControl.sol"; | |
abstract contract AdminControl is Ownable, IAdminControl, ERC165 { | |
using EnumerableSet for EnumerableSet.AddressSet; | |
// Track registered admins | |
EnumerableSet.AddressSet private _admins; | |
/** | |
* @dev See {IERC165-supportsInterface}. | |
*/ | |
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { | |
return interfaceId == type(IAdminControl).interfaceId | |
|| super.supportsInterface(interfaceId); | |
} | |
/** | |
* @dev Only allows approved admins to call the specified function | |
*/ | |
modifier adminRequired() { | |
require(owner() == msg.sender || _admins.contains(msg.sender), "AdminControl: Must be owner or admin"); | |
_; | |
} | |
/** | |
* @dev See {IAdminControl-getAdmins}. | |
*/ | |
function getAdmins() external view override returns (address[] memory admins) { | |
admins = new address[](_admins.length()); | |
for (uint i = 0; i < _admins.length(); i++) { | |
admins[i] = _admins.at(i); | |
} | |
return admins; | |
} | |
/** | |
* @dev See {IAdminControl-approveAdmin}. | |
*/ | |
function approveAdmin(address admin) external override onlyOwner { | |
if (!_admins.contains(admin)) { | |
emit AdminApproved(admin, msg.sender); | |
_admins.add(admin); | |
} | |
} | |
/** | |
* @dev See {IAdminControl-revokeAdmin}. | |
*/ | |
function revokeAdmin(address admin) external override onlyOwner { | |
if (_admins.contains(admin)) { | |
emit AdminRevoked(admin, msg.sender); | |
_admins.remove(admin); | |
} | |
} | |
/** | |
* @dev See {IAdminControl-isAdmin}. | |
*/ | |
function isAdmin(address admin) public override view returns (bool) { | |
return (owner() == admin || _admins.contains(admin)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/// @author: manifold.xyz | |
import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; | |
/** | |
* @dev Interface for admin control | |
*/ | |
interface IAdminControl is IERC165 { | |
event AdminApproved(address indexed account, address indexed sender); | |
event AdminRevoked(address indexed account, address indexed sender); | |
/** | |
* @dev gets address of all admins | |
*/ | |
function getAdmins() external view returns (address[] memory); | |
/** | |
* @dev add an admin. Can only be called by contract owner. | |
*/ | |
function approveAdmin(address admin) external; | |
/** | |
* @dev remove an admin. Can only be called by contract owner. | |
*/ | |
function revokeAdmin(address admin) external; | |
/** | |
* @dev checks whether or not given address is an admin | |
* Returns True if they are | |
*/ | |
function isAdmin(address admin) external view returns (bool); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) | |
pragma solidity ^0.8.0; | |
import "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to | |
* specific functions. | |
* | |
* By default, the owner account will be the one that deploys the contract. This | |
* can later be changed with {transferOwnership}. | |
* | |
* This module is used through inheritance. It will make available the modifier | |
* `onlyOwner`, which can be applied to your functions to restrict their use to | |
* the owner. | |
*/ | |
abstract contract Ownable is Context { | |
address private _owner; | |
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); | |
/** | |
* @dev Initializes the contract setting the deployer as the initial owner. | |
*/ | |
constructor() { | |
_transferOwnership(_msgSender()); | |
} | |
/** | |
* @dev Returns the address of the current owner. | |
*/ | |
function owner() public view virtual returns (address) { | |
return _owner; | |
} | |
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
require(owner() == _msgSender(), "Ownable: caller is not the owner"); | |
_; | |
} | |
/** | |
* @dev Leaves the contract without owner. It will not be possible to call | |
* `onlyOwner` functions anymore. Can only be called by the current owner. | |
* | |
* NOTE: Renouncing ownership will leave the contract without an owner, | |
* thereby removing any functionality that is only available to the owner. | |
*/ | |
function renounceOwnership() public virtual onlyOwner { | |
_transferOwnership(address(0)); | |
} | |
/** | |
* @dev Transfers ownership of the contract to a new account (`newOwner`). | |
* Can only be called by the current owner. | |
*/ | |
function transferOwnership(address newOwner) public virtual onlyOwner { | |
require(newOwner != address(0), "Ownable: new owner is the zero address"); | |
_transferOwnership(newOwner); | |
} | |
/** | |
* @dev Transfers ownership of the contract to a new account (`newOwner`). | |
* Internal function without access restriction. | |
*/ | |
function _transferOwnership(address newOwner) internal virtual { | |
address oldOwner = _owner; | |
_owner = newOwner; | |
emit OwnershipTransferred(oldOwner, newOwner); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Contract module that helps prevent reentrant calls to a function. | |
* | |
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier | |
* available, which can be applied to functions to make sure there are no nested | |
* (reentrant) calls to them. | |
* | |
* Note that because there is a single `nonReentrant` guard, functions marked as | |
* `nonReentrant` may not call one another. This can be worked around by making | |
* those functions `private`, and then adding `external` `nonReentrant` entry | |
* points to them. | |
* | |
* TIP: If you would like to learn more about reentrancy and alternative ways | |
* to protect against it, check out our blog post | |
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. | |
*/ | |
abstract contract ReentrancyGuard { | |
// Booleans are more expensive than uint256 or any type that takes up a full | |
// word because each write operation emits an extra SLOAD to first read the | |
// slot's contents, replace the bits taken up by the boolean, and then write | |
// back. This is the compiler's defense against contract upgrades and | |
// pointer aliasing, and it cannot be disabled. | |
// The values being non-zero value makes deployment a bit more expensive, | |
// but in exchange the refund on every call to nonReentrant will be lower in | |
// amount. Since refunds are capped to a percentage of the total | |
// transaction's gas, it is best to keep them low in cases like this one, to | |
// increase the likelihood of the full refund coming into effect. | |
uint256 private constant _NOT_ENTERED = 1; | |
uint256 private constant _ENTERED = 2; | |
uint256 private _status; | |
constructor() { | |
_status = _NOT_ENTERED; | |
} | |
/** | |
* @dev Prevents a contract from calling itself, directly or indirectly. | |
* Calling a `nonReentrant` function from another `nonReentrant` | |
* function is not supported. It is possible to prevent this from happening | |
* by making the `nonReentrant` function external, and making it call a | |
* `private` function that does the actual work. | |
*/ | |
modifier nonReentrant() { | |
// On the first call to nonReentrant, _notEntered will be true | |
require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); | |
// Any calls to nonReentrant after this point will fail | |
_status = _ENTERED; | |
_; | |
// By storing the original value once again, a refund is triggered (see | |
// https://eips.ethereum.org/EIPS/eip-2200) | |
_status = _NOT_ENTERED; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) | |
pragma solidity ^0.8.0; | |
import "./IERC721.sol"; | |
import "./IERC721Receiver.sol"; | |
import "./extensions/IERC721Metadata.sol"; | |
import "../../utils/Address.sol"; | |
import "../../utils/Context.sol"; | |
import "../../utils/Strings.sol"; | |
import "../../utils/introspection/ERC165.sol"; | |
/** | |
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including | |
* the Metadata extension, but not including the Enumerable extension, which is available separately as | |
* {ERC721Enumerable}. | |
*/ | |
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { | |
using Address for address; | |
using Strings for uint256; | |
// Token name | |
string private _name; | |
// Token symbol | |
string private _symbol; | |
// Mapping from token ID to owner address | |
mapping(uint256 => address) private _owners; | |
// Mapping owner address to token count | |
mapping(address => uint256) private _balances; | |
// Mapping from token ID to approved address | |
mapping(uint256 => address) private _tokenApprovals; | |
// Mapping from owner to operator approvals | |
mapping(address => mapping(address => bool)) private _operatorApprovals; | |
/** | |
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. | |
*/ | |
constructor(string memory name_, string memory symbol_) { | |
_name = name_; | |
_symbol = symbol_; | |
} | |
/** | |
* @dev See {IERC165-supportsInterface}. | |
*/ | |
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { | |
return | |
interfaceId == type(IERC721).interfaceId || | |
interfaceId == type(IERC721Metadata).interfaceId || | |
super.supportsInterface(interfaceId); | |
} | |
/** | |
* @dev See {IERC721-balanceOf}. | |
*/ | |
function balanceOf(address owner) public view virtual override returns (uint256) { | |
require(owner != address(0), "ERC721: balance query for the zero address"); | |
return _balances[owner]; | |
} | |
/** | |
* @dev See {IERC721-ownerOf}. | |
*/ | |
function ownerOf(uint256 tokenId) public view virtual override returns (address) { | |
address owner = _owners[tokenId]; | |
require(owner != address(0), "ERC721: owner query for nonexistent token"); | |
return owner; | |
} | |
/** | |
* @dev See {IERC721Metadata-name}. | |
*/ | |
function name() public view virtual override returns (string memory) { | |
return _name; | |
} | |
/** | |
* @dev See {IERC721Metadata-symbol}. | |
*/ | |
function symbol() public view virtual override returns (string memory) { | |
return _symbol; | |
} | |
/** | |
* @dev See {IERC721Metadata-tokenURI}. | |
*/ | |
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { | |
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); | |
string memory baseURI = _baseURI(); | |
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; | |
} | |
/** | |
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each | |
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty | |
* by default, can be overriden in child contracts. | |
*/ | |
function _baseURI() internal view virtual returns (string memory) { | |
return ""; | |
} | |
/** | |
* @dev See {IERC721-approve}. | |
*/ | |
function approve(address to, uint256 tokenId) public virtual override { | |
address owner = ERC721.ownerOf(tokenId); | |
require(to != owner, "ERC721: approval to current owner"); | |
require( | |
_msgSender() == owner || isApprovedForAll(owner, _msgSender()), | |
"ERC721: approve caller is not owner nor approved for all" | |
); | |
_approve(to, tokenId); | |
} | |
/** | |
* @dev See {IERC721-getApproved}. | |
*/ | |
function getApproved(uint256 tokenId) public view virtual override returns (address) { | |
require(_exists(tokenId), "ERC721: approved query for nonexistent token"); | |
return _tokenApprovals[tokenId]; | |
} | |
/** | |
* @dev See {IERC721-setApprovalForAll}. | |
*/ | |
function setApprovalForAll(address operator, bool approved) public virtual override { | |
_setApprovalForAll(_msgSender(), operator, approved); | |
} | |
/** | |
* @dev See {IERC721-isApprovedForAll}. | |
*/ | |
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { | |
return _operatorApprovals[owner][operator]; | |
} | |
/** | |
* @dev See {IERC721-transferFrom}. | |
*/ | |
function transferFrom( | |
address from, | |
address to, | |
uint256 tokenId | |
) public virtual override { | |
//solhint-disable-next-line max-line-length | |
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); | |
_transfer(from, to, tokenId); | |
} | |
/** | |
* @dev See {IERC721-safeTransferFrom}. | |
*/ | |
function safeTransferFrom( | |
address from, | |
address to, | |
uint256 tokenId | |
) public virtual override { | |
safeTransferFrom(from, to, tokenId, ""); | |
} | |
/** | |
* @dev See {IERC721-safeTransferFrom}. | |
*/ | |
function safeTransferFrom( | |
address from, | |
address to, | |
uint256 tokenId, | |
bytes memory _data | |
) public virtual override { | |
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); | |
_safeTransfer(from, to, tokenId, _data); | |
} | |
/** | |
* @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. | |
* | |
* `_data` is additional data, it has no specified format and it is sent in call to `to`. | |
* | |
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. | |
* implement alternative mechanisms to perform token transfer, such as signature-based. | |
* | |
* Requirements: | |
* | |
* - `from` cannot be the zero address. | |
* - `to` cannot be the zero address. | |
* - `tokenId` token must exist and be owned by `from`. | |
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _safeTransfer( | |
address from, | |
address to, | |
uint256 tokenId, | |
bytes memory _data | |
) internal virtual { | |
_transfer(from, to, tokenId); | |
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); | |
} | |
/** | |
* @dev Returns whether `tokenId` exists. | |
* | |
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. | |
* | |
* Tokens start existing when they are minted (`_mint`), | |
* and stop existing when they are burned (`_burn`). | |
*/ | |
function _exists(uint256 tokenId) internal view virtual returns (bool) { | |
return _owners[tokenId] != address(0); | |
} | |
/** | |
* @dev Returns whether `spender` is allowed to manage `tokenId`. | |
* | |
* Requirements: | |
* | |
* - `tokenId` must exist. | |
*/ | |
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { | |
require(_exists(tokenId), "ERC721: operator query for nonexistent token"); | |
address owner = ERC721.ownerOf(tokenId); | |
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); | |
} | |
/** | |
* @dev Safely mints `tokenId` and transfers it to `to`. | |
* | |
* Requirements: | |
* | |
* - `tokenId` must not exist. | |
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _safeMint(address to, uint256 tokenId) internal virtual { | |
_safeMint(to, tokenId, ""); | |
} | |
/** | |
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is | |
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients. | |
*/ | |
function _safeMint( | |
address to, | |
uint256 tokenId, | |
bytes memory _data | |
) internal virtual { | |
_mint(to, tokenId); | |
require( | |
_checkOnERC721Received(address(0), to, tokenId, _data), | |
"ERC721: transfer to non ERC721Receiver implementer" | |
); | |
} | |
/** | |
* @dev Mints `tokenId` and transfers it to `to`. | |
* | |
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible | |
* | |
* Requirements: | |
* | |
* - `tokenId` must not exist. | |
* - `to` cannot be the zero address. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _mint(address to, uint256 tokenId) internal virtual { | |
require(to != address(0), "ERC721: mint to the zero address"); | |
require(!_exists(tokenId), "ERC721: token already minted"); | |
_beforeTokenTransfer(address(0), to, tokenId); | |
_balances[to] += 1; | |
_owners[tokenId] = to; | |
emit Transfer(address(0), to, tokenId); | |
} | |
/** | |
* @dev Destroys `tokenId`. | |
* The approval is cleared when the token is burned. | |
* | |
* Requirements: | |
* | |
* - `tokenId` must exist. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _burn(uint256 tokenId) internal virtual { | |
address owner = ERC721.ownerOf(tokenId); | |
_beforeTokenTransfer(owner, address(0), tokenId); | |
// Clear approvals | |
_approve(address(0), tokenId); | |
_balances[owner] -= 1; | |
delete _owners[tokenId]; | |
emit Transfer(owner, address(0), tokenId); | |
} | |
/** | |
* @dev Transfers `tokenId` from `from` to `to`. | |
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender. | |
* | |
* Requirements: | |
* | |
* - `to` cannot be the zero address. | |
* - `tokenId` token must be owned by `from`. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _transfer( | |
address from, | |
address to, | |
uint256 tokenId | |
) internal virtual { | |
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); | |
require(to != address(0), "ERC721: transfer to the zero address"); | |
_beforeTokenTransfer(from, to, tokenId); | |
// Clear approvals from the previous owner | |
_approve(address(0), tokenId); | |
_balances[from] -= 1; | |
_balances[to] += 1; | |
_owners[tokenId] = to; | |
emit Transfer(from, to, tokenId); | |
} | |
/** | |
* @dev Approve `to` to operate on `tokenId` | |
* | |
* Emits a {Approval} event. | |
*/ | |
function _approve(address to, uint256 tokenId) internal virtual { | |
_tokenApprovals[tokenId] = to; | |
emit Approval(ERC721.ownerOf(tokenId), to, tokenId); | |
} | |
/** | |
* @dev Approve `operator` to operate on all of `owner` tokens | |
* | |
* Emits a {ApprovalForAll} event. | |
*/ | |
function _setApprovalForAll( | |
address owner, | |
address operator, | |
bool approved | |
) internal virtual { | |
require(owner != operator, "ERC721: approve to caller"); | |
_operatorApprovals[owner][operator] = approved; | |
emit ApprovalForAll(owner, operator, approved); | |
} | |
/** | |
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. | |
* The call is not executed if the target address is not a contract. | |
* | |
* @param from address representing the previous owner of the given token ID | |
* @param to target address that will receive the tokens | |
* @param tokenId uint256 ID of the token to be transferred | |
* @param _data bytes optional data to send along with the call | |
* @return bool whether the call correctly returned the expected magic value | |
*/ | |
function _checkOnERC721Received( | |
address from, | |
address to, | |
uint256 tokenId, | |
bytes memory _data | |
) private returns (bool) { | |
if (to.isContract()) { | |
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { | |
return retval == IERC721Receiver.onERC721Received.selector; | |
} catch (bytes memory reason) { | |
if (reason.length == 0) { | |
revert("ERC721: transfer to non ERC721Receiver implementer"); | |
} else { | |
assembly { | |
revert(add(32, reason), mload(reason)) | |
} | |
} | |
} | |
} else { | |
return true; | |
} | |
} | |
/** | |
* @dev Hook that is called before any token transfer. This includes minting | |
* and burning. | |
* | |
* Calling conditions: | |
* | |
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be | |
* transferred to `to`. | |
* - When `from` is zero, `tokenId` will be minted for `to`. | |
* - When `to` is zero, ``from``'s `tokenId` will be burned. | |
* - `from` and `to` are never both zero. | |
* | |
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. | |
*/ | |
function _beforeTokenTransfer( | |
address from, | |
address to, | |
uint256 tokenId | |
) internal virtual {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) | |
pragma solidity ^0.8.0; | |
import "../IERC721.sol"; | |
/** | |
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension | |
* @dev See https://eips.ethereum.org/EIPS/eip-721 | |
*/ | |
interface IERC721Metadata is IERC721 { | |
/** | |
* @dev Returns the token collection name. | |
*/ | |
function name() external view returns (string memory); | |
/** | |
* @dev Returns the token collection symbol. | |
*/ | |
function symbol() external view returns (string memory); | |
/** | |
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. | |
*/ | |
function tokenURI(uint256 tokenId) external view returns (string memory); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) | |
pragma solidity ^0.8.0; | |
import "../../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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. | |
* | |
* 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 Returns the account approved for `tokenId` token. | |
* | |
* Requirements: | |
* | |
* - `tokenId` must exist. | |
*/ | |
function getApproved(uint256 tokenId) external view returns (address operator); | |
/** | |
* @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 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); | |
/** | |
* @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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @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 `IERC721.onERC721Received.selector`. | |
*/ | |
function onERC721Received( | |
address operator, | |
address from, | |
uint256 tokenId, | |
bytes calldata data | |
) external returns (bytes4); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Collection of functions related to the address type | |
*/ | |
library Address { | |
/** | |
* @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 | |
* ==== | |
*/ | |
function isContract(address account) internal view returns (bool) { | |
// This method relies on extcodesize, which returns 0 for contracts in | |
// construction, since the code is only stored at the end of the | |
// constructor execution. | |
uint256 size; | |
assembly { | |
size := extcodesize(account) | |
} | |
return size > 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://diligence.consensys.net/posts/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.5.11/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 functionCall(target, data, "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"); | |
require(isContract(target), "Address: call to non-contract"); | |
(bool success, bytes memory returndata) = target.call{value: value}(data); | |
return verifyCallResult(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) { | |
require(isContract(target), "Address: static call to non-contract"); | |
(bool success, bytes memory returndata) = target.staticcall(data); | |
return verifyCallResult(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) { | |
require(isContract(target), "Address: delegate call to non-contract"); | |
(bool success, bytes memory returndata) = target.delegatecall(data); | |
return verifyCallResult(success, returndata, errorMessage); | |
} | |
/** | |
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the | |
* revert reason 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 { | |
// 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 | |
assembly { | |
let returndata_size := mload(returndata) | |
revert(add(32, returndata), returndata_size) | |
} | |
} else { | |
revert(errorMessage); | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available | |
* via msg.sender and msg.data, they should not be accessed in such a direct | |
* manner, since when dealing with meta-transactions the account sending and | |
* paying for execution may not be the actual sender (as far as an application | |
* is concerned). | |
* | |
* This contract is only required for intermediate, library-like contracts. | |
*/ | |
abstract contract Context { | |
function _msgSender() internal view virtual returns (address) { | |
return msg.sender; | |
} | |
function _msgData() internal view virtual returns (bytes calldata) { | |
return msg.data; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) | |
pragma solidity ^0.8.0; | |
import "./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); | |
* } | |
* ``` | |
* | |
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. | |
*/ | |
abstract contract ERC165 is IERC165 { | |
/** | |
* @dev See {IERC165-supportsInterface}. | |
*/ | |
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { | |
return interfaceId == type(IERC165).interfaceId; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (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 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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev String operations. | |
*/ | |
library Strings { | |
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; | |
/** | |
* @dev Converts a `uint256` to its ASCII `string` decimal representation. | |
*/ | |
function toString(uint256 value) internal pure returns (string memory) { | |
// Inspired by OraclizeAPI's implementation - MIT licence | |
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol | |
if (value == 0) { | |
return "0"; | |
} | |
uint256 temp = value; | |
uint256 digits; | |
while (temp != 0) { | |
digits++; | |
temp /= 10; | |
} | |
bytes memory buffer = new bytes(digits); | |
while (value != 0) { | |
digits -= 1; | |
buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); | |
value /= 10; | |
} | |
return string(buffer); | |
} | |
/** | |
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. | |
*/ | |
function toHexString(uint256 value) internal pure returns (string memory) { | |
if (value == 0) { | |
return "0x00"; | |
} | |
uint256 temp = value; | |
uint256 length = 0; | |
while (temp != 0) { | |
length++; | |
temp >>= 8; | |
} | |
return toHexString(value, length); | |
} | |
/** | |
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. | |
*/ | |
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { | |
bytes memory buffer = new bytes(2 * length + 2); | |
buffer[0] = "0"; | |
buffer[1] = "x"; | |
for (uint256 i = 2 * length + 1; i > 1; --i) { | |
buffer[i] = _HEX_SYMBOLS[value & 0xf]; | |
value >>= 4; | |
} | |
require(value == 0, "Strings: hex length insufficient"); | |
return string(buffer); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (utils/structs/EnumerableSet.sol) | |
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. | |
* | |
* ``` | |
* 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. | |
*/ | |
library EnumerableSet { | |
// 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) { | |
return _values(set._inner); | |
} | |
// 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; | |
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 on 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; | |
assembly { | |
result := store | |
} | |
return result; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.4.22 <0.9.0; | |
library TestsAccounts { | |
function getAccount(uint index) pure public returns (address) { | |
address[15] memory accounts; | |
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4; | |
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2; | |
accounts[2] = 0x4B20993Bc481177ec7E8f571ceCaE8A9e22C02db; | |
accounts[3] = 0x78731D3Ca6b7E34aC0F824c42a7cC18A495cabaB; | |
accounts[4] = 0x617F2E2fD72FD9D5503197092aC168c91465E7f2; | |
accounts[5] = 0x17F6AD8Ef982297579C203069C1DbfFE4348c372; | |
accounts[6] = 0x5c6B0f7Bf3E7ce046039Bd8FABdfD3f9F5021678; | |
accounts[7] = 0x03C6FcED478cBbC9a4FAB34eF9f40767739D1Ff7; | |
accounts[8] = 0x1aE0EA34a72D944a8C7603FfB3eC30a6669E454C; | |
accounts[9] = 0x0A098Eda01Ce92ff4A4CCb7A4fFFb5A43EBC70DC; | |
accounts[10] = 0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c; | |
accounts[11] = 0x14723A09ACff6D2A60DcdF7aA4AFf308FDDC160C; | |
accounts[12] = 0x4B0897b0513fdC7C541B6d9D7E929C4e5364D2dB; | |
accounts[13] = 0x583031D1113aD414F02576BD6afaBfb302140225; | |
accounts[14] = 0xdD870fA1b7C4700F2BD7f44238821C26f7392148; | |
return accounts[index]; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.4.22 <0.9.0; | |
library Assert { | |
event AssertionEvent( | |
bool passed, | |
string message, | |
string methodName | |
); | |
event AssertionEventUint( | |
bool passed, | |
string message, | |
string methodName, | |
uint256 returned, | |
uint256 expected | |
); | |
event AssertionEventInt( | |
bool passed, | |
string message, | |
string methodName, | |
int256 returned, | |
int256 expected | |
); | |
event AssertionEventBool( | |
bool passed, | |
string message, | |
string methodName, | |
bool returned, | |
bool expected | |
); | |
event AssertionEventAddress( | |
bool passed, | |
string message, | |
string methodName, | |
address returned, | |
address expected | |
); | |
event AssertionEventBytes32( | |
bool passed, | |
string message, | |
string methodName, | |
bytes32 returned, | |
bytes32 expected | |
); | |
event AssertionEventString( | |
bool passed, | |
string message, | |
string methodName, | |
string returned, | |
string expected | |
); | |
event AssertionEventUintInt( | |
bool passed, | |
string message, | |
string methodName, | |
uint256 returned, | |
int256 expected | |
); | |
event AssertionEventIntUint( | |
bool passed, | |
string message, | |
string methodName, | |
int256 returned, | |
uint256 expected | |
); | |
function ok(bool a, string memory message) public returns (bool result) { | |
result = a; | |
emit AssertionEvent(result, message, "ok"); | |
} | |
function equal(uint256 a, uint256 b, string memory message) public returns (bool result) { | |
result = (a == b); | |
emit AssertionEventUint(result, message, "equal", a, b); | |
} | |
function equal(int256 a, int256 b, string memory message) public returns (bool result) { | |
result = (a == b); | |
emit AssertionEventInt(result, message, "equal", a, b); | |
} | |
function equal(bool a, bool b, string memory message) public returns (bool result) { | |
result = (a == b); | |
emit AssertionEventBool(result, message, "equal", a, b); | |
} | |
// TODO: only for certain versions of solc | |
//function equal(fixed a, fixed b, string message) public returns (bool result) { | |
// result = (a == b); | |
// emit AssertionEvent(result, message); | |
//} | |
// TODO: only for certain versions of solc | |
//function equal(ufixed a, ufixed b, string message) public returns (bool result) { | |
// result = (a == b); | |
// emit AssertionEvent(result, message); | |
//} | |
function equal(address a, address b, string memory message) public returns (bool result) { | |
result = (a == b); | |
emit AssertionEventAddress(result, message, "equal", a, b); | |
} | |
function equal(bytes32 a, bytes32 b, string memory message) public returns (bool result) { | |
result = (a == b); | |
emit AssertionEventBytes32(result, message, "equal", a, b); | |
} | |
function equal(string memory a, string memory b, string memory message) public returns (bool result) { | |
result = (keccak256(abi.encodePacked(a)) == keccak256(abi.encodePacked(b))); | |
emit AssertionEventString(result, message, "equal", a, b); | |
} | |
function notEqual(uint256 a, uint256 b, string memory message) public returns (bool result) { | |
result = (a != b); | |
emit AssertionEventUint(result, message, "notEqual", a, b); | |
} | |
function notEqual(int256 a, int256 b, string memory message) public returns (bool result) { | |
result = (a != b); | |
emit AssertionEventInt(result, message, "notEqual", a, b); | |
} | |
function notEqual(bool a, bool b, string memory message) public returns (bool result) { | |
result = (a != b); | |
emit AssertionEventBool(result, message, "notEqual", a, b); | |
} | |
// TODO: only for certain versions of solc | |
//function notEqual(fixed a, fixed b, string message) public returns (bool result) { | |
// result = (a != b); | |
// emit AssertionEvent(result, message); | |
//} | |
// TODO: only for certain versions of solc | |
//function notEqual(ufixed a, ufixed b, string message) public returns (bool result) { | |
// result = (a != b); | |
// emit AssertionEvent(result, message); | |
//} | |
function notEqual(address a, address b, string memory message) public returns (bool result) { | |
result = (a != b); | |
emit AssertionEventAddress(result, message, "notEqual", a, b); | |
} | |
function notEqual(bytes32 a, bytes32 b, string memory message) public returns (bool result) { | |
result = (a != b); | |
emit AssertionEventBytes32(result, message, "notEqual", a, b); | |
} | |
function notEqual(string memory a, string memory b, string memory message) public returns (bool result) { | |
result = (keccak256(abi.encodePacked(a)) != keccak256(abi.encodePacked(b))); | |
emit AssertionEventString(result, message, "notEqual", a, b); | |
} | |
/*----------------- Greater than --------------------*/ | |
function greaterThan(uint256 a, uint256 b, string memory message) public returns (bool result) { | |
result = (a > b); | |
emit AssertionEventUint(result, message, "greaterThan", a, b); | |
} | |
function greaterThan(int256 a, int256 b, string memory message) public returns (bool result) { | |
result = (a > b); | |
emit AssertionEventInt(result, message, "greaterThan", a, b); | |
} | |
// TODO: safely compare between uint and int | |
function greaterThan(uint256 a, int256 b, string memory message) public returns (bool result) { | |
if(b < int(0)) { | |
// int is negative uint "a" always greater | |
result = true; | |
} else { | |
result = (a > uint(b)); | |
} | |
emit AssertionEventUintInt(result, message, "greaterThan", a, b); | |
} | |
function greaterThan(int256 a, uint256 b, string memory message) public returns (bool result) { | |
if(a < int(0)) { | |
// int is negative uint "b" always greater | |
result = false; | |
} else { | |
result = (uint(a) > b); | |
} | |
emit AssertionEventIntUint(result, message, "greaterThan", a, b); | |
} | |
/*----------------- Lesser than --------------------*/ | |
function lesserThan(uint256 a, uint256 b, string memory message) public returns (bool result) { | |
result = (a < b); | |
emit AssertionEventUint(result, message, "lesserThan", a, b); | |
} | |
function lesserThan(int256 a, int256 b, string memory message) public returns (bool result) { | |
result = (a < b); | |
emit AssertionEventInt(result, message, "lesserThan", a, b); | |
} | |
// TODO: safely compare between uint and int | |
function lesserThan(uint256 a, int256 b, string memory message) public returns (bool result) { | |
if(b < int(0)) { | |
// int is negative int "b" always lesser | |
result = false; | |
} else { | |
result = (a < uint(b)); | |
} | |
emit AssertionEventUintInt(result, message, "lesserThan", a, b); | |
} | |
function lesserThan(int256 a, uint256 b, string memory message) public returns (bool result) { | |
if(a < int(0)) { | |
// int is negative int "a" always lesser | |
result = true; | |
} else { | |
result = (uint(a) < b); | |
} | |
emit AssertionEventIntUint(result, message, "lesserThan", a, b); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS | |
The 'scripts' folder contains example async/await scripts for deploying the 'Storage' contract. | |
For the deployment of any other contract, 'contractName' and 'constructorArgs' should be updated (along with other code if required). | |
Scripts have full access to the web3.js and ethers.js libraries. | |
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled. | |
Output from script will appear in remix terminal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
/** | |
* @title Storage | |
* @dev Store & retrieve value in a variable | |
*/ | |
contract Storage { | |
uint256 number; | |
/** | |
* @dev Store value in variable | |
* @param num value to store | |
*/ | |
function store(uint256 num) public { | |
number = num; | |
} | |
/** | |
* @dev Return value | |
* @return value of 'number' | |
*/ | |
function retrieve() public view returns (uint256){ | |
return number; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
/** | |
* @title Owner | |
* @dev Set & change owner | |
*/ | |
contract Owner { | |
address private owner; | |
// event for EVM logging | |
event OwnerSet(address indexed oldOwner, address indexed newOwner); | |
// modifier to check if caller is owner | |
modifier isOwner() { | |
// If the first argument of 'require' evaluates to 'false', execution terminates and all | |
// changes to the state and to Ether balances are reverted. | |
// This used to consume all gas in old EVM versions, but not anymore. | |
// It is often a good idea to use 'require' to check if functions are called correctly. | |
// As a second argument, you can also provide an explanation about what went wrong. | |
require(msg.sender == owner, "Caller is not owner"); | |
_; | |
} | |
/** | |
* @dev Set contract deployer as owner | |
*/ | |
constructor() { | |
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor | |
emit OwnerSet(address(0), owner); | |
} | |
/** | |
* @dev Change owner | |
* @param newOwner address of new owner | |
*/ | |
function changeOwner(address newOwner) public isOwner { | |
emit OwnerSet(owner, newOwner); | |
owner = newOwner; | |
} | |
/** | |
* @dev Return owner address | |
* @return address of owner | |
*/ | |
function getOwner() external view returns (address) { | |
return owner; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
/** | |
* @title Ballot | |
* @dev Implements voting process along with vote delegation | |
*/ | |
contract Ballot { | |
struct Voter { | |
uint weight; // weight is accumulated by delegation | |
bool voted; // if true, that person already voted | |
address delegate; // person delegated to | |
uint vote; // index of the voted proposal | |
} | |
struct Proposal { | |
// If you can limit the length to a certain number of bytes, | |
// always use one of bytes1 to bytes32 because they are much cheaper | |
bytes32 name; // short name (up to 32 bytes) | |
uint voteCount; // number of accumulated votes | |
} | |
address public chairperson; | |
mapping(address => Voter) public voters; | |
Proposal[] public proposals; | |
/** | |
* @dev Create a new ballot to choose one of 'proposalNames'. | |
* @param proposalNames names of proposals | |
*/ | |
constructor(bytes32[] memory proposalNames) { | |
chairperson = msg.sender; | |
voters[chairperson].weight = 1; | |
for (uint i = 0; i < proposalNames.length; i++) { | |
// 'Proposal({...})' creates a temporary | |
// Proposal object and 'proposals.push(...)' | |
// appends it to the end of 'proposals'. | |
proposals.push(Proposal({ | |
name: proposalNames[i], | |
voteCount: 0 | |
})); | |
} | |
} | |
/** | |
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'. | |
* @param voter address of voter | |
*/ | |
function giveRightToVote(address voter) public { | |
require( | |
msg.sender == chairperson, | |
"Only chairperson can give right to vote." | |
); | |
require( | |
!voters[voter].voted, | |
"The voter already voted." | |
); | |
require(voters[voter].weight == 0); | |
voters[voter].weight = 1; | |
} | |
/** | |
* @dev Delegate your vote to the voter 'to'. | |
* @param to address to which vote is delegated | |
*/ | |
function delegate(address to) public { | |
Voter storage sender = voters[msg.sender]; | |
require(!sender.voted, "You already voted."); | |
require(to != msg.sender, "Self-delegation is disallowed."); | |
while (voters[to].delegate != address(0)) { | |
to = voters[to].delegate; | |
// We found a loop in the delegation, not allowed. | |
require(to != msg.sender, "Found loop in delegation."); | |
} | |
sender.voted = true; | |
sender.delegate = to; | |
Voter storage delegate_ = voters[to]; | |
if (delegate_.voted) { | |
// If the delegate already voted, | |
// directly add to the number of votes | |
proposals[delegate_.vote].voteCount += sender.weight; | |
} else { | |
// If the delegate did not vote yet, | |
// add to her weight. | |
delegate_.weight += sender.weight; | |
} | |
} | |
/** | |
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'. | |
* @param proposal index of proposal in the proposals array | |
*/ | |
function vote(uint proposal) public { | |
Voter storage sender = voters[msg.sender]; | |
require(sender.weight != 0, "Has no right to vote"); | |
require(!sender.voted, "Already voted."); | |
sender.voted = true; | |
sender.vote = proposal; | |
// If 'proposal' is out of the range of the array, | |
// this will throw automatically and revert all | |
// changes. | |
proposals[proposal].voteCount += sender.weight; | |
} | |
/** | |
* @dev Computes the winning proposal taking all previous votes into account. | |
* @return winningProposal_ index of winning proposal in the proposals array | |
*/ | |
function winningProposal() public view | |
returns (uint winningProposal_) | |
{ | |
uint winningVoteCount = 0; | |
for (uint p = 0; p < proposals.length; p++) { | |
if (proposals[p].voteCount > winningVoteCount) { | |
winningVoteCount = proposals[p].voteCount; | |
winningProposal_ = p; | |
} | |
} | |
} | |
/** | |
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then | |
* @return winnerName_ the name of the winner | |
*/ | |
function winnerName() public view | |
returns (bytes32 winnerName_) | |
{ | |
winnerName_ = proposals[winningProposal()].name; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Collection of functions related to the address type | |
*/ | |
library Address { | |
/** | |
* @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 | |
* ==== | |
*/ | |
function isContract(address account) internal view returns (bool) { | |
// This method relies on extcodesize, which returns 0 for contracts in | |
// construction, since the code is only stored at the end of the | |
// constructor execution. | |
uint256 size; | |
assembly { | |
size := extcodesize(account) | |
} | |
return size > 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://diligence.consensys.net/posts/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.5.11/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 functionCall(target, data, "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"); | |
require(isContract(target), "Address: call to non-contract"); | |
(bool success, bytes memory returndata) = target.call{value: value}(data); | |
return verifyCallResult(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) { | |
require(isContract(target), "Address: static call to non-contract"); | |
(bool success, bytes memory returndata) = target.staticcall(data); | |
return verifyCallResult(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) { | |
require(isContract(target), "Address: delegate call to non-contract"); | |
(bool success, bytes memory returndata) = target.delegatecall(data); | |
return verifyCallResult(success, returndata, errorMessage); | |
} | |
/** | |
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the | |
* revert reason 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 { | |
// 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 | |
assembly { | |
let returndata_size := mload(returndata) | |
revert(add(32, returndata), returndata_size) | |
} | |
} else { | |
revert(errorMessage); | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/// @author: manifold.xyz | |
import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; | |
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
import "./IAdminControl.sol"; | |
abstract contract AdminControl is Ownable, IAdminControl, ERC165 { | |
using EnumerableSet for EnumerableSet.AddressSet; | |
// Track registered admins | |
EnumerableSet.AddressSet private _admins; | |
/** | |
* @dev See {IERC165-supportsInterface}. | |
*/ | |
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { | |
return interfaceId == type(IAdminControl).interfaceId | |
|| super.supportsInterface(interfaceId); | |
} | |
/** | |
* @dev Only allows approved admins to call the specified function | |
*/ | |
modifier adminRequired() { | |
require(owner() == msg.sender || _admins.contains(msg.sender), "AdminControl: Must be owner or admin"); | |
_; | |
} | |
/** | |
* @dev See {IAdminControl-getAdmins}. | |
*/ | |
function getAdmins() external view override returns (address[] memory admins) { | |
admins = new address[](_admins.length()); | |
for (uint i = 0; i < _admins.length(); i++) { | |
admins[i] = _admins.at(i); | |
} | |
return admins; | |
} | |
/** | |
* @dev See {IAdminControl-approveAdmin}. | |
*/ | |
function approveAdmin(address admin) external override onlyOwner { | |
if (!_admins.contains(admin)) { | |
emit AdminApproved(admin, msg.sender); | |
_admins.add(admin); | |
} | |
} | |
/** | |
* @dev See {IAdminControl-revokeAdmin}. | |
*/ | |
function revokeAdmin(address admin) external override onlyOwner { | |
if (_admins.contains(admin)) { | |
emit AdminRevoked(admin, msg.sender); | |
_admins.remove(admin); | |
} | |
} | |
/** | |
* @dev See {IAdminControl-isAdmin}. | |
*/ | |
function isAdmin(address admin) public override view returns (bool) { | |
return (owner() == admin || _admins.contains(admin)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122038b84342738c9a9090862ba0cb76cf00926cc19eb5abe8e4629618ff9b6931a864736f6c63430008090033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CODESIZE 0xB8 NUMBER TIMESTAMP PUSH20 0x8C9A9090862BA0CB76CF00926CC19EB5ABE8E462 SWAP7 XOR SELFDESTRUCT SWAP12 PUSH10 0x31A864736F6C63430008 MULMOD STOP CALLER ", | |
"sourceMap": "126:7729:0:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;126:7729:0;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122038b84342738c9a9090862ba0cb76cf00926cc19eb5abe8e4629618ff9b6931a864736f6c63430008090033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CODESIZE 0xB8 NUMBER TIMESTAMP PUSH20 0x8C9A9090862BA0CB76CF00926CC19EB5ABE8E462 SWAP7 XOR SELFDESTRUCT SWAP12 PUSH10 0x31A864736F6C63430008 MULMOD STOP CALLER ", | |
"sourceMap": "126:7729:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "103", | |
"totalCost": "17303" | |
}, | |
"internal": { | |
"functionCall(address,bytes memory)": "infinite", | |
"functionCall(address,bytes memory,string memory)": "infinite", | |
"functionCallWithValue(address,bytes memory,uint256)": "infinite", | |
"functionCallWithValue(address,bytes memory,uint256,string memory)": "infinite", | |
"functionDelegateCall(address,bytes memory)": "infinite", | |
"functionDelegateCall(address,bytes memory,string memory)": "infinite", | |
"functionStaticCall(address,bytes memory)": "infinite", | |
"functionStaticCall(address,bytes memory,string memory)": "infinite", | |
"isContract(address)": "infinite", | |
"sendValue(address payable,uint256)": "infinite", | |
"verifyCallResult(bool,bytes memory,string memory)": "infinite" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"details": "Collection of functions related to the address type", | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/Address.sol": "Address" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/Address.sol": { | |
"keccak256": "0xc1202fa69783cb3ea0d87f178cab5e1f3a77de7fc0dff3c47f668f3cd65d9273", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://ea8da5de19a08cffb966c1ea9925cd263470a91a65c5cdca9cbc8dfb669dd775", | |
"dweb:/ipfs/QmeeDjQ1dPUmQ9CuU77tEYghszLVagP1xoraQJAQJF7Mm3" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"approveAdmin(address)": "6d73e669", | |
"getAdmins()": "31ae450b", | |
"isAdmin(address)": "24d7806c", | |
"owner()": "8da5cb5b", | |
"renounceOwnership()": "715018a6", | |
"revokeAdmin(address)": "2d345670", | |
"supportsInterface(bytes4)": "01ffc9a7", | |
"transferOwnership(address)": "f2fde38b" | |
} | |
}, | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "AdminApproved", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "AdminRevoked", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "approveAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getAdmins", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "admins", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "isAdmin", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "revokeAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "interfaceId", | |
"type": "bytes4" | |
} | |
], | |
"name": "supportsInterface", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "AdminApproved", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "AdminRevoked", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "approveAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getAdmins", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "admins", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "isAdmin", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "revokeAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "interfaceId", | |
"type": "bytes4" | |
} | |
], | |
"name": "supportsInterface", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": { | |
"approveAdmin(address)": { | |
"details": "See {IAdminControl-approveAdmin}." | |
}, | |
"getAdmins()": { | |
"details": "See {IAdminControl-getAdmins}." | |
}, | |
"isAdmin(address)": { | |
"details": "See {IAdminControl-isAdmin}." | |
}, | |
"owner()": { | |
"details": "Returns the address of the current owner." | |
}, | |
"renounceOwnership()": { | |
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner." | |
}, | |
"revokeAdmin(address)": { | |
"details": "See {IAdminControl-revokeAdmin}." | |
}, | |
"supportsInterface(bytes4)": { | |
"details": "See {IERC165-supportsInterface}." | |
}, | |
"transferOwnership(address)": { | |
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner." | |
} | |
}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/AdminControl.sol": "AdminControl" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"@openzeppelin/contracts/access/Ownable.sol": { | |
"keccak256": "0xa1b27b3f44ff825974e5268e8f63ad3b03add5b464880d860fbb8cae043e17f7", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://ad0fb4425453220f15bdb8c4e009052839804bb725797b6d8c02ee2271bc3c23", | |
"dweb:/ipfs/QmPtjdMxzEifPUEUa6cKX1yfTWjaZV6QtdwMdN6bEL9FBM" | |
] | |
}, | |
"@openzeppelin/contracts/utils/Context.sol": { | |
"keccak256": "0x7736c187e6f1358c1ea9350a2a21aa8528dec1c2f43b374a9067465a3a51f5d3", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://4fd625dca17657403af518cc6c8ab5c54c58898cf6e912ca2e1b0f3194ad0405", | |
"dweb:/ipfs/QmQVv7YeeKmaS11bg7YDTeeGDk6i7sV8LMMfohaLM4SiRu" | |
] | |
}, | |
"@openzeppelin/contracts/utils/introspection/ERC165.sol": { | |
"keccak256": "0x905cd0ecd91d1de79a4679d745b79cf852ca8ccda5d25d1c49c6bd17a5edc0cf", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://8dd1601fcd370546d8c06ea1902d7e7364fc490fbf0ebc3004230ef1f5db473c", | |
"dweb:/ipfs/Qmb8zbC3TjWFtcuyP3KEEaegMkPcfeKAcPrwzvkAoMR3cZ" | |
] | |
}, | |
"@openzeppelin/contracts/utils/introspection/IERC165.sol": { | |
"keccak256": "0x6aa521718bf139b44ce56f194f6aea1d590cacef995b5a84703fb1579fa49be9", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://100f8d367b5e94eb9cb991914f1de133cf272654c0708faa893bbc17a5b35b93", | |
"dweb:/ipfs/QmZeBojmgXq821dL1TJKFb58B1FogM9jL3u7hXQ8hTEBKT" | |
] | |
}, | |
"@openzeppelin/contracts/utils/structs/EnumerableSet.sol": { | |
"keccak256": "0xfac19be5f0d198ac556731a5589a4ae1c0c1622437d0b6b53b2cf3f317071acd", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://0c0f5ca56c1bfe37e9a9911140681e98c360f9fd225d06fcf2c607169ac76b3b", | |
"dweb:/ipfs/QmZYRcvZqTiLcgGRx66RceXNwWqeUS5bDQGNo1gS3hhwec" | |
] | |
}, | |
"contracts/AdminControl.sol": { | |
"keccak256": "0xaed5e7784e33745ab1b16f1d87b22084a8b25d531c1dcb8dc41fc2a89e2617da", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://44837a9cc639062b2d7424a10e9d579b8d3a9bc1cefede2cfbb917bee8f452ae", | |
"dweb:/ipfs/QmburkqmRDZYWjKPRUynhdfkAfP5QDKcXH4WCbH1JC8UDq" | |
] | |
}, | |
"contracts/IAdminControl.sol": { | |
"keccak256": "0x7cc2e4e7d9052532f445e62ec1fa2f05cc0f5d1d8ee1fea913b43a132277bf2f", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://266618317d0654fe209b5450b8b5afa3a4a8d41294a2b37ddbae540099859887", | |
"dweb:/ipfs/QmYksDqoxhachoqZquXGtjfiuAWJ1rxAKLtUYPL3YboBkE" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": { | |
"@_71": { | |
"entryPoint": null, | |
"id": 71, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory": { | |
"entryPoint": 226, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"increment_t_uint256": { | |
"entryPoint": 437, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x32": { | |
"entryPoint": 415, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x41": { | |
"entryPoint": 204, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:1622:1", | |
"statements": [ | |
{ | |
"nodeType": "YulBlock", | |
"src": "6:3:1", | |
"statements": [] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "46:95:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "63:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "70:3:1", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "75:10:1", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "66:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "66:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "56:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "56:31:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "56:31:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "103:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "106:4:1", | |
"type": "", | |
"value": "0x41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "96:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "96:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "96:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "127:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "130:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "120:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "120:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "120:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x41", | |
"nodeType": "YulFunctionDefinition", | |
"src": "14:127:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "252:999:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "262:12:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "272:2:1", | |
"type": "", | |
"value": "32" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "266:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "319:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "328:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "331:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "321:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "321:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "321:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "294:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "303:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "290:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "290:23:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "315:2:1" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "286:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "286:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "283:52:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "344:30:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "364:9:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "358:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "358:16:1" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "348:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "383:28:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "401:2:1", | |
"type": "", | |
"value": "64" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "405:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "397:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "397:10:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "409:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "393:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "393:18:1" | |
}, | |
"variables": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulTypedName", | |
"src": "387:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "438:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "447:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "450:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "440:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "440:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "440:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "426:6:1" | |
}, | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "434:2:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "423:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "423:14:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "420:34:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "463:32:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "477:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "488:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "473:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "473:22:1" | |
}, | |
"variables": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulTypedName", | |
"src": "467:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "543:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "552:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "555:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "545:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "545:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "545:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "522:2:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "526:4:1", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "518:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "518:13:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "533:7:1" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "514:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "514:27:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "507:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "507:35:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "504:55:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "568:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "584:2:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "578:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "578:9:1" | |
}, | |
"variables": [ | |
{ | |
"name": "_4", | |
"nodeType": "YulTypedName", | |
"src": "572:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "610:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "612:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "612:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "612:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "_4", | |
"nodeType": "YulIdentifier", | |
"src": "602:2:1" | |
}, | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "606:2:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "599:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "599:10:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "596:36:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "641:20:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "655:1:1", | |
"type": "", | |
"value": "5" | |
}, | |
{ | |
"name": "_4", | |
"nodeType": "YulIdentifier", | |
"src": "658:2:1" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "651:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "651:10:1" | |
}, | |
"variables": [ | |
{ | |
"name": "_5", | |
"nodeType": "YulTypedName", | |
"src": "645:2:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "670:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "690:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "684:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "684:9:1" | |
}, | |
"variables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "674:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "702:56:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "724:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_5", | |
"nodeType": "YulIdentifier", | |
"src": "740:2:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "744:2:1", | |
"type": "", | |
"value": "63" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "736:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "736:11:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "753:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "749:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "749:7:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "732:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "732:25:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "720:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "720:38:1" | |
}, | |
"variables": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulTypedName", | |
"src": "706:10:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "817:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "819:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "819:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "819:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "776:10:1" | |
}, | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "788:2:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "773:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "773:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "796:10:1" | |
}, | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "808:6:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "793:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "793:22:1" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "770:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "770:46:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "767:72:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "855:2:1", | |
"type": "", | |
"value": "64" | |
}, | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "859:10:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "848:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "848:22:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "848:22:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "879:17:1", | |
"value": { | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "890:6:1" | |
}, | |
"variables": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulTypedName", | |
"src": "883:3:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "912:6:1" | |
}, | |
{ | |
"name": "_4", | |
"nodeType": "YulIdentifier", | |
"src": "920:2:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "905:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "905:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "905:18:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "932:22:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "943:6:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "951:2:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "939:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "939:15:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "932:3:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "963:34:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "985:2:1" | |
}, | |
{ | |
"name": "_5", | |
"nodeType": "YulIdentifier", | |
"src": "989:2:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "981:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "981:11:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "994:2:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "977:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "977:20:1" | |
}, | |
"variables": [ | |
{ | |
"name": "srcEnd", | |
"nodeType": "YulTypedName", | |
"src": "967:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1029:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1038:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1041:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1031:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1031:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1031:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "srcEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1012:6:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1020:7:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1009:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1009:19:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1006:39:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1054:22:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "1069:2:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "1073:2:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1065:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1065:11:1" | |
}, | |
"variables": [ | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "1058:3:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1141:79:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "1162:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "1173:3:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1167:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1167:10:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1155:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1155:23:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1155:23:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1191:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "1202:3:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "1207:2:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1198:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1198:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "1191:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "1096:3:1" | |
}, | |
{ | |
"name": "srcEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1101:6:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "1093:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1093:15:1" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "1109:23:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1111:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "1122:3:1" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "1127:2:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1118:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1118:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "1111:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "1089:3:1", | |
"statements": [] | |
}, | |
"src": "1085:135:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1229:16:1", | |
"value": { | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1239:6:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1229:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "218:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "229:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "241:6:1", | |
"type": "" | |
} | |
], | |
"src": "146:1105:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1288:95:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1305:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1312:3:1", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1317:10:1", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "1308:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1308:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1298:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1298:31:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1298:31:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1345:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1348:4:1", | |
"type": "", | |
"value": "0x32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1338:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1338:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1338:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1369:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1372:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1362:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1362:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1362:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x32", | |
"nodeType": "YulFunctionDefinition", | |
"src": "1256:127:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1435:185:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1474:111:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1495:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1502:3:1", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1507:10:1", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "1498:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1498:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1488:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1488:31:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1488:31:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1539:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1542:4:1", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1532:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1532:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1532:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1567:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1570:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1560:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1560:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1560:15:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1451:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1462:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "1458:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1458:6:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "1448:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1448:17:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1445:140:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1594:20:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1605:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1612:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1601:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1601:13:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "1594:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "increment_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1417:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "1427:3:1", | |
"type": "" | |
} | |
], | |
"src": "1388:232:1" | |
} | |
] | |
}, | |
"contents": "{\n { }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(headStart, dataEnd) -> value0\n {\n let _1 := 32\n if slt(sub(dataEnd, headStart), _1) { revert(0, 0) }\n let offset := mload(headStart)\n let _2 := sub(shl(64, 1), 1)\n if gt(offset, _2) { revert(0, 0) }\n let _3 := add(headStart, offset)\n if iszero(slt(add(_3, 0x1f), dataEnd)) { revert(0, 0) }\n let _4 := mload(_3)\n if gt(_4, _2) { panic_error_0x41() }\n let _5 := shl(5, _4)\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(_5, 63), not(31)))\n if or(gt(newFreePtr, _2), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n let dst := memPtr\n mstore(memPtr, _4)\n dst := add(memPtr, _1)\n let srcEnd := add(add(_3, _5), _1)\n if gt(srcEnd, dataEnd) { revert(0, 0) }\n let src := add(_3, _1)\n for { } lt(src, srcEnd) { src := add(src, _1) }\n {\n mstore(dst, mload(src))\n dst := add(dst, _1)\n }\n value0 := memPtr\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n ret := add(value, 1)\n }\n}", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b5060405161097d38038061097d83398101604081905261002f916100e2565b600080546001600160a01b03191633908117825581526001602081905260408220555b81518110156100c5576002604051806040016040528084848151811061007a5761007a61019f565b602090810291909101810151825260009181018290528354600181810186559483529181902083516002909302019182559190910151910155806100bd816101b5565b915050610052565b50506101de565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156100f557600080fd5b82516001600160401b038082111561010c57600080fd5b818501915085601f83011261012057600080fd5b815181811115610132576101326100cc565b8060051b604051601f19603f83011681018181108582111715610157576101576100cc565b60405291825284820192508381018501918883111561017557600080fd5b938501935b828510156101935784518452938501939285019261017a565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b60006000198214156101d757634e487b7160e01b600052601160045260246000fd5b5060010190565b610790806101ed6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063609ff1bd1161005b578063609ff1bd1461010d5780639e7b8d6114610123578063a3ec138d14610136578063e2ba53f0146101a757600080fd5b80630121b93f1461008d578063013cf08b146100a25780632e4176cf146100cf5780635c19a95c146100fa575b600080fd5b6100a061009b3660046106b2565b6101af565b005b6100b56100b03660046106b2565b6102af565b604080519283526020830191909152015b60405180910390f35b6000546100e2906001600160a01b031681565b6040516001600160a01b0390911681526020016100c6565b6100a06101083660046106cb565b6102dd565b6101156104ea565b6040519081526020016100c6565b6100a06101313660046106cb565b610567565b6101786101443660046106cb565b600160208190526000918252604090912080549181015460029091015460ff82169161010090046001600160a01b03169084565b6040516100c6949392919093845291151560208401526001600160a01b03166040830152606082015260800190565b61011561067f565b33600090815260016020526040902080546102115760405162461bcd60e51b815260206004820152601460248201527f486173206e6f20726967687420746f20766f746500000000000000000000000060448201526064015b60405180910390fd5b600181015460ff16156102575760405162461bcd60e51b815260206004820152600e60248201526d20b63932b0b23c903b37ba32b21760911b6044820152606401610208565b6001818101805460ff1916909117905560028082018390558154815490919084908110610286576102866106fb565b906000526020600020906002020160010160008282546102a69190610727565b90915550505050565b600281815481106102bf57600080fd5b60009182526020909120600290910201805460019091015490915082565b3360009081526001602081905260409091209081015460ff16156103385760405162461bcd60e51b81526020600482015260126024820152712cb7ba9030b63932b0b23c903b37ba32b21760711b6044820152606401610208565b6001600160a01b0382163314156103915760405162461bcd60e51b815260206004820152601e60248201527f53656c662d64656c65676174696f6e20697320646973616c6c6f7765642e00006044820152606401610208565b6001600160a01b038281166000908152600160208190526040909120015461010090041615610436576001600160a01b0391821660009081526001602081905260409091200154610100900490911690338214156104315760405162461bcd60e51b815260206004820152601960248201527f466f756e64206c6f6f7020696e2064656c65676174696f6e2e000000000000006044820152606401610208565b610391565b6001818101805474ffffffffffffffffffffffffffffffffffffffffff19166101006001600160a01b03861690810291909117831790915560009081526020829052604090209081015460ff16156104cb578154600282810154815481106104a0576104a06106fb565b906000526020600020906002020160010160008282546104c09190610727565b909155506104e59050565b8154815482906000906104df908490610727565b90915550505b505050565b600080805b60025481101561056257816002828154811061050d5761050d6106fb565b90600052602060002090600202016001015411156105505760028181548110610538576105386106fb565b90600052602060002090600202016001015491508092505b8061055a8161073f565b9150506104ef565b505090565b6000546001600160a01b031633146105d25760405162461bcd60e51b815260206004820152602860248201527f4f6e6c79206368616972706572736f6e2063616e2067697665207269676874206044820152673a37903b37ba329760c11b6064820152608401610208565b6001600160a01b0381166000908152600160208190526040909120015460ff161561063f5760405162461bcd60e51b815260206004820152601860248201527f54686520766f74657220616c726561647920766f7465642e00000000000000006044820152606401610208565b6001600160a01b0381166000908152600160205260409020541561066257600080fd5b6001600160a01b0316600090815260016020819052604090912055565b6000600261068b6104ea565b8154811061069b5761069b6106fb565b906000526020600020906002020160000154905090565b6000602082840312156106c457600080fd5b5035919050565b6000602082840312156106dd57600080fd5b81356001600160a01b03811681146106f457600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561073a5761073a610711565b500190565b600060001982141561075357610753610711565b506001019056fea26469706673582212202cd2921ed1b9055e3e72af1256e04218e291900ecc2ff54bf6fa165493daef3c64736f6c63430008090033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x97D CODESIZE SUB DUP1 PUSH2 0x97D DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0xE2 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER SWAP1 DUP2 OR DUP3 SSTORE DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP3 KECCAK256 SSTORE JUMPDEST DUP2 MLOAD DUP2 LT ISZERO PUSH2 0xC5 JUMPI PUSH1 0x2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x7A JUMPI PUSH2 0x7A PUSH2 0x19F JUMP JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD DUP2 ADD MLOAD DUP3 MSTORE PUSH1 0x0 SWAP2 DUP2 ADD DUP3 SWAP1 MSTORE DUP4 SLOAD PUSH1 0x1 DUP2 DUP2 ADD DUP7 SSTORE SWAP5 DUP4 MSTORE SWAP2 DUP2 SWAP1 KECCAK256 DUP4 MLOAD PUSH1 0x2 SWAP1 SWAP4 MUL ADD SWAP2 DUP3 SSTORE SWAP2 SWAP1 SWAP2 ADD MLOAD SWAP2 ADD SSTORE DUP1 PUSH2 0xBD DUP2 PUSH2 0x1B5 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x52 JUMP JUMPDEST POP POP PUSH2 0x1DE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xF5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH2 0x10C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x120 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP2 DUP2 GT ISZERO PUSH2 0x132 JUMPI PUSH2 0x132 PUSH2 0xCC JUMP JUMPDEST DUP1 PUSH1 0x5 SHL PUSH1 0x40 MLOAD PUSH1 0x1F NOT PUSH1 0x3F DUP4 ADD AND DUP2 ADD DUP2 DUP2 LT DUP6 DUP3 GT OR ISZERO PUSH2 0x157 JUMPI PUSH2 0x157 PUSH2 0xCC JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 DUP3 MSTORE DUP5 DUP3 ADD SWAP3 POP DUP4 DUP2 ADD DUP6 ADD SWAP2 DUP9 DUP4 GT ISZERO PUSH2 0x175 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 DUP6 ADD SWAP4 JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0x193 JUMPI DUP5 MLOAD DUP5 MSTORE SWAP4 DUP6 ADD SWAP4 SWAP3 DUP6 ADD SWAP3 PUSH2 0x17A JUMP JUMPDEST SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 EQ ISZERO PUSH2 0x1D7 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH2 0x790 DUP1 PUSH2 0x1ED PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x88 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x609FF1BD GT PUSH2 0x5B JUMPI DUP1 PUSH4 0x609FF1BD EQ PUSH2 0x10D JUMPI DUP1 PUSH4 0x9E7B8D61 EQ PUSH2 0x123 JUMPI DUP1 PUSH4 0xA3EC138D EQ PUSH2 0x136 JUMPI DUP1 PUSH4 0xE2BA53F0 EQ PUSH2 0x1A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x121B93F EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x13CF08B EQ PUSH2 0xA2 JUMPI DUP1 PUSH4 0x2E4176CF EQ PUSH2 0xCF JUMPI DUP1 PUSH4 0x5C19A95C EQ PUSH2 0xFA JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x9B CALLDATASIZE PUSH1 0x4 PUSH2 0x6B2 JUMP JUMPDEST PUSH2 0x1AF JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB5 PUSH2 0xB0 CALLDATASIZE PUSH1 0x4 PUSH2 0x6B2 JUMP JUMPDEST PUSH2 0x2AF JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD PUSH2 0xE2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC6 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x108 CALLDATASIZE PUSH1 0x4 PUSH2 0x6CB JUMP JUMPDEST PUSH2 0x2DD JUMP JUMPDEST PUSH2 0x115 PUSH2 0x4EA JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC6 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x131 CALLDATASIZE PUSH1 0x4 PUSH2 0x6CB JUMP JUMPDEST PUSH2 0x567 JUMP JUMPDEST PUSH2 0x178 PUSH2 0x144 CALLDATASIZE PUSH1 0x4 PUSH2 0x6CB JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD SWAP2 DUP2 ADD SLOAD PUSH1 0x2 SWAP1 SWAP2 ADD SLOAD PUSH1 0xFF DUP3 AND SWAP2 PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 SWAP4 DUP5 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH2 0x115 PUSH2 0x67F JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0x211 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x486173206E6F20726967687420746F20766F7465000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP2 ADD SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x257 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x20B63932B0B23C903B37BA32B217 PUSH1 0x91 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 ADD DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x2 DUP1 DUP3 ADD DUP4 SWAP1 SSTORE DUP2 SLOAD DUP2 SLOAD SWAP1 SWAP2 SWAP1 DUP5 SWAP1 DUP2 LT PUSH2 0x286 JUMPI PUSH2 0x286 PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x2A6 SWAP2 SWAP1 PUSH2 0x727 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x2BF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 PUSH1 0x2 SWAP1 SWAP2 MUL ADD DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD SWAP1 SWAP2 POP DUP3 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SWAP1 DUP2 ADD SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x338 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x12 PUSH1 0x24 DUP3 ADD MSTORE PUSH18 0x2CB7BA9030B63932B0B23C903B37BA32B217 PUSH1 0x71 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND CALLER EQ ISZERO PUSH2 0x391 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x53656C662D64656C65676174696F6E20697320646973616C6C6F7765642E0000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH2 0x100 SWAP1 DIV AND ISZERO PUSH2 0x436 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH2 0x100 SWAP1 DIV SWAP1 SWAP2 AND SWAP1 CALLER DUP3 EQ ISZERO PUSH2 0x431 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x466F756E64206C6F6F7020696E2064656C65676174696F6E2E00000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH2 0x391 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 ADD DUP1 SLOAD PUSH21 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH2 0x100 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 OR DUP4 OR SWAP1 SWAP2 SSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 DUP2 ADD SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x4CB JUMPI DUP2 SLOAD PUSH1 0x2 DUP3 DUP2 ADD SLOAD DUP2 SLOAD DUP2 LT PUSH2 0x4A0 JUMPI PUSH2 0x4A0 PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x4C0 SWAP2 SWAP1 PUSH2 0x727 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP PUSH2 0x4E5 SWAP1 POP JUMP JUMPDEST DUP2 SLOAD DUP2 SLOAD DUP3 SWAP1 PUSH1 0x0 SWAP1 PUSH2 0x4DF SWAP1 DUP5 SWAP1 PUSH2 0x727 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 JUMPDEST PUSH1 0x2 SLOAD DUP2 LT ISZERO PUSH2 0x562 JUMPI DUP2 PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x50D JUMPI PUSH2 0x50D PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD GT ISZERO PUSH2 0x550 JUMPI PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x538 JUMPI PUSH2 0x538 PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD SWAP2 POP DUP1 SWAP3 POP JUMPDEST DUP1 PUSH2 0x55A DUP2 PUSH2 0x73F JUMP JUMPDEST SWAP2 POP POP PUSH2 0x4EF JUMP JUMPDEST POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x5D2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C79206368616972706572736F6E2063616E206769766520726967687420 PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x3A37903B37BA3297 PUSH1 0xC1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x63F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x54686520766F74657220616C726561647920766F7465642E0000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD ISZERO PUSH2 0x662 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 PUSH2 0x68B PUSH2 0x4EA JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x69B JUMPI PUSH2 0x69B PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 ADD SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x6C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x6DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x6F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x73A JUMPI PUSH2 0x73A PUSH2 0x711 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 EQ ISZERO PUSH2 0x753 JUMPI PUSH2 0x753 PUSH2 0x711 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2C 0xD2 SWAP3 0x1E 0xD1 0xB9 SDIV 0x5E RETURNDATACOPY PUSH19 0xAF1256E04218E291900ECC2FF54BF6FA165493 0xDA 0xEF EXTCODECOPY PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", | |
"sourceMap": "157:4362:0:-:0;;;958:481;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1012:11;:24;;-1:-1:-1;;;;;;1012:24:0;1026:10;1012:24;;;;;1046:19;;1012:24;1046:19;;;;;;;:30;1087:346;1108:13;:20;1104:1;:24;1087:346;;;1312:9;1327:94;;;;;;;;1360:13;1374:1;1360:16;;;;;;;;:::i;:::-;;;;;;;;;;;;1327:94;;1405:1;1327:94;;;;;;1312:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1130:3;;;;:::i;:::-;;;;1087:346;;;;958:481;157:4362;;14:127:1;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:1105;241:6;272:2;315;303:9;294:7;290:23;286:32;283:52;;;331:1;328;321:12;283:52;358:16;;-1:-1:-1;;;;;423:14:1;;;420:34;;;450:1;447;440:12;420:34;488:6;477:9;473:22;463:32;;533:7;526:4;522:2;518:13;514:27;504:55;;555:1;552;545:12;504:55;584:2;578:9;606:2;602;599:10;596:36;;;612:18;;:::i;:::-;658:2;655:1;651:10;690:2;684:9;753:2;749:7;744:2;740;736:11;732:25;724:6;720:38;808:6;796:10;793:22;788:2;776:10;773:18;770:46;767:72;;;819:18;;:::i;:::-;855:2;848:22;905:18;;;939:15;;;;-1:-1:-1;981:11:1;;;977:20;;;1009:19;;;1006:39;;;1041:1;1038;1031:12;1006:39;1065:11;;;;1085:135;1101:6;1096:3;1093:15;1085:135;;;1167:10;;1155:23;;1118:12;;;;1198;;;;1085:135;;;1239:6;146:1105;-1:-1:-1;;;;;;;;146:1105:1:o;1256:127::-;1317:10;1312:3;1308:20;1305:1;1298:31;1348:4;1345:1;1338:15;1372:4;1369:1;1362:15;1388:232;1427:3;-1:-1:-1;;1448:17:1;;1445:140;;;1507:10;1502:3;1498:20;1495:1;1488:31;1542:4;1539:1;1532:15;1570:4;1567:1;1560:15;1445:140;-1:-1:-1;1612:1:1;1601:13;;1388:232::o;:::-;157:4362:0;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@chairperson_18": { | |
"entryPoint": null, | |
"id": 18, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@delegate_207": { | |
"entryPoint": 733, | |
"id": 207, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@giveRightToVote_111": { | |
"entryPoint": 1383, | |
"id": 111, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@proposals_27": { | |
"entryPoint": 687, | |
"id": 27, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@vote_257": { | |
"entryPoint": 431, | |
"id": 257, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@voters_23": { | |
"entryPoint": null, | |
"id": 23, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@winnerName_315": { | |
"entryPoint": 1663, | |
"id": 315, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@winningProposal_300": { | |
"entryPoint": 1258, | |
"id": 300, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_address": { | |
"entryPoint": 1739, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_uint256": { | |
"entryPoint": 1714, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint256_t_bool_t_address_t_uint256__to_t_uint256_t_bool_t_address_t_uint256__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 5, | |
"returnSlots": 1 | |
}, | |
"checked_add_t_uint256": { | |
"entryPoint": 1831, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"increment_t_uint256": { | |
"entryPoint": 1855, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x11": { | |
"entryPoint": 1809, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x32": { | |
"entryPoint": 1787, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:4864:1", | |
"statements": [ | |
{ | |
"nodeType": "YulBlock", | |
"src": "6:3:1", | |
"statements": [] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "84:110:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "130:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "139:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "142:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "132:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "132:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "132:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "105:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "114:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "101:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "101:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "126:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "97:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "97:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "94:52:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "155:33:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "178:9:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "165:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "165:23:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "155:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "50:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "61:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "73:6:1", | |
"type": "" | |
} | |
], | |
"src": "14:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "328:119:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "338:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "350:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "361:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "346:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "346:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "338:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "380:9:1" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "391:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "373:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "373:25:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "373:25:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "418:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "429:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "414:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "414:18:1" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "434:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "407:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "407:34:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "407:34:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "289:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "300:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "308:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "319:4:1", | |
"type": "" | |
} | |
], | |
"src": "199:248:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "553:125:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "563:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "575:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "586:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "571:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "571:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "563:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "605:9:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "620:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "628:42:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "616:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "616:55:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "598:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "598:74:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "598:74:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "522:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "533:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "544:4:1", | |
"type": "" | |
} | |
], | |
"src": "452:226:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "753:239:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "799:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "808:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "811:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "801:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "801:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "801:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "774:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "783:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "770:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "770:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "795:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "766:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "766:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "763:52:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "824:36:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "850:9:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "837:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "837:23:1" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "828:5:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "946:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "955:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "958:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "948:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "948:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "948:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "882:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "893:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "900:42:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "889:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "889:54:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "879:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "879:65:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "872:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "872:73:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "869:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "971:15:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "981:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "971:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "719:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "730:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "742:6:1", | |
"type": "" | |
} | |
], | |
"src": "683:309:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1098:76:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1108:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1120:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1131:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1116:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1116:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1108:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1150:9:1" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1161:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1143:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1143:25:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1143:25:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1067:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1078:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1089:4:1", | |
"type": "" | |
} | |
], | |
"src": "997:177:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1358:271:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1368:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1380:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1391:3:1", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1376:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1376:19:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1368:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1411:9:1" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1422:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1404:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1404:25:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1404:25:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1449:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1460:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1445:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1445:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "1479:6:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "1472:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1472:14:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "1465:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1465:22:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1438:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1438:50:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1438:50:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1508:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1519:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1504:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1504:18:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "1528:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1536:42:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1524:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1524:55:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1497:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1497:83:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1497:83:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1600:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1611:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1596:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1596:18:1" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "1616:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1589:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1589:34:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1589:34:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256_t_bool_t_address_t_uint256__to_t_uint256_t_bool_t_address_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1303:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "1314:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "1322:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "1330:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1338:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1349:4:1", | |
"type": "" | |
} | |
], | |
"src": "1179:450:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1735:76:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1745:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1757:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1768:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1753:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1753:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1745:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1787:9:1" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1798:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1780:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1780:25:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1780:25:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1704:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1715:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1726:4:1", | |
"type": "" | |
} | |
], | |
"src": "1634:177:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1990:170:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2007:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2018:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2000:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2000:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2000:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2041:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2052:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2037:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2037:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2057:2:1", | |
"type": "", | |
"value": "20" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2030:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2030:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2030:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2080:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2091:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2076:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2076:18:1" | |
}, | |
{ | |
"hexValue": "486173206e6f20726967687420746f20766f7465", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "2096:22:1", | |
"type": "", | |
"value": "Has no right to vote" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2069:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2069:50:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2069:50:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2128:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2140:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2151:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2136:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2136:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2128:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1967:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1981:4:1", | |
"type": "" | |
} | |
], | |
"src": "1816:344:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2339:164:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2356:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2367:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2349:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2349:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2349:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2390:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2401:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2386:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2386:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2406:2:1", | |
"type": "", | |
"value": "14" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2379:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2379:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2379:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2429:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2440:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2425:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2425:18:1" | |
}, | |
{ | |
"hexValue": "416c726561647920766f7465642e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "2445:16:1", | |
"type": "", | |
"value": "Already voted." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2418:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2418:44:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2418:44:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2471:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2483:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2494:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2479:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2479:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "2471:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "2316:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "2330:4:1", | |
"type": "" | |
} | |
], | |
"src": "2165:338:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2540:95:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2557:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2564:3:1", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2569:10:1", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "2560:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2560:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2550:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2550:31:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2550:31:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2597:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2600:4:1", | |
"type": "", | |
"value": "0x32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2590:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2590:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2590:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2621:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2624:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2614:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2614:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2614:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x32", | |
"nodeType": "YulFunctionDefinition", | |
"src": "2508:127:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2672:95:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2689:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2696:3:1", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2701:10:1", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "2692:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2692:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2682:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2682:31:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2682:31:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2729:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2732:4:1", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2722:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2722:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2722:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2753:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2756:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2746:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2746:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2746:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x11", | |
"nodeType": "YulFunctionDefinition", | |
"src": "2640:127:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2820:80:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2847:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "2849:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2849:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2849:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "2836:1:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "2843:1:1" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "2839:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2839:6:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "2833:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2833:13:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "2830:39:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2878:16:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "2889:1:1" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "2892:1:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2885:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2885:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "2878:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_add_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "2803:1:1", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "2806:1:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulTypedName", | |
"src": "2812:3:1", | |
"type": "" | |
} | |
], | |
"src": "2772:128:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3079:168:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3096:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3107:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3089:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3089:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3089:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3130:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3141:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3126:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3126:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3146:2:1", | |
"type": "", | |
"value": "18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3119:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3119:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3119:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3169:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3180:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3165:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3165:18:1" | |
}, | |
{ | |
"hexValue": "596f7520616c726561647920766f7465642e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "3185:20:1", | |
"type": "", | |
"value": "You already voted." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3158:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3158:48:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3158:48:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3215:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3227:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3238:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3223:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3223:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3215:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3056:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3070:4:1", | |
"type": "" | |
} | |
], | |
"src": "2905:342:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3426:180:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3443:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3454:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3436:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3436:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3436:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3477:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3488:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3473:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3473:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3493:2:1", | |
"type": "", | |
"value": "30" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3466:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3466:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3466:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3516:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3527:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3512:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3512:18:1" | |
}, | |
{ | |
"hexValue": "53656c662d64656c65676174696f6e20697320646973616c6c6f7765642e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "3532:32:1", | |
"type": "", | |
"value": "Self-delegation is disallowed." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3505:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3505:60:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3505:60:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3574:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3586:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3597:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3582:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3582:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3574:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3403:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3417:4:1", | |
"type": "" | |
} | |
], | |
"src": "3252:354:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3785:175:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3802:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3813:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3795:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3795:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3795:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3836:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3847:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3832:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3832:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3852:2:1", | |
"type": "", | |
"value": "25" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3825:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3825:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3825:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3875:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3886:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3871:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3871:18:1" | |
}, | |
{ | |
"hexValue": "466f756e64206c6f6f7020696e2064656c65676174696f6e2e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "3891:27:1", | |
"type": "", | |
"value": "Found loop in delegation." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3864:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3864:55:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3864:55:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3928:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3940:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3951:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3936:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3936:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3928:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3762:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3776:4:1", | |
"type": "" | |
} | |
], | |
"src": "3611:349:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4012:88:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4043:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "4045:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4045:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4045:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4028:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4039:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "4035:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4035:6:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "4025:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4025:17:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "4022:43:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4074:20:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4085:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4092:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4081:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4081:13:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "4074:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "increment_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3994:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "4004:3:1", | |
"type": "" | |
} | |
], | |
"src": "3965:135:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4279:230:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4296:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4307:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4289:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4289:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4289:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4330:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4341:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4326:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4326:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4346:2:1", | |
"type": "", | |
"value": "40" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4319:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4319:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4319:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4369:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4380:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4365:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4365:18:1" | |
}, | |
{ | |
"hexValue": "4f6e6c79206368616972706572736f6e2063616e206769766520726967687420", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4385:34:1", | |
"type": "", | |
"value": "Only chairperson can give right " | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4358:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4358:62:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4358:62:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4440:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4451:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4436:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4436:18:1" | |
}, | |
{ | |
"hexValue": "746f20766f74652e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4456:10:1", | |
"type": "", | |
"value": "to vote." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4429:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4429:38:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4429:38:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4476:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4488:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4499:3:1", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4484:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4484:19:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4476:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4256:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4270:4:1", | |
"type": "" | |
} | |
], | |
"src": "4105:404:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4688:174:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4705:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4716:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4698:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4698:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4698:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4739:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4750:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4735:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4735:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4755:2:1", | |
"type": "", | |
"value": "24" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4728:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4728:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4728:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4778:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4789:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4774:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4774:18:1" | |
}, | |
{ | |
"hexValue": "54686520766f74657220616c726561647920766f7465642e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "4794:26:1", | |
"type": "", | |
"value": "The voter already voted." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4767:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4767:54:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4767:54:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4830:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4842:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4853:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4838:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4838:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4830:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4665:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4679:4:1", | |
"type": "" | |
} | |
], | |
"src": "4514:348:1" | |
} | |
] | |
}, | |
"contents": "{\n { }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_uint256_t_bool_t_address_t_uint256__to_t_uint256_t_bool_t_address_t_uint256__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 128)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n mstore(add(headStart, 64), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n mstore(add(headStart, 96), value3)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 20)\n mstore(add(headStart, 64), \"Has no right to vote\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 14)\n mstore(add(headStart, 64), \"Already voted.\")\n tail := add(headStart, 96)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function abi_encode_tuple_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 18)\n mstore(add(headStart, 64), \"You already voted.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 30)\n mstore(add(headStart, 64), \"Self-delegation is disallowed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 25)\n mstore(add(headStart, 64), \"Found loop in delegation.\")\n tail := add(headStart, 96)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0)) { panic_error_0x11() }\n ret := add(value, 1)\n }\n function abi_encode_tuple_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 40)\n mstore(add(headStart, 64), \"Only chairperson can give right \")\n mstore(add(headStart, 96), \"to vote.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 24)\n mstore(add(headStart, 64), \"The voter already voted.\")\n tail := add(headStart, 96)\n }\n}", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50600436106100885760003560e01c8063609ff1bd1161005b578063609ff1bd1461010d5780639e7b8d6114610123578063a3ec138d14610136578063e2ba53f0146101a757600080fd5b80630121b93f1461008d578063013cf08b146100a25780632e4176cf146100cf5780635c19a95c146100fa575b600080fd5b6100a061009b3660046106b2565b6101af565b005b6100b56100b03660046106b2565b6102af565b604080519283526020830191909152015b60405180910390f35b6000546100e2906001600160a01b031681565b6040516001600160a01b0390911681526020016100c6565b6100a06101083660046106cb565b6102dd565b6101156104ea565b6040519081526020016100c6565b6100a06101313660046106cb565b610567565b6101786101443660046106cb565b600160208190526000918252604090912080549181015460029091015460ff82169161010090046001600160a01b03169084565b6040516100c6949392919093845291151560208401526001600160a01b03166040830152606082015260800190565b61011561067f565b33600090815260016020526040902080546102115760405162461bcd60e51b815260206004820152601460248201527f486173206e6f20726967687420746f20766f746500000000000000000000000060448201526064015b60405180910390fd5b600181015460ff16156102575760405162461bcd60e51b815260206004820152600e60248201526d20b63932b0b23c903b37ba32b21760911b6044820152606401610208565b6001818101805460ff1916909117905560028082018390558154815490919084908110610286576102866106fb565b906000526020600020906002020160010160008282546102a69190610727565b90915550505050565b600281815481106102bf57600080fd5b60009182526020909120600290910201805460019091015490915082565b3360009081526001602081905260409091209081015460ff16156103385760405162461bcd60e51b81526020600482015260126024820152712cb7ba9030b63932b0b23c903b37ba32b21760711b6044820152606401610208565b6001600160a01b0382163314156103915760405162461bcd60e51b815260206004820152601e60248201527f53656c662d64656c65676174696f6e20697320646973616c6c6f7765642e00006044820152606401610208565b6001600160a01b038281166000908152600160208190526040909120015461010090041615610436576001600160a01b0391821660009081526001602081905260409091200154610100900490911690338214156104315760405162461bcd60e51b815260206004820152601960248201527f466f756e64206c6f6f7020696e2064656c65676174696f6e2e000000000000006044820152606401610208565b610391565b6001818101805474ffffffffffffffffffffffffffffffffffffffffff19166101006001600160a01b03861690810291909117831790915560009081526020829052604090209081015460ff16156104cb578154600282810154815481106104a0576104a06106fb565b906000526020600020906002020160010160008282546104c09190610727565b909155506104e59050565b8154815482906000906104df908490610727565b90915550505b505050565b600080805b60025481101561056257816002828154811061050d5761050d6106fb565b90600052602060002090600202016001015411156105505760028181548110610538576105386106fb565b90600052602060002090600202016001015491508092505b8061055a8161073f565b9150506104ef565b505090565b6000546001600160a01b031633146105d25760405162461bcd60e51b815260206004820152602860248201527f4f6e6c79206368616972706572736f6e2063616e2067697665207269676874206044820152673a37903b37ba329760c11b6064820152608401610208565b6001600160a01b0381166000908152600160208190526040909120015460ff161561063f5760405162461bcd60e51b815260206004820152601860248201527f54686520766f74657220616c726561647920766f7465642e00000000000000006044820152606401610208565b6001600160a01b0381166000908152600160205260409020541561066257600080fd5b6001600160a01b0316600090815260016020819052604090912055565b6000600261068b6104ea565b8154811061069b5761069b6106fb565b906000526020600020906002020160000154905090565b6000602082840312156106c457600080fd5b5035919050565b6000602082840312156106dd57600080fd5b81356001600160a01b03811681146106f457600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561073a5761073a610711565b500190565b600060001982141561075357610753610711565b506001019056fea26469706673582212202cd2921ed1b9055e3e72af1256e04218e291900ecc2ff54bf6fa165493daef3c64736f6c63430008090033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x88 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x609FF1BD GT PUSH2 0x5B JUMPI DUP1 PUSH4 0x609FF1BD EQ PUSH2 0x10D JUMPI DUP1 PUSH4 0x9E7B8D61 EQ PUSH2 0x123 JUMPI DUP1 PUSH4 0xA3EC138D EQ PUSH2 0x136 JUMPI DUP1 PUSH4 0xE2BA53F0 EQ PUSH2 0x1A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x121B93F EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x13CF08B EQ PUSH2 0xA2 JUMPI DUP1 PUSH4 0x2E4176CF EQ PUSH2 0xCF JUMPI DUP1 PUSH4 0x5C19A95C EQ PUSH2 0xFA JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA0 PUSH2 0x9B CALLDATASIZE PUSH1 0x4 PUSH2 0x6B2 JUMP JUMPDEST PUSH2 0x1AF JUMP JUMPDEST STOP JUMPDEST PUSH2 0xB5 PUSH2 0xB0 CALLDATASIZE PUSH1 0x4 PUSH2 0x6B2 JUMP JUMPDEST PUSH2 0x2AF JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD PUSH2 0xE2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC6 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x108 CALLDATASIZE PUSH1 0x4 PUSH2 0x6CB JUMP JUMPDEST PUSH2 0x2DD JUMP JUMPDEST PUSH2 0x115 PUSH2 0x4EA JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC6 JUMP JUMPDEST PUSH2 0xA0 PUSH2 0x131 CALLDATASIZE PUSH1 0x4 PUSH2 0x6CB JUMP JUMPDEST PUSH2 0x567 JUMP JUMPDEST PUSH2 0x178 PUSH2 0x144 CALLDATASIZE PUSH1 0x4 PUSH2 0x6CB JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD SWAP2 DUP2 ADD SLOAD PUSH1 0x2 SWAP1 SWAP2 ADD SLOAD PUSH1 0xFF DUP3 AND SWAP2 PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 SWAP4 DUP5 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH2 0x115 PUSH2 0x67F JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0x211 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x486173206E6F20726967687420746F20766F7465000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP2 ADD SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x257 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x20B63932B0B23C903B37BA32B217 PUSH1 0x91 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 ADD DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x2 DUP1 DUP3 ADD DUP4 SWAP1 SSTORE DUP2 SLOAD DUP2 SLOAD SWAP1 SWAP2 SWAP1 DUP5 SWAP1 DUP2 LT PUSH2 0x286 JUMPI PUSH2 0x286 PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x2A6 SWAP2 SWAP1 PUSH2 0x727 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x2BF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 SWAP1 SWAP2 KECCAK256 PUSH1 0x2 SWAP1 SWAP2 MUL ADD DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD SWAP1 SWAP2 POP DUP3 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SWAP1 DUP2 ADD SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x338 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x12 PUSH1 0x24 DUP3 ADD MSTORE PUSH18 0x2CB7BA9030B63932B0B23C903B37BA32B217 PUSH1 0x71 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND CALLER EQ ISZERO PUSH2 0x391 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x53656C662D64656C65676174696F6E20697320646973616C6C6F7765642E0000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH2 0x100 SWAP1 DIV AND ISZERO PUSH2 0x436 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH2 0x100 SWAP1 DIV SWAP1 SWAP2 AND SWAP1 CALLER DUP3 EQ ISZERO PUSH2 0x431 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x466F756E64206C6F6F7020696E2064656C65676174696F6E2E00000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH2 0x391 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 ADD DUP1 SLOAD PUSH21 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH2 0x100 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 OR DUP4 OR SWAP1 SWAP2 SSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP3 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 DUP2 ADD SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x4CB JUMPI DUP2 SLOAD PUSH1 0x2 DUP3 DUP2 ADD SLOAD DUP2 SLOAD DUP2 LT PUSH2 0x4A0 JUMPI PUSH2 0x4A0 PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x4C0 SWAP2 SWAP1 PUSH2 0x727 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP PUSH2 0x4E5 SWAP1 POP JUMP JUMPDEST DUP2 SLOAD DUP2 SLOAD DUP3 SWAP1 PUSH1 0x0 SWAP1 PUSH2 0x4DF SWAP1 DUP5 SWAP1 PUSH2 0x727 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 JUMPDEST PUSH1 0x2 SLOAD DUP2 LT ISZERO PUSH2 0x562 JUMPI DUP2 PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x50D JUMPI PUSH2 0x50D PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD GT ISZERO PUSH2 0x550 JUMPI PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x538 JUMPI PUSH2 0x538 PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD SWAP2 POP DUP1 SWAP3 POP JUMPDEST DUP1 PUSH2 0x55A DUP2 PUSH2 0x73F JUMP JUMPDEST SWAP2 POP POP PUSH2 0x4EF JUMP JUMPDEST POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x5D2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C79206368616972706572736F6E2063616E206769766520726967687420 PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x3A37903B37BA3297 PUSH1 0xC1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 ADD SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x63F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x18 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x54686520766F74657220616C726561647920766F7465642E0000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x208 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD ISZERO PUSH2 0x662 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 PUSH2 0x68B PUSH2 0x4EA JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0x69B JUMPI PUSH2 0x69B PUSH2 0x6FB JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 ADD SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x6C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x6DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x6F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x73A JUMPI PUSH2 0x73A PUSH2 0x711 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 EQ ISZERO PUSH2 0x753 JUMPI PUSH2 0x753 PUSH2 0x711 JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2C 0xD2 SWAP3 0x1E 0xD1 0xB9 SDIV 0x5E RETURNDATACOPY PUSH19 0xAF1256E04218E291900ECC2FF54BF6FA165493 0xDA 0xEF EXTCODECOPY PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", | |
"sourceMap": "157:4362:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3173:458;;;;;;:::i;:::-;;:::i;:::-;;794:27;;;;;;:::i;:::-;;:::i;:::-;;;;373:25:1;;;429:2;414:18;;407:34;;;;346:18;794:27:0;;;;;;;;715:26;;;;;-1:-1:-1;;;;;715:26:0;;;;;;-1:-1:-1;;;;;616:55:1;;;598:74;;586:2;571:18;715:26:0;452:226:1;2078:907:0;;;;;;:::i;:::-;;:::i;3817:365::-;;;:::i;:::-;;;1143:25:1;;;1131:2;1116:18;3817:365:0;997:177:1;1599:355:0;;;;;;:::i;:::-;;:::i;748:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;748:39:0;;;;;;;;;;;;;1404:25:1;;;1472:14;;1465:22;1460:2;1445:18;;1438:50;-1:-1:-1;;;;;1524:55:1;1519:2;1504:18;;1497:83;1611:2;1596:18;;1589:34;1391:3;1376:19;;1179:450;4373:144:0;;;:::i;3173:458::-;3249:10;3219:20;3242:18;;;:6;:18;;;;;3278:13;;3270:51;;;;-1:-1:-1;;;3270:51:0;;2018:2:1;3270:51:0;;;2000:21:1;2057:2;2037:18;;;2030:30;2096:22;2076:18;;;2069:50;2136:18;;3270:51:0;;;;;;;;;3340:12;;;;;;3339:13;3331:40;;;;-1:-1:-1;;;3331:40:0;;2367:2:1;3331:40:0;;;2349:21:1;2406:2;2386:18;;;2379:30;-1:-1:-1;;;2425:18:1;;;2418:44;2479:18;;3331:40:0;2165:338:1;3331:40:0;3396:4;3381:12;;;:19;;-1:-1:-1;;3381:19:0;;;;;;3410:11;;;;:22;;;3611:13;;3578:19;;3611:13;;3410:11;3424:8;;3578:19;;;;;;:::i;:::-;;;;;;;;;;;:29;;;:46;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;3173:458:0:o;794:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;794:27:0;:::o;2078:907::-;2155:10;2125:20;2148:18;;;:6;:18;;;;;;;;2185:12;;;;;;2184:13;2176:44;;;;-1:-1:-1;;;2176:44:0;;3107:2:1;2176:44:0;;;3089:21:1;3146:2;3126:18;;;3119:30;-1:-1:-1;;;3165:18:1;;;3158:48;3223:18;;2176:44:0;2905:342:1;2176:44:0;-1:-1:-1;;;;;2238:16:0;;2244:10;2238:16;;2230:59;;;;-1:-1:-1;;;2230:59:0;;3454:2:1;2230:59:0;;;3436:21:1;3493:2;3473:18;;;3466:30;3532:32;3512:18;;;3505:60;3582:18;;2230:59:0;3252:354:1;2230:59:0;-1:-1:-1;;;;;2307:10:0;;;2338:1;2307:10;;;:6;:10;;;;;;;;:19;;;;;;:33;2300:223;;-1:-1:-1;;;;;2361:10:0;;;;;;;:6;:10;;;;;;;;:19;;;;;;;;;2472:10;2466:16;;;2458:54;;;;-1:-1:-1;;;2458:54:0;;3813:2:1;2458:54:0;;;3795:21:1;3852:2;3832:18;;;3825:30;3891:27;3871:18;;;3864:55;3936:18;;2458:54:0;3611:349:1;2458:54:0;2300:223;;;2547:4;2532:12;;;:19;;-1:-1:-1;;2561:20:0;2532:19;-1:-1:-1;;;;;2561:20:0;;;;;;;;;;;;;;-1:-1:-1;2617:10:0;;;;;;;;;;2641:15;;;;2532:19;2641:15;2637:342;;;2808:13;;2769:9;2779:14;;;;2769:25;;;;;;;;:::i;:::-;;;;;;;;;;;:35;;;:52;;;;;;;:::i;:::-;;;;-1:-1:-1;2637:342:0;;-1:-1:-1;2637:342:0;;2955:13;;2935:33;;:9;;2955:13;;2935:33;;2955:13;;2935:33;:::i;:::-;;;;-1:-1:-1;;2637:342:0;2115:870;;2078:907;:::o;3817:365::-;3877:21;;;3949:227;3970:9;:16;3966:20;;3949:227;;;4036:16;4011:9;4021:1;4011:12;;;;;;;;:::i;:::-;;;;;;;;;;;:22;;;:41;4007:159;;;4091:9;4101:1;4091:12;;;;;;;;:::i;:::-;;;;;;;;;;;:22;;;4072:41;;4150:1;4131:20;;4007:159;3988:3;;;;:::i;:::-;;;;3949:227;;;;3904:278;3817:365;:::o;1599:355::-;1691:11;;-1:-1:-1;;;;;1691:11:0;1677:10;:25;1656:112;;;;-1:-1:-1;;;1656:112:0;;4307:2:1;1656:112:0;;;4289:21:1;4346:2;4326:18;;;4319:30;4385:34;4365:18;;;4358:62;-1:-1:-1;;;4436:18:1;;;4429:38;4484:19;;1656:112:0;4105:404:1;1656:112:0;-1:-1:-1;;;;;1800:13:0;;;;;;:6;:13;;;;;;;;:19;;;;1799:20;1778:91;;;;-1:-1:-1;;;1778:91:0;;4716:2:1;1778:91:0;;;4698:21:1;4755:2;4735:18;;;4728:30;4794:26;4774:18;;;4767:54;4838:18;;1778:91:0;4514:348:1;1778:91:0;-1:-1:-1;;;;;1887:13:0;;;;;;:6;:13;;;;;:20;:25;1879:34;;;;;;-1:-1:-1;;;;;1923:13:0;;;;;1946:1;1923:13;;;;;;;;:24;1599:355::o;4373:144::-;4428:19;4477:9;4487:17;:15;:17::i;:::-;4477:28;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;;4463:47;;4373:144;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;683:309::-;742:6;795:2;783:9;774:7;770:23;766:32;763:52;;;811:1;808;801:12;763:52;850:9;837:23;-1:-1:-1;;;;;893:5:1;889:54;882:5;879:65;869:93;;958:1;955;948:12;869:93;981:5;683:309;-1:-1:-1;;;683:309:1:o;2508:127::-;2569:10;2564:3;2560:20;2557:1;2550:31;2600:4;2597:1;2590:15;2624:4;2621:1;2614:15;2640:127;2701:10;2696:3;2692:20;2689:1;2682:31;2732:4;2729:1;2722:15;2756:4;2753:1;2746:15;2772:128;2812:3;2843:1;2839:6;2836:1;2833:13;2830:39;;;2849:18;;:::i;:::-;-1:-1:-1;2885:9:1;;2772:128::o;3965:135::-;4004:3;-1:-1:-1;;4025:17:1;;4022:43;;;4045:18;;:::i;:::-;-1:-1:-1;4092:1:1;4081:13;;3965:135::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "387200", | |
"executionCost": "infinite", | |
"totalCost": "infinite" | |
}, | |
"external": { | |
"chairperson()": "2382", | |
"delegate(address)": "infinite", | |
"giveRightToVote(address)": "29057", | |
"proposals(uint256)": "6743", | |
"vote(uint256)": "79501", | |
"voters(address)": "6895", | |
"winnerName()": "infinite", | |
"winningProposal()": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"chairperson()": "2e4176cf", | |
"delegate(address)": "5c19a95c", | |
"giveRightToVote(address)": "9e7b8d61", | |
"proposals(uint256)": "013cf08b", | |
"vote(uint256)": "0121b93f", | |
"voters(address)": "a3ec138d", | |
"winnerName()": "e2ba53f0", | |
"winningProposal()": "609ff1bd" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32[]", | |
"name": "proposalNames", | |
"type": "bytes32[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "chairperson", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
} | |
], | |
"name": "delegate", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "voter", | |
"type": "address" | |
} | |
], | |
"name": "giveRightToVote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "proposals", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "voteCount", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "proposal", | |
"type": "uint256" | |
} | |
], | |
"name": "vote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "voters", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "weight", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "voted", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "address", | |
"name": "delegate", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "vote", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "winnerName", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "winnerName_", | |
"type": "bytes32" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "winningProposal", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "winningProposal_", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32[]", | |
"name": "proposalNames", | |
"type": "bytes32[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "chairperson", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
} | |
], | |
"name": "delegate", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "voter", | |
"type": "address" | |
} | |
], | |
"name": "giveRightToVote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "proposals", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "voteCount", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "proposal", | |
"type": "uint256" | |
} | |
], | |
"name": "vote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "voters", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "weight", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "voted", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "address", | |
"name": "delegate", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "vote", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "winnerName", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "winnerName_", | |
"type": "bytes32" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "winningProposal", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "winningProposal_", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"details": "Implements voting process along with vote delegation", | |
"kind": "dev", | |
"methods": { | |
"constructor": { | |
"details": "Create a new ballot to choose one of 'proposalNames'.", | |
"params": { | |
"proposalNames": "names of proposals" | |
} | |
}, | |
"delegate(address)": { | |
"details": "Delegate your vote to the voter 'to'.", | |
"params": { | |
"to": "address to which vote is delegated" | |
} | |
}, | |
"giveRightToVote(address)": { | |
"details": "Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.", | |
"params": { | |
"voter": "address of voter" | |
} | |
}, | |
"vote(uint256)": { | |
"details": "Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.", | |
"params": { | |
"proposal": "index of proposal in the proposals array" | |
} | |
}, | |
"winnerName()": { | |
"details": "Calls winningProposal() function to get the index of the winner contained in the proposals array and then", | |
"returns": { | |
"winnerName_": "the name of the winner" | |
} | |
}, | |
"winningProposal()": { | |
"details": "Computes the winning proposal taking all previous votes into account.", | |
"returns": { | |
"winningProposal_": "index of winning proposal in the proposals array" | |
} | |
} | |
}, | |
"title": "Ballot", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/3_Ballot.sol": "Ballot" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/3_Ballot.sol": { | |
"keccak256": "0xdd897b48a563d1d32369fdb327187dfcd2660159cfcd3787196bb6be6a312c8d", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://551d7a6d3e2abc66a7b37fbd8b0e4c07b43c72c3b55958e66ac421348311fed4", | |
"dweb:/ipfs/Qmd4XV9j79GPfv5cgVsg62vKzaLuf6igx7VSW2BKaUyF3w" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"details": "Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.", | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/Context.sol": "Context" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/Context.sol": { | |
"keccak256": "0x45cb9d70dc84e6f4ec8202a58599a881421174348e0fd4400a99a22678aa7913", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://640ea1ba9707020a73d52eb62afcc682aa0a502e61378ff2e3ed7be701afcaaf", | |
"dweb:/ipfs/QmPup8KPcQQXcz4qz9r1G4ks7bv8jLqrcWNruZyXTto6qy" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cf7420fb01bceb997584abc08f16cbeb626b2b200bfe14fd56280e79a34efbbd64736f6c63430008090033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCF PUSH21 0x20FB01BCEB997584ABC08F16CBEB626B2B200BFE14 REVERT JUMP 0x28 0xE PUSH26 0xA34EFBBD64736F6C634300080900330000000000000000000000 ", | |
"sourceMap": "745:11368:0:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;745:11368:0;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cf7420fb01bceb997584abc08f16cbeb626b2b200bfe14fd56280e79a34efbbd64736f6c63430008090033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCF PUSH21 0x20FB01BCEB997584ABC08F16CBEB626B2B200BFE14 REVERT JUMP 0x28 0xE PUSH26 0xA34EFBBD64736F6C634300080900330000000000000000000000 ", | |
"sourceMap": "745:11368:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "103", | |
"totalCost": "17303" | |
}, | |
"internal": { | |
"_add(struct EnumerableSet.Set storage pointer,bytes32)": "infinite", | |
"_at(struct EnumerableSet.Set storage pointer,uint256)": "infinite", | |
"_contains(struct EnumerableSet.Set storage pointer,bytes32)": "infinite", | |
"_length(struct EnumerableSet.Set storage pointer)": "infinite", | |
"_remove(struct EnumerableSet.Set storage pointer,bytes32)": "infinite", | |
"_values(struct EnumerableSet.Set storage pointer)": "infinite", | |
"add(struct EnumerableSet.AddressSet storage pointer,address)": "infinite", | |
"add(struct EnumerableSet.Bytes32Set storage pointer,bytes32)": "infinite", | |
"add(struct EnumerableSet.UintSet storage pointer,uint256)": "infinite", | |
"at(struct EnumerableSet.AddressSet storage pointer,uint256)": "infinite", | |
"at(struct EnumerableSet.Bytes32Set storage pointer,uint256)": "infinite", | |
"at(struct EnumerableSet.UintSet storage pointer,uint256)": "infinite", | |
"contains(struct EnumerableSet.AddressSet storage pointer,address)": "infinite", | |
"contains(struct EnumerableSet.Bytes32Set storage pointer,bytes32)": "infinite", | |
"contains(struct EnumerableSet.UintSet storage pointer,uint256)": "infinite", | |
"length(struct EnumerableSet.AddressSet storage pointer)": "infinite", | |
"length(struct EnumerableSet.Bytes32Set storage pointer)": "infinite", | |
"length(struct EnumerableSet.UintSet storage pointer)": "infinite", | |
"remove(struct EnumerableSet.AddressSet storage pointer,address)": "infinite", | |
"remove(struct EnumerableSet.Bytes32Set storage pointer,bytes32)": "infinite", | |
"remove(struct EnumerableSet.UintSet storage pointer,uint256)": "infinite", | |
"values(struct EnumerableSet.AddressSet storage pointer)": "infinite", | |
"values(struct EnumerableSet.Bytes32Set storage pointer)": "infinite", | |
"values(struct EnumerableSet.UintSet storage pointer)": "infinite" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"details": "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. ``` 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.", | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/EnumerableSet.sol": "EnumerableSet" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/EnumerableSet.sol": { | |
"keccak256": "0xb4b606ff5dbb4e6e0634a5171f5d2565a19a6e4776adb9116c007e99508eb7f8", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://eba85b060d232d63ece4503357c44082cd9b2e4745ca6c0c18d3a14cd9ff97ff", | |
"dweb:/ipfs/QmanoyG9o8p2t58nj8oxNdqEYyRqfJUWDvvZBftRi2P9KR" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"approveAdmin(address)": "6d73e669", | |
"getAdmins()": "31ae450b", | |
"isAdmin(address)": "24d7806c", | |
"revokeAdmin(address)": "2d345670", | |
"supportsInterface(bytes4)": "01ffc9a7" | |
} | |
}, | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "AdminApproved", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "AdminRevoked", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "approveAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getAdmins", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "isAdmin", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "revokeAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "interfaceId", | |
"type": "bytes4" | |
} | |
], | |
"name": "supportsInterface", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "AdminApproved", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
} | |
], | |
"name": "AdminRevoked", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "approveAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getAdmins", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "isAdmin", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "revokeAdmin", | |
"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": "Interface for admin control", | |
"kind": "dev", | |
"methods": { | |
"approveAdmin(address)": { | |
"details": "add an admin. Can only be called by contract owner." | |
}, | |
"getAdmins()": { | |
"details": "gets address of all admins" | |
}, | |
"isAdmin(address)": { | |
"details": "checks whether or not given address is an admin Returns True if they are" | |
}, | |
"revokeAdmin(address)": { | |
"details": "remove an admin. Can only be called by contract owner." | |
}, | |
"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": { | |
"contracts/IAdminControl.sol": "IAdminControl" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"@openzeppelin/contracts/utils/introspection/IERC165.sol": { | |
"keccak256": "0x6aa521718bf139b44ce56f194f6aea1d590cacef995b5a84703fb1579fa49be9", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://100f8d367b5e94eb9cb991914f1de133cf272654c0708faa893bbc17a5b35b93", | |
"dweb:/ipfs/QmZeBojmgXq821dL1TJKFb58B1FogM9jL3u7hXQ8hTEBKT" | |
] | |
}, | |
"contracts/IAdminControl.sol": { | |
"keccak256": "0x7cc2e4e7d9052532f445e62ec1fa2f05cc0f5d1d8ee1fea913b43a132277bf2f", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://266618317d0654fe209b5450b8b5afa3a4a8d41294a2b37ddbae540099859887", | |
"dweb:/ipfs/QmYksDqoxhachoqZquXGtjfiuAWJ1rxAKLtUYPL3YboBkE" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"supportsInterface(bytes4)": "01ffc9a7" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "interfaceId", | |
"type": "bytes4" | |
} | |
], | |
"name": "supportsInterface", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"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": { | |
"contracts/IERC165.sol": "IERC165" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/IERC165.sol": { | |
"keccak256": "0xf09ac5164ff53811c21c1a05f01ca2b1c91edace33903c767d432b68d92dc587", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://6eb4595b183a284785cfb2ad533f52a35cca59bbce92e682479b29157fdbe63d", | |
"dweb:/ipfs/QmfAgJjE7uj73mLaYjqBE5ba5GanWKFyLEG4qmuYxbZ9zR" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"onERC721Received(address,address,uint256,bytes)": "150b7a02" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "operator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "data", | |
"type": "bytes" | |
} | |
], | |
"name": "onERC721Received", | |
"outputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "", | |
"type": "bytes4" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "operator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "data", | |
"type": "bytes" | |
} | |
], | |
"name": "onERC721Received", | |
"outputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "", | |
"type": "bytes4" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"details": "Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.", | |
"kind": "dev", | |
"methods": { | |
"onERC721Received(address,address,uint256,bytes)": { | |
"details": "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 `IERC721.onERC721Received.selector`." | |
} | |
}, | |
"title": "ERC721 token receiver interface", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/IERC721Receiver.sol": "IERC721Receiver" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/IERC721Receiver.sol": { | |
"keccak256": "0x6966b756b6d90da4d2014ef4298db04cb6807b7b413166b176ac09c4276577ed", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://db58a756be7c96dbcd09cb0ef76e61e3e1fb482811072e383ff041af45db47f9", | |
"dweb:/ipfs/QmdSMgcBmwPRRomyykpoPWapaufEMRwFKNbBp1287rSdiB" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": { | |
"@_40": { | |
"entryPoint": null, | |
"id": 40, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
} | |
}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50600080546001600160a01b0319163390811782556040519091907f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735908290a36101918061005f6000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063893d20e81461003b578063a6f9dae11461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461012b565b61006f565b005b6000546001600160a01b031633146100c35760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1037bbb732b960691b604482015260640160405180910390fd5b600080546040516001600160a01b03808516939216917f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73591a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60006020828403121561013d57600080fd5b81356001600160a01b038116811461015457600080fd5b939250505056fea2646970667358221220639fc231ac78130dbf945205b0df31d96d3b62089222ca5a602994f56f5beab564736f6c63430008090033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER SWAP1 DUP2 OR DUP3 SSTORE PUSH1 0x40 MLOAD SWAP1 SWAP2 SWAP1 PUSH32 0x342827C97908E5E2F71151C08502A66D44B6F758E3AC2F1DE95F02EB95F0A735 SWAP1 DUP3 SWAP1 LOG3 PUSH2 0x191 DUP1 PUSH2 0x5F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x893D20E8 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xA6F9DAE1 EQ PUSH2 0x5A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x6D PUSH2 0x68 CALLDATASIZE PUSH1 0x4 PUSH2 0x12B JUMP JUMPDEST PUSH2 0x6F JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xC3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x21B0B63632B91034B9903737BA1037BBB732B9 PUSH1 0x69 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND SWAP4 SWAP3 AND SWAP2 PUSH32 0x342827C97908E5E2F71151C08502A66D44B6F758E3AC2F1DE95F02EB95F0A735 SWAP2 LOG3 PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x154 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH4 0x9FC231AC PUSH25 0x130DBF945205B0DF31D96D3B62089222CA5A602994F56F5BEA 0xB5 PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", | |
"sourceMap": "121:1361:0:-:0;;;923:170;;;;;;;;;-1:-1:-1;947:5:0;:18;;-1:-1:-1;;;;;;947:18:0;955:10;947:18;;;;;1059:27;;955:10;;947:5;1059:27;;947:5;;1059:27;121:1361;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@changeOwner_58": { | |
"entryPoint": 111, | |
"id": 58, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@getOwner_67": { | |
"entryPoint": null, | |
"id": 67, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_address": { | |
"entryPoint": 299, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:904:1", | |
"statements": [ | |
{ | |
"nodeType": "YulBlock", | |
"src": "6:3:1", | |
"statements": [] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "115:125:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "125:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "137:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "148:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "133:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "133:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "125:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "167:9:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "182:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "190:42:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "178:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "178:55:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "160:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "160:74:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "160:74:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "84:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "95:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "106:4:1", | |
"type": "" | |
} | |
], | |
"src": "14:226:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "315:239:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "361:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "370:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "373:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "363:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "363:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "363:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "336:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "345:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "332:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "332:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "357:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "328:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "328:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "325:52:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "386:36:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "412:9:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "399:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "399:23:1" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "390:5:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "508:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "517:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "520:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "510:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "510:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "510:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "444:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "455:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "462:42:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "451:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "451:54:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "441:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "441:65:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "434:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "434:73:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "431:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "533:15:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "543:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "533:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "281:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "292:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "304:6:1", | |
"type": "" | |
} | |
], | |
"src": "245:309:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "733:169:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "750:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "761:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "743:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "743:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "743:21:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "784:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "795:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "780:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "780:18:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "800:2:1", | |
"type": "", | |
"value": "19" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "773:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "773:30:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "773:30:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "823:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "834:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "819:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "819:18:1" | |
}, | |
{ | |
"hexValue": "43616c6c6572206973206e6f74206f776e6572", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "839:21:1", | |
"type": "", | |
"value": "Caller is not owner" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "812:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "812:49:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "812:49:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "870:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "882:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "893:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "878:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "878:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "870:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "710:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "724:4:1", | |
"type": "" | |
} | |
], | |
"src": "559:343:1" | |
} | |
] | |
}, | |
"contents": "{\n { }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 19)\n mstore(add(headStart, 64), \"Caller is not owner\")\n tail := add(headStart, 96)\n }\n}", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50600436106100365760003560e01c8063893d20e81461003b578063a6f9dae11461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461012b565b61006f565b005b6000546001600160a01b031633146100c35760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1037bbb732b960691b604482015260640160405180910390fd5b600080546040516001600160a01b03808516939216917f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73591a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60006020828403121561013d57600080fd5b81356001600160a01b038116811461015457600080fd5b939250505056fea2646970667358221220639fc231ac78130dbf945205b0df31d96d3b62089222ca5a602994f56f5beab564736f6c63430008090033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x893D20E8 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xA6F9DAE1 EQ PUSH2 0x5A JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x6D PUSH2 0x68 CALLDATASIZE PUSH1 0x4 PUSH2 0x12B JUMP JUMPDEST PUSH2 0x6F JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xC3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x21B0B63632B91034B9903737BA1037BBB732B9 PUSH1 0x69 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND SWAP4 SWAP3 AND SWAP2 PUSH32 0x342827C97908E5E2F71151C08502A66D44B6F758E3AC2F1DE95F02EB95F0A735 SWAP2 LOG3 PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x154 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH4 0x9FC231AC PUSH25 0x130DBF945205B0DF31D96D3B62089222CA5A602994F56F5BEA 0xB5 PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", | |
"sourceMap": "121:1361:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1399:81;1442:7;1468:5;1399:81;;;-1:-1:-1;;;;;1468:5:0;;;160:74:1;;1399:81:0;;;;;148:2:1;1399:81:0;;;1184:127;;;;;;:::i;:::-;;:::i;:::-;;;807:5;;-1:-1:-1;;;;;807:5:0;793:10;:19;785:51;;;;-1:-1:-1;;;785:51:0;;761:2:1;785:51:0;;;743:21:1;800:2;780:18;;;773:30;-1:-1:-1;;;819:18:1;;;812:49;878:18;;785:51:0;;;;;;;;1262:5:::1;::::0;;1253:25:::1;::::0;-1:-1:-1;;;;;1253:25:0;;::::1;::::0;1262:5;::::1;::::0;1253:25:::1;::::0;::::1;1288:5;:16:::0;;-1:-1:-1;;1288:16:0::1;-1:-1:-1::0;;;;;1288:16:0;;;::::1;::::0;;;::::1;::::0;;1184:127::o;245:309:1:-;304:6;357:2;345:9;336:7;332:23;328:32;325:52;;;373:1;370;363:12;325:52;412:9;399:23;-1:-1:-1;;;;;455:5:1;451:54;444:5;441:65;431:93;;520:1;517;510:12;431:93;543:5;245:309;-1:-1:-1;;;245:309:1:o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "80200", | |
"executionCost": "25897", | |
"totalCost": "106097" | |
}, | |
"external": { | |
"changeOwner(address)": "30318", | |
"getOwner()": "2270" | |
} | |
}, | |
"methodIdentifiers": { | |
"changeOwner(address)": "a6f9dae1", | |
"getOwner()": "893d20e8" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "oldOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnerSet", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "changeOwner", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getOwner", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "oldOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnerSet", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "changeOwner", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getOwner", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"details": "Set & change owner", | |
"kind": "dev", | |
"methods": { | |
"changeOwner(address)": { | |
"details": "Change owner", | |
"params": { | |
"newOwner": "address of new owner" | |
} | |
}, | |
"constructor": { | |
"details": "Set contract deployer as owner" | |
}, | |
"getOwner()": { | |
"details": "Return owner address ", | |
"returns": { | |
"_0": "address of owner" | |
} | |
} | |
}, | |
"title": "Owner", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/2_Owner.sol": "Owner" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/2_Owner.sol": { | |
"keccak256": "0x1e624ada939528fff73575187024d951aa6d33d4cbaad97ecf1f3e2a7d717583", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://e3f3c6ab93acd1a8bd389f852149d59b6d713efc51458ff95bba42c3329fb0d1", | |
"dweb:/ipfs/QmP7NEPrSbYRM4DzpJ31YUC2KNXUX4USuQk3jMNRUdzVyV" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"details": "Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].", | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/ReentrancyGuard.sol": "ReentrancyGuard" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/ReentrancyGuard.sol": { | |
"keccak256": "0xa3de7ee67b6a2fe8f053336ddc59d6b3b1473998e59a8cca42711a7585bcf47e", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://a86125fa39ac28cc81edf93551294946940689dfe2e97eb5c20a6f3a4b09c43b", | |
"dweb:/ipfs/QmaCBUcLLnsPfG2BVJN6ckZ2uY57QgBFZWXJ3vC71F83X3" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "6080604052348015600f57600080fd5b5060ac8061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80632e64cec11460375780636057361d14604c575b600080fd5b60005460405190815260200160405180910390f35b605c6057366004605e565b600055565b005b600060208284031215606f57600080fd5b503591905056fea2646970667358221220bb78f73fa5dc1378e5b0e4f7ccbba7070f75fca7d2e3c38548a0a71ddc16514864736f6c63430008090033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0xAC DUP1 PUSH2 0x1E PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x32 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH1 0x37 JUMPI DUP1 PUSH4 0x6057361D EQ PUSH1 0x4C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x5C PUSH1 0x57 CALLDATASIZE PUSH1 0x4 PUSH1 0x5E JUMP JUMPDEST PUSH1 0x0 SSTORE JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH1 0x6F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBB PUSH25 0xF73FA5DC1378E5B0E4F7CCBBA7070F75FCA7D2E3C38548A0A7 SAR 0xDC AND MLOAD BASEFEE PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", | |
"sourceMap": "141:356:0:-:0;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@retrieve_24": { | |
"entryPoint": null, | |
"id": 24, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@store_15": { | |
"entryPoint": null, | |
"id": 15, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"abi_decode_tuple_t_uint256": { | |
"entryPoint": 94, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:378:1", | |
"statements": [ | |
{ | |
"nodeType": "YulBlock", | |
"src": "6:3:1", | |
"statements": [] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "115:76:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "125:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "137:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "148:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "133:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "133:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "125:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "167:9:1" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "178:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "160:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "160:25:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "160:25:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "84:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "95:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "106:4:1", | |
"type": "" | |
} | |
], | |
"src": "14:177:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "266:110:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "312:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "321:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "324:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "314:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "314:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "314:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "287:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "296:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "283:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "283:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "308:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "279:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "279:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "276:52:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "337:33:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "360:9:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "347:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "347:23:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "337:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "232:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "243:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "255:6:1", | |
"type": "" | |
} | |
], | |
"src": "196:180:1" | |
} | |
] | |
}, | |
"contents": "{\n { }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n}", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "6080604052348015600f57600080fd5b506004361060325760003560e01c80632e64cec11460375780636057361d14604c575b600080fd5b60005460405190815260200160405180910390f35b605c6057366004605e565b600055565b005b600060208284031215606f57600080fd5b503591905056fea2646970667358221220bb78f73fa5dc1378e5b0e4f7ccbba7070f75fca7d2e3c38548a0a71ddc16514864736f6c63430008090033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x32 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH1 0x37 JUMPI DUP1 PUSH4 0x6057361D EQ PUSH1 0x4C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x5C PUSH1 0x57 CALLDATASIZE PUSH1 0x4 PUSH1 0x5E JUMP JUMPDEST PUSH1 0x0 SSTORE JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH1 0x6F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBB PUSH25 0xF73FA5DC1378E5B0E4F7CCBBA7070F75FCA7D2E3C38548A0A7 SAR 0xDC AND MLOAD BASEFEE PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", | |
"sourceMap": "141:356:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;416:79;457:7;482:6;416:79;;160:25:1;;;148:2;133:18;416:79:0;;;;;;;271:64;;;;;;:::i;:::-;316:6;:12;271:64;;;196:180:1;255:6;308:2;296:9;287:7;283:23;279:32;276:52;;;324:1;321;314:12;276:52;-1:-1:-1;347:23:1;;196:180;-1:-1:-1;196:180:1:o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "34400", | |
"executionCost": "87", | |
"totalCost": "34487" | |
}, | |
"external": { | |
"retrieve()": "2246", | |
"store(uint256)": "22312" | |
} | |
}, | |
"methodIdentifiers": { | |
"retrieve()": "2e64cec1", | |
"store(uint256)": "6057361d" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "retrieve", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "num", | |
"type": "uint256" | |
} | |
], | |
"name": "store", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "retrieve", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "num", | |
"type": "uint256" | |
} | |
], | |
"name": "store", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"details": "Store & retrieve value in a variable", | |
"kind": "dev", | |
"methods": { | |
"retrieve()": { | |
"details": "Return value ", | |
"returns": { | |
"_0": "value of 'number'" | |
} | |
}, | |
"store(uint256)": { | |
"details": "Store value in variable", | |
"params": { | |
"num": "value to store" | |
} | |
} | |
}, | |
"title": "Storage", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/1_Storage.sol": "Storage" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/1_Storage.sol": { | |
"keccak256": "0xb6ee9d528b336942dd70d3b41e2811be10a473776352009fd73f85604f5ed206", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://fe52c6e3c04ba5d83ede6cc1a43c45fa43caa435b207f64707afb17d3af1bcf1", | |
"dweb:/ipfs/QmawU3NM1WNWkBauRudYCiFvuFE1tTLHB98akyBvb9UWwA" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220535352766e5db1f15932f0eb1d9a228faa0c9fd8509f157dc94729e1e808113664736f6c63430008090033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MSTORE8 MSTORE8 MSTORE PUSH23 0x6E5DB1F15932F0EB1D9A228FAA0C9FD8509F157DC94729 0xE1 0xE8 ADDMOD GT CALLDATASIZE PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", | |
"sourceMap": "93:1885:0:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;93:1885:0;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220535352766e5db1f15932f0eb1d9a228faa0c9fd8509f157dc94729e1e808113664736f6c63430008090033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MSTORE8 MSTORE8 MSTORE PUSH23 0x6E5DB1F15932F0EB1D9A228FAA0C9FD8509F157DC94729 0xE1 0xE8 ADDMOD GT CALLDATASIZE PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", | |
"sourceMap": "93:1885:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "103", | |
"totalCost": "17303" | |
}, | |
"internal": { | |
"toHexString(uint256)": "infinite", | |
"toHexString(uint256,uint256)": "infinite", | |
"toString(uint256)": "infinite" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.9+commit.e5eed63a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"details": "String operations.", | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/Strings.sol": "Strings" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": true, | |
"runs": 300 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/Strings.sol": { | |
"keccak256": "0x680df08ddcc0584a8172db776bffd1753c893c13bcd18b928e22027ae441b000", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://637df747e24b006779e7c945cb0f979c60bbd861bae42254b9814762c0dfba4f", | |
"dweb:/ipfs/QmPChjSFzHTESQsNycgZ7mPG8Xd31hcZKaTN2VLbiAngC9" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available | |
* via msg.sender and msg.data, they should not be accessed in such a direct | |
* manner, since when dealing with meta-transactions the account sending and | |
* paying for execution may not be the actual sender (as far as an application | |
* is concerned). | |
* | |
* This contract is only required for intermediate, library-like contracts. | |
*/ | |
abstract contract Context { | |
function _msgSender() internal view virtual returns (address) { | |
return msg.sender; | |
} | |
function _msgData() internal view virtual returns (bytes calldata) { | |
return msg.data; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
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. | |
* | |
* ``` | |
* 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. | |
*/ | |
library EnumerableSet { | |
// 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) { | |
return _values(set._inner); | |
} | |
// 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; | |
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 on 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; | |
assembly { | |
result := store | |
} | |
return result; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "./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); | |
* } | |
* ``` | |
* | |
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. | |
*/ | |
abstract contract ERC165 is IERC165 { | |
/** | |
* @dev See {IERC165-supportsInterface}. | |
*/ | |
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { | |
return interfaceId == type(IERC165).interfaceId; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "./IERC721.sol"; | |
import "./IERC721Receiver.sol"; | |
import "./extensions/IERC721Metadata.sol"; | |
import "../../utils/Address.sol"; | |
import "../../utils/Context.sol"; | |
import "../../utils/Strings.sol"; | |
import "../../utils/introspection/ERC165.sol"; | |
/** | |
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including | |
* the Metadata extension, but not including the Enumerable extension, which is available separately as | |
* {ERC721Enumerable}. | |
*/ | |
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { | |
using Address for address; | |
using Strings for uint256; | |
// Token name | |
string private _name; | |
// Token symbol | |
string private _symbol; | |
// Mapping from token ID to owner address | |
mapping(uint256 => address) private _owners; | |
// Mapping owner address to token count | |
mapping(address => uint256) private _balances; | |
// Mapping from token ID to approved address | |
mapping(uint256 => address) private _tokenApprovals; | |
// Mapping from owner to operator approvals | |
mapping(address => mapping(address => bool)) private _operatorApprovals; | |
/** | |
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. | |
*/ | |
constructor(string memory name_, string memory symbol_) { | |
_name = name_; | |
_symbol = symbol_; | |
} | |
/** | |
* @dev See {IERC165-supportsInterface}. | |
*/ | |
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { | |
return | |
interfaceId == type(IERC721).interfaceId || | |
interfaceId == type(IERC721Metadata).interfaceId || | |
super.supportsInterface(interfaceId); | |
} | |
/** | |
* @dev See {IERC721-balanceOf}. | |
*/ | |
function balanceOf(address owner) public view virtual override returns (uint256) { | |
require(owner != address(0), "ERC721: balance query for the zero address"); | |
return _balances[owner]; | |
} | |
/** | |
* @dev See {IERC721-ownerOf}. | |
*/ | |
function ownerOf(uint256 tokenId) public view virtual override returns (address) { | |
address owner = _owners[tokenId]; | |
require(owner != address(0), "ERC721: owner query for nonexistent token"); | |
return owner; | |
} | |
/** | |
* @dev See {IERC721Metadata-name}. | |
*/ | |
function name() public view virtual override returns (string memory) { | |
return _name; | |
} | |
/** | |
* @dev See {IERC721Metadata-symbol}. | |
*/ | |
function symbol() public view virtual override returns (string memory) { | |
return _symbol; | |
} | |
/** | |
* @dev See {IERC721Metadata-tokenURI}. | |
*/ | |
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { | |
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); | |
string memory baseURI = _baseURI(); | |
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; | |
} | |
/** | |
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each | |
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty | |
* by default, can be overriden in child contracts. | |
*/ | |
function _baseURI() internal view virtual returns (string memory) { | |
return ""; | |
} | |
/** | |
* @dev See {IERC721-approve}. | |
*/ | |
function approve(address to, uint256 tokenId) public virtual override { | |
address owner = ERC721.ownerOf(tokenId); | |
require(to != owner, "ERC721: approval to current owner"); | |
require( | |
_msgSender() == owner || isApprovedForAll(owner, _msgSender()), | |
"ERC721: approve caller is not owner nor approved for all" | |
); | |
_approve(to, tokenId); | |
} | |
/** | |
* @dev See {IERC721-getApproved}. | |
*/ | |
function getApproved(uint256 tokenId) public view virtual override returns (address) { | |
require(_exists(tokenId), "ERC721: approved query for nonexistent token"); | |
return _tokenApprovals[tokenId]; | |
} | |
/** | |
* @dev See {IERC721-setApprovalForAll}. | |
*/ | |
function setApprovalForAll(address operator, bool approved) public virtual override { | |
require(operator != _msgSender(), "ERC721: approve to caller"); | |
_operatorApprovals[_msgSender()][operator] = approved; | |
emit ApprovalForAll(_msgSender(), operator, approved); | |
} | |
/** | |
* @dev See {IERC721-isApprovedForAll}. | |
*/ | |
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { | |
return _operatorApprovals[owner][operator]; | |
} | |
/** | |
* @dev See {IERC721-transferFrom}. | |
*/ | |
function transferFrom( | |
address from, | |
address to, | |
uint256 tokenId | |
) public virtual override { | |
//solhint-disable-next-line max-line-length | |
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); | |
_transfer(from, to, tokenId); | |
} | |
/** | |
* @dev See {IERC721-safeTransferFrom}. | |
*/ | |
function safeTransferFrom( | |
address from, | |
address to, | |
uint256 tokenId | |
) public virtual override { | |
safeTransferFrom(from, to, tokenId, ""); | |
} | |
/** | |
* @dev See {IERC721-safeTransferFrom}. | |
*/ | |
function safeTransferFrom( | |
address from, | |
address to, | |
uint256 tokenId, | |
bytes memory _data | |
) public virtual override { | |
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); | |
_safeTransfer(from, to, tokenId, _data); | |
} | |
/** | |
* @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. | |
* | |
* `_data` is additional data, it has no specified format and it is sent in call to `to`. | |
* | |
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. | |
* implement alternative mechanisms to perform token transfer, such as signature-based. | |
* | |
* Requirements: | |
* | |
* - `from` cannot be the zero address. | |
* - `to` cannot be the zero address. | |
* - `tokenId` token must exist and be owned by `from`. | |
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _safeTransfer( | |
address from, | |
address to, | |
uint256 tokenId, | |
bytes memory _data | |
) internal virtual { | |
_transfer(from, to, tokenId); | |
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); | |
} | |
/** | |
* @dev Returns whether `tokenId` exists. | |
* | |
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. | |
* | |
* Tokens start existing when they are minted (`_mint`), | |
* and stop existing when they are burned (`_burn`). | |
*/ | |
function _exists(uint256 tokenId) internal view virtual returns (bool) { | |
return _owners[tokenId] != address(0); | |
} | |
/** | |
* @dev Returns whether `spender` is allowed to manage `tokenId`. | |
* | |
* Requirements: | |
* | |
* - `tokenId` must exist. | |
*/ | |
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { | |
require(_exists(tokenId), "ERC721: operator query for nonexistent token"); | |
address owner = ERC721.ownerOf(tokenId); | |
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); | |
} | |
/** | |
* @dev Safely mints `tokenId` and transfers it to `to`. | |
* | |
* Requirements: | |
* | |
* - `tokenId` must not exist. | |
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _safeMint(address to, uint256 tokenId) internal virtual { | |
_safeMint(to, tokenId, ""); | |
} | |
/** | |
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is | |
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients. | |
*/ | |
function _safeMint( | |
address to, | |
uint256 tokenId, | |
bytes memory _data | |
) internal virtual { | |
_mint(to, tokenId); | |
require( | |
_checkOnERC721Received(address(0), to, tokenId, _data), | |
"ERC721: transfer to non ERC721Receiver implementer" | |
); | |
} | |
/** | |
* @dev Mints `tokenId` and transfers it to `to`. | |
* | |
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible | |
* | |
* Requirements: | |
* | |
* - `tokenId` must not exist. | |
* - `to` cannot be the zero address. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _mint(address to, uint256 tokenId) internal virtual { | |
require(to != address(0), "ERC721: mint to the zero address"); | |
require(!_exists(tokenId), "ERC721: token already minted"); | |
_beforeTokenTransfer(address(0), to, tokenId); | |
_balances[to] += 1; | |
_owners[tokenId] = to; | |
emit Transfer(address(0), to, tokenId); | |
} | |
/** | |
* @dev Destroys `tokenId`. | |
* The approval is cleared when the token is burned. | |
* | |
* Requirements: | |
* | |
* - `tokenId` must exist. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _burn(uint256 tokenId) internal virtual { | |
address owner = ERC721.ownerOf(tokenId); | |
_beforeTokenTransfer(owner, address(0), tokenId); | |
// Clear approvals | |
_approve(address(0), tokenId); | |
_balances[owner] -= 1; | |
delete _owners[tokenId]; | |
emit Transfer(owner, address(0), tokenId); | |
} | |
/** | |
* @dev Transfers `tokenId` from `from` to `to`. | |
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender. | |
* | |
* Requirements: | |
* | |
* - `to` cannot be the zero address. | |
* - `tokenId` token must be owned by `from`. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function _transfer( | |
address from, | |
address to, | |
uint256 tokenId | |
) internal virtual { | |
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); | |
require(to != address(0), "ERC721: transfer to the zero address"); | |
_beforeTokenTransfer(from, to, tokenId); | |
// Clear approvals from the previous owner | |
_approve(address(0), tokenId); | |
_balances[from] -= 1; | |
_balances[to] += 1; | |
_owners[tokenId] = to; | |
emit Transfer(from, to, tokenId); | |
} | |
/** | |
* @dev Approve `to` to operate on `tokenId` | |
* | |
* Emits a {Approval} event. | |
*/ | |
function _approve(address to, uint256 tokenId) internal virtual { | |
_tokenApprovals[tokenId] = to; | |
emit Approval(ERC721.ownerOf(tokenId), to, tokenId); | |
} | |
/** | |
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. | |
* The call is not executed if the target address is not a contract. | |
* | |
* @param from address representing the previous owner of the given token ID | |
* @param to target address that will receive the tokens | |
* @param tokenId uint256 ID of the token to be transferred | |
* @param _data bytes optional data to send along with the call | |
* @return bool whether the call correctly returned the expected magic value | |
*/ | |
function _checkOnERC721Received( | |
address from, | |
address to, | |
uint256 tokenId, | |
bytes memory _data | |
) private returns (bool) { | |
if (to.isContract()) { | |
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { | |
return retval == IERC721Receiver.onERC721Received.selector; | |
} catch (bytes memory reason) { | |
if (reason.length == 0) { | |
revert("ERC721: transfer to non ERC721Receiver implementer"); | |
} else { | |
assembly { | |
revert(add(32, reason), mload(reason)) | |
} | |
} | |
} | |
} else { | |
return true; | |
} | |
} | |
/** | |
* @dev Hook that is called before any token transfer. This includes minting | |
* and burning. | |
* | |
* Calling conditions: | |
* | |
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be | |
* transferred to `to`. | |
* - When `from` is zero, `tokenId` will be minted for `to`. | |
* - When `to` is zero, ``from``'s `tokenId` will be burned. | |
* - `from` and `to` are never both zero. | |
* | |
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. | |
*/ | |
function _beforeTokenTransfer( | |
address from, | |
address to, | |
uint256 tokenId | |
) internal virtual {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/// @author: manifold.xyz | |
import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; | |
/** | |
* @dev Interface for admin control | |
*/ | |
interface IAdminControl is IERC165 { | |
event AdminApproved(address indexed account, address indexed sender); | |
event AdminRevoked(address indexed account, address indexed sender); | |
/** | |
* @dev gets address of all admins | |
*/ | |
function getAdmins() external view returns (address[] memory); | |
/** | |
* @dev add an admin. Can only be called by contract owner. | |
*/ | |
function approveAdmin(address admin) external; | |
/** | |
* @dev remove an admin. Can only be called by contract owner. | |
*/ | |
function revokeAdmin(address admin) external; | |
/** | |
* @dev checks whether or not given address is an admin | |
* Returns True if they are | |
*/ | |
function isAdmin(address admin) external view returns (bool); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
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 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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "../../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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. | |
* | |
* 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 Returns the account approved for `tokenId` token. | |
* | |
* Requirements: | |
* | |
* - `tokenId` must exist. | |
*/ | |
function getApproved(uint256 tokenId) external view returns (address operator); | |
/** | |
* @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 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); | |
/** | |
* @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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "../IERC721.sol"; | |
/** | |
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension | |
* @dev See https://eips.ethereum.org/EIPS/eip-721 | |
*/ | |
interface IERC721Metadata is IERC721 { | |
/** | |
* @dev Returns the token collection name. | |
*/ | |
function name() external view returns (string memory); | |
/** | |
* @dev Returns the token collection symbol. | |
*/ | |
function symbol() external view returns (string memory); | |
/** | |
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. | |
*/ | |
function tokenURI(uint256 tokenId) external view returns (string memory); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/** | |
* @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 `IERC721.onERC721Received.selector`. | |
*/ | |
function onERC721Received( | |
address operator, | |
address from, | |
uint256 tokenId, | |
bytes calldata data | |
) external returns (bytes4); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to | |
* specific functions. | |
* | |
* By default, the owner account will be the one that deploys the contract. This | |
* can later be changed with {transferOwnership}. | |
* | |
* This module is used through inheritance. It will make available the modifier | |
* `onlyOwner`, which can be applied to your functions to restrict their use to | |
* the owner. | |
*/ | |
abstract contract Ownable is Context { | |
address private _owner; | |
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); | |
/** | |
* @dev Initializes the contract setting the deployer as the initial owner. | |
*/ | |
constructor() { | |
_setOwner(_msgSender()); | |
} | |
/** | |
* @dev Returns the address of the current owner. | |
*/ | |
function owner() public view virtual returns (address) { | |
return _owner; | |
} | |
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
require(owner() == _msgSender(), "Ownable: caller is not the owner"); | |
_; | |
} | |
/** | |
* @dev Leaves the contract without owner. It will not be possible to call | |
* `onlyOwner` functions anymore. Can only be called by the current owner. | |
* | |
* NOTE: Renouncing ownership will leave the contract without an owner, | |
* thereby removing any functionality that is only available to the owner. | |
*/ | |
function renounceOwnership() public virtual onlyOwner { | |
_setOwner(address(0)); | |
} | |
/** | |
* @dev Transfers ownership of the contract to a new account (`newOwner`). | |
* Can only be called by the current owner. | |
*/ | |
function transferOwnership(address newOwner) public virtual onlyOwner { | |
require(newOwner != address(0), "Ownable: new owner is the zero address"); | |
_setOwner(newOwner); | |
} | |
function _setOwner(address newOwner) private { | |
address oldOwner = _owner; | |
_owner = newOwner; | |
emit OwnershipTransferred(oldOwner, newOwner); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Contract module that helps prevent reentrant calls to a function. | |
* | |
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier | |
* available, which can be applied to functions to make sure there are no nested | |
* (reentrant) calls to them. | |
* | |
* Note that because there is a single `nonReentrant` guard, functions marked as | |
* `nonReentrant` may not call one another. This can be worked around by making | |
* those functions `private`, and then adding `external` `nonReentrant` entry | |
* points to them. | |
* | |
* TIP: If you would like to learn more about reentrancy and alternative ways | |
* to protect against it, check out our blog post | |
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. | |
*/ | |
abstract contract ReentrancyGuard { | |
// Booleans are more expensive than uint256 or any type that takes up a full | |
// word because each write operation emits an extra SLOAD to first read the | |
// slot's contents, replace the bits taken up by the boolean, and then write | |
// back. This is the compiler's defense against contract upgrades and | |
// pointer aliasing, and it cannot be disabled. | |
// The values being non-zero value makes deployment a bit more expensive, | |
// but in exchange the refund on every call to nonReentrant will be lower in | |
// amount. Since refunds are capped to a percentage of the total | |
// transaction's gas, it is best to keep them low in cases like this one, to | |
// increase the likelihood of the full refund coming into effect. | |
uint256 private constant _NOT_ENTERED = 1; | |
uint256 private constant _ENTERED = 2; | |
uint256 private _status; | |
constructor() { | |
_status = _NOT_ENTERED; | |
} | |
/** | |
* @dev Prevents a contract from calling itself, directly or indirectly. | |
* Calling a `nonReentrant` function from another `nonReentrant` | |
* function is not supported. It is possible to prevent this from happening | |
* by making the `nonReentrant` function external, and make it call a | |
* `private` function that does the actual work. | |
*/ | |
modifier nonReentrant() { | |
// On the first call to nonReentrant, _notEntered will be true | |
require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); | |
// Any calls to nonReentrant after this point will fail | |
_status = _ENTERED; | |
_; | |
// By storing the original value once again, a refund is triggered (see | |
// https://eips.ethereum.org/EIPS/eip-2200) | |
_status = _NOT_ENTERED; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/** | |
* @dev String operations. | |
*/ | |
library Strings { | |
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; | |
/** | |
* @dev Converts a `uint256` to its ASCII `string` decimal representation. | |
*/ | |
function toString(uint256 value) internal pure returns (string memory) { | |
// Inspired by OraclizeAPI's implementation - MIT licence | |
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol | |
if (value == 0) { | |
return "0"; | |
} | |
uint256 temp = value; | |
uint256 digits; | |
while (temp != 0) { | |
digits++; | |
temp /= 10; | |
} | |
bytes memory buffer = new bytes(digits); | |
while (value != 0) { | |
digits -= 1; | |
buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); | |
value /= 10; | |
} | |
return string(buffer); | |
} | |
/** | |
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. | |
*/ | |
function toHexString(uint256 value) internal pure returns (string memory) { | |
if (value == 0) { | |
return "0x00"; | |
} | |
uint256 temp = value; | |
uint256 length = 0; | |
while (temp != 0) { | |
length++; | |
temp >>= 8; | |
} | |
return toHexString(value, length); | |
} | |
/** | |
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. | |
*/ | |
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { | |
bytes memory buffer = new bytes(2 * length + 2); | |
buffer[0] = "0"; | |
buffer[1] = "x"; | |
for (uint256 i = 2 * length + 1; i > 1; --i) { | |
buffer[i] = _HEX_SYMBOLS[value & 0xf]; | |
value >>= 4; | |
} | |
require(value == 0, "Strings: hex length insufficient"); | |
return string(buffer); | |
} | |
} |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": { | |
"@_255": { | |
"entryPoint": null, | |
"id": 255, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@_2595": { | |
"entryPoint": null, | |
"id": 2595, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@_355": { | |
"entryPoint": null, | |
"id": 355, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@_439": { | |
"entryPoint": null, | |
"id": 439, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@_msgSender_1677": { | |
"entryPoint": null, | |
"id": 1677, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@_transferOwnership_335": { | |
"entryPoint": 234, | |
"id": 335, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"extract_byte_array_length": { | |
"entryPoint": 482, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:396:16", | |
"statements": [ | |
{ | |
"nodeType": "YulBlock", | |
"src": "6:3:16", | |
"statements": [] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "69:325:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "79:22:16", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "93:1:16", | |
"type": "", | |
"value": "1" | |
}, | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "96:4:16" | |
} | |
], | |
"functionName": { | |
"name": "shr", | |
"nodeType": "YulIdentifier", | |
"src": "89:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "89:12:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "79:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "110:38:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "140:4:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "146:1:16", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "136:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "136:12:16" | |
}, | |
"variables": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulTypedName", | |
"src": "114:18:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "187:31:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "189:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "203:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "211:4:16", | |
"type": "", | |
"value": "0x7f" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "199:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "199:17:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "189:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "167:18:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "160:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "160:26:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "157:61:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "277:111:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "298:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "305:3:16", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "310:10:16", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "301:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "301:20:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "291:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "291:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "291:31:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "342:1:16", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "345:4:16", | |
"type": "", | |
"value": "0x22" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "335:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "335:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "335:15:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "370:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "373:4:16", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "363:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "363:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "363:15:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "233:18:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "256:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "264:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "253:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "253:14:16" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "230:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "230:38:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "227:161:16" | |
} | |
] | |
}, | |
"name": "extract_byte_array_length", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "49:4:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "58:6:16", | |
"type": "" | |
} | |
], | |
"src": "14:380:16" | |
} | |
] | |
}, | |
"contents": "{\n { }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}", | |
"id": 16, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"linkReferences": {}, | |
"object": "60806040523480156200001157600080fd5b506040805180820182526004808252634861746560e01b6020808401919091528351808501909452908352634841544560e01b908301526001600055906200005933620000ea565b81516200006e9060049060208501906200013c565b508051620000849060059060208401906200013c565b5050604080518082019091526004808252634861746560e01b6020909201918252620000b59250600e91906200013c565b50604080518082019091526004808252634841544560e01b6020909201918252620000e391600f916200013c565b506200021f565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014a90620001e2565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600181811c90821680620001f757607f821691505b602082108114156200021957634e487b7160e01b600052602260045260246000fd5b50919050565b612f49806200022f6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636352211e1161011a578063a923fc40116100ad578063bb3bafd61161007c578063bb3bafd61461046b578063c87b56dd1461048c578063db3e4c841461049f578063e985e9c5146104b2578063f2fde38b146104ee57600080fd5b8063a923fc4014610412578063b2c94ee614610425578063b88d4fde14610438578063b9c4d9fb1461044b57600080fd5b8063715018a6116100e9578063715018a6146103de5780638da5cb5b146103e657806395d89b41146103f7578063a22cb465146103ff57600080fd5b80636352211e146103845780636c2f5acd146103975780636d73e669146103aa57806370a08231146103bd57600080fd5b80632a55205a1161019257806344df8e701161016157806344df8e7014610343578063456dadd41461034b5780634c7bc5cf1461035e57806355fc98931461037157600080fd5b80632a55205a146102d65780632d3456701461030857806331ae450b1461031b57806342842e0e1461033057600080fd5b80630b6db14c116101ce5780630b6db14c1461027d5780630ebd4c7f1461029057806323b872dd146102b057806324d7806c146102c357600080fd5b806301ffc9a71461020057806306fdde0314610228578063081812fc1461023d578063095ea7b314610268575b600080fd5b61021361020e3660046125da565b610501565b60405190151581526020015b60405180910390f35b6102306105c2565b60405161021f919061264f565b61025061024b366004612662565b610654565b6040516001600160a01b03909116815260200161021f565b61027b610276366004612690565b6106ee565b005b61027b61028b366004612711565b610822565b6102a361029e366004612662565b610974565b60405161021f91906127a0565b61027b6102be3660046127b3565b6109d0565b6102136102d13660046127f4565b610a01565b6102e96102e4366004612811565b610a3a565b604080516001600160a01b03909316835260208301919091520161021f565b61027b6103163660046127f4565b610a75565b610323610b25565b60405161021f9190612833565b61027b61033e3660046127b3565b610bd4565b61027b610bef565b61027b610359366004612880565b610d16565b61027b61036c366004612880565b610fd8565b61027b61037f36600461292e565b61118d565b610250610392366004612662565b611202565b61027b6103a5366004612690565b611279565b61027b6103b83660046127f4565b6112e9565b6103d06103cb3660046127f4565b611393565b60405190815260200161021f565b61027b61141a565b6001546001600160a01b0316610250565b610230611480565b61027b61040d366004612970565b61148f565b61027b6104203660046129a5565b61149a565b61027b61043336600461292e565b611504565b61027b610446366004612a1b565b611579565b61045e610459366004612662565b6115b1565b60405161021f9190612b34565b61047e610479366004612662565b61162a565b60405161021f929190612b47565b61023061049a366004612662565b6116de565b61027b6104ad366004612880565b61186e565b6102136104c0366004612b75565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b61027b6104fc3660046127f4565b611971565b60006001600160e01b031982166399b4715360e01b148061053257506001600160e01b031982166380ac58cd60e01b145b80610541575061054182611a39565b80610550575061055082611a6e565b8061056b57506001600160e01b03198216635b5e139f60e01b145b8061058657506001600160e01b03198216635d9dd7eb60e11b145b806105a157506001600160e01b0319821663152a902d60e11b145b806105bc57506001600160e01b03198216632dde656160e21b145b92915050565b6060600e80546105d190612bae565b80601f01602080910402602001604051908101604052809291908181526020018280546105fd90612bae565b801561064a5780601f1061061f5761010080835404028352916020019161064a565b820191906000526020600020905b81548152906001019060200180831161062d57829003601f168201915b5050505050905090565b6000818152600660205260408120546001600160a01b03166106d25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006106f982611202565b9050806001600160a01b0316836001600160a01b031614156107675760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106c9565b336001600160a01b03821614806107a157506001600160a01b038116600090815260096020908152604080832033845290915290205460ff165b6108135760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106c9565b61081d8383611aae565b505050565b336108356001546001600160a01b031690565b6001600160a01b031614806108505750610850600233611b1c565b61086c5760405162461bcd60e51b81526004016106c990612be9565b600260005414156108bf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c9565b6002600055816109075760015b600a548111610901576000818152601060205260409020805460ff1916831515179055806108f981612c43565b9150506108cc565b5061096a565b60005b8281101561096857816010600086868581811061092957610929612c5e565b90506020020135815260200190815260200160002060006101000a81548160ff021916908315150217905550808061096090612c43565b91505061090a565b505b5050600160005550565b6012546060906001600160a01b0316156109cb576040805160018082528183019092529060208083019080368337019050509050601154816000815181106109be576109be612c5e565b6020026020010181815250505b919050565b6109da3382611b41565b6109f65760405162461bcd60e51b81526004016106c990612c74565b61081d838383611c48565b6000816001600160a01b0316610a1f6001546001600160a01b031690565b6001600160a01b031614806105bc57506105bc600283611b1c565b60125460115460009182916001600160a01b039091169061271090610a5f9086612cc5565b610a699190612cfa565b915091505b9250929050565b6001546001600160a01b03163314610acf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b610ada600282611b1c565b15610b225760405133906001600160a01b038316907f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d590600090a3610b20600282611df3565b505b50565b6060610b316002611e08565b67ffffffffffffffff811115610b4957610b49612a05565b604051908082528060200260200182016040528015610b72578160200160208202803683370190505b50905060005b610b826002611e08565b811015610bd057610b94600282611e12565b828281518110610ba657610ba6612c5e565b6001600160a01b039092166020928302919091019091015280610bc881612c43565b915050610b78565b5090565b61081d83838360405180602001604052806000815250611579565b33610c026001546001600160a01b031690565b6001600160a01b03161480610c1d5750610c1d600233611b1c565b610c395760405162461bcd60e51b81526004016106c990612be9565b60026000541415610c8c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c9565b600260005533610ca46001546001600160a01b031690565b6001600160a01b03161480610cbf5750610cbf600233611b1c565b610cdb5760405162461bcd60e51b81526004016106c990612be9565b60015b600a548111610d0e57610cfc610cf382611202565b61dead83611c48565b80610d0681612c43565b915050610cde565b506001600055565b33610d296001546001600160a01b031690565b6001600160a01b03161480610d445750610d44600233611b1c565b610d605760405162461bcd60e51b81526004016106c990612be9565b60026000541415610db35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c9565b60026000556001811480610dc657508083145b610e025760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016106c9565b6001811115610eca5760005b83811015610ec4576000838383818110610e2a57610e2a612c5e565b9050602002016020810190610e3f91906127f4565b9050806001600160a01b0316610e6c878785818110610e6057610e60612c5e565b90506020020135611202565b6001600160a01b031614610eb157610eb1610e92878785818110610e6057610e60612c5e565b82888886818110610ea557610ea5612c5e565b90506020020135611c48565b5080610ebc81612c43565b915050610e0e565b50610fcd565b600082826000818110610edf57610edf612c5e565b9050602002016020810190610ef491906127f4565b90508315610f775760005b84811015610f7157816001600160a01b0316610f26878784818110610e6057610e60612c5e565b6001600160a01b031614610f5f57610f5f610f4c878784818110610e6057610e60612c5e565b83888885818110610ea557610ea5612c5e565b80610f6981612c43565b915050610eff565b50610fcb565b60015b600a548111610fc957816001600160a01b0316610f9682611202565b6001600160a01b031614610fb757610fb7610fb082611202565b8383611c48565b80610fc181612c43565b915050610f7a565b505b505b505060016000555050565b33610feb6001546001600160a01b031690565b6001600160a01b031614806110065750611006600233611b1c565b6110225760405162461bcd60e51b81526004016106c990612be9565b600260005414156110755760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c9565b600260005580158061108657508281145b6110c25760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016106c9565b80151560005b84811015610fc957600a80549060006110e083612c43565b91905055506111178686838181106110fa576110fa612c5e565b905060200201602081019061110f91906127f4565b600a54611e1e565b600a546000908152601060205260409020805460ff19166001179055811561117b5783838281811061114b5761114b612c5e565b905060200281019061115d9190612d0e565b600a546000908152600b602052604090206111799290916124bb565b505b8061118581612c43565b9150506110c8565b336111a06001546001600160a01b031690565b6001600160a01b031614806111bb57506111bb600233611b1c565b6111d75760405162461bcd60e51b81526004016106c990612be9565b6111e3600c83836124bb565b5060408051602081019182905260009081905261081d91600d9161253b565b6000818152600660205260408120546001600160a01b0316806105bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106c9565b3361128c6001546001600160a01b031690565b6001600160a01b031614806112a757506112a7600233611b1c565b6112c35760405162461bcd60e51b81526004016106c990612be9565b601280546001600160a01b0319166001600160a01b039390931692909217909155601155565b6001546001600160a01b031633146113435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b61134e600282611b1c565b610b225760405133906001600160a01b038316907f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb190600090a3610b20600282611f6c565b60006001600160a01b0382166113fe5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106c9565b506001600160a01b031660009081526007602052604090205490565b6001546001600160a01b031633146114745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b61147e6000611f81565b565b6060600f80546105d190612bae565b610b20338383611fd3565b336114ad6001546001600160a01b031690565b6001600160a01b031614806114c857506114c8600233611b1c565b6114e45760405162461bcd60e51b81526004016106c990612be9565b6114f0600e85856124bb565b506114fd600f83836124bb565b5050505050565b336115176001546001600160a01b031690565b6001600160a01b031614806115325750611532600233611b1c565b61154e5760405162461bcd60e51b81526004016106c990612be9565b60408051602081019182905260009081905261156c91600c9161253b565b5061081d600d83836124bb565b6115833383611b41565b61159f5760405162461bcd60e51b81526004016106c990612c74565b6115ab848484846120a2565b50505050565b6012546060906001600160a01b0316156109cb576040805160018082528183019092529060208083019080368337505060125482519293506001600160a01b03169183915060009061160557611605612c5e565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b60125460609081906001600160a01b0316156116d9576040805160018082528183019092529060208083019080368337505060125482519294506001600160a01b03169184915060009061168057611680612c5e565b6001600160a01b0392909216602092830291909101820152604080516001808252818301909252918281019080368337019050509050601154816000815181106116cc576116cc612c5e565b6020026020010181815250505b915091565b6000818152600660205260409020546060906001600160a01b031661175d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106c9565b6000828152600b60205260409020805461177690612bae565b15905061181b576000828152600b60205260409020805461179690612bae565b80601f01602080910402602001604051908101604052809291908181526020018280546117c290612bae565b801561180f5780601f106117e45761010080835404028352916020019161180f565b820191906000526020600020905b8154815290600101906020018083116117f257829003601f168201915b50505050509050919050565b600c805461182890612bae565b15905061183c57600c805461179690612bae565b600d611847836120d5565b604051602001611858929190612d71565b6040516020818303038152906040529050919050565b336118816001546001600160a01b031690565b6001600160a01b0316148061189c575061189c600233611b1c565b6118b85760405162461bcd60e51b81526004016106c990612be9565b8281146118f75760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b60448201526064016106c9565b60005b838110156114fd5782828281811061191457611914612c5e565b90506020028101906119269190612d0e565b600b600088888681811061193c5761193c612c5e565b905060200201358152602001908152602001600020919061195e9291906124bb565b508061196981612c43565b9150506118fa565b6001546001600160a01b031633146119cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b6001600160a01b038116611a305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c9565b610b2281611f81565b60006001600160e01b03198216632a9f3abf60e11b14806105bc57506301ffc9a760e01b6001600160e01b03198316146105bc565b60006001600160e01b031982166380ac58cd60e01b1480611a9f57506001600160e01b03198216635b5e139f60e01b145b806105bc57506105bc82611a39565b600081815260086020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ae382611202565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000818152600660205260408120546001600160a01b0316611bba5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106c9565b6000611bc583611202565b9050611bd084610a01565b80611bec5750806001600160a01b0316846001600160a01b0316145b80611c105750836001600160a01b0316611c0584610654565b6001600160a01b0316145b80611c4057506001600160a01b0380821660009081526009602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611c5b82611202565b6001600160a01b031614611cc35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106c9565b6001600160a01b038216611d255760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106c9565b611d308383836121d3565b611d3b600082611aae565b6001600160a01b0383166000908152600760205260408120805460019290611d64908490612e0f565b90915550506001600160a01b0382166000908152600760205260408120805460019290611d92908490612e26565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611b3a836001600160a01b038416612242565b60006105bc825490565b6000611b3a8383612335565b6001600160a01b038216611e745760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106c9565b6000818152600660205260409020546001600160a01b031615611ed95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c9565b611ee5600083836121d3565b6001600160a01b0382166000908152600760205260408120805460019290611f0e908490612e26565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611b3a836001600160a01b03841661235f565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156120355760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c9565b6001600160a01b03838116600081815260096020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6120ad848484611c48565b6120b9848484846123ae565b6115ab5760405162461bcd60e51b81526004016106c990612e3e565b6060816120f95750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612123578061210d81612c43565b915061211c9050600a83612cfa565b91506120fd565b60008167ffffffffffffffff81111561213e5761213e612a05565b6040519080825280601f01601f191660200182016040528015612168576020820181803683370190505b5090505b8415611c405761217d600183612e0f565b915061218a600a86612e90565b612195906030612e26565b60f81b8183815181106121aa576121aa612c5e565b60200101906001600160f81b031916908160001a9053506121cc600a86612cfa565b945061216c565b6121dc33610a01565b806121f6575060008181526010602052604090205460ff16155b61081d5760405162461bcd60e51b815260206004820152601e60248201527f4552433732313a207472616e73666572206e6f74207065726d6974746564000060448201526064016106c9565b6000818152600183016020526040812054801561232b576000612266600183612e0f565b855490915060009061227a90600190612e0f565b90508181146122df57600086600001828154811061229a5761229a612c5e565b90600052602060002001549050808760000184815481106122bd576122bd612c5e565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806122f0576122f0612ea4565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506105bc565b60009150506105bc565b600082600001828154811061234c5761234c612c5e565b9060005260206000200154905092915050565b60008181526001830160205260408120546123a6575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105bc565b5060006105bc565b60006001600160a01b0384163b156124b057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123f2903390899088908890600401612eba565b602060405180830381600087803b15801561240c57600080fd5b505af192505050801561243c575060408051601f3d908101601f1916820190925261243991810190612ef6565b60015b612496573d80801561246a576040519150601f19603f3d011682016040523d82523d6000602084013e61246f565b606091505b50805161248e5760405162461bcd60e51b81526004016106c990612e3e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c40565b506001949350505050565b8280546124c790612bae565b90600052602060002090601f0160209004810192826124e9576000855561252f565b82601f106125025782800160ff1982351617855561252f565b8280016001018555821561252f579182015b8281111561252f578235825591602001919060010190612514565b50610bd09291506125af565b82805461254790612bae565b90600052602060002090601f016020900481019282612569576000855561252f565b82601f1061258257805160ff191683800117855561252f565b8280016001018555821561252f579182015b8281111561252f578251825591602001919060010190612594565b5b80821115610bd057600081556001016125b0565b6001600160e01b031981168114610b2257600080fd5b6000602082840312156125ec57600080fd5b8135611b3a816125c4565b60005b838110156126125781810151838201526020016125fa565b838111156115ab5750506000910152565b6000815180845261263b8160208601602086016125f7565b601f01601f19169290920160200192915050565b602081526000611b3a6020830184612623565b60006020828403121561267457600080fd5b5035919050565b6001600160a01b0381168114610b2257600080fd5b600080604083850312156126a357600080fd5b82356126ae8161267b565b946020939093013593505050565b60008083601f8401126126ce57600080fd5b50813567ffffffffffffffff8111156126e657600080fd5b6020830191508360208260051b8501011115610a6e57600080fd5b803580151581146109cb57600080fd5b60008060006040848603121561272657600080fd5b833567ffffffffffffffff81111561273d57600080fd5b612749868287016126bc565b909450925061275c905060208501612701565b90509250925092565b600081518084526020808501945080840160005b8381101561279557815187529582019590820190600101612779565b509495945050505050565b602081526000611b3a6020830184612765565b6000806000606084860312156127c857600080fd5b83356127d38161267b565b925060208401356127e38161267b565b929592945050506040919091013590565b60006020828403121561280657600080fd5b8135611b3a8161267b565b6000806040838503121561282457600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b818110156128745783516001600160a01b03168352928401929184019160010161284f565b50909695505050505050565b6000806000806040858703121561289657600080fd5b843567ffffffffffffffff808211156128ae57600080fd5b6128ba888389016126bc565b909650945060208701359150808211156128d357600080fd5b506128e0878288016126bc565b95989497509550505050565b60008083601f8401126128fe57600080fd5b50813567ffffffffffffffff81111561291657600080fd5b602083019150836020828501011115610a6e57600080fd5b6000806020838503121561294157600080fd5b823567ffffffffffffffff81111561295857600080fd5b612964858286016128ec565b90969095509350505050565b6000806040838503121561298357600080fd5b823561298e8161267b565b915061299c60208401612701565b90509250929050565b600080600080604085870312156129bb57600080fd5b843567ffffffffffffffff808211156129d357600080fd5b6129df888389016128ec565b909650945060208701359150808211156129f857600080fd5b506128e0878288016128ec565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612a3157600080fd5b8435612a3c8161267b565b93506020850135612a4c8161267b565b925060408501359150606085013567ffffffffffffffff80821115612a7057600080fd5b818701915087601f830112612a8457600080fd5b813581811115612a9657612a96612a05565b604051601f8201601f19908116603f01168101908382118183101715612abe57612abe612a05565b816040528281528a6020848701011115612ad757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600081518084526020808501945080840160005b838110156127955781516001600160a01b031687529582019590820190600101612b0f565b602081526000611b3a6020830184612afb565b604081526000612b5a6040830185612afb565b8281036020840152612b6c8185612765565b95945050505050565b60008060408385031215612b8857600080fd5b8235612b938161267b565b91506020830135612ba38161267b565b809150509250929050565b600181811c90821680612bc257607f821691505b60208210811415612be357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526024908201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616040820152633236b4b760e11b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000600019821415612c5757612c57612c2d565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000816000190483118215151615612cdf57612cdf612c2d565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612d0957612d09612ce4565b500490565b6000808335601e19843603018112612d2557600080fd5b83018035915067ffffffffffffffff821115612d4057600080fd5b602001915036819003821315610a6e57600080fd5b60008151612d678185602086016125f7565b9290920192915050565b600080845481600182811c915080831680612d8d57607f831692505b6020808410821415612dad57634e487b7160e01b86526022600452602486fd5b818015612dc15760018114612dd257612dff565b60ff19861689528489019650612dff565b60008b81526020902060005b86811015612df75781548b820152908501908301612dde565b505084890196505b505050505050612b6c8185612d55565b600082821015612e2157612e21612c2d565b500390565b60008219821115612e3957612e39612c2d565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612e9f57612e9f612ce4565b500690565b634e487b7160e01b600052603160045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612eec6080830184612623565b9695505050505050565b600060208284031215612f0857600080fd5b8151611b3a816125c456fea26469706673582212205105ec5ca389f6085c3798a744a1654842ba8ee1d277de35a80033273455ac8264736f6c63430008090033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x48617465 PUSH1 0xE0 SHL PUSH1 0x20 DUP1 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP4 MLOAD DUP1 DUP6 ADD SWAP1 SWAP5 MSTORE SWAP1 DUP4 MSTORE PUSH4 0x48415445 PUSH1 0xE0 SHL SWAP1 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x0 SSTORE SWAP1 PUSH3 0x59 CALLER PUSH3 0xEA JUMP JUMPDEST DUP2 MLOAD PUSH3 0x6E SWAP1 PUSH1 0x4 SWAP1 PUSH1 0x20 DUP6 ADD SWAP1 PUSH3 0x13C JUMP JUMPDEST POP DUP1 MLOAD PUSH3 0x84 SWAP1 PUSH1 0x5 SWAP1 PUSH1 0x20 DUP5 ADD SWAP1 PUSH3 0x13C JUMP JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x48617465 PUSH1 0xE0 SHL PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 DUP3 MSTORE PUSH3 0xB5 SWAP3 POP PUSH1 0xE SWAP2 SWAP1 PUSH3 0x13C JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x4 DUP1 DUP3 MSTORE PUSH4 0x48415445 PUSH1 0xE0 SHL PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 DUP3 MSTORE PUSH3 0xE3 SWAP2 PUSH1 0xF SWAP2 PUSH3 0x13C JUMP JUMPDEST POP PUSH3 0x21F JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP2 AND SWAP2 SWAP1 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0x14A SWAP1 PUSH3 0x1E2 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0x16E JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0x1B9 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0x189 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0x1B9 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0x1B9 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x1B9 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x19C JUMP JUMPDEST POP PUSH3 0x1C7 SWAP3 SWAP2 POP PUSH3 0x1CB JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x1C7 JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0x1CC JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH3 0x1F7 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0x219 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2F49 DUP1 PUSH3 0x22F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1FB JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6352211E GT PUSH2 0x11A JUMPI DUP1 PUSH4 0xA923FC40 GT PUSH2 0xAD JUMPI DUP1 PUSH4 0xBB3BAFD6 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xBB3BAFD6 EQ PUSH2 0x46B JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x48C JUMPI DUP1 PUSH4 0xDB3E4C84 EQ PUSH2 0x49F JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x4B2 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x4EE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA923FC40 EQ PUSH2 0x412 JUMPI DUP1 PUSH4 0xB2C94EE6 EQ PUSH2 0x425 JUMPI DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x438 JUMPI DUP1 PUSH4 0xB9C4D9FB EQ PUSH2 0x44B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x715018A6 GT PUSH2 0xE9 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x3DE JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x3E6 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x3F7 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x3FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6352211E EQ PUSH2 0x384 JUMPI DUP1 PUSH4 0x6C2F5ACD EQ PUSH2 0x397 JUMPI DUP1 PUSH4 0x6D73E669 EQ PUSH2 0x3AA JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x3BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2A55205A GT PUSH2 0x192 JUMPI DUP1 PUSH4 0x44DF8E70 GT PUSH2 0x161 JUMPI DUP1 PUSH4 0x44DF8E70 EQ PUSH2 0x343 JUMPI DUP1 PUSH4 0x456DADD4 EQ PUSH2 0x34B JUMPI DUP1 PUSH4 0x4C7BC5CF EQ PUSH2 0x35E JUMPI DUP1 PUSH4 0x55FC9893 EQ PUSH2 0x371 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2A55205A EQ PUSH2 0x2D6 JUMPI DUP1 PUSH4 0x2D345670 EQ PUSH2 0x308 JUMPI DUP1 PUSH4 0x31AE450B EQ PUSH2 0x31B JUMPI DUP1 PUSH4 0x42842E0E EQ PUSH2 0x330 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xB6DB14C GT PUSH2 0x1CE JUMPI DUP1 PUSH4 0xB6DB14C EQ PUSH2 0x27D JUMPI DUP1 PUSH4 0xEBD4C7F EQ PUSH2 0x290 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x2B0 JUMPI DUP1 PUSH4 0x24D7806C EQ PUSH2 0x2C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x200 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x228 JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x23D JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x268 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x213 PUSH2 0x20E CALLDATASIZE PUSH1 0x4 PUSH2 0x25DA JUMP JUMPDEST PUSH2 0x501 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x230 PUSH2 0x5C2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21F SWAP2 SWAP1 PUSH2 0x264F JUMP JUMPDEST PUSH2 0x250 PUSH2 0x24B CALLDATASIZE PUSH1 0x4 PUSH2 0x2662 JUMP JUMPDEST PUSH2 0x654 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x21F JUMP JUMPDEST PUSH2 0x27B PUSH2 0x276 CALLDATASIZE PUSH1 0x4 PUSH2 0x2690 JUMP JUMPDEST PUSH2 0x6EE JUMP JUMPDEST STOP JUMPDEST PUSH2 0x27B PUSH2 0x28B CALLDATASIZE PUSH1 0x4 PUSH2 0x2711 JUMP JUMPDEST PUSH2 0x822 JUMP JUMPDEST PUSH2 0x2A3 PUSH2 0x29E CALLDATASIZE PUSH1 0x4 PUSH2 0x2662 JUMP JUMPDEST PUSH2 0x974 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21F SWAP2 SWAP1 PUSH2 0x27A0 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x2BE CALLDATASIZE PUSH1 0x4 PUSH2 0x27B3 JUMP JUMPDEST PUSH2 0x9D0 JUMP JUMPDEST PUSH2 0x213 PUSH2 0x2D1 CALLDATASIZE PUSH1 0x4 PUSH2 0x27F4 JUMP JUMPDEST PUSH2 0xA01 JUMP JUMPDEST PUSH2 0x2E9 PUSH2 0x2E4 CALLDATASIZE PUSH1 0x4 PUSH2 0x2811 JUMP JUMPDEST PUSH2 0xA3A JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP4 AND DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE ADD PUSH2 0x21F JUMP JUMPDEST PUSH2 0x27B PUSH2 0x316 CALLDATASIZE PUSH1 0x4 PUSH2 0x27F4 JUMP JUMPDEST PUSH2 0xA75 JUMP JUMPDEST PUSH2 0x323 PUSH2 0xB25 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21F SWAP2 SWAP1 PUSH2 0x2833 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x33E CALLDATASIZE PUSH1 0x4 PUSH2 0x27B3 JUMP JUMPDEST PUSH2 0xBD4 JUMP JUMPDEST PUSH2 0x27B PUSH2 0xBEF JUMP JUMPDEST PUSH2 0x27B PUSH2 0x359 CALLDATASIZE PUSH1 0x4 PUSH2 0x2880 JUMP JUMPDEST PUSH2 0xD16 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x36C CALLDATASIZE PUSH1 0x4 PUSH2 0x2880 JUMP JUMPDEST PUSH2 0xFD8 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x37F CALLDATASIZE PUSH1 0x4 PUSH2 0x292E JUMP JUMPDEST PUSH2 0x118D JUMP JUMPDEST PUSH2 0x250 PUSH2 0x392 CALLDATASIZE PUSH1 0x4 PUSH2 0x2662 JUMP JUMPDEST PUSH2 0x1202 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x3A5 CALLDATASIZE PUSH1 0x4 PUSH2 0x2690 JUMP JUMPDEST PUSH2 0x1279 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x3B8 CALLDATASIZE PUSH1 0x4 PUSH2 0x27F4 JUMP JUMPDEST PUSH2 0x12E9 JUMP JUMPDEST PUSH2 0x3D0 PUSH2 0x3CB CALLDATASIZE PUSH1 0x4 PUSH2 0x27F4 JUMP JUMPDEST PUSH2 0x1393 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x21F JUMP JUMPDEST PUSH2 0x27B PUSH2 0x141A JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x250 JUMP JUMPDEST PUSH2 0x230 PUSH2 0x1480 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x40D CALLDATASIZE PUSH1 0x4 PUSH2 0x2970 JUMP JUMPDEST PUSH2 0x148F JUMP JUMPDEST PUSH2 0x27B PUSH2 0x420 CALLDATASIZE PUSH1 0x4 PUSH2 0x29A5 JUMP JUMPDEST PUSH2 0x149A JUMP JUMPDEST PUSH2 0x27B PUSH2 0x433 CALLDATASIZE PUSH1 0x4 PUSH2 0x292E JUMP JUMPDEST PUSH2 0x1504 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x446 CALLDATASIZE PUSH1 0x4 PUSH2 0x2A1B JUMP JUMPDEST PUSH2 0x1579 JUMP JUMPDEST PUSH2 0x45E PUSH2 0x459 CALLDATASIZE PUSH1 0x4 PUSH2 0x2662 JUMP JUMPDEST PUSH2 0x15B1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21F SWAP2 SWAP1 PUSH2 0x2B34 JUMP JUMPDEST PUSH2 0x47E PUSH2 0x479 CALLDATASIZE PUSH1 0x4 PUSH2 0x2662 JUMP JUMPDEST PUSH2 0x162A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x21F SWAP3 SWAP2 SWAP1 PUSH2 0x2B47 JUMP JUMPDEST PUSH2 0x230 PUSH2 0x49A CALLDATASIZE PUSH1 0x4 PUSH2 0x2662 JUMP JUMPDEST PUSH2 0x16DE JUMP JUMPDEST PUSH2 0x27B PUSH2 0x4AD CALLDATASIZE PUSH1 0x4 PUSH2 0x2880 JUMP JUMPDEST PUSH2 0x186E JUMP JUMPDEST PUSH2 0x213 PUSH2 0x4C0 CALLDATASIZE PUSH1 0x4 PUSH2 0x2B75 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x4FC CALLDATASIZE PUSH1 0x4 PUSH2 0x27F4 JUMP JUMPDEST PUSH2 0x1971 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x99B47153 PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x532 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x80AC58CD PUSH1 0xE0 SHL EQ JUMPDEST DUP1 PUSH2 0x541 JUMPI POP PUSH2 0x541 DUP3 PUSH2 0x1A39 JUMP JUMPDEST DUP1 PUSH2 0x550 JUMPI POP PUSH2 0x550 DUP3 PUSH2 0x1A6E JUMP JUMPDEST DUP1 PUSH2 0x56B JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x5B5E139F PUSH1 0xE0 SHL EQ JUMPDEST DUP1 PUSH2 0x586 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x5D9DD7EB PUSH1 0xE1 SHL EQ JUMPDEST DUP1 PUSH2 0x5A1 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x152A902D PUSH1 0xE1 SHL EQ JUMPDEST DUP1 PUSH2 0x5BC JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x2DDE6561 PUSH1 0xE2 SHL EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0xE DUP1 SLOAD PUSH2 0x5D1 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x5FD SWAP1 PUSH2 0x2BAE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x64A JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x61F JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x64A JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x62D JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x6D2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76656420717565727920666F72206E6F6E6578 PUSH1 0x44 DUP3 ADD MSTORE PUSH12 0x34B9BA32B73A103A37B5B2B7 PUSH1 0xA1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6F9 DUP3 PUSH2 0x1202 JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO PUSH2 0x767 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76616C20746F2063757272656E74206F776E65 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x39 PUSH1 0xF9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND EQ DUP1 PUSH2 0x7A1 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x813 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F76652063616C6C6572206973206E6F74206F77 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E6572206E6F7220617070726F76656420666F7220616C6C0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x81D DUP4 DUP4 PUSH2 0x1AAE JUMP JUMPDEST POP POP POP JUMP JUMPDEST CALLER PUSH2 0x835 PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x850 JUMPI POP PUSH2 0x850 PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0x86C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SLOAD EQ ISZERO PUSH2 0x8BF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SSTORE DUP2 PUSH2 0x907 JUMPI PUSH1 0x1 JUMPDEST PUSH1 0xA SLOAD DUP2 GT PUSH2 0x901 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x10 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND DUP4 ISZERO ISZERO OR SWAP1 SSTORE DUP1 PUSH2 0x8F9 DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x8CC JUMP JUMPDEST POP PUSH2 0x96A JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x968 JUMPI DUP2 PUSH1 0x10 PUSH1 0x0 DUP7 DUP7 DUP6 DUP2 DUP2 LT PUSH2 0x929 JUMPI PUSH2 0x929 PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP1 DUP1 PUSH2 0x960 SWAP1 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x90A JUMP JUMPDEST POP JUMPDEST POP POP PUSH1 0x1 PUSH1 0x0 SSTORE POP JUMP JUMPDEST PUSH1 0x12 SLOAD PUSH1 0x60 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x9CB JUMPI PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 DUP1 DUP3 MSTORE DUP2 DUP4 ADD SWAP1 SWAP3 MSTORE SWAP1 PUSH1 0x20 DUP1 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP1 POP PUSH1 0x11 SLOAD DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x9BE JUMPI PUSH2 0x9BE PUSH2 0x2C5E JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x9DA CALLER DUP3 PUSH2 0x1B41 JUMP JUMPDEST PUSH2 0x9F6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2C74 JUMP JUMPDEST PUSH2 0x81D DUP4 DUP4 DUP4 PUSH2 0x1C48 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xA1F PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x5BC JUMPI POP PUSH2 0x5BC PUSH1 0x2 DUP4 PUSH2 0x1B1C JUMP JUMPDEST PUSH1 0x12 SLOAD PUSH1 0x11 SLOAD PUSH1 0x0 SWAP2 DUP3 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH2 0x2710 SWAP1 PUSH2 0xA5F SWAP1 DUP7 PUSH2 0x2CC5 JUMP JUMPDEST PUSH2 0xA69 SWAP2 SWAP1 PUSH2 0x2CFA JUMP JUMPDEST SWAP2 POP SWAP2 POP JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xACF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0xADA PUSH1 0x2 DUP3 PUSH2 0x1B1C JUMP JUMPDEST ISZERO PUSH2 0xB22 JUMPI PUSH1 0x40 MLOAD CALLER SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0x7C0C3C84C67C85FCAC635147348BFE374C24A1A93D0366D1CFE9D8853CBF89D5 SWAP1 PUSH1 0x0 SWAP1 LOG3 PUSH2 0xB20 PUSH1 0x2 DUP3 PUSH2 0x1DF3 JUMP JUMPDEST POP JUMPDEST POP JUMP JUMPDEST PUSH1 0x60 PUSH2 0xB31 PUSH1 0x2 PUSH2 0x1E08 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xB49 JUMPI PUSH2 0xB49 PUSH2 0x2A05 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xB72 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST PUSH2 0xB82 PUSH1 0x2 PUSH2 0x1E08 JUMP JUMPDEST DUP2 LT ISZERO PUSH2 0xBD0 JUMPI PUSH2 0xB94 PUSH1 0x2 DUP3 PUSH2 0x1E12 JUMP JUMPDEST DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xBA6 JUMPI PUSH2 0xBA6 PUSH2 0x2C5E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD SWAP1 SWAP2 ADD MSTORE DUP1 PUSH2 0xBC8 DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xB78 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x81D DUP4 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x1579 JUMP JUMPDEST CALLER PUSH2 0xC02 PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0xC1D JUMPI POP PUSH2 0xC1D PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0xC39 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SLOAD EQ ISZERO PUSH2 0xC8C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SSTORE CALLER PUSH2 0xCA4 PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0xCBF JUMPI POP PUSH2 0xCBF PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0xCDB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH1 0xA SLOAD DUP2 GT PUSH2 0xD0E JUMPI PUSH2 0xCFC PUSH2 0xCF3 DUP3 PUSH2 0x1202 JUMP JUMPDEST PUSH2 0xDEAD DUP4 PUSH2 0x1C48 JUMP JUMPDEST DUP1 PUSH2 0xD06 DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xCDE JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x0 SSTORE JUMP JUMPDEST CALLER PUSH2 0xD29 PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0xD44 JUMPI POP PUSH2 0xD44 PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0xD60 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SLOAD EQ ISZERO PUSH2 0xDB3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SSTORE PUSH1 0x1 DUP2 EQ DUP1 PUSH2 0xDC6 JUMPI POP DUP1 DUP4 EQ JUMPDEST PUSH2 0xE02 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xD PUSH1 0x24 DUP3 ADD MSTORE PUSH13 0x125B9D985B1A59081A5B9C1D5D PUSH1 0x9A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0xECA JUMPI PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xEC4 JUMPI PUSH1 0x0 DUP4 DUP4 DUP4 DUP2 DUP2 LT PUSH2 0xE2A JUMPI PUSH2 0xE2A PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0xE3F SWAP2 SWAP1 PUSH2 0x27F4 JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xE6C DUP8 DUP8 DUP6 DUP2 DUP2 LT PUSH2 0xE60 JUMPI PUSH2 0xE60 PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH2 0x1202 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xEB1 JUMPI PUSH2 0xEB1 PUSH2 0xE92 DUP8 DUP8 DUP6 DUP2 DUP2 LT PUSH2 0xE60 JUMPI PUSH2 0xE60 PUSH2 0x2C5E JUMP JUMPDEST DUP3 DUP9 DUP9 DUP7 DUP2 DUP2 LT PUSH2 0xEA5 JUMPI PUSH2 0xEA5 PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH2 0x1C48 JUMP JUMPDEST POP DUP1 PUSH2 0xEBC DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xE0E JUMP JUMPDEST POP PUSH2 0xFCD JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 PUSH1 0x0 DUP2 DUP2 LT PUSH2 0xEDF JUMPI PUSH2 0xEDF PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0xEF4 SWAP2 SWAP1 PUSH2 0x27F4 JUMP JUMPDEST SWAP1 POP DUP4 ISZERO PUSH2 0xF77 JUMPI PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0xF71 JUMPI DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xF26 DUP8 DUP8 DUP5 DUP2 DUP2 LT PUSH2 0xE60 JUMPI PUSH2 0xE60 PUSH2 0x2C5E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xF5F JUMPI PUSH2 0xF5F PUSH2 0xF4C DUP8 DUP8 DUP5 DUP2 DUP2 LT PUSH2 0xE60 JUMPI PUSH2 0xE60 PUSH2 0x2C5E JUMP JUMPDEST DUP4 DUP9 DUP9 DUP6 DUP2 DUP2 LT PUSH2 0xEA5 JUMPI PUSH2 0xEA5 PUSH2 0x2C5E JUMP JUMPDEST DUP1 PUSH2 0xF69 DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xEFF JUMP JUMPDEST POP PUSH2 0xFCB JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH1 0xA SLOAD DUP2 GT PUSH2 0xFC9 JUMPI DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xF96 DUP3 PUSH2 0x1202 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0xFB7 JUMPI PUSH2 0xFB7 PUSH2 0xFB0 DUP3 PUSH2 0x1202 JUMP JUMPDEST DUP4 DUP4 PUSH2 0x1C48 JUMP JUMPDEST DUP1 PUSH2 0xFC1 DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0xF7A JUMP JUMPDEST POP JUMPDEST POP JUMPDEST POP POP PUSH1 0x1 PUSH1 0x0 SSTORE POP POP JUMP JUMPDEST CALLER PUSH2 0xFEB PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x1006 JUMPI POP PUSH2 0x1006 PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0x1022 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SLOAD EQ ISZERO PUSH2 0x1075 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SSTORE DUP1 ISZERO DUP1 PUSH2 0x1086 JUMPI POP DUP3 DUP2 EQ JUMPDEST PUSH2 0x10C2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xD PUSH1 0x24 DUP3 ADD MSTORE PUSH13 0x125B9D985B1A59081A5B9C1D5D PUSH1 0x9A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST DUP1 ISZERO ISZERO PUSH1 0x0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0xFC9 JUMPI PUSH1 0xA DUP1 SLOAD SWAP1 PUSH1 0x0 PUSH2 0x10E0 DUP4 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 SWAP1 POP SSTORE POP PUSH2 0x1117 DUP7 DUP7 DUP4 DUP2 DUP2 LT PUSH2 0x10FA JUMPI PUSH2 0x10FA PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x110F SWAP2 SWAP1 PUSH2 0x27F4 JUMP JUMPDEST PUSH1 0xA SLOAD PUSH2 0x1E1E JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x10 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE DUP2 ISZERO PUSH2 0x117B JUMPI DUP4 DUP4 DUP3 DUP2 DUP2 LT PUSH2 0x114B JUMPI PUSH2 0x114B PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL DUP2 ADD SWAP1 PUSH2 0x115D SWAP2 SWAP1 PUSH2 0x2D0E JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x1179 SWAP3 SWAP1 SWAP2 PUSH2 0x24BB JUMP JUMPDEST POP JUMPDEST DUP1 PUSH2 0x1185 DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x10C8 JUMP JUMPDEST CALLER PUSH2 0x11A0 PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x11BB JUMPI POP PUSH2 0x11BB PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0x11D7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH2 0x11E3 PUSH1 0xC DUP4 DUP4 PUSH2 0x24BB JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 DUP3 SWAP1 MSTORE PUSH1 0x0 SWAP1 DUP2 SWAP1 MSTORE PUSH2 0x81D SWAP2 PUSH1 0xD SWAP2 PUSH2 0x253B JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x5BC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A206F776E657220717565727920666F72206E6F6E6578697374 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x32B73A103A37B5B2B7 PUSH1 0xB9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST CALLER PUSH2 0x128C PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x12A7 JUMPI POP PUSH2 0x12A7 PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0x12C3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH1 0x12 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 SSTORE PUSH1 0x11 SSTORE JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x1343 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x134E PUSH1 0x2 DUP3 PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0xB22 JUMPI PUSH1 0x40 MLOAD CALLER SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0x7E1A1A08D52E4BA0E21554733D66165FD5151F99460116223D9E3A608EEC5CB1 SWAP1 PUSH1 0x0 SWAP1 LOG3 PUSH2 0xB20 PUSH1 0x2 DUP3 PUSH2 0x1F6C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x13FE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A2062616C616E636520717565727920666F7220746865207A65 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x726F2061646472657373 PUSH1 0xB0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x1474 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x147E PUSH1 0x0 PUSH2 0x1F81 JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x60 PUSH1 0xF DUP1 SLOAD PUSH2 0x5D1 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST PUSH2 0xB20 CALLER DUP4 DUP4 PUSH2 0x1FD3 JUMP JUMPDEST CALLER PUSH2 0x14AD PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x14C8 JUMPI POP PUSH2 0x14C8 PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0x14E4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH2 0x14F0 PUSH1 0xE DUP6 DUP6 PUSH2 0x24BB JUMP JUMPDEST POP PUSH2 0x14FD PUSH1 0xF DUP4 DUP4 PUSH2 0x24BB JUMP JUMPDEST POP POP POP POP POP JUMP JUMPDEST CALLER PUSH2 0x1517 PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x1532 JUMPI POP PUSH2 0x1532 PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0x154E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 DUP3 SWAP1 MSTORE PUSH1 0x0 SWAP1 DUP2 SWAP1 MSTORE PUSH2 0x156C SWAP2 PUSH1 0xC SWAP2 PUSH2 0x253B JUMP JUMPDEST POP PUSH2 0x81D PUSH1 0xD DUP4 DUP4 PUSH2 0x24BB JUMP JUMPDEST PUSH2 0x1583 CALLER DUP4 PUSH2 0x1B41 JUMP JUMPDEST PUSH2 0x159F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2C74 JUMP JUMPDEST PUSH2 0x15AB DUP5 DUP5 DUP5 DUP5 PUSH2 0x20A2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x12 SLOAD PUSH1 0x60 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x9CB JUMPI PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 DUP1 DUP3 MSTORE DUP2 DUP4 ADD SWAP1 SWAP3 MSTORE SWAP1 PUSH1 0x20 DUP1 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP POP PUSH1 0x12 SLOAD DUP3 MLOAD SWAP3 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP4 SWAP2 POP PUSH1 0x0 SWAP1 PUSH2 0x1605 JUMPI PUSH2 0x1605 PUSH2 0x2C5E JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x12 SLOAD PUSH1 0x60 SWAP1 DUP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x16D9 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 DUP1 DUP3 MSTORE DUP2 DUP4 ADD SWAP1 SWAP3 MSTORE SWAP1 PUSH1 0x20 DUP1 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP POP PUSH1 0x12 SLOAD DUP3 MLOAD SWAP3 SWAP5 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP5 SWAP2 POP PUSH1 0x0 SWAP1 PUSH2 0x1680 JUMPI PUSH2 0x1680 PUSH2 0x2C5E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND PUSH1 0x20 SWAP3 DUP4 MUL SWAP2 SWAP1 SWAP2 ADD DUP3 ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 DUP1 DUP3 MSTORE DUP2 DUP4 ADD SWAP1 SWAP3 MSTORE SWAP2 DUP3 DUP2 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP1 POP PUSH1 0x11 SLOAD DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x16CC JUMPI PUSH2 0x16CC PUSH2 0x2C5E JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP JUMPDEST SWAP2 POP SWAP2 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x60 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x175D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732314D657461646174613A2055524920717565727920666F72206E6F PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x3732BC34B9BA32B73A103A37B5B2B7 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0x1776 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST ISZERO SWAP1 POP PUSH2 0x181B JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0x1796 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x17C2 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST DUP1 ISZERO PUSH2 0x180F JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x17E4 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x180F JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x17F2 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0xC DUP1 SLOAD PUSH2 0x1828 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST ISZERO SWAP1 POP PUSH2 0x183C JUMPI PUSH1 0xC DUP1 SLOAD PUSH2 0x1796 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST PUSH1 0xD PUSH2 0x1847 DUP4 PUSH2 0x20D5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1858 SWAP3 SWAP2 SWAP1 PUSH2 0x2D71 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST CALLER PUSH2 0x1881 PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0x189C JUMPI POP PUSH2 0x189C PUSH1 0x2 CALLER PUSH2 0x1B1C JUMP JUMPDEST PUSH2 0x18B8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2BE9 JUMP JUMPDEST DUP3 DUP2 EQ PUSH2 0x18F7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xD PUSH1 0x24 DUP3 ADD MSTORE PUSH13 0x125B9D985B1A59081A5B9C1D5D PUSH1 0x9A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x14FD JUMPI DUP3 DUP3 DUP3 DUP2 DUP2 LT PUSH2 0x1914 JUMPI PUSH2 0x1914 PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL DUP2 ADD SWAP1 PUSH2 0x1926 SWAP2 SWAP1 PUSH2 0x2D0E JUMP JUMPDEST PUSH1 0xB PUSH1 0x0 DUP9 DUP9 DUP7 DUP2 DUP2 LT PUSH2 0x193C JUMPI PUSH2 0x193C PUSH2 0x2C5E JUMP JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP2 SWAP1 PUSH2 0x195E SWAP3 SWAP2 SWAP1 PUSH2 0x24BB JUMP JUMPDEST POP DUP1 PUSH2 0x1969 DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x18FA JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x19CB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x1A30 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x646472657373 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0xB22 DUP2 PUSH2 0x1F81 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x2A9F3ABF PUSH1 0xE1 SHL EQ DUP1 PUSH2 0x5BC JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ PUSH2 0x5BC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x80AC58CD PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x1A9F JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x5B5E139F PUSH1 0xE0 SHL EQ JUMPDEST DUP1 PUSH2 0x5BC JUMPI POP PUSH2 0x5BC DUP3 PUSH2 0x1A39 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE DUP2 SWAP1 PUSH2 0x1AE3 DUP3 PUSH2 0x1202 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD ISZERO ISZERO JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1BBA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A206F70657261746F7220717565727920666F72206E6F6E6578 PUSH1 0x44 DUP3 ADD MSTORE PUSH12 0x34B9BA32B73A103A37B5B2B7 PUSH1 0xA1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1BC5 DUP4 PUSH2 0x1202 JUMP JUMPDEST SWAP1 POP PUSH2 0x1BD0 DUP5 PUSH2 0xA01 JUMP JUMPDEST DUP1 PUSH2 0x1BEC JUMPI POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST DUP1 PUSH2 0x1C10 JUMPI POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1C05 DUP5 PUSH2 0x654 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ JUMPDEST DUP1 PUSH2 0x1C40 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP9 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1C5B DUP3 PUSH2 0x1202 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ PUSH2 0x1CC3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E73666572206F6620746F6B656E20746861742069 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x39903737BA1037BBB7 PUSH1 0xB9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1D25 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x72657373 PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x1D30 DUP4 DUP4 DUP4 PUSH2 0x21D3 JUMP JUMPDEST PUSH2 0x1D3B PUSH1 0x0 DUP3 PUSH2 0x1AAE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP3 SWAP1 PUSH2 0x1D64 SWAP1 DUP5 SWAP1 PUSH2 0x2E0F JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP3 SWAP1 PUSH2 0x1D92 SWAP1 DUP5 SWAP1 PUSH2 0x2E26 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 DUP2 AND SWAP2 DUP3 OR SWAP1 SWAP3 SSTORE SWAP2 MLOAD DUP5 SWAP4 SWAP2 DUP8 AND SWAP2 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP2 LOG4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1B3A DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x2242 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5BC DUP3 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1B3A DUP4 DUP4 PUSH2 0x2335 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1E74 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A206D696E7420746F20746865207A65726F2061646472657373 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x1ED9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20746F6B656E20616C7265616479206D696E74656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x1EE5 PUSH1 0x0 DUP4 DUP4 PUSH2 0x21D3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP3 SWAP1 PUSH2 0x1F0E SWAP1 DUP5 SWAP1 PUSH2 0x2E26 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SWAP1 MLOAD DUP4 SWAP3 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 DUP3 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1B3A DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH2 0x235F JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP2 AND SWAP2 SWAP1 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO PUSH2 0x2035 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A20617070726F766520746F2063616C6C657200000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND DUP7 ISZERO ISZERO SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH2 0x20AD DUP5 DUP5 DUP5 PUSH2 0x1C48 JUMP JUMPDEST PUSH2 0x20B9 DUP5 DUP5 DUP5 DUP5 PUSH2 0x23AE JUMP JUMPDEST PUSH2 0x15AB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2E3E JUMP JUMPDEST PUSH1 0x60 DUP2 PUSH2 0x20F9 JUMPI POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x1 DUP2 MSTORE PUSH1 0x3 PUSH1 0xFC SHL PUSH1 0x20 DUP3 ADD MSTORE SWAP1 JUMP JUMPDEST DUP2 PUSH1 0x0 JUMPDEST DUP2 ISZERO PUSH2 0x2123 JUMPI DUP1 PUSH2 0x210D DUP2 PUSH2 0x2C43 JUMP JUMPDEST SWAP2 POP PUSH2 0x211C SWAP1 POP PUSH1 0xA DUP4 PUSH2 0x2CFA JUMP JUMPDEST SWAP2 POP PUSH2 0x20FD JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x213E JUMPI PUSH2 0x213E PUSH2 0x2A05 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x2168 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP JUMPDEST DUP5 ISZERO PUSH2 0x1C40 JUMPI PUSH2 0x217D PUSH1 0x1 DUP4 PUSH2 0x2E0F JUMP JUMPDEST SWAP2 POP PUSH2 0x218A PUSH1 0xA DUP7 PUSH2 0x2E90 JUMP JUMPDEST PUSH2 0x2195 SWAP1 PUSH1 0x30 PUSH2 0x2E26 JUMP JUMPDEST PUSH1 0xF8 SHL DUP2 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x21AA JUMPI PUSH2 0x21AA PUSH2 0x2C5E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH2 0x21CC PUSH1 0xA DUP7 PUSH2 0x2CFA JUMP JUMPDEST SWAP5 POP PUSH2 0x216C JUMP JUMPDEST PUSH2 0x21DC CALLER PUSH2 0xA01 JUMP JUMPDEST DUP1 PUSH2 0x21F6 JUMPI POP PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x10 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO JUMPDEST PUSH2 0x81D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E73666572206E6F74207065726D69747465640000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6C9 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP1 ISZERO PUSH2 0x232B JUMPI PUSH1 0x0 PUSH2 0x2266 PUSH1 0x1 DUP4 PUSH2 0x2E0F JUMP JUMPDEST DUP6 SLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 PUSH2 0x227A SWAP1 PUSH1 0x1 SWAP1 PUSH2 0x2E0F JUMP JUMPDEST SWAP1 POP DUP2 DUP2 EQ PUSH2 0x22DF JUMPI PUSH1 0x0 DUP7 PUSH1 0x0 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x229A JUMPI PUSH2 0x229A PUSH2 0x2C5E JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP DUP1 DUP8 PUSH1 0x0 ADD DUP5 DUP2 SLOAD DUP2 LT PUSH2 0x22BD JUMPI PUSH2 0x22BD PUSH2 0x2C5E JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP1 DUP4 KECCAK256 SWAP1 SWAP2 ADD SWAP3 SWAP1 SWAP3 SSTORE SWAP2 DUP3 MSTORE PUSH1 0x1 DUP9 ADD SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP4 SWAP1 SSTORE JUMPDEST DUP6 SLOAD DUP7 SWAP1 DUP1 PUSH2 0x22F0 JUMPI PUSH2 0x22F0 PUSH2 0x2EA4 JUMP JUMPDEST PUSH1 0x1 SWAP1 SUB DUP2 DUP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SSTORE SWAP1 SSTORE DUP6 PUSH1 0x1 ADD PUSH1 0x0 DUP7 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 SSTORE PUSH1 0x1 SWAP4 POP POP POP POP PUSH2 0x5BC JUMP JUMPDEST PUSH1 0x0 SWAP2 POP POP PUSH2 0x5BC JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x0 ADD DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x234C JUMPI PUSH2 0x234C PUSH2 0x2C5E JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 DUP4 ADD PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH2 0x23A6 JUMPI POP DUP2 SLOAD PUSH1 0x1 DUP2 DUP2 ADD DUP5 SSTORE PUSH1 0x0 DUP5 DUP2 MSTORE PUSH1 0x20 DUP1 DUP3 KECCAK256 SWAP1 SWAP4 ADD DUP5 SWAP1 SSTORE DUP5 SLOAD DUP5 DUP3 MSTORE DUP3 DUP7 ADD SWAP1 SWAP4 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP2 SWAP1 SWAP2 SSTORE PUSH2 0x5BC JUMP JUMPDEST POP PUSH1 0x0 PUSH2 0x5BC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EXTCODESIZE ISZERO PUSH2 0x24B0 JUMPI PUSH1 0x40 MLOAD PUSH4 0xA85BD01 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH4 0x150B7A02 SWAP1 PUSH2 0x23F2 SWAP1 CALLER SWAP1 DUP10 SWAP1 DUP9 SWAP1 DUP9 SWAP1 PUSH1 0x4 ADD PUSH2 0x2EBA JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x240C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x243C JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x2439 SWAP2 DUP2 ADD SWAP1 PUSH2 0x2EF6 JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0x2496 JUMPI RETURNDATASIZE DUP1 DUP1 ISZERO PUSH2 0x246A JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x246F JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP DUP1 MLOAD PUSH2 0x248E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6C9 SWAP1 PUSH2 0x2E3E JUMP JUMPDEST DUP1 MLOAD DUP2 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0xA85BD01 PUSH1 0xE1 SHL EQ SWAP1 POP PUSH2 0x1C40 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x24C7 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x24E9 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x252F JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2502 JUMPI DUP3 DUP1 ADD PUSH1 0xFF NOT DUP3 CALLDATALOAD AND OR DUP6 SSTORE PUSH2 0x252F JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x252F JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x252F JUMPI DUP3 CALLDATALOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2514 JUMP JUMPDEST POP PUSH2 0xBD0 SWAP3 SWAP2 POP PUSH2 0x25AF JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH2 0x2547 SWAP1 PUSH2 0x2BAE JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH2 0x2569 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH2 0x252F JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH2 0x2582 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH2 0x252F JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH2 0x252F JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x252F JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x2594 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0xBD0 JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x25B0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xB22 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x25EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1B3A DUP2 PUSH2 0x25C4 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2612 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x25FA JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x15AB JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x263B DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x25F7 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x1B3A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x2623 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2674 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xB22 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x26A3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x26AE DUP2 PUSH2 0x267B JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x26CE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x26E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 PUSH1 0x5 SHL DUP6 ADD ADD GT ISZERO PUSH2 0xA6E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x9CB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x40 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x2726 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x273D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2749 DUP7 DUP3 DUP8 ADD PUSH2 0x26BC JUMP JUMPDEST SWAP1 SWAP5 POP SWAP3 POP PUSH2 0x275C SWAP1 POP PUSH1 0x20 DUP6 ADD PUSH2 0x2701 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2795 JUMPI DUP2 MLOAD DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x2779 JUMP JUMPDEST POP SWAP5 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x1B3A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x2765 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x27C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x27D3 DUP2 PUSH2 0x267B JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x27E3 DUP2 PUSH2 0x267B JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2806 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1B3A DUP2 PUSH2 0x267B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2824 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x2874 JUMPI DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x284F JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x40 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x2896 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x28AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x28BA DUP9 DUP4 DUP10 ADD PUSH2 0x26BC JUMP JUMPDEST SWAP1 SWAP7 POP SWAP5 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x28D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x28E0 DUP8 DUP3 DUP9 ADD PUSH2 0x26BC JUMP JUMPDEST SWAP6 SWAP9 SWAP5 SWAP8 POP SWAP6 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x28FE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2916 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xA6E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x20 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2941 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2958 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2964 DUP6 DUP3 DUP7 ADD PUSH2 0x28EC JUMP JUMPDEST SWAP1 SWAP7 SWAP1 SWAP6 POP SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2983 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x298E DUP2 PUSH2 0x267B JUMP JUMPDEST SWAP2 POP PUSH2 0x299C PUSH1 0x20 DUP5 ADD PUSH2 0x2701 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x40 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x29BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x29D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x29DF DUP9 DUP4 DUP10 ADD PUSH2 0x28EC JUMP JUMPDEST SWAP1 SWAP7 POP SWAP5 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x29F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x28E0 DUP8 DUP3 DUP9 ADD PUSH2 0x28EC JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH2 0x2A31 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 CALLDATALOAD PUSH2 0x2A3C DUP2 PUSH2 0x267B JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD PUSH2 0x2A4C DUP2 PUSH2 0x267B JUMP JUMPDEST SWAP3 POP PUSH1 0x40 DUP6 ADD CALLDATALOAD SWAP2 POP PUSH1 0x60 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x2A70 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x2A84 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x2A96 JUMPI PUSH2 0x2A96 PUSH2 0x2A05 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP4 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0x2ABE JUMPI PUSH2 0x2ABE PUSH2 0x2A05 JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP3 DUP2 MSTORE DUP11 PUSH1 0x20 DUP5 DUP8 ADD ADD GT ISZERO PUSH2 0x2AD7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 PUSH1 0x20 DUP5 DUP4 ADD ADD MSTORE DUP1 SWAP6 POP POP POP POP POP POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x20 DUP1 DUP6 ADD SWAP5 POP DUP1 DUP5 ADD PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2795 JUMPI DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP8 MSTORE SWAP6 DUP3 ADD SWAP6 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x2B0F JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x1B3A PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x2AFB JUMP JUMPDEST PUSH1 0x40 DUP2 MSTORE PUSH1 0x0 PUSH2 0x2B5A PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x2AFB JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x2B6C DUP2 DUP6 PUSH2 0x2765 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2B88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x2B93 DUP2 PUSH2 0x267B JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x2BA3 DUP2 PUSH2 0x267B JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x2BC2 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x2BE3 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x24 SWAP1 DUP3 ADD MSTORE PUSH32 0x41646D696E436F6E74726F6C3A204D757374206265206F776E6572206F722061 PUSH1 0x40 DUP3 ADD MSTORE PUSH4 0x3236B4B7 PUSH1 0xE1 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x0 NOT DUP3 EQ ISZERO PUSH2 0x2C57 JUMPI PUSH2 0x2C57 PUSH2 0x2C2D JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x31 SWAP1 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E736665722063616C6C6572206973206E6F74206F PUSH1 0x40 DUP3 ADD MSTORE PUSH17 0x1DDB995C881B9BDC88185C1C1C9BDD9959 PUSH1 0x7A SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x2CDF JUMPI PUSH2 0x2CDF PUSH2 0x2C2D JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x2D09 JUMPI PUSH2 0x2D09 PUSH2 0x2CE4 JUMP JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 CALLDATALOAD PUSH1 0x1E NOT DUP5 CALLDATASIZE SUB ADD DUP2 SLT PUSH2 0x2D25 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 ADD DUP1 CALLDATALOAD SWAP2 POP PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x2D40 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 ADD SWAP2 POP CALLDATASIZE DUP2 SWAP1 SUB DUP3 SGT ISZERO PUSH2 0xA6E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 MLOAD PUSH2 0x2D67 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x25F7 JUMP JUMPDEST SWAP3 SWAP1 SWAP3 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP5 SLOAD DUP2 PUSH1 0x1 DUP3 DUP2 SHR SWAP2 POP DUP1 DUP4 AND DUP1 PUSH2 0x2D8D JUMPI PUSH1 0x7F DUP4 AND SWAP3 POP JUMPDEST PUSH1 0x20 DUP1 DUP5 LT DUP3 EQ ISZERO PUSH2 0x2DAD JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP7 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 DUP7 REVERT JUMPDEST DUP2 DUP1 ISZERO PUSH2 0x2DC1 JUMPI PUSH1 0x1 DUP2 EQ PUSH2 0x2DD2 JUMPI PUSH2 0x2DFF JUMP JUMPDEST PUSH1 0xFF NOT DUP7 AND DUP10 MSTORE DUP5 DUP10 ADD SWAP7 POP PUSH2 0x2DFF JUMP JUMPDEST PUSH1 0x0 DUP12 DUP2 MSTORE PUSH1 0x20 SWAP1 KECCAK256 PUSH1 0x0 JUMPDEST DUP7 DUP2 LT ISZERO PUSH2 0x2DF7 JUMPI DUP2 SLOAD DUP12 DUP3 ADD MSTORE SWAP1 DUP6 ADD SWAP1 DUP4 ADD PUSH2 0x2DDE JUMP JUMPDEST POP POP DUP5 DUP10 ADD SWAP7 POP JUMPDEST POP POP POP POP POP POP PUSH2 0x2B6C DUP2 DUP6 PUSH2 0x2D55 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x2E21 JUMPI PUSH2 0x2E21 PUSH2 0x2C2D JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x2E39 JUMPI PUSH2 0x2E39 PUSH2 0x2C2D JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x32 SWAP1 DUP3 ADD MSTORE PUSH32 0x4552433732313A207472616E7366657220746F206E6F6E204552433732315265 PUSH1 0x40 DUP3 ADD MSTORE PUSH18 0x31B2B4BB32B91034B6B83632B6B2B73A32B9 PUSH1 0x71 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x2E9F JUMPI PUSH2 0x2E9F PUSH2 0x2CE4 JUMP JUMPDEST POP MOD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP8 AND DUP4 MSTORE DUP1 DUP7 AND PUSH1 0x20 DUP5 ADD MSTORE POP DUP4 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x80 PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x2EEC PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0x2623 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2F08 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1B3A DUP2 PUSH2 0x25C4 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MLOAD SDIV 0xEC 0x5C LOG3 DUP10 0xF6 ADDMOD 0x5C CALLDATACOPY SWAP9 0xA7 DIFFICULTY LOG1 PUSH6 0x4842BA8EE1D2 PUSH24 0xDE35A80033273455AC8264736F6C63430008090033000000 ", | |
"sourceMap": "5188:7824:14:-:0;;;5900:94;;;;;;;;;-1:-1:-1;1375:113:4;;;;;;;;;;;;-1:-1:-1;;;1375:113:4;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1375:113:4;;;;1701:1:3;-1:-1:-1;1806:22:3;1375:113:4;921:32:2;719:10:9;921:18:2;:32::i;:::-;1441:13:4;;;;:5;;:13;;;;;:::i;:::-;-1:-1:-1;1464:17:4;;;;:7;;:17;;;;;:::i;:::-;-1:-1:-1;;5947:14:14::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;;5947:14:14::1;::::0;;::::1;::::0;;;::::1;::::0;-1:-1:-1;5947:5:14::1;::::0;:14;::::1;:::i;:::-;-1:-1:-1::0;5971:16:14::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;;5971:16:14::1;::::0;;::::1;::::0;;;::::1;::::0;:7:::1;::::0;:16:::1;:::i;:::-;;5188:7824:::0;;2270:187:2;2362:6;;;-1:-1:-1;;;;;2378:17:2;;;-1:-1:-1;;;;;;2378:17:2;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;5188:7824:14:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5188:7824:14;;;-1:-1:-1;5188:7824:14;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:380:16;93:1;89:12;;;;136;;;157:61;;211:4;203:6;199:17;189:27;;157:61;264:2;256:6;253:14;233:18;230:38;227:161;;;310:10;305:3;301:20;298:1;291:31;345:4;342:1;335:15;373:4;370:1;363:15;227:161;;14:380;;;:::o;:::-;5188:7824:14;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@_add_1979": { | |
"entryPoint": 9055, | |
"id": 1979, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@_approve_1101": { | |
"entryPoint": 6830, | |
"id": 1101, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@_at_2113": { | |
"entryPoint": 9013, | |
"id": 2113, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@_beforeTokenTransfer_2749": { | |
"entryPoint": 8659, | |
"id": 2749, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_checkOnERC721Received_1195": { | |
"entryPoint": 9134, | |
"id": 1195, | |
"parameterSlots": 4, | |
"returnSlots": 1 | |
}, | |
"@_contains_2082": { | |
"entryPoint": null, | |
"id": 2082, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@_exists_815": { | |
"entryPoint": null, | |
"id": 815, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@_isApprovedOrOwner_2795": { | |
"entryPoint": 6977, | |
"id": 2795, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@_length_2096": { | |
"entryPoint": null, | |
"id": 2096, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@_mint_957": { | |
"entryPoint": 7710, | |
"id": 957, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@_msgSender_1677": { | |
"entryPoint": null, | |
"id": 1677, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@_remove_2063": { | |
"entryPoint": 8770, | |
"id": 2063, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@_safeTransfer_797": { | |
"entryPoint": 8354, | |
"id": 797, | |
"parameterSlots": 4, | |
"returnSlots": 0 | |
}, | |
"@_setApprovalForAll_1133": { | |
"entryPoint": 8147, | |
"id": 1133, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_transferOwnership_335": { | |
"entryPoint": 8065, | |
"id": 335, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@_transfer_1077": { | |
"entryPoint": 7240, | |
"id": 1077, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@add_2265": { | |
"entryPoint": 8044, | |
"id": 2265, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@approveAdmin_135": { | |
"entryPoint": 4841, | |
"id": 135, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@approve_636": { | |
"entryPoint": 1774, | |
"id": 636, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@at_2361": { | |
"entryPoint": 7698, | |
"id": 2361, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@balanceOf_494": { | |
"entryPoint": 5011, | |
"id": 494, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@burn_2968": { | |
"entryPoint": 3055, | |
"id": 2968, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@contains_2319": { | |
"entryPoint": 6940, | |
"id": 2319, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@getAdmins_106": { | |
"entryPoint": 2853, | |
"id": 106, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@getApproved_657": { | |
"entryPoint": 1620, | |
"id": 657, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@getFeeBps_3363": { | |
"entryPoint": 2420, | |
"id": 3363, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@getFeeRecipients_3329": { | |
"entryPoint": 5553, | |
"id": 3329, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@getRoyalties_3295": { | |
"entryPoint": 5674, | |
"id": 3295, | |
"parameterSlots": 1, | |
"returnSlots": 2 | |
}, | |
"@isAdmin_184": { | |
"entryPoint": 2561, | |
"id": 184, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@isApprovedForAll_692": { | |
"entryPoint": null, | |
"id": 692, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@isContract_1388": { | |
"entryPoint": null, | |
"id": 1388, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@length_2334": { | |
"entryPoint": 7688, | |
"id": 2334, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@mint_2872": { | |
"entryPoint": 4056, | |
"id": 2872, | |
"parameterSlots": 4, | |
"returnSlots": 0 | |
}, | |
"@move_3119": { | |
"entryPoint": 3350, | |
"id": 3119, | |
"parameterSlots": 4, | |
"returnSlots": 0 | |
}, | |
"@name_2660": { | |
"entryPoint": 1474, | |
"id": 2660, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@ownerOf_522": { | |
"entryPoint": 4610, | |
"id": 522, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@owner_264": { | |
"entryPoint": null, | |
"id": 264, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@remove_2292": { | |
"entryPoint": 7667, | |
"id": 2292, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@renounceOwnership_292": { | |
"entryPoint": 5146, | |
"id": 292, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@revokeAdmin_163": { | |
"entryPoint": 2677, | |
"id": 163, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@royaltyInfo_3384": { | |
"entryPoint": 2618, | |
"id": 3384, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"@safeTransferFrom_738": { | |
"entryPoint": 3028, | |
"id": 738, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@safeTransferFrom_768": { | |
"entryPoint": 5497, | |
"id": 768, | |
"parameterSlots": 4, | |
"returnSlots": 0 | |
}, | |
"@setApprovalForAll_674": { | |
"entryPoint": 5263, | |
"id": 674, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@setCommonURI_3175": { | |
"entryPoint": 4493, | |
"id": 3175, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@setInfo_3139": { | |
"entryPoint": 5274, | |
"id": 3139, | |
"parameterSlots": 4, | |
"returnSlots": 0 | |
}, | |
"@setPrefixURI_3157": { | |
"entryPoint": 5380, | |
"id": 3157, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@setTokenURIs_3221": { | |
"entryPoint": 6254, | |
"id": 3221, | |
"parameterSlots": 4, | |
"returnSlots": 0 | |
}, | |
"@setTransferLock_2933": { | |
"entryPoint": 2082, | |
"id": 2933, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@supportsInterface_1913": { | |
"entryPoint": null, | |
"id": 1913, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@supportsInterface_2650": { | |
"entryPoint": 1281, | |
"id": 2650, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@supportsInterface_42": { | |
"entryPoint": 6713, | |
"id": 42, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@supportsInterface_470": { | |
"entryPoint": 6766, | |
"id": 470, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@symbol_2670": { | |
"entryPoint": 5248, | |
"id": 2670, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@toString_1772": { | |
"entryPoint": 8405, | |
"id": 1772, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@tokenURI_2724": { | |
"entryPoint": 5854, | |
"id": 2724, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@transferFrom_719": { | |
"entryPoint": 2512, | |
"id": 719, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@transferOwnership_315": { | |
"entryPoint": 6513, | |
"id": 315, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@updateRoyalties_3241": { | |
"entryPoint": 4729, | |
"id": 3241, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_decode_array_uint256_dyn_calldata": { | |
"entryPoint": 9916, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_bool": { | |
"entryPoint": 9985, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_decode_string_calldata": { | |
"entryPoint": 10476, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_address": { | |
"entryPoint": 10228, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_address_payablet_uint256": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_addresst_address": { | |
"entryPoint": 11125, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_addresst_addresst_uint256": { | |
"entryPoint": 10163, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 3 | |
}, | |
"abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr": { | |
"entryPoint": 10779, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 4 | |
}, | |
"abi_decode_tuple_t_addresst_bool": { | |
"entryPoint": 10608, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_addresst_uint256": { | |
"entryPoint": 9872, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_array$_t_address_$dyn_calldata_ptrt_array$_t_string_calldata_ptr_$dyn_calldata_ptr": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 4 | |
}, | |
"abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_array$_t_address_$dyn_calldata_ptr": { | |
"entryPoint": 10368, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 4 | |
}, | |
"abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_array$_t_string_calldata_ptr_$dyn_calldata_ptr": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 4 | |
}, | |
"abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_bool": { | |
"entryPoint": 10001, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 3 | |
}, | |
"abi_decode_tuple_t_bytes4": { | |
"entryPoint": 9690, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_bytes4_fromMemory": { | |
"entryPoint": 12022, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_string_calldata_ptr": { | |
"entryPoint": 10542, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_string_calldata_ptrt_string_calldata_ptr": { | |
"entryPoint": 10661, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 4 | |
}, | |
"abi_decode_tuple_t_uint256": { | |
"entryPoint": 9826, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_uint256t_uint256": { | |
"entryPoint": 10257, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_encode_array_address_payable_dyn": { | |
"entryPoint": 11003, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_array_uint256_dyn": { | |
"entryPoint": 10085, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_string": { | |
"entryPoint": 11605, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_string_memory_ptr": { | |
"entryPoint": 9763, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_packed_t_string_storage_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { | |
"entryPoint": 11633, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_address_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed": { | |
"entryPoint": 11962, | |
"id": null, | |
"parameterSlots": 5, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed": { | |
"entryPoint": 10291, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_array$_t_address_payable_$dyn_memory_ptr__to_t_array$_t_address_payable_$dyn_memory_ptr__fromStack_reversed": { | |
"entryPoint": 11060, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_array$_t_address_payable_$dyn_memory_ptr_t_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_address_payable_$dyn_memory_ptr_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed": { | |
"entryPoint": 11079, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed": { | |
"entryPoint": 10144, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 9807, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 11838, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_4892f3b717a0ca25da2e12e0efcc5a7d9dc7aeec0ebe4b751a95c0b900f28934__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_af39b50065ba9648c753f781fa674704d13ce8309cf446a262799d7aceba8e5b__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 11380, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_ca6fc84f9a44d1110756284e5c56ff72cff80e2de6c9cfbe8379a88afa111687__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 11241, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"access_calldata_tail_t_string_calldata_ptr": { | |
"entryPoint": 11534, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"array_dataslot_string_storage": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"checked_add_t_uint256": { | |
"entryPoint": 11814, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_div_t_uint256": { | |
"entryPoint": 11514, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_mul_t_uint256": { | |
"entryPoint": 11461, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_sub_t_uint256": { | |
"entryPoint": 11791, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"copy_memory_to_memory": { | |
"entryPoint": 9719, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"extract_byte_array_length": { | |
"entryPoint": 11182, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"increment_t_uint256": { | |
"entryPoint": 11331, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"mod_t_uint256": { | |
"entryPoint": 11920, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x11": { | |
"entryPoint": 11309, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x12": { | |
"entryPoint": 11492, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x31": { | |
"entryPoint": 11940, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x32": { | |
"entryPoint": 11358, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x41": { | |
"entryPoint": 10757, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"validator_revert_address": { | |
"entryPoint": 9851, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"validator_revert_bytes4": { | |
"entryPoint": 9668, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:26107:16", | |
"statements": [ | |
{ | |
"nodeType": "YulBlock", | |
"src": "6:3:16", | |
"statements": [] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "58:87:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "123:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "132:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "135:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "125:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "125:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "125:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "81:5:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "92:5:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "103:3:16", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "108:10:16", | |
"type": "", | |
"value": "0xffffffff" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "99:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "99:20:16" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "88:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "88:32:16" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "78:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "78:43:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "71:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "71:51:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "68:71:16" | |
} | |
] | |
}, | |
"name": "validator_revert_bytes4", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "47:5:16", | |
"type": "" | |
} | |
], | |
"src": "14:131:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "219:176:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "265:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "274:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "277:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "267:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "267:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "267:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "240:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "249:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "236:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "236:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "261:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "232:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "232:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "229:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "290:36:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "316:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "303:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "303:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "294:5:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "359:5:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_bytes4", | |
"nodeType": "YulIdentifier", | |
"src": "335:23:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "335:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "335:30:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "374:15:16", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "384:5:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "374:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_bytes4", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "185:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "196:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "208:6:16", | |
"type": "" | |
} | |
], | |
"src": "150:245:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "495:92:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "505:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "517:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "528:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "513:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "513:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "505:4:16" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "547:9:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "572:6:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "565:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "565:14:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "558:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "558:22:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "540:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "540:41:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "540:41:16" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "464:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "475:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "486:4:16", | |
"type": "" | |
} | |
], | |
"src": "400:187:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "645:205:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "655:10:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "664:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "659:1:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "724:63:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "749:3:16" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "754:1:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "745:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "745:11:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "768:3:16" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "773:1:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "764:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "764:11:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "758:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "758:18:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "738:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "738:39:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "738:39:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "685:1:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "688:6:16" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "682:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "682:13:16" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "696:19:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "698:15:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "707:1:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "710:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "703:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "703:10:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "698:1:16" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "678:3:16", | |
"statements": [] | |
}, | |
"src": "674:113:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "813:31:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "826:3:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "831:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "822:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "822:16:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "840:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "815:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "815:27:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "815:27:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "802:1:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "805:6:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "799:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "799:13:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "796:48:16" | |
} | |
] | |
}, | |
"name": "copy_memory_to_memory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "623:3:16", | |
"type": "" | |
}, | |
{ | |
"name": "dst", | |
"nodeType": "YulTypedName", | |
"src": "628:3:16", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "633:6:16", | |
"type": "" | |
} | |
], | |
"src": "592:258:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "916:208:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "926:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "946:5:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "940:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "940:12:16" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "930:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "968:3:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "973:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "961:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "961:19:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "961:19:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1015:5:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1022:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1011:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1011:16:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1033:3:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1038:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1029:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1029:14:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1045:6:16" | |
} | |
], | |
"functionName": { | |
"name": "copy_memory_to_memory", | |
"nodeType": "YulIdentifier", | |
"src": "989:21:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "989:63:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "989:63:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1061:57:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1076:3:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1089:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1097:2:16", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1085:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1085:15:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1106:2:16", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "1102:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1102:7:16" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1081:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1081:29:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1072:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1072:39:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1113:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1068:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1068:50:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "1061:3:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_string_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "893:5:16", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "900:3:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "908:3:16", | |
"type": "" | |
} | |
], | |
"src": "855:269:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1250:110:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1267:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1278:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1260:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1260:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1260:21:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1290:64:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1327:6:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1339:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1350:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1335:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1335:18:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_string_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "1298:28:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1298:56:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1290:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1219:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1230:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1241:4:16", | |
"type": "" | |
} | |
], | |
"src": "1129:231:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1435:110:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1481:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1490:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1493:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1483:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1483:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1483:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1456:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1465:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "1452:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1452:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1477:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "1448:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1448:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "1445:52:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1506:33:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1529:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "1516:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1516:23:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1506:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1401:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "1412:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1424:6:16", | |
"type": "" | |
} | |
], | |
"src": "1365:180:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1651:125:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1661:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1673:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1684:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1669:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1669:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1661:4:16" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1703:9:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1718:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1726:42:16", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1714:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1714:55:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1696:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1696:74:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1696:74:16" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1620:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1631:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1642:4:16", | |
"type": "" | |
} | |
], | |
"src": "1550:226:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1826:109:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1913:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1922:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1925:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1915:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1915:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1915:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1849:5:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1860:5:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1867:42:16", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1856:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1856:54:16" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "1846:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1846:65:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "1839:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1839:73:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "1836:93:16" | |
} | |
] | |
}, | |
"name": "validator_revert_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1815:5:16", | |
"type": "" | |
} | |
], | |
"src": "1781:154:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2027:228:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2073:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2082:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2085:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2075:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2075:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2075:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "2048:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2057:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "2044:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2044:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2069:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "2040:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2040:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "2037:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2098:36:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2124:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "2111:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2111:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2102:5:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2168:5:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "2143:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2143:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2143:31:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2183:15:16", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2193:5:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "2183:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2207:42:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2234:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2245:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2230:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2230:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "2217:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2217:32:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "2207:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1985:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "1996:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "2008:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "2016:6:16", | |
"type": "" | |
} | |
], | |
"src": "1940:315:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2344:283:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2393:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2402:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2405:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2395:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2395:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2395:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2372:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2380:4:16", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2368:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2368:17:16" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "2387:3:16" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "2364:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2364:27:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "2357:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2357:35:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "2354:55:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2418:30:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2441:6:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "2428:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2428:20:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2418:6:16" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2491:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2500:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2503:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2493:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2493:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2493:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2463:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2471:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "2460:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2460:30:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "2457:50:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2516:29:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2532:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2540:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2528:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2528:17:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "arrayPos", | |
"nodeType": "YulIdentifier", | |
"src": "2516:8:16" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2605:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2614:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2617:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2607:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2607:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2607:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2568:6:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2580:1:16", | |
"type": "", | |
"value": "5" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2583:6:16" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "2576:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2576:14:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2564:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2564:27:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2593:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2560:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2560:38:16" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "2600:3:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "2557:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2557:47:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "2554:67:16" | |
} | |
] | |
}, | |
"name": "abi_decode_array_uint256_dyn_calldata", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "2307:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "2315:3:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "arrayPos", | |
"nodeType": "YulTypedName", | |
"src": "2323:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "2333:6:16", | |
"type": "" | |
} | |
], | |
"src": "2260:367:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2678:114:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2688:29:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2710:6:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "2697:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2697:20:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2688:5:16" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2770:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2779:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2782:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2772:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2772:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2772:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2739:5:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2760:5:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "2753:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2753:13:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "2746:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2746:21:16" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "2736:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2736:32:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "2729:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2729:40:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "2726:60:16" | |
} | |
] | |
}, | |
"name": "abi_decode_bool", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "2657:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2668:5:16", | |
"type": "" | |
} | |
], | |
"src": "2632:160:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2916:386:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2962:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2971:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2974:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2964:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2964:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2964:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "2937:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2946:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "2933:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2933:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2958:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "2929:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2929:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "2926:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2987:37:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3014:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "3001:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3001:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "2991:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3067:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3076:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3079:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3069:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3069:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3069:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "3039:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3047:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "3036:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3036:30:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "3033:50:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "3092:96:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3160:9:16" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "3171:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3156:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3156:22:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "3180:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_array_uint256_dyn_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "3118:37:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3118:70:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value0_1", | |
"nodeType": "YulTypedName", | |
"src": "3096:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1_1", | |
"nodeType": "YulTypedName", | |
"src": "3106:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3197:18:16", | |
"value": { | |
"name": "value0_1", | |
"nodeType": "YulIdentifier", | |
"src": "3207:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "3197:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3224:18:16", | |
"value": { | |
"name": "value1_1", | |
"nodeType": "YulIdentifier", | |
"src": "3234:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "3224:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3251:45:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3281:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3292:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3277:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3277:18:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_bool", | |
"nodeType": "YulIdentifier", | |
"src": "3261:15:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3261:35:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "3251:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_bool", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "2866:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "2877:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "2889:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "2897:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "2905:6:16", | |
"type": "" | |
} | |
], | |
"src": "2797:505:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3368:374:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "3378:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3398:5:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "3392:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3392:12:16" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "3382:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3420:3:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "3425:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3413:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3413:19:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3413:19:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "3441:14:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3451:4:16", | |
"type": "", | |
"value": "0x20" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "3445:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3464:19:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3475:3:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "3480:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3471:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3471:12:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3464:3:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "3492:28:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3510:5:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "3517:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3506:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3506:14:16" | |
}, | |
"variables": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulTypedName", | |
"src": "3496:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "3529:10:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3538:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "3533:1:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3597:120:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3618:3:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "3629:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "3623:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3623:13:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3611:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3611:26:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3611:26:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3650:19:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3661:3:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "3666:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3657:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3657:12:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3650:3:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3682:25:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "3696:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "3704:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3692:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3692:15:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "3682:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "3559:1:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "3562:6:16" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "3556:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3556:13:16" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "3570:18:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3572:14:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "3581:1:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3584:1:16", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3577:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3577:9:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "3572:1:16" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "3552:3:16", | |
"statements": [] | |
}, | |
"src": "3548:169:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3726:10:16", | |
"value": { | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3733:3:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "3726:3:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_array_uint256_dyn", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3345:5:16", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "3352:3:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "3360:3:16", | |
"type": "" | |
} | |
], | |
"src": "3307:435:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3898:110:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3915:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3926:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3908:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3908:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3908:21:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3938:64:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "3975:6:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3987:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3998:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3983:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3983:18:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_array_uint256_dyn", | |
"nodeType": "YulIdentifier", | |
"src": "3946:28:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3946:56:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3938:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3867:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "3878:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3889:4:16", | |
"type": "" | |
} | |
], | |
"src": "3747:261:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4117:352:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4163:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4172:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4175:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "4165:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4165:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4165:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "4138:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4147:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "4134:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4134:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4159:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "4130:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4130:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "4127:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4188:36:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4214:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "4201:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4201:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4192:5:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4258:5:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "4233:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4233:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4233:31:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4273:15:16", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4283:5:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "4273:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4297:47:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4329:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4340:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4325:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4325:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "4312:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4312:32:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value_1", | |
"nodeType": "YulTypedName", | |
"src": "4301:7:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value_1", | |
"nodeType": "YulIdentifier", | |
"src": "4378:7:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "4353:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4353:33:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4353:33:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4395:17:16", | |
"value": { | |
"name": "value_1", | |
"nodeType": "YulIdentifier", | |
"src": "4405:7:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "4395:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4421:42:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4448:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4459:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4444:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4444:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "4431:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4431:32:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "4421:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_addresst_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4067:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "4078:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "4090:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "4098:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "4106:6:16", | |
"type": "" | |
} | |
], | |
"src": "4013:456:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4544:177:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4590:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4599:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4602:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "4592:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4592:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4592:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "4565:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4574:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "4561:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4561:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4586:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "4557:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4557:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "4554:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4615:36:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4641:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "4628:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4628:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4619:5:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4685:5:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "4660:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4660:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4660:31:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4700:15:16", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4710:5:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "4700:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4510:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "4521:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "4533:6:16", | |
"type": "" | |
} | |
], | |
"src": "4474:247:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4813:161:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4859:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4868:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4871:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "4861:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4861:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4861:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "4834:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4843:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "4830:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4830:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4855:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "4826:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4826:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "4823:52:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4884:33:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4907:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "4894:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4894:23:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "4884:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4926:42:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4953:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4964:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4949:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4949:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "4936:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4936:32:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "4926:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint256t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4771:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "4782:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "4794:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "4802:6:16", | |
"type": "" | |
} | |
], | |
"src": "4726:248:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5108:168:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5118:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5130:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5141:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5126:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5126:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5118:4:16" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5160:9:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "5175:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5183:42:16", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "5171:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5171:55:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5153:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5153:74:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5153:74:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5247:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5258:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5243:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5243:18:16" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "5263:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5236:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5236:34:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5236:34:16" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5069:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "5080:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "5088:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "5099:4:16", | |
"type": "" | |
} | |
], | |
"src": "4979:297:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5432:530:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5442:12:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5452:2:16", | |
"type": "", | |
"value": "32" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "5446:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5463:32:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5481:9:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "5492:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5477:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5477:18:16" | |
}, | |
"variables": [ | |
{ | |
"name": "tail_1", | |
"nodeType": "YulTypedName", | |
"src": "5467:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5511:9:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "5522:2:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5504:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5504:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5504:21:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5534:17:16", | |
"value": { | |
"name": "tail_1", | |
"nodeType": "YulIdentifier", | |
"src": "5545:6:16" | |
}, | |
"variables": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "5538:3:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5560:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "5580:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "5574:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5574:13:16" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "5564:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "tail_1", | |
"nodeType": "YulIdentifier", | |
"src": "5603:6:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "5611:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5596:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5596:22:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5596:22:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5627:25:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5638:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5649:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5634:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5634:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "5627:3:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5661:29:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "5679:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "5687:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5675:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5675:15:16" | |
}, | |
"variables": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulTypedName", | |
"src": "5665:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5699:10:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5708:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "5703:1:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5767:169:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "5788:3:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "5803:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "5797:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5797:13:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5812:42:16", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "5793:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5793:62:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5781:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5781:75:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5781:75:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5869:19:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "5880:3:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "5885:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5876:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5876:12:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "5869:3:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5901:25:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "5915:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "5923:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5911:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5911:15:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "5901:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "5729:1:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "5732:6:16" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "5726:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5726:13:16" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "5740:18:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5742:14:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "5751:1:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5754:1:16", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5747:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5747:9:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "5742:1:16" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "5722:3:16", | |
"statements": [] | |
}, | |
"src": "5718:218:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5945:11:16", | |
"value": { | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "5953:3:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5945:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_array$_t_address_$dyn_memory_ptr__to_t_array$_t_address_$dyn_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5401:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "5412:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "5423:4:16", | |
"type": "" | |
} | |
], | |
"src": "5281:681:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6124:616:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6170:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6179:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6182:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "6172:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6172:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6172:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "6145:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6154:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "6141:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6141:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6166:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "6137:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6137:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "6134:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "6195:37:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6222:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "6209:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6209:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "6199:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "6241:28:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6251:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "6245:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6296:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6305:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6308:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "6298:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6298:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6298:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "6284:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "6292:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "6281:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6281:14:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "6278:34:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "6321:96:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6389:9:16" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "6400:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6385:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6385:22:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "6409:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_array_uint256_dyn_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "6347:37:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6347:70:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value0_1", | |
"nodeType": "YulTypedName", | |
"src": "6325:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1_1", | |
"nodeType": "YulTypedName", | |
"src": "6335:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6426:18:16", | |
"value": { | |
"name": "value0_1", | |
"nodeType": "YulIdentifier", | |
"src": "6436:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "6426:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6453:18:16", | |
"value": { | |
"name": "value1_1", | |
"nodeType": "YulIdentifier", | |
"src": "6463:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "6453:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "6480:48:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6513:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6524:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6509:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6509:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "6496:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6496:32:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset_1", | |
"nodeType": "YulTypedName", | |
"src": "6484:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6557:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6566:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6569:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "6559:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6559:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6559:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset_1", | |
"nodeType": "YulIdentifier", | |
"src": "6543:8:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "6553:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "6540:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6540:16:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "6537:36:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "6582:98:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6650:9:16" | |
}, | |
{ | |
"name": "offset_1", | |
"nodeType": "YulIdentifier", | |
"src": "6661:8:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6646:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6646:24:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "6672:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_array_uint256_dyn_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "6608:37:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6608:72:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value2_1", | |
"nodeType": "YulTypedName", | |
"src": "6586:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3_1", | |
"nodeType": "YulTypedName", | |
"src": "6596:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6689:18:16", | |
"value": { | |
"name": "value2_1", | |
"nodeType": "YulIdentifier", | |
"src": "6699:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "6689:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6716:18:16", | |
"value": { | |
"name": "value3_1", | |
"nodeType": "YulIdentifier", | |
"src": "6726:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "6716:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_array$_t_address_$dyn_calldata_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "6066:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "6077:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "6089:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "6097:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "6105:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "6113:6:16", | |
"type": "" | |
} | |
], | |
"src": "5967:773:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6914:616:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6960:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6969:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6972:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "6962:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6962:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6962:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "6935:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6944:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "6931:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6931:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6956:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "6927:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6927:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "6924:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "6985:37:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7012:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "6999:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6999:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "6989:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7031:28:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7041:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "7035:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7086:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7095:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7098:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "7088:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7088:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7088:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "7074:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "7082:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "7071:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7071:14:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "7068:34:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7111:96:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7179:9:16" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "7190:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7175:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7175:22:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "7199:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_array_uint256_dyn_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "7137:37:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7137:70:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value0_1", | |
"nodeType": "YulTypedName", | |
"src": "7115:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1_1", | |
"nodeType": "YulTypedName", | |
"src": "7125:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7216:18:16", | |
"value": { | |
"name": "value0_1", | |
"nodeType": "YulIdentifier", | |
"src": "7226:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "7216:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7243:18:16", | |
"value": { | |
"name": "value1_1", | |
"nodeType": "YulIdentifier", | |
"src": "7253:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "7243:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7270:48:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7303:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7314:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7299:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7299:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "7286:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7286:32:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset_1", | |
"nodeType": "YulTypedName", | |
"src": "7274:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7347:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7356:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7359:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "7349:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7349:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7349:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset_1", | |
"nodeType": "YulIdentifier", | |
"src": "7333:8:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "7343:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "7330:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7330:16:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "7327:36:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7372:98:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7440:9:16" | |
}, | |
{ | |
"name": "offset_1", | |
"nodeType": "YulIdentifier", | |
"src": "7451:8:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7436:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7436:24:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "7462:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_array_uint256_dyn_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "7398:37:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7398:72:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value2_1", | |
"nodeType": "YulTypedName", | |
"src": "7376:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3_1", | |
"nodeType": "YulTypedName", | |
"src": "7386:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7479:18:16", | |
"value": { | |
"name": "value2_1", | |
"nodeType": "YulIdentifier", | |
"src": "7489:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "7479:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7506:18:16", | |
"value": { | |
"name": "value3_1", | |
"nodeType": "YulIdentifier", | |
"src": "7516:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "7506:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_array$_t_address_$dyn_calldata_ptrt_array$_t_string_calldata_ptr_$dyn_calldata_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "6856:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "6867:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "6879:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "6887:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "6895:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "6903:6:16", | |
"type": "" | |
} | |
], | |
"src": "6745:785:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7608:275:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7657:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7666:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7669:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "7659:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7659:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7659:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "7636:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7644:4:16", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7632:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7632:17:16" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "7651:3:16" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "7628:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7628:27:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "7621:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7621:35:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "7618:55:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7682:30:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "7705:6:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "7692:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7692:20:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "7682:6:16" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7755:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7764:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7767:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "7757:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7757:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7757:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "7727:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7735:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "7724:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7724:30:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "7721:50:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7780:29:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "7796:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7804:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7792:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7792:17:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "arrayPos", | |
"nodeType": "YulIdentifier", | |
"src": "7780:8:16" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7861:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7870:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7873:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "7863:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7863:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7863:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "7832:6:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "7840:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7828:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7828:19:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7849:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7824:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7824:30:16" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "7856:3:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "7821:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7821:39:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "7818:59:16" | |
} | |
] | |
}, | |
"name": "abi_decode_string_calldata", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "7571:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "7579:3:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "arrayPos", | |
"nodeType": "YulTypedName", | |
"src": "7587:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "7597:6:16", | |
"type": "" | |
} | |
], | |
"src": "7535:348:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7978:321:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8024:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8033:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8036:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "8026:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8026:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8026:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "7999:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8008:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "7995:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7995:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8020:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "7991:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7991:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "7988:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "8049:37:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8076:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "8063:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8063:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "8053:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8129:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8138:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8141:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "8131:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8131:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8131:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "8101:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8109:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "8098:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8098:30:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "8095:50:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "8154:85:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8211:9:16" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "8222:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8207:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8207:22:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "8231:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_string_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "8180:26:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8180:59:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value0_1", | |
"nodeType": "YulTypedName", | |
"src": "8158:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1_1", | |
"nodeType": "YulTypedName", | |
"src": "8168:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8248:18:16", | |
"value": { | |
"name": "value0_1", | |
"nodeType": "YulIdentifier", | |
"src": "8258:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "8248:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8275:18:16", | |
"value": { | |
"name": "value1_1", | |
"nodeType": "YulIdentifier", | |
"src": "8285:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "8275:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_string_calldata_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "7936:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "7947:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "7959:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "7967:6:16", | |
"type": "" | |
} | |
], | |
"src": "7888:411:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8399:228:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8445:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8454:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8457:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "8447:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8447:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8447:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "8420:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8429:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "8416:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8416:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8441:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "8412:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8412:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "8409:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "8470:36:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8496:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "8483:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8483:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "8474:5:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "8540:5:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "8515:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8515:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8515:31:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8555:15:16", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "8565:5:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "8555:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8579:42:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8606:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8617:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8602:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8602:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "8589:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8589:32:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "8579:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address_payablet_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "8357:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "8368:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "8380:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "8388:6:16", | |
"type": "" | |
} | |
], | |
"src": "8304:323:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8733:76:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8743:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8755:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8766:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8751:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8751:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8743:4:16" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8785:9:16" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "8796:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8778:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8778:25:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8778:25:16" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "8702:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "8713:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "8724:4:16", | |
"type": "" | |
} | |
], | |
"src": "8632:177:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8898:231:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8944:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8953:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8956:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "8946:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8946:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8946:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "8919:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8928:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "8915:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8915:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8940:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "8911:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8911:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "8908:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "8969:36:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8995:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "8982:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8982:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "8973:5:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9039:5:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "9014:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9014:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9014:31:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9054:15:16", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9064:5:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "9054:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9078:45:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9108:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9119:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9104:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9104:18:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_bool", | |
"nodeType": "YulIdentifier", | |
"src": "9088:15:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9088:35:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "9078:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_bool", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "8856:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "8867:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "8879:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "8887:6:16", | |
"type": "" | |
} | |
], | |
"src": "8814:315:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9261:594:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9307:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9316:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9319:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9309:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9309:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9309:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "9282:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9291:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "9278:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9278:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9303:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "9274:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9274:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "9271:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "9332:37:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9359:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "9346:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9346:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "9336:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "9378:28:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9388:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "9382:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9433:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9442:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9445:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9435:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9435:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9435:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "9421:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "9429:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "9418:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9418:14:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "9415:34:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "9458:85:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9515:9:16" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "9526:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9511:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9511:22:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "9535:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_string_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "9484:26:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9484:59:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value0_1", | |
"nodeType": "YulTypedName", | |
"src": "9462:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1_1", | |
"nodeType": "YulTypedName", | |
"src": "9472:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9552:18:16", | |
"value": { | |
"name": "value0_1", | |
"nodeType": "YulIdentifier", | |
"src": "9562:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "9552:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9579:18:16", | |
"value": { | |
"name": "value1_1", | |
"nodeType": "YulIdentifier", | |
"src": "9589:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "9579:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "9606:48:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9639:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9650:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9635:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9635:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "9622:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9622:32:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset_1", | |
"nodeType": "YulTypedName", | |
"src": "9610:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9683:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9692:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9695:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9685:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9685:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9685:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset_1", | |
"nodeType": "YulIdentifier", | |
"src": "9669:8:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "9679:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "9666:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9666:16:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "9663:36:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "9708:87:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9765:9:16" | |
}, | |
{ | |
"name": "offset_1", | |
"nodeType": "YulIdentifier", | |
"src": "9776:8:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9761:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9761:24:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "9787:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_string_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "9734:26:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9734:61:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value2_1", | |
"nodeType": "YulTypedName", | |
"src": "9712:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3_1", | |
"nodeType": "YulTypedName", | |
"src": "9722:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9804:18:16", | |
"value": { | |
"name": "value2_1", | |
"nodeType": "YulIdentifier", | |
"src": "9814:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "9804:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9831:18:16", | |
"value": { | |
"name": "value3_1", | |
"nodeType": "YulIdentifier", | |
"src": "9841:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "9831:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_string_calldata_ptrt_string_calldata_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "9203:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "9214:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "9226:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "9234:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "9242:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "9250:6:16", | |
"type": "" | |
} | |
], | |
"src": "9134:721:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9892:95:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9909:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9916:3:16", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9921:10:16", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "9912:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9912:20:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9902:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9902:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9902:31:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9949:1:16", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9952:4:16", | |
"type": "", | |
"value": "0x41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9942:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9942:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9942:15:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9973:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9976:4:16", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9966:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9966:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9966:15:16" | |
} | |
] | |
}, | |
"name": "panic_error_0x41", | |
"nodeType": "YulFunctionDefinition", | |
"src": "9860:127:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10122:1136:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10169:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10178:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10181:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "10171:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10171:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10171:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "10143:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10152:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "10139:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10139:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10164:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "10135:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10135:33:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "10132:53:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10194:36:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10220:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "10207:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10207:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "10198:5:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "10264:5:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "10239:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10239:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10239:31:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10279:15:16", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "10289:5:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "10279:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10303:47:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10335:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10346:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10331:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10331:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "10318:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10318:32:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value_1", | |
"nodeType": "YulTypedName", | |
"src": "10307:7:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value_1", | |
"nodeType": "YulIdentifier", | |
"src": "10384:7:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "10359:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10359:33:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10359:33:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10401:17:16", | |
"value": { | |
"name": "value_1", | |
"nodeType": "YulIdentifier", | |
"src": "10411:7:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "10401:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10427:42:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10454:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10465:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10450:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10450:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "10437:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10437:32:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "10427:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10478:46:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10509:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10520:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10505:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10505:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "10492:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10492:32:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "10482:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10533:28:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10543:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "10537:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10588:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10597:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10600:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "10590:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10590:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10590:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "10576:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "10584:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "10573:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10573:14:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "10570:34:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10613:32:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10627:9:16" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "10638:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10623:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10623:22:16" | |
}, | |
"variables": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulTypedName", | |
"src": "10617:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10693:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10702:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10705:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "10695:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10695:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10695:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "10672:2:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10676:4:16", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10668:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10668:13:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "10683:7:16" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "10664:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10664:27:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "10657:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10657:35:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "10654:55:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10718:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "10741:2:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "10728:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10728:16:16" | |
}, | |
"variables": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulTypedName", | |
"src": "10722:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10767:22:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "10769:16:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10769:18:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10769:18:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "10759:2:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "10763:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "10756:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10756:10:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "10753:36:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10798:17:16", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10812:2:16", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "10808:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10808:7:16" | |
}, | |
"variables": [ | |
{ | |
"name": "_4", | |
"nodeType": "YulTypedName", | |
"src": "10802:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10824:23:16", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10844:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "10838:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10838:9:16" | |
}, | |
"variables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "10828:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10856:71:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10878:6:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "10902:2:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10906:4:16", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10898:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10898:13:16" | |
}, | |
{ | |
"name": "_4", | |
"nodeType": "YulIdentifier", | |
"src": "10913:2:16" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "10894:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10894:22:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10918:2:16", | |
"type": "", | |
"value": "63" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10890:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10890:31:16" | |
}, | |
{ | |
"name": "_4", | |
"nodeType": "YulIdentifier", | |
"src": "10923:2:16" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "10886:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10886:40:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10874:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10874:53:16" | |
}, | |
"variables": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulTypedName", | |
"src": "10860:10:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10986:22:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "10988:16:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10988:18:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10988:18:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "10945:10:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "10957:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "10942:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10942:18:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "10965:10:16" | |
}, | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10977:6:16" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "10962:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10962:22:16" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "10939:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10939:46:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "10936:72:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11024:2:16", | |
"type": "", | |
"value": "64" | |
}, | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "11028:10:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11017:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11017:22:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11017:22:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "11055:6:16" | |
}, | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "11063:2:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11048:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11048:18:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11048:18:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11112:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11121:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11124:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "11114:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11114:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11114:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "11089:2:16" | |
}, | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "11093:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11085:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11085:11:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11098:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11081:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11081:20:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "11103:7:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "11078:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11078:33:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "11075:53:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "11154:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11162:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11150:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11150:15:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "11171:2:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11175:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11167:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11167:11:16" | |
}, | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "11180:2:16" | |
} | |
], | |
"functionName": { | |
"name": "calldatacopy", | |
"nodeType": "YulIdentifier", | |
"src": "11137:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11137:46:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11137:46:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "11207:6:16" | |
}, | |
{ | |
"name": "_3", | |
"nodeType": "YulIdentifier", | |
"src": "11215:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11203:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11203:15:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11220:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11199:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11199:24:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11225:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11192:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11192:35:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11192:35:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11236:16:16", | |
"value": { | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "11246:6:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "11236:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "10064:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "10075:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "10087:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "10095:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "10103:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "10111:6:16", | |
"type": "" | |
} | |
], | |
"src": "9992:1266:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11332:423:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "11342:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "11362:5:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "11356:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11356:12:16" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "11346:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11384:3:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "11389:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11377:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11377:19:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11377:19:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "11405:14:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11415:4:16", | |
"type": "", | |
"value": "0x20" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "11409:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11428:19:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11439:3:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "11444:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11435:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11435:12:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11428:3:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "11456:28:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "11474:5:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "11481:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11470:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11470:14:16" | |
}, | |
"variables": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulTypedName", | |
"src": "11460:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "11493:10:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11502:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "11497:1:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11561:169:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11582:3:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "11597:6:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "11591:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11591:13:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11606:42:16", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "11587:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11587:62:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11575:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11575:75:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11575:75:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11663:19:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11674:3:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "11679:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11670:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11670:12:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11663:3:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11695:25:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "11709:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "11717:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11705:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11705:15:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "11695:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "11523:1:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "11526:6:16" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "11520:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11520:13:16" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "11534:18:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11536:14:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "11545:1:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11548:1:16", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11541:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11541:9:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "11536:1:16" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "11516:3:16", | |
"statements": [] | |
}, | |
"src": "11512:218:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11739:10:16", | |
"value": { | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11746:3:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "11739:3:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_array_address_payable_dyn", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "11309:5:16", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "11316:3:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "11324:3:16", | |
"type": "" | |
} | |
], | |
"src": "11263:492:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11927:118:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11944:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11955:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11937:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11937:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11937:21:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11967:72:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "12012:6:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12024:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12035:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12020:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12020:18:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_array_address_payable_dyn", | |
"nodeType": "YulIdentifier", | |
"src": "11975:36:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11975:64:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "11967:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_array$_t_address_payable_$dyn_memory_ptr__to_t_array$_t_address_payable_$dyn_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "11896:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "11907:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "11918:4:16", | |
"type": "" | |
} | |
], | |
"src": "11760:285:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12295:244:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12312:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12323:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12305:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12305:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12305:21:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "12335:78:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "12386:6:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12398:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12409:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12394:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12394:18:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_array_address_payable_dyn", | |
"nodeType": "YulIdentifier", | |
"src": "12349:36:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12349:64:16" | |
}, | |
"variables": [ | |
{ | |
"name": "tail_1", | |
"nodeType": "YulTypedName", | |
"src": "12339:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12433:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12444:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12429:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12429:18:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail_1", | |
"nodeType": "YulIdentifier", | |
"src": "12453:6:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12461:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "12449:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12449:22:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12422:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12422:50:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12422:50:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12481:52:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "12518:6:16" | |
}, | |
{ | |
"name": "tail_1", | |
"nodeType": "YulIdentifier", | |
"src": "12526:6:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_array_uint256_dyn", | |
"nodeType": "YulIdentifier", | |
"src": "12489:28:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12489:44:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "12481:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_array$_t_address_payable_$dyn_memory_ptr_t_array$_t_uint256_$dyn_memory_ptr__to_t_array$_t_address_payable_$dyn_memory_ptr_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "12256:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "12267:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "12275:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "12286:4:16", | |
"type": "" | |
} | |
], | |
"src": "12050:489:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12713:616:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12759:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12768:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12771:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "12761:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12761:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12761:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "12734:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12743:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "12730:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12730:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12755:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "12726:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12726:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "12723:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "12784:37:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12811:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "12798:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12798:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "12788:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "12830:28:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12840:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "12834:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12885:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12894:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12897:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "12887:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12887:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12887:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "12873:6:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "12881:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "12870:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12870:14:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "12867:34:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "12910:96:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12978:9:16" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "12989:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12974:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12974:22:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "12998:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_array_uint256_dyn_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "12936:37:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12936:70:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value0_1", | |
"nodeType": "YulTypedName", | |
"src": "12914:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1_1", | |
"nodeType": "YulTypedName", | |
"src": "12924:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13015:18:16", | |
"value": { | |
"name": "value0_1", | |
"nodeType": "YulIdentifier", | |
"src": "13025:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "13015:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13042:18:16", | |
"value": { | |
"name": "value1_1", | |
"nodeType": "YulIdentifier", | |
"src": "13052:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "13042:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "13069:48:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13102:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13113:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13098:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13098:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "13085:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13085:32:16" | |
}, | |
"variables": [ | |
{ | |
"name": "offset_1", | |
"nodeType": "YulTypedName", | |
"src": "13073:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13146:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13155:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13158:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "13148:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13148:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "13148:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset_1", | |
"nodeType": "YulIdentifier", | |
"src": "13132:8:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "13142:2:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "13129:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13129:16:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "13126:36:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "13171:98:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13239:9:16" | |
}, | |
{ | |
"name": "offset_1", | |
"nodeType": "YulIdentifier", | |
"src": "13250:8:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13235:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13235:24:16" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "13261:7:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_array_uint256_dyn_calldata", | |
"nodeType": "YulIdentifier", | |
"src": "13197:37:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13197:72:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value2_1", | |
"nodeType": "YulTypedName", | |
"src": "13175:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3_1", | |
"nodeType": "YulTypedName", | |
"src": "13185:8:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13278:18:16", | |
"value": { | |
"name": "value2_1", | |
"nodeType": "YulIdentifier", | |
"src": "13288:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "13278:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13305:18:16", | |
"value": { | |
"name": "value3_1", | |
"nodeType": "YulIdentifier", | |
"src": "13315:8:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "13305:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_array$_t_uint256_$dyn_calldata_ptrt_array$_t_string_calldata_ptr_$dyn_calldata_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "12655:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "12666:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "12678:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "12686:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "12694:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "12702:6:16", | |
"type": "" | |
} | |
], | |
"src": "12544:785:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13421:301:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13467:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13476:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13479:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "13469:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13469:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "13469:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "13442:7:16" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13451:9:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "13438:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13438:23:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13463:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "13434:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13434:32:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "13431:52:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "13492:36:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13518:9:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "13505:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13505:23:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "13496:5:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "13562:5:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "13537:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13537:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "13537:31:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13577:15:16", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "13587:5:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "13577:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "13601:47:16", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13633:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13644:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13629:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13629:18:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "13616:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13616:32:16" | |
}, | |
"variables": [ | |
{ | |
"name": "value_1", | |
"nodeType": "YulTypedName", | |
"src": "13605:7:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value_1", | |
"nodeType": "YulIdentifier", | |
"src": "13682:7:16" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_address", | |
"nodeType": "YulIdentifier", | |
"src": "13657:24:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13657:33:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "13657:33:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13699:17:16", | |
"value": { | |
"name": "value_1", | |
"nodeType": "YulIdentifier", | |
"src": "13709:7:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "13699:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "13379:9:16", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "13390:7:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "13402:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "13410:6:16", | |
"type": "" | |
} | |
], | |
"src": "13334:388:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13782:325:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13792:22:16", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13806:1:16", | |
"type": "", | |
"value": "1" | |
}, | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "13809:4:16" | |
} | |
], | |
"functionName": { | |
"name": "shr", | |
"nodeType": "YulIdentifier", | |
"src": "13802:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13802:12:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "13792:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "13823:38:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "13853:4:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13859:1:16", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "13849:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13849:12:16" | |
}, | |
"variables": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulTypedName", | |
"src": "13827:18:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13900:31:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13902:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "13916:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13924:4:16", | |
"type": "", | |
"value": "0x7f" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "13912:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13912:17:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "13902:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "13880:18:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "13873:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13873:26:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "13870:61:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13990:111:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14011:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14018:3:16", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14023:10:16", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "14014:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14014:20:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14004:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14004:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14004:31:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14055:1:16", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14058:4:16", | |
"type": "", | |
"value": "0x22" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14048:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14048:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14048:15:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14083:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14086:4:16", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "14076:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14076:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14076:15:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "13946:18:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "13969:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13977:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "13966:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13966:14:16" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "13943:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13943:38:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "13940:161:16" | |
} | |
] | |
}, | |
"name": "extract_byte_array_length", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "13762:4:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "13771:6:16", | |
"type": "" | |
} | |
], | |
"src": "13727:380:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "14286:234:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14303:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14314:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14296:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14296:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14296:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14337:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14348:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14333:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14333:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14353:2:16", | |
"type": "", | |
"value": "44" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14326:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14326:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14326:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14376:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14387:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14372:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14372:18:16" | |
}, | |
{ | |
"hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "14392:34:16", | |
"type": "", | |
"value": "ERC721: approved query for nonex" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14365:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14365:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14365:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14447:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14458:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14443:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14443:18:16" | |
}, | |
{ | |
"hexValue": "697374656e7420746f6b656e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "14463:14:16", | |
"type": "", | |
"value": "istent token" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14436:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14436:42:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14436:42:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "14487:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14499:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14510:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14495:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14495:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "14487:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "14263:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "14277:4:16", | |
"type": "" | |
} | |
], | |
"src": "14112:408:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "14699:223:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14716:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14727:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14709:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14709:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14709:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14750:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14761:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14746:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14746:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14766:2:16", | |
"type": "", | |
"value": "33" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14739:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14739:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14739:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14789:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14800:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14785:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14785:18:16" | |
}, | |
{ | |
"hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e65", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "14805:34:16", | |
"type": "", | |
"value": "ERC721: approval to current owne" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14778:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14778:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14778:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14860:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14871:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14856:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14856:18:16" | |
}, | |
{ | |
"hexValue": "72", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "14876:3:16", | |
"type": "", | |
"value": "r" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14849:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14849:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14849:31:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "14889:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14901:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14912:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14897:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14897:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "14889:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "14676:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "14690:4:16", | |
"type": "" | |
} | |
], | |
"src": "14525:397:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "15101:246:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15118:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15129:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15111:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15111:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15111:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15152:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15163:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15148:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15148:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15168:2:16", | |
"type": "", | |
"value": "56" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15141:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15141:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15141:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15191:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15202:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15187:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15187:18:16" | |
}, | |
{ | |
"hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f77", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "15207:34:16", | |
"type": "", | |
"value": "ERC721: approve caller is not ow" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15180:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15180:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15180:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15262:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15273:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15258:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15258:18:16" | |
}, | |
{ | |
"hexValue": "6e6572206e6f7220617070726f76656420666f7220616c6c", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "15278:26:16", | |
"type": "", | |
"value": "ner nor approved for all" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15251:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15251:54:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15251:54:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "15314:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15326:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15337:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15322:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15322:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "15314:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "15078:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "15092:4:16", | |
"type": "" | |
} | |
], | |
"src": "14927:420:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "15526:226:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15543:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15554:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15536:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15536:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15536:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15577:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15588:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15573:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15573:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15593:2:16", | |
"type": "", | |
"value": "36" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15566:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15566:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15566:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15616:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15627:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15612:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15612:18:16" | |
}, | |
{ | |
"hexValue": "41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f722061", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "15632:34:16", | |
"type": "", | |
"value": "AdminControl: Must be owner or a" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15605:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15605:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15605:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15687:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15698:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15683:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15683:18:16" | |
}, | |
{ | |
"hexValue": "646d696e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "15703:6:16", | |
"type": "", | |
"value": "dmin" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15676:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15676:34:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15676:34:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "15719:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15731:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15742:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15727:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15727:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "15719:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_ca6fc84f9a44d1110756284e5c56ff72cff80e2de6c9cfbe8379a88afa111687__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "15503:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "15517:4:16", | |
"type": "" | |
} | |
], | |
"src": "15352:400:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "15931:181:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15948:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15959:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15941:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15941:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15941:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15982:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15993:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15978:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15978:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15998:2:16", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15971:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15971:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15971:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16021:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16032:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16017:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16017:18:16" | |
}, | |
{ | |
"hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "16037:33:16", | |
"type": "", | |
"value": "ReentrancyGuard: reentrant call" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16010:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16010:61:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16010:61:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "16080:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16092:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16103:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16088:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16088:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "16080:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "15908:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "15922:4:16", | |
"type": "" | |
} | |
], | |
"src": "15757:355:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16149:95:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16166:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16173:3:16", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16178:10:16", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "16169:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16169:20:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16159:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16159:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16159:31:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16206:1:16", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16209:4:16", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16199:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16199:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16199:15:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16230:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16233:4:16", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "16223:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16223:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16223:15:16" | |
} | |
] | |
}, | |
"name": "panic_error_0x11", | |
"nodeType": "YulFunctionDefinition", | |
"src": "16117:127:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16296:88:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16327:22:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "16329:16:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16329:18:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16329:18:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "16312:5:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16323:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "16319:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16319:6:16" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "16309:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16309:17:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "16306:43:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "16358:20:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "16369:5:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16376:1:16", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16365:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16365:13:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "16358:3:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "increment_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "16278:5:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "16288:3:16", | |
"type": "" | |
} | |
], | |
"src": "16249:135:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16421:95:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16438:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16445:3:16", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16450:10:16", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "16441:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16441:20:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16431:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16431:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16431:31:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16478:1:16", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16481:4:16", | |
"type": "", | |
"value": "0x32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16471:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16471:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16471:15:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16502:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16505:4:16", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "16495:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16495:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16495:15:16" | |
} | |
] | |
}, | |
"name": "panic_error_0x32", | |
"nodeType": "YulFunctionDefinition", | |
"src": "16389:127:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16695:239:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16712:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16723:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16705:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16705:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16705:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16746:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16757:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16742:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16742:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16762:2:16", | |
"type": "", | |
"value": "49" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16735:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16735:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16735:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16785:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16796:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16781:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16781:18:16" | |
}, | |
{ | |
"hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "16801:34:16", | |
"type": "", | |
"value": "ERC721: transfer caller is not o" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16774:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16774:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16774:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16856:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16867:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16852:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16852:18:16" | |
}, | |
{ | |
"hexValue": "776e6572206e6f7220617070726f766564", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "16872:19:16", | |
"type": "", | |
"value": "wner nor approved" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16845:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16845:47:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16845:47:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "16901:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16913:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16924:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16909:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16909:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "16901:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "16672:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "16686:4:16", | |
"type": "" | |
} | |
], | |
"src": "16521:413:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16991:116:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17050:22:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "17052:16:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17052:18:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17052:18:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "17022:1:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "17015:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17015:9:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "17008:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17008:17:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "17030:1:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17041:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "17037:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17037:6:16" | |
}, | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "17045:1:16" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "17033:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17033:14:16" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "17027:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17027:21:16" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "17004:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17004:45:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "17001:71:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "17081:20:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "17096:1:16" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "17099:1:16" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "17092:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17092:9:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "product", | |
"nodeType": "YulIdentifier", | |
"src": "17081:7:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_mul_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "16970:1:16", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "16973:1:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "product", | |
"nodeType": "YulTypedName", | |
"src": "16979:7:16", | |
"type": "" | |
} | |
], | |
"src": "16939:168:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17144:95:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17161:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17168:3:16", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17173:10:16", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "17164:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17164:20:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17154:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17154:31:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17154:31:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17201:1:16", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17204:4:16", | |
"type": "", | |
"value": "0x12" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17194:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17194:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17194:15:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17225:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17228:4:16", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "17218:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17218:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17218:15:16" | |
} | |
] | |
}, | |
"name": "panic_error_0x12", | |
"nodeType": "YulFunctionDefinition", | |
"src": "17112:127:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17290:74:16", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17313:22:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x12", | |
"nodeType": "YulIdentifier", | |
"src": "17315:16:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17315:18:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17315:18:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "17310:1:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "17303:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17303:9:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "17300:35:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "17344:14:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "17353:1:16" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "17356:1:16" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "17349:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17349:9:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "r", | |
"nodeType": "YulIdentifier", | |
"src": "17344:1:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_div_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "17275:1:16", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "17278:1:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "r", | |
"nodeType": "YulTypedName", | |
"src": "17284:1:16", | |
"type": "" | |
} | |
], | |
"src": "17244:120:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17543:182:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17560:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17571:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17553:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17553:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17553:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17594:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17605:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17590:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17590:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17610:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17583:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17583:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17583:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17633:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17644:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17629:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17629:18:16" | |
}, | |
{ | |
"hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "17649:34:16", | |
"type": "", | |
"value": "Ownable: caller is not the owner" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17622:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17622:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17622:62:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "17693:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17705:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17716:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17701:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17701:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "17693:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "17520:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "17534:4:16", | |
"type": "" | |
} | |
], | |
"src": "17369:356:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17904:163:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17921:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17932:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17914:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17914:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17914:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17955:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17966:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17951:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17951:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17971:2:16", | |
"type": "", | |
"value": "13" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17944:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17944:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17944:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17994:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18005:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17990:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17990:18:16" | |
}, | |
{ | |
"hexValue": "496e76616c696420696e707574", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "18010:15:16", | |
"type": "", | |
"value": "Invalid input" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17983:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17983:43:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17983:43:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "18035:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18047:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18058:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18043:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18043:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "18035:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_af39b50065ba9648c753f781fa674704d13ce8309cf446a262799d7aceba8e5b__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "17881:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "17895:4:16", | |
"type": "" | |
} | |
], | |
"src": "17730:337:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "18167:427:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "18177:51:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "ptr_to_tail", | |
"nodeType": "YulIdentifier", | |
"src": "18216:11:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "18203:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18203:25:16" | |
}, | |
"variables": [ | |
{ | |
"name": "rel_offset_of_tail", | |
"nodeType": "YulTypedName", | |
"src": "18181:18:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "18317:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18326:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18329:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "18319:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18319:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18319:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "rel_offset_of_tail", | |
"nodeType": "YulIdentifier", | |
"src": "18251:18:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [], | |
"functionName": { | |
"name": "calldatasize", | |
"nodeType": "YulIdentifier", | |
"src": "18279:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18279:14:16" | |
}, | |
{ | |
"name": "base_ref", | |
"nodeType": "YulIdentifier", | |
"src": "18295:8:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "18275:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18275:29:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18310:2:16", | |
"type": "", | |
"value": "30" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "18306:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18306:7:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18271:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18271:43:16" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "18247:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18247:68:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "18240:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18240:76:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "18237:96:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "18342:47:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "base_ref", | |
"nodeType": "YulIdentifier", | |
"src": "18360:8:16" | |
}, | |
{ | |
"name": "rel_offset_of_tail", | |
"nodeType": "YulIdentifier", | |
"src": "18370:18:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18356:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18356:33:16" | |
}, | |
"variables": [ | |
{ | |
"name": "addr_1", | |
"nodeType": "YulTypedName", | |
"src": "18346:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "18398:30:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "addr_1", | |
"nodeType": "YulIdentifier", | |
"src": "18421:6:16" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "18408:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18408:20:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "18398:6:16" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "18471:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18480:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18483:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "18473:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18473:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18473:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "18443:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18451:18:16", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "18440:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18440:30:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "18437:50:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "18496:25:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "addr_1", | |
"nodeType": "YulIdentifier", | |
"src": "18508:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18516:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18504:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18504:17:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "addr", | |
"nodeType": "YulIdentifier", | |
"src": "18496:4:16" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "18572:16:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18581:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18584:1:16", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "18574:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18574:12:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18574:12:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "addr", | |
"nodeType": "YulIdentifier", | |
"src": "18537:4:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [], | |
"functionName": { | |
"name": "calldatasize", | |
"nodeType": "YulIdentifier", | |
"src": "18547:12:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18547:14:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "18563:6:16" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "18543:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18543:27:16" | |
} | |
], | |
"functionName": { | |
"name": "sgt", | |
"nodeType": "YulIdentifier", | |
"src": "18533:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18533:38:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "18530:58:16" | |
} | |
] | |
}, | |
"name": "access_calldata_tail_t_string_calldata_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "base_ref", | |
"nodeType": "YulTypedName", | |
"src": "18124:8:16", | |
"type": "" | |
}, | |
{ | |
"name": "ptr_to_tail", | |
"nodeType": "YulTypedName", | |
"src": "18134:11:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "addr", | |
"nodeType": "YulTypedName", | |
"src": "18150:4:16", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "18156:6:16", | |
"type": "" | |
} | |
], | |
"src": "18072:522:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "18773:231:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18790:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18801:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "18783:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18783:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18783:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18824:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18835:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18820:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18820:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18840:2:16", | |
"type": "", | |
"value": "41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "18813:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18813:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18813:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18863:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18874:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18859:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18859:18:16" | |
}, | |
{ | |
"hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "18879:34:16", | |
"type": "", | |
"value": "ERC721: owner query for nonexist" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "18852:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18852:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18852:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18934:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18945:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18930:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18930:18:16" | |
}, | |
{ | |
"hexValue": "656e7420746f6b656e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "18950:11:16", | |
"type": "", | |
"value": "ent token" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "18923:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18923:39:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18923:39:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "18971:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18983:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18994:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18979:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18979:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "18971:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "18750:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "18764:4:16", | |
"type": "" | |
} | |
], | |
"src": "18599:405:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "19183:232:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19200:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19211:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19193:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19193:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19193:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19234:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19245:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19230:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19230:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19250:2:16", | |
"type": "", | |
"value": "42" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19223:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19223:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19223:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19273:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19284:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19269:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19269:18:16" | |
}, | |
{ | |
"hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "19289:34:16", | |
"type": "", | |
"value": "ERC721: balance query for the ze" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19262:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19262:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19262:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19344:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19355:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19340:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19340:18:16" | |
}, | |
{ | |
"hexValue": "726f2061646472657373", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "19360:12:16", | |
"type": "", | |
"value": "ro address" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19333:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19333:40:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19333:40:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "19382:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19394:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19405:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19390:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19390:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "19382:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "19160:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "19174:4:16", | |
"type": "" | |
} | |
], | |
"src": "19009:406:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "19594:237:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19611:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19622:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19604:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19604:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19604:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19645:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19656:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19641:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19641:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19661:2:16", | |
"type": "", | |
"value": "47" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19634:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19634:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19634:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19684:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19695:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19680:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19680:18:16" | |
}, | |
{ | |
"hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "19700:34:16", | |
"type": "", | |
"value": "ERC721Metadata: URI query for no" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19673:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19673:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19673:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19755:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19766:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19751:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19751:18:16" | |
}, | |
{ | |
"hexValue": "6e6578697374656e7420746f6b656e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "19771:17:16", | |
"type": "", | |
"value": "nexistent token" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19744:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19744:45:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19744:45:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "19798:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19810:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19821:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19806:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19806:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "19798:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "19571:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "19585:4:16", | |
"type": "" | |
} | |
], | |
"src": "19420:411:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "19892:65:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19909:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "19912:3:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19902:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19902:14:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19902:14:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "19925:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19943:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19946:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "keccak256", | |
"nodeType": "YulIdentifier", | |
"src": "19933:9:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19933:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "19925:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_dataslot_string_storage", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulTypedName", | |
"src": "19875:3:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "19883:4:16", | |
"type": "" | |
} | |
], | |
"src": "19836:121:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20012:135:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "20022:26:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "20042:5:16" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "20036:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20036:12:16" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "20026:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "20083:5:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20090:4:16", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "20079:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20079:16:16" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "20097:3:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "20102:6:16" | |
} | |
], | |
"functionName": { | |
"name": "copy_memory_to_memory", | |
"nodeType": "YulIdentifier", | |
"src": "20057:21:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20057:52:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20057:52:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "20118:23:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "20129:3:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "20134:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "20125:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20125:16:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "20118:3:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_string", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "19989:5:16", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "19996:3:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "20004:3:16", | |
"type": "" | |
} | |
], | |
"src": "19962:185:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20336:990:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "20346:12:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20357:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "20350:3:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "20367:30:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "20390:6:16" | |
} | |
], | |
"functionName": { | |
"name": "sload", | |
"nodeType": "YulIdentifier", | |
"src": "20384:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20384:13:16" | |
}, | |
"variables": [ | |
{ | |
"name": "slotValue", | |
"nodeType": "YulTypedName", | |
"src": "20371:9:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "20406:17:16", | |
"value": { | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "20420:3:16" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "20410:6:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "20432:11:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20442:1:16", | |
"type": "", | |
"value": "1" | |
}, | |
"variables": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulTypedName", | |
"src": "20436:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "20452:28:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "20466:2:16" | |
}, | |
{ | |
"name": "slotValue", | |
"nodeType": "YulIdentifier", | |
"src": "20470:9:16" | |
} | |
], | |
"functionName": { | |
"name": "shr", | |
"nodeType": "YulIdentifier", | |
"src": "20462:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20462:18:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "20452:6:16" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "20489:44:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "slotValue", | |
"nodeType": "YulIdentifier", | |
"src": "20519:9:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "20530:2:16" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "20515:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20515:18:16" | |
}, | |
"variables": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulTypedName", | |
"src": "20493:18:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20572:31:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "20574:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "20588:6:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20596:4:16", | |
"type": "", | |
"value": "0x7f" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "20584:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20584:17:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "20574:6:16" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "20552:18:16" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "20545:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20545:26:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "20542:61:16" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "20612:12:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20622:2:16", | |
"type": "", | |
"value": "32" | |
}, | |
"variables": [ | |
{ | |
"name": "_2", | |
"nodeType": "YulTypedName", | |
"src": "20616:2:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20683:115:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "20704:3:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20713:3:16", | |
"type": "", | |
"value": "224" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20718:10:16", | |
"type": "", | |
"value": "0x4e487b71" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "20709:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20709:20:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "20697:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20697:33:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20697:33:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20750:1:16", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20753:4:16", | |
"type": "", | |
"value": "0x22" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "20743:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20743:15:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20743:15:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "20778:3:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20783:4:16", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "20771:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20771:17:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20771:17:16" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "20639:18:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "20662:6:16" | |
}, | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "20670:2:16" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "20659:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20659:14:16" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "20636:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20636:38:16" | |
}, | |
"nodeType": "YulIf", | |
"src": "20633:165:16" | |
}, | |
{ | |
"cases": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20848:97:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "20869:3:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "slotValue", | |
"nodeType": "YulIdentifier", | |
"src": "20878:9:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20893:3:16", | |
"type": "", | |
"value": "255" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "20889:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20889:8:16" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "20874:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20874:24:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "20862:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20862:37:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20862:37:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "20912:23:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "20923:3:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "20928:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "20919:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20919:16:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "20912:3:16" | |
} | |
] | |
} | |
] | |
}, | |
"nodeType": "YulCase", | |
"src": "20841:104:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20846:1:16", | |
"type": "", | |
"value": "0" | |
} | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20961:313:16", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "20975:52:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "21020:6:16" | |
} | |
], | |
"functionName": { | |
"name": "array_dataslot_string_storage", | |
"nodeType": "YulIdentifier", | |
"src": "20990:29:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20990:37:16" | |
}, | |
"variables": [ | |
{ | |
"name": "dataPos", | |
"nodeType": "YulTypedName", | |
"src": "20979:7:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "21040:10:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21049:1:16", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "21044:1:16", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "21117:111:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "21146:3:16" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "21151:1:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21142:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21142:11:16" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "dataPos", | |
"nodeType": "YulIdentifier", | |
"src": "21161:7:16" | |
} | |
], | |
"functionName": { | |
"name": "sload", | |
"nodeType": "YulIdentifier", | |
"src": "21155:5:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21155:14:16" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21135:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21135:35:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21135:35:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21187:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "dataPos", | |
"nodeType": "YulIdentifier", | |
"src": "21202:7:16" | |
}, | |
{ | |
"name": "_1", | |
"nodeType": "YulIdentifier", | |
"src": "21211:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21198:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21198:16:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "dataPos", | |
"nodeType": "YulIdentifier", | |
"src": "21187:7:16" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "21074:1:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "21077:6:16" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "21071:2:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21071:13:16" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "21085:19:16", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21087:15:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "21096:1:16" | |
}, | |
{ | |
"name": "_2", | |
"nodeType": "YulIdentifier", | |
"src": "21099:2:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21092:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21092:10:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "21087:1:16" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "21067:3:16", | |
"statements": [] | |
}, | |
"src": "21063:165:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21241:23:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "21252:3:16" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "21257:6:16" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21248:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21248:16:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "21241:3:16" | |
} | |
] | |
} | |
] | |
}, | |
"nodeType": "YulCase", | |
"src": "20954:320:16", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20959:1:16", | |
"type": "", | |
"value": "1" | |
} | |
} | |
], | |
"expression": { | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "20814:18:16" | |
}, | |
"nodeType": "YulSwitch", | |
"src": "20807:467:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21283:37:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "21308:6:16" | |
}, | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "21316:3:16" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_string", | |
"nodeType": "YulIdentifier", | |
"src": "21290:17:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21290:30:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "21283:3:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_packed_t_string_storage_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "20304:3:16", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "20309:6:16", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "20317:6:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "20328:3:16", | |
"type": "" | |
} | |
], | |
"src": "20152:1174:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "21505:228:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21522:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21533:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21515:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21515:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21515:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21556:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21567:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21552:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21552:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21572:2:16", | |
"type": "", | |
"value": "38" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21545:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21545:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21545:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21595:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21606:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21591:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21591:18:16" | |
}, | |
{ | |
"hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "21611:34:16", | |
"type": "", | |
"value": "Ownable: new owner is the zero a" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21584:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21584:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21584:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21666:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21677:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21662:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21662:18:16" | |
}, | |
{ | |
"hexValue": "646472657373", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "21682:8:16", | |
"type": "", | |
"value": "ddress" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21655:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21655:36:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21655:36:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21700:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21712:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21723:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21708:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21708:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "21700:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "21482:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "21496:4:16", | |
"type": "" | |
} | |
], | |
"src": "21331:402:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "21912:234:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21929:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21940:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21922:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21922:21:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21922:21:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21963:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21974:2:16", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21959:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21959:18:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21979:2:16", | |
"type": "", | |
"value": "44" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21952:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21952:30:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21952:30:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "22002:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22013:2:16", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21998:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21998:18:16" | |
}, | |
{ | |
"hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "22018:34:16", | |
"type": "", | |
"value": "ERC721: operator query for nonex" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21991:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21991:62:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21991:62:16" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "22073:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22084:2:16", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "22069:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22069:18:16" | |
}, | |
{ | |
"hexValue": "697374656e7420746f6b656e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "22089:14:16", | |
"type": "", | |
"value": "istent token" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "22062:6:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22062:42:16" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "22062:42:16" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "22113:27:16", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "22125:9:16" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22136:3:16", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "22121:3:16" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22121:19:16" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "22113:4:16" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "21889:9:16", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "21903:4:16", | |
"type": "" | |
} | |
], | |
"src": "21738:408:16" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "22325:231:16", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"sr |
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
View raw
(Sorry about that, but we can’t show files that are this big right now.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment