Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ssimpson91/dc32adb529b59c700f5706454638d27b to your computer and use it in GitHub Desktop.
Save ssimpson91/dc32adb529b59c700f5706454638d27b to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.2) (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: address zero is not a valid owner");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _ownerOf(tokenId);
require(owner != address(0), "ERC721: invalid token ID");
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) {
_requireMinted(tokenId);
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 overridden 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 token owner or approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
_requireMinted(tokenId);
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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
*/
function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
return _owners[tokenId];
}
/**
* @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 _ownerOf(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) {
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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, 1);
// Check that tokenId was not minted by `_beforeTokenTransfer` hook
require(!_exists(tokenId), "ERC721: token already minted");
unchecked {
// Will not overflow unless all 2**256 token ids are minted to the same owner.
// Given that tokens are minted one by one, it is impossible in practice that
// this ever happens. Might change if we allow batch minting.
// The ERC fails to describe this case.
_balances[to] += 1;
}
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId, 1);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
* This is an internal function that does not check if the sender is authorized to operate on the token.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId, 1);
// Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
owner = ERC721.ownerOf(tokenId);
// Clear approvals
delete _tokenApprovals[tokenId];
unchecked {
// Cannot overflow, as that would require more tokens to be burned/transferred
// out than the owner initially received through minting and transferring in.
_balances[owner] -= 1;
}
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId, 1);
}
/**
* @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 from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId, 1);
// Check that tokenId was not transferred by `_beforeTokenTransfer` hook
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
// Clear approvals from the previous owner
delete _tokenApprovals[tokenId];
unchecked {
// `_balances[from]` cannot overflow for the same reason as described in `_burn`:
// `from`'s balance is the number of token held, which is at least one before the current
// transfer.
// `_balances[to]` could overflow in the conditions described in `_mint`. That would require
// all 2**256 token ids to be minted, which in practice is impossible.
_balances[from] -= 1;
_balances[to] += 1;
}
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId, 1);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
*/
function _requireMinted(uint256 tokenId) internal view virtual {
require(_exists(tokenId), "ERC721: invalid token ID");
}
/**
* @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 {
/// @solidity memory-safe-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
* used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
* - When `from` is zero, the tokens will be minted for `to`.
* - When `to` is zero, ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
* - `batchSize` is non-zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 firstTokenId,
uint256 batchSize
) internal virtual {}
/**
* @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
* used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
* - When `from` is zero, the tokens were minted for `to`.
* - When `to` is zero, ``from``'s tokens were burned.
* - `from` and `to` are never both zero.
* - `batchSize` is non-zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 firstTokenId,
uint256 batchSize
) internal virtual {}
/**
* @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
*
* WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
* being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
* that `ownerOf(tokenId)` is `a`.
*/
// solhint-disable-next-line func-name-mixedcase
function __unsafe_increaseBalance(address account, uint256 amount) internal {
_balances[account] += amount;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "../../../utils/Context.sol";
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
_burn(tokenId);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
/**
* @dev ERC721 token with storage based token URI management.
*/
abstract contract ERC721URIStorage is ERC721 {
using Strings for uint256;
// Optional mapping for token URIs
mapping(uint256 => string) private _tokenURIs;
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
_requireMinted(tokenId);
string memory _tokenURI = _tokenURIs[tokenId];
string memory base = _baseURI();
// If there is no base URI, return the token URI.
if (bytes(base).length == 0) {
return _tokenURI;
}
// If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
if (bytes(_tokenURI).length > 0) {
return string(abi.encodePacked(base, _tokenURI));
}
return super.tokenURI(tokenId);
}
/**
* @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
_tokenURIs[tokenId] = _tokenURI;
}
/**
* @dev See {ERC721-_burn}. This override additionally checks to see if a
* token-specific URI was set for the token, and if so, it deletes the token URI from
* the storage mapping.
*/
function _burn(uint256 tokenId) internal virtual override {
super._burn(tokenId);
if (bytes(_tokenURIs[tokenId]).length != 0) {
delete _tokenURIs[tokenId];
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://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 functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface 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);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator
) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1);
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator,
Rounding rounding
) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10**64) {
value /= 10**64;
result += 64;
}
if (value >= 10**32) {
value /= 10**32;
result += 32;
}
if (value >= 10**16) {
value /= 10**16;
result += 16;
}
if (value >= 10**8) {
value /= 10**8;
result += 8;
}
if (value >= 10**4) {
value /= 10**4;
result += 4;
}
if (value >= 10**2) {
value /= 10**2;
result += 2;
}
if (value >= 10**1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @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] = _SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
return address(0);
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library Assert {
event AssertionEvent(
bool passed,
string message,
string methodName
);
event AssertionEventUint(
bool passed,
string message,
string methodName,
uint256 returned,
uint256 expected
);
event AssertionEventInt(
bool passed,
string message,
string methodName,
int256 returned,
int256 expected
);
event AssertionEventBool(
bool passed,
string message,
string methodName,
bool returned,
bool expected
);
event AssertionEventAddress(
bool passed,
string message,
string methodName,
address returned,
address expected
);
event AssertionEventBytes32(
bool passed,
string message,
string methodName,
bytes32 returned,
bytes32 expected
);
event AssertionEventString(
bool passed,
string message,
string methodName,
string returned,
string expected
);
event AssertionEventUintInt(
bool passed,
string message,
string methodName,
uint256 returned,
int256 expected
);
event AssertionEventIntUint(
bool passed,
string message,
string methodName,
int256 returned,
uint256 expected
);
function ok(bool a, string memory message) public returns (bool result) {
result = a;
emit AssertionEvent(result, message, "ok");
}
function equal(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventUint(result, message, "equal", a, b);
}
function equal(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventInt(result, message, "equal", a, b);
}
function equal(bool a, bool b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBool(result, message, "equal", a, b);
}
// TODO: only for certain versions of solc
//function equal(fixed a, fixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function equal(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a == b);
// emit AssertionEvent(result, message);
//}
function equal(address a, address b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventAddress(result, message, "equal", a, b);
}
function equal(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a == b);
emit AssertionEventBytes32(result, message, "equal", a, b);
}
function equal(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) == keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "equal", a, b);
}
function notEqual(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventUint(result, message, "notEqual", a, b);
}
function notEqual(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventInt(result, message, "notEqual", a, b);
}
function notEqual(bool a, bool b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBool(result, message, "notEqual", a, b);
}
// TODO: only for certain versions of solc
//function notEqual(fixed a, fixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
// TODO: only for certain versions of solc
//function notEqual(ufixed a, ufixed b, string message) public returns (bool result) {
// result = (a != b);
// emit AssertionEvent(result, message);
//}
function notEqual(address a, address b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventAddress(result, message, "notEqual", a, b);
}
function notEqual(bytes32 a, bytes32 b, string memory message) public returns (bool result) {
result = (a != b);
emit AssertionEventBytes32(result, message, "notEqual", a, b);
}
function notEqual(string memory a, string memory b, string memory message) public returns (bool result) {
result = (keccak256(abi.encodePacked(a)) != keccak256(abi.encodePacked(b)));
emit AssertionEventString(result, message, "notEqual", a, b);
}
/*----------------- Greater than --------------------*/
function greaterThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventUint(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a > b);
emit AssertionEventInt(result, message, "greaterThan", a, b);
}
// TODO: safely compare between uint and int
function greaterThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative uint "a" always greater
result = true;
} else {
result = (a > uint(b));
}
emit AssertionEventUintInt(result, message, "greaterThan", a, b);
}
function greaterThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative uint "b" always greater
result = false;
} else {
result = (uint(a) > b);
}
emit AssertionEventIntUint(result, message, "greaterThan", a, b);
}
/*----------------- Lesser than --------------------*/
function lesserThan(uint256 a, uint256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventUint(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, int256 b, string memory message) public returns (bool result) {
result = (a < b);
emit AssertionEventInt(result, message, "lesserThan", a, b);
}
// TODO: safely compare between uint and int
function lesserThan(uint256 a, int256 b, string memory message) public returns (bool result) {
if(b < int(0)) {
// int is negative int "b" always lesser
result = false;
} else {
result = (a < uint(b));
}
emit AssertionEventUintInt(result, message, "lesserThan", a, b);
}
function lesserThan(int256 a, uint256 b, string memory message) public returns (bool result) {
if(a < int(0)) {
// int is negative int "a" always lesser
result = true;
} else {
result = (uint(a) < b);
}
emit AssertionEventIntUint(result, message, "lesserThan", a, b);
}
}
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
},
{
"files": "*.yml",
"options": {}
},
{
"files": "*.yaml",
"options": {}
},
{
"files": "*.toml",
"options": {}
},
{
"files": "*.json",
"options": {}
},
{
"files": "*.js",
"options": {}
},
{
"files": "*.ts",
"options": {}
}
]
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220491dfc8c56d98c8f8e6deda1909ec1d95a72f7231e66f31f7dca2e37a1b7b1ff64736f6c63430008120033",
"opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 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 0x49 SAR 0xFC DUP13 JUMP 0xD9 DUP13 DUP16 DUP15 PUSH14 0xEDA1909EC1D95A72F7231E66F31F PUSH30 0xCA2E37A1B7B1FF64736F6C63430008120033000000000000000000000000 ",
"sourceMap": "62:2063:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220491dfc8c56d98c8f8e6deda1909ec1d95a72f7231e66f31f7dca2e37a1b7b1ff64736f6c63430008120033",
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x49 SAR 0xFC DUP13 JUMP 0xD9 DUP13 DUP16 DUP15 PUSH14 0xEDA1909EC1D95A72F7231E66F31F PUSH30 0xCA2E37A1B7B1FF64736F6C63430008120033000000000000000000000000 ",
"sourceMap": "62:2063:0:-:0;;;;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "17200",
"executionCost": "97",
"totalCost": "17297"
},
"internal": {
"encode(bytes memory)": "infinite"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"compiler": {
"version": "0.8.18+commit.87f61d96"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/Base64.sol": "Base64"
},
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/Base64.sol": {
"keccak256": "0x1de36582c117f03590abdef9e23fb366c964a7bbdeb3a390957fc54a01b0a962",
"license": "MIT",
"urls": [
"bzz-raw://14a4d3389f6343e5167ff7191f7ead3cc7a62acd88160dfd05ad773f8acfa3c1",
"dweb:/ipfs/QmPP4x9EoRWFsfQtpMWu36Z1WfjDgFhA7AvC138m1S8eyM"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_2225": {
"entryPoint": null,
"id": 2225,
"parameterSlots": 3,
"returnSlots": 0
},
"@setChainlinkToken_669": {
"entryPoint": 346,
"id": 669,
"parameterSlots": 1,
"returnSlots": 0
},
"@setPublicChainlinkToken_682": {
"entryPoint": 180,
"id": 682,
"parameterSlots": 0,
"returnSlots": 0
},
"@stringToBytes32_2293": {
"entryPoint": 332,
"id": 2293,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_decode_available_length_t_string_memory_ptr_fromMemory": {
"entryPoint": 792,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_address_fromMemory": {
"entryPoint": 512,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr_fromMemory": {
"entryPoint": 867,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256_fromMemory": {
"entryPoint": 954,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address_fromMemory": {
"entryPoint": 1100,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_string_memory_ptrt_uint256_fromMemory": {
"entryPoint": 977,
"id": null,
"parameterSlots": 2,
"returnSlots": 3
},
"allocate_memory": {
"entryPoint": 663,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 414,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 694,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 466,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 434,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 918,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 748,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"finalize_allocation": {
"entryPoint": 609,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 562,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 535,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 540,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 429,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 424,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 545,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_address": {
"entryPoint": 486,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 928,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:4744:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "47:35:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "57:19:12",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "73:2:12",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "67:5:12"
},
"nodeType": "YulFunctionCall",
"src": "67:9:12"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "57:6:12"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "40:6:12",
"type": ""
}
],
"src": "7:75:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "177:28:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "194:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "197:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "187:6:12"
},
"nodeType": "YulFunctionCall",
"src": "187:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "187:12:12"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "88:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "300:28:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "317:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "320:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:12"
},
"nodeType": "YulFunctionCall",
"src": "310:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "310:12:12"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "211:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "379:81:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "389:65:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "404:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "411:42:12",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "400:3:12"
},
"nodeType": "YulFunctionCall",
"src": "400:54:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "389:7:12"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "361:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "371:7:12",
"type": ""
}
],
"src": "334:126:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "511:51:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "521:35:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "550:5:12"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "532:17:12"
},
"nodeType": "YulFunctionCall",
"src": "532:24:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "521:7:12"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "493:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "503:7:12",
"type": ""
}
],
"src": "466:96:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "611:79:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "668:16:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "677:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "680:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "670:6:12"
},
"nodeType": "YulFunctionCall",
"src": "670:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "670:12:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "634:5:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "659:5:12"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "641:17:12"
},
"nodeType": "YulFunctionCall",
"src": "641:24:12"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "631:2:12"
},
"nodeType": "YulFunctionCall",
"src": "631:35:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "624:6:12"
},
"nodeType": "YulFunctionCall",
"src": "624:43:12"
},
"nodeType": "YulIf",
"src": "621:63:12"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "604:5:12",
"type": ""
}
],
"src": "568:122:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "759:80:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "769:22:12",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "784:6:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "778:5:12"
},
"nodeType": "YulFunctionCall",
"src": "778:13:12"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "769:5:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "827:5:12"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "800:26:12"
},
"nodeType": "YulFunctionCall",
"src": "800:33:12"
},
"nodeType": "YulExpressionStatement",
"src": "800:33:12"
}
]
},
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "737:6:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "745:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "753:5:12",
"type": ""
}
],
"src": "696:143:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "934:28:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "951:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "954:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "944:6:12"
},
"nodeType": "YulFunctionCall",
"src": "944:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "944:12:12"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "845:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1057:28:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1074:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1077:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1067:6:12"
},
"nodeType": "YulFunctionCall",
"src": "1067:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "1067:12:12"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "968:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1139:54:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1149:38:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1167:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1174:2:12",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1163:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1163:14:12"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1183:2:12",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "1179:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1179:7:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1159:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1159:28:12"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "1149:6:12"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1122:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "1132:6:12",
"type": ""
}
],
"src": "1091:102:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1227:152:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1244:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1247:77:12",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1237:6:12"
},
"nodeType": "YulFunctionCall",
"src": "1237:88:12"
},
"nodeType": "YulExpressionStatement",
"src": "1237:88:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1341:1:12",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1344:4:12",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1334:6:12"
},
"nodeType": "YulFunctionCall",
"src": "1334:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "1334:15:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1365:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1368:4:12",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1358:6:12"
},
"nodeType": "YulFunctionCall",
"src": "1358:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "1358:15:12"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "1199:180:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1428:238:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1438:58:12",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1460:6:12"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "1490:4:12"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "1468:21:12"
},
"nodeType": "YulFunctionCall",
"src": "1468:27:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1456:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1456:40:12"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "1442:10:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1607:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "1609:16:12"
},
"nodeType": "YulFunctionCall",
"src": "1609:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "1609:18:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "1550:10:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1562:18:12",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1547:2:12"
},
"nodeType": "YulFunctionCall",
"src": "1547:34:12"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "1586:10:12"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1598:6:12"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1583:2:12"
},
"nodeType": "YulFunctionCall",
"src": "1583:22:12"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "1544:2:12"
},
"nodeType": "YulFunctionCall",
"src": "1544:62:12"
},
"nodeType": "YulIf",
"src": "1541:88:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1645:2:12",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "1649:10:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1638:6:12"
},
"nodeType": "YulFunctionCall",
"src": "1638:22:12"
},
"nodeType": "YulExpressionStatement",
"src": "1638:22:12"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1414:6:12",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1422:4:12",
"type": ""
}
],
"src": "1385:281:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1713:88:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1723:30:12",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "1733:18:12"
},
"nodeType": "YulFunctionCall",
"src": "1733:20:12"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1723:6:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "1782:6:12"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "1790:4:12"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "1762:19:12"
},
"nodeType": "YulFunctionCall",
"src": "1762:33:12"
},
"nodeType": "YulExpressionStatement",
"src": "1762:33:12"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1697:4:12",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "1706:6:12",
"type": ""
}
],
"src": "1672:129:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1874:241:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1979:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "1981:16:12"
},
"nodeType": "YulFunctionCall",
"src": "1981:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "1981:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1951:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1959:18:12",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "1948:2:12"
},
"nodeType": "YulFunctionCall",
"src": "1948:30:12"
},
"nodeType": "YulIf",
"src": "1945:56:12"
},
{
"nodeType": "YulAssignment",
"src": "2011:37:12",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2041:6:12"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2019:21:12"
},
"nodeType": "YulFunctionCall",
"src": "2019:29:12"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2011:4:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2085:23:12",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2097:4:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2103:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2093:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2093:15:12"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2085:4:12"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1858:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "1869:4:12",
"type": ""
}
],
"src": "1807:308:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2183:184:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2193:10:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2202:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "2197:1:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2262:63:12",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2287:3:12"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2292:1:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2283:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2283:11:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2306:3:12"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2311:1:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2302:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2302:11:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "2296:5:12"
},
"nodeType": "YulFunctionCall",
"src": "2296:18:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2276:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2276:39:12"
},
"nodeType": "YulExpressionStatement",
"src": "2276:39:12"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2223:1:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2226:6:12"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2220:2:12"
},
"nodeType": "YulFunctionCall",
"src": "2220:13:12"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "2234:19:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2236:15:12",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2245:1:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2248:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2241:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2241:10:12"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2236:1:12"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "2216:3:12",
"statements": []
},
"src": "2212:113:12"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2345:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2350:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2341:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2341:16:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2359:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2334:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2334:27:12"
},
"nodeType": "YulExpressionStatement",
"src": "2334:27:12"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2165:3:12",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2170:3:12",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2175:6:12",
"type": ""
}
],
"src": "2121:246:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2468:339:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2478:75:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2545:6:12"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "2503:41:12"
},
"nodeType": "YulFunctionCall",
"src": "2503:49:12"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "2487:15:12"
},
"nodeType": "YulFunctionCall",
"src": "2487:66:12"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "2478:5:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "2569:5:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2576:6:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2562:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2562:21:12"
},
"nodeType": "YulExpressionStatement",
"src": "2562:21:12"
},
{
"nodeType": "YulVariableDeclaration",
"src": "2592:27:12",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "2607:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2614:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2603:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2603:16:12"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2596:3:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2657:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "2659:77:12"
},
"nodeType": "YulFunctionCall",
"src": "2659:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "2659:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2638:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2643:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2634:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2634:16:12"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2652:3:12"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2631:2:12"
},
"nodeType": "YulFunctionCall",
"src": "2631:25:12"
},
"nodeType": "YulIf",
"src": "2628:112:12"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "2784:3:12"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "2789:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2794:6:12"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "2749:34:12"
},
"nodeType": "YulFunctionCall",
"src": "2749:52:12"
},
"nodeType": "YulExpressionStatement",
"src": "2749:52:12"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2441:3:12",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2446:6:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2454:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "2462:5:12",
"type": ""
}
],
"src": "2373:434:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2900:282:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2949:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "2951:77:12"
},
"nodeType": "YulFunctionCall",
"src": "2951:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "2951:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2928:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2936:4:12",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2924:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2924:17:12"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2943:3:12"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2920:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2920:27:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "2913:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2913:35:12"
},
"nodeType": "YulIf",
"src": "2910:122:12"
},
{
"nodeType": "YulVariableDeclaration",
"src": "3041:27:12",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3061:6:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3055:5:12"
},
"nodeType": "YulFunctionCall",
"src": "3055:13:12"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3045:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3077:99:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3149:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3157:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3145:3:12"
},
"nodeType": "YulFunctionCall",
"src": "3145:17:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3164:6:12"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3172:3:12"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr_fromMemory",
"nodeType": "YulIdentifier",
"src": "3086:58:12"
},
"nodeType": "YulFunctionCall",
"src": "3086:90:12"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "3077:5:12"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2878:6:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2886:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "2894:5:12",
"type": ""
}
],
"src": "2827:355:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3233:32:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3243:16:12",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "3254:5:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3243:7:12"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3215:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3225:7:12",
"type": ""
}
],
"src": "3188:77:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3314:79:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3371:16:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3380:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3383:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "3373:6:12"
},
"nodeType": "YulFunctionCall",
"src": "3373:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "3373:12:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3337:5:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3362:5:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3344:17:12"
},
"nodeType": "YulFunctionCall",
"src": "3344:24:12"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "3334:2:12"
},
"nodeType": "YulFunctionCall",
"src": "3334:35:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3327:6:12"
},
"nodeType": "YulFunctionCall",
"src": "3327:43:12"
},
"nodeType": "YulIf",
"src": "3324:63:12"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3307:5:12",
"type": ""
}
],
"src": "3271:122:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3462:80:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3472:22:12",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3487:6:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3481:5:12"
},
"nodeType": "YulFunctionCall",
"src": "3481:13:12"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3472:5:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3530:5:12"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "3503:26:12"
},
"nodeType": "YulFunctionCall",
"src": "3503:33:12"
},
"nodeType": "YulExpressionStatement",
"src": "3503:33:12"
}
]
},
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3440:6:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3448:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3456:5:12",
"type": ""
}
],
"src": "3399:143:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3669:715:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3715:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "3717:77:12"
},
"nodeType": "YulFunctionCall",
"src": "3717:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "3717:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3690:7:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3699:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3686:3:12"
},
"nodeType": "YulFunctionCall",
"src": "3686:23:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3711:2:12",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3682:3:12"
},
"nodeType": "YulFunctionCall",
"src": "3682:32:12"
},
"nodeType": "YulIf",
"src": "3679:119:12"
},
{
"nodeType": "YulBlock",
"src": "3808:128:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3823:15:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3837:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3827:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3852:74:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3898:9:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3909:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3894:3:12"
},
"nodeType": "YulFunctionCall",
"src": "3894:22:12"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3918:7:12"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "3862:31:12"
},
"nodeType": "YulFunctionCall",
"src": "3862:64:12"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3852:6:12"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "3946:292:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3961:39:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3985:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3996:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3981:3:12"
},
"nodeType": "YulFunctionCall",
"src": "3981:18:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3975:5:12"
},
"nodeType": "YulFunctionCall",
"src": "3975:25:12"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3965:6:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4047:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "4049:77:12"
},
"nodeType": "YulFunctionCall",
"src": "4049:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "4049:79:12"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4019:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4027:18:12",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4016:2:12"
},
"nodeType": "YulFunctionCall",
"src": "4016:30:12"
},
"nodeType": "YulIf",
"src": "4013:117:12"
},
{
"nodeType": "YulAssignment",
"src": "4144:84:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4200:9:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4211:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4196:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4196:22:12"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4220:7:12"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr_fromMemory",
"nodeType": "YulIdentifier",
"src": "4154:41:12"
},
"nodeType": "YulFunctionCall",
"src": "4154:74:12"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4144:6:12"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4248:129:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4263:16:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4277:2:12",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4267:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4293:74:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4339:9:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4350:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4335:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4335:22:12"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4359:7:12"
}
],
"functionName": {
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulIdentifier",
"src": "4303:31:12"
},
"nodeType": "YulFunctionCall",
"src": "4303:64:12"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "4293:6:12"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_string_memory_ptrt_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3623:9:12",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "3634:7:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3646:6:12",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3654:6:12",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "3662:6:12",
"type": ""
}
],
"src": "3548:836:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4467:274:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4513:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "4515:77:12"
},
"nodeType": "YulFunctionCall",
"src": "4515:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "4515:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4488:7:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4497:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4484:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4484:23:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4509:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4480:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4480:32:12"
},
"nodeType": "YulIf",
"src": "4477:119:12"
},
{
"nodeType": "YulBlock",
"src": "4606:128:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4621:15:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4635:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4625:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4650:74:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4696:9:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4707:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4692:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4692:22:12"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4716:7:12"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "4660:31:12"
},
"nodeType": "YulFunctionCall",
"src": "4660:64:12"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4650:6:12"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4437:9:12",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "4448:7:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4460:6:12",
"type": ""
}
],
"src": "4390:351:12"
}
]
},
"contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n\n function abi_decode_available_length_t_string_memory_ptr_fromMemory(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_memory_to_memory_with_cleanup(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr_fromMemory(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := mload(offset)\n array := abi_decode_available_length_t_string_memory_ptr_fromMemory(add(offset, 0x20), length, end)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_addresst_string_memory_ptrt_uint256_fromMemory(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := mload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value1 := abi_decode_t_string_memory_ptr_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n}\n",
"id": 12,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "608060405260016004553480156200001657600080fd5b50604051620020323803806200203283398181016040528101906200003c9190620003d1565b6200004c620000b460201b60201c565b82600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200009e826200014c60201b60201c565b600781905550806008819055505050506200047e565b6200014a73c89bd4e1632d3a43cb03aaad5262cbe4038bc57173ffffffffffffffffffffffffffffffffffffffff166338cc48316040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000118573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013e91906200044c565b6200015a60201b60201c565b565b600060208201519050919050565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001df82620001b2565b9050919050565b620001f181620001d2565b8114620001fd57600080fd5b50565b6000815190506200021181620001e6565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200026c8262000221565b810181811067ffffffffffffffff821117156200028e576200028d62000232565b5b80604052505050565b6000620002a36200019e565b9050620002b1828262000261565b919050565b600067ffffffffffffffff821115620002d457620002d362000232565b5b620002df8262000221565b9050602081019050919050565b60005b838110156200030c578082015181840152602081019050620002ef565b60008484015250505050565b60006200032f6200032984620002b6565b62000297565b9050828152602081018484840111156200034e576200034d6200021c565b5b6200035b848285620002ec565b509392505050565b600082601f8301126200037b576200037a62000217565b5b81516200038d84826020860162000318565b91505092915050565b6000819050919050565b620003ab8162000396565b8114620003b757600080fd5b50565b600081519050620003cb81620003a0565b92915050565b600080600060608486031215620003ed57620003ec620001a8565b5b6000620003fd8682870162000200565b935050602084015167ffffffffffffffff811115620004215762000420620001ad565b5b6200042f8682870162000363565b92505060406200044286828701620003ba565b9150509250925092565b600060208284031215620004655762000464620001a8565b5b6000620004758482850162000200565b91505092915050565b611ba4806200048e6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063042f2b65146100465780636537214714610062578063693ec85e14610080575b600080fd5b610060600480360381019061005b9190610e12565b6100b0565b005b61006a610216565b6040516100779190610ee2565b60405180910390f35b61009a60048036038101906100959190611039565b6102a4565b6040516100a79190611091565b60405180910390f35b816005600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610152576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101499061111e565b60405180910390fd5b6005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055807f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a60405160405180910390a26101be8261033e565b600990816101cc9190611354565b5060096040516101dc91906114b4565b6040518091039020837fd7068dd93b2b2c580d414706aabbf529878c2a8273cd02be55b47c38eb2179a160405160405180910390a3505050565b600980546102239061116d565b80601f016020809104026020016040519081016040528092919081815260200182805461024f9061116d565b801561029c5780601f106102715761010080835404028352916020019161029c565b820191906000526020600020905b81548152906001019060200180831161027f57829003601f168201915b505050505081565b6000806102bb6007543063042f2b6560e01b610541565b90506103076040518060400160405280600381526020017f676574000000000000000000000000000000000000000000000000000000000081525084836105729092919063ffffffff16565b610336600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826008546105a5565b915050919050565b60606000602067ffffffffffffffff81111561035d5761035c610f0e565b5b6040519080825280601f01601f19166020018201604052801561038f5781602001600182028036833780820191505090505b5090506000805b60208110156104655760008160086103ae91906114fa565b60026103ba919061166f565b8660001c6103c891906114fa565b60001b9050600060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036104005750610465565b80848381518110610414576104136116ba565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350828061044e906116e9565b93505050808061045d906116e9565b915050610396565b5060008167ffffffffffffffff81111561048257610481610f0e565b5b6040519080825280601f01601f1916602001820160405280156104b45781602001600182028036833780820191505090505b50905060005b82811015610535578381815181106104d5576104d46116ba565b5b602001015160f81c60f81b8282815181106104f3576104f26116ba565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808061052d906116e9565b9150506104ba565b50809350505050919050565b610549610d41565b610551610d41565b61056885858584610671909392919063ffffffff16565b9150509392505050565b61058982846080015161072190919063ffffffff16565b6105a081846080015161072190919063ffffffff16565b505050565b60008060045490506001816105ba9190611731565b6004819055506000634042994660e01b60008087600001513089604001518760018c60800151600001516040516024016105fb989796959493929190611845565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905061066686838684610746565b925050509392505050565b610679610d41565b61068985608001516101006108db565b508385600001818152505082856020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508185604001907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681525050849050949350505050565b61072e8260038351610945565b6107418183610aca90919063ffffffff16565b505050565b6000308460405160200161075b929190611979565b604051602081830303815290604052805190602001209050846005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550807fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af960405160405180910390a2600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634000aea08685856040518463ffffffff1660e01b8152600401610851939291906119a5565b6020604051808303816000875af1158015610870573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108949190611a1b565b6108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca90611aba565b60405180910390fd5b949350505050565b6108e3610dae565b60006020836108f29190611b09565b1461091e576020826109049190611b09565b60206109109190611b3a565b8261091b9190611731565b91505b81836020018181525050604051808452600081528281016020016040525082905092915050565b60178167ffffffffffffffff161161097c576109768160058460ff16901b60ff161784610aec90919063ffffffff16565b50610ac5565b60ff8167ffffffffffffffff16116109d2576109ab601860058460ff16901b1784610aec90919063ffffffff16565b506109cc8167ffffffffffffffff16600185610b0c9092919063ffffffff16565b50610ac4565b61ffff8167ffffffffffffffff1611610a2957610a02601960058460ff16901b1784610aec90919063ffffffff16565b50610a238167ffffffffffffffff16600285610b0c9092919063ffffffff16565b50610ac3565b63ffffffff8167ffffffffffffffff1611610a8257610a5b601a60058460ff16901b1784610aec90919063ffffffff16565b50610a7c8167ffffffffffffffff16600485610b0c9092919063ffffffff16565b50610ac2565b610a9f601b60058460ff16901b1784610aec90919063ffffffff16565b50610ac08167ffffffffffffffff16600885610b0c9092919063ffffffff16565b505b5b5b5b505050565b610ad2610dae565b610ae483846000015151848551610b2e565b905092915050565b610af4610dae565b610b048384600001515184610c1d565b905092915050565b610b14610dae565b610b25848560000151518585610c73565b90509392505050565b610b36610dae565b8251821115610b4457600080fd5b84602001518285610b559190611731565b1115610b8a57610b89856002610b7a88602001518887610b759190611731565b610d01565b610b8491906114fa565b610d1d565b5b600080865180518760208301019350808887011115610ba95787860182525b60208701925050505b60208410610bf05780518252602082610bcb9190611731565b9150602081610bda9190611731565b9050602084610be99190611b3a565b9350610bb2565b60006001856020036101000a03905080198251168184511681811785525050508692505050949350505050565b610c25610dae565b83602001518310610c4b57610c4a8460028660200151610c4591906114fa565b610d1d565b5b83518051602085830101848153818603610c66576001820183525b5050508390509392505050565b610c7b610dae565b84602001518483610c8c9190611731565b1115610cb457610cb38560028685610ca49190611731565b610cae91906114fa565b610d1d565b5b6000600183610100610cc6919061166f565b610cd09190611b3a565b90508551838682010185831982511617815281518588011115610cf35784870182525b505085915050949350505050565b600081831115610d1357829050610d17565b8190505b92915050565b600082600001519050610d3083836108db565b50610d3b8382610aca565b50505050565b6040518060a0016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200160008152602001610da8610dae565b81525090565b604051806040016040528060608152602001600081525090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b610def81610ddc565b8114610dfa57600080fd5b50565b600081359050610e0c81610de6565b92915050565b60008060408385031215610e2957610e28610dd2565b5b6000610e3785828601610dfd565b9250506020610e4885828601610dfd565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e8c578082015181840152602081019050610e71565b60008484015250505050565b6000601f19601f8301169050919050565b6000610eb482610e52565b610ebe8185610e5d565b9350610ece818560208601610e6e565b610ed781610e98565b840191505092915050565b60006020820190508181036000830152610efc8184610ea9565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610f4682610e98565b810181811067ffffffffffffffff82111715610f6557610f64610f0e565b5b80604052505050565b6000610f78610dc8565b9050610f848282610f3d565b919050565b600067ffffffffffffffff821115610fa457610fa3610f0e565b5b610fad82610e98565b9050602081019050919050565b82818337600083830152505050565b6000610fdc610fd784610f89565b610f6e565b905082815260208101848484011115610ff857610ff7610f09565b5b611003848285610fba565b509392505050565b600082601f8301126110205761101f610f04565b5b8135611030848260208601610fc9565b91505092915050565b60006020828403121561104f5761104e610dd2565b5b600082013567ffffffffffffffff81111561106d5761106c610dd7565b5b6110798482850161100b565b91505092915050565b61108b81610ddc565b82525050565b60006020820190506110a66000830184611082565b92915050565b7f536f75726365206d75737420626520746865206f7261636c65206f662074686560008201527f2072657175657374000000000000000000000000000000000000000000000000602082015250565b6000611108602883610e5d565b9150611113826110ac565b604082019050919050565b60006020820190508181036000830152611137816110fb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061118557607f821691505b6020821081036111985761119761113e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026112007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826111c3565b61120a86836111c3565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061125161124c61124784611222565b61122c565b611222565b9050919050565b6000819050919050565b61126b83611236565b61127f61127782611258565b8484546111d0565b825550505050565b600090565b611294611287565b61129f818484611262565b505050565b5b818110156112c3576112b860008261128c565b6001810190506112a5565b5050565b601f821115611308576112d98161119e565b6112e2846111b3565b810160208510156112f1578190505b6113056112fd856111b3565b8301826112a4565b50505b505050565b600082821c905092915050565b600061132b6000198460080261130d565b1980831691505092915050565b6000611344838361131a565b9150826002028217905092915050565b61135d82610e52565b67ffffffffffffffff81111561137657611375610f0e565b5b611380825461116d565b61138b8282856112c7565b600060209050601f8311600181146113be57600084156113ac578287015190505b6113b68582611338565b86555061141e565b601f1984166113cc8661119e565b60005b828110156113f4578489015182556001820191506020850194506020810190506113cf565b86831015611411578489015161140d601f89168261131a565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000815461143e8161116d565b6114488186611426565b945060018216600081146114635760018114611478576114ab565b60ff19831686528115158202860193506114ab565b6114818561119e565b60005b838110156114a357815481890152600182019150602081019050611484565b838801955050505b50505092915050565b60006114c08284611431565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061150582611222565b915061151083611222565b925082820261151e81611222565b91508282048414831517611535576115346114cb565b5b5092915050565b60008160011c9050919050565b6000808291508390505b60018511156115935780860481111561156f5761156e6114cb565b5b600185161561157e5780820291505b808102905061158c8561153c565b9450611553565b94509492505050565b6000826115ac5760019050611668565b816115ba5760009050611668565b81600181146115d057600281146115da57611609565b6001915050611668565b60ff8411156115ec576115eb6114cb565b5b8360020a915084821115611603576116026114cb565b5b50611668565b5060208310610133831016604e8410600b841016171561163e5782820a905083811115611639576116386114cb565b5b611668565b61164b8484846001611549565b92509050818404811115611662576116616114cb565b5b81810290505b9392505050565b600061167a82611222565b915061168583611222565b92506116b27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461159c565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006116f482611222565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611726576117256114cb565b5b600182019050919050565b600061173c82611222565b915061174783611222565b925082820190508082111561175f5761175e6114cb565b5b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061179082611765565b9050919050565b6117a081611785565b82525050565b6117af81611222565b82525050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6117ea816117b5565b82525050565b600081519050919050565b600082825260208201905092915050565b6000611817826117f0565b61182181856117fb565b9350611831818560208601610e6e565b61183a81610e98565b840191505092915050565b60006101008201905061185b600083018b611797565b611868602083018a6117a6565b6118756040830189611082565b6118826060830188611797565b61188f60808301876117e1565b61189c60a08301866117a6565b6118a960c08301856117a6565b81810360e08301526118bb818461180c565b90509998505050505050505050565b60006118e56118e06118db84611765565b61122c565b611765565b9050919050565b60006118f7826118ca565b9050919050565b6000611909826118ec565b9050919050565b60008160601b9050919050565b600061192882611910565b9050919050565b600061193a8261191d565b9050919050565b61195261194d826118fe565b61192f565b82525050565b6000819050919050565b61197361196e82611222565b611958565b82525050565b60006119858285611941565b6014820191506119958284611962565b6020820191508190509392505050565b60006060820190506119ba6000830186611797565b6119c760208301856117a6565b81810360408301526119d9818461180c565b9050949350505050565b60008115159050919050565b6119f8816119e3565b8114611a0357600080fd5b50565b600081519050611a15816119ef565b92915050565b600060208284031215611a3157611a30610dd2565b5b6000611a3f84828501611a06565b91505092915050565b7f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726160008201527f636c650000000000000000000000000000000000000000000000000000000000602082015250565b6000611aa4602383610e5d565b9150611aaf82611a48565b604082019050919050565b60006020820190508181036000830152611ad381611a97565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611b1482611222565b9150611b1f83611222565b925082611b2f57611b2e611ada565b5b828206905092915050565b6000611b4582611222565b9150611b5083611222565b9250828203905081811115611b6857611b676114cb565b5b9291505056fea2646970667358221220128fc6ddfbdc8de25a8994003c8b26db34cc373da36c622b5deeb7445cd3dd6a64736f6c63430008120033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x1 PUSH1 0x4 SSTORE CALLVALUE DUP1 ISZERO PUSH3 0x16 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x2032 CODESIZE SUB DUP1 PUSH3 0x2032 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH3 0x3C SWAP2 SWAP1 PUSH3 0x3D1 JUMP JUMPDEST PUSH3 0x4C PUSH3 0xB4 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST DUP3 PUSH1 0x6 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH3 0x9E DUP3 PUSH3 0x14C PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x7 DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x8 DUP2 SWAP1 SSTORE POP POP POP POP PUSH3 0x47E JUMP JUMPDEST PUSH3 0x14A PUSH20 0xC89BD4E1632D3A43CB03AAAD5262CBE4038BC571 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x38CC4831 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0x118 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH3 0x13E SWAP2 SWAP1 PUSH3 0x44C JUMP JUMPDEST PUSH3 0x15A PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x1DF DUP3 PUSH3 0x1B2 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x1F1 DUP2 PUSH3 0x1D2 JUMP JUMPDEST DUP2 EQ PUSH3 0x1FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH3 0x211 DUP2 PUSH3 0x1E6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH3 0x26C DUP3 PUSH3 0x221 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH3 0x28E JUMPI PUSH3 0x28D PUSH3 0x232 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x2A3 PUSH3 0x19E JUMP JUMPDEST SWAP1 POP PUSH3 0x2B1 DUP3 DUP3 PUSH3 0x261 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH3 0x2D4 JUMPI PUSH3 0x2D3 PUSH3 0x232 JUMP JUMPDEST JUMPDEST PUSH3 0x2DF DUP3 PUSH3 0x221 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x30C JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH3 0x2EF JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x32F PUSH3 0x329 DUP5 PUSH3 0x2B6 JUMP JUMPDEST PUSH3 0x297 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH3 0x34E JUMPI PUSH3 0x34D PUSH3 0x21C JUMP JUMPDEST JUMPDEST PUSH3 0x35B DUP5 DUP3 DUP6 PUSH3 0x2EC JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x37B JUMPI PUSH3 0x37A PUSH3 0x217 JUMP JUMPDEST JUMPDEST DUP2 MLOAD PUSH3 0x38D DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH3 0x318 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x3AB DUP2 PUSH3 0x396 JUMP JUMPDEST DUP2 EQ PUSH3 0x3B7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH3 0x3CB DUP2 PUSH3 0x3A0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH3 0x3ED JUMPI PUSH3 0x3EC PUSH3 0x1A8 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH3 0x3FD DUP7 DUP3 DUP8 ADD PUSH3 0x200 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 DUP5 ADD MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x421 JUMPI PUSH3 0x420 PUSH3 0x1AD JUMP JUMPDEST JUMPDEST PUSH3 0x42F DUP7 DUP3 DUP8 ADD PUSH3 0x363 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH3 0x442 DUP7 DUP3 DUP8 ADD PUSH3 0x3BA JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x465 JUMPI PUSH3 0x464 PUSH3 0x1A8 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH3 0x475 DUP5 DUP3 DUP6 ADD PUSH3 0x200 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1BA4 DUP1 PUSH3 0x48E 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 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x42F2B65 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x65372147 EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0x693EC85E EQ PUSH2 0x80 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x60 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5B SWAP2 SWAP1 PUSH2 0xE12 JUMP JUMPDEST PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6A PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x77 SWAP2 SWAP1 PUSH2 0xEE2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x95 SWAP2 SWAP1 PUSH2 0x1039 JUMP JUMPDEST PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA7 SWAP2 SWAP1 PUSH2 0x1091 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP2 PUSH1 0x5 PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x152 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x149 SWAP1 PUSH2 0x111E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x5 PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 SSTORE DUP1 PUSH32 0x7CC135E0CEBB02C3480AE5D74D377283180A2601F8F644EDF7987B009316C63A PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH2 0x1BE DUP3 PUSH2 0x33E JUMP JUMPDEST PUSH1 0x9 SWAP1 DUP2 PUSH2 0x1CC SWAP2 SWAP1 PUSH2 0x1354 JUMP JUMPDEST POP PUSH1 0x9 PUSH1 0x40 MLOAD PUSH2 0x1DC SWAP2 SWAP1 PUSH2 0x14B4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 KECCAK256 DUP4 PUSH32 0xD7068DD93B2B2C580D414706AABBF529878C2A8273CD02BE55B47C38EB2179A1 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH2 0x223 SWAP1 PUSH2 0x116D 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 0x24F SWAP1 PUSH2 0x116D JUMP JUMPDEST DUP1 ISZERO PUSH2 0x29C JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x271 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x29C 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 0x27F JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x2BB PUSH1 0x7 SLOAD ADDRESS PUSH4 0x42F2B65 PUSH1 0xE0 SHL PUSH2 0x541 JUMP JUMPDEST SWAP1 POP PUSH2 0x307 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x6765740000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP5 DUP4 PUSH2 0x572 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x336 PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH1 0x8 SLOAD PUSH2 0x5A5 JUMP JUMPDEST SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH1 0x20 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x35D JUMPI PUSH2 0x35C PUSH2 0xF0E JUMP JUMPDEST 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 0x38F JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP1 JUMPDEST PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x465 JUMPI PUSH1 0x0 DUP2 PUSH1 0x8 PUSH2 0x3AE SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH1 0x2 PUSH2 0x3BA SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST DUP7 PUSH1 0x0 SHR PUSH2 0x3C8 SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH1 0x0 SHL SWAP1 POP PUSH1 0x0 PUSH1 0xF8 SHL DUP2 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SUB PUSH2 0x400 JUMPI POP PUSH2 0x465 JUMP JUMPDEST DUP1 DUP5 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x414 JUMPI PUSH2 0x413 PUSH2 0x16BA JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP DUP3 DUP1 PUSH2 0x44E SWAP1 PUSH2 0x16E9 JUMP JUMPDEST SWAP4 POP POP POP DUP1 DUP1 PUSH2 0x45D SWAP1 PUSH2 0x16E9 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x396 JUMP JUMPDEST POP PUSH1 0x0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x482 JUMPI PUSH2 0x481 PUSH2 0xF0E JUMP JUMPDEST 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 0x4B4 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x535 JUMPI DUP4 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x4D5 JUMPI PUSH2 0x4D4 PUSH2 0x16BA JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD MLOAD PUSH1 0xF8 SHR PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x4F3 JUMPI PUSH2 0x4F2 PUSH2 0x16BA JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP DUP1 DUP1 PUSH2 0x52D SWAP1 PUSH2 0x16E9 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x4BA JUMP JUMPDEST POP DUP1 SWAP4 POP POP POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x549 PUSH2 0xD41 JUMP JUMPDEST PUSH2 0x551 PUSH2 0xD41 JUMP JUMPDEST PUSH2 0x568 DUP6 DUP6 DUP6 DUP5 PUSH2 0x671 SWAP1 SWAP4 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x589 DUP3 DUP5 PUSH1 0x80 ADD MLOAD PUSH2 0x721 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x5A0 DUP2 DUP5 PUSH1 0x80 ADD MLOAD PUSH2 0x721 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x4 SLOAD SWAP1 POP PUSH1 0x1 DUP2 PUSH2 0x5BA SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST PUSH1 0x4 DUP2 SWAP1 SSTORE POP PUSH1 0x0 PUSH4 0x40429946 PUSH1 0xE0 SHL PUSH1 0x0 DUP1 DUP8 PUSH1 0x0 ADD MLOAD ADDRESS DUP10 PUSH1 0x40 ADD MLOAD DUP8 PUSH1 0x1 DUP13 PUSH1 0x80 ADD MLOAD PUSH1 0x0 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x5FB SWAP9 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1845 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 DUP4 AND OR DUP4 MSTORE POP POP POP POP SWAP1 POP PUSH2 0x666 DUP7 DUP4 DUP7 DUP5 PUSH2 0x746 JUMP JUMPDEST SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x679 PUSH2 0xD41 JUMP JUMPDEST PUSH2 0x689 DUP6 PUSH1 0x80 ADD MLOAD PUSH2 0x100 PUSH2 0x8DB JUMP JUMPDEST POP DUP4 DUP6 PUSH1 0x0 ADD DUP2 DUP2 MSTORE POP POP DUP3 DUP6 PUSH1 0x20 ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP DUP2 DUP6 PUSH1 0x40 ADD SWAP1 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE POP POP DUP5 SWAP1 POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x72E DUP3 PUSH1 0x3 DUP4 MLOAD PUSH2 0x945 JUMP JUMPDEST PUSH2 0x741 DUP2 DUP4 PUSH2 0xACA SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 ADDRESS DUP5 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x75B SWAP3 SWAP2 SWAP1 PUSH2 0x1979 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP DUP5 PUSH1 0x5 PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP1 PUSH32 0xB5E6E01E79F91267DC17B4E6314D5D4D03593D2CEEE0FBB452B750BD70EA5AF9 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x4000AEA0 DUP7 DUP6 DUP6 PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x851 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x19A5 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x870 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x894 SWAP2 SWAP1 PUSH2 0x1A1B JUMP JUMPDEST PUSH2 0x8D3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8CA SWAP1 PUSH2 0x1ABA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x8E3 PUSH2 0xDAE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP4 PUSH2 0x8F2 SWAP2 SWAP1 PUSH2 0x1B09 JUMP JUMPDEST EQ PUSH2 0x91E JUMPI PUSH1 0x20 DUP3 PUSH2 0x904 SWAP2 SWAP1 PUSH2 0x1B09 JUMP JUMPDEST PUSH1 0x20 PUSH2 0x910 SWAP2 SWAP1 PUSH2 0x1B3A JUMP JUMPDEST DUP3 PUSH2 0x91B SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST SWAP2 POP JUMPDEST DUP2 DUP4 PUSH1 0x20 ADD DUP2 DUP2 MSTORE POP POP PUSH1 0x40 MLOAD DUP1 DUP5 MSTORE PUSH1 0x0 DUP2 MSTORE DUP3 DUP2 ADD PUSH1 0x20 ADD PUSH1 0x40 MSTORE POP DUP3 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x17 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND GT PUSH2 0x97C JUMPI PUSH2 0x976 DUP2 PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL PUSH1 0xFF AND OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC5 JUMP JUMPDEST PUSH1 0xFF DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND GT PUSH2 0x9D2 JUMPI PUSH2 0x9AB PUSH1 0x18 PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0x9CC DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH1 0x1 DUP6 PUSH2 0xB0C SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC4 JUMP JUMPDEST PUSH2 0xFFFF DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND GT PUSH2 0xA29 JUMPI PUSH2 0xA02 PUSH1 0x19 PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xA23 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH1 0x2 DUP6 PUSH2 0xB0C SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC3 JUMP JUMPDEST PUSH4 0xFFFFFFFF DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND GT PUSH2 0xA82 JUMPI PUSH2 0xA5B PUSH1 0x1A PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xA7C DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH1 0x4 DUP6 PUSH2 0xB0C SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC2 JUMP JUMPDEST PUSH2 0xA9F PUSH1 0x1B PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH1 0x8 DUP6 PUSH2 0xB0C SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP JUMPDEST JUMPDEST JUMPDEST JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0xAD2 PUSH2 0xDAE JUMP JUMPDEST PUSH2 0xAE4 DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 DUP6 MLOAD PUSH2 0xB2E JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xAF4 PUSH2 0xDAE JUMP JUMPDEST PUSH2 0xB04 DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 PUSH2 0xC1D JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xB14 PUSH2 0xDAE JUMP JUMPDEST PUSH2 0xB25 DUP5 DUP6 PUSH1 0x0 ADD MLOAD MLOAD DUP6 DUP6 PUSH2 0xC73 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xB36 PUSH2 0xDAE JUMP JUMPDEST DUP3 MLOAD DUP3 GT ISZERO PUSH2 0xB44 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP3 DUP6 PUSH2 0xB55 SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST GT ISZERO PUSH2 0xB8A JUMPI PUSH2 0xB89 DUP6 PUSH1 0x2 PUSH2 0xB7A DUP9 PUSH1 0x20 ADD MLOAD DUP9 DUP8 PUSH2 0xB75 SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST PUSH2 0xD01 JUMP JUMPDEST PUSH2 0xB84 SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH2 0xD1D JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP1 DUP7 MLOAD DUP1 MLOAD DUP8 PUSH1 0x20 DUP4 ADD ADD SWAP4 POP DUP1 DUP9 DUP8 ADD GT ISZERO PUSH2 0xBA9 JUMPI DUP8 DUP7 ADD DUP3 MSTORE JUMPDEST PUSH1 0x20 DUP8 ADD SWAP3 POP POP POP JUMPDEST PUSH1 0x20 DUP5 LT PUSH2 0xBF0 JUMPI DUP1 MLOAD DUP3 MSTORE PUSH1 0x20 DUP3 PUSH2 0xBCB SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP2 PUSH2 0xBDA SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP5 PUSH2 0xBE9 SWAP2 SWAP1 PUSH2 0x1B3A JUMP JUMPDEST SWAP4 POP PUSH2 0xBB2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP6 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB SWAP1 POP DUP1 NOT DUP3 MLOAD AND DUP2 DUP5 MLOAD AND DUP2 DUP2 OR DUP6 MSTORE POP POP POP DUP7 SWAP3 POP POP POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0xC25 PUSH2 0xDAE JUMP JUMPDEST DUP4 PUSH1 0x20 ADD MLOAD DUP4 LT PUSH2 0xC4B JUMPI PUSH2 0xC4A DUP5 PUSH1 0x2 DUP7 PUSH1 0x20 ADD MLOAD PUSH2 0xC45 SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH2 0xD1D JUMP JUMPDEST JUMPDEST DUP4 MLOAD DUP1 MLOAD PUSH1 0x20 DUP6 DUP4 ADD ADD DUP5 DUP2 MSTORE8 DUP2 DUP7 SUB PUSH2 0xC66 JUMPI PUSH1 0x1 DUP3 ADD DUP4 MSTORE JUMPDEST POP POP POP DUP4 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xC7B PUSH2 0xDAE JUMP JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP5 DUP4 PUSH2 0xC8C SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST GT ISZERO PUSH2 0xCB4 JUMPI PUSH2 0xCB3 DUP6 PUSH1 0x2 DUP7 DUP6 PUSH2 0xCA4 SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST PUSH2 0xCAE SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH2 0xD1D JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP4 PUSH2 0x100 PUSH2 0xCC6 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xCD0 SWAP2 SWAP1 PUSH2 0x1B3A JUMP JUMPDEST SWAP1 POP DUP6 MLOAD DUP4 DUP7 DUP3 ADD ADD DUP6 DUP4 NOT DUP3 MLOAD AND OR DUP2 MSTORE DUP2 MLOAD DUP6 DUP9 ADD GT ISZERO PUSH2 0xCF3 JUMPI DUP5 DUP8 ADD DUP3 MSTORE JUMPDEST POP POP DUP6 SWAP2 POP POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0xD13 JUMPI DUP3 SWAP1 POP PUSH2 0xD17 JUMP JUMPDEST DUP2 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x0 ADD MLOAD SWAP1 POP PUSH2 0xD30 DUP4 DUP4 PUSH2 0x8DB JUMP JUMPDEST POP PUSH2 0xD3B DUP4 DUP3 PUSH2 0xACA JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP1 NOT AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xDA8 PUSH2 0xDAE JUMP JUMPDEST DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xDEF DUP2 PUSH2 0xDDC JUMP JUMPDEST DUP2 EQ PUSH2 0xDFA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xE0C DUP2 PUSH2 0xDE6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xE29 JUMPI PUSH2 0xE28 PUSH2 0xDD2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xE37 DUP6 DUP3 DUP7 ADD PUSH2 0xDFD JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xE48 DUP6 DUP3 DUP7 ADD PUSH2 0xDFD JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xE8C JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xE71 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEB4 DUP3 PUSH2 0xE52 JUMP JUMPDEST PUSH2 0xEBE DUP2 DUP6 PUSH2 0xE5D JUMP JUMPDEST SWAP4 POP PUSH2 0xECE DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xE6E JUMP JUMPDEST PUSH2 0xED7 DUP2 PUSH2 0xE98 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xEFC DUP2 DUP5 PUSH2 0xEA9 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xF46 DUP3 PUSH2 0xE98 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0xF65 JUMPI PUSH2 0xF64 PUSH2 0xF0E JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF78 PUSH2 0xDC8 JUMP JUMPDEST SWAP1 POP PUSH2 0xF84 DUP3 DUP3 PUSH2 0xF3D JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0xFA4 JUMPI PUSH2 0xFA3 PUSH2 0xF0E JUMP JUMPDEST JUMPDEST PUSH2 0xFAD DUP3 PUSH2 0xE98 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xFDC PUSH2 0xFD7 DUP5 PUSH2 0xF89 JUMP JUMPDEST PUSH2 0xF6E JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0xFF8 JUMPI PUSH2 0xFF7 PUSH2 0xF09 JUMP JUMPDEST JUMPDEST PUSH2 0x1003 DUP5 DUP3 DUP6 PUSH2 0xFBA JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x1020 JUMPI PUSH2 0x101F PUSH2 0xF04 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1030 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0xFC9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x104F JUMPI PUSH2 0x104E PUSH2 0xDD2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x106D JUMPI PUSH2 0x106C PUSH2 0xDD7 JUMP JUMPDEST JUMPDEST PUSH2 0x1079 DUP5 DUP3 DUP6 ADD PUSH2 0x100B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x108B DUP2 PUSH2 0xDDC JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x10A6 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1082 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x536F75726365206D75737420626520746865206F7261636C65206F6620746865 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x2072657175657374000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1108 PUSH1 0x28 DUP4 PUSH2 0xE5D JUMP JUMPDEST SWAP2 POP PUSH2 0x1113 DUP3 PUSH2 0x10AC JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1137 DUP2 PUSH2 0x10FB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x1185 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x1198 JUMPI PUSH2 0x1197 PUSH2 0x113E JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH2 0x1200 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x11C3 JUMP JUMPDEST PUSH2 0x120A DUP7 DUP4 PUSH2 0x11C3 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1251 PUSH2 0x124C PUSH2 0x1247 DUP5 PUSH2 0x1222 JUMP JUMPDEST PUSH2 0x122C JUMP JUMPDEST PUSH2 0x1222 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x126B DUP4 PUSH2 0x1236 JUMP JUMPDEST PUSH2 0x127F PUSH2 0x1277 DUP3 PUSH2 0x1258 JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x11D0 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH2 0x1294 PUSH2 0x1287 JUMP JUMPDEST PUSH2 0x129F DUP2 DUP5 DUP5 PUSH2 0x1262 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x12C3 JUMPI PUSH2 0x12B8 PUSH1 0x0 DUP3 PUSH2 0x128C JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x12A5 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x1308 JUMPI PUSH2 0x12D9 DUP2 PUSH2 0x119E JUMP JUMPDEST PUSH2 0x12E2 DUP5 PUSH2 0x11B3 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x12F1 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x1305 PUSH2 0x12FD DUP6 PUSH2 0x11B3 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x12A4 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x132B PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x130D JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1344 DUP4 DUP4 PUSH2 0x131A JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x135D DUP3 PUSH2 0xE52 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1376 JUMPI PUSH2 0x1375 PUSH2 0xF0E JUMP JUMPDEST JUMPDEST PUSH2 0x1380 DUP3 SLOAD PUSH2 0x116D JUMP JUMPDEST PUSH2 0x138B DUP3 DUP3 DUP6 PUSH2 0x12C7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x13BE JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x13AC JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x13B6 DUP6 DUP3 PUSH2 0x1338 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x141E JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x13CC DUP7 PUSH2 0x119E JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x13F4 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x13CF JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x1411 JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x140D PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x131A JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SLOAD PUSH2 0x143E DUP2 PUSH2 0x116D JUMP JUMPDEST PUSH2 0x1448 DUP2 DUP7 PUSH2 0x1426 JUMP JUMPDEST SWAP5 POP PUSH1 0x1 DUP3 AND PUSH1 0x0 DUP2 EQ PUSH2 0x1463 JUMPI PUSH1 0x1 DUP2 EQ PUSH2 0x1478 JUMPI PUSH2 0x14AB JUMP JUMPDEST PUSH1 0xFF NOT DUP4 AND DUP7 MSTORE DUP2 ISZERO ISZERO DUP3 MUL DUP7 ADD SWAP4 POP PUSH2 0x14AB JUMP JUMPDEST PUSH2 0x1481 DUP6 PUSH2 0x119E JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x14A3 JUMPI DUP2 SLOAD DUP2 DUP10 ADD MSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1484 JUMP JUMPDEST DUP4 DUP9 ADD SWAP6 POP POP POP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x14C0 DUP3 DUP5 PUSH2 0x1431 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1505 DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1510 DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x151E DUP2 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x1535 JUMPI PUSH2 0x1534 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 SHR SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP2 POP DUP4 SWAP1 POP JUMPDEST PUSH1 0x1 DUP6 GT ISZERO PUSH2 0x1593 JUMPI DUP1 DUP7 DIV DUP2 GT ISZERO PUSH2 0x156F JUMPI PUSH2 0x156E PUSH2 0x14CB JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 AND ISZERO PUSH2 0x157E JUMPI DUP1 DUP3 MUL SWAP2 POP JUMPDEST DUP1 DUP2 MUL SWAP1 POP PUSH2 0x158C DUP6 PUSH2 0x153C JUMP JUMPDEST SWAP5 POP PUSH2 0x1553 JUMP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x15AC JUMPI PUSH1 0x1 SWAP1 POP PUSH2 0x1668 JUMP JUMPDEST DUP2 PUSH2 0x15BA JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x1668 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0x15D0 JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x15DA JUMPI PUSH2 0x1609 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x1668 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0x15EC JUMPI PUSH2 0x15EB PUSH2 0x14CB JUMP JUMPDEST JUMPDEST DUP4 PUSH1 0x2 EXP SWAP2 POP DUP5 DUP3 GT ISZERO PUSH2 0x1603 JUMPI PUSH2 0x1602 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST POP PUSH2 0x1668 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0x163E JUMPI DUP3 DUP3 EXP SWAP1 POP DUP4 DUP2 GT ISZERO PUSH2 0x1639 JUMPI PUSH2 0x1638 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST PUSH2 0x1668 JUMP JUMPDEST PUSH2 0x164B DUP5 DUP5 DUP5 PUSH1 0x1 PUSH2 0x1549 JUMP JUMPDEST SWAP3 POP SWAP1 POP DUP2 DUP5 DIV DUP2 GT ISZERO PUSH2 0x1662 JUMPI PUSH2 0x1661 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST DUP2 DUP2 MUL SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x167A DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1685 DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP PUSH2 0x16B2 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP5 PUSH2 0x159C JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x16F4 DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x1726 JUMPI PUSH2 0x1725 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x173C DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1747 DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x175F JUMPI PUSH2 0x175E PUSH2 0x14CB JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1790 DUP3 PUSH2 0x1765 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x17A0 DUP2 PUSH2 0x1785 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x17AF DUP2 PUSH2 0x1222 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x17EA DUP2 PUSH2 0x17B5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1817 DUP3 PUSH2 0x17F0 JUMP JUMPDEST PUSH2 0x1821 DUP2 DUP6 PUSH2 0x17FB JUMP JUMPDEST SWAP4 POP PUSH2 0x1831 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xE6E JUMP JUMPDEST PUSH2 0x183A DUP2 PUSH2 0xE98 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 ADD SWAP1 POP PUSH2 0x185B PUSH1 0x0 DUP4 ADD DUP12 PUSH2 0x1797 JUMP JUMPDEST PUSH2 0x1868 PUSH1 0x20 DUP4 ADD DUP11 PUSH2 0x17A6 JUMP JUMPDEST PUSH2 0x1875 PUSH1 0x40 DUP4 ADD DUP10 PUSH2 0x1082 JUMP JUMPDEST PUSH2 0x1882 PUSH1 0x60 DUP4 ADD DUP9 PUSH2 0x1797 JUMP JUMPDEST PUSH2 0x188F PUSH1 0x80 DUP4 ADD DUP8 PUSH2 0x17E1 JUMP JUMPDEST PUSH2 0x189C PUSH1 0xA0 DUP4 ADD DUP7 PUSH2 0x17A6 JUMP JUMPDEST PUSH2 0x18A9 PUSH1 0xC0 DUP4 ADD DUP6 PUSH2 0x17A6 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0xE0 DUP4 ADD MSTORE PUSH2 0x18BB DUP2 DUP5 PUSH2 0x180C JUMP JUMPDEST SWAP1 POP SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18E5 PUSH2 0x18E0 PUSH2 0x18DB DUP5 PUSH2 0x1765 JUMP JUMPDEST PUSH2 0x122C JUMP JUMPDEST PUSH2 0x1765 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18F7 DUP3 PUSH2 0x18CA JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1909 DUP3 PUSH2 0x18EC JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x60 SHL SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1928 DUP3 PUSH2 0x1910 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x193A DUP3 PUSH2 0x191D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1952 PUSH2 0x194D DUP3 PUSH2 0x18FE JUMP JUMPDEST PUSH2 0x192F JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1973 PUSH2 0x196E DUP3 PUSH2 0x1222 JUMP JUMPDEST PUSH2 0x1958 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1985 DUP3 DUP6 PUSH2 0x1941 JUMP JUMPDEST PUSH1 0x14 DUP3 ADD SWAP2 POP PUSH2 0x1995 DUP3 DUP5 PUSH2 0x1962 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP2 POP DUP2 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x19BA PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x1797 JUMP JUMPDEST PUSH2 0x19C7 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x17A6 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x19D9 DUP2 DUP5 PUSH2 0x180C JUMP JUMPDEST SWAP1 POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x19F8 DUP2 PUSH2 0x19E3 JUMP JUMPDEST DUP2 EQ PUSH2 0x1A03 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1A15 DUP2 PUSH2 0x19EF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1A31 JUMPI PUSH2 0x1A30 PUSH2 0xDD2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1A3F DUP5 DUP3 DUP6 ADD PUSH2 0x1A06 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x756E61626C6520746F207472616E73666572416E6443616C6C20746F206F7261 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x636C650000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1AA4 PUSH1 0x23 DUP4 PUSH2 0xE5D JUMP JUMPDEST SWAP2 POP PUSH2 0x1AAF DUP3 PUSH2 0x1A48 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1AD3 DUP2 PUSH2 0x1A97 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1B14 DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1B1F DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x1B2F JUMPI PUSH2 0x1B2E PUSH2 0x1ADA JUMP JUMPDEST JUMPDEST DUP3 DUP3 MOD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1B45 DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1B50 DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 SUB SWAP1 POP DUP2 DUP2 GT ISZERO PUSH2 0x1B68 JUMPI PUSH2 0x1B67 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SLT DUP16 0xC6 0xDD 0xFB 0xDC DUP14 0xE2 GAS DUP10 SWAP5 STOP EXTCODECOPY DUP12 0x26 0xDB CALLVALUE 0xCC CALLDATACOPY RETURNDATASIZE LOG3 PUSH13 0x622B5DEEB7445CD3DD6A64736F PUSH13 0x63430008120033000000000000 ",
"sourceMap": "123:2086:11:-:0;;;1291:1:1;1258:34;;624:199:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;700:25;:23;;;:25;;:::i;:::-;745:7;736:6;;:16;;;;;;;;;;;;;;;;;;771:23;787:6;771:15;;;:23;;:::i;:::-;763:5;:31;;;;811:4;805:3;:10;;;;624:199;;;123:2086;;8856:123:1;8906:68;1077:42;8924:47;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8906:17;;;:68;;:::i;:::-;8856:123::o;1397:170:11:-;1466:14;1545:2;1537:6;1533:15;1527:22;1517:32;;1397:170;;;:::o;8625:108:1:-;8716:11;8688:6;;:40;;;;;;;;;;;;;;;;;;8625:108;:::o;7:75:12:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:117::-;954:1;951;944:12;968:117;1077:1;1074;1067:12;1091:102;1132:6;1183:2;1179:7;1174:2;1167:5;1163:14;1159:28;1149:38;;1091:102;;;:::o;1199:180::-;1247:77;1244:1;1237:88;1344:4;1341:1;1334:15;1368:4;1365:1;1358:15;1385:281;1468:27;1490:4;1468:27;:::i;:::-;1460:6;1456:40;1598:6;1586:10;1583:22;1562:18;1550:10;1547:34;1544:62;1541:88;;;1609:18;;:::i;:::-;1541:88;1649:10;1645:2;1638:22;1428:238;1385:281;;:::o;1672:129::-;1706:6;1733:20;;:::i;:::-;1723:30;;1762:33;1790:4;1782:6;1762:33;:::i;:::-;1672:129;;;:::o;1807:308::-;1869:4;1959:18;1951:6;1948:30;1945:56;;;1981:18;;:::i;:::-;1945:56;2019:29;2041:6;2019:29;:::i;:::-;2011:37;;2103:4;2097;2093:15;2085:23;;1807:308;;;:::o;2121:246::-;2202:1;2212:113;2226:6;2223:1;2220:13;2212:113;;;2311:1;2306:3;2302:11;2296:18;2292:1;2287:3;2283:11;2276:39;2248:2;2245:1;2241:10;2236:15;;2212:113;;;2359:1;2350:6;2345:3;2341:16;2334:27;2183:184;2121:246;;;:::o;2373:434::-;2462:5;2487:66;2503:49;2545:6;2503:49;:::i;:::-;2487:66;:::i;:::-;2478:75;;2576:6;2569:5;2562:21;2614:4;2607:5;2603:16;2652:3;2643:6;2638:3;2634:16;2631:25;2628:112;;;2659:79;;:::i;:::-;2628:112;2749:52;2794:6;2789:3;2784;2749:52;:::i;:::-;2468:339;2373:434;;;;;:::o;2827:355::-;2894:5;2943:3;2936:4;2928:6;2924:17;2920:27;2910:122;;2951:79;;:::i;:::-;2910:122;3061:6;3055:13;3086:90;3172:3;3164:6;3157:4;3149:6;3145:17;3086:90;:::i;:::-;3077:99;;2900:282;2827:355;;;;:::o;3188:77::-;3225:7;3254:5;3243:16;;3188:77;;;:::o;3271:122::-;3344:24;3362:5;3344:24;:::i;:::-;3337:5;3334:35;3324:63;;3383:1;3380;3373:12;3324:63;3271:122;:::o;3399:143::-;3456:5;3487:6;3481:13;3472:22;;3503:33;3530:5;3503:33;:::i;:::-;3399:143;;;;:::o;3548:836::-;3646:6;3654;3662;3711:2;3699:9;3690:7;3686:23;3682:32;3679:119;;;3717:79;;:::i;:::-;3679:119;3837:1;3862:64;3918:7;3909:6;3898:9;3894:22;3862:64;:::i;:::-;3852:74;;3808:128;3996:2;3985:9;3981:18;3975:25;4027:18;4019:6;4016:30;4013:117;;;4049:79;;:::i;:::-;4013:117;4154:74;4220:7;4211:6;4200:9;4196:22;4154:74;:::i;:::-;4144:84;;3946:292;4277:2;4303:64;4359:7;4350:6;4339:9;4335:22;4303:64;:::i;:::-;4293:74;;4248:129;3548:836;;;;;:::o;4390:351::-;4460:6;4509:2;4497:9;4488:7;4484:23;4480:32;4477:119;;;4515:79;;:::i;:::-;4477:119;4635:1;4660:64;4716:7;4707:6;4696:9;4692:22;4660:64;:::i;:::-;4650:74;;4606:128;4390:351;;;;:::o;123:2086:11:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_rawRequest_594": {
"entryPoint": 1862,
"id": 594,
"parameterSlots": 4,
"returnSlots": 1
},
"@add_125": {
"entryPoint": 1394,
"id": 125,
"parameterSlots": 3,
"returnSlots": 0
},
"@appendInt_1717": {
"entryPoint": 2828,
"id": 1717,
"parameterSlots": 3,
"returnSlots": 1
},
"@appendUint8_1514": {
"entryPoint": 2796,
"id": 1514,
"parameterSlots": 2,
"returnSlots": 1
},
"@append_1461": {
"entryPoint": 2762,
"id": 1461,
"parameterSlots": 2,
"returnSlots": 1
},
"@buildChainlinkRequest_373": {
"entryPoint": 1345,
"id": 373,
"parameterSlots": 3,
"returnSlots": 1
},
"@bytes32ToString_2393": {
"entryPoint": 830,
"id": 2393,
"parameterSlots": 1,
"returnSlots": 1
},
"@encodeFixedNumeric_1886": {
"entryPoint": 2373,
"id": 1886,
"parameterSlots": 3,
"returnSlots": 0
},
"@encodeString_2128": {
"entryPoint": 1825,
"id": 2128,
"parameterSlots": 2,
"returnSlots": 0
},
"@fulfill_2284": {
"entryPoint": 176,
"id": 2284,
"parameterSlots": 2,
"returnSlots": 0
},
"@get_2262": {
"entryPoint": 676,
"id": 2262,
"parameterSlots": 1,
"returnSlots": 1
},
"@init_1242": {
"entryPoint": 2267,
"id": 1242,
"parameterSlots": 2,
"returnSlots": 1
},
"@initialize_70": {
"entryPoint": 1649,
"id": 70,
"parameterSlots": 4,
"returnSlots": 1
},
"@max_1314": {
"entryPoint": 3329,
"id": 1314,
"parameterSlots": 2,
"returnSlots": 1
},
"@resize_1295": {
"entryPoint": 3357,
"id": 1295,
"parameterSlots": 2,
"returnSlots": 0
},
"@result_2192": {
"entryPoint": 534,
"id": 2192,
"parameterSlots": 0,
"returnSlots": 0
},
"@sendChainlinkRequestTo_477": {
"entryPoint": 1445,
"id": 477,
"parameterSlots": 3,
"returnSlots": 1
},
"@writeInt_1693": {
"entryPoint": 3187,
"id": 1693,
"parameterSlots": 4,
"returnSlots": 1
},
"@writeUint8_1493": {
"entryPoint": 3101,
"id": 1493,
"parameterSlots": 3,
"returnSlots": 1
},
"@write_1414": {
"entryPoint": 2862,
"id": 1414,
"parameterSlots": 4,
"returnSlots": 1
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 4041,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_bool_fromMemory": {
"entryPoint": 6662,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bytes32": {
"entryPoint": 3581,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 4107,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_bool_fromMemory": {
"entryPoint": 6683,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_bytes32t_bytes32": {
"entryPoint": 3602,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_string_memory_ptr": {
"entryPoint": 4153,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 6039,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes32_to_t_bytes32_fromStack": {
"entryPoint": 4226,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes4_to_t_bytes4_fromStack": {
"entryPoint": 6113,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack": {
"entryPoint": 6156,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_contract$_ChainlinkClient_$861_to_t_address_nonPadded_inplace_fromStack": {
"entryPoint": 6465,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 3753,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_storage_to_t_string_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 5169,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_stringliteral_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96_to_t_string_memory_ptr_fromStack": {
"entryPoint": 6807,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4_to_t_string_memory_ptr_fromStack": {
"entryPoint": 4347,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 6054,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack": {
"entryPoint": 6498,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_packed_t_contract$_ChainlinkClient_$861_t_uint256__to_t_address_t_uint256__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 6521,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_packed_t_string_storage__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": {
"entryPoint": 5300,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_address_t_uint256_t_bytes32_t_address_t_bytes4_t_uint256_t_uint256_t_bytes_memory_ptr__to_t_address_t_uint256_t_bytes32_t_address_t_bytes4_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed": {
"entryPoint": 6213,
"id": null,
"parameterSlots": 9,
"returnSlots": 1
},
"abi_encode_tuple_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed": {
"entryPoint": 6565,
"id": null,
"parameterSlots": 4,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": {
"entryPoint": 4241,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3810,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 6842,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 4382,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 3950,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 3528,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 3977,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_dataslot_t_string_storage": {
"entryPoint": 4510,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_bytes_memory_ptr": {
"entryPoint": 6128,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 3666,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack": {
"entryPoint": 6139,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 3677,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack": {
"entryPoint": 5158,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_add_t_uint256": {
"entryPoint": 5937,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_exp_helper": {
"entryPoint": 5449,
"id": null,
"parameterSlots": 4,
"returnSlots": 2
},
"checked_exp_t_uint256_t_uint256": {
"entryPoint": 5743,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_exp_unsigned": {
"entryPoint": 5532,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"checked_mul_t_uint256": {
"entryPoint": 5370,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_sub_t_uint256": {
"entryPoint": 6970,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 4807,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_address": {
"entryPoint": 6021,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 6627,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes32": {
"entryPoint": 3548,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes4": {
"entryPoint": 6069,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 5989,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 4642,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 4772,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_contract$_ChainlinkClient_$861_to_t_address": {
"entryPoint": 6398,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_uint160_to_t_address": {
"entryPoint": 6380,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_uint160_to_t_uint160": {
"entryPoint": 6346,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 4662,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 4948,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"copy_calldata_to_memory_with_cleanup": {
"entryPoint": 4026,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 3694,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 4531,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 4461,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 4920,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 3901,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"identity": {
"entryPoint": 4652,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"increment_t_uint256": {
"entryPoint": 5865,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"leftAlign_t_address": {
"entryPoint": 6447,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"leftAlign_t_uint160": {
"entryPoint": 6429,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"leftAlign_t_uint256": {
"entryPoint": 6488,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 4890,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"mod_t_uint256": {
"entryPoint": 6921,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 5323,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x12": {
"entryPoint": 6874,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 4414,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 5818,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 3854,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 4696,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 3844,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 3849,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 3543,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 3538,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 3736,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_96": {
"entryPoint": 6416,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_dynamic": {
"entryPoint": 4547,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_1_unsigned": {
"entryPoint": 5436,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 4877,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 4748,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"store_literal_in_memory_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96": {
"entryPoint": 6728,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4": {
"entryPoint": 4268,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 4560,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 4706,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"validator_revert_t_bool": {
"entryPoint": 6639,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_bytes32": {
"entryPoint": 3558,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 4743,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:23343:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "47:35:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "57:19:12",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "73:2:12",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "67:5:12"
},
"nodeType": "YulFunctionCall",
"src": "67:9:12"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "57:6:12"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "40:6:12",
"type": ""
}
],
"src": "7:75:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "177:28:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "194:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "197:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "187:6:12"
},
"nodeType": "YulFunctionCall",
"src": "187:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "187:12:12"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "88:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "300:28:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "317:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "320:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:12"
},
"nodeType": "YulFunctionCall",
"src": "310:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "310:12:12"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "211:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "379:32:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "389:16:12",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "400:5:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "389:7:12"
}
]
}
]
},
"name": "cleanup_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "361:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "371:7:12",
"type": ""
}
],
"src": "334:77:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "460:79:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "517:16:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "526:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "529:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "519:6:12"
},
"nodeType": "YulFunctionCall",
"src": "519:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "519:12:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "483:5:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "508:5:12"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "490:17:12"
},
"nodeType": "YulFunctionCall",
"src": "490:24:12"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "480:2:12"
},
"nodeType": "YulFunctionCall",
"src": "480:35:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "473:6:12"
},
"nodeType": "YulFunctionCall",
"src": "473:43:12"
},
"nodeType": "YulIf",
"src": "470:63:12"
}
]
},
"name": "validator_revert_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "453:5:12",
"type": ""
}
],
"src": "417:122:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "597:87:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "607:29:12",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "629:6:12"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "616:12:12"
},
"nodeType": "YulFunctionCall",
"src": "616:20:12"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "607:5:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "672:5:12"
}
],
"functionName": {
"name": "validator_revert_t_bytes32",
"nodeType": "YulIdentifier",
"src": "645:26:12"
},
"nodeType": "YulFunctionCall",
"src": "645:33:12"
},
"nodeType": "YulExpressionStatement",
"src": "645:33:12"
}
]
},
"name": "abi_decode_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "575:6:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "583:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "591:5:12",
"type": ""
}
],
"src": "545:139:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "773:391:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "819:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "821:77:12"
},
"nodeType": "YulFunctionCall",
"src": "821:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "821:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "794:7:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "803:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "790:3:12"
},
"nodeType": "YulFunctionCall",
"src": "790:23:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "815:2:12",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "786:3:12"
},
"nodeType": "YulFunctionCall",
"src": "786:32:12"
},
"nodeType": "YulIf",
"src": "783:119:12"
},
{
"nodeType": "YulBlock",
"src": "912:117:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "927:15:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "941:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "931:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "956:63:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "991:9:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1002:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "987:3:12"
},
"nodeType": "YulFunctionCall",
"src": "987:22:12"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1011:7:12"
}
],
"functionName": {
"name": "abi_decode_t_bytes32",
"nodeType": "YulIdentifier",
"src": "966:20:12"
},
"nodeType": "YulFunctionCall",
"src": "966:53:12"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "956:6:12"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1039:118:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1054:16:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1068:2:12",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1058:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1084:63:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1119:9:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1130:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1115:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1115:22:12"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1139:7:12"
}
],
"functionName": {
"name": "abi_decode_t_bytes32",
"nodeType": "YulIdentifier",
"src": "1094:20:12"
},
"nodeType": "YulFunctionCall",
"src": "1094:53:12"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1084:6:12"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_bytes32t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "735:9:12",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "746:7:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "758:6:12",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "766:6:12",
"type": ""
}
],
"src": "690:474:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1229:40:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1240:22:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1256:5:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1250:5:12"
},
"nodeType": "YulFunctionCall",
"src": "1250:12:12"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1240:6:12"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1212:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1222:6:12",
"type": ""
}
],
"src": "1170:99:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1371:73:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1388:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1393:6:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1381:6:12"
},
"nodeType": "YulFunctionCall",
"src": "1381:19:12"
},
"nodeType": "YulExpressionStatement",
"src": "1381:19:12"
},
{
"nodeType": "YulAssignment",
"src": "1409:29:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1428:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1433:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1424:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1424:14:12"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "1409:11:12"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1343:3:12",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1348:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "1359:11:12",
"type": ""
}
],
"src": "1275:169:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1512:184:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1522:10:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1531:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "1526:1:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "1591:63:12",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "1616:3:12"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1621:1:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1612:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1612:11:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "1635:3:12"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1640:1:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1631:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1631:11:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1625:5:12"
},
"nodeType": "YulFunctionCall",
"src": "1625:18:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1605:6:12"
},
"nodeType": "YulFunctionCall",
"src": "1605:39:12"
},
"nodeType": "YulExpressionStatement",
"src": "1605:39:12"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1552:1:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1555:6:12"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "1549:2:12"
},
"nodeType": "YulFunctionCall",
"src": "1549:13:12"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "1563:19:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1565:15:12",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1574:1:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1577:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1570:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1570:10:12"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "1565:1:12"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "1545:3:12",
"statements": []
},
"src": "1541:113:12"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "1674:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "1679:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1670:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1670:16:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1688:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1663:6:12"
},
"nodeType": "YulFunctionCall",
"src": "1663:27:12"
},
"nodeType": "YulExpressionStatement",
"src": "1663:27:12"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "1494:3:12",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "1499:3:12",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1504:6:12",
"type": ""
}
],
"src": "1450:246:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1750:54:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1760:38:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1778:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1785:2:12",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1774:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1774:14:12"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1794:2:12",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "1790:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1790:7:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1770:3:12"
},
"nodeType": "YulFunctionCall",
"src": "1770:28:12"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "1760:6:12"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1733:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "1743:6:12",
"type": ""
}
],
"src": "1702:102:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1902:285:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1912:53:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1959:5:12"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "1926:32:12"
},
"nodeType": "YulFunctionCall",
"src": "1926:39:12"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "1916:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1974:78:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2040:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2045:6:12"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "1981:58:12"
},
"nodeType": "YulFunctionCall",
"src": "1981:71:12"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1974:3:12"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2100:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2107:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2096:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2096:16:12"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2114:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2119:6:12"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "2061:34:12"
},
"nodeType": "YulFunctionCall",
"src": "2061:65:12"
},
"nodeType": "YulExpressionStatement",
"src": "2061:65:12"
},
{
"nodeType": "YulAssignment",
"src": "2135:46:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2146:3:12"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2173:6:12"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2151:21:12"
},
"nodeType": "YulFunctionCall",
"src": "2151:29:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2142:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2142:39:12"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "2135:3:12"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1883:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1890:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1898:3:12",
"type": ""
}
],
"src": "1810:377:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2311:195:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2321:26:12",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2333:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2344:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2329:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2329:18:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2321:4:12"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2368:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2379:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2364:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2364:17:12"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2387:4:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2393:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2383:3:12"
},
"nodeType": "YulFunctionCall",
"src": "2383:20:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2357:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2357:47:12"
},
"nodeType": "YulExpressionStatement",
"src": "2357:47:12"
},
{
"nodeType": "YulAssignment",
"src": "2413:86:12",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2485:6:12"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2494:4:12"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "2421:63:12"
},
"nodeType": "YulFunctionCall",
"src": "2421:78:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2413:4:12"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2283:9:12",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2295:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2306:4:12",
"type": ""
}
],
"src": "2193:313:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2601:28:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2618:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2621:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2611:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2611:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "2611:12:12"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "2512:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2724:28:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2741:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2744:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2734:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2734:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "2734:12:12"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "2635:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2786:152:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2803:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2806:77:12",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2796:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2796:88:12"
},
"nodeType": "YulExpressionStatement",
"src": "2796:88:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2900:1:12",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2903:4:12",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2893:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2893:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "2893:15:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2924:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2927:4:12",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2917:6:12"
},
"nodeType": "YulFunctionCall",
"src": "2917:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "2917:15:12"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "2758:180:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2987:238:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2997:58:12",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3019:6:12"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3049:4:12"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3027:21:12"
},
"nodeType": "YulFunctionCall",
"src": "3027:27:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3015:3:12"
},
"nodeType": "YulFunctionCall",
"src": "3015:40:12"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "3001:10:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3166:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3168:16:12"
},
"nodeType": "YulFunctionCall",
"src": "3168:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "3168:18:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3109:10:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3121:18:12",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3106:2:12"
},
"nodeType": "YulFunctionCall",
"src": "3106:34:12"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3145:10:12"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3157:6:12"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "3142:2:12"
},
"nodeType": "YulFunctionCall",
"src": "3142:22:12"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "3103:2:12"
},
"nodeType": "YulFunctionCall",
"src": "3103:62:12"
},
"nodeType": "YulIf",
"src": "3100:88:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3204:2:12",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "3208:10:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3197:6:12"
},
"nodeType": "YulFunctionCall",
"src": "3197:22:12"
},
"nodeType": "YulExpressionStatement",
"src": "3197:22:12"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2973:6:12",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2981:4:12",
"type": ""
}
],
"src": "2944:281:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3272:88:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3282:30:12",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "3292:18:12"
},
"nodeType": "YulFunctionCall",
"src": "3292:20:12"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3282:6:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "3341:6:12"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3349:4:12"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "3321:19:12"
},
"nodeType": "YulFunctionCall",
"src": "3321:33:12"
},
"nodeType": "YulExpressionStatement",
"src": "3321:33:12"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3256:4:12",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "3265:6:12",
"type": ""
}
],
"src": "3231:129:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3433:241:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3538:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "3540:16:12"
},
"nodeType": "YulFunctionCall",
"src": "3540:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "3540:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3510:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3518:18:12",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3507:2:12"
},
"nodeType": "YulFunctionCall",
"src": "3507:30:12"
},
"nodeType": "YulIf",
"src": "3504:56:12"
},
{
"nodeType": "YulAssignment",
"src": "3570:37:12",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3600:6:12"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "3578:21:12"
},
"nodeType": "YulFunctionCall",
"src": "3578:29:12"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3570:4:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "3644:23:12",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3656:4:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3662:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3652:3:12"
},
"nodeType": "YulFunctionCall",
"src": "3652:15:12"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "3644:4:12"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3417:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "3428:4:12",
"type": ""
}
],
"src": "3366:308:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3744:82:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3767:3:12"
},
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3772:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3777:6:12"
}
],
"functionName": {
"name": "calldatacopy",
"nodeType": "YulIdentifier",
"src": "3754:12:12"
},
"nodeType": "YulFunctionCall",
"src": "3754:30:12"
},
"nodeType": "YulExpressionStatement",
"src": "3754:30:12"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3804:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3809:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3800:3:12"
},
"nodeType": "YulFunctionCall",
"src": "3800:16:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3818:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3793:6:12"
},
"nodeType": "YulFunctionCall",
"src": "3793:27:12"
},
"nodeType": "YulExpressionStatement",
"src": "3793:27:12"
}
]
},
"name": "copy_calldata_to_memory_with_cleanup",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3726:3:12",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3731:3:12",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3736:6:12",
"type": ""
}
],
"src": "3680:146:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3916:341:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3926:75:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3993:6:12"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "3951:41:12"
},
"nodeType": "YulFunctionCall",
"src": "3951:49:12"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "3935:15:12"
},
"nodeType": "YulFunctionCall",
"src": "3935:66:12"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "3926:5:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "4017:5:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4024:6:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4010:6:12"
},
"nodeType": "YulFunctionCall",
"src": "4010:21:12"
},
"nodeType": "YulExpressionStatement",
"src": "4010:21:12"
},
{
"nodeType": "YulVariableDeclaration",
"src": "4040:27:12",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "4055:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4062:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4051:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4051:16:12"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "4044:3:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4105:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "4107:77:12"
},
"nodeType": "YulFunctionCall",
"src": "4107:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "4107:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4086:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4091:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4082:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4082:16:12"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4100:3:12"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4079:2:12"
},
"nodeType": "YulFunctionCall",
"src": "4079:25:12"
},
"nodeType": "YulIf",
"src": "4076:112:12"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "4234:3:12"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "4239:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4244:6:12"
}
],
"functionName": {
"name": "copy_calldata_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "4197:36:12"
},
"nodeType": "YulFunctionCall",
"src": "4197:54:12"
},
"nodeType": "YulExpressionStatement",
"src": "4197:54:12"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3889:3:12",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3894:6:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3902:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "3910:5:12",
"type": ""
}
],
"src": "3832:425:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4339:278:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4388:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "4390:77:12"
},
"nodeType": "YulFunctionCall",
"src": "4390:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "4390:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4367:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4375:4:12",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4363:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4363:17:12"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4382:3:12"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4359:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4359:27:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4352:6:12"
},
"nodeType": "YulFunctionCall",
"src": "4352:35:12"
},
"nodeType": "YulIf",
"src": "4349:122:12"
},
{
"nodeType": "YulVariableDeclaration",
"src": "4480:34:12",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4507:6:12"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "4494:12:12"
},
"nodeType": "YulFunctionCall",
"src": "4494:20:12"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "4484:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4523:88:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4584:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4592:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4580:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4580:17:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "4599:6:12"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "4607:3:12"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "4532:47:12"
},
"nodeType": "YulFunctionCall",
"src": "4532:79:12"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "4523:5:12"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4317:6:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4325:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "4333:5:12",
"type": ""
}
],
"src": "4277:340:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4699:433:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4745:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "4747:77:12"
},
"nodeType": "YulFunctionCall",
"src": "4747:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "4747:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4720:7:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4729:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4716:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4716:23:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4741:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4712:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4712:32:12"
},
"nodeType": "YulIf",
"src": "4709:119:12"
},
{
"nodeType": "YulBlock",
"src": "4838:287:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4853:45:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4884:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4895:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4880:3:12"
},
"nodeType": "YulFunctionCall",
"src": "4880:17:12"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "4867:12:12"
},
"nodeType": "YulFunctionCall",
"src": "4867:31:12"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4857:6:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "4945:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "4947:77:12"
},
"nodeType": "YulFunctionCall",
"src": "4947:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "4947:79:12"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4917:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4925:18:12",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4914:2:12"
},
"nodeType": "YulFunctionCall",
"src": "4914:30:12"
},
"nodeType": "YulIf",
"src": "4911:117:12"
},
{
"nodeType": "YulAssignment",
"src": "5042:73:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5087:9:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "5098:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5083:3:12"
},
"nodeType": "YulFunctionCall",
"src": "5083:22:12"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5107:7:12"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "5052:30:12"
},
"nodeType": "YulFunctionCall",
"src": "5052:63:12"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5042:6:12"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4669:9:12",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "4680:7:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4692:6:12",
"type": ""
}
],
"src": "4623:509:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5203:53:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5220:3:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5243:5:12"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "5225:17:12"
},
"nodeType": "YulFunctionCall",
"src": "5225:24:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5213:6:12"
},
"nodeType": "YulFunctionCall",
"src": "5213:37:12"
},
"nodeType": "YulExpressionStatement",
"src": "5213:37:12"
}
]
},
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5191:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5198:3:12",
"type": ""
}
],
"src": "5138:118:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5360:124:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5370:26:12",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5382:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5393:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5378:3:12"
},
"nodeType": "YulFunctionCall",
"src": "5378:18:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "5370:4:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "5450:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5463:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5474:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5459:3:12"
},
"nodeType": "YulFunctionCall",
"src": "5459:17:12"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "5406:43:12"
},
"nodeType": "YulFunctionCall",
"src": "5406:71:12"
},
"nodeType": "YulExpressionStatement",
"src": "5406:71:12"
}
]
},
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "5332:9:12",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "5344:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "5355:4:12",
"type": ""
}
],
"src": "5262:222:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5596:121:12",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5618:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5626:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5614:3:12"
},
"nodeType": "YulFunctionCall",
"src": "5614:14:12"
},
{
"hexValue": "536f75726365206d75737420626520746865206f7261636c65206f6620746865",
"kind": "string",
"nodeType": "YulLiteral",
"src": "5630:34:12",
"type": "",
"value": "Source must be the oracle of the"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5607:6:12"
},
"nodeType": "YulFunctionCall",
"src": "5607:58:12"
},
"nodeType": "YulExpressionStatement",
"src": "5607:58:12"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "5686:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5694:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5682:3:12"
},
"nodeType": "YulFunctionCall",
"src": "5682:15:12"
},
{
"hexValue": "2072657175657374",
"kind": "string",
"nodeType": "YulLiteral",
"src": "5699:10:12",
"type": "",
"value": " request"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5675:6:12"
},
"nodeType": "YulFunctionCall",
"src": "5675:35:12"
},
"nodeType": "YulExpressionStatement",
"src": "5675:35:12"
}
]
},
"name": "store_literal_in_memory_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "5588:6:12",
"type": ""
}
],
"src": "5490:227:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5869:220:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5879:74:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5945:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5950:2:12",
"type": "",
"value": "40"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "5886:58:12"
},
"nodeType": "YulFunctionCall",
"src": "5886:67:12"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5879:3:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6051:3:12"
}
],
"functionName": {
"name": "store_literal_in_memory_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4",
"nodeType": "YulIdentifier",
"src": "5962:88:12"
},
"nodeType": "YulFunctionCall",
"src": "5962:93:12"
},
"nodeType": "YulExpressionStatement",
"src": "5962:93:12"
},
{
"nodeType": "YulAssignment",
"src": "6064:19:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6075:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6080:2:12",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6071:3:12"
},
"nodeType": "YulFunctionCall",
"src": "6071:12:12"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "6064:3:12"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5857:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "5865:3:12",
"type": ""
}
],
"src": "5723:366:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6266:248:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6276:26:12",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6288:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6299:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6284:3:12"
},
"nodeType": "YulFunctionCall",
"src": "6284:18:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6276:4:12"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6323:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6334:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6319:3:12"
},
"nodeType": "YulFunctionCall",
"src": "6319:17:12"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6342:4:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "6348:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "6338:3:12"
},
"nodeType": "YulFunctionCall",
"src": "6338:20:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6312:6:12"
},
"nodeType": "YulFunctionCall",
"src": "6312:47:12"
},
"nodeType": "YulExpressionStatement",
"src": "6312:47:12"
},
{
"nodeType": "YulAssignment",
"src": "6368:139:12",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6502:4:12"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "6376:124:12"
},
"nodeType": "YulFunctionCall",
"src": "6376:131:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "6368:4:12"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "6246:9:12",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "6261:4:12",
"type": ""
}
],
"src": "6095:419:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6548:152:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6565:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6568:77:12",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6558:6:12"
},
"nodeType": "YulFunctionCall",
"src": "6558:88:12"
},
"nodeType": "YulExpressionStatement",
"src": "6558:88:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6662:1:12",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6665:4:12",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6655:6:12"
},
"nodeType": "YulFunctionCall",
"src": "6655:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "6655:15:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6686:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6689:4:12",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "6679:6:12"
},
"nodeType": "YulFunctionCall",
"src": "6679:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "6679:15:12"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "6520:180:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6757:269:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6767:22:12",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "6781:4:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6787:1:12",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "6777:3:12"
},
"nodeType": "YulFunctionCall",
"src": "6777:12:12"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6767:6:12"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "6798:38:12",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "6828:4:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6834:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6824:3:12"
},
"nodeType": "YulFunctionCall",
"src": "6824:12:12"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "6802:18:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "6875:51:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6889:27:12",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6903:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6911:4:12",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6899:3:12"
},
"nodeType": "YulFunctionCall",
"src": "6899:17:12"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6889:6:12"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "6855:18:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "6848:6:12"
},
"nodeType": "YulFunctionCall",
"src": "6848:26:12"
},
"nodeType": "YulIf",
"src": "6845:81:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6978:42:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "6992:16:12"
},
"nodeType": "YulFunctionCall",
"src": "6992:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "6992:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "6942:18:12"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6965:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6973:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "6962:2:12"
},
"nodeType": "YulFunctionCall",
"src": "6962:14:12"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "6939:2:12"
},
"nodeType": "YulFunctionCall",
"src": "6939:38:12"
},
"nodeType": "YulIf",
"src": "6936:84:12"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "6741:4:12",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6750:6:12",
"type": ""
}
],
"src": "6706:320:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7086:87:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7096:11:12",
"value": {
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "7104:3:12"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "7096:4:12"
}
]
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7124:1:12",
"type": "",
"value": "0"
},
{
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "7127:3:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "7117:6:12"
},
"nodeType": "YulFunctionCall",
"src": "7117:14:12"
},
"nodeType": "YulExpressionStatement",
"src": "7117:14:12"
},
{
"nodeType": "YulAssignment",
"src": "7140:26:12",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7158:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7161:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "keccak256",
"nodeType": "YulIdentifier",
"src": "7148:9:12"
},
"nodeType": "YulFunctionCall",
"src": "7148:18:12"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "7140:4:12"
}
]
}
]
},
"name": "array_dataslot_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nodeType": "YulTypedName",
"src": "7073:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "7081:4:12",
"type": ""
}
],
"src": "7032:141:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7223:49:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7233:33:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7251:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7258:2:12",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7247:3:12"
},
"nodeType": "YulFunctionCall",
"src": "7247:14:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7263:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "7243:3:12"
},
"nodeType": "YulFunctionCall",
"src": "7243:23:12"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "7233:6:12"
}
]
}
]
},
"name": "divide_by_32_ceil",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7206:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "7216:6:12",
"type": ""
}
],
"src": "7179:93:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7331:54:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7341:37:12",
"value": {
"arguments": [
{
"name": "bits",
"nodeType": "YulIdentifier",
"src": "7366:4:12"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7372:5:12"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "7362:3:12"
},
"nodeType": "YulFunctionCall",
"src": "7362:16:12"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "7341:8:12"
}
]
}
]
},
"name": "shift_left_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nodeType": "YulTypedName",
"src": "7306:4:12",
"type": ""
},
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7312:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "7322:8:12",
"type": ""
}
],
"src": "7278:107:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7467:317:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7477:35:12",
"value": {
"arguments": [
{
"name": "shiftBytes",
"nodeType": "YulIdentifier",
"src": "7498:10:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7510:1:12",
"type": "",
"value": "8"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "7494:3:12"
},
"nodeType": "YulFunctionCall",
"src": "7494:18:12"
},
"variables": [
{
"name": "shiftBits",
"nodeType": "YulTypedName",
"src": "7481:9:12",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "7521:109:12",
"value": {
"arguments": [
{
"name": "shiftBits",
"nodeType": "YulIdentifier",
"src": "7552:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7563:66:12",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nodeType": "YulIdentifier",
"src": "7533:18:12"
},
"nodeType": "YulFunctionCall",
"src": "7533:97:12"
},
"variables": [
{
"name": "mask",
"nodeType": "YulTypedName",
"src": "7525:4:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "7639:51:12",
"value": {
"arguments": [
{
"name": "shiftBits",
"nodeType": "YulIdentifier",
"src": "7670:9:12"
},
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "7681:8:12"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nodeType": "YulIdentifier",
"src": "7651:18:12"
},
"nodeType": "YulFunctionCall",
"src": "7651:39:12"
},
"variableNames": [
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "7639:8:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "7699:30:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7712:5:12"
},
{
"arguments": [
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "7723:4:12"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "7719:3:12"
},
"nodeType": "YulFunctionCall",
"src": "7719:9:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7708:3:12"
},
"nodeType": "YulFunctionCall",
"src": "7708:21:12"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7699:5:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "7738:40:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7751:5:12"
},
{
"arguments": [
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "7762:8:12"
},
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "7772:4:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "7758:3:12"
},
"nodeType": "YulFunctionCall",
"src": "7758:19:12"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "7748:2:12"
},
"nodeType": "YulFunctionCall",
"src": "7748:30:12"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "7738:6:12"
}
]
}
]
},
"name": "update_byte_slice_dynamic32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7428:5:12",
"type": ""
},
{
"name": "shiftBytes",
"nodeType": "YulTypedName",
"src": "7435:10:12",
"type": ""
},
{
"name": "toInsert",
"nodeType": "YulTypedName",
"src": "7447:8:12",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "7460:6:12",
"type": ""
}
],
"src": "7391:393:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7835:32:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7845:16:12",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "7856:5:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "7845:7:12"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7817:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "7827:7:12",
"type": ""
}
],
"src": "7790:77:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7905:28:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7915:12:12",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "7922:5:12"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "7915:3:12"
}
]
}
]
},
"name": "identity",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7891:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "7901:3:12",
"type": ""
}
],
"src": "7873:60:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7999:82:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8009:66:12",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8067:5:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8049:17:12"
},
"nodeType": "YulFunctionCall",
"src": "8049:24:12"
}
],
"functionName": {
"name": "identity",
"nodeType": "YulIdentifier",
"src": "8040:8:12"
},
"nodeType": "YulFunctionCall",
"src": "8040:34:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "8022:17:12"
},
"nodeType": "YulFunctionCall",
"src": "8022:53:12"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "8009:9:12"
}
]
}
]
},
"name": "convert_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7979:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "7989:9:12",
"type": ""
}
],
"src": "7939:142:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8134:28:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8144:12:12",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "8151:5:12"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "8144:3:12"
}
]
}
]
},
"name": "prepare_store_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "8120:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "8130:3:12",
"type": ""
}
],
"src": "8087:75:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8244:193:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8254:63:12",
"value": {
"arguments": [
{
"name": "value_0",
"nodeType": "YulIdentifier",
"src": "8309:7:12"
}
],
"functionName": {
"name": "convert_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "8278:30:12"
},
"nodeType": "YulFunctionCall",
"src": "8278:39:12"
},
"variables": [
{
"name": "convertedValue_0",
"nodeType": "YulTypedName",
"src": "8258:16:12",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "8333:4:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "8373:4:12"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "8367:5:12"
},
"nodeType": "YulFunctionCall",
"src": "8367:11:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "8380:6:12"
},
{
"arguments": [
{
"name": "convertedValue_0",
"nodeType": "YulIdentifier",
"src": "8412:16:12"
}
],
"functionName": {
"name": "prepare_store_t_uint256",
"nodeType": "YulIdentifier",
"src": "8388:23:12"
},
"nodeType": "YulFunctionCall",
"src": "8388:41:12"
}
],
"functionName": {
"name": "update_byte_slice_dynamic32",
"nodeType": "YulIdentifier",
"src": "8339:27:12"
},
"nodeType": "YulFunctionCall",
"src": "8339:91:12"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "8326:6:12"
},
"nodeType": "YulFunctionCall",
"src": "8326:105:12"
},
"nodeType": "YulExpressionStatement",
"src": "8326:105:12"
}
]
},
"name": "update_storage_value_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "8221:4:12",
"type": ""
},
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "8227:6:12",
"type": ""
},
{
"name": "value_0",
"nodeType": "YulTypedName",
"src": "8235:7:12",
"type": ""
}
],
"src": "8168:269:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8492:24:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8502:8:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "8509:1:12",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "8502:3:12"
}
]
}
]
},
"name": "zero_value_for_split_t_uint256",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "8488:3:12",
"type": ""
}
],
"src": "8443:73:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8575:136:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8585:46:12",
"value": {
"arguments": [],
"functionName": {
"name": "zero_value_for_split_t_uint256",
"nodeType": "YulIdentifier",
"src": "8599:30:12"
},
"nodeType": "YulFunctionCall",
"src": "8599:32:12"
},
"variables": [
{
"name": "zero_0",
"nodeType": "YulTypedName",
"src": "8589:6:12",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "8684:4:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "8690:6:12"
},
{
"name": "zero_0",
"nodeType": "YulIdentifier",
"src": "8698:6:12"
}
],
"functionName": {
"name": "update_storage_value_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "8640:43:12"
},
"nodeType": "YulFunctionCall",
"src": "8640:65:12"
},
"nodeType": "YulExpressionStatement",
"src": "8640:65:12"
}
]
},
"name": "storage_set_to_zero_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "8561:4:12",
"type": ""
},
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "8567:6:12",
"type": ""
}
],
"src": "8522:189:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8767:136:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "8834:63:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "8878:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8885:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "storage_set_to_zero_t_uint256",
"nodeType": "YulIdentifier",
"src": "8848:29:12"
},
"nodeType": "YulFunctionCall",
"src": "8848:39:12"
},
"nodeType": "YulExpressionStatement",
"src": "8848:39:12"
}
]
},
"condition": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "8787:5:12"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "8794:3:12"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "8784:2:12"
},
"nodeType": "YulFunctionCall",
"src": "8784:14:12"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "8799:26:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8801:22:12",
"value": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "8814:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8821:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8810:3:12"
},
"nodeType": "YulFunctionCall",
"src": "8810:13:12"
},
"variableNames": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "8801:5:12"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "8781:2:12",
"statements": []
},
"src": "8777:120:12"
}
]
},
"name": "clear_storage_range_t_bytes1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "start",
"nodeType": "YulTypedName",
"src": "8755:5:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "8762:3:12",
"type": ""
}
],
"src": "8717:186:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8988:464:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "9014:431:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9028:54:12",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "9076:5:12"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "9044:31:12"
},
"nodeType": "YulFunctionCall",
"src": "9044:38:12"
},
"variables": [
{
"name": "dataArea",
"nodeType": "YulTypedName",
"src": "9032:8:12",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "9095:63:12",
"value": {
"arguments": [
{
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "9118:8:12"
},
{
"arguments": [
{
"name": "startIndex",
"nodeType": "YulIdentifier",
"src": "9146:10:12"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nodeType": "YulIdentifier",
"src": "9128:17:12"
},
"nodeType": "YulFunctionCall",
"src": "9128:29:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9114:3:12"
},
"nodeType": "YulFunctionCall",
"src": "9114:44:12"
},
"variables": [
{
"name": "deleteStart",
"nodeType": "YulTypedName",
"src": "9099:11:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "9315:27:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9317:23:12",
"value": {
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "9332:8:12"
},
"variableNames": [
{
"name": "deleteStart",
"nodeType": "YulIdentifier",
"src": "9317:11:12"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "startIndex",
"nodeType": "YulIdentifier",
"src": "9299:10:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9311:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "9296:2:12"
},
"nodeType": "YulFunctionCall",
"src": "9296:18:12"
},
"nodeType": "YulIf",
"src": "9293:49:12"
},
{
"expression": {
"arguments": [
{
"name": "deleteStart",
"nodeType": "YulIdentifier",
"src": "9384:11:12"
},
{
"arguments": [
{
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "9401:8:12"
},
{
"arguments": [
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "9429:3:12"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nodeType": "YulIdentifier",
"src": "9411:17:12"
},
"nodeType": "YulFunctionCall",
"src": "9411:22:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9397:3:12"
},
"nodeType": "YulFunctionCall",
"src": "9397:37:12"
}
],
"functionName": {
"name": "clear_storage_range_t_bytes1",
"nodeType": "YulIdentifier",
"src": "9355:28:12"
},
"nodeType": "YulFunctionCall",
"src": "9355:80:12"
},
"nodeType": "YulExpressionStatement",
"src": "9355:80:12"
}
]
},
"condition": {
"arguments": [
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "9005:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9010:2:12",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "9002:2:12"
},
"nodeType": "YulFunctionCall",
"src": "9002:11:12"
},
"nodeType": "YulIf",
"src": "8999:446:12"
}
]
},
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "8964:5:12",
"type": ""
},
{
"name": "len",
"nodeType": "YulTypedName",
"src": "8971:3:12",
"type": ""
},
{
"name": "startIndex",
"nodeType": "YulTypedName",
"src": "8976:10:12",
"type": ""
}
],
"src": "8909:543:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9521:54:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9531:37:12",
"value": {
"arguments": [
{
"name": "bits",
"nodeType": "YulIdentifier",
"src": "9556:4:12"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9562:5:12"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "9552:3:12"
},
"nodeType": "YulFunctionCall",
"src": "9552:16:12"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "9531:8:12"
}
]
}
]
},
"name": "shift_right_unsigned_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nodeType": "YulTypedName",
"src": "9496:4:12",
"type": ""
},
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9502:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "9512:8:12",
"type": ""
}
],
"src": "9458:117:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9632:118:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9642:68:12",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9691:1:12",
"type": "",
"value": "8"
},
{
"name": "bytes",
"nodeType": "YulIdentifier",
"src": "9694:5:12"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "9687:3:12"
},
"nodeType": "YulFunctionCall",
"src": "9687:13:12"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9706:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "9702:3:12"
},
"nodeType": "YulFunctionCall",
"src": "9702:6:12"
}
],
"functionName": {
"name": "shift_right_unsigned_dynamic",
"nodeType": "YulIdentifier",
"src": "9658:28:12"
},
"nodeType": "YulFunctionCall",
"src": "9658:51:12"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "9654:3:12"
},
"nodeType": "YulFunctionCall",
"src": "9654:56:12"
},
"variables": [
{
"name": "mask",
"nodeType": "YulTypedName",
"src": "9646:4:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "9719:25:12",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "9733:4:12"
},
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "9739:4:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "9729:3:12"
},
"nodeType": "YulFunctionCall",
"src": "9729:15:12"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "9719:6:12"
}
]
}
]
},
"name": "mask_bytes_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "9609:4:12",
"type": ""
},
{
"name": "bytes",
"nodeType": "YulTypedName",
"src": "9615:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "9625:6:12",
"type": ""
}
],
"src": "9581:169:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9836:214:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9969:37:12",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "9996:4:12"
},
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "10002:3:12"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nodeType": "YulIdentifier",
"src": "9977:18:12"
},
"nodeType": "YulFunctionCall",
"src": "9977:29:12"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "9969:4:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "10015:29:12",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "10026:4:12"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10036:1:12",
"type": "",
"value": "2"
},
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "10039:3:12"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "10032:3:12"
},
"nodeType": "YulFunctionCall",
"src": "10032:11:12"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "10023:2:12"
},
"nodeType": "YulFunctionCall",
"src": "10023:21:12"
},
"variableNames": [
{
"name": "used",
"nodeType": "YulIdentifier",
"src": "10015:4:12"
}
]
}
]
},
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "9817:4:12",
"type": ""
},
{
"name": "len",
"nodeType": "YulTypedName",
"src": "9823:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "used",
"nodeType": "YulTypedName",
"src": "9831:4:12",
"type": ""
}
],
"src": "9755:295:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10147:1303:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "10158:51:12",
"value": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "10205:3:12"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "10172:32:12"
},
"nodeType": "YulFunctionCall",
"src": "10172:37:12"
},
"variables": [
{
"name": "newLen",
"nodeType": "YulTypedName",
"src": "10162:6:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "10294:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "10296:16:12"
},
"nodeType": "YulFunctionCall",
"src": "10296:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "10296:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "10266:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10274:18:12",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "10263:2:12"
},
"nodeType": "YulFunctionCall",
"src": "10263:30:12"
},
"nodeType": "YulIf",
"src": "10260:56:12"
},
{
"nodeType": "YulVariableDeclaration",
"src": "10326:52:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "10372:4:12"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "10366:5:12"
},
"nodeType": "YulFunctionCall",
"src": "10366:11:12"
}
],
"functionName": {
"name": "extract_byte_array_length",
"nodeType": "YulIdentifier",
"src": "10340:25:12"
},
"nodeType": "YulFunctionCall",
"src": "10340:38:12"
},
"variables": [
{
"name": "oldLen",
"nodeType": "YulTypedName",
"src": "10330:6:12",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "10471:4:12"
},
{
"name": "oldLen",
"nodeType": "YulIdentifier",
"src": "10477:6:12"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "10485:6:12"
}
],
"functionName": {
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nodeType": "YulIdentifier",
"src": "10425:45:12"
},
"nodeType": "YulFunctionCall",
"src": "10425:67:12"
},
"nodeType": "YulExpressionStatement",
"src": "10425:67:12"
},
{
"nodeType": "YulVariableDeclaration",
"src": "10502:18:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "10519:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "srcOffset",
"nodeType": "YulTypedName",
"src": "10506:9:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "10530:17:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "10543:4:12",
"type": "",
"value": "0x20"
},
"variableNames": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "10530:9:12"
}
]
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "10594:611:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "10608:37:12",
"value": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "10627:6:12"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10639:4:12",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "10635:3:12"
},
"nodeType": "YulFunctionCall",
"src": "10635:9:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "10623:3:12"
},
"nodeType": "YulFunctionCall",
"src": "10623:22:12"
},
"variables": [
{
"name": "loopEnd",
"nodeType": "YulTypedName",
"src": "10612:7:12",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "10659:51:12",
"value": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "10705:4:12"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "10673:31:12"
},
"nodeType": "YulFunctionCall",
"src": "10673:37:12"
},
"variables": [
{
"name": "dstPtr",
"nodeType": "YulTypedName",
"src": "10663:6:12",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "10723:10:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "10732:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "10727:1:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "10791:163:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "10816:6:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "10834:3:12"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "10839:9:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10830:3:12"
},
"nodeType": "YulFunctionCall",
"src": "10830:19:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "10824:5:12"
},
"nodeType": "YulFunctionCall",
"src": "10824:26:12"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "10809:6:12"
},
"nodeType": "YulFunctionCall",
"src": "10809:42:12"
},
"nodeType": "YulExpressionStatement",
"src": "10809:42:12"
},
{
"nodeType": "YulAssignment",
"src": "10868:24:12",
"value": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "10882:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10890:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10878:3:12"
},
"nodeType": "YulFunctionCall",
"src": "10878:14:12"
},
"variableNames": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "10868:6:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "10909:31:12",
"value": {
"arguments": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "10926:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10937:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10922:3:12"
},
"nodeType": "YulFunctionCall",
"src": "10922:18:12"
},
"variableNames": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "10909:9:12"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10757:1:12"
},
{
"name": "loopEnd",
"nodeType": "YulIdentifier",
"src": "10760:7:12"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "10754:2:12"
},
"nodeType": "YulFunctionCall",
"src": "10754:14:12"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "10769:21:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10771:17:12",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10780:1:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10783:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10776:3:12"
},
"nodeType": "YulFunctionCall",
"src": "10776:12:12"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "10771:1:12"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "10750:3:12",
"statements": []
},
"src": "10746:208:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10990:156:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "11008:43:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "11035:3:12"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "11040:9:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11031:3:12"
},
"nodeType": "YulFunctionCall",
"src": "11031:19:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "11025:5:12"
},
"nodeType": "YulFunctionCall",
"src": "11025:26:12"
},
"variables": [
{
"name": "lastValue",
"nodeType": "YulTypedName",
"src": "11012:9:12",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "11075:6:12"
},
{
"arguments": [
{
"name": "lastValue",
"nodeType": "YulIdentifier",
"src": "11102:9:12"
},
{
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "11117:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11125:4:12",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "11113:3:12"
},
"nodeType": "YulFunctionCall",
"src": "11113:17:12"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nodeType": "YulIdentifier",
"src": "11083:18:12"
},
"nodeType": "YulFunctionCall",
"src": "11083:48:12"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "11068:6:12"
},
"nodeType": "YulFunctionCall",
"src": "11068:64:12"
},
"nodeType": "YulExpressionStatement",
"src": "11068:64:12"
}
]
},
"condition": {
"arguments": [
{
"name": "loopEnd",
"nodeType": "YulIdentifier",
"src": "10973:7:12"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "10982:6:12"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "10970:2:12"
},
"nodeType": "YulFunctionCall",
"src": "10970:19:12"
},
"nodeType": "YulIf",
"src": "10967:179:12"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "11166:4:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "11180:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11188:1:12",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "11176:3:12"
},
"nodeType": "YulFunctionCall",
"src": "11176:14:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11192:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11172:3:12"
},
"nodeType": "YulFunctionCall",
"src": "11172:22:12"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "11159:6:12"
},
"nodeType": "YulFunctionCall",
"src": "11159:36:12"
},
"nodeType": "YulExpressionStatement",
"src": "11159:36:12"
}
]
},
"nodeType": "YulCase",
"src": "10587:618:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "10592:1:12",
"type": "",
"value": "1"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "11222:222:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "11236:14:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "11249:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "11240:5:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "11273:67:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11291:35:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "11310:3:12"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "11315:9:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11306:3:12"
},
"nodeType": "YulFunctionCall",
"src": "11306:19:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "11300:5:12"
},
"nodeType": "YulFunctionCall",
"src": "11300:26:12"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11291:5:12"
}
]
}
]
},
"condition": {
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "11266:6:12"
},
"nodeType": "YulIf",
"src": "11263:77:12"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "11360:4:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11419:5:12"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "11426:6:12"
}
],
"functionName": {
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nodeType": "YulIdentifier",
"src": "11366:52:12"
},
"nodeType": "YulFunctionCall",
"src": "11366:67:12"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "11353:6:12"
},
"nodeType": "YulFunctionCall",
"src": "11353:81:12"
},
"nodeType": "YulExpressionStatement",
"src": "11353:81:12"
}
]
},
"nodeType": "YulCase",
"src": "11214:230:12",
"value": "default"
}
],
"expression": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "10567:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10575:2:12",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "10564:2:12"
},
"nodeType": "YulFunctionCall",
"src": "10564:14:12"
},
"nodeType": "YulSwitch",
"src": "10557:887:12"
}
]
},
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "10136:4:12",
"type": ""
},
{
"name": "src",
"nodeType": "YulTypedName",
"src": "10142:3:12",
"type": ""
}
],
"src": "10055:1395:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11570:34:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11580:18:12",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11595:3:12"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "11580:11:12"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "11542:3:12",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "11547:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "11558:11:12",
"type": ""
}
],
"src": "11456:148:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11741:767:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "11751:29:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11774:5:12"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "11768:5:12"
},
"nodeType": "YulFunctionCall",
"src": "11768:12:12"
},
"variables": [
{
"name": "slotValue",
"nodeType": "YulTypedName",
"src": "11755:9:12",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "11789:50:12",
"value": {
"arguments": [
{
"name": "slotValue",
"nodeType": "YulIdentifier",
"src": "11829:9:12"
}
],
"functionName": {
"name": "extract_byte_array_length",
"nodeType": "YulIdentifier",
"src": "11803:25:12"
},
"nodeType": "YulFunctionCall",
"src": "11803:36:12"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "11793:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "11848:96:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11932:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "11937:6:12"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "11855:76:12"
},
"nodeType": "YulFunctionCall",
"src": "11855:89:12"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "11848:3:12"
}
]
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "11993:159:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12046:3:12"
},
{
"arguments": [
{
"name": "slotValue",
"nodeType": "YulIdentifier",
"src": "12055:9:12"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12070:4:12",
"type": "",
"value": "0xff"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "12066:3:12"
},
"nodeType": "YulFunctionCall",
"src": "12066:9:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "12051:3:12"
},
"nodeType": "YulFunctionCall",
"src": "12051:25:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12039:6:12"
},
"nodeType": "YulFunctionCall",
"src": "12039:38:12"
},
"nodeType": "YulExpressionStatement",
"src": "12039:38:12"
},
{
"nodeType": "YulAssignment",
"src": "12090:52:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12101:3:12"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "12110:6:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "12132:6:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "12125:6:12"
},
"nodeType": "YulFunctionCall",
"src": "12125:14:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "12118:6:12"
},
"nodeType": "YulFunctionCall",
"src": "12118:22:12"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "12106:3:12"
},
"nodeType": "YulFunctionCall",
"src": "12106:35:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12097:3:12"
},
"nodeType": "YulFunctionCall",
"src": "12097:45:12"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "12090:3:12"
}
]
}
]
},
"nodeType": "YulCase",
"src": "11986:166:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "11991:1:12",
"type": "",
"value": "0"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "12168:334:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "12213:53:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "12260:5:12"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "12228:31:12"
},
"nodeType": "YulFunctionCall",
"src": "12228:38:12"
},
"variables": [
{
"name": "dataPos",
"nodeType": "YulTypedName",
"src": "12217:7:12",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "12279:10:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "12288:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "12283:1:12",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "12346:110:12",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12375:3:12"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "12380:1:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12371:3:12"
},
"nodeType": "YulFunctionCall",
"src": "12371:11:12"
},
{
"arguments": [
{
"name": "dataPos",
"nodeType": "YulIdentifier",
"src": "12390:7:12"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "12384:5:12"
},
"nodeType": "YulFunctionCall",
"src": "12384:14:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12364:6:12"
},
"nodeType": "YulFunctionCall",
"src": "12364:35:12"
},
"nodeType": "YulExpressionStatement",
"src": "12364:35:12"
},
{
"nodeType": "YulAssignment",
"src": "12416:26:12",
"value": {
"arguments": [
{
"name": "dataPos",
"nodeType": "YulIdentifier",
"src": "12431:7:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12440:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12427:3:12"
},
"nodeType": "YulFunctionCall",
"src": "12427:15:12"
},
"variableNames": [
{
"name": "dataPos",
"nodeType": "YulIdentifier",
"src": "12416:7:12"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "12313:1:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "12316:6:12"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "12310:2:12"
},
"nodeType": "YulFunctionCall",
"src": "12310:13:12"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "12324:21:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "12326:17:12",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "12335:1:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12338:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12331:3:12"
},
"nodeType": "YulFunctionCall",
"src": "12331:12:12"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "12326:1:12"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "12306:3:12",
"statements": []
},
"src": "12302:154:12"
},
{
"nodeType": "YulAssignment",
"src": "12469:23:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12480:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "12485:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12476:3:12"
},
"nodeType": "YulFunctionCall",
"src": "12476:16:12"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "12469:3:12"
}
]
}
]
},
"nodeType": "YulCase",
"src": "12161:341:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "12166:1:12",
"type": "",
"value": "1"
}
}
],
"expression": {
"arguments": [
{
"name": "slotValue",
"nodeType": "YulIdentifier",
"src": "11964:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11975:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "11960:3:12"
},
"nodeType": "YulFunctionCall",
"src": "11960:17:12"
},
"nodeType": "YulSwitch",
"src": "11953:549:12"
}
]
},
"name": "abi_encode_t_string_storage_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "11722:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "11729:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "11737:3:12",
"type": ""
}
],
"src": "11634:874:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12647:136:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "12658:99:12",
"value": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "12744:6:12"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12753:3:12"
}
],
"functionName": {
"name": "abi_encode_t_string_storage_to_t_string_memory_ptr_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "12665:78:12"
},
"nodeType": "YulFunctionCall",
"src": "12665:92:12"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12658:3:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "12767:10:12",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12774:3:12"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "12767:3:12"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_string_storage__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "12626:3:12",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "12632:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "12643:3:12",
"type": ""
}
],
"src": "12514:269:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12817:152:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12834:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12837:77:12",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12827:6:12"
},
"nodeType": "YulFunctionCall",
"src": "12827:88:12"
},
"nodeType": "YulExpressionStatement",
"src": "12827:88:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12931:1:12",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12934:4:12",
"type": "",
"value": "0x11"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "12924:6:12"
},
"nodeType": "YulFunctionCall",
"src": "12924:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "12924:15:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12955:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12958:4:12",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "12948:6:12"
},
"nodeType": "YulFunctionCall",
"src": "12948:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "12948:15:12"
}
]
},
"name": "panic_error_0x11",
"nodeType": "YulFunctionDefinition",
"src": "12789:180:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13023:362:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "13033:25:12",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "13056:1:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "13038:17:12"
},
"nodeType": "YulFunctionCall",
"src": "13038:20:12"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "13033:1:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "13067:25:12",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "13090:1:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "13072:17:12"
},
"nodeType": "YulFunctionCall",
"src": "13072:20:12"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "13067:1:12"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "13101:28:12",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "13124:1:12"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "13127:1:12"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "13120:3:12"
},
"nodeType": "YulFunctionCall",
"src": "13120:9:12"
},
"variables": [
{
"name": "product_raw",
"nodeType": "YulTypedName",
"src": "13105:11:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "13138:41:12",
"value": {
"arguments": [
{
"name": "product_raw",
"nodeType": "YulIdentifier",
"src": "13167:11:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "13149:17:12"
},
"nodeType": "YulFunctionCall",
"src": "13149:30:12"
},
"variableNames": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "13138:7:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "13356:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "13358:16:12"
},
"nodeType": "YulFunctionCall",
"src": "13358:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "13358:18:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "13289:1:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "13282:6:12"
},
"nodeType": "YulFunctionCall",
"src": "13282:9:12"
},
{
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "13312:1:12"
},
{
"arguments": [
{
"name": "product",
"nodeType": "YulIdentifier",
"src": "13319:7:12"
},
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "13328:1:12"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "13315:3:12"
},
"nodeType": "YulFunctionCall",
"src": "13315:15:12"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "13309:2:12"
},
"nodeType": "YulFunctionCall",
"src": "13309:22:12"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "13262:2:12"
},
"nodeType": "YulFunctionCall",
"src": "13262:83:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "13242:6:12"
},
"nodeType": "YulFunctionCall",
"src": "13242:113:12"
},
"nodeType": "YulIf",
"src": "13239:139:12"
}
]
},
"name": "checked_mul_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "13006:1:12",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "13009:1:12",
"type": ""
}
],
"returnVariables": [
{
"name": "product",
"nodeType": "YulTypedName",
"src": "13015:7:12",
"type": ""
}
],
"src": "12975:410:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13442:51:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "13452:34:12",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13477:1:12",
"type": "",
"value": "1"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "13480:5:12"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "13473:3:12"
},
"nodeType": "YulFunctionCall",
"src": "13473:13:12"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "13452:8:12"
}
]
}
]
},
"name": "shift_right_1_unsigned",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "13423:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "13433:8:12",
"type": ""
}
],
"src": "13391:102:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13572:775:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "13582:15:12",
"value": {
"name": "_power",
"nodeType": "YulIdentifier",
"src": "13591:6:12"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "13582:5:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "13606:14:12",
"value": {
"name": "_base",
"nodeType": "YulIdentifier",
"src": "13615:5:12"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "13606:4:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "13664:677:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "13752:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "13754:16:12"
},
"nodeType": "YulFunctionCall",
"src": "13754:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "13754:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "13730:4:12"
},
{
"arguments": [
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "13740:3:12"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "13745:4:12"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "13736:3:12"
},
"nodeType": "YulFunctionCall",
"src": "13736:14:12"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "13727:2:12"
},
"nodeType": "YulFunctionCall",
"src": "13727:24:12"
},
"nodeType": "YulIf",
"src": "13724:50:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13819:419:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "14199:25:12",
"value": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "14212:5:12"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "14219:4:12"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "14208:3:12"
},
"nodeType": "YulFunctionCall",
"src": "14208:16:12"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "14199:5:12"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "13794:8:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13804:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "13790:3:12"
},
"nodeType": "YulFunctionCall",
"src": "13790:16:12"
},
"nodeType": "YulIf",
"src": "13787:451:12"
},
{
"nodeType": "YulAssignment",
"src": "14251:23:12",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "14263:4:12"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "14269:4:12"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "14259:3:12"
},
"nodeType": "YulFunctionCall",
"src": "14259:15:12"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "14251:4:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "14287:44:12",
"value": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "14322:8:12"
}
],
"functionName": {
"name": "shift_right_1_unsigned",
"nodeType": "YulIdentifier",
"src": "14299:22:12"
},
"nodeType": "YulFunctionCall",
"src": "14299:32:12"
},
"variableNames": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "14287:8:12"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "13640:8:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13650:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "13637:2:12"
},
"nodeType": "YulFunctionCall",
"src": "13637:15:12"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "13653:2:12",
"statements": []
},
"pre": {
"nodeType": "YulBlock",
"src": "13633:3:12",
"statements": []
},
"src": "13629:712:12"
}
]
},
"name": "checked_exp_helper",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "_power",
"nodeType": "YulTypedName",
"src": "13527:6:12",
"type": ""
},
{
"name": "_base",
"nodeType": "YulTypedName",
"src": "13535:5:12",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "13542:8:12",
"type": ""
},
{
"name": "max",
"nodeType": "YulTypedName",
"src": "13552:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "13560:5:12",
"type": ""
},
{
"name": "base",
"nodeType": "YulTypedName",
"src": "13567:4:12",
"type": ""
}
],
"src": "13499:848:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14413:1013:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "14608:20:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "14610:10:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "14619:1:12",
"type": "",
"value": "1"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "14610:5:12"
}
]
},
{
"nodeType": "YulLeave",
"src": "14621:5:12"
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "14598:8:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "14591:6:12"
},
"nodeType": "YulFunctionCall",
"src": "14591:16:12"
},
"nodeType": "YulIf",
"src": "14588:40:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "14653:20:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "14655:10:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "14664:1:12",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "14655:5:12"
}
]
},
{
"nodeType": "YulLeave",
"src": "14666:5:12"
}
]
},
"condition": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "14647:4:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "14640:6:12"
},
"nodeType": "YulFunctionCall",
"src": "14640:12:12"
},
"nodeType": "YulIf",
"src": "14637:36:12"
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "14783:20:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "14785:10:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "14794:1:12",
"type": "",
"value": "1"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "14785:5:12"
}
]
},
{
"nodeType": "YulLeave",
"src": "14796:5:12"
}
]
},
"nodeType": "YulCase",
"src": "14776:27:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "14781:1:12",
"type": "",
"value": "1"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "14827:176:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "14862:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "14864:16:12"
},
"nodeType": "YulFunctionCall",
"src": "14864:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "14864:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "14847:8:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14857:3:12",
"type": "",
"value": "255"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "14844:2:12"
},
"nodeType": "YulFunctionCall",
"src": "14844:17:12"
},
"nodeType": "YulIf",
"src": "14841:43:12"
},
{
"nodeType": "YulAssignment",
"src": "14897:25:12",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "14910:1:12",
"type": "",
"value": "2"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "14913:8:12"
}
],
"functionName": {
"name": "exp",
"nodeType": "YulIdentifier",
"src": "14906:3:12"
},
"nodeType": "YulFunctionCall",
"src": "14906:16:12"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "14897:5:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "14953:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "14955:16:12"
},
"nodeType": "YulFunctionCall",
"src": "14955:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "14955:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "14941:5:12"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "14948:3:12"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "14938:2:12"
},
"nodeType": "YulFunctionCall",
"src": "14938:14:12"
},
"nodeType": "YulIf",
"src": "14935:40:12"
},
{
"nodeType": "YulLeave",
"src": "14988:5:12"
}
]
},
"nodeType": "YulCase",
"src": "14812:191:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "14817:1:12",
"type": "",
"value": "2"
}
}
],
"expression": {
"name": "base",
"nodeType": "YulIdentifier",
"src": "14733:4:12"
},
"nodeType": "YulSwitch",
"src": "14726:277:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15135:123:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15149:28:12",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15162:4:12"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "15168:8:12"
}
],
"functionName": {
"name": "exp",
"nodeType": "YulIdentifier",
"src": "15158:3:12"
},
"nodeType": "YulFunctionCall",
"src": "15158:19:12"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "15149:5:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "15208:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "15210:16:12"
},
"nodeType": "YulFunctionCall",
"src": "15210:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "15210:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "15196:5:12"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "15203:3:12"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "15193:2:12"
},
"nodeType": "YulFunctionCall",
"src": "15193:14:12"
},
"nodeType": "YulIf",
"src": "15190:40:12"
},
{
"nodeType": "YulLeave",
"src": "15243:5:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15038:4:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15044:2:12",
"type": "",
"value": "11"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "15035:2:12"
},
"nodeType": "YulFunctionCall",
"src": "15035:12:12"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "15052:8:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15062:2:12",
"type": "",
"value": "78"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "15049:2:12"
},
"nodeType": "YulFunctionCall",
"src": "15049:16:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "15031:3:12"
},
"nodeType": "YulFunctionCall",
"src": "15031:35:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15087:4:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15093:3:12",
"type": "",
"value": "307"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "15084:2:12"
},
"nodeType": "YulFunctionCall",
"src": "15084:13:12"
},
{
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "15102:8:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15112:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "15099:2:12"
},
"nodeType": "YulFunctionCall",
"src": "15099:16:12"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "15080:3:12"
},
"nodeType": "YulFunctionCall",
"src": "15080:36:12"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "15015:2:12"
},
"nodeType": "YulFunctionCall",
"src": "15015:111:12"
},
"nodeType": "YulIf",
"src": "15012:246:12"
},
{
"nodeType": "YulAssignment",
"src": "15268:57:12",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15302:1:12",
"type": "",
"value": "1"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15305:4:12"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "15311:8:12"
},
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "15321:3:12"
}
],
"functionName": {
"name": "checked_exp_helper",
"nodeType": "YulIdentifier",
"src": "15283:18:12"
},
"nodeType": "YulFunctionCall",
"src": "15283:42:12"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "15268:5:12"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15275:4:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "15364:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "15366:16:12"
},
"nodeType": "YulFunctionCall",
"src": "15366:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "15366:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "15341:5:12"
},
{
"arguments": [
{
"name": "max",
"nodeType": "YulIdentifier",
"src": "15352:3:12"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15357:4:12"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "15348:3:12"
},
"nodeType": "YulFunctionCall",
"src": "15348:14:12"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "15338:2:12"
},
"nodeType": "YulFunctionCall",
"src": "15338:25:12"
},
"nodeType": "YulIf",
"src": "15335:51:12"
},
{
"nodeType": "YulAssignment",
"src": "15395:25:12",
"value": {
"arguments": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "15408:5:12"
},
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15415:4:12"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "15404:3:12"
},
"nodeType": "YulFunctionCall",
"src": "15404:16:12"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "15395:5:12"
}
]
}
]
},
"name": "checked_exp_unsigned",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "base",
"nodeType": "YulTypedName",
"src": "14383:4:12",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "14389:8:12",
"type": ""
},
{
"name": "max",
"nodeType": "YulTypedName",
"src": "14399:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "14407:5:12",
"type": ""
}
],
"src": "14353:1073:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15498:219:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15508:31:12",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15534:4:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "15516:17:12"
},
"nodeType": "YulFunctionCall",
"src": "15516:23:12"
},
"variableNames": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15508:4:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "15548:39:12",
"value": {
"arguments": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "15578:8:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "15560:17:12"
},
"nodeType": "YulFunctionCall",
"src": "15560:27:12"
},
"variableNames": [
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "15548:8:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "15597:113:12",
"value": {
"arguments": [
{
"name": "base",
"nodeType": "YulIdentifier",
"src": "15627:4:12"
},
{
"name": "exponent",
"nodeType": "YulIdentifier",
"src": "15633:8:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15643:66:12",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "checked_exp_unsigned",
"nodeType": "YulIdentifier",
"src": "15606:20:12"
},
"nodeType": "YulFunctionCall",
"src": "15606:104:12"
},
"variableNames": [
{
"name": "power",
"nodeType": "YulIdentifier",
"src": "15597:5:12"
}
]
}
]
},
"name": "checked_exp_t_uint256_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "base",
"nodeType": "YulTypedName",
"src": "15473:4:12",
"type": ""
},
{
"name": "exponent",
"nodeType": "YulTypedName",
"src": "15479:8:12",
"type": ""
}
],
"returnVariables": [
{
"name": "power",
"nodeType": "YulTypedName",
"src": "15492:5:12",
"type": ""
}
],
"src": "15432:285:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15751:152:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15768:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15771:77:12",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15761:6:12"
},
"nodeType": "YulFunctionCall",
"src": "15761:88:12"
},
"nodeType": "YulExpressionStatement",
"src": "15761:88:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15865:1:12",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15868:4:12",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "15858:6:12"
},
"nodeType": "YulFunctionCall",
"src": "15858:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "15858:15:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15889:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "15892:4:12",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "15882:6:12"
},
"nodeType": "YulFunctionCall",
"src": "15882:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "15882:15:12"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "15723:180:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "15952:190:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "15962:33:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "15989:5:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "15971:17:12"
},
"nodeType": "YulFunctionCall",
"src": "15971:24:12"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "15962:5:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "16085:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "16087:16:12"
},
"nodeType": "YulFunctionCall",
"src": "16087:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "16087:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16010:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16017:66:12",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "16007:2:12"
},
"nodeType": "YulFunctionCall",
"src": "16007:77:12"
},
"nodeType": "YulIf",
"src": "16004:103:12"
},
{
"nodeType": "YulAssignment",
"src": "16116:20:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16127:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16134:1:12",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16123:3:12"
},
"nodeType": "YulFunctionCall",
"src": "16123:13:12"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "16116:3:12"
}
]
}
]
},
"name": "increment_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "15938:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "15948:3:12",
"type": ""
}
],
"src": "15909:233:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16192:147:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "16202:25:12",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "16225:1:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "16207:17:12"
},
"nodeType": "YulFunctionCall",
"src": "16207:20:12"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "16202:1:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "16236:25:12",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "16259:1:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "16241:17:12"
},
"nodeType": "YulFunctionCall",
"src": "16241:20:12"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "16236:1:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "16270:16:12",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "16281:1:12"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "16284:1:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "16277:3:12"
},
"nodeType": "YulFunctionCall",
"src": "16277:9:12"
},
"variableNames": [
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "16270:3:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "16310:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "16312:16:12"
},
"nodeType": "YulFunctionCall",
"src": "16312:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "16312:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "16302:1:12"
},
{
"name": "sum",
"nodeType": "YulIdentifier",
"src": "16305:3:12"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "16299:2:12"
},
"nodeType": "YulFunctionCall",
"src": "16299:10:12"
},
"nodeType": "YulIf",
"src": "16296:36:12"
}
]
},
"name": "checked_add_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "16179:1:12",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "16182:1:12",
"type": ""
}
],
"returnVariables": [
{
"name": "sum",
"nodeType": "YulTypedName",
"src": "16188:3:12",
"type": ""
}
],
"src": "16148:191:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16390:81:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "16400:65:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16415:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16422:42:12",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "16411:3:12"
},
"nodeType": "YulFunctionCall",
"src": "16411:54:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "16400:7:12"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "16372:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "16382:7:12",
"type": ""
}
],
"src": "16345:126:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16522:51:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "16532:35:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16561:5:12"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "16543:17:12"
},
"nodeType": "YulFunctionCall",
"src": "16543:24:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "16532:7:12"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "16504:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "16514:7:12",
"type": ""
}
],
"src": "16477:96:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16644:53:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16661:3:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16684:5:12"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "16666:17:12"
},
"nodeType": "YulFunctionCall",
"src": "16666:24:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16654:6:12"
},
"nodeType": "YulFunctionCall",
"src": "16654:37:12"
},
"nodeType": "YulExpressionStatement",
"src": "16654:37:12"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "16632:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "16639:3:12",
"type": ""
}
],
"src": "16579:118:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16768:53:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "16785:3:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16808:5:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "16790:17:12"
},
"nodeType": "YulFunctionCall",
"src": "16790:24:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "16778:6:12"
},
"nodeType": "YulFunctionCall",
"src": "16778:37:12"
},
"nodeType": "YulExpressionStatement",
"src": "16778:37:12"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "16756:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "16763:3:12",
"type": ""
}
],
"src": "16703:118:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "16871:105:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "16881:89:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "16896:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "16903:66:12",
"type": "",
"value": "0xffffffff00000000000000000000000000000000000000000000000000000000"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "16892:3:12"
},
"nodeType": "YulFunctionCall",
"src": "16892:78:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "16881:7:12"
}
]
}
]
},
"name": "cleanup_t_bytes4",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "16853:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "16863:7:12",
"type": ""
}
],
"src": "16827:149:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "17045:52:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "17062:3:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "17084:5:12"
}
],
"functionName": {
"name": "cleanup_t_bytes4",
"nodeType": "YulIdentifier",
"src": "17067:16:12"
},
"nodeType": "YulFunctionCall",
"src": "17067:23:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17055:6:12"
},
"nodeType": "YulFunctionCall",
"src": "17055:36:12"
},
"nodeType": "YulExpressionStatement",
"src": "17055:36:12"
}
]
},
"name": "abi_encode_t_bytes4_to_t_bytes4_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "17033:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "17040:3:12",
"type": ""
}
],
"src": "16982:115:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "17161:40:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "17172:22:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "17188:5:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "17182:5:12"
},
"nodeType": "YulFunctionCall",
"src": "17182:12:12"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "17172:6:12"
}
]
}
]
},
"name": "array_length_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "17144:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "17154:6:12",
"type": ""
}
],
"src": "17103:98:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "17302:73:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "17319:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "17324:6:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "17312:6:12"
},
"nodeType": "YulFunctionCall",
"src": "17312:19:12"
},
"nodeType": "YulExpressionStatement",
"src": "17312:19:12"
},
{
"nodeType": "YulAssignment",
"src": "17340:29:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "17359:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17364:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17355:3:12"
},
"nodeType": "YulFunctionCall",
"src": "17355:14:12"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "17340:11:12"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "17274:3:12",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "17279:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "17290:11:12",
"type": ""
}
],
"src": "17207:168:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "17471:283:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "17481:52:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "17527:5:12"
}
],
"functionName": {
"name": "array_length_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "17495:31:12"
},
"nodeType": "YulFunctionCall",
"src": "17495:38:12"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "17485:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "17542:77:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "17607:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "17612:6:12"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "17549:57:12"
},
"nodeType": "YulFunctionCall",
"src": "17549:70:12"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "17542:3:12"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "17667:5:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "17674:4:12",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17663:3:12"
},
"nodeType": "YulFunctionCall",
"src": "17663:16:12"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "17681:3:12"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "17686:6:12"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "17628:34:12"
},
"nodeType": "YulFunctionCall",
"src": "17628:65:12"
},
"nodeType": "YulExpressionStatement",
"src": "17628:65:12"
},
{
"nodeType": "YulAssignment",
"src": "17702:46:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "17713:3:12"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "17740:6:12"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "17718:21:12"
},
"nodeType": "YulFunctionCall",
"src": "17718:29:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "17709:3:12"
},
"nodeType": "YulFunctionCall",
"src": "17709:39:12"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "17702:3:12"
}
]
}
]
},
"name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "17452:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "17459:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "17467:3:12",
"type": ""
}
],
"src": "17381:373:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "18070:770:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "18080:27:12",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18092:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18103:3:12",
"type": "",
"value": "256"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18088:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18088:19:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "18080:4:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "18161:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18174:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18185:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18170:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18170:17:12"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "18117:43:12"
},
"nodeType": "YulFunctionCall",
"src": "18117:71:12"
},
"nodeType": "YulExpressionStatement",
"src": "18117:71:12"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "18242:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18255:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18266:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18251:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18251:18:12"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "18198:43:12"
},
"nodeType": "YulFunctionCall",
"src": "18198:72:12"
},
"nodeType": "YulExpressionStatement",
"src": "18198:72:12"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "18324:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18337:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18348:2:12",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18333:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18333:18:12"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "18280:43:12"
},
"nodeType": "YulFunctionCall",
"src": "18280:72:12"
},
"nodeType": "YulExpressionStatement",
"src": "18280:72:12"
},
{
"expression": {
"arguments": [
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "18406:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18419:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18430:2:12",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18415:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18415:18:12"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "18362:43:12"
},
"nodeType": "YulFunctionCall",
"src": "18362:72:12"
},
"nodeType": "YulExpressionStatement",
"src": "18362:72:12"
},
{
"expression": {
"arguments": [
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "18486:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18499:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18510:3:12",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18495:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18495:19:12"
}
],
"functionName": {
"name": "abi_encode_t_bytes4_to_t_bytes4_fromStack",
"nodeType": "YulIdentifier",
"src": "18444:41:12"
},
"nodeType": "YulFunctionCall",
"src": "18444:71:12"
},
"nodeType": "YulExpressionStatement",
"src": "18444:71:12"
},
{
"expression": {
"arguments": [
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "18569:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18582:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18593:3:12",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18578:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18578:19:12"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "18525:43:12"
},
"nodeType": "YulFunctionCall",
"src": "18525:73:12"
},
"nodeType": "YulExpressionStatement",
"src": "18525:73:12"
},
{
"expression": {
"arguments": [
{
"name": "value6",
"nodeType": "YulIdentifier",
"src": "18652:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18665:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18676:3:12",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18661:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18661:19:12"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "18608:43:12"
},
"nodeType": "YulFunctionCall",
"src": "18608:73:12"
},
"nodeType": "YulExpressionStatement",
"src": "18608:73:12"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18702:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "18713:3:12",
"type": "",
"value": "224"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "18698:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18698:19:12"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "18723:4:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "18729:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "18719:3:12"
},
"nodeType": "YulFunctionCall",
"src": "18719:20:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "18691:6:12"
},
"nodeType": "YulFunctionCall",
"src": "18691:49:12"
},
"nodeType": "YulExpressionStatement",
"src": "18691:49:12"
},
{
"nodeType": "YulAssignment",
"src": "18749:84:12",
"value": {
"arguments": [
{
"name": "value7",
"nodeType": "YulIdentifier",
"src": "18819:6:12"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "18828:4:12"
}
],
"functionName": {
"name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "18757:61:12"
},
"nodeType": "YulFunctionCall",
"src": "18757:76:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "18749:4:12"
}
]
}
]
},
"name": "abi_encode_tuple_t_address_t_uint256_t_bytes32_t_address_t_bytes4_t_uint256_t_uint256_t_bytes_memory_ptr__to_t_address_t_uint256_t_bytes32_t_address_t_bytes4_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "17986:9:12",
"type": ""
},
{
"name": "value7",
"nodeType": "YulTypedName",
"src": "17998:6:12",
"type": ""
},
{
"name": "value6",
"nodeType": "YulTypedName",
"src": "18006:6:12",
"type": ""
},
{
"name": "value5",
"nodeType": "YulTypedName",
"src": "18014:6:12",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "18022:6:12",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "18030:6:12",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "18038:6:12",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "18046:6:12",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "18054:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "18065:4:12",
"type": ""
}
],
"src": "17760:1080:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "18906:82:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "18916:66:12",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "18974:5:12"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "18956:17:12"
},
"nodeType": "YulFunctionCall",
"src": "18956:24:12"
}
],
"functionName": {
"name": "identity",
"nodeType": "YulIdentifier",
"src": "18947:8:12"
},
"nodeType": "YulFunctionCall",
"src": "18947:34:12"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "18929:17:12"
},
"nodeType": "YulFunctionCall",
"src": "18929:53:12"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "18916:9:12"
}
]
}
]
},
"name": "convert_t_uint160_to_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "18886:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "18896:9:12",
"type": ""
}
],
"src": "18846:142:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19054:66:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "19064:50:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "19108:5:12"
}
],
"functionName": {
"name": "convert_t_uint160_to_t_uint160",
"nodeType": "YulIdentifier",
"src": "19077:30:12"
},
"nodeType": "YulFunctionCall",
"src": "19077:37:12"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "19064:9:12"
}
]
}
]
},
"name": "convert_t_uint160_to_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "19034:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "19044:9:12",
"type": ""
}
],
"src": "18994:126:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19209:66:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "19219:50:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "19263:5:12"
}
],
"functionName": {
"name": "convert_t_uint160_to_t_address",
"nodeType": "YulIdentifier",
"src": "19232:30:12"
},
"nodeType": "YulFunctionCall",
"src": "19232:37:12"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "19219:9:12"
}
]
}
]
},
"name": "convert_t_contract$_ChainlinkClient_$861_to_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "19189:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "19199:9:12",
"type": ""
}
],
"src": "19126:149:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19323:52:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "19333:35:12",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "19358:2:12",
"type": "",
"value": "96"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "19362:5:12"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "19354:3:12"
},
"nodeType": "YulFunctionCall",
"src": "19354:14:12"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "19333:8:12"
}
]
}
]
},
"name": "shift_left_96",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "19304:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "19314:8:12",
"type": ""
}
],
"src": "19281:94:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19428:47:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "19438:31:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "19463:5:12"
}
],
"functionName": {
"name": "shift_left_96",
"nodeType": "YulIdentifier",
"src": "19449:13:12"
},
"nodeType": "YulFunctionCall",
"src": "19449:20:12"
},
"variableNames": [
{
"name": "aligned",
"nodeType": "YulIdentifier",
"src": "19438:7:12"
}
]
}
]
},
"name": "leftAlign_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "19410:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "aligned",
"nodeType": "YulTypedName",
"src": "19420:7:12",
"type": ""
}
],
"src": "19381:94:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19528:53:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "19538:37:12",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "19569:5:12"
}
],
"functionName": {
"name": "leftAlign_t_uint160",
"nodeType": "YulIdentifier",
"src": "19549:19:12"
},
"nodeType": "YulFunctionCall",
"src": "19549:26:12"
},
"variableNames": [
{
"name": "aligned",
"nodeType": "YulIdentifier",
"src": "19538:7:12"
}
]
}
]
},
"name": "leftAlign_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "19510:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "aligned",
"nodeType": "YulTypedName",
"src": "19520:7:12",
"type": ""
}
],
"src": "19481:100:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19693:110:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "19710:3:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "19789:5:12"
}
],
"functionName": {
"name": "convert_t_contract$_ChainlinkClient_$861_to_t_address",
"nodeType": "YulIdentifier",
"src": "19735:53:12"
},
"nodeType": "YulFunctionCall",
"src": "19735:60:12"
}
],
"functionName": {
"name": "leftAlign_t_address",
"nodeType": "YulIdentifier",
"src": "19715:19:12"
},
"nodeType": "YulFunctionCall",
"src": "19715:81:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19703:6:12"
},
"nodeType": "YulFunctionCall",
"src": "19703:94:12"
},
"nodeType": "YulExpressionStatement",
"src": "19703:94:12"
}
]
},
"name": "abi_encode_t_contract$_ChainlinkClient_$861_to_t_address_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "19681:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "19688:3:12",
"type": ""
}
],
"src": "19587:216:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19856:32:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "19866:16:12",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "19877:5:12"
},
"variableNames": [
{
"name": "aligned",
"nodeType": "YulIdentifier",
"src": "19866:7:12"
}
]
}
]
},
"name": "leftAlign_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "19838:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "aligned",
"nodeType": "YulTypedName",
"src": "19848:7:12",
"type": ""
}
],
"src": "19809:79:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "19977:74:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "19994:3:12"
},
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "20037:5:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "20019:17:12"
},
"nodeType": "YulFunctionCall",
"src": "20019:24:12"
}
],
"functionName": {
"name": "leftAlign_t_uint256",
"nodeType": "YulIdentifier",
"src": "19999:19:12"
},
"nodeType": "YulFunctionCall",
"src": "19999:45:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "19987:6:12"
},
"nodeType": "YulFunctionCall",
"src": "19987:58:12"
},
"nodeType": "YulExpressionStatement",
"src": "19987:58:12"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "19965:5:12",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "19972:3:12",
"type": ""
}
],
"src": "19894:157:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "20224:276:12",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "20320:6:12"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "20329:3:12"
}
],
"functionName": {
"name": "abi_encode_t_contract$_ChainlinkClient_$861_to_t_address_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "20235:84:12"
},
"nodeType": "YulFunctionCall",
"src": "20235:98:12"
},
"nodeType": "YulExpressionStatement",
"src": "20235:98:12"
},
{
"nodeType": "YulAssignment",
"src": "20342:19:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "20353:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20358:2:12",
"type": "",
"value": "20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20349:3:12"
},
"nodeType": "YulFunctionCall",
"src": "20349:12:12"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "20342:3:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "20433:6:12"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "20442:3:12"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack",
"nodeType": "YulIdentifier",
"src": "20371:61:12"
},
"nodeType": "YulFunctionCall",
"src": "20371:75:12"
},
"nodeType": "YulExpressionStatement",
"src": "20371:75:12"
},
{
"nodeType": "YulAssignment",
"src": "20455:19:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "20466:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20471:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20462:3:12"
},
"nodeType": "YulFunctionCall",
"src": "20462:12:12"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "20455:3:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "20484:10:12",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "20491:3:12"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "20484:3:12"
}
]
}
]
},
"name": "abi_encode_tuple_packed_t_contract$_ChainlinkClient_$861_t_uint256__to_t_address_t_uint256__nonPadded_inplace_fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "20195:3:12",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "20201:6:12",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "20209:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "20220:3:12",
"type": ""
}
],
"src": "20057:443:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "20678:357:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "20688:26:12",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20700:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20711:2:12",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20696:3:12"
},
"nodeType": "YulFunctionCall",
"src": "20696:18:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "20688:4:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "20768:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20781:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20792:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20777:3:12"
},
"nodeType": "YulFunctionCall",
"src": "20777:17:12"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "20724:43:12"
},
"nodeType": "YulFunctionCall",
"src": "20724:71:12"
},
"nodeType": "YulExpressionStatement",
"src": "20724:71:12"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "20849:6:12"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20862:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20873:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20858:3:12"
},
"nodeType": "YulFunctionCall",
"src": "20858:18:12"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "20805:43:12"
},
"nodeType": "YulFunctionCall",
"src": "20805:72:12"
},
"nodeType": "YulExpressionStatement",
"src": "20805:72:12"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20898:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "20909:2:12",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "20894:3:12"
},
"nodeType": "YulFunctionCall",
"src": "20894:18:12"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "20918:4:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "20924:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "20914:3:12"
},
"nodeType": "YulFunctionCall",
"src": "20914:20:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "20887:6:12"
},
"nodeType": "YulFunctionCall",
"src": "20887:48:12"
},
"nodeType": "YulExpressionStatement",
"src": "20887:48:12"
},
{
"nodeType": "YulAssignment",
"src": "20944:84:12",
"value": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "21014:6:12"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "21023:4:12"
}
],
"functionName": {
"name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "20952:61:12"
},
"nodeType": "YulFunctionCall",
"src": "20952:76:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "20944:4:12"
}
]
}
]
},
"name": "abi_encode_tuple_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "20634:9:12",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "20646:6:12",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "20654:6:12",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "20662:6:12",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "20673:4:12",
"type": ""
}
],
"src": "20506:529:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21083:48:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "21093:32:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "21118:5:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "21111:6:12"
},
"nodeType": "YulFunctionCall",
"src": "21111:13:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "21104:6:12"
},
"nodeType": "YulFunctionCall",
"src": "21104:21:12"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "21093:7:12"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "21065:5:12",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "21075:7:12",
"type": ""
}
],
"src": "21041:90:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21177:76:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "21231:16:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21240:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21243:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "21233:6:12"
},
"nodeType": "YulFunctionCall",
"src": "21233:12:12"
},
"nodeType": "YulExpressionStatement",
"src": "21233:12:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "21200:5:12"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "21222:5:12"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "21207:14:12"
},
"nodeType": "YulFunctionCall",
"src": "21207:21:12"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "21197:2:12"
},
"nodeType": "YulFunctionCall",
"src": "21197:32:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "21190:6:12"
},
"nodeType": "YulFunctionCall",
"src": "21190:40:12"
},
"nodeType": "YulIf",
"src": "21187:60:12"
}
]
},
"name": "validator_revert_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "21170:5:12",
"type": ""
}
],
"src": "21137:116:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21319:77:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "21329:22:12",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "21344:6:12"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "21338:5:12"
},
"nodeType": "YulFunctionCall",
"src": "21338:13:12"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "21329:5:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "21384:5:12"
}
],
"functionName": {
"name": "validator_revert_t_bool",
"nodeType": "YulIdentifier",
"src": "21360:23:12"
},
"nodeType": "YulFunctionCall",
"src": "21360:30:12"
},
"nodeType": "YulExpressionStatement",
"src": "21360:30:12"
}
]
},
"name": "abi_decode_t_bool_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "21297:6:12",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "21305:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "21313:5:12",
"type": ""
}
],
"src": "21259:137:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21476:271:12",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "21522:83:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "21524:77:12"
},
"nodeType": "YulFunctionCall",
"src": "21524:79:12"
},
"nodeType": "YulExpressionStatement",
"src": "21524:79:12"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "21497:7:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21506:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "21493:3:12"
},
"nodeType": "YulFunctionCall",
"src": "21493:23:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21518:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "21489:3:12"
},
"nodeType": "YulFunctionCall",
"src": "21489:32:12"
},
"nodeType": "YulIf",
"src": "21486:119:12"
},
{
"nodeType": "YulBlock",
"src": "21615:125:12",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "21630:15:12",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "21644:1:12",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "21634:6:12",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "21659:71:12",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "21702:9:12"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "21713:6:12"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21698:3:12"
},
"nodeType": "YulFunctionCall",
"src": "21698:22:12"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "21722:7:12"
}
],
"functionName": {
"name": "abi_decode_t_bool_fromMemory",
"nodeType": "YulIdentifier",
"src": "21669:28:12"
},
"nodeType": "YulFunctionCall",
"src": "21669:61:12"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "21659:6:12"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_bool_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "21446:9:12",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "21457:7:12",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "21469:6:12",
"type": ""
}
],
"src": "21402:345:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "21859:116:12",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "21881:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21889:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21877:3:12"
},
"nodeType": "YulFunctionCall",
"src": "21877:14:12"
},
{
"hexValue": "756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261",
"kind": "string",
"nodeType": "YulLiteral",
"src": "21893:34:12",
"type": "",
"value": "unable to transferAndCall to ora"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "21870:6:12"
},
"nodeType": "YulFunctionCall",
"src": "21870:58:12"
},
"nodeType": "YulExpressionStatement",
"src": "21870:58:12"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "21949:6:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "21957:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "21945:3:12"
},
"nodeType": "YulFunctionCall",
"src": "21945:15:12"
},
{
"hexValue": "636c65",
"kind": "string",
"nodeType": "YulLiteral",
"src": "21962:5:12",
"type": "",
"value": "cle"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "21938:6:12"
},
"nodeType": "YulFunctionCall",
"src": "21938:30:12"
},
"nodeType": "YulExpressionStatement",
"src": "21938:30:12"
}
]
},
"name": "store_literal_in_memory_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "21851:6:12",
"type": ""
}
],
"src": "21753:222:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22127:220:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "22137:74:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "22203:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22208:2:12",
"type": "",
"value": "35"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "22144:58:12"
},
"nodeType": "YulFunctionCall",
"src": "22144:67:12"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "22137:3:12"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "22309:3:12"
}
],
"functionName": {
"name": "store_literal_in_memory_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96",
"nodeType": "YulIdentifier",
"src": "22220:88:12"
},
"nodeType": "YulFunctionCall",
"src": "22220:93:12"
},
"nodeType": "YulExpressionStatement",
"src": "22220:93:12"
},
{
"nodeType": "YulAssignment",
"src": "22322:19:12",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "22333:3:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22338:2:12",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "22329:3:12"
},
"nodeType": "YulFunctionCall",
"src": "22329:12:12"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "22322:3:12"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96_to_t_string_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "22115:3:12",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "22123:3:12",
"type": ""
}
],
"src": "21981:366:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22524:248:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "22534:26:12",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "22546:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22557:2:12",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "22542:3:12"
},
"nodeType": "YulFunctionCall",
"src": "22542:18:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "22534:4:12"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "22581:9:12"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22592:1:12",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "22577:3:12"
},
"nodeType": "YulFunctionCall",
"src": "22577:17:12"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "22600:4:12"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "22606:9:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "22596:3:12"
},
"nodeType": "YulFunctionCall",
"src": "22596:20:12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22570:6:12"
},
"nodeType": "YulFunctionCall",
"src": "22570:47:12"
},
"nodeType": "YulExpressionStatement",
"src": "22570:47:12"
},
{
"nodeType": "YulAssignment",
"src": "22626:139:12",
"value": {
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "22760:4:12"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96_to_t_string_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "22634:124:12"
},
"nodeType": "YulFunctionCall",
"src": "22634:131:12"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "22626:4:12"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96__to_t_string_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "22504:9:12",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "22519:4:12",
"type": ""
}
],
"src": "22353:419:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22806:152:12",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22823:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22826:77:12",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22816:6:12"
},
"nodeType": "YulFunctionCall",
"src": "22816:88:12"
},
"nodeType": "YulExpressionStatement",
"src": "22816:88:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22920:1:12",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22923:4:12",
"type": "",
"value": "0x12"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "22913:6:12"
},
"nodeType": "YulFunctionCall",
"src": "22913:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "22913:15:12"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22944:1:12",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "22947:4:12",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "22937:6:12"
},
"nodeType": "YulFunctionCall",
"src": "22937:15:12"
},
"nodeType": "YulExpressionStatement",
"src": "22937:15:12"
}
]
},
"name": "panic_error_0x12",
"nodeType": "YulFunctionDefinition",
"src": "22778:180:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "22998:142:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "23008:25:12",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "23031:1:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "23013:17:12"
},
"nodeType": "YulFunctionCall",
"src": "23013:20:12"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "23008:1:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "23042:25:12",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "23065:1:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "23047:17:12"
},
"nodeType": "YulFunctionCall",
"src": "23047:20:12"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "23042:1:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "23089:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x12",
"nodeType": "YulIdentifier",
"src": "23091:16:12"
},
"nodeType": "YulFunctionCall",
"src": "23091:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "23091:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "23086:1:12"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "23079:6:12"
},
"nodeType": "YulFunctionCall",
"src": "23079:9:12"
},
"nodeType": "YulIf",
"src": "23076:35:12"
},
{
"nodeType": "YulAssignment",
"src": "23120:14:12",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "23129:1:12"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "23132:1:12"
}
],
"functionName": {
"name": "mod",
"nodeType": "YulIdentifier",
"src": "23125:3:12"
},
"nodeType": "YulFunctionCall",
"src": "23125:9:12"
},
"variableNames": [
{
"name": "r",
"nodeType": "YulIdentifier",
"src": "23120:1:12"
}
]
}
]
},
"name": "mod_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "22987:1:12",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "22990:1:12",
"type": ""
}
],
"returnVariables": [
{
"name": "r",
"nodeType": "YulTypedName",
"src": "22996:1:12",
"type": ""
}
],
"src": "22964:176:12"
},
{
"body": {
"nodeType": "YulBlock",
"src": "23191:149:12",
"statements": [
{
"nodeType": "YulAssignment",
"src": "23201:25:12",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "23224:1:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "23206:17:12"
},
"nodeType": "YulFunctionCall",
"src": "23206:20:12"
},
"variableNames": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "23201:1:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "23235:25:12",
"value": {
"arguments": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "23258:1:12"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "23240:17:12"
},
"nodeType": "YulFunctionCall",
"src": "23240:20:12"
},
"variableNames": [
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "23235:1:12"
}
]
},
{
"nodeType": "YulAssignment",
"src": "23269:17:12",
"value": {
"arguments": [
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "23281:1:12"
},
{
"name": "y",
"nodeType": "YulIdentifier",
"src": "23284:1:12"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "23277:3:12"
},
"nodeType": "YulFunctionCall",
"src": "23277:9:12"
},
"variableNames": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "23269:4:12"
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "23311:22:12",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x11",
"nodeType": "YulIdentifier",
"src": "23313:16:12"
},
"nodeType": "YulFunctionCall",
"src": "23313:18:12"
},
"nodeType": "YulExpressionStatement",
"src": "23313:18:12"
}
]
},
"condition": {
"arguments": [
{
"name": "diff",
"nodeType": "YulIdentifier",
"src": "23302:4:12"
},
{
"name": "x",
"nodeType": "YulIdentifier",
"src": "23308:1:12"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "23299:2:12"
},
"nodeType": "YulFunctionCall",
"src": "23299:11:12"
},
"nodeType": "YulIf",
"src": "23296:37:12"
}
]
},
"name": "checked_sub_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "x",
"nodeType": "YulTypedName",
"src": "23177:1:12",
"type": ""
},
{
"name": "y",
"nodeType": "YulTypedName",
"src": "23180:1:12",
"type": ""
}
],
"returnVariables": [
{
"name": "diff",
"nodeType": "YulTypedName",
"src": "23186:4:12",
"type": ""
}
],
"src": "23146:194:12"
}
]
},
"contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_bytes32(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_bytes32(value) {\n if iszero(eq(value, cleanup_t_bytes32(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_bytes32(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_bytes32(value)\n }\n\n function abi_decode_tuple_t_bytes32t_bytes32(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_bytes32(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_bytes32(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_calldata_to_memory_with_cleanup(src, dst, length) {\n calldatacopy(dst, src, length)\n mstore(add(dst, length), 0)\n }\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_calldata_to_memory_with_cleanup(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_bytes32_to_t_bytes32_fromStack(value, pos) {\n mstore(pos, cleanup_t_bytes32(value))\n }\n\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n }\n\n function store_literal_in_memory_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4(memPtr) {\n\n mstore(add(memPtr, 0), \"Source must be the oracle of the\")\n\n mstore(add(memPtr, 32), \" request\")\n\n }\n\n function abi_encode_t_stringliteral_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 40)\n store_literal_in_memory_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_d5cafe2745dab6273b51cca76f8727c7664db74ede49af049a5b5ca6a3b184e4_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n // string -> string\n function abi_encode_t_string_storage_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> ret {\n let slotValue := sload(value)\n let length := extract_byte_array_length(slotValue)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n switch and(slotValue, 1)\n case 0 {\n // short byte array\n mstore(pos, and(slotValue, not(0xff)))\n ret := add(pos, mul(length, iszero(iszero(length))))\n }\n case 1 {\n // long byte array\n let dataPos := array_dataslot_t_string_storage(value)\n let i := 0\n for { } lt(i, length) { i := add(i, 0x20) } {\n mstore(add(pos, i), sload(dataPos))\n dataPos := add(dataPos, 1)\n }\n ret := add(pos, length)\n }\n }\n\n function abi_encode_tuple_packed_t_string_storage__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value0) -> end {\n\n pos := abi_encode_t_string_storage_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value0, pos)\n\n end := pos\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n let product_raw := mul(x, y)\n product := cleanup_t_uint256(product_raw)\n\n // overflow, if x != 0 and y != product/x\n if iszero(\n or(\n iszero(x),\n eq(y, div(product, x))\n )\n ) { panic_error_0x11() }\n\n }\n\n function shift_right_1_unsigned(value) -> newValue {\n newValue :=\n\n shr(1, value)\n\n }\n\n function checked_exp_helper(_power, _base, exponent, max) -> power, base {\n power := _power\n base := _base\n for { } gt(exponent, 1) {}\n {\n // overflow check for base * base\n if gt(base, div(max, base)) { panic_error_0x11() }\n if and(exponent, 1)\n {\n // No checks for power := mul(power, base) needed, because the check\n // for base * base above is sufficient, since:\n // |power| <= base (proof by induction) and thus:\n // |power * base| <= base * base <= max <= |min| (for signed)\n // (this is equally true for signed and unsigned exp)\n power := mul(power, base)\n }\n base := mul(base, base)\n exponent := shift_right_1_unsigned(exponent)\n }\n }\n\n function checked_exp_unsigned(base, exponent, max) -> power {\n // This function currently cannot be inlined because of the\n // \"leave\" statements. We have to improve the optimizer.\n\n // Note that 0**0 == 1\n if iszero(exponent) { power := 1 leave }\n if iszero(base) { power := 0 leave }\n\n // Specializations for small bases\n switch base\n // 0 is handled above\n case 1 { power := 1 leave }\n case 2\n {\n if gt(exponent, 255) { panic_error_0x11() }\n power := exp(2, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n if or(\n and(lt(base, 11), lt(exponent, 78)),\n and(lt(base, 307), lt(exponent, 32))\n )\n {\n power := exp(base, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n\n power, base := checked_exp_helper(1, base, exponent, max)\n\n if gt(power, div(max, base)) { panic_error_0x11() }\n power := mul(power, base)\n }\n\n function checked_exp_t_uint256_t_uint256(base, exponent) -> power {\n base := cleanup_t_uint256(base)\n exponent := cleanup_t_uint256(exponent)\n\n power := checked_exp_unsigned(base, exponent, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n\n }\n\n function panic_error_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n\n function increment_t_uint256(value) -> ret {\n value := cleanup_t_uint256(value)\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n ret := add(value, 1)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n sum := add(x, y)\n\n if gt(x, sum) { panic_error_0x11() }\n\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function cleanup_t_bytes4(value) -> cleaned {\n cleaned := and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n }\n\n function abi_encode_t_bytes4_to_t_bytes4_fromStack(value, pos) {\n mstore(pos, cleanup_t_bytes4(value))\n }\n\n function array_length_t_bytes_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_bytes_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_address_t_uint256_t_bytes32_t_address_t_bytes4_t_uint256_t_uint256_t_bytes_memory_ptr__to_t_address_t_uint256_t_bytes32_t_address_t_bytes4_t_uint256_t_uint256_t_bytes_memory_ptr__fromStack_reversed(headStart , value7, value6, value5, value4, value3, value2, value1, value0) -> tail {\n tail := add(headStart, 256)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value2, add(headStart, 64))\n\n abi_encode_t_address_to_t_address_fromStack(value3, add(headStart, 96))\n\n abi_encode_t_bytes4_to_t_bytes4_fromStack(value4, add(headStart, 128))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value5, add(headStart, 160))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value6, add(headStart, 192))\n\n mstore(add(headStart, 224), sub(tail, headStart))\n tail := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack(value7, tail)\n\n }\n\n function convert_t_uint160_to_t_uint160(value) -> converted {\n converted := cleanup_t_uint160(identity(cleanup_t_uint160(value)))\n }\n\n function convert_t_uint160_to_t_address(value) -> converted {\n converted := convert_t_uint160_to_t_uint160(value)\n }\n\n function convert_t_contract$_ChainlinkClient_$861_to_t_address(value) -> converted {\n converted := convert_t_uint160_to_t_address(value)\n }\n\n function shift_left_96(value) -> newValue {\n newValue :=\n\n shl(96, value)\n\n }\n\n function leftAlign_t_uint160(value) -> aligned {\n aligned := shift_left_96(value)\n }\n\n function leftAlign_t_address(value) -> aligned {\n aligned := leftAlign_t_uint160(value)\n }\n\n function abi_encode_t_contract$_ChainlinkClient_$861_to_t_address_nonPadded_inplace_fromStack(value, pos) {\n mstore(pos, leftAlign_t_address(convert_t_contract$_ChainlinkClient_$861_to_t_address(value)))\n }\n\n function leftAlign_t_uint256(value) -> aligned {\n aligned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack(value, pos) {\n mstore(pos, leftAlign_t_uint256(cleanup_t_uint256(value)))\n }\n\n function abi_encode_tuple_packed_t_contract$_ChainlinkClient_$861_t_uint256__to_t_address_t_uint256__nonPadded_inplace_fromStack_reversed(pos , value1, value0) -> end {\n\n abi_encode_t_contract$_ChainlinkClient_$861_to_t_address_nonPadded_inplace_fromStack(value0, pos)\n pos := add(pos, 20)\n\n abi_encode_t_uint256_to_t_uint256_nonPadded_inplace_fromStack(value1, pos)\n pos := add(pos, 32)\n\n end := pos\n }\n\n function abi_encode_tuple_t_address_t_uint256_t_bytes_memory_ptr__to_t_address_t_uint256_t_bytes_memory_ptr__fromStack_reversed(headStart , value2, value1, value0) -> tail {\n tail := add(headStart, 96)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n mstore(add(headStart, 64), sub(tail, headStart))\n tail := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr_fromStack(value2, tail)\n\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function validator_revert_t_bool(value) {\n if iszero(eq(value, cleanup_t_bool(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_bool_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_bool(value)\n }\n\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_bool_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function store_literal_in_memory_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96(memPtr) {\n\n mstore(add(memPtr, 0), \"unable to transferAndCall to ora\")\n\n mstore(add(memPtr, 32), \"cle\")\n\n }\n\n function abi_encode_t_stringliteral_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n store_literal_in_memory_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_3b3efd608222b424e5ed8427d7f6a272069793e6a1f5930c93db5c7960c3ce96_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function panic_error_0x12() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n\n function mod_t_uint256(x, y) -> r {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n if iszero(y) { panic_error_0x12() }\n r := mod(x, y)\n }\n\n function checked_sub_t_uint256(x, y) -> diff {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n diff := sub(x, y)\n\n if gt(diff, x) { panic_error_0x11() }\n\n }\n\n}\n",
"id": 12,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100415760003560e01c8063042f2b65146100465780636537214714610062578063693ec85e14610080575b600080fd5b610060600480360381019061005b9190610e12565b6100b0565b005b61006a610216565b6040516100779190610ee2565b60405180910390f35b61009a60048036038101906100959190611039565b6102a4565b6040516100a79190611091565b60405180910390f35b816005600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610152576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101499061111e565b60405180910390fd5b6005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055807f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a60405160405180910390a26101be8261033e565b600990816101cc9190611354565b5060096040516101dc91906114b4565b6040518091039020837fd7068dd93b2b2c580d414706aabbf529878c2a8273cd02be55b47c38eb2179a160405160405180910390a3505050565b600980546102239061116d565b80601f016020809104026020016040519081016040528092919081815260200182805461024f9061116d565b801561029c5780601f106102715761010080835404028352916020019161029c565b820191906000526020600020905b81548152906001019060200180831161027f57829003601f168201915b505050505081565b6000806102bb6007543063042f2b6560e01b610541565b90506103076040518060400160405280600381526020017f676574000000000000000000000000000000000000000000000000000000000081525084836105729092919063ffffffff16565b610336600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826008546105a5565b915050919050565b60606000602067ffffffffffffffff81111561035d5761035c610f0e565b5b6040519080825280601f01601f19166020018201604052801561038f5781602001600182028036833780820191505090505b5090506000805b60208110156104655760008160086103ae91906114fa565b60026103ba919061166f565b8660001c6103c891906114fa565b60001b9050600060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036104005750610465565b80848381518110610414576104136116ba565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350828061044e906116e9565b93505050808061045d906116e9565b915050610396565b5060008167ffffffffffffffff81111561048257610481610f0e565b5b6040519080825280601f01601f1916602001820160405280156104b45781602001600182028036833780820191505090505b50905060005b82811015610535578381815181106104d5576104d46116ba565b5b602001015160f81c60f81b8282815181106104f3576104f26116ba565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808061052d906116e9565b9150506104ba565b50809350505050919050565b610549610d41565b610551610d41565b61056885858584610671909392919063ffffffff16565b9150509392505050565b61058982846080015161072190919063ffffffff16565b6105a081846080015161072190919063ffffffff16565b505050565b60008060045490506001816105ba9190611731565b6004819055506000634042994660e01b60008087600001513089604001518760018c60800151600001516040516024016105fb989796959493929190611845565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905061066686838684610746565b925050509392505050565b610679610d41565b61068985608001516101006108db565b508385600001818152505082856020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508185604001907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681525050849050949350505050565b61072e8260038351610945565b6107418183610aca90919063ffffffff16565b505050565b6000308460405160200161075b929190611979565b604051602081830303815290604052805190602001209050846005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550807fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af960405160405180910390a2600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634000aea08685856040518463ffffffff1660e01b8152600401610851939291906119a5565b6020604051808303816000875af1158015610870573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108949190611a1b565b6108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca90611aba565b60405180910390fd5b949350505050565b6108e3610dae565b60006020836108f29190611b09565b1461091e576020826109049190611b09565b60206109109190611b3a565b8261091b9190611731565b91505b81836020018181525050604051808452600081528281016020016040525082905092915050565b60178167ffffffffffffffff161161097c576109768160058460ff16901b60ff161784610aec90919063ffffffff16565b50610ac5565b60ff8167ffffffffffffffff16116109d2576109ab601860058460ff16901b1784610aec90919063ffffffff16565b506109cc8167ffffffffffffffff16600185610b0c9092919063ffffffff16565b50610ac4565b61ffff8167ffffffffffffffff1611610a2957610a02601960058460ff16901b1784610aec90919063ffffffff16565b50610a238167ffffffffffffffff16600285610b0c9092919063ffffffff16565b50610ac3565b63ffffffff8167ffffffffffffffff1611610a8257610a5b601a60058460ff16901b1784610aec90919063ffffffff16565b50610a7c8167ffffffffffffffff16600485610b0c9092919063ffffffff16565b50610ac2565b610a9f601b60058460ff16901b1784610aec90919063ffffffff16565b50610ac08167ffffffffffffffff16600885610b0c9092919063ffffffff16565b505b5b5b5b505050565b610ad2610dae565b610ae483846000015151848551610b2e565b905092915050565b610af4610dae565b610b048384600001515184610c1d565b905092915050565b610b14610dae565b610b25848560000151518585610c73565b90509392505050565b610b36610dae565b8251821115610b4457600080fd5b84602001518285610b559190611731565b1115610b8a57610b89856002610b7a88602001518887610b759190611731565b610d01565b610b8491906114fa565b610d1d565b5b600080865180518760208301019350808887011115610ba95787860182525b60208701925050505b60208410610bf05780518252602082610bcb9190611731565b9150602081610bda9190611731565b9050602084610be99190611b3a565b9350610bb2565b60006001856020036101000a03905080198251168184511681811785525050508692505050949350505050565b610c25610dae565b83602001518310610c4b57610c4a8460028660200151610c4591906114fa565b610d1d565b5b83518051602085830101848153818603610c66576001820183525b5050508390509392505050565b610c7b610dae565b84602001518483610c8c9190611731565b1115610cb457610cb38560028685610ca49190611731565b610cae91906114fa565b610d1d565b5b6000600183610100610cc6919061166f565b610cd09190611b3a565b90508551838682010185831982511617815281518588011115610cf35784870182525b505085915050949350505050565b600081831115610d1357829050610d17565b8190505b92915050565b600082600001519050610d3083836108db565b50610d3b8382610aca565b50505050565b6040518060a0016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200160008152602001610da8610dae565b81525090565b604051806040016040528060608152602001600081525090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b610def81610ddc565b8114610dfa57600080fd5b50565b600081359050610e0c81610de6565b92915050565b60008060408385031215610e2957610e28610dd2565b5b6000610e3785828601610dfd565b9250506020610e4885828601610dfd565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e8c578082015181840152602081019050610e71565b60008484015250505050565b6000601f19601f8301169050919050565b6000610eb482610e52565b610ebe8185610e5d565b9350610ece818560208601610e6e565b610ed781610e98565b840191505092915050565b60006020820190508181036000830152610efc8184610ea9565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610f4682610e98565b810181811067ffffffffffffffff82111715610f6557610f64610f0e565b5b80604052505050565b6000610f78610dc8565b9050610f848282610f3d565b919050565b600067ffffffffffffffff821115610fa457610fa3610f0e565b5b610fad82610e98565b9050602081019050919050565b82818337600083830152505050565b6000610fdc610fd784610f89565b610f6e565b905082815260208101848484011115610ff857610ff7610f09565b5b611003848285610fba565b509392505050565b600082601f8301126110205761101f610f04565b5b8135611030848260208601610fc9565b91505092915050565b60006020828403121561104f5761104e610dd2565b5b600082013567ffffffffffffffff81111561106d5761106c610dd7565b5b6110798482850161100b565b91505092915050565b61108b81610ddc565b82525050565b60006020820190506110a66000830184611082565b92915050565b7f536f75726365206d75737420626520746865206f7261636c65206f662074686560008201527f2072657175657374000000000000000000000000000000000000000000000000602082015250565b6000611108602883610e5d565b9150611113826110ac565b604082019050919050565b60006020820190508181036000830152611137816110fb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061118557607f821691505b6020821081036111985761119761113e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026112007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826111c3565b61120a86836111c3565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061125161124c61124784611222565b61122c565b611222565b9050919050565b6000819050919050565b61126b83611236565b61127f61127782611258565b8484546111d0565b825550505050565b600090565b611294611287565b61129f818484611262565b505050565b5b818110156112c3576112b860008261128c565b6001810190506112a5565b5050565b601f821115611308576112d98161119e565b6112e2846111b3565b810160208510156112f1578190505b6113056112fd856111b3565b8301826112a4565b50505b505050565b600082821c905092915050565b600061132b6000198460080261130d565b1980831691505092915050565b6000611344838361131a565b9150826002028217905092915050565b61135d82610e52565b67ffffffffffffffff81111561137657611375610f0e565b5b611380825461116d565b61138b8282856112c7565b600060209050601f8311600181146113be57600084156113ac578287015190505b6113b68582611338565b86555061141e565b601f1984166113cc8661119e565b60005b828110156113f4578489015182556001820191506020850194506020810190506113cf565b86831015611411578489015161140d601f89168261131a565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000815461143e8161116d565b6114488186611426565b945060018216600081146114635760018114611478576114ab565b60ff19831686528115158202860193506114ab565b6114818561119e565b60005b838110156114a357815481890152600182019150602081019050611484565b838801955050505b50505092915050565b60006114c08284611431565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061150582611222565b915061151083611222565b925082820261151e81611222565b91508282048414831517611535576115346114cb565b5b5092915050565b60008160011c9050919050565b6000808291508390505b60018511156115935780860481111561156f5761156e6114cb565b5b600185161561157e5780820291505b808102905061158c8561153c565b9450611553565b94509492505050565b6000826115ac5760019050611668565b816115ba5760009050611668565b81600181146115d057600281146115da57611609565b6001915050611668565b60ff8411156115ec576115eb6114cb565b5b8360020a915084821115611603576116026114cb565b5b50611668565b5060208310610133831016604e8410600b841016171561163e5782820a905083811115611639576116386114cb565b5b611668565b61164b8484846001611549565b92509050818404811115611662576116616114cb565b5b81810290505b9392505050565b600061167a82611222565b915061168583611222565b92506116b27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461159c565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006116f482611222565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611726576117256114cb565b5b600182019050919050565b600061173c82611222565b915061174783611222565b925082820190508082111561175f5761175e6114cb565b5b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061179082611765565b9050919050565b6117a081611785565b82525050565b6117af81611222565b82525050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6117ea816117b5565b82525050565b600081519050919050565b600082825260208201905092915050565b6000611817826117f0565b61182181856117fb565b9350611831818560208601610e6e565b61183a81610e98565b840191505092915050565b60006101008201905061185b600083018b611797565b611868602083018a6117a6565b6118756040830189611082565b6118826060830188611797565b61188f60808301876117e1565b61189c60a08301866117a6565b6118a960c08301856117a6565b81810360e08301526118bb818461180c565b90509998505050505050505050565b60006118e56118e06118db84611765565b61122c565b611765565b9050919050565b60006118f7826118ca565b9050919050565b6000611909826118ec565b9050919050565b60008160601b9050919050565b600061192882611910565b9050919050565b600061193a8261191d565b9050919050565b61195261194d826118fe565b61192f565b82525050565b6000819050919050565b61197361196e82611222565b611958565b82525050565b60006119858285611941565b6014820191506119958284611962565b6020820191508190509392505050565b60006060820190506119ba6000830186611797565b6119c760208301856117a6565b81810360408301526119d9818461180c565b9050949350505050565b60008115159050919050565b6119f8816119e3565b8114611a0357600080fd5b50565b600081519050611a15816119ef565b92915050565b600060208284031215611a3157611a30610dd2565b5b6000611a3f84828501611a06565b91505092915050565b7f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726160008201527f636c650000000000000000000000000000000000000000000000000000000000602082015250565b6000611aa4602383610e5d565b9150611aaf82611a48565b604082019050919050565b60006020820190508181036000830152611ad381611a97565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611b1482611222565b9150611b1f83611222565b925082611b2f57611b2e611ada565b5b828206905092915050565b6000611b4582611222565b9150611b5083611222565b9250828203905081811115611b6857611b676114cb565b5b9291505056fea2646970667358221220128fc6ddfbdc8de25a8994003c8b26db34cc373da36c622b5deeb7445cd3dd6a64736f6c63430008120033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x42F2B65 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x65372147 EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0x693EC85E EQ PUSH2 0x80 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x60 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x5B SWAP2 SWAP1 PUSH2 0xE12 JUMP JUMPDEST PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6A PUSH2 0x216 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x77 SWAP2 SWAP1 PUSH2 0xEE2 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x9A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x95 SWAP2 SWAP1 PUSH2 0x1039 JUMP JUMPDEST PUSH2 0x2A4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA7 SWAP2 SWAP1 PUSH2 0x1091 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST DUP2 PUSH1 0x5 PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x152 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x149 SWAP1 PUSH2 0x111E JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x5 PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 SSTORE DUP1 PUSH32 0x7CC135E0CEBB02C3480AE5D74D377283180A2601F8F644EDF7987B009316C63A PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH2 0x1BE DUP3 PUSH2 0x33E JUMP JUMPDEST PUSH1 0x9 SWAP1 DUP2 PUSH2 0x1CC SWAP2 SWAP1 PUSH2 0x1354 JUMP JUMPDEST POP PUSH1 0x9 PUSH1 0x40 MLOAD PUSH2 0x1DC SWAP2 SWAP1 PUSH2 0x14B4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 KECCAK256 DUP4 PUSH32 0xD7068DD93B2B2C580D414706AABBF529878C2A8273CD02BE55B47C38EB2179A1 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x9 DUP1 SLOAD PUSH2 0x223 SWAP1 PUSH2 0x116D 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 0x24F SWAP1 PUSH2 0x116D JUMP JUMPDEST DUP1 ISZERO PUSH2 0x29C JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x271 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x29C 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 0x27F JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x2BB PUSH1 0x7 SLOAD ADDRESS PUSH4 0x42F2B65 PUSH1 0xE0 SHL PUSH2 0x541 JUMP JUMPDEST SWAP1 POP PUSH2 0x307 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x6765740000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP5 DUP4 PUSH2 0x572 SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x336 PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH1 0x8 SLOAD PUSH2 0x5A5 JUMP JUMPDEST SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH1 0x20 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x35D JUMPI PUSH2 0x35C PUSH2 0xF0E JUMP JUMPDEST 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 0x38F JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP1 JUMPDEST PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x465 JUMPI PUSH1 0x0 DUP2 PUSH1 0x8 PUSH2 0x3AE SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH1 0x2 PUSH2 0x3BA SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST DUP7 PUSH1 0x0 SHR PUSH2 0x3C8 SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH1 0x0 SHL SWAP1 POP PUSH1 0x0 PUSH1 0xF8 SHL DUP2 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SUB PUSH2 0x400 JUMPI POP PUSH2 0x465 JUMP JUMPDEST DUP1 DUP5 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x414 JUMPI PUSH2 0x413 PUSH2 0x16BA JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP DUP3 DUP1 PUSH2 0x44E SWAP1 PUSH2 0x16E9 JUMP JUMPDEST SWAP4 POP POP POP DUP1 DUP1 PUSH2 0x45D SWAP1 PUSH2 0x16E9 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x396 JUMP JUMPDEST POP PUSH1 0x0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x482 JUMPI PUSH2 0x481 PUSH2 0xF0E JUMP JUMPDEST 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 0x4B4 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x535 JUMPI DUP4 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x4D5 JUMPI PUSH2 0x4D4 PUSH2 0x16BA JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD MLOAD PUSH1 0xF8 SHR PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x4F3 JUMPI PUSH2 0x4F2 PUSH2 0x16BA JUMP JUMPDEST JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH31 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP DUP1 DUP1 PUSH2 0x52D SWAP1 PUSH2 0x16E9 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x4BA JUMP JUMPDEST POP DUP1 SWAP4 POP POP POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x549 PUSH2 0xD41 JUMP JUMPDEST PUSH2 0x551 PUSH2 0xD41 JUMP JUMPDEST PUSH2 0x568 DUP6 DUP6 DUP6 DUP5 PUSH2 0x671 SWAP1 SWAP4 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x589 DUP3 DUP5 PUSH1 0x80 ADD MLOAD PUSH2 0x721 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x5A0 DUP2 DUP5 PUSH1 0x80 ADD MLOAD PUSH2 0x721 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x4 SLOAD SWAP1 POP PUSH1 0x1 DUP2 PUSH2 0x5BA SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST PUSH1 0x4 DUP2 SWAP1 SSTORE POP PUSH1 0x0 PUSH4 0x40429946 PUSH1 0xE0 SHL PUSH1 0x0 DUP1 DUP8 PUSH1 0x0 ADD MLOAD ADDRESS DUP10 PUSH1 0x40 ADD MLOAD DUP8 PUSH1 0x1 DUP13 PUSH1 0x80 ADD MLOAD PUSH1 0x0 ADD MLOAD PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x5FB SWAP9 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1845 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 DUP4 AND OR DUP4 MSTORE POP POP POP POP SWAP1 POP PUSH2 0x666 DUP7 DUP4 DUP7 DUP5 PUSH2 0x746 JUMP JUMPDEST SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x679 PUSH2 0xD41 JUMP JUMPDEST PUSH2 0x689 DUP6 PUSH1 0x80 ADD MLOAD PUSH2 0x100 PUSH2 0x8DB JUMP JUMPDEST POP DUP4 DUP6 PUSH1 0x0 ADD DUP2 DUP2 MSTORE POP POP DUP3 DUP6 PUSH1 0x20 ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP DUP2 DUP6 PUSH1 0x40 ADD SWAP1 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND SWAP1 DUP2 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE POP POP DUP5 SWAP1 POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x72E DUP3 PUSH1 0x3 DUP4 MLOAD PUSH2 0x945 JUMP JUMPDEST PUSH2 0x741 DUP2 DUP4 PUSH2 0xACA SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 ADDRESS DUP5 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x75B SWAP3 SWAP2 SWAP1 PUSH2 0x1979 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP DUP5 PUSH1 0x5 PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP1 PUSH32 0xB5E6E01E79F91267DC17B4E6314D5D4D03593D2CEEE0FBB452B750BD70EA5AF9 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x4000AEA0 DUP7 DUP6 DUP6 PUSH1 0x40 MLOAD DUP5 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x851 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x19A5 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x870 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x894 SWAP2 SWAP1 PUSH2 0x1A1B JUMP JUMPDEST PUSH2 0x8D3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8CA SWAP1 PUSH2 0x1ABA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0x8E3 PUSH2 0xDAE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP4 PUSH2 0x8F2 SWAP2 SWAP1 PUSH2 0x1B09 JUMP JUMPDEST EQ PUSH2 0x91E JUMPI PUSH1 0x20 DUP3 PUSH2 0x904 SWAP2 SWAP1 PUSH2 0x1B09 JUMP JUMPDEST PUSH1 0x20 PUSH2 0x910 SWAP2 SWAP1 PUSH2 0x1B3A JUMP JUMPDEST DUP3 PUSH2 0x91B SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST SWAP2 POP JUMPDEST DUP2 DUP4 PUSH1 0x20 ADD DUP2 DUP2 MSTORE POP POP PUSH1 0x40 MLOAD DUP1 DUP5 MSTORE PUSH1 0x0 DUP2 MSTORE DUP3 DUP2 ADD PUSH1 0x20 ADD PUSH1 0x40 MSTORE POP DUP3 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x17 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND GT PUSH2 0x97C JUMPI PUSH2 0x976 DUP2 PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL PUSH1 0xFF AND OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC5 JUMP JUMPDEST PUSH1 0xFF DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND GT PUSH2 0x9D2 JUMPI PUSH2 0x9AB PUSH1 0x18 PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0x9CC DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH1 0x1 DUP6 PUSH2 0xB0C SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC4 JUMP JUMPDEST PUSH2 0xFFFF DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND GT PUSH2 0xA29 JUMPI PUSH2 0xA02 PUSH1 0x19 PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xA23 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH1 0x2 DUP6 PUSH2 0xB0C SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC3 JUMP JUMPDEST PUSH4 0xFFFFFFFF DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND GT PUSH2 0xA82 JUMPI PUSH2 0xA5B PUSH1 0x1A PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xA7C DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH1 0x4 DUP6 PUSH2 0xB0C SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC2 JUMP JUMPDEST PUSH2 0xA9F PUSH1 0x1B PUSH1 0x5 DUP5 PUSH1 0xFF AND SWAP1 SHL OR DUP5 PUSH2 0xAEC SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP PUSH2 0xAC0 DUP2 PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH1 0x8 DUP6 PUSH2 0xB0C SWAP1 SWAP3 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST POP JUMPDEST JUMPDEST JUMPDEST JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0xAD2 PUSH2 0xDAE JUMP JUMPDEST PUSH2 0xAE4 DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 DUP6 MLOAD PUSH2 0xB2E JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xAF4 PUSH2 0xDAE JUMP JUMPDEST PUSH2 0xB04 DUP4 DUP5 PUSH1 0x0 ADD MLOAD MLOAD DUP5 PUSH2 0xC1D JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xB14 PUSH2 0xDAE JUMP JUMPDEST PUSH2 0xB25 DUP5 DUP6 PUSH1 0x0 ADD MLOAD MLOAD DUP6 DUP6 PUSH2 0xC73 JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xB36 PUSH2 0xDAE JUMP JUMPDEST DUP3 MLOAD DUP3 GT ISZERO PUSH2 0xB44 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP3 DUP6 PUSH2 0xB55 SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST GT ISZERO PUSH2 0xB8A JUMPI PUSH2 0xB89 DUP6 PUSH1 0x2 PUSH2 0xB7A DUP9 PUSH1 0x20 ADD MLOAD DUP9 DUP8 PUSH2 0xB75 SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST PUSH2 0xD01 JUMP JUMPDEST PUSH2 0xB84 SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH2 0xD1D JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP1 DUP7 MLOAD DUP1 MLOAD DUP8 PUSH1 0x20 DUP4 ADD ADD SWAP4 POP DUP1 DUP9 DUP8 ADD GT ISZERO PUSH2 0xBA9 JUMPI DUP8 DUP7 ADD DUP3 MSTORE JUMPDEST PUSH1 0x20 DUP8 ADD SWAP3 POP POP POP JUMPDEST PUSH1 0x20 DUP5 LT PUSH2 0xBF0 JUMPI DUP1 MLOAD DUP3 MSTORE PUSH1 0x20 DUP3 PUSH2 0xBCB SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP2 PUSH2 0xBDA SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP5 PUSH2 0xBE9 SWAP2 SWAP1 PUSH2 0x1B3A JUMP JUMPDEST SWAP4 POP PUSH2 0xBB2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP6 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB SWAP1 POP DUP1 NOT DUP3 MLOAD AND DUP2 DUP5 MLOAD AND DUP2 DUP2 OR DUP6 MSTORE POP POP POP DUP7 SWAP3 POP POP POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH2 0xC25 PUSH2 0xDAE JUMP JUMPDEST DUP4 PUSH1 0x20 ADD MLOAD DUP4 LT PUSH2 0xC4B JUMPI PUSH2 0xC4A DUP5 PUSH1 0x2 DUP7 PUSH1 0x20 ADD MLOAD PUSH2 0xC45 SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH2 0xD1D JUMP JUMPDEST JUMPDEST DUP4 MLOAD DUP1 MLOAD PUSH1 0x20 DUP6 DUP4 ADD ADD DUP5 DUP2 MSTORE8 DUP2 DUP7 SUB PUSH2 0xC66 JUMPI PUSH1 0x1 DUP3 ADD DUP4 MSTORE JUMPDEST POP POP POP DUP4 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xC7B PUSH2 0xDAE JUMP JUMPDEST DUP5 PUSH1 0x20 ADD MLOAD DUP5 DUP4 PUSH2 0xC8C SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST GT ISZERO PUSH2 0xCB4 JUMPI PUSH2 0xCB3 DUP6 PUSH1 0x2 DUP7 DUP6 PUSH2 0xCA4 SWAP2 SWAP1 PUSH2 0x1731 JUMP JUMPDEST PUSH2 0xCAE SWAP2 SWAP1 PUSH2 0x14FA JUMP JUMPDEST PUSH2 0xD1D JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP4 PUSH2 0x100 PUSH2 0xCC6 SWAP2 SWAP1 PUSH2 0x166F JUMP JUMPDEST PUSH2 0xCD0 SWAP2 SWAP1 PUSH2 0x1B3A JUMP JUMPDEST SWAP1 POP DUP6 MLOAD DUP4 DUP7 DUP3 ADD ADD DUP6 DUP4 NOT DUP3 MLOAD AND OR DUP2 MSTORE DUP2 MLOAD DUP6 DUP9 ADD GT ISZERO PUSH2 0xCF3 JUMPI DUP5 DUP8 ADD DUP3 MSTORE JUMPDEST POP POP DUP6 SWAP2 POP POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 DUP4 GT ISZERO PUSH2 0xD13 JUMPI DUP3 SWAP1 POP PUSH2 0xD17 JUMP JUMPDEST DUP2 SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x0 ADD MLOAD SWAP1 POP PUSH2 0xD30 DUP4 DUP4 PUSH2 0x8DB JUMP JUMPDEST POP PUSH2 0xD3B DUP4 DUP3 PUSH2 0xACA JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP1 NOT AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xDA8 PUSH2 0xDAE JUMP JUMPDEST DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xDEF DUP2 PUSH2 0xDDC JUMP JUMPDEST DUP2 EQ PUSH2 0xDFA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xE0C DUP2 PUSH2 0xDE6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xE29 JUMPI PUSH2 0xE28 PUSH2 0xDD2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xE37 DUP6 DUP3 DUP7 ADD PUSH2 0xDFD JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xE48 DUP6 DUP3 DUP7 ADD PUSH2 0xDFD JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xE8C JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xE71 JUMP JUMPDEST PUSH1 0x0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEB4 DUP3 PUSH2 0xE52 JUMP JUMPDEST PUSH2 0xEBE DUP2 DUP6 PUSH2 0xE5D JUMP JUMPDEST SWAP4 POP PUSH2 0xECE DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xE6E JUMP JUMPDEST PUSH2 0xED7 DUP2 PUSH2 0xE98 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xEFC DUP2 DUP5 PUSH2 0xEA9 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xF46 DUP3 PUSH2 0xE98 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0xF65 JUMPI PUSH2 0xF64 PUSH2 0xF0E JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xF78 PUSH2 0xDC8 JUMP JUMPDEST SWAP1 POP PUSH2 0xF84 DUP3 DUP3 PUSH2 0xF3D JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0xFA4 JUMPI PUSH2 0xFA3 PUSH2 0xF0E JUMP JUMPDEST JUMPDEST PUSH2 0xFAD DUP3 PUSH2 0xE98 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH1 0x0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xFDC PUSH2 0xFD7 DUP5 PUSH2 0xF89 JUMP JUMPDEST PUSH2 0xF6E JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0xFF8 JUMPI PUSH2 0xFF7 PUSH2 0xF09 JUMP JUMPDEST JUMPDEST PUSH2 0x1003 DUP5 DUP3 DUP6 PUSH2 0xFBA JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x1020 JUMPI PUSH2 0x101F PUSH2 0xF04 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1030 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0xFC9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x104F JUMPI PUSH2 0x104E PUSH2 0xDD2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x106D JUMPI PUSH2 0x106C PUSH2 0xDD7 JUMP JUMPDEST JUMPDEST PUSH2 0x1079 DUP5 DUP3 DUP6 ADD PUSH2 0x100B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x108B DUP2 PUSH2 0xDDC JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x10A6 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1082 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x536F75726365206D75737420626520746865206F7261636C65206F6620746865 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x2072657175657374000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1108 PUSH1 0x28 DUP4 PUSH2 0xE5D JUMP JUMPDEST SWAP2 POP PUSH2 0x1113 DUP3 PUSH2 0x10AC JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1137 DUP2 PUSH2 0x10FB JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x1185 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x1198 JUMPI PUSH2 0x1197 PUSH2 0x113E JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH2 0x1200 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x11C3 JUMP JUMPDEST PUSH2 0x120A DUP7 DUP4 PUSH2 0x11C3 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1251 PUSH2 0x124C PUSH2 0x1247 DUP5 PUSH2 0x1222 JUMP JUMPDEST PUSH2 0x122C JUMP JUMPDEST PUSH2 0x1222 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x126B DUP4 PUSH2 0x1236 JUMP JUMPDEST PUSH2 0x127F PUSH2 0x1277 DUP3 PUSH2 0x1258 JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x11D0 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH2 0x1294 PUSH2 0x1287 JUMP JUMPDEST PUSH2 0x129F DUP2 DUP5 DUP5 PUSH2 0x1262 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x12C3 JUMPI PUSH2 0x12B8 PUSH1 0x0 DUP3 PUSH2 0x128C JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x12A5 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x1308 JUMPI PUSH2 0x12D9 DUP2 PUSH2 0x119E JUMP JUMPDEST PUSH2 0x12E2 DUP5 PUSH2 0x11B3 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x12F1 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x1305 PUSH2 0x12FD DUP6 PUSH2 0x11B3 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x12A4 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x132B PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x130D JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1344 DUP4 DUP4 PUSH2 0x131A JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x135D DUP3 PUSH2 0xE52 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1376 JUMPI PUSH2 0x1375 PUSH2 0xF0E JUMP JUMPDEST JUMPDEST PUSH2 0x1380 DUP3 SLOAD PUSH2 0x116D JUMP JUMPDEST PUSH2 0x138B DUP3 DUP3 DUP6 PUSH2 0x12C7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x13BE JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x13AC JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x13B6 DUP6 DUP3 PUSH2 0x1338 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x141E JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x13CC DUP7 PUSH2 0x119E JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x13F4 JUMPI DUP5 DUP10 ADD MLOAD DUP3 SSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP6 ADD SWAP5 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x13CF JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x1411 JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x140D PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x131A JUMP JUMPDEST DUP4 SSTORE POP JUMPDEST PUSH1 0x1 PUSH1 0x2 DUP9 MUL ADD DUP9 SSTORE POP POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SLOAD PUSH2 0x143E DUP2 PUSH2 0x116D JUMP JUMPDEST PUSH2 0x1448 DUP2 DUP7 PUSH2 0x1426 JUMP JUMPDEST SWAP5 POP PUSH1 0x1 DUP3 AND PUSH1 0x0 DUP2 EQ PUSH2 0x1463 JUMPI PUSH1 0x1 DUP2 EQ PUSH2 0x1478 JUMPI PUSH2 0x14AB JUMP JUMPDEST PUSH1 0xFF NOT DUP4 AND DUP7 MSTORE DUP2 ISZERO ISZERO DUP3 MUL DUP7 ADD SWAP4 POP PUSH2 0x14AB JUMP JUMPDEST PUSH2 0x1481 DUP6 PUSH2 0x119E JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x14A3 JUMPI DUP2 SLOAD DUP2 DUP10 ADD MSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1484 JUMP JUMPDEST DUP4 DUP9 ADD SWAP6 POP POP POP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x14C0 DUP3 DUP5 PUSH2 0x1431 JUMP JUMPDEST SWAP2 POP DUP2 SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1505 DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1510 DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH2 0x151E DUP2 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH2 0x1535 JUMPI PUSH2 0x1534 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 SHR SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP2 POP DUP4 SWAP1 POP JUMPDEST PUSH1 0x1 DUP6 GT ISZERO PUSH2 0x1593 JUMPI DUP1 DUP7 DIV DUP2 GT ISZERO PUSH2 0x156F JUMPI PUSH2 0x156E PUSH2 0x14CB JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 AND ISZERO PUSH2 0x157E JUMPI DUP1 DUP3 MUL SWAP2 POP JUMPDEST DUP1 DUP2 MUL SWAP1 POP PUSH2 0x158C DUP6 PUSH2 0x153C JUMP JUMPDEST SWAP5 POP PUSH2 0x1553 JUMP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x15AC JUMPI PUSH1 0x1 SWAP1 POP PUSH2 0x1668 JUMP JUMPDEST DUP2 PUSH2 0x15BA JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x1668 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH2 0x15D0 JUMPI PUSH1 0x2 DUP2 EQ PUSH2 0x15DA JUMPI PUSH2 0x1609 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH2 0x1668 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH2 0x15EC JUMPI PUSH2 0x15EB PUSH2 0x14CB JUMP JUMPDEST JUMPDEST DUP4 PUSH1 0x2 EXP SWAP2 POP DUP5 DUP3 GT ISZERO PUSH2 0x1603 JUMPI PUSH2 0x1602 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST POP PUSH2 0x1668 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH2 0x163E JUMPI DUP3 DUP3 EXP SWAP1 POP DUP4 DUP2 GT ISZERO PUSH2 0x1639 JUMPI PUSH2 0x1638 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST PUSH2 0x1668 JUMP JUMPDEST PUSH2 0x164B DUP5 DUP5 DUP5 PUSH1 0x1 PUSH2 0x1549 JUMP JUMPDEST SWAP3 POP SWAP1 POP DUP2 DUP5 DIV DUP2 GT ISZERO PUSH2 0x1662 JUMPI PUSH2 0x1661 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST DUP2 DUP2 MUL SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x167A DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1685 DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP PUSH2 0x16B2 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP5 PUSH2 0x159C JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x16F4 DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x1726 JUMPI PUSH2 0x1725 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x173C DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1747 DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x175F JUMPI PUSH2 0x175E PUSH2 0x14CB JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1790 DUP3 PUSH2 0x1765 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x17A0 DUP2 PUSH2 0x1785 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x17AF DUP2 PUSH2 0x1222 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x17EA DUP2 PUSH2 0x17B5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1817 DUP3 PUSH2 0x17F0 JUMP JUMPDEST PUSH2 0x1821 DUP2 DUP6 PUSH2 0x17FB JUMP JUMPDEST SWAP4 POP PUSH2 0x1831 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xE6E JUMP JUMPDEST PUSH2 0x183A DUP2 PUSH2 0xE98 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x100 DUP3 ADD SWAP1 POP PUSH2 0x185B PUSH1 0x0 DUP4 ADD DUP12 PUSH2 0x1797 JUMP JUMPDEST PUSH2 0x1868 PUSH1 0x20 DUP4 ADD DUP11 PUSH2 0x17A6 JUMP JUMPDEST PUSH2 0x1875 PUSH1 0x40 DUP4 ADD DUP10 PUSH2 0x1082 JUMP JUMPDEST PUSH2 0x1882 PUSH1 0x60 DUP4 ADD DUP9 PUSH2 0x1797 JUMP JUMPDEST PUSH2 0x188F PUSH1 0x80 DUP4 ADD DUP8 PUSH2 0x17E1 JUMP JUMPDEST PUSH2 0x189C PUSH1 0xA0 DUP4 ADD DUP7 PUSH2 0x17A6 JUMP JUMPDEST PUSH2 0x18A9 PUSH1 0xC0 DUP4 ADD DUP6 PUSH2 0x17A6 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0xE0 DUP4 ADD MSTORE PUSH2 0x18BB DUP2 DUP5 PUSH2 0x180C JUMP JUMPDEST SWAP1 POP SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18E5 PUSH2 0x18E0 PUSH2 0x18DB DUP5 PUSH2 0x1765 JUMP JUMPDEST PUSH2 0x122C JUMP JUMPDEST PUSH2 0x1765 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x18F7 DUP3 PUSH2 0x18CA JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1909 DUP3 PUSH2 0x18EC JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x60 SHL SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1928 DUP3 PUSH2 0x1910 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x193A DUP3 PUSH2 0x191D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1952 PUSH2 0x194D DUP3 PUSH2 0x18FE JUMP JUMPDEST PUSH2 0x192F JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1973 PUSH2 0x196E DUP3 PUSH2 0x1222 JUMP JUMPDEST PUSH2 0x1958 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1985 DUP3 DUP6 PUSH2 0x1941 JUMP JUMPDEST PUSH1 0x14 DUP3 ADD SWAP2 POP PUSH2 0x1995 DUP3 DUP5 PUSH2 0x1962 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP2 POP DUP2 SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 ADD SWAP1 POP PUSH2 0x19BA PUSH1 0x0 DUP4 ADD DUP7 PUSH2 0x1797 JUMP JUMPDEST PUSH2 0x19C7 PUSH1 0x20 DUP4 ADD DUP6 PUSH2 0x17A6 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x19D9 DUP2 DUP5 PUSH2 0x180C JUMP JUMPDEST SWAP1 POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x19F8 DUP2 PUSH2 0x19E3 JUMP JUMPDEST DUP2 EQ PUSH2 0x1A03 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0x1A15 DUP2 PUSH2 0x19EF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1A31 JUMPI PUSH2 0x1A30 PUSH2 0xDD2 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1A3F DUP5 DUP3 DUP6 ADD PUSH2 0x1A06 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x756E61626C6520746F207472616E73666572416E6443616C6C20746F206F7261 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x636C650000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1AA4 PUSH1 0x23 DUP4 PUSH2 0xE5D JUMP JUMPDEST SWAP2 POP PUSH2 0x1AAF DUP3 PUSH2 0x1A48 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x1AD3 DUP2 PUSH2 0x1A97 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1B14 DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1B1F DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP DUP3 PUSH2 0x1B2F JUMPI PUSH2 0x1B2E PUSH2 0x1ADA JUMP JUMPDEST JUMPDEST DUP3 DUP3 MOD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1B45 DUP3 PUSH2 0x1222 JUMP JUMPDEST SWAP2 POP PUSH2 0x1B50 DUP4 PUSH2 0x1222 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 SUB SWAP1 POP DUP2 DUP2 GT ISZERO PUSH2 0x1B68 JUMPI PUSH2 0x1B67 PUSH2 0x14CB JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SLT DUP16 0xC6 0xDD 0xFB 0xDC DUP14 0xE2 GAS DUP10 SWAP5 STOP EXTCODECOPY DUP12 0x26 0xDB CALLVALUE 0xCC CALLDATACOPY RETURNDATASIZE LOG3 PUSH13 0x622B5DEEB7445CD3DD6A64736F PUSH13 0x63430008120033000000000000 ",
"sourceMap": "123:2086:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1122:204;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;434:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;831:283;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1122:204;1210:10;11663:17:1;:28;11681:9;11663:28;;;;;;;;;;;;;;;;;;;;;11649:42;;:10;:42;;;11641:95;;;;;;;;;;;;:::i;:::-;;;;;;;;;11749:17;:28;11767:9;11749:28;;;;;;;;;;;;11742:35;;;;;;;;;;;11807:9;11788:29;;;;;;;;;;1242:24:11::1;1258:7;1242:15;:24::i;:::-;1233:6;:33;;;;;;:::i;:::-;;1311:6;1282:36;;;;;;:::i;:::-;;;;;;;;1299:10;1282:36;;;;;;;;;;1122:204:::0;;;:::o;434:20::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;831:283::-;879:17;909:32;944:66;966:5;;981:4;988:21;;;944;:66::i;:::-;909:101;;1021:23;;;;;;;;;;;;;;;;;;1040:3;1021:7;:11;;:23;;;;;:::i;:::-;1062:44;1085:6;;;;;;;;;;;1093:7;1102:3;;1062:22;:44::i;:::-;1055:51;;;831:283;;;:::o;1575:631::-;1638:20;1671:22;1706:2;1696:13;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:38;;1720:14;1756:9;1751:247;1775:2;1771:1;:6;1751:247;;;1799:11;1856:1;1852;:5;;;;:::i;:::-;1846:1;:12;;;;:::i;:::-;1836:6;1828:15;;:30;;;;:::i;:::-;1820:39;;1799:61;;1887:1;1879:9;;:4;:9;;;;1875:55;;1909:5;;;1875:55;1959:4;1944:9;1954:1;1944:12;;;;;;;;:::i;:::-;;;;;:19;;;;;;;;;;;1978:8;;;;;:::i;:::-;;;;1784:214;1779:3;;;;;:::i;:::-;;;;1751:247;;;;2010:24;2047:6;2037:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2010:44;;2070:9;2065:93;2089:6;2085:1;:10;2065:93;;;2134:9;2144:1;2134:12;;;;;;;;:::i;:::-;;;;;;;;;;2117:11;2129:1;2117:14;;;;;;;;:::i;:::-;;;;;:29;;;;;;;;;;;2097:3;;;;;:::i;:::-;;;;2065:93;;;;2186:11;2170:28;;1660:546;;;1575:631;;;:::o;1850:283:1:-;1992:24;;:::i;:::-;2024:28;;:::i;:::-;2065:63;2080:6;2088:12;2102:25;2065:3;:14;;:63;;;;;;:::i;:::-;2058:70;;;1850:283;;;;;:::o;1951:175:0:-;2061:26;2083:3;2061:4;:8;;;:21;;:26;;;;:::i;:::-;2093:28;2115:5;2093:4;:8;;;:21;;:28;;;;:::i;:::-;1951:175;;;:::o;3687:756:1:-;3823:17;3848:13;3864:14;;3848:30;;3909:1;3901:5;:9;;;;:::i;:::-;3884:14;:26;;;;3916:27;3976:48;;;784:1;728;4245:3;:6;;;4267:4;4280:3;:22;;;4310:5;837:1;4350:3;:7;;;:11;;;3946:421;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3916:451;;4380:58;4392:13;4407:5;4414:7;4423:14;4380:11;:58::i;:::-;4373:65;;;;3687:756;;;;;:::o;987:351:0:-;1129:24;;:::i;:::-;1161:49;1182:4;:8;;;361:3;1161:20;:49::i;:::-;;1226:5;1216:4;:7;;:15;;;;;1260:12;1237:4;:20;;:35;;;;;;;;;;;1304:12;1278:4;:23;;:38;;;;;;;;;;;;;1329:4;1322:11;;987:351;;;;;;:::o;2777:204:9:-;2875:71;2894:3;383:1;2931:5;2925:19;2875:18;:71::i;:::-;2952:24;2969:5;2952:3;:10;;:24;;;;:::i;:::-;;2777:204;;:::o;6629:430:1:-;6771:17;6835:4;6841:5;6818:29;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6808:40;;;;;;6796:52;;6885:13;6854:17;:28;6872:9;6854:28;;;;;;;;;;;;:44;;;;;;;;;;;;;;;;;;6928:9;6909:29;;;;;;;;;;6952:6;;;;;;;;;;;:22;;;6975:13;6990:7;6999:14;6952:62;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6944:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;6629:430;;;;;;:::o;1001:399:8:-;1075:13;;:::i;:::-;1117:1;1111:2;1100:8;:13;;;;:::i;:::-;:18;1096:71;;1157:2;1146:8;:13;;;;:::i;:::-;1140:2;:20;;;;:::i;:::-;1128:32;;;;;:::i;:::-;;;1096:71;1229:8;1214:3;:12;;:23;;;;;1277:4;1271:11;1301:3;1296;1289:16;1324:1;1319:3;1312:14;1363:8;1358:3;1354:18;1350:2;1346:27;1340:4;1333:41;1252:128;1392:3;1385:10;;1001:399;;;;:::o;682:625:9:-;803:2;794:5;:11;;;791:512;;815:44;852:5;847:1;838:5;:10;;;;837:20;;;815:3;:15;;:44;;;;:::i;:::-;;791:512;;;885:4;876:5;:13;;;872:431;;899:41;936:2;931:1;922:5;:10;;;;921:17;899:3;:15;;:41;;;;:::i;:::-;;948:23;962:5;948:23;;969:1;948:3;:13;;:23;;;;;:::i;:::-;;872:431;;;997:6;988:5;:15;;;984:319;;1013:41;1050:2;1045:1;1036:5;:10;;;;1035:17;1013:3;:15;;:41;;;;:::i;:::-;;1062:23;1076:5;1062:23;;1083:1;1062:3;:13;;:23;;;;;:::i;:::-;;984:319;;;1111:10;1102:5;:19;;;1098:205;;1131:41;1168:2;1163:1;1154:5;:10;;;;1153:17;1131:3;:15;;:41;;;;:::i;:::-;;1180:23;1194:5;1180:23;;1201:1;1180:3;:13;;:23;;;;;:::i;:::-;;1098:205;;;1224:41;1261:2;1256:1;1247:5;:10;;;;1246:17;1224:3;:15;;:41;;;;:::i;:::-;;1273:23;1287:5;1273:23;;1294:1;1273:3;:13;;:23;;;;;:::i;:::-;;1098:205;984:319;872:431;791:512;682:625;;;:::o;4692:155:8:-;4769:13;;:::i;:::-;4797:45;4803:3;4808;:7;;;:14;4824:4;4830;:11;4797:5;:45::i;:::-;4790:52;;4692:155;;;;:::o;6040:145::-;6115:13;;:::i;:::-;6143:37;6154:3;6159;:7;;;:14;6175:4;6143:10;:37::i;:::-;6136:44;;6040:145;;;;:::o;9894:177::-;9998:13;;:::i;:::-;10026:40;10035:3;10040;:7;;;:14;10056:4;10062:3;10026:8;:40::i;:::-;10019:47;;9894:177;;;;;:::o;2745:1210::-;2867:13;;:::i;:::-;2903:4;:11;2896:3;:18;;2888:27;;;;;;2938:3;:12;;;2932:3;2926;:9;;;;:::i;:::-;:24;2922:90;;;2960:45;2967:3;3003:1;2972:28;2976:3;:12;;;2996:3;2990;:9;;;;:::i;:::-;2972:3;:28::i;:::-;:32;;;;:::i;:::-;2960:6;:45::i;:::-;2922:90;3018:12;3036:11;3133:3;3127:10;3204:6;3198:13;3320:3;3315:2;3307:6;3303:15;3299:25;3291:33;;3404:6;3398:3;3393;3389:13;3386:25;3383:76;;;3446:3;3441;3437:13;3429:6;3422:29;3383:76;3483:2;3477:4;3473:13;3466:20;;3062:430;;3544:129;3558:2;3551:3;:9;3544:129;;3619:3;3613:10;3607:4;3600:24;3647:2;3639:10;;;;;:::i;:::-;;;3664:2;3657:9;;;;;:::i;:::-;;;3569:2;3562:9;;;;;:::i;:::-;;;3544:129;;;3725:12;3760:1;3752:3;3747:2;:8;3741:3;:15;3740:21;3725:36;;3823:4;3819:9;3813:3;3807:10;3803:26;3871:4;3864;3858:11;3854:22;3911:7;3901:8;3898:21;3892:4;3885:35;3778:150;;;3947:3;3940:10;;;;2745:1210;;;;;;:::o;5148:639::-;5251:13;;:::i;:::-;5283:3;:12;;;5276:3;:19;5272:69;;5305:29;5312:3;5332:1;5317:3;:12;;;:16;;;;:::i;:::-;5305:6;:29::i;:::-;5272:69;5427:3;5421:10;5498:6;5492:13;5610:2;5604:3;5596:6;5592:16;5588:25;5634:4;5628;5620:19;5705:6;5700:3;5697:15;5694:67;;5750:1;5742:6;5738:14;5730:6;5723:30;5694:67;5356:411;;;5779:3;5772:10;;5148:639;;;;;:::o;8974:675::-;9093:13;;:::i;:::-;9130:3;:12;;;9124:3;9118;:9;;;;:::i;:::-;:24;9114:73;;;9152:28;9159:3;9178:1;9171:3;9165;:9;;;;:::i;:::-;9164:15;;;;:::i;:::-;9152:6;:28::i;:::-;9114:73;9193:12;9221:1;9214:3;9209;:8;;;;:::i;:::-;9208:14;;;;:::i;:::-;9193:29;;9308:3;9302:10;9423:3;9417;9409:6;9405:16;9401:26;9479:4;9471;9467:9;9460:4;9454:11;9450:27;9447:37;9441:4;9434:51;9567:6;9561:13;9555:3;9550;9546:13;9543:32;9540:83;;;9610:3;9605;9601:13;9593:6;9586:29;9540:83;9237:392;;9641:3;9634:10;;;8974:675;;;;;;:::o;1961:124::-;2018:7;2041:1;2037;:5;2033:34;;;2059:1;2052:8;;;;2033:34;2079:1;2072:8;;1961:124;;;;;:::o;1801:156::-;1873:19;1895:3;:7;;;1873:29;;1908:19;1913:3;1918:8;1908:4;:19::i;:::-;;1933;1940:3;1945:6;1933;:19::i;:::-;;1867:90;1801:156;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;7:75:12:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:474::-;758:6;766;815:2;803:9;794:7;790:23;786:32;783:119;;;821:79;;:::i;:::-;783:119;941:1;966:53;1011:7;1002:6;991:9;987:22;966:53;:::i;:::-;956:63;;912:117;1068:2;1094:53;1139:7;1130:6;1119:9;1115:22;1094:53;:::i;:::-;1084:63;;1039:118;690:474;;;;;:::o;1170:99::-;1222:6;1256:5;1250:12;1240:22;;1170:99;;;:::o;1275:169::-;1359:11;1393:6;1388:3;1381:19;1433:4;1428:3;1424:14;1409:29;;1275:169;;;;:::o;1450:246::-;1531:1;1541:113;1555:6;1552:1;1549:13;1541:113;;;1640:1;1635:3;1631:11;1625:18;1621:1;1616:3;1612:11;1605:39;1577:2;1574:1;1570:10;1565:15;;1541:113;;;1688:1;1679:6;1674:3;1670:16;1663:27;1512:184;1450:246;;;:::o;1702:102::-;1743:6;1794:2;1790:7;1785:2;1778:5;1774:14;1770:28;1760:38;;1702:102;;;:::o;1810:377::-;1898:3;1926:39;1959:5;1926:39;:::i;:::-;1981:71;2045:6;2040:3;1981:71;:::i;:::-;1974:78;;2061:65;2119:6;2114:3;2107:4;2100:5;2096:16;2061:65;:::i;:::-;2151:29;2173:6;2151:29;:::i;:::-;2146:3;2142:39;2135:46;;1902:285;1810:377;;;;:::o;2193:313::-;2306:4;2344:2;2333:9;2329:18;2321:26;;2393:9;2387:4;2383:20;2379:1;2368:9;2364:17;2357:47;2421:78;2494:4;2485:6;2421:78;:::i;:::-;2413:86;;2193:313;;;;:::o;2512:117::-;2621:1;2618;2611:12;2635:117;2744:1;2741;2734:12;2758:180;2806:77;2803:1;2796:88;2903:4;2900:1;2893:15;2927:4;2924:1;2917:15;2944:281;3027:27;3049:4;3027:27;:::i;:::-;3019:6;3015:40;3157:6;3145:10;3142:22;3121:18;3109:10;3106:34;3103:62;3100:88;;;3168:18;;:::i;:::-;3100:88;3208:10;3204:2;3197:22;2987:238;2944:281;;:::o;3231:129::-;3265:6;3292:20;;:::i;:::-;3282:30;;3321:33;3349:4;3341:6;3321:33;:::i;:::-;3231:129;;;:::o;3366:308::-;3428:4;3518:18;3510:6;3507:30;3504:56;;;3540:18;;:::i;:::-;3504:56;3578:29;3600:6;3578:29;:::i;:::-;3570:37;;3662:4;3656;3652:15;3644:23;;3366:308;;;:::o;3680:146::-;3777:6;3772:3;3767;3754:30;3818:1;3809:6;3804:3;3800:16;3793:27;3680:146;;;:::o;3832:425::-;3910:5;3935:66;3951:49;3993:6;3951:49;:::i;:::-;3935:66;:::i;:::-;3926:75;;4024:6;4017:5;4010:21;4062:4;4055:5;4051:16;4100:3;4091:6;4086:3;4082:16;4079:25;4076:112;;;4107:79;;:::i;:::-;4076:112;4197:54;4244:6;4239:3;4234;4197:54;:::i;:::-;3916:341;3832:425;;;;;:::o;4277:340::-;4333:5;4382:3;4375:4;4367:6;4363:17;4359:27;4349:122;;4390:79;;:::i;:::-;4349:122;4507:6;4494:20;4532:79;4607:3;4599:6;4592:4;4584:6;4580:17;4532:79;:::i;:::-;4523:88;;4339:278;4277:340;;;;:::o;4623:509::-;4692:6;4741:2;4729:9;4720:7;4716:23;4712:32;4709:119;;;4747:79;;:::i;:::-;4709:119;4895:1;4884:9;4880:17;4867:31;4925:18;4917:6;4914:30;4911:117;;;4947:79;;:::i;:::-;4911:117;5052:63;5107:7;5098:6;5087:9;5083:22;5052:63;:::i;:::-;5042:73;;4838:287;4623:509;;;;:::o;5138:118::-;5225:24;5243:5;5225:24;:::i;:::-;5220:3;5213:37;5138:118;;:::o;5262:222::-;5355:4;5393:2;5382:9;5378:18;5370:26;;5406:71;5474:1;5463:9;5459:17;5450:6;5406:71;:::i;:::-;5262:222;;;;:::o;5490:227::-;5630:34;5626:1;5618:6;5614:14;5607:58;5699:10;5694:2;5686:6;5682:15;5675:35;5490:227;:::o;5723:366::-;5865:3;5886:67;5950:2;5945:3;5886:67;:::i;:::-;5879:74;;5962:93;6051:3;5962:93;:::i;:::-;6080:2;6075:3;6071:12;6064:19;;5723:366;;;:::o;6095:419::-;6261:4;6299:2;6288:9;6284:18;6276:26;;6348:9;6342:4;6338:20;6334:1;6323:9;6319:17;6312:47;6376:131;6502:4;6376:131;:::i;:::-;6368:139;;6095:419;;;:::o;6520:180::-;6568:77;6565:1;6558:88;6665:4;6662:1;6655:15;6689:4;6686:1;6679:15;6706:320;6750:6;6787:1;6781:4;6777:12;6767:22;;6834:1;6828:4;6824:12;6855:18;6845:81;;6911:4;6903:6;6899:17;6889:27;;6845:81;6973:2;6965:6;6962:14;6942:18;6939:38;6936:84;;6992:18;;:::i;:::-;6936:84;6757:269;6706:320;;;:::o;7032:141::-;7081:4;7104:3;7096:11;;7127:3;7124:1;7117:14;7161:4;7158:1;7148:18;7140:26;;7032:141;;;:::o;7179:93::-;7216:6;7263:2;7258;7251:5;7247:14;7243:23;7233:33;;7179:93;;;:::o;7278:107::-;7322:8;7372:5;7366:4;7362:16;7341:37;;7278:107;;;;:::o;7391:393::-;7460:6;7510:1;7498:10;7494:18;7533:97;7563:66;7552:9;7533:97;:::i;:::-;7651:39;7681:8;7670:9;7651:39;:::i;:::-;7639:51;;7723:4;7719:9;7712:5;7708:21;7699:30;;7772:4;7762:8;7758:19;7751:5;7748:30;7738:40;;7467:317;;7391:393;;;;;:::o;7790:77::-;7827:7;7856:5;7845:16;;7790:77;;;:::o;7873:60::-;7901:3;7922:5;7915:12;;7873:60;;;:::o;7939:142::-;7989:9;8022:53;8040:34;8049:24;8067:5;8049:24;:::i;:::-;8040:34;:::i;:::-;8022:53;:::i;:::-;8009:66;;7939:142;;;:::o;8087:75::-;8130:3;8151:5;8144:12;;8087:75;;;:::o;8168:269::-;8278:39;8309:7;8278:39;:::i;:::-;8339:91;8388:41;8412:16;8388:41;:::i;:::-;8380:6;8373:4;8367:11;8339:91;:::i;:::-;8333:4;8326:105;8244:193;8168:269;;;:::o;8443:73::-;8488:3;8443:73;:::o;8522:189::-;8599:32;;:::i;:::-;8640:65;8698:6;8690;8684:4;8640:65;:::i;:::-;8575:136;8522:189;;:::o;8717:186::-;8777:120;8794:3;8787:5;8784:14;8777:120;;;8848:39;8885:1;8878:5;8848:39;:::i;:::-;8821:1;8814:5;8810:13;8801:22;;8777:120;;;8717:186;;:::o;8909:543::-;9010:2;9005:3;9002:11;8999:446;;;9044:38;9076:5;9044:38;:::i;:::-;9128:29;9146:10;9128:29;:::i;:::-;9118:8;9114:44;9311:2;9299:10;9296:18;9293:49;;;9332:8;9317:23;;9293:49;9355:80;9411:22;9429:3;9411:22;:::i;:::-;9401:8;9397:37;9384:11;9355:80;:::i;:::-;9014:431;;8999:446;8909:543;;;:::o;9458:117::-;9512:8;9562:5;9556:4;9552:16;9531:37;;9458:117;;;;:::o;9581:169::-;9625:6;9658:51;9706:1;9702:6;9694:5;9691:1;9687:13;9658:51;:::i;:::-;9654:56;9739:4;9733;9729:15;9719:25;;9632:118;9581:169;;;;:::o;9755:295::-;9831:4;9977:29;10002:3;9996:4;9977:29;:::i;:::-;9969:37;;10039:3;10036:1;10032:11;10026:4;10023:21;10015:29;;9755:295;;;;:::o;10055:1395::-;10172:37;10205:3;10172:37;:::i;:::-;10274:18;10266:6;10263:30;10260:56;;;10296:18;;:::i;:::-;10260:56;10340:38;10372:4;10366:11;10340:38;:::i;:::-;10425:67;10485:6;10477;10471:4;10425:67;:::i;:::-;10519:1;10543:4;10530:17;;10575:2;10567:6;10564:14;10592:1;10587:618;;;;11249:1;11266:6;11263:77;;;11315:9;11310:3;11306:19;11300:26;11291:35;;11263:77;11366:67;11426:6;11419:5;11366:67;:::i;:::-;11360:4;11353:81;11222:222;10557:887;;10587:618;10639:4;10635:9;10627:6;10623:22;10673:37;10705:4;10673:37;:::i;:::-;10732:1;10746:208;10760:7;10757:1;10754:14;10746:208;;;10839:9;10834:3;10830:19;10824:26;10816:6;10809:42;10890:1;10882:6;10878:14;10868:24;;10937:2;10926:9;10922:18;10909:31;;10783:4;10780:1;10776:12;10771:17;;10746:208;;;10982:6;10973:7;10970:19;10967:179;;;11040:9;11035:3;11031:19;11025:26;11083:48;11125:4;11117:6;11113:17;11102:9;11083:48;:::i;:::-;11075:6;11068:64;10990:156;10967:179;11192:1;11188;11180:6;11176:14;11172:22;11166:4;11159:36;10594:611;;;10557:887;;10147:1303;;;10055:1395;;:::o;11456:148::-;11558:11;11595:3;11580:18;;11456:148;;;;:::o;11634:874::-;11737:3;11774:5;11768:12;11803:36;11829:9;11803:36;:::i;:::-;11855:89;11937:6;11932:3;11855:89;:::i;:::-;11848:96;;11975:1;11964:9;11960:17;11991:1;11986:166;;;;12166:1;12161:341;;;;11953:549;;11986:166;12070:4;12066:9;12055;12051:25;12046:3;12039:38;12132:6;12125:14;12118:22;12110:6;12106:35;12101:3;12097:45;12090:52;;11986:166;;12161:341;12228:38;12260:5;12228:38;:::i;:::-;12288:1;12302:154;12316:6;12313:1;12310:13;12302:154;;;12390:7;12384:14;12380:1;12375:3;12371:11;12364:35;12440:1;12431:7;12427:15;12416:26;;12338:4;12335:1;12331:12;12326:17;;12302:154;;;12485:6;12480:3;12476:16;12469:23;;12168:334;;11953:549;;11741:767;;11634:874;;;;:::o;12514:269::-;12643:3;12665:92;12753:3;12744:6;12665:92;:::i;:::-;12658:99;;12774:3;12767:10;;12514:269;;;;:::o;12789:180::-;12837:77;12834:1;12827:88;12934:4;12931:1;12924:15;12958:4;12955:1;12948:15;12975:410;13015:7;13038:20;13056:1;13038:20;:::i;:::-;13033:25;;13072:20;13090:1;13072:20;:::i;:::-;13067:25;;13127:1;13124;13120:9;13149:30;13167:11;13149:30;:::i;:::-;13138:41;;13328:1;13319:7;13315:15;13312:1;13309:22;13289:1;13282:9;13262:83;13239:139;;13358:18;;:::i;:::-;13239:139;13023:362;12975:410;;;;:::o;13391:102::-;13433:8;13480:5;13477:1;13473:13;13452:34;;13391:102;;;:::o;13499:848::-;13560:5;13567:4;13591:6;13582:15;;13615:5;13606:14;;13629:712;13650:1;13640:8;13637:15;13629:712;;;13745:4;13740:3;13736:14;13730:4;13727:24;13724:50;;;13754:18;;:::i;:::-;13724:50;13804:1;13794:8;13790:16;13787:451;;;14219:4;14212:5;14208:16;14199:25;;13787:451;14269:4;14263;14259:15;14251:23;;14299:32;14322:8;14299:32;:::i;:::-;14287:44;;13629:712;;;13499:848;;;;;;;:::o;14353:1073::-;14407:5;14598:8;14588:40;;14619:1;14610:10;;14621:5;;14588:40;14647:4;14637:36;;14664:1;14655:10;;14666:5;;14637:36;14733:4;14781:1;14776:27;;;;14817:1;14812:191;;;;14726:277;;14776:27;14794:1;14785:10;;14796:5;;;14812:191;14857:3;14847:8;14844:17;14841:43;;;14864:18;;:::i;:::-;14841:43;14913:8;14910:1;14906:16;14897:25;;14948:3;14941:5;14938:14;14935:40;;;14955:18;;:::i;:::-;14935:40;14988:5;;;14726:277;;15112:2;15102:8;15099:16;15093:3;15087:4;15084:13;15080:36;15062:2;15052:8;15049:16;15044:2;15038:4;15035:12;15031:35;15015:111;15012:246;;;15168:8;15162:4;15158:19;15149:28;;15203:3;15196:5;15193:14;15190:40;;;15210:18;;:::i;:::-;15190:40;15243:5;;15012:246;15283:42;15321:3;15311:8;15305:4;15302:1;15283:42;:::i;:::-;15268:57;;;;15357:4;15352:3;15348:14;15341:5;15338:25;15335:51;;;15366:18;;:::i;:::-;15335:51;15415:4;15408:5;15404:16;15395:25;;14353:1073;;;;;;:::o;15432:285::-;15492:5;15516:23;15534:4;15516:23;:::i;:::-;15508:31;;15560:27;15578:8;15560:27;:::i;:::-;15548:39;;15606:104;15643:66;15633:8;15627:4;15606:104;:::i;:::-;15597:113;;15432:285;;;;:::o;15723:180::-;15771:77;15768:1;15761:88;15868:4;15865:1;15858:15;15892:4;15889:1;15882:15;15909:233;15948:3;15971:24;15989:5;15971:24;:::i;:::-;15962:33;;16017:66;16010:5;16007:77;16004:103;;16087:18;;:::i;:::-;16004:103;16134:1;16127:5;16123:13;16116:20;;15909:233;;;:::o;16148:191::-;16188:3;16207:20;16225:1;16207:20;:::i;:::-;16202:25;;16241:20;16259:1;16241:20;:::i;:::-;16236:25;;16284:1;16281;16277:9;16270:16;;16305:3;16302:1;16299:10;16296:36;;;16312:18;;:::i;:::-;16296:36;16148:191;;;;:::o;16345:126::-;16382:7;16422:42;16415:5;16411:54;16400:65;;16345:126;;;:::o;16477:96::-;16514:7;16543:24;16561:5;16543:24;:::i;:::-;16532:35;;16477:96;;;:::o;16579:118::-;16666:24;16684:5;16666:24;:::i;:::-;16661:3;16654:37;16579:118;;:::o;16703:::-;16790:24;16808:5;16790:24;:::i;:::-;16785:3;16778:37;16703:118;;:::o;16827:149::-;16863:7;16903:66;16896:5;16892:78;16881:89;;16827:149;;;:::o;16982:115::-;17067:23;17084:5;17067:23;:::i;:::-;17062:3;17055:36;16982:115;;:::o;17103:98::-;17154:6;17188:5;17182:12;17172:22;;17103:98;;;:::o;17207:168::-;17290:11;17324:6;17319:3;17312:19;17364:4;17359:3;17355:14;17340:29;;17207:168;;;;:::o;17381:373::-;17467:3;17495:38;17527:5;17495:38;:::i;:::-;17549:70;17612:6;17607:3;17549:70;:::i;:::-;17542:77;;17628:65;17686:6;17681:3;17674:4;17667:5;17663:16;17628:65;:::i;:::-;17718:29;17740:6;17718:29;:::i;:::-;17713:3;17709:39;17702:46;;17471:283;17381:373;;;;:::o;17760:1080::-;18065:4;18103:3;18092:9;18088:19;18080:27;;18117:71;18185:1;18174:9;18170:17;18161:6;18117:71;:::i;:::-;18198:72;18266:2;18255:9;18251:18;18242:6;18198:72;:::i;:::-;18280;18348:2;18337:9;18333:18;18324:6;18280:72;:::i;:::-;18362;18430:2;18419:9;18415:18;18406:6;18362:72;:::i;:::-;18444:71;18510:3;18499:9;18495:19;18486:6;18444:71;:::i;:::-;18525:73;18593:3;18582:9;18578:19;18569:6;18525:73;:::i;:::-;18608;18676:3;18665:9;18661:19;18652:6;18608:73;:::i;:::-;18729:9;18723:4;18719:20;18713:3;18702:9;18698:19;18691:49;18757:76;18828:4;18819:6;18757:76;:::i;:::-;18749:84;;17760:1080;;;;;;;;;;;:::o;18846:142::-;18896:9;18929:53;18947:34;18956:24;18974:5;18956:24;:::i;:::-;18947:34;:::i;:::-;18929:53;:::i;:::-;18916:66;;18846:142;;;:::o;18994:126::-;19044:9;19077:37;19108:5;19077:37;:::i;:::-;19064:50;;18994:126;;;:::o;19126:149::-;19199:9;19232:37;19263:5;19232:37;:::i;:::-;19219:50;;19126:149;;;:::o;19281:94::-;19314:8;19362:5;19358:2;19354:14;19333:35;;19281:94;;;:::o;19381:::-;19420:7;19449:20;19463:5;19449:20;:::i;:::-;19438:31;;19381:94;;;:::o;19481:100::-;19520:7;19549:26;19569:5;19549:26;:::i;:::-;19538:37;;19481:100;;;:::o;19587:216::-;19715:81;19735:60;19789:5;19735:60;:::i;:::-;19715:81;:::i;:::-;19710:3;19703:94;19587:216;;:::o;19809:79::-;19848:7;19877:5;19866:16;;19809:79;;;:::o;19894:157::-;19999:45;20019:24;20037:5;20019:24;:::i;:::-;19999:45;:::i;:::-;19994:3;19987:58;19894:157;;:::o;20057:443::-;20220:3;20235:98;20329:3;20320:6;20235:98;:::i;:::-;20358:2;20353:3;20349:12;20342:19;;20371:75;20442:3;20433:6;20371:75;:::i;:::-;20471:2;20466:3;20462:12;20455:19;;20491:3;20484:10;;20057:443;;;;;:::o;20506:529::-;20673:4;20711:2;20700:9;20696:18;20688:26;;20724:71;20792:1;20781:9;20777:17;20768:6;20724:71;:::i;:::-;20805:72;20873:2;20862:9;20858:18;20849:6;20805:72;:::i;:::-;20924:9;20918:4;20914:20;20909:2;20898:9;20894:18;20887:48;20952:76;21023:4;21014:6;20952:76;:::i;:::-;20944:84;;20506:529;;;;;;:::o;21041:90::-;21075:7;21118:5;21111:13;21104:21;21093:32;;21041:90;;;:::o;21137:116::-;21207:21;21222:5;21207:21;:::i;:::-;21200:5;21197:32;21187:60;;21243:1;21240;21233:12;21187:60;21137:116;:::o;21259:137::-;21313:5;21344:6;21338:13;21329:22;;21360:30;21384:5;21360:30;:::i;:::-;21259:137;;;;:::o;21402:345::-;21469:6;21518:2;21506:9;21497:7;21493:23;21489:32;21486:119;;;21524:79;;:::i;:::-;21486:119;21644:1;21669:61;21722:7;21713:6;21702:9;21698:22;21669:61;:::i;:::-;21659:71;;21615:125;21402:345;;;;:::o;21753:222::-;21893:34;21889:1;21881:6;21877:14;21870:58;21962:5;21957:2;21949:6;21945:15;21938:30;21753:222;:::o;21981:366::-;22123:3;22144:67;22208:2;22203:3;22144:67;:::i;:::-;22137:74;;22220:93;22309:3;22220:93;:::i;:::-;22338:2;22333:3;22329:12;22322:19;;21981:366;;;:::o;22353:419::-;22519:4;22557:2;22546:9;22542:18;22534:26;;22606:9;22600:4;22596:20;22592:1;22581:9;22577:17;22570:47;22634:131;22760:4;22634:131;:::i;:::-;22626:139;;22353:419;;;:::o;22778:180::-;22826:77;22823:1;22816:88;22923:4;22920:1;22913:15;22947:4;22944:1;22937:15;22964:176;22996:1;23013:20;23031:1;23013:20;:::i;:::-;23008:25;;23047:20;23065:1;23047:20;:::i;:::-;23042:25;;23086:1;23076:35;;23091:18;;:::i;:::-;23076:35;23132:1;23129;23125:9;23120:14;;22964:176;;;;:::o;23146:194::-;23186:4;23206:20;23224:1;23206:20;:::i;:::-;23201:25;;23240:20;23258:1;23240:20;:::i;:::-;23235:25;;23284:1;23281;23277:9;23269:17;;23308:1;23302:4;23299:11;23296:37;;;23313:18;;:::i;:::-;23296:37;23146:194;;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "1415200",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"fulfill(bytes32,bytes32)": "infinite",
"get(string)": "infinite",
"result()": "infinite"
},
"internal": {
"bytes32ToString(bytes32)": "infinite",
"stringToBytes32(string memory)": "infinite"
}
},
"methodIdentifiers": {
"fulfill(bytes32,bytes32)": "042f2b65",
"get(string)": "693ec85e",
"result()": "65372147"
}
},
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_oracle",
"type": "address"
},
{
"internalType": "string",
"name": "_jobId",
"type": "string"
},
{
"internalType": "uint256",
"name": "_fee",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"name": "ChainlinkCancelled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"name": "ChainlinkFulfilled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"name": "ChainlinkRequested",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "string",
"name": "result",
"type": "string"
}
],
"name": "RequestFulfilled",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_requestId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "_result",
"type": "bytes32"
}
],
"name": "fulfill",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "url",
"type": "string"
}
],
"name": "get",
"outputs": [
{
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "result",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.18+commit.87f61d96"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_oracle",
"type": "address"
},
{
"internalType": "string",
"name": "_jobId",
"type": "string"
},
{
"internalType": "uint256",
"name": "_fee",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"name": "ChainlinkCancelled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"name": "ChainlinkFulfilled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"name": "ChainlinkRequested",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "string",
"name": "result",
"type": "string"
}
],
"name": "RequestFulfilled",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_requestId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "_result",
"type": "bytes32"
}
],
"name": "fulfill",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "url",
"type": "string"
}
],
"name": "get",
"outputs": [
{
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "result",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/HTTPGetRequester.sol": "HTTPGetRequester"
},
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"@chainlink/contracts/src/v0.8/Chainlink.sol": {
"keccak256": "0x3e133ddc69d0909fbe338c34b70cbf8dd262c70fd670b3632424c1858de25105",
"license": "MIT",
"urls": [
"bzz-raw://6fbfa4cee3ce9fe3f5be6eda7e3304263d77b514be0bf5fadffa24d3f654ad2d",
"dweb:/ipfs/QmTQmA4AJ9NookAyTg9DP6Mem6X8WSHJ5WjQJvqhE8K9qV"
]
},
"@chainlink/contracts/src/v0.8/ChainlinkClient.sol": {
"keccak256": "0xa221ccfa4763977cc78c57e3a83d47f5aaf7c15535a2c20dba5f46af80fb3bd7",
"license": "MIT",
"urls": [
"bzz-raw://ba0f668a6f55a546ac1fe7fbf8539878a62811c1b0606fb4fadafb62f661e853",
"dweb:/ipfs/QmTUmXvjWQno67W4CUdkVyTRAwSKWrko8EPjtizzavNVLJ"
]
},
"@chainlink/contracts/src/v0.8/interfaces/ChainlinkRequestInterface.sol": {
"keccak256": "0xa8adfbd0326c982c38ea3808a4da52f0a51807241787c4bd28235bbe86707c04",
"license": "MIT",
"urls": [
"bzz-raw://364e3be6190a68fbe84e4ede560af3ccede8d36e40e91378b4de042202c6e86a",
"dweb:/ipfs/QmNpCP9j3FhBd1hDofg1uMCYiXBKNTU95n1Lxbnnj12oxw"
]
},
"@chainlink/contracts/src/v0.8/interfaces/ENSInterface.sol": {
"keccak256": "0xe51365458d82233a55f5ad4492a3b6bf56332d21cad6b0a5f21b8a026fcfd6d0",
"license": "MIT",
"urls": [
"bzz-raw://40958fa820d41025822fe423111c74d5b8d0dfe1a30ae4fba4f6896a55fc2868",
"dweb:/ipfs/QmbwYCM5k6h43T6qQV8DEpUxv5uErVSTCD6Fqm5DMLDgNi"
]
},
"@chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol": {
"keccak256": "0xc7d7cd730d36825485ef4107d93c3ff18b9f3a5a00ea3d5988ba9a0bd70b10c5",
"license": "MIT",
"urls": [
"bzz-raw://8cb1064885ecbcd9c3adba779e190cb4a538e5d4d15aeccb67d3376bdffc94bd",
"dweb:/ipfs/QmcQHK6ewve7tFi4XXK65JthQg4kQzApQikWcURJjGt4iQ"
]
},
"@chainlink/contracts/src/v0.8/interfaces/OperatorInterface.sol": {
"keccak256": "0x79a7c77b8f87be6ef02a566765077ed599724b060a209f34f8907eec5615da68",
"license": "MIT",
"urls": [
"bzz-raw://b6ed9275abc614a37a13f86c148f3a4341d955a6b52a1a655357505e0926caab",
"dweb:/ipfs/Qmaqgq3HiakdSBAe9NtGXYMxVFBjTkLbzyiiyjJUJ1g1M3"
]
},
"@chainlink/contracts/src/v0.8/interfaces/OracleInterface.sol": {
"keccak256": "0x3a86242e005bad9daf1b4794399a81ba373069355f38c8a07b58e57abc32513a",
"license": "MIT",
"urls": [
"bzz-raw://ba8fbc2ccf2b3dfc8249306b7dc63624a4ec6f6ee43649d631f7363710c763b6",
"dweb:/ipfs/QmePqh8R8EZMygYkawshsWArTrVA8VCdamLGV6ZZsVJgTz"
]
},
"@chainlink/contracts/src/v0.8/interfaces/PointerInterface.sol": {
"keccak256": "0x42e5d62984f9d57bab7e32b2c6e3af86f4feb232ea2af6c822032fae88203bd7",
"license": "MIT",
"urls": [
"bzz-raw://12ec80973bbc95f59ce3a46aadd7761df6e4131bda14a01a265d76a8e007dd5d",
"dweb:/ipfs/QmXwhsxjbkuXSHu6SX6tZxrQCXrdnJ4o2M7b3yFSgcWR1f"
]
},
"@chainlink/contracts/src/v0.8/vendor/BufferChainlink.sol": {
"keccak256": "0x89388a631c16ad993e4d76d8d19e08ae98e1397f5dfdfb5f9c0b91015df4cf5d",
"license": "MIT",
"urls": [
"bzz-raw://88cb96caa94128821daec5478c0f3646902007b81a0604b2e3ab79ea2f40b056",
"dweb:/ipfs/Qmd1nu9CpgouPmukNQpZThxKgPZAayXxqBfwbDVHfMrCrF"
]
},
"@chainlink/contracts/src/v0.8/vendor/CBORChainlink.sol": {
"keccak256": "0x08bda450d4dc1d17147fd29810234d35e2c437f1a99be733cfa7ee516db08a48",
"license": "MIT",
"urls": [
"bzz-raw://d47a793b314afe9cd82fcf05ffe4ebbfa5504c2decc83004edbb3b2069d4f0c3",
"dweb:/ipfs/Qmd2YLSiS8xeeXqireh6qJgTTwVY2VscZpv2cQBU8gkEJT"
]
},
"@chainlink/contracts/src/v0.8/vendor/ENSResolver.sol": {
"keccak256": "0x606bda5f3fa27be4cf04f6636dda443b7787b56e87ade988fca2e51d2147613d",
"license": "MIT",
"urls": [
"bzz-raw://63b50d13ca97c4dd62738398bb2e423a36563b827b0af94c0e7a47cf0d4a2e6b",
"dweb:/ipfs/QmXjy7BmtnPeCLMaMnGGnsxDPGxohfDpYzP8PnUoh6gBGa"
]
},
"contracts/HTTPGetRequester.sol": {
"keccak256": "0x8a8331a4bce2e4389d7aaf26b19dd3e24c236d3b4e2561b642e58204205954f8",
"license": "MIT",
"urls": [
"bzz-raw://59fa38a2dc5c50b7bc42f01828871cd2a08e64ebb44e9a3784a4ab110c2eda60",
"dweb:/ipfs/QmNicVJ5wVyS46SA8FjQfS3p9zBfc6caPbSUfwaeM8X4TX"
]
}
},
"version": 1
}
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122097cec6e116bbbf0e2f0107bf254ab278801fb100ed1f67fbcb396876ac94807d64736f6c63430008120033",
"opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 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 SWAP8 0xCE 0xC6 0xE1 AND 0xBB 0xBF 0xE 0x2F ADD SMOD 0xBF 0x25 0x4A 0xB2 PUSH25 0x801FB100ED1F67FBCB396876AC94807D64736F6C6343000812 STOP CALLER ",
"sourceMap": "62:2153:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122097cec6e116bbbf0e2f0107bf254ab278801fb100ed1f67fbcb396876ac94807d64736f6c63430008120033",
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP8 0xCE 0xC6 0xE1 AND 0xBB 0xBF 0xE 0x2F ADD SMOD 0xBF 0x25 0x4A 0xB2 PUSH25 0x801FB100ED1F67FBCB396876AC94807D64736F6C6343000812 STOP CALLER ",
"sourceMap": "62:2153:0:-:0;;;;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "17200",
"executionCost": "97",
"totalCost": "17297"
},
"internal": {
"compress(bytes memory)": "infinite",
"findExistingIndex(uint256[] memory,uint256[] memory,uint256,bytes memory)": "infinite"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"compiler": {
"version": "0.8.18+commit.87f61d96"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/LZ78.sol": "LZ78"
},
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/LZ78.sol": {
"keccak256": "0xa078275c7c38cc86976e4c245c5fb95146da36d178aa7433b1856ee0886c153b",
"license": "MIT",
"urls": [
"bzz-raw://928dfd7712f428e576f56ea2a33dd7b1cae7f34f141fb0ec2106ca8ac90cb39b",
"dweb:/ipfs/QmbDW5uPoCYeTfAgsqJS4GYDmhMHYDMozcZ73Z4Hbg5mTm"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
library Base64 {
bytes private constant base64Alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
function encode(bytes memory data) internal pure returns (string memory) {
if (data.length == 0) return "";
uint256 encodedLen = 4 * ((data.length + 2) / 3);
bytes memory result = new bytes(encodedLen);
uint256 dataIndex = 0;
uint256 resultIndex = 0;
uint256 paddingLen = data.length % 3;
uint256 mainLen = data.length - paddingLen;
for (; dataIndex < mainLen; dataIndex += 3) {
uint8 paddingData1 = uint8(data[dataIndex]);
uint8 paddingData2 = uint8(data[dataIndex + 1]);
uint8 paddingData3 = uint8(data[dataIndex + 2]);
uint24 mainData = (uint24(paddingData1) << 16) | (uint24(paddingData2) << 8) | uint24(paddingData3);
result[resultIndex++] = base64Alphabet[(mainData >> 18) & 0x3F];
result[resultIndex++] = base64Alphabet[(mainData >> 12) & 0x3F];
result[resultIndex++] = base64Alphabet[(mainData >> 6) & 0x3F];
result[resultIndex++] = base64Alphabet[mainData & 0x3F];
}
if (paddingLen == 1) {
uint8 paddingData = uint8(data[dataIndex]);
result[resultIndex++] = base64Alphabet[(paddingData >> 2) & 0x3F];
result[resultIndex++] = base64Alphabet[(paddingData << 4) & 0x3F];
result[resultIndex++] = "=";
result[resultIndex++] = "=";
} else if (paddingLen == 2) {
uint8 paddingData1 = uint8(data[dataIndex]);
uint8 paddingData2 = uint8(data[dataIndex + 1]);
result[resultIndex++] = base64Alphabet[(paddingData1 >> 2) & 0x3F];
result[resultIndex++] = base64Alphabet[((paddingData1 << 4) | (paddingData2 >> 4)) & 0x3F];
result[resultIndex++] = base64Alphabet[(paddingData2 << 2) & 0x3F];
result[resultIndex++] = "=";
}
return string(result);
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@chainlink/contracts/src/v0.8/ChainlinkClient.sol";
contract HTTPGetRequester is ChainlinkClient {
using Chainlink for Chainlink.Request;
// Variables to hold the oracle service details and the job ID
address private oracle;
bytes32 private jobId;
uint256 private fee;
// Variable to hold the result of the HTTP GET request
string public result;
// Event to trigger when the request is fulfilled
event RequestFulfilled(
bytes32 indexed requestId,
string indexed result
);
constructor(address _oracle, string memory _jobId, uint256 _fee) {
setPublicChainlinkToken();
oracle = _oracle;
jobId = stringToBytes32(_jobId);
fee = _fee;
}
function get(string memory url) public returns (bytes32 requestId) {
Chainlink.Request memory request = buildChainlinkRequest(jobId, address(this), this.fulfill.selector);
request.add("get", url);
return sendChainlinkRequestTo(oracle, request, fee);
}
function fulfill(bytes32 _requestId, bytes32 _result) public recordChainlinkFulfillment(_requestId) {
result = bytes32ToString(_result);
emit RequestFulfilled(_requestId, result);
}
// Helper functions to convert between string and bytes32
function stringToBytes32(string memory source) private pure returns (bytes32 result) {
assembly {
result := mload(add(source, 32))
}
}
function bytes32ToString(bytes32 source) private pure returns (string memory result) {
bytes memory tempBytes = new bytes(32);
uint256 length = 0;
for (uint256 i = 0; i < 32; i++) {
bytes1 char = bytes1(bytes32(uint256(source) * 2 ** (8 * i)));
if (char == 0) {
break;
}
tempBytes[i] = char;
length++;
}
bytes memory resultBytes = new bytes(length);
for (uint256 i = 0; i < length; i++) {
resultBytes[i] = tempBytes[i];
}
result = string(resultBytes);
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
library LZ78 {
struct CompressedData {
uint256 mainData;
uint256 paddingData;
uint256[] indices;
uint256[] lengths;
}
function compress(bytes memory data) internal pure returns (CompressedData memory) {
uint256 dataLength = data.length;
uint256 dataIndex = 0;
uint256 chunkSize = 3;
uint256 mainData = 0;
uint256 paddingData = 0;
uint256[] memory indices = new uint256[](dataLength / chunkSize);
uint256[] memory lengths = new uint256[](dataLength / chunkSize);
uint256 index = 0;
while (dataIndex < dataLength) {
uint256 length = chunkSize;
if (dataIndex + length > dataLength) {
length = dataLength - dataIndex;
}
bytes memory chunk = new bytes(length);
for (uint256 i = 0; i < length; i++) {
chunk[i] = data[dataIndex + i];
}
uint256 existingIndex = findExistingIndex(indices, lengths, index, chunk);
if (existingIndex > 0) {
index = existingIndex;
} else {
indices[index] = dataIndex;
lengths[index] = length;
index++;
}
dataIndex += length;
}
return CompressedData(mainData, paddingData, indices, lengths);
}
function findExistingIndex(
uint256[] memory /* indices */,
uint256[] memory lengths,
uint256 index,
bytes memory chunk
) internal pure returns (uint256) {
for (uint256 i = 0; i < index; i++) {
uint256 length = lengths[i];
bool isEqual = true;
if (chunk.length == length) {
for (uint256 j = 0; j < length; j++) {
if (chunk[j] != chunk[j]) {
isEqual = false;
break;
}
}
if (isEqual) {
return i;
}
}
}
return 0;
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
import "./HTTPGetRequester.sol";
import "./LZ78.sol";
import "./Base64.sol";
contract NFTGenerator is ERC721URIStorage, VRFConsumerBase {
using Counters for Counters.Counter;
Counters.Counter private _tokenIds;
bytes32 internal keyHash;
uint256 internal fee;
string public imageURI;
mapping(bytes32 => address) public requestIdToSender;
mapping(bytes32 => string) public requestIdToText;
mapping(bytes32 => string) public requestIdToAsciiArt;
mapping(bytes32 => uint256) public requestIdToTokenId;
mapping(uint256 => uint256) public tokenIdToRandomNumber;
HTTPGetRequester private httpGetRequester;
constructor(address vrfCoordinator, address link, address _httpGetRequester, bytes32 _keyHash, uint256 _fee, string memory _imageURI)
VRFConsumerBase(vrfCoordinator, link)
ERC721("NFT", "NFT")
{
keyHash = _keyHash;
fee = _fee;
imageURI = _imageURI;
httpGetRequester = HTTPGetRequester(_httpGetRequester);
}
function asciiToBytes(string memory asciiArt) public pure returns (bytes memory) {
bytes memory byteArray = bytes(asciiArt);
uint256 len = byteArray.length;
bytes memory resultBytes = new bytes(len);
for (uint256 i = 0; i < len; i++) {
resultBytes[i] = bytes1(uint8(byteArray[i]) + 0xF0);
}
return resultBytes;
}
function fulfillRandomness(bytes32 requestId, uint256 randomNumber) internal override {
uint256 tokenId = requestIdToTokenId[requestId];
address sender = requestIdToSender[requestId];
tokenIdToRandomNumber[tokenId] = randomNumber;
_safeMint(sender, tokenId);
}
function generateNFT(string memory text, string[] memory tags) public returns (uint256) {
// Compress the ASCII art using LZ78
bytes memory asciiArtBytes = bytes(text);
LZ78.CompressedData memory compressedData = LZ78.compress(asciiArtBytes);
bytes memory compressedBytes = abi.encodePacked(compressedData.mainData, compressedData.paddingData);
// Encode the compressed data in base64
bytes memory imageBytes = abi.encodePacked(compressedBytes);
string memory imageBase64 = Base64.encode(imageBytes);
bytes memory imageURIBytes = abi.encodePacked("data:image/plain;charset=utf-8;base64,", bytes(imageBase64));
string memory imageURI = string(imageURIBytes);
// Mint new NFT
uint256 tokenId = _tokenIds.current();
_safeMint(msg.sender, tokenId);
_setTokenURI(tokenId, imageURI);
_tokenIds.increment();
// Add tags to the token metadata
_setTokenTags(tokenId, tags);
return tokenId;
}
function _setTokenTags(uint256 tokenId, string[] memory tags) internal {
uint256 tagsLength = tags.length;
bytes memory tagsBytes = new bytes(tagsLength * 32);
uint256 j = 0;
for (uint256 i = 0; i < tagsLength; i++) {
bytes memory tagBytes = bytes(tags[i]);
uint256 len = tagBytes.length;
for (uint256 k = 0; k < len; k++) {
tagsBytes[j++] = tagBytes[k];
}
}
string memory tagsBase64 = Base64.encode(tagsBytes);
_setTokenURI(tokenId, string(abi.encodePacked(tokenURI(tokenId), "?tags=", tagsBase64)));
}
}
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.)

This file has been truncated, but you can view the full file.
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": {},
"autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {},
"autoDeployLib": true
},
"goerli:5": {
"linkReferences": {},
"autoDeployLib": true
},
"Custom": {
"linkReferences": {},
"autoDeployLib": true
}
},
"data": {
"bytecode": {
"functionDebugData": {
"@_2409": {
"entryPoint": null,
"id": 2409,
"parameterSlots": 2,
"returnSlots": 0
},
"@_5844": {
"entryPoint": null,
"id": 5844,
"parameterSlots": 6,
"returnSlots": 0
},
"@_960": {
"entryPoint": null,
"id": 960,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr_fromMemory": {
"entryPoint": 914,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_address_fromMemory": {
"entryPoint": 516,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bytes32_fromMemory": {
"entryPoint": 575,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr_fromMemory": {
"entryPoint": 989,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256_fromMemory": {
"entryPoint": 634,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_addresst_addresst_bytes32t_uint256t_string_memory_ptr_fromMemory": {
"entryPoint": 1040,
"id": null,
"parameterSlots": 2,
"returnSlots": 6
},
"allocate_memory": {
"entryPoint": 785,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 418,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 816,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_dataslot_t_string_storage": {
"entryPoint": 1338,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 1227,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 1649,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_address": {
"entryPoint": 470,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes32": {
"entryPoint": 539,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 438,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 598,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 1610,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 1484,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 1804,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 870,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 1359,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 1285,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 1774,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 731,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"identity": {
"entryPoint": 1474,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 1742,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 1238,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 684,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 1524,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 657,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 662,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 433,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 428,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 667,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_dynamic": {
"entryPoint": 1375,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 1729,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 1582,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 1388,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 1534,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 490,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_bytes32": {
"entryPoint": 549,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 608,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 1577,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:10176:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "47:35:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "57:19:29",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "73:2:29",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "67:5:29"
},
"nodeType": "YulFunctionCall",
"src": "67:9:29"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "57:6:29"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "40:6:29",
"type": ""
}
],
"src": "7:75:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "177:28:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "194:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "197:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "187:6:29"
},
"nodeType": "YulFunctionCall",
"src": "187:12:29"
},
"nodeType": "YulExpressionStatement",
"src": "187:12:29"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "88:117:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "300:28:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "317:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "320:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:29"
},
"nodeType": "YulFunctionCall",
"src": "310:12:29"
},
"nodeType": "YulExpressionStatement",
"src": "310:12:29"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "211:117:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "379:81:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "389:65:29",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "404:5:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "411:42:29",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "400:3:29"
},
"nodeType": "YulFunctionCall",
"src": "400:54:29"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "389:7:29"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "361:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "371:7:29",
"type": ""
}
],
"src": "334:126:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "511:51:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "521:35:29",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "550:5:29"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "532:17:29"
},
"nodeType": "YulFunctionCall",
"src": "532:24:29"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "521:7:29"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "493:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "503:7:29",
"type": ""
}
],
"src": "466:96:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "611:79:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "668:16:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "677:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "680:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "670:6:29"
},
"nodeType": "YulFunctionCall",
"src": "670:12:29"
},
"nodeType": "YulExpressionStatement",
"src": "670:12:29"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "634:5:29"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "659:5:29"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "641:17:29"
},
"nodeType": "YulFunctionCall",
"src": "641:24:29"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "631:2:29"
},
"nodeType": "YulFunctionCall",
"src": "631:35:29"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "624:6:29"
},
"nodeType": "YulFunctionCall",
"src": "624:43:29"
},
"nodeType": "YulIf",
"src": "621:63:29"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "604:5:29",
"type": ""
}
],
"src": "568:122:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "759:80:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "769:22:29",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "784:6:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "778:5:29"
},
"nodeType": "YulFunctionCall",
"src": "778:13:29"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "769:5:29"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "827:5:29"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "800:26:29"
},
"nodeType": "YulFunctionCall",
"src": "800:33:29"
},
"nodeType": "YulExpressionStatement",
"src": "800:33:29"
}
]
},
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "737:6:29",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "745:3:29",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "753:5:29",
"type": ""
}
],
"src": "696:143:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "890:32:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "900:16:29",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "911:5:29"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "900:7:29"
}
]
}
]
},
"name": "cleanup_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "872:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "882:7:29",
"type": ""
}
],
"src": "845:77:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "971:79:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1028:16:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1037:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1040:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1030:6:29"
},
"nodeType": "YulFunctionCall",
"src": "1030:12:29"
},
"nodeType": "YulExpressionStatement",
"src": "1030:12:29"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "994:5:29"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1019:5:29"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "1001:17:29"
},
"nodeType": "YulFunctionCall",
"src": "1001:24:29"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "991:2:29"
},
"nodeType": "YulFunctionCall",
"src": "991:35:29"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "984:6:29"
},
"nodeType": "YulFunctionCall",
"src": "984:43:29"
},
"nodeType": "YulIf",
"src": "981:63:29"
}
]
},
"name": "validator_revert_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "964:5:29",
"type": ""
}
],
"src": "928:122:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1119:80:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1129:22:29",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1144:6:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1138:5:29"
},
"nodeType": "YulFunctionCall",
"src": "1138:13:29"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1129:5:29"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1187:5:29"
}
],
"functionName": {
"name": "validator_revert_t_bytes32",
"nodeType": "YulIdentifier",
"src": "1160:26:29"
},
"nodeType": "YulFunctionCall",
"src": "1160:33:29"
},
"nodeType": "YulExpressionStatement",
"src": "1160:33:29"
}
]
},
"name": "abi_decode_t_bytes32_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1097:6:29",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1105:3:29",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1113:5:29",
"type": ""
}
],
"src": "1056:143:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1250:32:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1260:16:29",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1271:5:29"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1260:7:29"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1232:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1242:7:29",
"type": ""
}
],
"src": "1205:77:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1331:79:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1388:16:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1397:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1400:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1390:6:29"
},
"nodeType": "YulFunctionCall",
"src": "1390:12:29"
},
"nodeType": "YulExpressionStatement",
"src": "1390:12:29"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1354:5:29"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1379:5:29"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1361:17:29"
},
"nodeType": "YulFunctionCall",
"src": "1361:24:29"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1351:2:29"
},
"nodeType": "YulFunctionCall",
"src": "1351:35:29"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1344:6:29"
},
"nodeType": "YulFunctionCall",
"src": "1344:43:29"
},
"nodeType": "YulIf",
"src": "1341:63:29"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1324:5:29",
"type": ""
}
],
"src": "1288:122:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1479:80:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1489:22:29",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1504:6:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1498:5:29"
},
"nodeType": "YulFunctionCall",
"src": "1498:13:29"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1489:5:29"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1547:5:29"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "1520:26:29"
},
"nodeType": "YulFunctionCall",
"src": "1520:33:29"
},
"nodeType": "YulExpressionStatement",
"src": "1520:33:29"
}
]
},
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1457:6:29",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1465:3:29",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1473:5:29",
"type": ""
}
],
"src": "1416:143:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1654:28:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1671:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1674:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1664:6:29"
},
"nodeType": "YulFunctionCall",
"src": "1664:12:29"
},
"nodeType": "YulExpressionStatement",
"src": "1664:12:29"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulFunctionDefinition",
"src": "1565:117:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1777:28:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1794:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1797:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1787:6:29"
},
"nodeType": "YulFunctionCall",
"src": "1787:12:29"
},
"nodeType": "YulExpressionStatement",
"src": "1787:12:29"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulFunctionDefinition",
"src": "1688:117:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1859:54:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1869:38:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1887:5:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1894:2:29",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1883:3:29"
},
"nodeType": "YulFunctionCall",
"src": "1883:14:29"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1903:2:29",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "1899:3:29"
},
"nodeType": "YulFunctionCall",
"src": "1899:7:29"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "1879:3:29"
},
"nodeType": "YulFunctionCall",
"src": "1879:28:29"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "1869:6:29"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1842:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "1852:6:29",
"type": ""
}
],
"src": "1811:102:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1947:152:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1964:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1967:77:29",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1957:6:29"
},
"nodeType": "YulFunctionCall",
"src": "1957:88:29"
},
"nodeType": "YulExpressionStatement",
"src": "1957:88:29"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2061:1:29",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2064:4:29",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2054:6:29"
},
"nodeType": "YulFunctionCall",
"src": "2054:15:29"
},
"nodeType": "YulExpressionStatement",
"src": "2054:15:29"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2085:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2088:4:29",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "2078:6:29"
},
"nodeType": "YulFunctionCall",
"src": "2078:15:29"
},
"nodeType": "YulExpressionStatement",
"src": "2078:15:29"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "1919:180:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2148:238:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2158:58:29",
"value": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2180:6:29"
},
{
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2210:4:29"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2188:21:29"
},
"nodeType": "YulFunctionCall",
"src": "2188:27:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2176:3:29"
},
"nodeType": "YulFunctionCall",
"src": "2176:40:29"
},
"variables": [
{
"name": "newFreePtr",
"nodeType": "YulTypedName",
"src": "2162:10:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2327:22:29",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2329:16:29"
},
"nodeType": "YulFunctionCall",
"src": "2329:18:29"
},
"nodeType": "YulExpressionStatement",
"src": "2329:18:29"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2270:10:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2282:18:29",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2267:2:29"
},
"nodeType": "YulFunctionCall",
"src": "2267:34:29"
},
{
"arguments": [
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2306:10:29"
},
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2318:6:29"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2303:2:29"
},
"nodeType": "YulFunctionCall",
"src": "2303:22:29"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "2264:2:29"
},
"nodeType": "YulFunctionCall",
"src": "2264:62:29"
},
"nodeType": "YulIf",
"src": "2261:88:29"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2365:2:29",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nodeType": "YulIdentifier",
"src": "2369:10:29"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2358:6:29"
},
"nodeType": "YulFunctionCall",
"src": "2358:22:29"
},
"nodeType": "YulExpressionStatement",
"src": "2358:22:29"
}
]
},
"name": "finalize_allocation",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2134:6:29",
"type": ""
},
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2142:4:29",
"type": ""
}
],
"src": "2105:281:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2433:88:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2443:30:29",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nodeType": "YulIdentifier",
"src": "2453:18:29"
},
"nodeType": "YulFunctionCall",
"src": "2453:20:29"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2443:6:29"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "2502:6:29"
},
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2510:4:29"
}
],
"functionName": {
"name": "finalize_allocation",
"nodeType": "YulIdentifier",
"src": "2482:19:29"
},
"nodeType": "YulFunctionCall",
"src": "2482:33:29"
},
"nodeType": "YulExpressionStatement",
"src": "2482:33:29"
}
]
},
"name": "allocate_memory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2417:4:29",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "2426:6:29",
"type": ""
}
],
"src": "2392:129:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2594:241:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2699:22:29",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "2701:16:29"
},
"nodeType": "YulFunctionCall",
"src": "2701:18:29"
},
"nodeType": "YulExpressionStatement",
"src": "2701:18:29"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2671:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2679:18:29",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "2668:2:29"
},
"nodeType": "YulFunctionCall",
"src": "2668:30:29"
},
"nodeType": "YulIf",
"src": "2665:56:29"
},
{
"nodeType": "YulAssignment",
"src": "2731:37:29",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2761:6:29"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "2739:21:29"
},
"nodeType": "YulFunctionCall",
"src": "2739:29:29"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2731:4:29"
}
]
},
{
"nodeType": "YulAssignment",
"src": "2805:23:29",
"value": {
"arguments": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2817:4:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2823:4:29",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2813:3:29"
},
"nodeType": "YulFunctionCall",
"src": "2813:15:29"
},
"variableNames": [
{
"name": "size",
"nodeType": "YulIdentifier",
"src": "2805:4:29"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2578:6:29",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nodeType": "YulTypedName",
"src": "2589:4:29",
"type": ""
}
],
"src": "2527:308:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2903:184:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2913:10:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2922:1:29",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "2917:1:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "2982:63:29",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3007:3:29"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3012:1:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3003:3:29"
},
"nodeType": "YulFunctionCall",
"src": "3003:11:29"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3026:3:29"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "3031:1:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3022:3:29"
},
"nodeType": "YulFunctionCall",
"src": "3022:11:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3016:5:29"
},
"nodeType": "YulFunctionCall",
"src": "3016:18:29"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2996:6:29"
},
"nodeType": "YulFunctionCall",
"src": "2996:39:29"
},
"nodeType": "YulExpressionStatement",
"src": "2996:39:29"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2943:1:29"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "2946:6:29"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "2940:2:29"
},
"nodeType": "YulFunctionCall",
"src": "2940:13:29"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "2954:19:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2956:15:29",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2965:1:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2968:2:29",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2961:3:29"
},
"nodeType": "YulFunctionCall",
"src": "2961:10:29"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "2956:1:29"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "2936:3:29",
"statements": []
},
"src": "2932:113:29"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3065:3:29"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3070:6:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3061:3:29"
},
"nodeType": "YulFunctionCall",
"src": "3061:16:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3079:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3054:6:29"
},
"nodeType": "YulFunctionCall",
"src": "3054:27:29"
},
"nodeType": "YulExpressionStatement",
"src": "3054:27:29"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "2885:3:29",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "2890:3:29",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "2895:6:29",
"type": ""
}
],
"src": "2841:246:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3188:339:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3198:75:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3265:6:29"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "3223:41:29"
},
"nodeType": "YulFunctionCall",
"src": "3223:49:29"
}
],
"functionName": {
"name": "allocate_memory",
"nodeType": "YulIdentifier",
"src": "3207:15:29"
},
"nodeType": "YulFunctionCall",
"src": "3207:66:29"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "3198:5:29"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "3289:5:29"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3296:6:29"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3282:6:29"
},
"nodeType": "YulFunctionCall",
"src": "3282:21:29"
},
"nodeType": "YulExpressionStatement",
"src": "3282:21:29"
},
{
"nodeType": "YulVariableDeclaration",
"src": "3312:27:29",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "3327:5:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3334:4:29",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3323:3:29"
},
"nodeType": "YulFunctionCall",
"src": "3323:16:29"
},
"variables": [
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "3316:3:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "3377:83:29",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nodeType": "YulIdentifier",
"src": "3379:77:29"
},
"nodeType": "YulFunctionCall",
"src": "3379:79:29"
},
"nodeType": "YulExpressionStatement",
"src": "3379:79:29"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3358:3:29"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3363:6:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3354:3:29"
},
"nodeType": "YulFunctionCall",
"src": "3354:16:29"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3372:3:29"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "3351:2:29"
},
"nodeType": "YulFunctionCall",
"src": "3351:25:29"
},
"nodeType": "YulIf",
"src": "3348:112:29"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "3504:3:29"
},
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "3509:3:29"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3514:6:29"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "3469:34:29"
},
"nodeType": "YulFunctionCall",
"src": "3469:52:29"
},
"nodeType": "YulExpressionStatement",
"src": "3469:52:29"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "3161:3:29",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3166:6:29",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3174:3:29",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "3182:5:29",
"type": ""
}
],
"src": "3093:434:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3620:282:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3669:83:29",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nodeType": "YulIdentifier",
"src": "3671:77:29"
},
"nodeType": "YulFunctionCall",
"src": "3671:79:29"
},
"nodeType": "YulExpressionStatement",
"src": "3671:79:29"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3648:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3656:4:29",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3644:3:29"
},
"nodeType": "YulFunctionCall",
"src": "3644:17:29"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3663:3:29"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3640:3:29"
},
"nodeType": "YulFunctionCall",
"src": "3640:27:29"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3633:6:29"
},
"nodeType": "YulFunctionCall",
"src": "3633:35:29"
},
"nodeType": "YulIf",
"src": "3630:122:29"
},
{
"nodeType": "YulVariableDeclaration",
"src": "3761:27:29",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3781:6:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3775:5:29"
},
"nodeType": "YulFunctionCall",
"src": "3775:13:29"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "3765:6:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3797:99:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3869:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3877:4:29",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3865:3:29"
},
"nodeType": "YulFunctionCall",
"src": "3865:17:29"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "3884:6:29"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "3892:3:29"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr_fromMemory",
"nodeType": "YulIdentifier",
"src": "3806:58:29"
},
"nodeType": "YulFunctionCall",
"src": "3806:90:29"
},
"variableNames": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "3797:5:29"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3598:6:29",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "3606:3:29",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "3614:5:29",
"type": ""
}
],
"src": "3547:355:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4080:1135:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4127:83:29",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "4129:77:29"
},
"nodeType": "YulFunctionCall",
"src": "4129:79:29"
},
"nodeType": "YulExpressionStatement",
"src": "4129:79:29"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4101:7:29"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4110:9:29"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4097:3:29"
},
"nodeType": "YulFunctionCall",
"src": "4097:23:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4122:3:29",
"type": "",
"value": "192"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4093:3:29"
},
"nodeType": "YulFunctionCall",
"src": "4093:33:29"
},
"nodeType": "YulIf",
"src": "4090:120:29"
},
{
"nodeType": "YulBlock",
"src": "4220:128:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4235:15:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4249:1:29",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4239:6:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4264:74:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4310:9:29"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4321:6:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4306:3:29"
},
"nodeType": "YulFunctionCall",
"src": "4306:22:29"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4330:7:29"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "4274:31:29"
},
"nodeType": "YulFunctionCall",
"src": "4274:64:29"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4264:6:29"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4358:129:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4373:16:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4387:2:29",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4377:6:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4403:74:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4449:9:29"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4460:6:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4445:3:29"
},
"nodeType": "YulFunctionCall",
"src": "4445:22:29"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4469:7:29"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "4413:31:29"
},
"nodeType": "YulFunctionCall",
"src": "4413:64:29"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "4403:6:29"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4497:129:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4512:16:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4526:2:29",
"type": "",
"value": "64"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4516:6:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4542:74:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4588:9:29"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4599:6:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4584:3:29"
},
"nodeType": "YulFunctionCall",
"src": "4584:22:29"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4608:7:29"
}
],
"functionName": {
"name": "abi_decode_t_address_fromMemory",
"nodeType": "YulIdentifier",
"src": "4552:31:29"
},
"nodeType": "YulFunctionCall",
"src": "4552:64:29"
},
"variableNames": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "4542:6:29"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4636:129:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4651:16:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4665:2:29",
"type": "",
"value": "96"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4655:6:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4681:74:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4727:9:29"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4738:6:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4723:3:29"
},
"nodeType": "YulFunctionCall",
"src": "4723:22:29"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4747:7:29"
}
],
"functionName": {
"name": "abi_decode_t_bytes32_fromMemory",
"nodeType": "YulIdentifier",
"src": "4691:31:29"
},
"nodeType": "YulFunctionCall",
"src": "4691:64:29"
},
"variableNames": [
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "4681:6:29"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4775:130:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4790:17:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4804:3:29",
"type": "",
"value": "128"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4794:6:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4821:74:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4867:9:29"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4878:6:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4863:3:29"
},
"nodeType": "YulFunctionCall",
"src": "4863:22:29"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4887:7:29"
}
],
"functionName": {
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulIdentifier",
"src": "4831:31:29"
},
"nodeType": "YulFunctionCall",
"src": "4831:64:29"
},
"variableNames": [
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "4821:6:29"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "4915:293:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4930:40:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4954:9:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4965:3:29",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4950:3:29"
},
"nodeType": "YulFunctionCall",
"src": "4950:19:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4944:5:29"
},
"nodeType": "YulFunctionCall",
"src": "4944:26:29"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4934:6:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5017:83:29",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulIdentifier",
"src": "5019:77:29"
},
"nodeType": "YulFunctionCall",
"src": "5019:79:29"
},
"nodeType": "YulExpressionStatement",
"src": "5019:79:29"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4989:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4997:18:29",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "4986:2:29"
},
"nodeType": "YulFunctionCall",
"src": "4986:30:29"
},
"nodeType": "YulIf",
"src": "4983:117:29"
},
{
"nodeType": "YulAssignment",
"src": "5114:84:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "5170:9:29"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "5181:6:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5166:3:29"
},
"nodeType": "YulFunctionCall",
"src": "5166:22:29"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "5190:7:29"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr_fromMemory",
"nodeType": "YulIdentifier",
"src": "5124:41:29"
},
"nodeType": "YulFunctionCall",
"src": "5124:74:29"
},
"variableNames": [
{
"name": "value5",
"nodeType": "YulIdentifier",
"src": "5114:6:29"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_addresst_addresst_bytes32t_uint256t_string_memory_ptr_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4010:9:29",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "4021:7:29",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4033:6:29",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "4041:6:29",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "4049:6:29",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "4057:6:29",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "4065:6:29",
"type": ""
},
{
"name": "value5",
"nodeType": "YulTypedName",
"src": "4073:6:29",
"type": ""
}
],
"src": "3908:1307:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5280:40:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5291:22:29",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5307:5:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5301:5:29"
},
"nodeType": "YulFunctionCall",
"src": "5301:12:29"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5291:6:29"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5263:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5273:6:29",
"type": ""
}
],
"src": "5221:99:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5354:152:29",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5371:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5374:77:29",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5364:6:29"
},
"nodeType": "YulFunctionCall",
"src": "5364:88:29"
},
"nodeType": "YulExpressionStatement",
"src": "5364:88:29"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5468:1:29",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5471:4:29",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5461:6:29"
},
"nodeType": "YulFunctionCall",
"src": "5461:15:29"
},
"nodeType": "YulExpressionStatement",
"src": "5461:15:29"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5492:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5495:4:29",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "5485:6:29"
},
"nodeType": "YulFunctionCall",
"src": "5485:15:29"
},
"nodeType": "YulExpressionStatement",
"src": "5485:15:29"
}
]
},
"name": "panic_error_0x22",
"nodeType": "YulFunctionDefinition",
"src": "5326:180:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5563:269:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5573:22:29",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5587:4:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5593:1:29",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "5583:3:29"
},
"nodeType": "YulFunctionCall",
"src": "5583:12:29"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5573:6:29"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "5604:38:29",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5634:4:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5640:1:29",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5630:3:29"
},
"nodeType": "YulFunctionCall",
"src": "5630:12:29"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulTypedName",
"src": "5608:18:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5681:51:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5695:27:29",
"value": {
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5709:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5717:4:29",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5705:3:29"
},
"nodeType": "YulFunctionCall",
"src": "5705:17:29"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5695:6:29"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5661:18:29"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "5654:6:29"
},
"nodeType": "YulFunctionCall",
"src": "5654:26:29"
},
"nodeType": "YulIf",
"src": "5651:81:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5784:42:29",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nodeType": "YulIdentifier",
"src": "5798:16:29"
},
"nodeType": "YulFunctionCall",
"src": "5798:18:29"
},
"nodeType": "YulExpressionStatement",
"src": "5798:18:29"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nodeType": "YulIdentifier",
"src": "5748:18:29"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5771:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5779:2:29",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5768:2:29"
},
"nodeType": "YulFunctionCall",
"src": "5768:14:29"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "5745:2:29"
},
"nodeType": "YulFunctionCall",
"src": "5745:38:29"
},
"nodeType": "YulIf",
"src": "5742:84:29"
}
]
},
"name": "extract_byte_array_length",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "5547:4:29",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5556:6:29",
"type": ""
}
],
"src": "5512:320:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5892:87:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5902:11:29",
"value": {
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "5910:3:29"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5902:4:29"
}
]
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5930:1:29",
"type": "",
"value": "0"
},
{
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "5933:3:29"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5923:6:29"
},
"nodeType": "YulFunctionCall",
"src": "5923:14:29"
},
"nodeType": "YulExpressionStatement",
"src": "5923:14:29"
},
{
"nodeType": "YulAssignment",
"src": "5946:26:29",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5964:1:29",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5967:4:29",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "keccak256",
"nodeType": "YulIdentifier",
"src": "5954:9:29"
},
"nodeType": "YulFunctionCall",
"src": "5954:18:29"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "5946:4:29"
}
]
}
]
},
"name": "array_dataslot_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nodeType": "YulTypedName",
"src": "5879:3:29",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "5887:4:29",
"type": ""
}
],
"src": "5838:141:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6029:49:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6039:33:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6057:5:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6064:2:29",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6053:3:29"
},
"nodeType": "YulFunctionCall",
"src": "6053:14:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6069:2:29",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "div",
"nodeType": "YulIdentifier",
"src": "6049:3:29"
},
"nodeType": "YulFunctionCall",
"src": "6049:23:29"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "6039:6:29"
}
]
}
]
},
"name": "divide_by_32_ceil",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6012:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "6022:6:29",
"type": ""
}
],
"src": "5985:93:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6137:54:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6147:37:29",
"value": {
"arguments": [
{
"name": "bits",
"nodeType": "YulIdentifier",
"src": "6172:4:29"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6178:5:29"
}
],
"functionName": {
"name": "shl",
"nodeType": "YulIdentifier",
"src": "6168:3:29"
},
"nodeType": "YulFunctionCall",
"src": "6168:16:29"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "6147:8:29"
}
]
}
]
},
"name": "shift_left_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nodeType": "YulTypedName",
"src": "6112:4:29",
"type": ""
},
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6118:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "6128:8:29",
"type": ""
}
],
"src": "6084:107:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6273:317:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "6283:35:29",
"value": {
"arguments": [
{
"name": "shiftBytes",
"nodeType": "YulIdentifier",
"src": "6304:10:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6316:1:29",
"type": "",
"value": "8"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "6300:3:29"
},
"nodeType": "YulFunctionCall",
"src": "6300:18:29"
},
"variables": [
{
"name": "shiftBits",
"nodeType": "YulTypedName",
"src": "6287:9:29",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "6327:109:29",
"value": {
"arguments": [
{
"name": "shiftBits",
"nodeType": "YulIdentifier",
"src": "6358:9:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6369:66:29",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nodeType": "YulIdentifier",
"src": "6339:18:29"
},
"nodeType": "YulFunctionCall",
"src": "6339:97:29"
},
"variables": [
{
"name": "mask",
"nodeType": "YulTypedName",
"src": "6331:4:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "6445:51:29",
"value": {
"arguments": [
{
"name": "shiftBits",
"nodeType": "YulIdentifier",
"src": "6476:9:29"
},
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "6487:8:29"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nodeType": "YulIdentifier",
"src": "6457:18:29"
},
"nodeType": "YulFunctionCall",
"src": "6457:39:29"
},
"variableNames": [
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "6445:8:29"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6505:30:29",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6518:5:29"
},
{
"arguments": [
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "6529:4:29"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "6525:3:29"
},
"nodeType": "YulFunctionCall",
"src": "6525:9:29"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6514:3:29"
},
"nodeType": "YulFunctionCall",
"src": "6514:21:29"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6505:5:29"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6544:40:29",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6557:5:29"
},
{
"arguments": [
{
"name": "toInsert",
"nodeType": "YulIdentifier",
"src": "6568:8:29"
},
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "6578:4:29"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "6564:3:29"
},
"nodeType": "YulFunctionCall",
"src": "6564:19:29"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "6554:2:29"
},
"nodeType": "YulFunctionCall",
"src": "6554:30:29"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "6544:6:29"
}
]
}
]
},
"name": "update_byte_slice_dynamic32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6234:5:29",
"type": ""
},
{
"name": "shiftBytes",
"nodeType": "YulTypedName",
"src": "6241:10:29",
"type": ""
},
{
"name": "toInsert",
"nodeType": "YulTypedName",
"src": "6253:8:29",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "6266:6:29",
"type": ""
}
],
"src": "6197:393:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6628:28:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6638:12:29",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "6645:5:29"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "6638:3:29"
}
]
}
]
},
"name": "identity",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6614:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "6624:3:29",
"type": ""
}
],
"src": "6596:60:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6722:82:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6732:66:29",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6790:5:29"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "6772:17:29"
},
"nodeType": "YulFunctionCall",
"src": "6772:24:29"
}
],
"functionName": {
"name": "identity",
"nodeType": "YulIdentifier",
"src": "6763:8:29"
},
"nodeType": "YulFunctionCall",
"src": "6763:34:29"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "6745:17:29"
},
"nodeType": "YulFunctionCall",
"src": "6745:53:29"
},
"variableNames": [
{
"name": "converted",
"nodeType": "YulIdentifier",
"src": "6732:9:29"
}
]
}
]
},
"name": "convert_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6702:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nodeType": "YulTypedName",
"src": "6712:9:29",
"type": ""
}
],
"src": "6662:142:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6857:28:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6867:12:29",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "6874:5:29"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "6867:3:29"
}
]
}
]
},
"name": "prepare_store_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6843:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "6853:3:29",
"type": ""
}
],
"src": "6810:75:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6967:193:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "6977:63:29",
"value": {
"arguments": [
{
"name": "value_0",
"nodeType": "YulIdentifier",
"src": "7032:7:29"
}
],
"functionName": {
"name": "convert_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "7001:30:29"
},
"nodeType": "YulFunctionCall",
"src": "7001:39:29"
},
"variables": [
{
"name": "convertedValue_0",
"nodeType": "YulTypedName",
"src": "6981:16:29",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "7056:4:29"
},
{
"arguments": [
{
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "7096:4:29"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "7090:5:29"
},
"nodeType": "YulFunctionCall",
"src": "7090:11:29"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "7103:6:29"
},
{
"arguments": [
{
"name": "convertedValue_0",
"nodeType": "YulIdentifier",
"src": "7135:16:29"
}
],
"functionName": {
"name": "prepare_store_t_uint256",
"nodeType": "YulIdentifier",
"src": "7111:23:29"
},
"nodeType": "YulFunctionCall",
"src": "7111:41:29"
}
],
"functionName": {
"name": "update_byte_slice_dynamic32",
"nodeType": "YulIdentifier",
"src": "7062:27:29"
},
"nodeType": "YulFunctionCall",
"src": "7062:91:29"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "7049:6:29"
},
"nodeType": "YulFunctionCall",
"src": "7049:105:29"
},
"nodeType": "YulExpressionStatement",
"src": "7049:105:29"
}
]
},
"name": "update_storage_value_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "6944:4:29",
"type": ""
},
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "6950:6:29",
"type": ""
},
{
"name": "value_0",
"nodeType": "YulTypedName",
"src": "6958:7:29",
"type": ""
}
],
"src": "6891:269:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7215:24:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7225:8:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "7232:1:29",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "ret",
"nodeType": "YulIdentifier",
"src": "7225:3:29"
}
]
}
]
},
"name": "zero_value_for_split_t_uint256",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "ret",
"nodeType": "YulTypedName",
"src": "7211:3:29",
"type": ""
}
],
"src": "7166:73:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7298:136:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7308:46:29",
"value": {
"arguments": [],
"functionName": {
"name": "zero_value_for_split_t_uint256",
"nodeType": "YulIdentifier",
"src": "7322:30:29"
},
"nodeType": "YulFunctionCall",
"src": "7322:32:29"
},
"variables": [
{
"name": "zero_0",
"nodeType": "YulTypedName",
"src": "7312:6:29",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "7407:4:29"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "7413:6:29"
},
{
"name": "zero_0",
"nodeType": "YulIdentifier",
"src": "7421:6:29"
}
],
"functionName": {
"name": "update_storage_value_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "7363:43:29"
},
"nodeType": "YulFunctionCall",
"src": "7363:65:29"
},
"nodeType": "YulExpressionStatement",
"src": "7363:65:29"
}
]
},
"name": "storage_set_to_zero_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "7284:4:29",
"type": ""
},
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "7290:6:29",
"type": ""
}
],
"src": "7245:189:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7490:136:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7557:63:29",
"statements": [
{
"expression": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "7601:5:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7608:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "storage_set_to_zero_t_uint256",
"nodeType": "YulIdentifier",
"src": "7571:29:29"
},
"nodeType": "YulFunctionCall",
"src": "7571:39:29"
},
"nodeType": "YulExpressionStatement",
"src": "7571:39:29"
}
]
},
"condition": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "7510:5:29"
},
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "7517:3:29"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "7507:2:29"
},
"nodeType": "YulFunctionCall",
"src": "7507:14:29"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "7522:26:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7524:22:29",
"value": {
"arguments": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "7537:5:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7544:1:29",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7533:3:29"
},
"nodeType": "YulFunctionCall",
"src": "7533:13:29"
},
"variableNames": [
{
"name": "start",
"nodeType": "YulIdentifier",
"src": "7524:5:29"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "7504:2:29",
"statements": []
},
"src": "7500:120:29"
}
]
},
"name": "clear_storage_range_t_bytes1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "start",
"nodeType": "YulTypedName",
"src": "7478:5:29",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "7485:3:29",
"type": ""
}
],
"src": "7440:186:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7711:464:29",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "7737:431:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7751:54:29",
"value": {
"arguments": [
{
"name": "array",
"nodeType": "YulIdentifier",
"src": "7799:5:29"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "7767:31:29"
},
"nodeType": "YulFunctionCall",
"src": "7767:38:29"
},
"variables": [
{
"name": "dataArea",
"nodeType": "YulTypedName",
"src": "7755:8:29",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "7818:63:29",
"value": {
"arguments": [
{
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "7841:8:29"
},
{
"arguments": [
{
"name": "startIndex",
"nodeType": "YulIdentifier",
"src": "7869:10:29"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nodeType": "YulIdentifier",
"src": "7851:17:29"
},
"nodeType": "YulFunctionCall",
"src": "7851:29:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7837:3:29"
},
"nodeType": "YulFunctionCall",
"src": "7837:44:29"
},
"variables": [
{
"name": "deleteStart",
"nodeType": "YulTypedName",
"src": "7822:11:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8038:27:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8040:23:29",
"value": {
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "8055:8:29"
},
"variableNames": [
{
"name": "deleteStart",
"nodeType": "YulIdentifier",
"src": "8040:11:29"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "startIndex",
"nodeType": "YulIdentifier",
"src": "8022:10:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8034:2:29",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "8019:2:29"
},
"nodeType": "YulFunctionCall",
"src": "8019:18:29"
},
"nodeType": "YulIf",
"src": "8016:49:29"
},
{
"expression": {
"arguments": [
{
"name": "deleteStart",
"nodeType": "YulIdentifier",
"src": "8107:11:29"
},
{
"arguments": [
{
"name": "dataArea",
"nodeType": "YulIdentifier",
"src": "8124:8:29"
},
{
"arguments": [
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "8152:3:29"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nodeType": "YulIdentifier",
"src": "8134:17:29"
},
"nodeType": "YulFunctionCall",
"src": "8134:22:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8120:3:29"
},
"nodeType": "YulFunctionCall",
"src": "8120:37:29"
}
],
"functionName": {
"name": "clear_storage_range_t_bytes1",
"nodeType": "YulIdentifier",
"src": "8078:28:29"
},
"nodeType": "YulFunctionCall",
"src": "8078:80:29"
},
"nodeType": "YulExpressionStatement",
"src": "8078:80:29"
}
]
},
"condition": {
"arguments": [
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "7728:3:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7733:2:29",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "7725:2:29"
},
"nodeType": "YulFunctionCall",
"src": "7725:11:29"
},
"nodeType": "YulIf",
"src": "7722:446:29"
}
]
},
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "array",
"nodeType": "YulTypedName",
"src": "7687:5:29",
"type": ""
},
{
"name": "len",
"nodeType": "YulTypedName",
"src": "7694:3:29",
"type": ""
},
{
"name": "startIndex",
"nodeType": "YulTypedName",
"src": "7699:10:29",
"type": ""
}
],
"src": "7632:543:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8244:54:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8254:37:29",
"value": {
"arguments": [
{
"name": "bits",
"nodeType": "YulIdentifier",
"src": "8279:4:29"
},
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8285:5:29"
}
],
"functionName": {
"name": "shr",
"nodeType": "YulIdentifier",
"src": "8275:3:29"
},
"nodeType": "YulFunctionCall",
"src": "8275:16:29"
},
"variableNames": [
{
"name": "newValue",
"nodeType": "YulIdentifier",
"src": "8254:8:29"
}
]
}
]
},
"name": "shift_right_unsigned_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nodeType": "YulTypedName",
"src": "8219:4:29",
"type": ""
},
{
"name": "value",
"nodeType": "YulTypedName",
"src": "8225:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nodeType": "YulTypedName",
"src": "8235:8:29",
"type": ""
}
],
"src": "8181:117:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8355:118:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8365:68:29",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8414:1:29",
"type": "",
"value": "8"
},
{
"name": "bytes",
"nodeType": "YulIdentifier",
"src": "8417:5:29"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "8410:3:29"
},
"nodeType": "YulFunctionCall",
"src": "8410:13:29"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8429:1:29",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "8425:3:29"
},
"nodeType": "YulFunctionCall",
"src": "8425:6:29"
}
],
"functionName": {
"name": "shift_right_unsigned_dynamic",
"nodeType": "YulIdentifier",
"src": "8381:28:29"
},
"nodeType": "YulFunctionCall",
"src": "8381:51:29"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "8377:3:29"
},
"nodeType": "YulFunctionCall",
"src": "8377:56:29"
},
"variables": [
{
"name": "mask",
"nodeType": "YulTypedName",
"src": "8369:4:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "8442:25:29",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "8456:4:29"
},
{
"name": "mask",
"nodeType": "YulIdentifier",
"src": "8462:4:29"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "8452:3:29"
},
"nodeType": "YulFunctionCall",
"src": "8452:15:29"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "8442:6:29"
}
]
}
]
},
"name": "mask_bytes_dynamic",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "8332:4:29",
"type": ""
},
{
"name": "bytes",
"nodeType": "YulTypedName",
"src": "8338:5:29",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "8348:6:29",
"type": ""
}
],
"src": "8304:169:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8559:214:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8692:37:29",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "8719:4:29"
},
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "8725:3:29"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nodeType": "YulIdentifier",
"src": "8700:18:29"
},
"nodeType": "YulFunctionCall",
"src": "8700:29:29"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "8692:4:29"
}
]
},
{
"nodeType": "YulAssignment",
"src": "8738:29:29",
"value": {
"arguments": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "8749:4:29"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8759:1:29",
"type": "",
"value": "2"
},
{
"name": "len",
"nodeType": "YulIdentifier",
"src": "8762:3:29"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "8755:3:29"
},
"nodeType": "YulFunctionCall",
"src": "8755:11:29"
}
],
"functionName": {
"name": "or",
"nodeType": "YulIdentifier",
"src": "8746:2:29"
},
"nodeType": "YulFunctionCall",
"src": "8746:21:29"
},
"variableNames": [
{
"name": "used",
"nodeType": "YulIdentifier",
"src": "8738:4:29"
}
]
}
]
},
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "8540:4:29",
"type": ""
},
{
"name": "len",
"nodeType": "YulTypedName",
"src": "8546:3:29",
"type": ""
}
],
"returnVariables": [
{
"name": "used",
"nodeType": "YulTypedName",
"src": "8554:4:29",
"type": ""
}
],
"src": "8478:295:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8870:1303:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8881:51:29",
"value": {
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "8928:3:29"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nodeType": "YulIdentifier",
"src": "8895:32:29"
},
"nodeType": "YulFunctionCall",
"src": "8895:37:29"
},
"variables": [
{
"name": "newLen",
"nodeType": "YulTypedName",
"src": "8885:6:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "9017:22:29",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nodeType": "YulIdentifier",
"src": "9019:16:29"
},
"nodeType": "YulFunctionCall",
"src": "9019:18:29"
},
"nodeType": "YulExpressionStatement",
"src": "9019:18:29"
}
]
},
"condition": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "8989:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8997:18:29",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "8986:2:29"
},
"nodeType": "YulFunctionCall",
"src": "8986:30:29"
},
"nodeType": "YulIf",
"src": "8983:56:29"
},
{
"nodeType": "YulVariableDeclaration",
"src": "9049:52:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "9095:4:29"
}
],
"functionName": {
"name": "sload",
"nodeType": "YulIdentifier",
"src": "9089:5:29"
},
"nodeType": "YulFunctionCall",
"src": "9089:11:29"
}
],
"functionName": {
"name": "extract_byte_array_length",
"nodeType": "YulIdentifier",
"src": "9063:25:29"
},
"nodeType": "YulFunctionCall",
"src": "9063:38:29"
},
"variables": [
{
"name": "oldLen",
"nodeType": "YulTypedName",
"src": "9053:6:29",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "9194:4:29"
},
{
"name": "oldLen",
"nodeType": "YulIdentifier",
"src": "9200:6:29"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "9208:6:29"
}
],
"functionName": {
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nodeType": "YulIdentifier",
"src": "9148:45:29"
},
"nodeType": "YulFunctionCall",
"src": "9148:67:29"
},
"nodeType": "YulExpressionStatement",
"src": "9148:67:29"
},
{
"nodeType": "YulVariableDeclaration",
"src": "9225:18:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "9242:1:29",
"type": "",
"value": "0"
},
"variables": [
{
"name": "srcOffset",
"nodeType": "YulTypedName",
"src": "9229:9:29",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "9253:17:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "9266:4:29",
"type": "",
"value": "0x20"
},
"variableNames": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "9253:9:29"
}
]
},
{
"cases": [
{
"body": {
"nodeType": "YulBlock",
"src": "9317:611:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9331:37:29",
"value": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "9350:6:29"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9362:4:29",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "9358:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9358:9:29"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "9346:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9346:22:29"
},
"variables": [
{
"name": "loopEnd",
"nodeType": "YulTypedName",
"src": "9335:7:29",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "9382:51:29",
"value": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "9428:4:29"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nodeType": "YulIdentifier",
"src": "9396:31:29"
},
"nodeType": "YulFunctionCall",
"src": "9396:37:29"
},
"variables": [
{
"name": "dstPtr",
"nodeType": "YulTypedName",
"src": "9386:6:29",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "9446:10:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "9455:1:29",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "9450:1:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "9514:163:29",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "9539:6:29"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "9557:3:29"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "9562:9:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9553:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9553:19:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "9547:5:29"
},
"nodeType": "YulFunctionCall",
"src": "9547:26:29"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "9532:6:29"
},
"nodeType": "YulFunctionCall",
"src": "9532:42:29"
},
"nodeType": "YulExpressionStatement",
"src": "9532:42:29"
},
{
"nodeType": "YulAssignment",
"src": "9591:24:29",
"value": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "9605:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9613:1:29",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9601:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9601:14:29"
},
"variableNames": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "9591:6:29"
}
]
},
{
"nodeType": "YulAssignment",
"src": "9632:31:29",
"value": {
"arguments": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "9649:9:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9660:2:29",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9645:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9645:18:29"
},
"variableNames": [
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "9632:9:29"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "9480:1:29"
},
{
"name": "loopEnd",
"nodeType": "YulIdentifier",
"src": "9483:7:29"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "9477:2:29"
},
"nodeType": "YulFunctionCall",
"src": "9477:14:29"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "9492:21:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "9494:17:29",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "9503:1:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9506:4:29",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9499:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9499:12:29"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "9494:1:29"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "9473:3:29",
"statements": []
},
"src": "9469:208:29"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9713:156:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9731:43:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "9758:3:29"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "9763:9:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9754:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9754:19:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "9748:5:29"
},
"nodeType": "YulFunctionCall",
"src": "9748:26:29"
},
"variables": [
{
"name": "lastValue",
"nodeType": "YulTypedName",
"src": "9735:9:29",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nodeType": "YulIdentifier",
"src": "9798:6:29"
},
{
"arguments": [
{
"name": "lastValue",
"nodeType": "YulIdentifier",
"src": "9825:9:29"
},
{
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "9840:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9848:4:29",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "9836:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9836:17:29"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nodeType": "YulIdentifier",
"src": "9806:18:29"
},
"nodeType": "YulFunctionCall",
"src": "9806:48:29"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "9791:6:29"
},
"nodeType": "YulFunctionCall",
"src": "9791:64:29"
},
"nodeType": "YulExpressionStatement",
"src": "9791:64:29"
}
]
},
"condition": {
"arguments": [
{
"name": "loopEnd",
"nodeType": "YulIdentifier",
"src": "9696:7:29"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "9705:6:29"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "9693:2:29"
},
"nodeType": "YulFunctionCall",
"src": "9693:19:29"
},
"nodeType": "YulIf",
"src": "9690:179:29"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "9889:4:29"
},
{
"arguments": [
{
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "9903:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9911:1:29",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "mul",
"nodeType": "YulIdentifier",
"src": "9899:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9899:14:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9915:1:29",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9895:3:29"
},
"nodeType": "YulFunctionCall",
"src": "9895:22:29"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "9882:6:29"
},
"nodeType": "YulFunctionCall",
"src": "9882:36:29"
},
"nodeType": "YulExpressionStatement",
"src": "9882:36:29"
}
]
},
"nodeType": "YulCase",
"src": "9310:618:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "9315:1:29",
"type": "",
"value": "1"
}
},
{
"body": {
"nodeType": "YulBlock",
"src": "9945:222:29",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9959:14:29",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "9972:1:29",
"type": "",
"value": "0"
},
"variables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9963:5:29",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "9996:67:29",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10014:35:29",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "10033:3:29"
},
{
"name": "srcOffset",
"nodeType": "YulIdentifier",
"src": "10038:9:29"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10029:3:29"
},
"nodeType": "YulFunctionCall",
"src": "10029:19:29"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "10023:5:29"
},
"nodeType": "YulFunctionCall",
"src": "10023:26:29"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "10014:5:29"
}
]
}
]
},
"condition": {
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "9989:6:29"
},
"nodeType": "YulIf",
"src": "9986:77:29"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nodeType": "YulIdentifier",
"src": "10083:4:29"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "10142:5:29"
},
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "10149:6:29"
}
],
"functionName": {
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nodeType": "YulIdentifier",
"src": "10089:52:29"
},
"nodeType": "YulFunctionCall",
"src": "10089:67:29"
}
],
"functionName": {
"name": "sstore",
"nodeType": "YulIdentifier",
"src": "10076:6:29"
},
"nodeType": "YulFunctionCall",
"src": "10076:81:29"
},
"nodeType": "YulExpressionStatement",
"src": "10076:81:29"
}
]
},
"nodeType": "YulCase",
"src": "9937:230:29",
"value": "default"
}
],
"expression": {
"arguments": [
{
"name": "newLen",
"nodeType": "YulIdentifier",
"src": "9290:6:29"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9298:2:29",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nodeType": "YulIdentifier",
"src": "9287:2:29"
},
"nodeType": "YulFunctionCall",
"src": "9287:14:29"
},
"nodeType": "YulSwitch",
"src": "9280:887:29"
}
]
},
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nodeType": "YulTypedName",
"src": "8859:4:29",
"type": ""
},
{
"name": "src",
"nodeType": "YulTypedName",
"src": "8865:3:29",
"type": ""
}
],
"src": "8778:1395:29"
}
]
},
"contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function cleanup_t_bytes32(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_bytes32(value) {\n if iszero(eq(value, cleanup_t_bytes32(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_bytes32_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_bytes32(value)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_uint256(value)\n }\n\n function revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() {\n revert(0, 0)\n }\n\n function revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() {\n revert(0, 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := round_up_to_mul_of_32(length)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n\n function abi_decode_available_length_t_string_memory_ptr_fromMemory(src, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae() }\n copy_memory_to_memory_with_cleanup(src, dst, length)\n }\n\n // string\n function abi_decode_t_string_memory_ptr_fromMemory(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d() }\n let length := mload(offset)\n array := abi_decode_available_length_t_string_memory_ptr_fromMemory(add(offset, 0x20), length, end)\n }\n\n function abi_decode_tuple_t_addresst_addresst_addresst_bytes32t_uint256t_string_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5 {\n if slt(sub(dataEnd, headStart), 192) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 96\n\n value3 := abi_decode_t_bytes32_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 128\n\n value4 := abi_decode_t_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := mload(add(headStart, 160))\n if gt(offset, 0xffffffffffffffff) { revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() }\n\n value5 := abi_decode_t_string_memory_ptr_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n}\n",
"id": 29,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "60c06040523480156200001157600080fd5b5060405162004dc938038062004dc9833981810160405281019062000037919062000410565b85856040518060400160405280600381526020017f4e465400000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e465400000000000000000000000000000000000000000000000000000000008152508160009081620000b691906200070c565b508060019081620000c891906200070c565b5050508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050508260098190555081600a8190555080600b90816200015491906200070c565b5083601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050620007f3565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001e382620001b6565b9050919050565b620001f581620001d6565b81146200020157600080fd5b50565b6000815190506200021581620001ea565b92915050565b6000819050919050565b62000230816200021b565b81146200023c57600080fd5b50565b600081519050620002508162000225565b92915050565b6000819050919050565b6200026b8162000256565b81146200027757600080fd5b50565b6000815190506200028b8162000260565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002e6826200029b565b810181811067ffffffffffffffff82111715620003085762000307620002ac565b5b80604052505050565b60006200031d620001a2565b90506200032b8282620002db565b919050565b600067ffffffffffffffff8211156200034e576200034d620002ac565b5b62000359826200029b565b9050602081019050919050565b60005b838110156200038657808201518184015260208101905062000369565b60008484015250505050565b6000620003a9620003a38462000330565b62000311565b905082815260208101848484011115620003c857620003c762000296565b5b620003d584828562000366565b509392505050565b600082601f830112620003f557620003f462000291565b5b81516200040784826020860162000392565b91505092915050565b60008060008060008060c0878903121562000430576200042f620001ac565b5b60006200044089828a0162000204565b96505060206200045389828a0162000204565b95505060406200046689828a0162000204565b94505060606200047989828a016200023f565b93505060806200048c89828a016200027a565b92505060a087015167ffffffffffffffff811115620004b057620004af620001b1565b5b620004be89828a01620003dd565b9150509295509295509295565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200051e57607f821691505b602082108103620005345762000533620004d6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200059e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200055f565b620005aa86836200055f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620005ed620005e7620005e18462000256565b620005c2565b62000256565b9050919050565b6000819050919050565b6200060983620005cc565b620006216200061882620005f4565b8484546200056c565b825550505050565b600090565b6200063862000629565b62000645818484620005fe565b505050565b5b818110156200066d57620006616000826200062e565b6001810190506200064b565b5050565b601f821115620006bc5762000686816200053a565b62000691846200054f565b81016020851015620006a1578190505b620006b9620006b0856200054f565b8301826200064a565b50505b505050565b600082821c905092915050565b6000620006e160001984600802620006c1565b1980831691505092915050565b6000620006fc8383620006ce565b9150826002028217905092915050565b6200071782620004cb565b67ffffffffffffffff811115620007335762000732620002ac565b5b6200073f825462000505565b6200074c82828562000671565b600060209050601f8311600181146200078457600084156200076f578287015190505b6200077b8582620006ee565b865550620007eb565b601f19841662000794866200053a565b60005b82811015620007be5784890151825560018201915060208501945060208101905062000797565b86831015620007de5784890151620007da601f891682620006ce565b8355505b6001600288020188555050505b505050505050565b60805160a0516145b3620008166000396000610bbc0152600050506145b36000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b8578063a22cb4651161007c578063a22cb465146103c1578063b88d4fde146103dd578063c87b56dd146103f9578063ddba701014610429578063e985e9c514610459578063f44d9e5c1461048957610142565b806370a08231146102f75780638ba985d11461032757806394985ddd1461035757806395d89b41146103735780639c1cd7951461039157610142565b8063219c0eee1161010a578063219c0eee146101ff57806322881f881461022f57806323b872dd1461025f57806342842e0e1461027b5780636352211e14610297578063671262fd146102c757610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c5578063135d088d146101e1575b600080fd5b610161600480360381019061015c9190612e43565b6104b9565b60405161016e9190612e8b565b60405180910390f35b61017f61059b565b60405161018c9190612f36565b60405180910390f35b6101af60048036038101906101aa9190612f8e565b61062d565b6040516101bc9190612ffc565b60405180910390f35b6101df60048036038101906101da9190613043565b610673565b005b6101e961078a565b6040516101f69190612f36565b60405180910390f35b610219600480360381019061021491906130b9565b610818565b6040516102269190612ffc565b60405180910390f35b610249600480360381019061024491906130b9565b61084b565b60405161025691906130f5565b60405180910390f35b61027960048036038101906102749190613110565b610863565b005b61029560048036038101906102909190613110565b6108c3565b005b6102b160048036038101906102ac9190612f8e565b6108e3565b6040516102be9190612ffc565b60405180910390f35b6102e160048036038101906102dc91906130b9565b610969565b6040516102ee9190612f36565b60405180910390f35b610311600480360381019061030c9190613163565b610a09565b60405161031e91906130f5565b60405180910390f35b610341600480360381019061033c91906132c5565b610ac0565b60405161034e9190613363565b60405180910390f35b610371600480360381019061036c9190613385565b610bba565b005b61037b610c56565b6040516103889190612f36565b60405180910390f35b6103ab60048036038101906103a69190612f8e565b610ce8565b6040516103b891906130f5565b60405180910390f35b6103db60048036038101906103d691906133f1565b610d00565b005b6103f760048036038101906103f291906134d2565b610d16565b005b610413600480360381019061040e9190612f8e565b610d78565b6040516104209190612f36565b60405180910390f35b610443600480360381019061043e919061363b565b610e8a565b60405161045091906130f5565b60405180910390f35b610473600480360381019061046e91906136b3565b610f6c565b6040516104809190612e8b565b60405180910390f35b6104a3600480360381019061049e91906130b9565b611000565b6040516104b09190612f36565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061058457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105945750610593826110a0565b5b9050919050565b6060600080546105aa90613722565b80601f01602080910402602001604051908101604052809291908181526020018280546105d690613722565b80156106235780601f106105f857610100808354040283529160200191610623565b820191906000526020600020905b81548152906001019060200180831161060657829003601f168201915b5050505050905090565b60006106388261110a565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061067e826108e3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e5906137c5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661070d611155565b73ffffffffffffffffffffffffffffffffffffffff16148061073c575061073b81610736611155565b610f6c565b5b61077b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077290613857565b60405180910390fd5b610785838361115d565b505050565b600b805461079790613722565b80601f01602080910402602001604051908101604052809291908181526020018280546107c390613722565b80156108105780601f106107e557610100808354040283529160200191610810565b820191906000526020600020905b8154815290600101906020018083116107f357829003601f168201915b505050505081565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f6020528060005260406000206000915090505481565b61087461086e611155565b82611216565b6108b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108aa906138e9565b60405180910390fd5b6108be8383836112ab565b505050565b6108de83838360405180602001604052806000815250610d16565b505050565b6000806108ef836115a4565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095790613955565b60405180910390fd5b80915050919050565b600e602052806000526040600020600091509050805461098890613722565b80601f01602080910402602001604051908101604052809291908181526020018280546109b490613722565b8015610a015780601f106109d657610100808354040283529160200191610a01565b820191906000526020600020905b8154815290600101906020018083116109e457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a70906139e7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600082905060008151905060008167ffffffffffffffff811115610ae957610ae861319a565b5b6040519080825280601f01601f191660200182016040528015610b1b5781602001600182028036833780820191505090505b50905060005b82811015610bae5760f0848281518110610b3e57610b3d613a07565b5b602001015160f81c60f81b60f81c610b569190613a72565b60f81b828281518110610b6c57610b6b613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080610ba690613aa7565b915050610b21565b50809350505050919050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3f90613b3b565b60405180910390fd5b610c5282826115e1565b5050565b606060018054610c6590613722565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9190613722565b8015610cde5780601f10610cb357610100808354040283529160200191610cde565b820191906000526020600020905b815481529060010190602001808311610cc157829003601f168201915b5050505050905090565b60106020528060005260406000206000915090505481565b610d12610d0b611155565b8383611659565b5050565b610d27610d21611155565b83611216565b610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d906138e9565b60405180910390fd5b610d72848484846117c5565b50505050565b6060610d838261110a565b6000600660008481526020019081526020016000208054610da390613722565b80601f0160208091040260200160405190810160405280929190818152602001828054610dcf90613722565b8015610e1c5780601f10610df157610100808354040283529160200191610e1c565b820191906000526020600020905b815481529060010190602001808311610dff57829003601f168201915b505050505090506000610e2d611821565b90506000815103610e42578192505050610e85565b600082511115610e77578082604051602001610e5f929190613b97565b60405160208183030381529060405292505050610e85565b610e8084611838565b925050505b919050565b6000808390506000610e9b826118a0565b9050600081600001518260200151604051602001610eba929190613bdc565b6040516020818303038152906040529050600081604051602001610ede9190613c44565b60405160208183030381529060405290506000610efa82611b2b565b9050600081604051602001610f0f9190613ccd565b604051602081830303815290604052905060008190506000610f3160086123d4565b9050610f3d33826123e2565b610f478183612400565b610f51600861246d565b610f5b818b612483565b809850505050505050505092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d602052806000526040600020600091509050805461101f90613722565b80601f016020809104026020016040519081016040528092919081815260200182805461104b90613722565b80156110985780601f1061106d57610100808354040283529160200191611098565b820191906000526020600020905b81548152906001019060200180831161107b57829003601f168201915b505050505081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61111381612600565b611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990613955565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166111d0836108e3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611222836108e3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061126457506112638185610f6c565b5b806112a257508373ffffffffffffffffffffffffffffffffffffffff1661128a8461062d565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166112cb826108e3565b73ffffffffffffffffffffffffffffffffffffffff1614611321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131890613d61565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138790613df3565b60405180910390fd5b61139d8383836001612641565b8273ffffffffffffffffffffffffffffffffffffffff166113bd826108e3565b73ffffffffffffffffffffffffffffffffffffffff1614611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a90613d61565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461159f8383836001612647565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600f60008481526020019081526020016000205490506000600c600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082601060008481526020019081526020016000208190555061165381836123e2565b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be90613e5f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117b89190612e8b565b60405180910390a3505050565b6117d08484846112ab565b6117dc8484848461264d565b61181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290613ef1565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b60606118438261110a565b600061184d611821565b9050600081511161186d5760405180602001604052806000815250611898565b80611877846127d4565b604051602001611888929190613b97565b6040516020818303038152906040525b915050919050565b6118a8612daf565b60008251905060008060039050600080600083866118c69190613f40565b67ffffffffffffffff8111156118df576118de61319a565b5b60405190808252806020026020018201604052801561190d5781602001602082028036833780820191505090505b5090506000848761191e9190613f40565b67ffffffffffffffff8111156119375761193661319a565b5b6040519080825280602002602001820160405280156119655781602001602082028036833780820191505090505b50905060005b87871015611afb5760008690508881896119859190613f71565b111561199a5787896119979190613fa5565b90505b60008167ffffffffffffffff8111156119b6576119b561319a565b5b6040519080825280601f01601f1916602001820160405280156119e85781602001600182028036833780820191505090505b50905060005b82811015611a74578c818b611a039190613f71565b81518110611a1457611a13613a07565b5b602001015160f81c60f81b828281518110611a3257611a31613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080611a6c90613aa7565b9150506119ee565b506000611a83868686856128a2565b90506000811115611a9657809350611ae5565b89868581518110611aaa57611aa9613a07565b5b60200260200101818152505082858581518110611aca57611ac9613a07565b5b6020026020010181815250508380611ae190613aa7565b9450505b828a611af19190613f71565b995050505061196b565b60405180608001604052808681526020018581526020018481526020018381525098505050505050505050919050565b60606000825103611b4d576040518060200160405280600081525090506123cf565b6000600360028451611b5f9190613f71565b611b699190613f40565b6004611b759190613fd9565b905060008167ffffffffffffffff811115611b9357611b9261319a565b5b6040519080825280601f01601f191660200182016040528015611bc55781602001600182028036833780820191505090505b509050600080600060038751611bdb919061401b565b90506000818851611bec9190613fa5565b90505b80841015611f05576000888581518110611c0c57611c0b613a07565b5b602001015160f81c60f81b60f81c9050600089600187611c2c9190613f71565b81518110611c3d57611c3c613a07565b5b602001015160f81c60f81b60f81c905060008a600288611c5d9190613f71565b81518110611c6e57611c6d613a07565b5b602001015160f81c60f81b60f81c905060008160ff1660088460ff1662ffffff16901b60108660ff1662ffffff16901b1717905060405180606001604052806040815260200161453e60409139603f60128362ffffff16901c1662ffffff1681518110611cde57611cdd613a07565b5b602001015160f81c60f81b898880611cf590613aa7565b995081518110611d0857611d07613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060405180606001604052806040815260200161453e60409139603f600c8362ffffff16901c1662ffffff1681518110611d7357611d72613a07565b5b602001015160f81c60f81b898880611d8a90613aa7565b995081518110611d9d57611d9c613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060405180606001604052806040815260200161453e60409139603f60068362ffffff16901c1662ffffff1681518110611e0857611e07613a07565b5b602001015160f81c60f81b898880611e1f90613aa7565b995081518110611e3257611e31613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060405180606001604052806040815260200161453e60409139603f821662ffffff1681518110611e9457611e93613a07565b5b602001015160f81c60f81b898880611eab90613aa7565b995081518110611ebe57611ebd613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050505050600384611efe9190613f71565b9350611bef565b60018203612138576000888581518110611f2257611f21613a07565b5b602001015160f81c60f81b60f81c905060405180606001604052806040815260200161453e60409139603f60028360ff16901c1660ff1681518110611f6a57611f69613a07565b5b602001015160f81c60f81b868580611f8190613aa7565b965081518110611f9457611f93613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060405180606001604052806040815260200161453e60409139603f60048360ff16901b1660ff1681518110611ffb57611ffa613a07565b5b602001015160f81c60f81b86858061201290613aa7565b96508151811061202557612024613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f3d0000000000000000000000000000000000000000000000000000000000000086858061208190613aa7565b96508151811061209457612093613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f3d000000000000000000000000000000000000000000000000000000000000008685806120f090613aa7565b96508151811061210357612102613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350506123c5565b600282036123c457600088858151811061215557612154613a07565b5b602001015160f81c60f81b60f81c90506000896001876121759190613f71565b8151811061218657612185613a07565b5b602001015160f81c60f81b60f81c905060405180606001604052806040815260200161453e60409139603f60028460ff16901c1660ff16815181106121ce576121cd613a07565b5b602001015160f81c60f81b8786806121e590613aa7565b9750815181106121f8576121f7613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060405180606001604052806040815260200161453e60409139603f60048360ff16901c60048560ff16901b171660ff168151811061226857612267613a07565b5b602001015160f81c60f81b87868061227f90613aa7565b97508151811061229257612291613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060405180606001604052806040815260200161453e60409139603f60028360ff16901b1660ff16815181106122f9576122f8613a07565b5b602001015160f81c60f81b87868061231090613aa7565b97508151811061232357612322613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f3d0000000000000000000000000000000000000000000000000000000000000087868061237f90613aa7565b97508151811061239257612391613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050505b5b8496505050505050505b919050565b600081600001549050919050565b6123fc8282604051806020016040528060008152506129c1565b5050565b61240982612600565b612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243f906140be565b60405180910390fd5b80600660008481526020019081526020016000209081612468919061428a565b505050565b6001816000016000828254019250508190555050565b60008151905060006020826124989190613fd9565b67ffffffffffffffff8111156124b1576124b061319a565b5b6040519080825280601f01601f1916602001820160405280156124e35781602001600182028036833780820191505090505b5090506000805b838110156125b757600085828151811061250757612506613a07565b5b6020026020010151905060008151905060005b818110156125a15782818151811061253557612534613a07565b5b602001015160f81c60f81b86868061254c90613aa7565b97508151811061255f5761255e613a07565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808061259990613aa7565b91505061251a565b50505080806125af90613aa7565b9150506124ea565b5060006125c383611b2b565b90506125f8866125d288610d78565b836040516020016125e49291906143a8565b604051602081830303815290604052612400565b505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612622836115a4565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b50505050565b50505050565b600061266e8473ffffffffffffffffffffffffffffffffffffffff16612a1c565b156127c7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612697611155565b8786866040518563ffffffff1660e01b81526004016126b994939291906143d7565b6020604051808303816000875af19250505080156126f557506040513d601f19601f820116820180604052508101906126f29190614438565b60015b612777573d8060008114612725576040519150601f19603f3d011682016040523d82523d6000602084013e61272a565b606091505b50600081510361276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690613ef1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127cc565b600190505b949350505050565b6060600060016127e384612a3f565b01905060008167ffffffffffffffff8111156128025761280161319a565b5b6040519080825280601f01601f1916602001820160405280156128345781602001600182028036833780820191505090505b509050600082602001820190505b600115612897578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161288b5761288a613f11565b5b04945060008503612842575b819350505050919050565b600080600090505b838110156129b35760008582815181106128c7576128c6613a07565b5b602002602001015190506000600190508185510361299e5760005b8281101561298b578581815181106128fd576128fc613a07565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191686828151811061293d5761293c613a07565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612978576000915061298b565b808061298390613aa7565b9150506128e2565b50801561299d578293505050506129b9565b5b505080806129ab90613aa7565b9150506128aa565b50600090505b949350505050565b6129cb8383612b92565b6129d8600084848461264d565b612a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0e90613ef1565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a9d577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612a9357612a92613f11565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612ada576d04ee2d6d415b85acef81000000008381612ad057612acf613f11565b5b0492506020810190505b662386f26fc100008310612b0957662386f26fc100008381612aff57612afe613f11565b5b0492506010810190505b6305f5e1008310612b32576305f5e1008381612b2857612b27613f11565b5b0492506008810190505b6127108310612b57576127108381612b4d57612b4c613f11565b5b0492506004810190505b60648310612b7a5760648381612b7057612b6f613f11565b5b0492506002810190505b600a8310612b89576001810190505b80915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf8906144b1565b60405180910390fd5b612c0a81612600565b15612c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c419061451d565b60405180910390fd5b612c58600083836001612641565b612c6181612600565b15612ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c989061451d565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260
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