Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rafat/558bf171a7cb5faa4d1c2199c93d39f9 to your computer and use it in GitHub Desktop.
Save rafat/558bf171a7cb5faa4d1c2199c93d39f9 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.19+commit.7dd6d404.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)
pragma solidity ^0.8.20;
import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```solidity
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```solidity
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
* to enforce additional security measures for this role.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address account => bool) hasRole;
bytes32 adminRole;
}
mapping(bytes32 role => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with an {AccessControlUnauthorizedAccount} error including the required role.
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual returns (bool) {
return _roles[role].hasRole[account];
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
* is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
* is missing `role`.
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert AccessControlUnauthorizedAccount(account, role);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `callerConfirmation`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address callerConfirmation) public virtual {
if (callerConfirmation != _msgSender()) {
revert AccessControlBadConfirmation();
}
_revokeRole(role, callerConfirmation);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
if (!hasRole(role, account)) {
_roles[role].hasRole[account] = true;
emit RoleGranted(role, account, _msgSender());
return true;
} else {
return false;
}
}
/**
* @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
if (hasRole(role, account)) {
_roles[role].hasRole[account] = false;
emit RoleRevoked(role, account, _msgSender());
return true;
} else {
return false;
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)
pragma solidity ^0.8.20;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev The `account` is missing a role.
*/
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);
/**
* @dev The caller of a function is not the expected one.
*
* NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
*/
error AccessControlBadConfirmation();
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `callerConfirmation`.
*/
function renounceRole(bytes32 role, address callerConfirmation) external;
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)
pragma solidity ^0.8.20;
interface IERC5267 {
/**
* @dev MAY be emitted to signal that the domain could have changed.
*/
event EIP712DomainChanged();
/**
* @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
* signature.
*/
function eip712Domain()
external
view
returns (
bytes1 fields,
string memory name,
string memory version,
uint256 chainId,
address verifyingContract,
bytes32 salt,
uint256[] memory extensions
);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Permit.sol)
pragma solidity ^0.8.20;
import {IERC20Permit} from "./IERC20Permit.sol";
import {ERC20} from "../ERC20.sol";
import {ECDSA} from "../../../utils/cryptography/ECDSA.sol";
import {EIP712} from "../../../utils/cryptography/EIP712.sol";
import {Nonces} from "../../../utils/Nonces.sol";
/**
* @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces {
bytes32 private constant PERMIT_TYPEHASH =
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
/**
* @dev Permit deadline has expired.
*/
error ERC2612ExpiredSignature(uint256 deadline);
/**
* @dev Mismatched signature.
*/
error ERC2612InvalidSigner(address signer, address owner);
/**
* @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
*
* It's a good idea to use the same `name` that is defined as the ERC20 token name.
*/
constructor(string memory name) EIP712(name, "1") {}
/**
* @inheritdoc IERC20Permit
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) public virtual {
if (block.timestamp > deadline) {
revert ERC2612ExpiredSignature(deadline);
}
bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));
bytes32 hash = _hashTypedDataV4(structHash);
address signer = ECDSA.recover(hash, v, r, s);
if (signer != owner) {
revert ERC2612InvalidSigner(signer, owner);
}
_approve(owner, spender, value);
}
/**
* @inheritdoc IERC20Permit
*/
function nonces(address owner) public view virtual override(IERC20Permit, Nonces) returns (uint256) {
return super.nonces(owner);
}
/**
* @inheritdoc IERC20Permit
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {
return _domainSeparatorV4();
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*
* CAUTION: See Security Considerations above.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.20;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS
}
/**
* @dev The signature derives the `address(0)`.
*/
error ECDSAInvalidSignature();
/**
* @dev The signature has an invalid length.
*/
error ECDSAInvalidSignatureLength(uint256 length);
/**
* @dev The signature has an S value that is in the upper half order.
*/
error ECDSAInvalidSignatureS(bytes32 s);
/**
* @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not
* return address(0) without also returning an error description. Errors are documented using an enum (error type)
* and a bytes32 providing additional information about the error.
*
* If no error is returned, then the address can be used for verification purposes.
*
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) {
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else {
return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*/
function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) {
unchecked {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
// We do not check for an overflow here since the shift operation results in 0 or 1.
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*/
function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError, bytes32) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS, s);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature, bytes32(0));
}
return (signer, RecoverError.NoError, bytes32(0));
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
*/
function _throwError(RecoverError error, bytes32 errorArg) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert ECDSAInvalidSignature();
} else if (error == RecoverError.InvalidSignatureLength) {
revert ECDSAInvalidSignatureLength(uint256(errorArg));
} else if (error == RecoverError.InvalidSignatureS) {
revert ECDSAInvalidSignatureS(errorArg);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol)
pragma solidity ^0.8.20;
import {MessageHashUtils} from "./MessageHashUtils.sol";
import {ShortStrings, ShortString} from "../ShortStrings.sol";
import {IERC5267} from "../../interfaces/IERC5267.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose
* encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract
* does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to
* produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
* separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the
* separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
*
* @custom:oz-upgrades-unsafe-allow state-variable-immutable
*/
abstract contract EIP712 is IERC5267 {
using ShortStrings for *;
bytes32 private constant TYPE_HASH =
keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
// invalidate the cached domain separator if the chain id changes.
bytes32 private immutable _cachedDomainSeparator;
uint256 private immutable _cachedChainId;
address private immutable _cachedThis;
bytes32 private immutable _hashedName;
bytes32 private immutable _hashedVersion;
ShortString private immutable _name;
ShortString private immutable _version;
string private _nameFallback;
string private _versionFallback;
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
constructor(string memory name, string memory version) {
_name = name.toShortStringWithFallback(_nameFallback);
_version = version.toShortStringWithFallback(_versionFallback);
_hashedName = keccak256(bytes(name));
_hashedVersion = keccak256(bytes(version));
_cachedChainId = block.chainid;
_cachedDomainSeparator = _buildDomainSeparator();
_cachedThis = address(this);
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
return _cachedDomainSeparator;
} else {
return _buildDomainSeparator();
}
}
function _buildDomainSeparator() private view returns (bytes32) {
return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);
}
/**
* @dev See {IERC-5267}.
*/
function eip712Domain()
public
view
virtual
returns (
bytes1 fields,
string memory name,
string memory version,
uint256 chainId,
address verifyingContract,
bytes32 salt,
uint256[] memory extensions
)
{
return (
hex"0f", // 01111
_EIP712Name(),
_EIP712Version(),
block.chainid,
address(this),
bytes32(0),
new uint256[](0)
);
}
/**
* @dev The name parameter for the EIP712 domain.
*
* NOTE: By default this function reads _name which is an immutable value.
* It only reads from storage if necessary (in case the value is too large to fit in a ShortString).
*/
// solhint-disable-next-line func-name-mixedcase
function _EIP712Name() internal view returns (string memory) {
return _name.toStringWithFallback(_nameFallback);
}
/**
* @dev The version parameter for the EIP712 domain.
*
* NOTE: By default this function reads _version which is an immutable value.
* It only reads from storage if necessary (in case the value is too large to fit in a ShortString).
*/
// solhint-disable-next-line func-name-mixedcase
function _EIP712Version() internal view returns (string memory) {
return _version.toStringWithFallback(_versionFallback);
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)
pragma solidity ^0.8.20;
import {Strings} from "../Strings.sol";
/**
* @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.
*
* The library provides methods for generating a hash of a message that conforms to the
* https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]
* specifications.
*/
library MessageHashUtils {
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x45` (`personal_sign` messages).
*
* The digest is calculated by prefixing a bytes32 `messageHash` with
* `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
*
* NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
* keccak256, although any bytes32 value can be safely used because the final digest will
* be re-hashed.
*
* See {ECDSA-recover}.
*/
function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash
mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix
digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)
}
}
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x45` (`personal_sign` messages).
*
* The digest is calculated by prefixing an arbitrary `message` with
* `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
*
* See {ECDSA-recover}.
*/
function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {
return
keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message));
}
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x00` (data with intended validator).
*
* The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended
* `validator` address. Then hashing the result.
*
* See {ECDSA-recover}.
*/
function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
return keccak256(abi.encodePacked(hex"19_00", validator, data));
}
/**
* @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).
*
* The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with
* `\x19\x01` and hashing the result. It corresponds to the hash signed by the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.
*
* See {ECDSA-recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {
/// @solidity memory-safe-assembly
assembly {
let ptr := mload(0x40)
mstore(ptr, hex"19_01")
mstore(add(ptr, 0x02), domainSeparator)
mstore(add(ptr, 0x22), structHash)
digest := keccak256(ptr, 0x42)
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Muldiv operation overflow.
*/
error MathOverflowedMulDiv();
enum Rounding {
Floor, // Toward negative infinity
Ceil, // Toward positive infinity
Trunc, // Toward zero
Expand // Away from zero
}
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the 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 towards infinity instead
* of rounding towards zero.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
if (b == 0) {
// Guarantee the same behavior as in a regular Solidity division.
return a / b;
}
// (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 = x * y; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
if (denominator <= prod1) {
revert MathOverflowedMulDiv();
}
///////////////////////////////////////////////
// 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.
uint256 twos = denominator & (0 - denominator);
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 (unsignedRoundsUp(rounding) && 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
* towards zero.
*
* 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2 of a positive value rounded towards zero.
* 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10 of a positive value rounded towards zero.
* 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256 of a positive value rounded towards zero.
* 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
}
}
/**
* @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
*/
function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
return uint8(rounding) % 2 == 1;
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides tracking nonces for addresses. Nonces will only increment.
*/
abstract contract Nonces {
/**
* @dev The nonce used for an `account` is not the expected current nonce.
*/
error InvalidAccountNonce(address account, uint256 currentNonce);
mapping(address account => uint256) private _nonces;
/**
* @dev Returns the next unused nonce for an address.
*/
function nonces(address owner) public view virtual returns (uint256) {
return _nonces[owner];
}
/**
* @dev Consumes a nonce.
*
* Returns the current value and increments nonce.
*/
function _useNonce(address owner) internal virtual returns (uint256) {
// For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be
// decremented or reset. This guarantees that the nonce never overflows.
unchecked {
// It is important to do x++ and not ++x here.
return _nonces[owner]++;
}
}
/**
* @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`.
*/
function _useCheckedNonce(address owner, uint256 nonce) internal virtual {
uint256 current = _useNonce(owner);
if (nonce != current) {
revert InvalidAccountNonce(owner, current);
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol)
pragma solidity ^0.8.20;
import {StorageSlot} from "./StorageSlot.sol";
// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
// | length | 0x BB |
type ShortString is bytes32;
/**
* @dev This library provides functions to convert short memory strings
* into a `ShortString` type that can be used as an immutable variable.
*
* Strings of arbitrary length can be optimized using this library if
* they are short enough (up to 31 bytes) by packing them with their
* length (1 byte) in a single EVM word (32 bytes). Additionally, a
* fallback mechanism can be used for every other case.
*
* Usage example:
*
* ```solidity
* contract Named {
* using ShortStrings for *;
*
* ShortString private immutable _name;
* string private _nameFallback;
*
* constructor(string memory contractName) {
* _name = contractName.toShortStringWithFallback(_nameFallback);
* }
*
* function name() external view returns (string memory) {
* return _name.toStringWithFallback(_nameFallback);
* }
* }
* ```
*/
library ShortStrings {
// Used as an identifier for strings longer than 31 bytes.
bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;
error StringTooLong(string str);
error InvalidShortString();
/**
* @dev Encode a string of at most 31 chars into a `ShortString`.
*
* This will trigger a `StringTooLong` error is the input string is too long.
*/
function toShortString(string memory str) internal pure returns (ShortString) {
bytes memory bstr = bytes(str);
if (bstr.length > 31) {
revert StringTooLong(str);
}
return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
}
/**
* @dev Decode a `ShortString` back to a "normal" string.
*/
function toString(ShortString sstr) internal pure returns (string memory) {
uint256 len = byteLength(sstr);
// using `new string(len)` would work locally but is not memory safe.
string memory str = new string(32);
/// @solidity memory-safe-assembly
assembly {
mstore(str, len)
mstore(add(str, 0x20), sstr)
}
return str;
}
/**
* @dev Return the length of a `ShortString`.
*/
function byteLength(ShortString sstr) internal pure returns (uint256) {
uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;
if (result > 31) {
revert InvalidShortString();
}
return result;
}
/**
* @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
*/
function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
if (bytes(value).length < 32) {
return toShortString(value);
} else {
StorageSlot.getStringSlot(store).value = value;
return ShortString.wrap(FALLBACK_SENTINEL);
}
}
/**
* @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
*/
function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {
return toString(value);
} else {
return store;
}
}
/**
* @dev Return the length of a string that was encoded to `ShortString` or written to storage using
* {setWithFallback}.
*
* WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
* actual characters as the UTF-8 encoding of a single character can span over multiple bytes.
*/
function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {
if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {
return byteLength(value);
} else {
return bytes(store).length;
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
pragma solidity ^0.8.20;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC1967 implementation slot:
* ```solidity
* contract ERC1967 {
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(newImplementation.code.length > 0);
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
* }
* }
* ```
*/
library StorageSlot {
struct AddressSlot {
address value;
}
struct BooleanSlot {
bool value;
}
struct Bytes32Slot {
bytes32 value;
}
struct Uint256Slot {
uint256 value;
}
struct StringSlot {
string value;
}
struct BytesSlot {
bytes value;
}
/**
* @dev Returns an `AddressSlot` with member `value` located at `slot`.
*/
function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BooleanSlot` with member `value` located at `slot`.
*/
function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
*/
function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Uint256Slot` with member `value` located at `slot`.
*/
function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` with member `value` located at `slot`.
*/
function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `StringSlot` representation of the string storage pointer `store`.
*/
function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
/**
* @dev Returns an `BytesSlot` with member `value` located at `slot`.
*/
function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
*/
function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
/// @solidity memory-safe-assembly
assembly {
r.slot := store.slot
}
}
}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)
pragma solidity ^0.8.20;
import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant HEX_DIGITS = "0123456789abcdef";
uint8 private constant ADDRESS_LENGTH = 20;
/**
* @dev The `value` string doesn't fit in the specified `length`.
*/
error StringsInsufficientHexLength(uint256 value, uint256 length);
/**
* @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), HEX_DIGITS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toStringSigned(int256 value) internal pure returns (string memory) {
return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
}
/**
* @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) {
uint256 localValue = value;
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = HEX_DIGITS[localValue & 0xf];
localValue >>= 4;
}
if (localValue != 0) {
revert StringsInsufficientHexLength(value, length);
}
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);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
}
}
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
},
{
"files": "*.yml",
"options": {}
},
{
"files": "*.yaml",
"options": {}
},
{
"files": "*.toml",
"options": {}
},
{
"files": "*.json",
"options": {}
},
{
"files": "*.js",
"options": {}
},
{
"files": "*.ts",
"options": {}
}
]
}
REMIX DEFAULT WORKSPACE
Remix default workspace is present when:
i. Remix loads for the very first time
ii. A new workspace is created with 'Default' template
iii. There are no files existing in the File Explorer
This workspace contains 3 directories:
1. 'contracts': Holds three contracts with increasing levels of complexity.
2. 'scripts': Contains four typescript files to deploy a contract. It is explained below.
3. 'tests': Contains one Solidity test file for 'Ballot' contract & one JS test file for 'Storage' contract.
SCRIPTS
The 'scripts' folder has four typescript files which help to deploy the 'Storage' contract using 'web3.js' and 'ethers.js' libraries.
For the deployment of any other contract, just update the contract's name from 'Storage' to the desired contract and provide constructor arguments accordingly
in the file `deploy_with_ethers.ts` or `deploy_with_web3.ts`
In the 'tests' folder there is a script containing Mocha-Chai unit tests for 'Storage' contract.
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled.
Output from script will appear in remix terminal.
Please note, require/import is supported in a limited manner for Remix supported modules.
For now, modules supported by Remix are ethers, web3, swarmgw, chai, multihashes, remix and hardhat only for hardhat.ethers object/plugin.
For unsupported modules, an error like this will be thrown: '<module_name> module require is not supported by Remix IDE' will be shown.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.2 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
* @custom:dev-run-script ./scripts/deploy_with_ethers.ts
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "hardhat/console.sol";
/**
* @title Owner
* @dev Set & change owner
*/
contract Owner {
address private owner;
// event for EVM logging
event OwnerSet(address indexed oldOwner, address indexed newOwner);
// modifier to check if caller is owner
modifier isOwner() {
// If the first argument of 'require' evaluates to 'false', execution terminates and all
// changes to the state and to Ether balances are reverted.
// This used to consume all gas in old EVM versions, but not anymore.
// It is often a good idea to use 'require' to check if functions are called correctly.
// As a second argument, you can also provide an explanation about what went wrong.
require(msg.sender == owner, "Caller is not owner");
_;
}
/**
* @dev Set contract deployer as owner
*/
constructor() {
console.log("Owner contract deployed by:", msg.sender);
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor
emit OwnerSet(address(0), owner);
}
/**
* @dev Change owner
* @param newOwner address of new owner
*/
function changeOwner(address newOwner) public isOwner {
emit OwnerSet(owner, newOwner);
owner = newOwner;
}
/**
* @dev Return owner address
* @return address of owner
*/
function getOwner() external view returns (address) {
return owner;
}
}
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ballot
* @dev Implements voting process along with vote delegation
*/
contract Ballot {
struct Voter {
uint weight; // weight is accumulated by delegation
bool voted; // if true, that person already voted
address delegate; // person delegated to
uint vote; // index of the voted proposal
}
struct Proposal {
// If you can limit the length to a certain number of bytes,
// always use one of bytes1 to bytes32 because they are much cheaper
bytes32 name; // short name (up to 32 bytes)
uint voteCount; // number of accumulated votes
}
address public chairperson;
mapping(address => Voter) public voters;
Proposal[] public proposals;
/**
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
chairperson = msg.sender;
voters[chairperson].weight = 1;
for (uint i = 0; i < proposalNames.length; i++) {
// 'Proposal({...})' creates a temporary
// Proposal object and 'proposals.push(...)'
// appends it to the end of 'proposals'.
proposals.push(Proposal({
name: proposalNames[i],
voteCount: 0
}));
}
}
/**
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.
* @param voter address of voter
*/
function giveRightToVote(address voter) public {
require(
msg.sender == chairperson,
"Only chairperson can give right to vote."
);
require(
!voters[voter].voted,
"The voter already voted."
);
require(voters[voter].weight == 0);
voters[voter].weight = 1;
}
/**
* @dev Delegate your vote to the voter 'to'.
* @param to address to which vote is delegated
*/
function delegate(address to) public {
Voter storage sender = voters[msg.sender];
require(!sender.voted, "You already voted.");
require(to != msg.sender, "Self-delegation is disallowed.");
while (voters[to].delegate != address(0)) {
to = voters[to].delegate;
// We found a loop in the delegation, not allowed.
require(to != msg.sender, "Found loop in delegation.");
}
sender.voted = true;
sender.delegate = to;
Voter storage delegate_ = voters[to];
if (delegate_.voted) {
// If the delegate already voted,
// directly add to the number of votes
proposals[delegate_.vote].voteCount += sender.weight;
} else {
// If the delegate did not vote yet,
// add to her weight.
delegate_.weight += sender.weight;
}
}
/**
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.
* @param proposal index of proposal in the proposals array
*/
function vote(uint proposal) public {
Voter storage sender = voters[msg.sender];
require(sender.weight != 0, "Has no right to vote");
require(!sender.voted, "Already voted.");
sender.voted = true;
sender.vote = proposal;
// If 'proposal' is out of the range of the array,
// this will throw automatically and revert all
// changes.
proposals[proposal].voteCount += sender.weight;
}
/**
* @dev Computes the winning proposal taking all previous votes into account.
* @return winningProposal_ index of winning proposal in the proposals array
*/
function winningProposal() public view
returns (uint winningProposal_)
{
uint winningVoteCount = 0;
for (uint p = 0; p < proposals.length; p++) {
if (proposals[p].voteCount > winningVoteCount) {
winningVoteCount = proposals[p].voteCount;
winningProposal_ = p;
}
}
}
/**
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then
* @return winnerName_ the name of the winner
*/
function winnerName() public view
returns (bytes32 winnerName_)
{
winnerName_ = proposals[winningProposal()].name;
}
}
{
"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": {
"@_365": {
"entryPoint": null,
"id": 365,
"parameterSlots": 0,
"returnSlots": 0
},
"abi_decode_t_bool_fromMemory": {
"entryPoint": 1006,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_bool_fromMemory": {
"entryPoint": 1029,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 874,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 901,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed": {
"entryPoint": 918,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 854,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 968,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 822,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 891,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 963,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"validator_revert_t_bool": {
"entryPoint": 980,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:1946:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "52:81:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "62:65:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "77:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "84:42:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "73:3:5"
},
"nodeType": "YulFunctionCall",
"src": "73:54:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "62:7:5"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "34:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "44:7:5",
"type": ""
}
],
"src": "7:126:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "184:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "194:35:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "223:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "205:17:5"
},
"nodeType": "YulFunctionCall",
"src": "205:24:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "194:7:5"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "166:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "176:7:5",
"type": ""
}
],
"src": "139:96:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "306:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "323:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "346:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "328:17:5"
},
"nodeType": "YulFunctionCall",
"src": "328:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "316:6:5"
},
"nodeType": "YulFunctionCall",
"src": "316:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "316:37:5"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "294:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "301:3:5",
"type": ""
}
],
"src": "241:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "410:32:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "420:16:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "431:5:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "420:7:5"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "392:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "402:7:5",
"type": ""
}
],
"src": "365:77:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "513:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "530:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "553:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "535:17:5"
},
"nodeType": "YulFunctionCall",
"src": "535:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "523:6:5"
},
"nodeType": "YulFunctionCall",
"src": "523:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "523:37:5"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "501:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "508:3:5",
"type": ""
}
],
"src": "448:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "698:206:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "708:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "720:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "731:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "716:3:5"
},
"nodeType": "YulFunctionCall",
"src": "716:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "708:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "788:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "801:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "812:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "797:3:5"
},
"nodeType": "YulFunctionCall",
"src": "797:17:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "744:43:5"
},
"nodeType": "YulFunctionCall",
"src": "744:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "744:71:5"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "869:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "882:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "893:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "878:3:5"
},
"nodeType": "YulFunctionCall",
"src": "878:18:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "825:43:5"
},
"nodeType": "YulFunctionCall",
"src": "825:72:5"
},
"nodeType": "YulExpressionStatement",
"src": "825:72:5"
}
]
},
"name": "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "662:9:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "674:6:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "682:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "693:4:5",
"type": ""
}
],
"src": "572:332:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "950:35:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "960:19:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "976:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "970:5:5"
},
"nodeType": "YulFunctionCall",
"src": "970:9:5"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "960:6:5"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "943:6:5",
"type": ""
}
],
"src": "910:75:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1080:28:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1097:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1100:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1090:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1090:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "1090:12:5"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "991:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1203:28:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1220:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1223:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1213:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1213:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "1213:12:5"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "1114:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1279:48:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1289:32:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1314:5:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1307:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1307:13:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1300:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1300:21:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1289:7:5"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1261:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1271:7:5",
"type": ""
}
],
"src": "1237:90:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1373:76:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1427:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1436:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1439:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1429:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1429:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "1429:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1396:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1418:5:5"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "1403:14:5"
},
"nodeType": "YulFunctionCall",
"src": "1403:21:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1393:2:5"
},
"nodeType": "YulFunctionCall",
"src": "1393:32:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1386:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1386:40:5"
},
"nodeType": "YulIf",
"src": "1383:60:5"
}
]
},
"name": "validator_revert_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1366:5:5",
"type": ""
}
],
"src": "1333:116:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1515:77:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1525:22:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1540:6:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "1534:5:5"
},
"nodeType": "YulFunctionCall",
"src": "1534:13:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1525:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1580:5:5"
}
],
"functionName": {
"name": "validator_revert_t_bool",
"nodeType": "YulIdentifier",
"src": "1556:23:5"
},
"nodeType": "YulFunctionCall",
"src": "1556:30:5"
},
"nodeType": "YulExpressionStatement",
"src": "1556:30:5"
}
]
},
"name": "abi_decode_t_bool_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1493:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1501:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1509:5:5",
"type": ""
}
],
"src": "1455:137:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1672:271:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1718:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "1720:77:5"
},
"nodeType": "YulFunctionCall",
"src": "1720:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "1720:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1693:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1702:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "1689:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1689:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1714:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "1685:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1685:32:5"
},
"nodeType": "YulIf",
"src": "1682:119:5"
},
{
"nodeType": "YulBlock",
"src": "1811:125:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1826:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1840:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1830:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1855:71:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1898:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1909:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1894:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1894:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1918:7:5"
}
],
"functionName": {
"name": "abi_decode_t_bool_fromMemory",
"nodeType": "YulIdentifier",
"src": "1865:28:5"
},
"nodeType": "YulFunctionCall",
"src": "1865:61:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1855:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_bool_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1642:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "1653:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1665:6:5",
"type": ""
}
],
"src": "1598:345:5"
}
]
},
"contents": "{\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 cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\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 }\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_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}\n",
"id": 5,
"language": "Yul",
"name": "#utility.yul"
}
],
"linkReferences": {},
"object": "6080604052730b9d5d9136855f6fec3c0993fee6e9ce8a297846600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f694e193200268f9a4868e4aa017a0118c9a8177600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d21341536c5cf5eb1bcb58f6723ce26e8d8e90e4600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555067de41ba4fc9d91ad9600560146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055503480156200014157600080fd5b5033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401620002e992919062000396565b6020604051808303816000875af115801562000309573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032f919062000405565b5062000437565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003638262000336565b9050919050565b620003758162000356565b82525050565b6000819050919050565b62000390816200037b565b82525050565b6000604082019050620003ad60008301856200036a565b620003bc602083018462000385565b9392505050565b600080fd5b60008115159050919050565b620003df81620003c8565b8114620003eb57600080fd5b50565b600081519050620003ff81620003d4565b92915050565b6000602082840312156200041e576200041d620003c3565b5b60006200042e84828501620003ee565b91505092915050565b61100980620004476000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80633aeac4e1146100465780638da5cb5b146100625780639ea604e114610080575b600080fd5b610060600480360381019061005b9190610a0c565b6100b0565b005b61006a610246565b6040516100779190610a5b565b60405180910390f35b61009a60048036038101906100959190610aac565b61026c565b6040516100a79190610b05565b60405180910390f35b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461010a57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016101459190610a5b565b602060405180830381865afa158015610162573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101869190610b35565b9050600081036101c2576040517fd0d04f6000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b81526004016101fd929190610b71565b6020604051808303816000875af115801561021c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102409190610bd2565b50505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600167ffffffffffffffff81111561028a57610289610bff565b5b6040519080825280602002602001820160405280156102c357816020015b6102b0610979565b8152602001906001900390816102a85790505b50905060006040518060400160405280600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152509050808260008151811061032c5761032b610c2e565b5b602002602001018190525060006040518060a00160405280876040516020016103559190610a5b565b6040516020818303038152906040528152602001604051806020016040528060008152508152602001848152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016103da604051806020016040528060008152506108fa565b815250905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166320487ded600560149054906101000a900467ffffffffffffffff16846040518363ffffffff1660e01b8152600401610453929190610e97565b602060405180830381865afa158015610470573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104949190610b35565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104f19190610a5b565b602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190610b35565b81111561061357600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016105949190610a5b565b602060405180830381865afa1580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d59190610b35565b816040517f8f0f420600000000000000000000000000000000000000000000000000000000815260040161060a929190610ec7565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610690929190610b71565b6020604051808303816000875af11580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d39190610bd2565b50600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16886040518363ffffffff1660e01b8152600401610751929190610b71565b6020604051808303816000875af1158015610770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107949190610bd2565b5060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166396f4e9f9600560149054906101000a900467ffffffffffffffff16846040518363ffffffff1660e01b8152600401610806929190610e97565b6020604051808303816000875af1158015610825573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108499190610f1c565b9450600560149054906101000a900467ffffffffffffffff1667ffffffffffffffff16857fc15fb748c32ba4eb29c1c311e78533f93b4425eab49ea87c6fe4279ecadca04389600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876040516108e8959493929190610f49565b60405180910390a35050505092915050565b60606397a657c960e01b826040516024016109159190610fb8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109d9826109ae565b9050919050565b6109e9816109ce565b81146109f457600080fd5b50565b600081359050610a06816109e0565b92915050565b60008060408385031215610a2357610a226109a9565b5b6000610a31858286016109f7565b9250506020610a42858286016109f7565b9150509250929050565b610a55816109ce565b82525050565b6000602082019050610a706000830184610a4c565b92915050565b6000819050919050565b610a8981610a76565b8114610a9457600080fd5b50565b600081359050610aa681610a80565b92915050565b60008060408385031215610ac357610ac26109a9565b5b6000610ad1858286016109f7565b9250506020610ae285828601610a97565b9150509250929050565b6000819050919050565b610aff81610aec565b82525050565b6000602082019050610b1a6000830184610af6565b92915050565b600081519050610b2f81610a80565b92915050565b600060208284031215610b4b57610b4a6109a9565b5b6000610b5984828501610b20565b91505092915050565b610b6b81610a76565b82525050565b6000604082019050610b866000830185610a4c565b610b936020830184610b62565b9392505050565b60008115159050919050565b610baf81610b9a565b8114610bba57600080fd5b50565b600081519050610bcc81610ba6565b92915050565b600060208284031215610be857610be76109a9565b5b6000610bf684828501610bbd565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600067ffffffffffffffff82169050919050565b610c7a81610c5d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610cba578082015181840152602081019050610c9f565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ce282610c80565b610cec8185610c8b565b9350610cfc818560208601610c9c565b610d0581610cc6565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b610d45816109ce565b82525050565b610d5481610a76565b82525050565b604082016000820151610d706000850182610d3c565b506020820151610d836020850182610d4b565b50505050565b6000610d958383610d5a565b60408301905092915050565b6000602082019050919050565b6000610db982610d10565b610dc38185610d1b565b9350610dce83610d2c565b8060005b83811015610dff578151610de68882610d89565b9750610df183610da1565b925050600181019050610dd2565b5085935050505092915050565b600060a0830160008301518482036000860152610e298282610cd7565b91505060208301518482036020860152610e438282610cd7565b91505060408301518482036040860152610e5d8282610dae565b9150506060830151610e726060860182610d3c565b5060808301518482036080860152610e8a8282610cd7565b9150508091505092915050565b6000604082019050610eac6000830185610c71565b8181036020830152610ebe8184610e0c565b90509392505050565b6000604082019050610edc6000830185610b62565b610ee96020830184610b62565b9392505050565b610ef981610aec565b8114610f0457600080fd5b50565b600081519050610f1681610ef0565b92915050565b600060208284031215610f3257610f316109a9565b5b6000610f4084828501610f07565b91505092915050565b600060a082019050610f5e6000830188610a4c565b610f6b6020830187610a4c565b610f786040830186610b62565b610f856060830185610a4c565b610f926080830184610b62565b9695505050505050565b602082016000820151610fb26000850182610d4b565b50505050565b6000602082019050610fcd6000830184610f9c565b9291505056fea264697066735822122026f6e9f15ab79b5bf2e05ae8f678eda9808eb6db6ccdb23b128015c559b3877264736f6c63430008130033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH20 0xB9D5D9136855F6FEC3C0993FEE6E9CE8A297846 PUSH1 0x3 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH20 0xF694E193200268F9A4868E4AA017A0118C9A8177 PUSH1 0x4 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH20 0xD21341536C5CF5EB1BCB58F6723CE26E8D8E90E4 PUSH1 0x5 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH8 0xDE41BA4FC9D91AD9 PUSH1 0x5 PUSH1 0x14 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH8 0xFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH8 0xFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP CALLVALUE DUP1 ISZERO PUSH3 0x141 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLER 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 PUSH1 0x4 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x4 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x2E9 SWAP3 SWAP2 SWAP1 PUSH3 0x396 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH3 0x309 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 0x32F SWAP2 SWAP1 PUSH3 0x405 JUMP JUMPDEST POP PUSH3 0x437 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x363 DUP3 PUSH3 0x336 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x375 DUP2 PUSH3 0x356 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x390 DUP2 PUSH3 0x37B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH3 0x3AD PUSH1 0x0 DUP4 ADD DUP6 PUSH3 0x36A JUMP JUMPDEST PUSH3 0x3BC PUSH1 0x20 DUP4 ADD DUP5 PUSH3 0x385 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x3DF DUP2 PUSH3 0x3C8 JUMP JUMPDEST DUP2 EQ PUSH3 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH3 0x3FF DUP2 PUSH3 0x3D4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x41E JUMPI PUSH3 0x41D PUSH3 0x3C3 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH3 0x42E DUP5 DUP3 DUP6 ADD PUSH3 0x3EE JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1009 DUP1 PUSH3 0x447 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 0x3AEAC4E1 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0x9EA604E1 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 0xA0C JUMP JUMPDEST PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6A PUSH2 0x246 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x77 SWAP2 SWAP1 PUSH2 0xA5B 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 0xAAC JUMP JUMPDEST PUSH2 0x26C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA7 SWAP2 SWAP1 PUSH2 0xB05 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x10A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x70A08231 ADDRESS PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x145 SWAP2 SWAP1 PUSH2 0xA5B JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x162 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 0x186 SWAP2 SWAP1 PUSH2 0xB35 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 SUB PUSH2 0x1C2 JUMPI PUSH1 0x40 MLOAD PUSH32 0xD0D04F6000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xA9059CBB DUP5 DUP4 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1FD SWAP3 SWAP2 SWAP1 PUSH2 0xB71 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x21C 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 0x240 SWAP2 SWAP1 PUSH2 0xBD2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x28A JUMPI PUSH2 0x289 PUSH2 0xBFF JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x2C3 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH2 0x2B0 PUSH2 0x979 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x2A8 JUMPI SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE POP SWAP1 POP DUP1 DUP3 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x32C JUMPI PUSH2 0x32B PUSH2 0xC2E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x355 SWAP2 SWAP1 PUSH2 0xA5B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x3DA PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x8FA JUMP JUMPDEST DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x20487DED PUSH1 0x5 PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH8 0xFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x453 SWAP3 SWAP2 SWAP1 PUSH2 0xE97 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x470 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 0x494 SWAP2 SWAP1 PUSH2 0xB35 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x70A08231 ADDRESS PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4F1 SWAP2 SWAP1 PUSH2 0xA5B JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x50E 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 0x532 SWAP2 SWAP1 PUSH2 0xB35 JUMP JUMPDEST DUP2 GT ISZERO PUSH2 0x613 JUMPI PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x70A08231 ADDRESS PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x594 SWAP2 SWAP1 PUSH2 0xA5B JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5B1 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 0x5D5 SWAP2 SWAP1 PUSH2 0xB35 JUMP JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH32 0x8F0F420600000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x60A SWAP3 SWAP2 SWAP1 PUSH2 0xEC7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x690 SWAP3 SWAP2 SWAP1 PUSH2 0xB71 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x6AF 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 0x6D3 SWAP2 SWAP1 PUSH2 0xBD2 JUMP JUMPDEST POP PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP9 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x751 SWAP3 SWAP2 SWAP1 PUSH2 0xB71 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x770 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 0x794 SWAP2 SWAP1 PUSH2 0xBD2 JUMP JUMPDEST POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x96F4E9F9 PUSH1 0x5 PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH8 0xFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x806 SWAP3 SWAP2 SWAP1 PUSH2 0xE97 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x825 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 0x849 SWAP2 SWAP1 PUSH2 0xF1C JUMP JUMPDEST SWAP5 POP PUSH1 0x5 PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH8 0xFFFFFFFFFFFFFFFF AND DUP6 PUSH32 0xC15FB748C32BA4EB29C1C311E78533F93B4425EAB49EA87C6FE4279ECADCA043 DUP10 PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP11 PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP8 PUSH1 0x40 MLOAD PUSH2 0x8E8 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xF49 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH4 0x97A657C9 PUSH1 0xE0 SHL DUP3 PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x915 SWAP2 SWAP1 PUSH2 0xFB8 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 SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9D9 DUP3 PUSH2 0x9AE JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x9E9 DUP2 PUSH2 0x9CE JUMP JUMPDEST DUP2 EQ PUSH2 0x9F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA06 DUP2 PUSH2 0x9E0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xA23 JUMPI PUSH2 0xA22 PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xA31 DUP6 DUP3 DUP7 ADD PUSH2 0x9F7 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xA42 DUP6 DUP3 DUP7 ADD PUSH2 0x9F7 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xA55 DUP2 PUSH2 0x9CE JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xA70 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xA4C JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xA89 DUP2 PUSH2 0xA76 JUMP JUMPDEST DUP2 EQ PUSH2 0xA94 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xAA6 DUP2 PUSH2 0xA80 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xAC3 JUMPI PUSH2 0xAC2 PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xAD1 DUP6 DUP3 DUP7 ADD PUSH2 0x9F7 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xAE2 DUP6 DUP3 DUP7 ADD PUSH2 0xA97 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xAFF DUP2 PUSH2 0xAEC JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xB1A PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xAF6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xB2F DUP2 PUSH2 0xA80 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB4B JUMPI PUSH2 0xB4A PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xB59 DUP5 DUP3 DUP6 ADD PUSH2 0xB20 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xB6B DUP2 PUSH2 0xA76 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xB86 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xB93 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xB62 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xBAF DUP2 PUSH2 0xB9A JUMP JUMPDEST DUP2 EQ PUSH2 0xBBA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xBCC DUP2 PUSH2 0xBA6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xBE8 JUMPI PUSH2 0xBE7 PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xBF6 DUP5 DUP3 DUP6 ADD PUSH2 0xBBD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xC7A DUP2 PUSH2 0xC5D 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 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xCBA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xC9F 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 0xCE2 DUP3 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0xCEC DUP2 DUP6 PUSH2 0xC8B JUMP JUMPDEST SWAP4 POP PUSH2 0xCFC DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xC9C JUMP JUMPDEST PUSH2 0xD05 DUP2 PUSH2 0xCC6 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 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 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xD45 DUP2 PUSH2 0x9CE JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xD54 DUP2 PUSH2 0xA76 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x40 DUP3 ADD PUSH1 0x0 DUP3 ADD MLOAD PUSH2 0xD70 PUSH1 0x0 DUP6 ADD DUP3 PUSH2 0xD3C JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD PUSH2 0xD83 PUSH1 0x20 DUP6 ADD DUP3 PUSH2 0xD4B JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD95 DUP4 DUP4 PUSH2 0xD5A JUMP JUMPDEST PUSH1 0x40 DUP4 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDB9 DUP3 PUSH2 0xD10 JUMP JUMPDEST PUSH2 0xDC3 DUP2 DUP6 PUSH2 0xD1B JUMP JUMPDEST SWAP4 POP PUSH2 0xDCE DUP4 PUSH2 0xD2C JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xDFF JUMPI DUP2 MLOAD PUSH2 0xDE6 DUP9 DUP3 PUSH2 0xD89 JUMP JUMPDEST SWAP8 POP PUSH2 0xDF1 DUP4 PUSH2 0xDA1 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0xDD2 JUMP JUMPDEST POP DUP6 SWAP4 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP4 ADD PUSH1 0x0 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x0 DUP7 ADD MSTORE PUSH2 0xE29 DUP3 DUP3 PUSH2 0xCD7 JUMP JUMPDEST SWAP2 POP POP PUSH1 0x20 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x20 DUP7 ADD MSTORE PUSH2 0xE43 DUP3 DUP3 PUSH2 0xCD7 JUMP JUMPDEST SWAP2 POP POP PUSH1 0x40 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x40 DUP7 ADD MSTORE PUSH2 0xE5D DUP3 DUP3 PUSH2 0xDAE JUMP JUMPDEST SWAP2 POP POP PUSH1 0x60 DUP4 ADD MLOAD PUSH2 0xE72 PUSH1 0x60 DUP7 ADD DUP3 PUSH2 0xD3C JUMP JUMPDEST POP PUSH1 0x80 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x80 DUP7 ADD MSTORE PUSH2 0xE8A DUP3 DUP3 PUSH2 0xCD7 JUMP JUMPDEST SWAP2 POP POP DUP1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xEAC PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xC71 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0xEBE DUP2 DUP5 PUSH2 0xE0C JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xEDC PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xB62 JUMP JUMPDEST PUSH2 0xEE9 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xB62 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xEF9 DUP2 PUSH2 0xAEC JUMP JUMPDEST DUP2 EQ PUSH2 0xF04 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xF16 DUP2 PUSH2 0xEF0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF32 JUMPI PUSH2 0xF31 PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xF40 DUP5 DUP3 DUP6 ADD PUSH2 0xF07 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP3 ADD SWAP1 POP PUSH2 0xF5E PUSH1 0x0 DUP4 ADD DUP9 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xF6B PUSH1 0x20 DUP4 ADD DUP8 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xF78 PUSH1 0x40 DUP4 ADD DUP7 PUSH2 0xB62 JUMP JUMPDEST PUSH2 0xF85 PUSH1 0x60 DUP4 ADD DUP6 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xF92 PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0xB62 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP3 ADD PUSH1 0x0 DUP3 ADD MLOAD PUSH2 0xFB2 PUSH1 0x0 DUP6 ADD DUP3 PUSH2 0xD4B JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xFCD PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xF9C JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x26 0xF6 0xE9 CALL GAS 0xB7 SWAP12 JUMPDEST CALLCODE 0xE0 GAS 0xE8 0xF6 PUSH25 0xEDA9808EB6DB6CCDB23B128015C559B3877264736F6C634300 ADDMOD SGT STOP CALLER ",
"sourceMap": "461:3478:4:-:0;;;679:42;665:56;;;;;;;;;;;;;;;;;;;;837:42;813:66;;;;;;;;;;;;;;;;;;;;904:42;885:61;;;;;;;;;;;;;;;;;;;;1078:20;1044:54;;;;;;;;;;;;;;;;;;;;1774:203;;;;;;;;;;1806:10;1798:5;;:18;;;;;;;;;;;;;;;;;;1849:13;;;;;;;;;;;1826:6;;:37;;;;;;;;;;;;;;;;;;1904:4;;;;;;;;;;;1873:9;;:36;;;;;;;;;;;;;;;;;;1919:9;;;;;;;;;;;:17;;;1937:13;;;;;;;;;;;1952:17;1919:51;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;461:3478;;7:126:5;44:7;84:42;77:5;73:54;62:65;;7:126;;;:::o;139:96::-;176:7;205:24;223:5;205:24;:::i;:::-;194:35;;139:96;;;:::o;241:118::-;328:24;346:5;328:24;:::i;:::-;323:3;316:37;241:118;;:::o;365:77::-;402:7;431:5;420:16;;365:77;;;:::o;448:118::-;535:24;553:5;535:24;:::i;:::-;530:3;523:37;448:118;;:::o;572:332::-;693:4;731:2;720:9;716:18;708:26;;744:71;812:1;801:9;797:17;788:6;744:71;:::i;:::-;825:72;893:2;882:9;878:18;869:6;825:72;:::i;:::-;572:332;;;;;:::o;991:117::-;1100:1;1097;1090:12;1237:90;1271:7;1314:5;1307:13;1300:21;1289:32;;1237:90;;;:::o;1333:116::-;1403:21;1418:5;1403:21;:::i;:::-;1396:5;1393:32;1383:60;;1439:1;1436;1429:12;1383:60;1333:116;:::o;1455:137::-;1509:5;1540:6;1534:13;1525:22;;1556:30;1580:5;1556:30;:::i;:::-;1455:137;;;;:::o;1598:345::-;1665:6;1714:2;1702:9;1693:7;1689:23;1685:32;1682:119;;;1720:79;;:::i;:::-;1682:119;1840:1;1865:61;1918:7;1909:6;1898:9;1894:22;1865:61;:::i;:::-;1855:71;;1811:125;1598:345;;;;:::o;461:3478:4:-;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@_argsToBytes_105": {
"entryPoint": 2298,
"id": 105,
"parameterSlots": 1,
"returnSlots": 1
},
"@owner_297": {
"entryPoint": 582,
"id": 297,
"parameterSlots": 0,
"returnSlots": 0
},
"@transferToSepolia_499": {
"entryPoint": 620,
"id": 499,
"parameterSlots": 2,
"returnSlots": 1
},
"@withdrawToken_547": {
"entryPoint": 176,
"id": 547,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_decode_t_address": {
"entryPoint": 2551,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bool_fromMemory": {
"entryPoint": 3005,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_bytes32_fromMemory": {
"entryPoint": 3847,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 2711,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256_fromMemory": {
"entryPoint": 2848,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_addresst_address": {
"entryPoint": 2572,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_addresst_uint256": {
"entryPoint": 2732,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_decode_tuple_t_bool_fromMemory": {
"entryPoint": 3026,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_bytes32_fromMemory": {
"entryPoint": 3868,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256_fromMemory": {
"entryPoint": 2869,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encodeUpdatedPos_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr": {
"entryPoint": 3465,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address": {
"entryPoint": 3388,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 2636,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr": {
"entryPoint": 3502,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_bytes32_to_t_bytes32_fromStack": {
"entryPoint": 2806,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr": {
"entryPoint": 3287,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_struct$_EVM2AnyMessage_$84_memory_ptr_to_t_struct$_EVM2AnyMessage_$84_memory_ptr_fromStack": {
"entryPoint": 3596,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_struct$_EVMExtraArgsV1_$90_memory_ptr_to_t_struct$_EVMExtraArgsV1_$90_memory_ptr_fromStack": {
"entryPoint": 3996,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr": {
"entryPoint": 3418,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256": {
"entryPoint": 3403,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 2914,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_uint64_to_t_uint64_fromStack": {
"entryPoint": 3185,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 2651,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_address_t_address_t_uint256_t_address_t_uint256__to_t_address_t_address_t_uint256_t_address_t_uint256__fromStack_reversed": {
"entryPoint": 3913,
"id": null,
"parameterSlots": 6,
"returnSlots": 1
},
"abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed": {
"entryPoint": 2929,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": {
"entryPoint": 2821,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_struct$_EVMExtraArgsV1_$90_memory_ptr__to_t_struct$_EVMExtraArgsV1_$90_memory_ptr__fromStack_reversed": {
"entryPoint": 4024,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed": {
"entryPoint": 3783,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_uint64_t_struct$_EVM2AnyMessage_$84_memory_ptr__to_t_uint64_t_struct$_EVM2AnyMessage_$84_memory_ptr__fromStack_reversed": {
"entryPoint": 3735,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_dataslot_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr": {
"entryPoint": 3372,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr": {
"entryPoint": 3344,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_bytes_memory_ptr": {
"entryPoint": 3200,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_nextElement_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr": {
"entryPoint": 3489,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr": {
"entryPoint": 3355,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_bytes_memory_ptr": {
"entryPoint": 3211,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"cleanup_t_address": {
"entryPoint": 2510,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 2970,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bytes32": {
"entryPoint": 2796,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 2478,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 2678,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint64": {
"entryPoint": 3165,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 3228,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 3118,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 3071,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": null,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 2473,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 3270,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"validator_revert_t_address": {
"entryPoint": 2528,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_bool": {
"entryPoint": 2982,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_bytes32": {
"entryPoint": 3824,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 2688,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
}
},
"generatedSources": [
{
"ast": {
"nodeType": "YulBlock",
"src": "0:13478:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "47:35:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "57:19:5",
"value": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "73:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "67:5:5"
},
"nodeType": "YulFunctionCall",
"src": "67:9:5"
},
"variableNames": [
{
"name": "memPtr",
"nodeType": "YulIdentifier",
"src": "57:6:5"
}
]
}
]
},
"name": "allocate_unbounded",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nodeType": "YulTypedName",
"src": "40:6:5",
"type": ""
}
],
"src": "7:75:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "177:28:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "194:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "197:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "187:6:5"
},
"nodeType": "YulFunctionCall",
"src": "187:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "187:12:5"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulFunctionDefinition",
"src": "88:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "300:28:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "317:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "320:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "310:6:5"
},
"nodeType": "YulFunctionCall",
"src": "310:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "310:12:5"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nodeType": "YulFunctionDefinition",
"src": "211:117:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "379:81:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "389:65:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "404:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "411:42:5",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "400:3:5"
},
"nodeType": "YulFunctionCall",
"src": "400:54:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "389:7:5"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "361:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "371:7:5",
"type": ""
}
],
"src": "334:126:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "511:51:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "521:35:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "550:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nodeType": "YulIdentifier",
"src": "532:17:5"
},
"nodeType": "YulFunctionCall",
"src": "532:24:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "521:7:5"
}
]
}
]
},
"name": "cleanup_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "493:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "503:7:5",
"type": ""
}
],
"src": "466:96:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "611:79:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "668:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "677:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "680:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "670:6:5"
},
"nodeType": "YulFunctionCall",
"src": "670:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "670:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "634:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "659:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "641:17:5"
},
"nodeType": "YulFunctionCall",
"src": "641:24:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "631:2:5"
},
"nodeType": "YulFunctionCall",
"src": "631:35:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "624:6:5"
},
"nodeType": "YulFunctionCall",
"src": "624:43:5"
},
"nodeType": "YulIf",
"src": "621:63:5"
}
]
},
"name": "validator_revert_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "604:5:5",
"type": ""
}
],
"src": "568:122:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "748:87:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "758:29:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "780:6:5"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "767:12:5"
},
"nodeType": "YulFunctionCall",
"src": "767:20:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "758:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "823:5:5"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nodeType": "YulIdentifier",
"src": "796:26:5"
},
"nodeType": "YulFunctionCall",
"src": "796:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "796:33:5"
}
]
},
"name": "abi_decode_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "726:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "734:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "742:5:5",
"type": ""
}
],
"src": "696:139:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "924:391:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "970:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "972:77:5"
},
"nodeType": "YulFunctionCall",
"src": "972:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "972:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "945:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "954:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "941:3:5"
},
"nodeType": "YulFunctionCall",
"src": "941:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "966:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "937:3:5"
},
"nodeType": "YulFunctionCall",
"src": "937:32:5"
},
"nodeType": "YulIf",
"src": "934:119:5"
},
{
"nodeType": "YulBlock",
"src": "1063:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1078:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1092:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1082:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1107:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1142:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1153:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1138:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1138:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1162:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "1117:20:5"
},
"nodeType": "YulFunctionCall",
"src": "1117:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1107:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "1190:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "1205:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "1219:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1209:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "1235:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1270:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1281:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1266:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1266:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "1290:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "1245:20:5"
},
"nodeType": "YulFunctionCall",
"src": "1245:53:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "1235:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "886:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "897:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "909:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "917:6:5",
"type": ""
}
],
"src": "841:474:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1386:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "1403:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1426:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "1408:17:5"
},
"nodeType": "YulFunctionCall",
"src": "1408:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "1396:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1396:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "1396:37:5"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1374:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "1381:3:5",
"type": ""
}
],
"src": "1321:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1543:124:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1553:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1565:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1576:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1561:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1561:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "1553:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "1633:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "1646:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1657:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "1642:3:5"
},
"nodeType": "YulFunctionCall",
"src": "1642:17:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "1589:43:5"
},
"nodeType": "YulFunctionCall",
"src": "1589:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "1589:71:5"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "1515:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "1527:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "1538:4:5",
"type": ""
}
],
"src": "1445:222:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1718:32:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1728:16:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "1739:5:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "1728:7:5"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1700:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "1710:7:5",
"type": ""
}
],
"src": "1673:77:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1799:79:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "1856:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1865:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "1868:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "1858:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1858:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "1858:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1822:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1847:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "1829:17:5"
},
"nodeType": "YulFunctionCall",
"src": "1829:24:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "1819:2:5"
},
"nodeType": "YulFunctionCall",
"src": "1819:35:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "1812:6:5"
},
"nodeType": "YulFunctionCall",
"src": "1812:43:5"
},
"nodeType": "YulIf",
"src": "1809:63:5"
}
]
},
"name": "validator_revert_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1792:5:5",
"type": ""
}
],
"src": "1756:122:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "1936:87:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "1946:29:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "1968:6:5"
}
],
"functionName": {
"name": "calldataload",
"nodeType": "YulIdentifier",
"src": "1955:12:5"
},
"nodeType": "YulFunctionCall",
"src": "1955:20:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "1946:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2011:5:5"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "1984:26:5"
},
"nodeType": "YulFunctionCall",
"src": "1984:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "1984:33:5"
}
]
},
"name": "abi_decode_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "1914:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "1922:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "1930:5:5",
"type": ""
}
],
"src": "1884:139:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2112:391:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "2158:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "2160:77:5"
},
"nodeType": "YulFunctionCall",
"src": "2160:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "2160:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2133:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2142:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "2129:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2129:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2154:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "2125:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2125:32:5"
},
"nodeType": "YulIf",
"src": "2122:119:5"
},
{
"nodeType": "YulBlock",
"src": "2251:117:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2266:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2280:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2270:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2295:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2330:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2341:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2326:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2326:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2350:7:5"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nodeType": "YulIdentifier",
"src": "2305:20:5"
},
"nodeType": "YulFunctionCall",
"src": "2305:53:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2295:6:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "2378:118:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "2393:16:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "2407:2:5",
"type": "",
"value": "32"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2397:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "2423:63:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2458:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "2469:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2454:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2454:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "2478:7:5"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nodeType": "YulIdentifier",
"src": "2433:20:5"
},
"nodeType": "YulFunctionCall",
"src": "2433:53:5"
},
"variableNames": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "2423:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_addresst_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2074:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "2085:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2097:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "2105:6:5",
"type": ""
}
],
"src": "2029:474:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2554:32:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2564:16:5",
"value": {
"name": "value",
"nodeType": "YulIdentifier",
"src": "2575:5:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "2564:7:5"
}
]
}
]
},
"name": "cleanup_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2536:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "2546:7:5",
"type": ""
}
],
"src": "2509:77:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2657:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "2674:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "2697:5:5"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "2679:17:5"
},
"nodeType": "YulFunctionCall",
"src": "2679:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "2667:6:5"
},
"nodeType": "YulFunctionCall",
"src": "2667:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "2667:37:5"
}
]
},
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "2645:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "2652:3:5",
"type": ""
}
],
"src": "2592:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "2814:124:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "2824:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2836:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2847:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2832:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2832:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "2824:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "2904:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "2917:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "2928:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "2913:3:5"
},
"nodeType": "YulFunctionCall",
"src": "2913:17:5"
}
],
"functionName": {
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack",
"nodeType": "YulIdentifier",
"src": "2860:43:5"
},
"nodeType": "YulFunctionCall",
"src": "2860:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "2860:71:5"
}
]
},
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "2786:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "2798:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "2809:4:5",
"type": ""
}
],
"src": "2716:222:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3007:80:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3017:22:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3032:6:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "3026:5:5"
},
"nodeType": "YulFunctionCall",
"src": "3026:13:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3017:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3075:5:5"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nodeType": "YulIdentifier",
"src": "3048:26:5"
},
"nodeType": "YulFunctionCall",
"src": "3048:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "3048:33:5"
}
]
},
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "2985:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "2993:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3001:5:5",
"type": ""
}
],
"src": "2944:143:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3170:274:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "3216:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "3218:77:5"
},
"nodeType": "YulFunctionCall",
"src": "3218:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "3218:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3191:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3200:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "3187:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3187:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3212:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "3183:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3183:32:5"
},
"nodeType": "YulIf",
"src": "3180:119:5"
},
{
"nodeType": "YulBlock",
"src": "3309:128:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "3324:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "3338:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "3328:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "3353:74:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3399:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "3410:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3395:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3395:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "3419:7:5"
}
],
"functionName": {
"name": "abi_decode_t_uint256_fromMemory",
"nodeType": "YulIdentifier",
"src": "3363:31:5"
},
"nodeType": "YulFunctionCall",
"src": "3363:64:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3353:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3140:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "3151:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3163:6:5",
"type": ""
}
],
"src": "3093:351:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3515:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "3532:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3555:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "3537:17:5"
},
"nodeType": "YulFunctionCall",
"src": "3537:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "3525:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3525:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "3525:37:5"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3503:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "3510:3:5",
"type": ""
}
],
"src": "3450:118:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3700:206:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3710:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3722:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3733:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3718:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3718:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "3710:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "3790:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3803:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3814:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3799:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3799:17:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "3746:43:5"
},
"nodeType": "YulFunctionCall",
"src": "3746:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "3746:71:5"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "3871:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "3884:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "3895:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "3880:3:5"
},
"nodeType": "YulFunctionCall",
"src": "3880:18:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "3827:43:5"
},
"nodeType": "YulFunctionCall",
"src": "3827:72:5"
},
"nodeType": "YulExpressionStatement",
"src": "3827:72:5"
}
]
},
"name": "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "3664:9:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "3676:6:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "3684:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "3695:4:5",
"type": ""
}
],
"src": "3574:332:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "3954:48:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "3964:32:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "3989:5:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3982:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3982:13:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "3975:6:5"
},
"nodeType": "YulFunctionCall",
"src": "3975:21:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "3964:7:5"
}
]
}
]
},
"name": "cleanup_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "3936:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "3946:7:5",
"type": ""
}
],
"src": "3912:90:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4048:76:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4102:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4111:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4114:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4104:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4104:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "4104:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4071:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4093:5:5"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nodeType": "YulIdentifier",
"src": "4078:14:5"
},
"nodeType": "YulFunctionCall",
"src": "4078:21:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "4068:2:5"
},
"nodeType": "YulFunctionCall",
"src": "4068:32:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "4061:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4061:40:5"
},
"nodeType": "YulIf",
"src": "4058:60:5"
}
]
},
"name": "validator_revert_t_bool",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4041:5:5",
"type": ""
}
],
"src": "4008:116:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4190:77:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "4200:22:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4215:6:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "4209:5:5"
},
"nodeType": "YulFunctionCall",
"src": "4209:13:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4200:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "4255:5:5"
}
],
"functionName": {
"name": "validator_revert_t_bool",
"nodeType": "YulIdentifier",
"src": "4231:23:5"
},
"nodeType": "YulFunctionCall",
"src": "4231:30:5"
},
"nodeType": "YulExpressionStatement",
"src": "4231:30:5"
}
]
},
"name": "abi_decode_t_bool_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4168:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "4176:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "4184:5:5",
"type": ""
}
],
"src": "4130:137:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4347:271:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "4393:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "4395:77:5"
},
"nodeType": "YulFunctionCall",
"src": "4395:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "4395:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4368:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4377:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "4364:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4364:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4389:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "4360:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4360:32:5"
},
"nodeType": "YulIf",
"src": "4357:119:5"
},
{
"nodeType": "YulBlock",
"src": "4486:125:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "4501:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "4515:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "4505:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "4530:71:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "4573:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "4584:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "4569:3:5"
},
"nodeType": "YulFunctionCall",
"src": "4569:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "4593:7:5"
}
],
"functionName": {
"name": "abi_decode_t_bool_fromMemory",
"nodeType": "YulIdentifier",
"src": "4540:28:5"
},
"nodeType": "YulFunctionCall",
"src": "4540:61:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "4530:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_bool_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "4317:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "4328:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "4340:6:5",
"type": ""
}
],
"src": "4273:345:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4652:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4669:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4672:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4662:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4662:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "4662:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4766:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4769:4:5",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4759:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4759:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "4759:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4790:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4793:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4783:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4783:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "4783:15:5"
}
]
},
"name": "panic_error_0x41",
"nodeType": "YulFunctionDefinition",
"src": "4624:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "4838:152:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4855:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4858:77:5",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4848:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4848:88:5"
},
"nodeType": "YulExpressionStatement",
"src": "4848:88:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4952:1:5",
"type": "",
"value": "4"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4955:4:5",
"type": "",
"value": "0x32"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "4945:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4945:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "4945:15:5"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4976:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "4979:4:5",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "4969:6:5"
},
"nodeType": "YulFunctionCall",
"src": "4969:15:5"
},
"nodeType": "YulExpressionStatement",
"src": "4969:15:5"
}
]
},
"name": "panic_error_0x32",
"nodeType": "YulFunctionDefinition",
"src": "4810:180:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5040:57:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5050:41:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5065:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5072:18:5",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5061:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5061:30:5"
},
"variableNames": [
{
"name": "cleaned",
"nodeType": "YulIdentifier",
"src": "5050:7:5"
}
]
}
]
},
"name": "cleanup_t_uint64",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5022:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nodeType": "YulTypedName",
"src": "5032:7:5",
"type": ""
}
],
"src": "4996:101:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5166:52:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5183:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5205:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint64",
"nodeType": "YulIdentifier",
"src": "5188:16:5"
},
"nodeType": "YulFunctionCall",
"src": "5188:23:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5176:6:5"
},
"nodeType": "YulFunctionCall",
"src": "5176:36:5"
},
"nodeType": "YulExpressionStatement",
"src": "5176:36:5"
}
]
},
"name": "abi_encode_t_uint64_to_t_uint64_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5154:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5161:3:5",
"type": ""
}
],
"src": "5103:115:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5282:40:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5293:22:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5309:5:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5303:5:5"
},
"nodeType": "YulFunctionCall",
"src": "5303:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5293:6:5"
}
]
}
]
},
"name": "array_length_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5265:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5275:6:5",
"type": ""
}
],
"src": "5224:98:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5413:73:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5430:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5435:6:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5423:6:5"
},
"nodeType": "YulFunctionCall",
"src": "5423:19:5"
},
"nodeType": "YulExpressionStatement",
"src": "5423:19:5"
},
{
"nodeType": "YulAssignment",
"src": "5451:29:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "5470:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5475:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5466:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5466:14:5"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "5451:11:5"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5385:3:5",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5390:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "5401:11:5",
"type": ""
}
],
"src": "5328:158:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5554:184:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5564:10:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "5573:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "5568:1:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "5633:63:5",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5658:3:5"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5663:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5654:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5654:11:5"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nodeType": "YulIdentifier",
"src": "5677:3:5"
},
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5682:1:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5673:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5673:11:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "5667:5:5"
},
"nodeType": "YulFunctionCall",
"src": "5667:18:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5647:6:5"
},
"nodeType": "YulFunctionCall",
"src": "5647:39:5"
},
"nodeType": "YulExpressionStatement",
"src": "5647:39:5"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5594:1:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5597:6:5"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "5591:2:5"
},
"nodeType": "YulFunctionCall",
"src": "5591:13:5"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "5605:19:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5607:15:5",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5616:1:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5619:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5612:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5612:10:5"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "5607:1:5"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "5587:3:5",
"statements": []
},
"src": "5583:113:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nodeType": "YulIdentifier",
"src": "5716:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "5721:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5712:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5712:16:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5730:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "5705:6:5"
},
"nodeType": "YulFunctionCall",
"src": "5705:27:5"
},
"nodeType": "YulExpressionStatement",
"src": "5705:27:5"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nodeType": "YulTypedName",
"src": "5536:3:5",
"type": ""
},
{
"name": "dst",
"nodeType": "YulTypedName",
"src": "5541:3:5",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5546:6:5",
"type": ""
}
],
"src": "5492:246:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5792:54:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "5802:38:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5820:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5827:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "5816:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5816:14:5"
},
{
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "5836:2:5",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nodeType": "YulIdentifier",
"src": "5832:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5832:7:5"
}
],
"functionName": {
"name": "and",
"nodeType": "YulIdentifier",
"src": "5812:3:5"
},
"nodeType": "YulFunctionCall",
"src": "5812:28:5"
},
"variableNames": [
{
"name": "result",
"nodeType": "YulIdentifier",
"src": "5802:6:5"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5775:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nodeType": "YulTypedName",
"src": "5785:6:5",
"type": ""
}
],
"src": "5744:102:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "5932:273:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "5942:52:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "5988:5:5"
}
],
"functionName": {
"name": "array_length_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "5956:31:5"
},
"nodeType": "YulFunctionCall",
"src": "5956:38:5"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "5946:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "6003:67:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6058:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6063:6:5"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "6010:47:5"
},
"nodeType": "YulFunctionCall",
"src": "6010:60:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6003:3:5"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6118:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6125:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6114:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6114:16:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6132:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6137:6:5"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nodeType": "YulIdentifier",
"src": "6079:34:5"
},
"nodeType": "YulFunctionCall",
"src": "6079:65:5"
},
"nodeType": "YulExpressionStatement",
"src": "6079:65:5"
},
{
"nodeType": "YulAssignment",
"src": "6153:46:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6164:3:5"
},
{
"arguments": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6191:6:5"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nodeType": "YulIdentifier",
"src": "6169:21:5"
},
"nodeType": "YulFunctionCall",
"src": "6169:29:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6160:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6160:39:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "6153:3:5"
}
]
}
]
},
"name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "5913:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "5920:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "5928:3:5",
"type": ""
}
],
"src": "5852:353:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6315:40:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6326:22:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6342:5:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "6336:5:5"
},
"nodeType": "YulFunctionCall",
"src": "6336:12:5"
},
"variableNames": [
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6326:6:5"
}
]
}
]
},
"name": "array_length_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6298:5:5",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6308:6:5",
"type": ""
}
],
"src": "6211:144:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6492:73:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6509:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "6514:6:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6502:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6502:19:5"
},
"nodeType": "YulExpressionStatement",
"src": "6502:19:5"
},
{
"nodeType": "YulAssignment",
"src": "6530:29:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6549:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6554:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6545:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6545:14:5"
},
"variableNames": [
{
"name": "updated_pos",
"nodeType": "YulIdentifier",
"src": "6530:11:5"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "6464:3:5",
"type": ""
},
{
"name": "length",
"nodeType": "YulTypedName",
"src": "6469:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nodeType": "YulTypedName",
"src": "6480:11:5",
"type": ""
}
],
"src": "6361:204:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6673:60:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "6683:11:5",
"value": {
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "6691:3:5"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "6683:4:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "6704:22:5",
"value": {
"arguments": [
{
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "6716:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "6721:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "6712:3:5"
},
"nodeType": "YulFunctionCall",
"src": "6712:14:5"
},
"variableNames": [
{
"name": "data",
"nodeType": "YulIdentifier",
"src": "6704:4:5"
}
]
}
]
},
"name": "array_dataslot_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nodeType": "YulTypedName",
"src": "6660:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nodeType": "YulTypedName",
"src": "6668:4:5",
"type": ""
}
],
"src": "6571:162:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6794:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6811:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6834:5:5"
}
],
"functionName": {
"name": "cleanup_t_address",
"nodeType": "YulIdentifier",
"src": "6816:17:5"
},
"nodeType": "YulFunctionCall",
"src": "6816:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6804:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6804:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "6804:37:5"
}
]
},
"name": "abi_encode_t_address_to_t_address",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6782:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "6789:3:5",
"type": ""
}
],
"src": "6739:108:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "6908:53:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "6925:3:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "6948:5:5"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nodeType": "YulIdentifier",
"src": "6930:17:5"
},
"nodeType": "YulFunctionCall",
"src": "6930:24:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "6918:6:5"
},
"nodeType": "YulFunctionCall",
"src": "6918:37:5"
},
"nodeType": "YulExpressionStatement",
"src": "6918:37:5"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "6896:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "6903:3:5",
"type": ""
}
],
"src": "6853:108:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7151:394:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7161:26:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7177:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7182:4:5",
"type": "",
"value": "0x40"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7173:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7173:14:5"
},
"variables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "7165:4:5",
"type": ""
}
]
},
{
"nodeType": "YulBlock",
"src": "7197:165:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7233:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7263:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7270:4:5",
"type": "",
"value": "0x00"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7259:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7259:16:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "7253:5:5"
},
"nodeType": "YulFunctionCall",
"src": "7253:23:5"
},
"variables": [
{
"name": "memberValue0",
"nodeType": "YulTypedName",
"src": "7237:12:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "memberValue0",
"nodeType": "YulIdentifier",
"src": "7323:12:5"
},
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7341:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7346:4:5",
"type": "",
"value": "0x00"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7337:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7337:14:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address",
"nodeType": "YulIdentifier",
"src": "7289:33:5"
},
"nodeType": "YulFunctionCall",
"src": "7289:63:5"
},
"nodeType": "YulExpressionStatement",
"src": "7289:63:5"
}
]
},
{
"nodeType": "YulBlock",
"src": "7372:166:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "7409:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "7439:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7446:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7435:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7435:16:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "7429:5:5"
},
"nodeType": "YulFunctionCall",
"src": "7429:23:5"
},
"variables": [
{
"name": "memberValue0",
"nodeType": "YulTypedName",
"src": "7413:12:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "memberValue0",
"nodeType": "YulIdentifier",
"src": "7499:12:5"
},
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7517:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7522:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7513:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7513:14:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "7465:33:5"
},
"nodeType": "YulFunctionCall",
"src": "7465:63:5"
},
"nodeType": "YulExpressionStatement",
"src": "7465:63:5"
}
]
}
]
},
"name": "abi_encode_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "7138:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "7145:3:5",
"type": ""
}
],
"src": "7035:510:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7691:159:5",
"statements": [
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "7795:6:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7803:3:5"
}
],
"functionName": {
"name": "abi_encode_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr",
"nodeType": "YulIdentifier",
"src": "7701:93:5"
},
"nodeType": "YulFunctionCall",
"src": "7701:106:5"
},
"nodeType": "YulExpressionStatement",
"src": "7701:106:5"
},
{
"nodeType": "YulAssignment",
"src": "7816:28:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "7834:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7839:4:5",
"type": "",
"value": "0x40"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7830:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7830:14:5"
},
"variableNames": [
{
"name": "updatedPos",
"nodeType": "YulIdentifier",
"src": "7816:10:5"
}
]
}
]
},
"name": "abi_encodeUpdatedPos_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "7664:6:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "7672:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "updatedPos",
"nodeType": "YulTypedName",
"src": "7680:10:5",
"type": ""
}
],
"src": "7551:299:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "7961:38:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "7971:22:5",
"value": {
"arguments": [
{
"name": "ptr",
"nodeType": "YulIdentifier",
"src": "7983:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "7988:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "7979:3:5"
},
"nodeType": "YulFunctionCall",
"src": "7979:14:5"
},
"variableNames": [
{
"name": "next",
"nodeType": "YulIdentifier",
"src": "7971:4:5"
}
]
}
]
},
"name": "array_nextElement_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nodeType": "YulTypedName",
"src": "7948:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "next",
"nodeType": "YulTypedName",
"src": "7956:4:5",
"type": ""
}
],
"src": "7856:143:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "8251:778:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8261:98:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8353:5:5"
}
],
"functionName": {
"name": "array_length_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "8275:77:5"
},
"nodeType": "YulFunctionCall",
"src": "8275:84:5"
},
"variables": [
{
"name": "length",
"nodeType": "YulTypedName",
"src": "8265:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "8368:113:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8469:3:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8474:6:5"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "8375:93:5"
},
"nodeType": "YulFunctionCall",
"src": "8375:106:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8368:3:5"
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "8490:101:5",
"value": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "8585:5:5"
}
],
"functionName": {
"name": "array_dataslot_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "8505:79:5"
},
"nodeType": "YulFunctionCall",
"src": "8505:86:5"
},
"variables": [
{
"name": "baseRef",
"nodeType": "YulTypedName",
"src": "8494:7:5",
"type": ""
}
]
},
{
"nodeType": "YulVariableDeclaration",
"src": "8600:21:5",
"value": {
"name": "baseRef",
"nodeType": "YulIdentifier",
"src": "8614:7:5"
},
"variables": [
{
"name": "srcPtr",
"nodeType": "YulTypedName",
"src": "8604:6:5",
"type": ""
}
]
},
{
"body": {
"nodeType": "YulBlock",
"src": "8690:314:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8704:34:5",
"value": {
"arguments": [
{
"name": "srcPtr",
"nodeType": "YulIdentifier",
"src": "8731:6:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "8725:5:5"
},
"nodeType": "YulFunctionCall",
"src": "8725:13:5"
},
"variables": [
{
"name": "elementValue0",
"nodeType": "YulTypedName",
"src": "8708:13:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "8751:130:5",
"value": {
"arguments": [
{
"name": "elementValue0",
"nodeType": "YulIdentifier",
"src": "8862:13:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8877:3:5"
}
],
"functionName": {
"name": "abi_encodeUpdatedPos_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr",
"nodeType": "YulIdentifier",
"src": "8758:103:5"
},
"nodeType": "YulFunctionCall",
"src": "8758:123:5"
},
"variableNames": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "8751:3:5"
}
]
},
{
"nodeType": "YulAssignment",
"src": "8894:100:5",
"value": {
"arguments": [
{
"name": "srcPtr",
"nodeType": "YulIdentifier",
"src": "8987:6:5"
}
],
"functionName": {
"name": "array_nextElement_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "8904:82:5"
},
"nodeType": "YulFunctionCall",
"src": "8904:90:5"
},
"variableNames": [
{
"name": "srcPtr",
"nodeType": "YulIdentifier",
"src": "8894:6:5"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8652:1:5"
},
{
"name": "length",
"nodeType": "YulIdentifier",
"src": "8655:6:5"
}
],
"functionName": {
"name": "lt",
"nodeType": "YulIdentifier",
"src": "8649:2:5"
},
"nodeType": "YulFunctionCall",
"src": "8649:13:5"
},
"nodeType": "YulForLoop",
"post": {
"nodeType": "YulBlock",
"src": "8663:18:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "8665:14:5",
"value": {
"arguments": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8674:1:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "8677:1:5",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "8670:3:5"
},
"nodeType": "YulFunctionCall",
"src": "8670:9:5"
},
"variableNames": [
{
"name": "i",
"nodeType": "YulIdentifier",
"src": "8665:1:5"
}
]
}
]
},
"pre": {
"nodeType": "YulBlock",
"src": "8634:14:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "8636:10:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "8645:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nodeType": "YulTypedName",
"src": "8640:1:5",
"type": ""
}
]
}
]
},
"src": "8630:374:5"
},
{
"nodeType": "YulAssignment",
"src": "9013:10:5",
"value": {
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9020:3:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "9013:3:5"
}
]
}
]
},
"name": "abi_encode_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "8230:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "8237:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "8246:3:5",
"type": ""
}
],
"src": "8077:952:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "9237:1322:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9247:26:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9263:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9268:4:5",
"type": "",
"value": "0xa0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9259:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9259:14:5"
},
"variables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "9251:4:5",
"type": ""
}
]
},
{
"nodeType": "YulBlock",
"src": "9283:237:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9322:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9352:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9359:4:5",
"type": "",
"value": "0x00"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9348:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9348:16:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "9342:5:5"
},
"nodeType": "YulFunctionCall",
"src": "9342:23:5"
},
"variables": [
{
"name": "memberValue0",
"nodeType": "YulTypedName",
"src": "9326:12:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9390:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9395:4:5",
"type": "",
"value": "0x00"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9386:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9386:14:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9406:4:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9412:3:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "9402:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9402:14:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9379:6:5"
},
"nodeType": "YulFunctionCall",
"src": "9379:38:5"
},
"nodeType": "YulExpressionStatement",
"src": "9379:38:5"
},
{
"nodeType": "YulAssignment",
"src": "9430:79:5",
"value": {
"arguments": [
{
"name": "memberValue0",
"nodeType": "YulIdentifier",
"src": "9490:12:5"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9504:4:5"
}
],
"functionName": {
"name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "9438:51:5"
},
"nodeType": "YulFunctionCall",
"src": "9438:71:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9430:4:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "9530:233:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9565:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9595:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9602:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9591:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9591:16:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "9585:5:5"
},
"nodeType": "YulFunctionCall",
"src": "9585:23:5"
},
"variables": [
{
"name": "memberValue0",
"nodeType": "YulTypedName",
"src": "9569:12:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9633:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9638:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9629:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9629:14:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9649:4:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9655:3:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "9645:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9645:14:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9622:6:5"
},
"nodeType": "YulFunctionCall",
"src": "9622:38:5"
},
"nodeType": "YulExpressionStatement",
"src": "9622:38:5"
},
{
"nodeType": "YulAssignment",
"src": "9673:79:5",
"value": {
"arguments": [
{
"name": "memberValue0",
"nodeType": "YulIdentifier",
"src": "9733:12:5"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9747:4:5"
}
],
"functionName": {
"name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "9681:51:5"
},
"nodeType": "YulFunctionCall",
"src": "9681:71:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9673:4:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "9773:333:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "9816:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "9846:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9853:4:5",
"type": "",
"value": "0x40"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9842:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9842:16:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "9836:5:5"
},
"nodeType": "YulFunctionCall",
"src": "9836:23:5"
},
"variables": [
{
"name": "memberValue0",
"nodeType": "YulTypedName",
"src": "9820:12:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9884:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "9889:4:5",
"type": "",
"value": "0x40"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "9880:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9880:14:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9900:4:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "9906:3:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "9896:3:5"
},
"nodeType": "YulFunctionCall",
"src": "9896:14:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "9873:6:5"
},
"nodeType": "YulFunctionCall",
"src": "9873:38:5"
},
"nodeType": "YulExpressionStatement",
"src": "9873:38:5"
},
{
"nodeType": "YulAssignment",
"src": "9924:171:5",
"value": {
"arguments": [
{
"name": "memberValue0",
"nodeType": "YulIdentifier",
"src": "10076:12:5"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10090:4:5"
}
],
"functionName": {
"name": "abi_encode_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr",
"nodeType": "YulIdentifier",
"src": "9932:143:5"
},
"nodeType": "YulFunctionCall",
"src": "9932:163:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "9924:4:5"
}
]
}
]
},
{
"nodeType": "YulBlock",
"src": "10116:168:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "10155:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "10185:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10192:4:5",
"type": "",
"value": "0x60"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10181:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10181:16:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "10175:5:5"
},
"nodeType": "YulFunctionCall",
"src": "10175:23:5"
},
"variables": [
{
"name": "memberValue0",
"nodeType": "YulTypedName",
"src": "10159:12:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "memberValue0",
"nodeType": "YulIdentifier",
"src": "10245:12:5"
},
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10263:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10268:4:5",
"type": "",
"value": "0x60"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10259:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10259:14:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address",
"nodeType": "YulIdentifier",
"src": "10211:33:5"
},
"nodeType": "YulFunctionCall",
"src": "10211:63:5"
},
"nodeType": "YulExpressionStatement",
"src": "10211:63:5"
}
]
},
{
"nodeType": "YulBlock",
"src": "10294:238:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "10334:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "10364:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10371:4:5",
"type": "",
"value": "0x80"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10360:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10360:16:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "10354:5:5"
},
"nodeType": "YulFunctionCall",
"src": "10354:23:5"
},
"variables": [
{
"name": "memberValue0",
"nodeType": "YulTypedName",
"src": "10338:12:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10402:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10407:4:5",
"type": "",
"value": "0x80"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10398:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10398:14:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10418:4:5"
},
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "10424:3:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "10414:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10414:14:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10391:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10391:38:5"
},
"nodeType": "YulExpressionStatement",
"src": "10391:38:5"
},
{
"nodeType": "YulAssignment",
"src": "10442:79:5",
"value": {
"arguments": [
{
"name": "memberValue0",
"nodeType": "YulIdentifier",
"src": "10502:12:5"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10516:4:5"
}
],
"functionName": {
"name": "abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr",
"nodeType": "YulIdentifier",
"src": "10450:51:5"
},
"nodeType": "YulFunctionCall",
"src": "10450:71:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10442:4:5"
}
]
}
]
},
{
"nodeType": "YulAssignment",
"src": "10542:11:5",
"value": {
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10549:4:5"
},
"variableNames": [
{
"name": "end",
"nodeType": "YulIdentifier",
"src": "10542:3:5"
}
]
}
]
},
"name": "abi_encode_t_struct$_EVM2AnyMessage_$84_memory_ptr_to_t_struct$_EVM2AnyMessage_$84_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "9216:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "9223:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nodeType": "YulTypedName",
"src": "9232:3:5",
"type": ""
}
],
"src": "9103:1456:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "10749:315:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "10759:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10771:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10782:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10767:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10767:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10759:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "10837:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10850:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10861:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10846:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10846:17:5"
}
],
"functionName": {
"name": "abi_encode_t_uint64_to_t_uint64_fromStack",
"nodeType": "YulIdentifier",
"src": "10795:41:5"
},
"nodeType": "YulFunctionCall",
"src": "10795:69:5"
},
"nodeType": "YulExpressionStatement",
"src": "10795:69:5"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10885:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "10896:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "10881:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10881:18:5"
},
{
"arguments": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10905:4:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "10911:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "10901:3:5"
},
"nodeType": "YulFunctionCall",
"src": "10901:20:5"
}
],
"functionName": {
"name": "mstore",
"nodeType": "YulIdentifier",
"src": "10874:6:5"
},
"nodeType": "YulFunctionCall",
"src": "10874:48:5"
},
"nodeType": "YulExpressionStatement",
"src": "10874:48:5"
},
{
"nodeType": "YulAssignment",
"src": "10931:126:5",
"value": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "11043:6:5"
},
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11052:4:5"
}
],
"functionName": {
"name": "abi_encode_t_struct$_EVM2AnyMessage_$84_memory_ptr_to_t_struct$_EVM2AnyMessage_$84_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "10939:103:5"
},
"nodeType": "YulFunctionCall",
"src": "10939:118:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "10931:4:5"
}
]
}
]
},
"name": "abi_encode_tuple_t_uint64_t_struct$_EVM2AnyMessage_$84_memory_ptr__to_t_uint64_t_struct$_EVM2AnyMessage_$84_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "10713:9:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "10725:6:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "10733:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "10744:4:5",
"type": ""
}
],
"src": "10565:499:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11196:206:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11206:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11218:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11229:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11214:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11214:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "11206:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "11286:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11299:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11310:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11295:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11295:17:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "11242:43:5"
},
"nodeType": "YulFunctionCall",
"src": "11242:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "11242:71:5"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "11367:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11380:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11391:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11376:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11376:18:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "11323:43:5"
},
"nodeType": "YulFunctionCall",
"src": "11323:72:5"
},
"nodeType": "YulExpressionStatement",
"src": "11323:72:5"
}
]
},
"name": "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "11160:9:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "11172:6:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "11180:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "11191:4:5",
"type": ""
}
],
"src": "11070:332:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11451:79:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "11508:16:5",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11517:1:5",
"type": "",
"value": "0"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11520:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nodeType": "YulIdentifier",
"src": "11510:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11510:12:5"
},
"nodeType": "YulExpressionStatement",
"src": "11510:12:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11474:5:5"
},
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11499:5:5"
}
],
"functionName": {
"name": "cleanup_t_bytes32",
"nodeType": "YulIdentifier",
"src": "11481:17:5"
},
"nodeType": "YulFunctionCall",
"src": "11481:24:5"
}
],
"functionName": {
"name": "eq",
"nodeType": "YulIdentifier",
"src": "11471:2:5"
},
"nodeType": "YulFunctionCall",
"src": "11471:35:5"
}
],
"functionName": {
"name": "iszero",
"nodeType": "YulIdentifier",
"src": "11464:6:5"
},
"nodeType": "YulFunctionCall",
"src": "11464:43:5"
},
"nodeType": "YulIf",
"src": "11461:63:5"
}
]
},
"name": "validator_revert_t_bytes32",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "11444:5:5",
"type": ""
}
],
"src": "11408:122:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11599:80:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "11609:22:5",
"value": {
"arguments": [
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "11624:6:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "11618:5:5"
},
"nodeType": "YulFunctionCall",
"src": "11618:13:5"
},
"variableNames": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11609:5:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "11667:5:5"
}
],
"functionName": {
"name": "validator_revert_t_bytes32",
"nodeType": "YulIdentifier",
"src": "11640:26:5"
},
"nodeType": "YulFunctionCall",
"src": "11640:33:5"
},
"nodeType": "YulExpressionStatement",
"src": "11640:33:5"
}
]
},
"name": "abi_decode_t_bytes32_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "11577:6:5",
"type": ""
},
{
"name": "end",
"nodeType": "YulTypedName",
"src": "11585:3:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "11593:5:5",
"type": ""
}
],
"src": "11536:143:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "11762:274:5",
"statements": [
{
"body": {
"nodeType": "YulBlock",
"src": "11808:83:5",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nodeType": "YulIdentifier",
"src": "11810:77:5"
},
"nodeType": "YulFunctionCall",
"src": "11810:79:5"
},
"nodeType": "YulExpressionStatement",
"src": "11810:79:5"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "11783:7:5"
},
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11792:9:5"
}
],
"functionName": {
"name": "sub",
"nodeType": "YulIdentifier",
"src": "11779:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11779:23:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "11804:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nodeType": "YulIdentifier",
"src": "11775:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11775:32:5"
},
"nodeType": "YulIf",
"src": "11772:119:5"
},
{
"nodeType": "YulBlock",
"src": "11901:128:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "11916:15:5",
"value": {
"kind": "number",
"nodeType": "YulLiteral",
"src": "11930:1:5",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nodeType": "YulTypedName",
"src": "11920:6:5",
"type": ""
}
]
},
{
"nodeType": "YulAssignment",
"src": "11945:74:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "11991:9:5"
},
{
"name": "offset",
"nodeType": "YulIdentifier",
"src": "12002:6:5"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "11987:3:5"
},
"nodeType": "YulFunctionCall",
"src": "11987:22:5"
},
{
"name": "dataEnd",
"nodeType": "YulIdentifier",
"src": "12011:7:5"
}
],
"functionName": {
"name": "abi_decode_t_bytes32_fromMemory",
"nodeType": "YulIdentifier",
"src": "11955:31:5"
},
"nodeType": "YulFunctionCall",
"src": "11955:64:5"
},
"variableNames": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "11945:6:5"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_bytes32_fromMemory",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "11732:9:5",
"type": ""
},
{
"name": "dataEnd",
"nodeType": "YulTypedName",
"src": "11743:7:5",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "11755:6:5",
"type": ""
}
],
"src": "11685:351:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12252:454:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "12262:27:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12274:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12285:3:5",
"type": "",
"value": "160"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12270:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12270:19:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "12262:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "12343:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12356:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12367:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12352:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12352:17:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "12299:43:5"
},
"nodeType": "YulFunctionCall",
"src": "12299:71:5"
},
"nodeType": "YulExpressionStatement",
"src": "12299:71:5"
},
{
"expression": {
"arguments": [
{
"name": "value1",
"nodeType": "YulIdentifier",
"src": "12424:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12437:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12448:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12433:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12433:18:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "12380:43:5"
},
"nodeType": "YulFunctionCall",
"src": "12380:72:5"
},
"nodeType": "YulExpressionStatement",
"src": "12380:72:5"
},
{
"expression": {
"arguments": [
{
"name": "value2",
"nodeType": "YulIdentifier",
"src": "12506:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12519:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12530:2:5",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12515:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12515:18:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "12462:43:5"
},
"nodeType": "YulFunctionCall",
"src": "12462:72:5"
},
"nodeType": "YulExpressionStatement",
"src": "12462:72:5"
},
{
"expression": {
"arguments": [
{
"name": "value3",
"nodeType": "YulIdentifier",
"src": "12588:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12601:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12612:2:5",
"type": "",
"value": "96"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12597:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12597:18:5"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nodeType": "YulIdentifier",
"src": "12544:43:5"
},
"nodeType": "YulFunctionCall",
"src": "12544:72:5"
},
"nodeType": "YulExpressionStatement",
"src": "12544:72:5"
},
{
"expression": {
"arguments": [
{
"name": "value4",
"nodeType": "YulIdentifier",
"src": "12670:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "12683:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12694:3:5",
"type": "",
"value": "128"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12679:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12679:19:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nodeType": "YulIdentifier",
"src": "12626:43:5"
},
"nodeType": "YulFunctionCall",
"src": "12626:73:5"
},
"nodeType": "YulExpressionStatement",
"src": "12626:73:5"
}
]
},
"name": "abi_encode_tuple_t_address_t_address_t_uint256_t_address_t_uint256__to_t_address_t_address_t_uint256_t_address_t_uint256__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "12192:9:5",
"type": ""
},
{
"name": "value4",
"nodeType": "YulTypedName",
"src": "12204:6:5",
"type": ""
},
{
"name": "value3",
"nodeType": "YulTypedName",
"src": "12212:6:5",
"type": ""
},
{
"name": "value2",
"nodeType": "YulTypedName",
"src": "12220:6:5",
"type": ""
},
{
"name": "value1",
"nodeType": "YulTypedName",
"src": "12228:6:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "12236:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "12247:4:5",
"type": ""
}
],
"src": "12042:664:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "12906:221:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "12916:26:5",
"value": {
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "12932:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "12937:4:5",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "12928:3:5"
},
"nodeType": "YulFunctionCall",
"src": "12928:14:5"
},
"variables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "12920:4:5",
"type": ""
}
]
},
{
"nodeType": "YulBlock",
"src": "12952:168:5",
"statements": [
{
"nodeType": "YulVariableDeclaration",
"src": "12991:43:5",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nodeType": "YulIdentifier",
"src": "13021:5:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13028:4:5",
"type": "",
"value": "0x00"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13017:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13017:16:5"
}
],
"functionName": {
"name": "mload",
"nodeType": "YulIdentifier",
"src": "13011:5:5"
},
"nodeType": "YulFunctionCall",
"src": "13011:23:5"
},
"variables": [
{
"name": "memberValue0",
"nodeType": "YulTypedName",
"src": "12995:12:5",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "memberValue0",
"nodeType": "YulIdentifier",
"src": "13081:12:5"
},
{
"arguments": [
{
"name": "pos",
"nodeType": "YulIdentifier",
"src": "13099:3:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13104:4:5",
"type": "",
"value": "0x00"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13095:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13095:14:5"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256",
"nodeType": "YulIdentifier",
"src": "13047:33:5"
},
"nodeType": "YulFunctionCall",
"src": "13047:63:5"
},
"nodeType": "YulExpressionStatement",
"src": "13047:63:5"
}
]
}
]
},
"name": "abi_encode_t_struct$_EVMExtraArgsV1_$90_memory_ptr_to_t_struct$_EVMExtraArgsV1_$90_memory_ptr_fromStack",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nodeType": "YulTypedName",
"src": "12893:5:5",
"type": ""
},
{
"name": "pos",
"nodeType": "YulTypedName",
"src": "12900:3:5",
"type": ""
}
],
"src": "12780:347:5"
},
{
"body": {
"nodeType": "YulBlock",
"src": "13291:184:5",
"statements": [
{
"nodeType": "YulAssignment",
"src": "13301:26:5",
"value": {
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13313:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13324:2:5",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13309:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13309:18:5"
},
"variableNames": [
{
"name": "tail",
"nodeType": "YulIdentifier",
"src": "13301:4:5"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nodeType": "YulIdentifier",
"src": "13441:6:5"
},
{
"arguments": [
{
"name": "headStart",
"nodeType": "YulIdentifier",
"src": "13454:9:5"
},
{
"kind": "number",
"nodeType": "YulLiteral",
"src": "13465:1:5",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nodeType": "YulIdentifier",
"src": "13450:3:5"
},
"nodeType": "YulFunctionCall",
"src": "13450:17:5"
}
],
"functionName": {
"name": "abi_encode_t_struct$_EVMExtraArgsV1_$90_memory_ptr_to_t_struct$_EVMExtraArgsV1_$90_memory_ptr_fromStack",
"nodeType": "YulIdentifier",
"src": "13337:103:5"
},
"nodeType": "YulFunctionCall",
"src": "13337:131:5"
},
"nodeType": "YulExpressionStatement",
"src": "13337:131:5"
}
]
},
"name": "abi_encode_tuple_t_struct$_EVMExtraArgsV1_$90_memory_ptr__to_t_struct$_EVMExtraArgsV1_$90_memory_ptr__fromStack_reversed",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nodeType": "YulTypedName",
"src": "13263:9:5",
"type": ""
},
{
"name": "value0",
"nodeType": "YulTypedName",
"src": "13275:6:5",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nodeType": "YulTypedName",
"src": "13286:4:5",
"type": ""
}
],
"src": "13133:342:5"
}
]
},
"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(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_addresst_address(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_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_addresst_uint256(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_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_bytes32(value) -> cleaned {\n cleaned := value\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 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_uint256_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_uint256_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\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 }\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 panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function panic_error_0x32() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n\n function cleanup_t_uint64(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffff)\n }\n\n function abi_encode_t_uint64_to_t_uint64_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint64(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(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_bytes_memory_ptr_to_t_bytes_memory_ptr(value, pos) -> end {\n let length := array_length_t_bytes_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_bytes_memory_ptr(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 array_length_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function array_dataslot_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(ptr) -> data {\n data := ptr\n\n data := add(ptr, 0x20)\n\n }\n\n function abi_encode_t_address_to_t_address(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_uint256_to_t_uint256(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n // struct Client.EVMTokenAmount -> struct Client.EVMTokenAmount\n function abi_encode_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr(value, pos) {\n let tail := add(pos, 0x40)\n\n {\n // token\n\n let memberValue0 := mload(add(value, 0x00))\n abi_encode_t_address_to_t_address(memberValue0, add(pos, 0x00))\n }\n\n {\n // amount\n\n let memberValue0 := mload(add(value, 0x20))\n abi_encode_t_uint256_to_t_uint256(memberValue0, add(pos, 0x20))\n }\n\n }\n\n function abi_encodeUpdatedPos_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr(value0, pos) -> updatedPos {\n abi_encode_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr(value0, pos)\n updatedPos := add(pos, 0x40)\n }\n\n function array_nextElement_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(ptr) -> next {\n next := add(ptr, 0x20)\n }\n\n // struct Client.EVMTokenAmount[] -> struct Client.EVMTokenAmount[]\n function abi_encode_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(value, pos) -> end {\n let length := array_length_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(pos, length)\n let baseRef := array_dataslot_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(value)\n let srcPtr := baseRef\n for { let i := 0 } lt(i, length) { i := add(i, 1) }\n {\n let elementValue0 := mload(srcPtr)\n pos := abi_encodeUpdatedPos_t_struct$_EVMTokenAmount_$58_memory_ptr_to_t_struct$_EVMTokenAmount_$58_memory_ptr(elementValue0, pos)\n srcPtr := array_nextElement_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(srcPtr)\n }\n end := pos\n }\n\n // struct Client.EVM2AnyMessage -> struct Client.EVM2AnyMessage\n function abi_encode_t_struct$_EVM2AnyMessage_$84_memory_ptr_to_t_struct$_EVM2AnyMessage_$84_memory_ptr_fromStack(value, pos) -> end {\n let tail := add(pos, 0xa0)\n\n {\n // receiver\n\n let memberValue0 := mload(add(value, 0x00))\n\n mstore(add(pos, 0x00), sub(tail, pos))\n tail := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr(memberValue0, tail)\n\n }\n\n {\n // data\n\n let memberValue0 := mload(add(value, 0x20))\n\n mstore(add(pos, 0x20), sub(tail, pos))\n tail := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr(memberValue0, tail)\n\n }\n\n {\n // tokenAmounts\n\n let memberValue0 := mload(add(value, 0x40))\n\n mstore(add(pos, 0x40), sub(tail, pos))\n tail := abi_encode_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr_to_t_array$_t_struct$_EVMTokenAmount_$58_memory_ptr_$dyn_memory_ptr(memberValue0, tail)\n\n }\n\n {\n // feeToken\n\n let memberValue0 := mload(add(value, 0x60))\n abi_encode_t_address_to_t_address(memberValue0, add(pos, 0x60))\n }\n\n {\n // extraArgs\n\n let memberValue0 := mload(add(value, 0x80))\n\n mstore(add(pos, 0x80), sub(tail, pos))\n tail := abi_encode_t_bytes_memory_ptr_to_t_bytes_memory_ptr(memberValue0, tail)\n\n }\n\n end := tail\n }\n\n function abi_encode_tuple_t_uint64_t_struct$_EVM2AnyMessage_$84_memory_ptr__to_t_uint64_t_struct$_EVM2AnyMessage_$84_memory_ptr__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint64_to_t_uint64_fromStack(value0, add(headStart, 0))\n\n mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_struct$_EVM2AnyMessage_$84_memory_ptr_to_t_struct$_EVM2AnyMessage_$84_memory_ptr_fromStack(value1, tail)\n\n }\n\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\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 abi_decode_tuple_t_bytes32_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_bytes32_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_tuple_t_address_t_address_t_uint256_t_address_t_uint256__to_t_address_t_address_t_uint256_t_address_t_uint256__fromStack_reversed(headStart , value4, value3, value2, value1, value0) -> tail {\n tail := add(headStart, 160)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_address_to_t_address_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value2, add(headStart, 64))\n\n abi_encode_t_address_to_t_address_fromStack(value3, add(headStart, 96))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value4, add(headStart, 128))\n\n }\n\n // struct Client.EVMExtraArgsV1 -> struct Client.EVMExtraArgsV1\n function abi_encode_t_struct$_EVMExtraArgsV1_$90_memory_ptr_to_t_struct$_EVMExtraArgsV1_$90_memory_ptr_fromStack(value, pos) {\n let tail := add(pos, 0x20)\n\n {\n // gasLimit\n\n let memberValue0 := mload(add(value, 0x00))\n abi_encode_t_uint256_to_t_uint256(memberValue0, add(pos, 0x00))\n }\n\n }\n\n function abi_encode_tuple_t_struct$_EVMExtraArgsV1_$90_memory_ptr__to_t_struct$_EVMExtraArgsV1_$90_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_struct$_EVMExtraArgsV1_$90_memory_ptr_to_t_struct$_EVMExtraArgsV1_$90_memory_ptr_fromStack(value0, add(headStart, 0))\n\n }\n\n}\n",
"id": 5,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b50600436106100415760003560e01c80633aeac4e1146100465780638da5cb5b146100625780639ea604e114610080575b600080fd5b610060600480360381019061005b9190610a0c565b6100b0565b005b61006a610246565b6040516100779190610a5b565b60405180910390f35b61009a60048036038101906100959190610aac565b61026c565b6040516100a79190610b05565b60405180910390f35b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461010a57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016101459190610a5b565b602060405180830381865afa158015610162573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101869190610b35565b9050600081036101c2576040517fd0d04f6000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b81526004016101fd929190610b71565b6020604051808303816000875af115801561021c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102409190610bd2565b50505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600167ffffffffffffffff81111561028a57610289610bff565b5b6040519080825280602002602001820160405280156102c357816020015b6102b0610979565b8152602001906001900390816102a85790505b50905060006040518060400160405280600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152509050808260008151811061032c5761032b610c2e565b5b602002602001018190525060006040518060a00160405280876040516020016103559190610a5b565b6040516020818303038152906040528152602001604051806020016040528060008152508152602001848152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016103da604051806020016040528060008152506108fa565b815250905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166320487ded600560149054906101000a900467ffffffffffffffff16846040518363ffffffff1660e01b8152600401610453929190610e97565b602060405180830381865afa158015610470573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104949190610b35565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104f19190610a5b565b602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190610b35565b81111561061357600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016105949190610a5b565b602060405180830381865afa1580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d59190610b35565b816040517f8f0f420600000000000000000000000000000000000000000000000000000000815260040161060a929190610ec7565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610690929190610b71565b6020604051808303816000875af11580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d39190610bd2565b50600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16886040518363ffffffff1660e01b8152600401610751929190610b71565b6020604051808303816000875af1158015610770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107949190610bd2565b5060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166396f4e9f9600560149054906101000a900467ffffffffffffffff16846040518363ffffffff1660e01b8152600401610806929190610e97565b6020604051808303816000875af1158015610825573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108499190610f1c565b9450600560149054906101000a900467ffffffffffffffff1667ffffffffffffffff16857fc15fb748c32ba4eb29c1c311e78533f93b4425eab49ea87c6fe4279ecadca04389600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876040516108e8959493929190610f49565b60405180910390a35050505092915050565b60606397a657c960e01b826040516024016109159190610fb8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109d9826109ae565b9050919050565b6109e9816109ce565b81146109f457600080fd5b50565b600081359050610a06816109e0565b92915050565b60008060408385031215610a2357610a226109a9565b5b6000610a31858286016109f7565b9250506020610a42858286016109f7565b9150509250929050565b610a55816109ce565b82525050565b6000602082019050610a706000830184610a4c565b92915050565b6000819050919050565b610a8981610a76565b8114610a9457600080fd5b50565b600081359050610aa681610a80565b92915050565b60008060408385031215610ac357610ac26109a9565b5b6000610ad1858286016109f7565b9250506020610ae285828601610a97565b9150509250929050565b6000819050919050565b610aff81610aec565b82525050565b6000602082019050610b1a6000830184610af6565b92915050565b600081519050610b2f81610a80565b92915050565b600060208284031215610b4b57610b4a6109a9565b5b6000610b5984828501610b20565b91505092915050565b610b6b81610a76565b82525050565b6000604082019050610b866000830185610a4c565b610b936020830184610b62565b9392505050565b60008115159050919050565b610baf81610b9a565b8114610bba57600080fd5b50565b600081519050610bcc81610ba6565b92915050565b600060208284031215610be857610be76109a9565b5b6000610bf684828501610bbd565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600067ffffffffffffffff82169050919050565b610c7a81610c5d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610cba578082015181840152602081019050610c9f565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ce282610c80565b610cec8185610c8b565b9350610cfc818560208601610c9c565b610d0581610cc6565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b610d45816109ce565b82525050565b610d5481610a76565b82525050565b604082016000820151610d706000850182610d3c565b506020820151610d836020850182610d4b565b50505050565b6000610d958383610d5a565b60408301905092915050565b6000602082019050919050565b6000610db982610d10565b610dc38185610d1b565b9350610dce83610d2c565b8060005b83811015610dff578151610de68882610d89565b9750610df183610da1565b925050600181019050610dd2565b5085935050505092915050565b600060a0830160008301518482036000860152610e298282610cd7565b91505060208301518482036020860152610e438282610cd7565b91505060408301518482036040860152610e5d8282610dae565b9150506060830151610e726060860182610d3c565b5060808301518482036080860152610e8a8282610cd7565b9150508091505092915050565b6000604082019050610eac6000830185610c71565b8181036020830152610ebe8184610e0c565b90509392505050565b6000604082019050610edc6000830185610b62565b610ee96020830184610b62565b9392505050565b610ef981610aec565b8114610f0457600080fd5b50565b600081519050610f1681610ef0565b92915050565b600060208284031215610f3257610f316109a9565b5b6000610f4084828501610f07565b91505092915050565b600060a082019050610f5e6000830188610a4c565b610f6b6020830187610a4c565b610f786040830186610b62565b610f856060830185610a4c565b610f926080830184610b62565b9695505050505050565b602082016000820151610fb26000850182610d4b565b50505050565b6000602082019050610fcd6000830184610f9c565b9291505056fea264697066735822122026f6e9f15ab79b5bf2e05ae8f678eda9808eb6db6ccdb23b128015c559b3877264736f6c63430008130033",
"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 0x3AEAC4E1 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x62 JUMPI DUP1 PUSH4 0x9EA604E1 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 0xA0C JUMP JUMPDEST PUSH2 0xB0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x6A PUSH2 0x246 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x77 SWAP2 SWAP1 PUSH2 0xA5B 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 0xAAC JUMP JUMPDEST PUSH2 0x26C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xA7 SWAP2 SWAP1 PUSH2 0xB05 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x10A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x70A08231 ADDRESS PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x145 SWAP2 SWAP1 PUSH2 0xA5B JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x162 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 0x186 SWAP2 SWAP1 PUSH2 0xB35 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 SUB PUSH2 0x1C2 JUMPI PUSH1 0x40 MLOAD PUSH32 0xD0D04F6000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xA9059CBB DUP5 DUP4 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1FD SWAP3 SWAP2 SWAP1 PUSH2 0xB71 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x21C 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 0x240 SWAP2 SWAP1 PUSH2 0xBD2 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x28A JUMPI PUSH2 0x289 PUSH2 0xBFF JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x2C3 JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH2 0x2B0 PUSH2 0x979 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x2A8 JUMPI SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE POP SWAP1 POP DUP1 DUP3 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x32C JUMPI PUSH2 0x32B PUSH2 0xC2E JUMP JUMPDEST JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 DUP8 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x355 SWAP2 SWAP1 PUSH2 0xA5B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x3DA PUSH1 0x40 MLOAD DUP1 PUSH1 0x20 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE POP PUSH2 0x8FA JUMP JUMPDEST DUP2 MSTORE POP SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x20487DED PUSH1 0x5 PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH8 0xFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x453 SWAP3 SWAP2 SWAP1 PUSH2 0xE97 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x470 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 0x494 SWAP2 SWAP1 PUSH2 0xB35 JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x70A08231 ADDRESS PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4F1 SWAP2 SWAP1 PUSH2 0xA5B JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x50E 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 0x532 SWAP2 SWAP1 PUSH2 0xB35 JUMP JUMPDEST DUP2 GT ISZERO PUSH2 0x613 JUMPI PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x70A08231 ADDRESS PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x594 SWAP2 SWAP1 PUSH2 0xA5B JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5B1 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 0x5D5 SWAP2 SWAP1 PUSH2 0xB35 JUMP JUMPDEST DUP2 PUSH1 0x40 MLOAD PUSH32 0x8F0F420600000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x60A SWAP3 SWAP2 SWAP1 PUSH2 0xEC7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x690 SWAP3 SWAP2 SWAP1 PUSH2 0xB71 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x6AF 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 0x6D3 SWAP2 SWAP1 PUSH2 0xBD2 JUMP JUMPDEST POP PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP9 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x751 SWAP3 SWAP2 SWAP1 PUSH2 0xB71 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x770 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 0x794 SWAP2 SWAP1 PUSH2 0xBD2 JUMP JUMPDEST POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x96F4E9F9 PUSH1 0x5 PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH8 0xFFFFFFFFFFFFFFFF AND DUP5 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x806 SWAP3 SWAP2 SWAP1 PUSH2 0xE97 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x825 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 0x849 SWAP2 SWAP1 PUSH2 0xF1C JUMP JUMPDEST SWAP5 POP PUSH1 0x5 PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH8 0xFFFFFFFFFFFFFFFF AND PUSH8 0xFFFFFFFFFFFFFFFF AND DUP6 PUSH32 0xC15FB748C32BA4EB29C1C311E78533F93B4425EAB49EA87C6FE4279ECADCA043 DUP10 PUSH1 0x5 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP11 PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP8 PUSH1 0x40 MLOAD PUSH2 0x8E8 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xF49 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH4 0x97A657C9 PUSH1 0xE0 SHL DUP3 PUSH1 0x40 MLOAD PUSH1 0x24 ADD PUSH2 0x915 SWAP2 SWAP1 PUSH2 0xFB8 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 SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9D9 DUP3 PUSH2 0x9AE JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x9E9 DUP2 PUSH2 0x9CE JUMP JUMPDEST DUP2 EQ PUSH2 0x9F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA06 DUP2 PUSH2 0x9E0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xA23 JUMPI PUSH2 0xA22 PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xA31 DUP6 DUP3 DUP7 ADD PUSH2 0x9F7 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xA42 DUP6 DUP3 DUP7 ADD PUSH2 0x9F7 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH2 0xA55 DUP2 PUSH2 0x9CE JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xA70 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xA4C JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xA89 DUP2 PUSH2 0xA76 JUMP JUMPDEST DUP2 EQ PUSH2 0xA94 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xAA6 DUP2 PUSH2 0xA80 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xAC3 JUMPI PUSH2 0xAC2 PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xAD1 DUP6 DUP3 DUP7 ADD PUSH2 0x9F7 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0xAE2 DUP6 DUP3 DUP7 ADD PUSH2 0xA97 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xAFF DUP2 PUSH2 0xAEC JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xB1A PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xAF6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xB2F DUP2 PUSH2 0xA80 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xB4B JUMPI PUSH2 0xB4A PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xB59 DUP5 DUP3 DUP6 ADD PUSH2 0xB20 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xB6B DUP2 PUSH2 0xA76 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xB86 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xB93 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xB62 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xBAF DUP2 PUSH2 0xB9A JUMP JUMPDEST DUP2 EQ PUSH2 0xBBA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xBCC DUP2 PUSH2 0xBA6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xBE8 JUMPI PUSH2 0xBE7 PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xBF6 DUP5 DUP3 DUP6 ADD PUSH2 0xBBD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xC7A DUP2 PUSH2 0xC5D 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 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xCBA JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xC9F 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 0xCE2 DUP3 PUSH2 0xC80 JUMP JUMPDEST PUSH2 0xCEC DUP2 DUP6 PUSH2 0xC8B JUMP JUMPDEST SWAP4 POP PUSH2 0xCFC DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0xC9C JUMP JUMPDEST PUSH2 0xD05 DUP2 PUSH2 0xCC6 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 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 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xD45 DUP2 PUSH2 0x9CE JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xD54 DUP2 PUSH2 0xA76 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x40 DUP3 ADD PUSH1 0x0 DUP3 ADD MLOAD PUSH2 0xD70 PUSH1 0x0 DUP6 ADD DUP3 PUSH2 0xD3C JUMP JUMPDEST POP PUSH1 0x20 DUP3 ADD MLOAD PUSH2 0xD83 PUSH1 0x20 DUP6 ADD DUP3 PUSH2 0xD4B JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xD95 DUP4 DUP4 PUSH2 0xD5A JUMP JUMPDEST PUSH1 0x40 DUP4 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDB9 DUP3 PUSH2 0xD10 JUMP JUMPDEST PUSH2 0xDC3 DUP2 DUP6 PUSH2 0xD1B JUMP JUMPDEST SWAP4 POP PUSH2 0xDCE DUP4 PUSH2 0xD2C JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xDFF JUMPI DUP2 MLOAD PUSH2 0xDE6 DUP9 DUP3 PUSH2 0xD89 JUMP JUMPDEST SWAP8 POP PUSH2 0xDF1 DUP4 PUSH2 0xDA1 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0xDD2 JUMP JUMPDEST POP DUP6 SWAP4 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP4 ADD PUSH1 0x0 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x0 DUP7 ADD MSTORE PUSH2 0xE29 DUP3 DUP3 PUSH2 0xCD7 JUMP JUMPDEST SWAP2 POP POP PUSH1 0x20 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x20 DUP7 ADD MSTORE PUSH2 0xE43 DUP3 DUP3 PUSH2 0xCD7 JUMP JUMPDEST SWAP2 POP POP PUSH1 0x40 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x40 DUP7 ADD MSTORE PUSH2 0xE5D DUP3 DUP3 PUSH2 0xDAE JUMP JUMPDEST SWAP2 POP POP PUSH1 0x60 DUP4 ADD MLOAD PUSH2 0xE72 PUSH1 0x60 DUP7 ADD DUP3 PUSH2 0xD3C JUMP JUMPDEST POP PUSH1 0x80 DUP4 ADD MLOAD DUP5 DUP3 SUB PUSH1 0x80 DUP7 ADD MSTORE PUSH2 0xE8A DUP3 DUP3 PUSH2 0xCD7 JUMP JUMPDEST SWAP2 POP POP DUP1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xEAC PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xC71 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0xEBE DUP2 DUP5 PUSH2 0xE0C JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xEDC PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xB62 JUMP JUMPDEST PUSH2 0xEE9 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xB62 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0xEF9 DUP2 PUSH2 0xAEC JUMP JUMPDEST DUP2 EQ PUSH2 0xF04 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH2 0xF16 DUP2 PUSH2 0xEF0 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF32 JUMPI PUSH2 0xF31 PUSH2 0x9A9 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0xF40 DUP5 DUP3 DUP6 ADD PUSH2 0xF07 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP3 ADD SWAP1 POP PUSH2 0xF5E PUSH1 0x0 DUP4 ADD DUP9 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xF6B PUSH1 0x20 DUP4 ADD DUP8 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xF78 PUSH1 0x40 DUP4 ADD DUP7 PUSH2 0xB62 JUMP JUMPDEST PUSH2 0xF85 PUSH1 0x60 DUP4 ADD DUP6 PUSH2 0xA4C JUMP JUMPDEST PUSH2 0xF92 PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0xB62 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP3 ADD PUSH1 0x0 DUP3 ADD MLOAD PUSH2 0xFB2 PUSH1 0x0 DUP6 ADD DUP3 PUSH2 0xD4B JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xFCD PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xF9C JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x26 0xF6 0xE9 CALL GAS 0xB7 SWAP12 JUMPDEST CALLCODE 0xE0 GAS 0xE8 0xF6 PUSH25 0xEDA9808EB6DB6CCDB23B128015C559B3877264736F6C634300 ADDMOD SGT STOP CALLER ",
"sourceMap": "461:3478:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3640:297;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;563:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1986:1565;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3640:297;3610:5;;;;;;;;;;;3596:19;;:10;:19;;;3588:28;;;;;;3750:14:::1;3774:6;3767:24;;;3800:4;3767:39;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3750:56;;3838:1;3828:6;:11:::0;3824:43:::1;;3848:19;;;;;;;;;;;;;;3824:43;3892:6;3885:23;;;3909:12;3923:6;3885:45;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3740:197;3640:297:::0;;:::o;563:20::-;;;;;;;;;;;;;:::o;1986:1565::-;2105:17;2138:55;2224:1;2196:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2138:88;;2236:40;2279:91;;;;;;;;2322:8;;;;;;;;;;;2279:91;;;;;;2352:7;2279:91;;;2236:134;;2398:11;2380:12;2393:1;2380:15;;;;;;;;:::i;:::-;;;;;;;:29;;;;2461:36;2500:294;;;;;;;;2557:9;2546:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;2500:294;;;;;;;;;;;;;;;;;;;;2617:12;2500:294;;;;2773:9;;;;;;;;;;;2500:294;;;;;;2654:87;2691:36;;;;;;;;2724:1;2691:36;;;2654:19;:87::i;:::-;2500:294;;;2461:333;;2844:12;2859:6;;;;;;;;;;;:13;;;2873:24;;;;;;;;;;;2899:7;2859:48;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2844:63;;2929:9;;;;;;;;;;;:19;;;2957:4;2929:34;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2922:4;:41;2918:124;;;3001:9;;;;;;;;;;;:19;;;3029:4;3001:34;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3037:4;2984:58;;;;;;;;;;;;:::i;:::-;;;;;;;;2918:124;3053:9;;;;;;;;;;;:17;;;3079:6;;;;;;;;;;3088:4;3053:40;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3177:8;;;;;;;;;;;3170:24;;;3203:6;;;;;;;;;;3212:7;3170:50;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3279:6;;;;;;;;;;:15;;;3295:24;;;;;;;;;;;3321:7;3279:50;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3267:62;;3406:24;;;;;;;;;;;3352:190;;3383:9;3352:190;3444:9;3467:8;;;;;;;;;;;3489:7;3510:4;;;;;;;;;;;3528;3352:190;;;;;;;;;;:::i;:::-;;;;;;;;2128:1423;;;;1986:1565;;;;:::o;1285:170:1:-;1363:16;1218:10;1417:21;;1440:9;1394:56;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1387:63;;1285:170;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::o;88:117:5:-;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:139::-;742:5;780:6;767:20;758:29;;796:33;823:5;796:33;:::i;:::-;696:139;;;;:::o;841:474::-;909:6;917;966:2;954:9;945:7;941:23;937:32;934:119;;;972:79;;:::i;:::-;934:119;1092:1;1117:53;1162:7;1153:6;1142:9;1138:22;1117:53;:::i;:::-;1107:63;;1063:117;1219:2;1245:53;1290:7;1281:6;1270:9;1266:22;1245:53;:::i;:::-;1235:63;;1190:118;841:474;;;;;:::o;1321:118::-;1408:24;1426:5;1408:24;:::i;:::-;1403:3;1396:37;1321:118;;:::o;1445:222::-;1538:4;1576:2;1565:9;1561:18;1553:26;;1589:71;1657:1;1646:9;1642:17;1633:6;1589:71;:::i;:::-;1445:222;;;;:::o;1673:77::-;1710:7;1739:5;1728:16;;1673:77;;;:::o;1756:122::-;1829:24;1847:5;1829:24;:::i;:::-;1822:5;1819:35;1809:63;;1868:1;1865;1858:12;1809:63;1756:122;:::o;1884:139::-;1930:5;1968:6;1955:20;1946:29;;1984:33;2011:5;1984:33;:::i;:::-;1884:139;;;;:::o;2029:474::-;2097:6;2105;2154:2;2142:9;2133:7;2129:23;2125:32;2122:119;;;2160:79;;:::i;:::-;2122:119;2280:1;2305:53;2350:7;2341:6;2330:9;2326:22;2305:53;:::i;:::-;2295:63;;2251:117;2407:2;2433:53;2478:7;2469:6;2458:9;2454:22;2433:53;:::i;:::-;2423:63;;2378:118;2029:474;;;;;:::o;2509:77::-;2546:7;2575:5;2564:16;;2509:77;;;:::o;2592:118::-;2679:24;2697:5;2679:24;:::i;:::-;2674:3;2667:37;2592:118;;:::o;2716:222::-;2809:4;2847:2;2836:9;2832:18;2824:26;;2860:71;2928:1;2917:9;2913:17;2904:6;2860:71;:::i;:::-;2716:222;;;;:::o;2944:143::-;3001:5;3032:6;3026:13;3017:22;;3048:33;3075:5;3048:33;:::i;:::-;2944:143;;;;:::o;3093:351::-;3163:6;3212:2;3200:9;3191:7;3187:23;3183:32;3180:119;;;3218:79;;:::i;:::-;3180:119;3338:1;3363:64;3419:7;3410:6;3399:9;3395:22;3363:64;:::i;:::-;3353:74;;3309:128;3093:351;;;;:::o;3450:118::-;3537:24;3555:5;3537:24;:::i;:::-;3532:3;3525:37;3450:118;;:::o;3574:332::-;3695:4;3733:2;3722:9;3718:18;3710:26;;3746:71;3814:1;3803:9;3799:17;3790:6;3746:71;:::i;:::-;3827:72;3895:2;3884:9;3880:18;3871:6;3827:72;:::i;:::-;3574:332;;;;;:::o;3912:90::-;3946:7;3989:5;3982:13;3975:21;3964:32;;3912:90;;;:::o;4008:116::-;4078:21;4093:5;4078:21;:::i;:::-;4071:5;4068:32;4058:60;;4114:1;4111;4104:12;4058:60;4008:116;:::o;4130:137::-;4184:5;4215:6;4209:13;4200:22;;4231:30;4255:5;4231:30;:::i;:::-;4130:137;;;;:::o;4273:345::-;4340:6;4389:2;4377:9;4368:7;4364:23;4360:32;4357:119;;;4395:79;;:::i;:::-;4357:119;4515:1;4540:61;4593:7;4584:6;4573:9;4569:22;4540:61;:::i;:::-;4530:71;;4486:125;4273:345;;;;:::o;4624:180::-;4672:77;4669:1;4662:88;4769:4;4766:1;4759:15;4793:4;4790:1;4783:15;4810:180;4858:77;4855:1;4848:88;4955:4;4952:1;4945:15;4979:4;4976:1;4969:15;4996:101;5032:7;5072:18;5065:5;5061:30;5050:41;;4996:101;;;:::o;5103:115::-;5188:23;5205:5;5188:23;:::i;:::-;5183:3;5176:36;5103:115;;:::o;5224:98::-;5275:6;5309:5;5303:12;5293:22;;5224:98;;;:::o;5328:158::-;5401:11;5435:6;5430:3;5423:19;5475:4;5470:3;5466:14;5451:29;;5328:158;;;;:::o;5492:246::-;5573:1;5583:113;5597:6;5594:1;5591:13;5583:113;;;5682:1;5677:3;5673:11;5667:18;5663:1;5658:3;5654:11;5647:39;5619:2;5616:1;5612:10;5607:15;;5583:113;;;5730:1;5721:6;5716:3;5712:16;5705:27;5554:184;5492:246;;;:::o;5744:102::-;5785:6;5836:2;5832:7;5827:2;5820:5;5816:14;5812:28;5802:38;;5744:102;;;:::o;5852:353::-;5928:3;5956:38;5988:5;5956:38;:::i;:::-;6010:60;6063:6;6058:3;6010:60;:::i;:::-;6003:67;;6079:65;6137:6;6132:3;6125:4;6118:5;6114:16;6079:65;:::i;:::-;6169:29;6191:6;6169:29;:::i;:::-;6164:3;6160:39;6153:46;;5932:273;5852:353;;;;:::o;6211:144::-;6308:6;6342:5;6336:12;6326:22;;6211:144;;;:::o;6361:204::-;6480:11;6514:6;6509:3;6502:19;6554:4;6549:3;6545:14;6530:29;;6361:204;;;;:::o;6571:162::-;6668:4;6691:3;6683:11;;6721:4;6716:3;6712:14;6704:22;;6571:162;;;:::o;6739:108::-;6816:24;6834:5;6816:24;:::i;:::-;6811:3;6804:37;6739:108;;:::o;6853:::-;6930:24;6948:5;6930:24;:::i;:::-;6925:3;6918:37;6853:108;;:::o;7035:510::-;7182:4;7177:3;7173:14;7270:4;7263:5;7259:16;7253:23;7289:63;7346:4;7341:3;7337:14;7323:12;7289:63;:::i;:::-;7197:165;7446:4;7439:5;7435:16;7429:23;7465:63;7522:4;7517:3;7513:14;7499:12;7465:63;:::i;:::-;7372:166;7151:394;7035:510;;:::o;7551:299::-;7680:10;7701:106;7803:3;7795:6;7701:106;:::i;:::-;7839:4;7834:3;7830:14;7816:28;;7551:299;;;;:::o;7856:143::-;7956:4;7988;7983:3;7979:14;7971:22;;7856:143;;;:::o;8077:952::-;8246:3;8275:84;8353:5;8275:84;:::i;:::-;8375:106;8474:6;8469:3;8375:106;:::i;:::-;8368:113;;8505:86;8585:5;8505:86;:::i;:::-;8614:7;8645:1;8630:374;8655:6;8652:1;8649:13;8630:374;;;8731:6;8725:13;8758:123;8877:3;8862:13;8758:123;:::i;:::-;8751:130;;8904:90;8987:6;8904:90;:::i;:::-;8894:100;;8690:314;8677:1;8674;8670:9;8665:14;;8630:374;;;8634:14;9020:3;9013:10;;8251:778;;;8077:952;;;;:::o;9103:1456::-;9232:3;9268:4;9263:3;9259:14;9359:4;9352:5;9348:16;9342:23;9412:3;9406:4;9402:14;9395:4;9390:3;9386:14;9379:38;9438:71;9504:4;9490:12;9438:71;:::i;:::-;9430:79;;9283:237;9602:4;9595:5;9591:16;9585:23;9655:3;9649:4;9645:14;9638:4;9633:3;9629:14;9622:38;9681:71;9747:4;9733:12;9681:71;:::i;:::-;9673:79;;9530:233;9853:4;9846:5;9842:16;9836:23;9906:3;9900:4;9896:14;9889:4;9884:3;9880:14;9873:38;9932:163;10090:4;10076:12;9932:163;:::i;:::-;9924:171;;9773:333;10192:4;10185:5;10181:16;10175:23;10211:63;10268:4;10263:3;10259:14;10245:12;10211:63;:::i;:::-;10116:168;10371:4;10364:5;10360:16;10354:23;10424:3;10418:4;10414:14;10407:4;10402:3;10398:14;10391:38;10450:71;10516:4;10502:12;10450:71;:::i;:::-;10442:79;;10294:238;10549:4;10542:11;;9237:1322;9103:1456;;;;:::o;10565:499::-;10744:4;10782:2;10771:9;10767:18;10759:26;;10795:69;10861:1;10850:9;10846:17;10837:6;10795:69;:::i;:::-;10911:9;10905:4;10901:20;10896:2;10885:9;10881:18;10874:48;10939:118;11052:4;11043:6;10939:118;:::i;:::-;10931:126;;10565:499;;;;;:::o;11070:332::-;11191:4;11229:2;11218:9;11214:18;11206:26;;11242:71;11310:1;11299:9;11295:17;11286:6;11242:71;:::i;:::-;11323:72;11391:2;11380:9;11376:18;11367:6;11323:72;:::i;:::-;11070:332;;;;;:::o;11408:122::-;11481:24;11499:5;11481:24;:::i;:::-;11474:5;11471:35;11461:63;;11520:1;11517;11510:12;11461:63;11408:122;:::o;11536:143::-;11593:5;11624:6;11618:13;11609:22;;11640:33;11667:5;11640:33;:::i;:::-;11536:143;;;;:::o;11685:351::-;11755:6;11804:2;11792:9;11783:7;11779:23;11775:32;11772:119;;;11810:79;;:::i;:::-;11772:119;11930:1;11955:64;12011:7;12002:6;11991:9;11987:22;11955:64;:::i;:::-;11945:74;;11901:128;11685:351;;;;:::o;12042:664::-;12247:4;12285:3;12274:9;12270:19;12262:27;;12299:71;12367:1;12356:9;12352:17;12343:6;12299:71;:::i;:::-;12380:72;12448:2;12437:9;12433:18;12424:6;12380:72;:::i;:::-;12462;12530:2;12519:9;12515:18;12506:6;12462:72;:::i;:::-;12544;12612:2;12601:9;12597:18;12588:6;12544:72;:::i;:::-;12626:73;12694:3;12683:9;12679:19;12670:6;12626:73;:::i;:::-;12042:664;;;;;;;;:::o;12780:347::-;12937:4;12932:3;12928:14;13028:4;13021:5;13017:16;13011:23;13047:63;13104:4;13099:3;13095:14;13081:12;13047:63;:::i;:::-;12952:168;12906:221;12780:347;;:::o;13133:342::-;13286:4;13324:2;13313:9;13309:18;13301:26;;13337:131;13465:1;13454:9;13450:17;13441:6;13337:131;:::i;:::-;13133:342;;;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "821000",
"executionCost": "infinite",
"totalCost": "infinite"
},
"external": {
"owner()": "2514",
"transferToSepolia(address,uint256)": "infinite",
"withdrawToken(address,address)": "infinite"
}
},
"methodIdentifiers": {
"owner()": "8da5cb5b",
"transferToSepolia(address,uint256)": "9ea604e1",
"withdrawToken(address,address)": "3aeac4e1"
}
},
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "currentBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "calculatedFees",
"type": "uint256"
}
],
"name": "NotEnoughBalance",
"type": "error"
},
{
"inputs": [],
"name": "NothingToWithdraw",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "messageId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint64",
"name": "destinationChainSelector",
"type": "uint64"
},
{
"indexed": false,
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "feeToken",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "fees",
"type": "uint256"
}
],
"name": "TokensTransferred",
"type": "event"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_receiver",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "transferToSepolia",
"outputs": [
{
"internalType": "bytes32",
"name": "messageId",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_beneficiary",
"type": "address"
},
{
"internalType": "address",
"name": "_token",
"type": "address"
}
],
"name": "withdrawToken",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
{
"compiler": {
"version": "0.8.19+commit.7dd6d404"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "currentBalance",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "calculatedFees",
"type": "uint256"
}
],
"name": "NotEnoughBalance",
"type": "error"
},
{
"inputs": [],
"name": "NothingToWithdraw",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "messageId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint64",
"name": "destinationChainSelector",
"type": "uint64"
},
{
"indexed": false,
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokenAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "feeToken",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "fees",
"type": "uint256"
}
],
"name": "TokensTransferred",
"type": "event"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_receiver",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "transferToSepolia",
"outputs": [
{
"internalType": "bytes32",
"name": "messageId",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_beneficiary",
"type": "address"
},
{
"internalType": "address",
"name": "_token",
"type": "address"
}
],
"name": "withdrawToken",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/CCIPTokenSenderFujiSepolia.sol": "CCIPTokenSenderFujiSepolia"
},
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol": {
"keccak256": "0x7f2fdd93e516b7476c6fab099f6806adf5ceaf399b0cc415f6b9ede890f2379b",
"license": "MIT",
"urls": [
"bzz-raw://14e2547e54a0e225d1aa654d49ad47a169f966b985456612af449eec610189ea",
"dweb:/ipfs/QmcWVnkJ6TKcUR4koDQQGiYMEt7vJ6WG9XcrwbPiPDHoP9"
]
},
"@chainlink/contracts-ccip/src/v0.8/ccip/libraries/Client.sol": {
"keccak256": "0x8af3ac1085c87342373772fb1a0107c7b90258e6bfed318ab2a601a14477e679",
"license": "MIT",
"urls": [
"bzz-raw://14395fefc8310c9a355262359c8f51036f83c004982fb600164c2a007629f81e",
"dweb:/ipfs/QmeCLr8a5bDVyLQm8v947ULgV4CZmUeQPjVyWixzieBD5o"
]
},
"@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.0/token/ERC20/IERC20.sol": {
"keccak256": "0xf7a52b7d3a7b79117544d6bbeb8564bd22c760c4937d69914b99641a957a8f2a",
"license": "MIT",
"urls": [
"bzz-raw://2b5afd167693d0e80d30d0f50b718b5df237c97d721383b97154049cabab1128",
"dweb:/ipfs/QmZpVB96pJpaJmmnqB1RC3qSZk8upgLL22YZtq97JzpK5H"
]
},
"@chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol": {
"keccak256": "0xc7d7cd730d36825485ef4107d93c3ff18b9f3a5a00ea3d5988ba9a0bd70b10c5",
"license": "MIT",
"urls": [
"bzz-raw://8cb1064885ecbcd9c3adba779e190cb4a538e5d4d15aeccb67d3376bdffc94bd",
"dweb:/ipfs/QmcQHK6ewve7tFi4XXK65JthQg4kQzApQikWcURJjGt4iQ"
]
},
"contracts/CCIPTokenSenderFujiSepolia.sol": {
"keccak256": "0x9c14d767a8670df39435ce4398d64f2ad27622f50c19704b7ffafa961fd33523",
"license": "MIT",
"urls": [
"bzz-raw://1cb11259d50ab28d94faa3d5a2209d9010ae912ae7b2770af395f4f493bee506",
"dweb:/ipfs/QmdyrqUTXYnArUffEZM6Dk3wHXADcs5ir9UGpDmW1SXZVn"
]
}
},
"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": "608060405234801561000f575f80fd5b506106498061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c80635a9b0b8914610038578063937f6e7714610056575b5f80fd5b610040610072565b60405161004d919061019d565b60405180910390f35b610070600480360381019061006b91906102fa565b610101565b005b60605f80546100809061036e565b80601f01602080910402602001604051908101604052809291908181526020018280546100ac9061036e565b80156100f75780601f106100ce576101008083540402835291602001916100f7565b820191905f5260205f20905b8154815290600101906020018083116100da57829003601f168201915b5050505050905090565b805f908161010f9190610544565b5050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561014a57808201518184015260208101905061012f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61016f82610113565b610179818561011d565b935061018981856020860161012d565b61019281610155565b840191505092915050565b5f6020820190508181035f8301526101b58184610165565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61020c82610155565b810181811067ffffffffffffffff8211171561022b5761022a6101d6565b5b80604052505050565b5f61023d6101bd565b90506102498282610203565b919050565b5f67ffffffffffffffff821115610268576102676101d6565b5b61027182610155565b9050602081019050919050565b828183375f83830152505050565b5f61029e6102998461024e565b610234565b9050828152602081018484840111156102ba576102b96101d2565b5b6102c584828561027e565b509392505050565b5f82601f8301126102e1576102e06101ce565b5b81356102f184826020860161028c565b91505092915050565b5f6020828403121561030f5761030e6101c6565b5b5f82013567ffffffffffffffff81111561032c5761032b6101ca565b5b610338848285016102cd565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061038557607f821691505b60208210810361039857610397610341565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026103fa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826103bf565b61040486836103bf565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61044861044361043e8461041c565b610425565b61041c565b9050919050565b5f819050919050565b6104618361042e565b61047561046d8261044f565b8484546103cb565b825550505050565b5f90565b61048961047d565b610494818484610458565b505050565b5b818110156104b7576104ac5f82610481565b60018101905061049a565b5050565b601f8211156104fc576104cd8161039e565b6104d6846103b0565b810160208510156104e5578190505b6104f96104f1856103b0565b830182610499565b50505b505050565b5f82821c905092915050565b5f61051c5f1984600802610501565b1980831691505092915050565b5f610534838361050d565b9150826002028217905092915050565b61054d82610113565b67ffffffffffffffff811115610566576105656101d6565b5b610570825461036e565b61057b8282856104bb565b5f60209050601f8311600181146105ac575f841561059a578287015190505b6105a48582610529565b86555061060b565b601f1984166105ba8661039e565b5f5b828110156105e1578489015182556001820191506020850194506020810190506105bc565b868310156105fe57848901516105fa601f89168261050d565b8355505b6001600288020188555050505b50505050505056fea26469706673582212203925575c04d9a3f6c3dfa24ab0bb1f4058483c0de30f1a95bd2c0230e0ed9f8064736f6c63430008150033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH2 0x649 DUP1 PUSH2 0x1D PUSH0 CODECOPY PUSH0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x5A9B0B89 EQ PUSH2 0x38 JUMPI DUP1 PUSH4 0x937F6E77 EQ PUSH2 0x56 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x40 PUSH2 0x72 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x4D SWAP2 SWAP1 PUSH2 0x19D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x70 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6B SWAP2 SWAP1 PUSH2 0x2FA JUMP JUMPDEST PUSH2 0x101 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x60 PUSH0 DUP1 SLOAD PUSH2 0x80 SWAP1 PUSH2 0x36E 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 0xAC SWAP1 PUSH2 0x36E JUMP JUMPDEST DUP1 ISZERO PUSH2 0xF7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xCE JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xF7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xDA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH0 SWAP1 DUP2 PUSH2 0x10F SWAP2 SWAP1 PUSH2 0x544 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x14A JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x12F JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x16F DUP3 PUSH2 0x113 JUMP JUMPDEST PUSH2 0x179 DUP2 DUP6 PUSH2 0x11D JUMP JUMPDEST SWAP4 POP PUSH2 0x189 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x12D JUMP JUMPDEST PUSH2 0x192 DUP2 PUSH2 0x155 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x1B5 DUP2 DUP5 PUSH2 0x165 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x20C DUP3 PUSH2 0x155 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x22B JUMPI PUSH2 0x22A PUSH2 0x1D6 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x23D PUSH2 0x1BD JUMP JUMPDEST SWAP1 POP PUSH2 0x249 DUP3 DUP3 PUSH2 0x203 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x268 JUMPI PUSH2 0x267 PUSH2 0x1D6 JUMP JUMPDEST JUMPDEST PUSH2 0x271 DUP3 PUSH2 0x155 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x29E PUSH2 0x299 DUP5 PUSH2 0x24E JUMP JUMPDEST PUSH2 0x234 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x2BA JUMPI PUSH2 0x2B9 PUSH2 0x1D2 JUMP JUMPDEST JUMPDEST PUSH2 0x2C5 DUP5 DUP3 DUP6 PUSH2 0x27E JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x2E1 JUMPI PUSH2 0x2E0 PUSH2 0x1CE JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x2F1 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x28C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x30F JUMPI PUSH2 0x30E PUSH2 0x1C6 JUMP JUMPDEST JUMPDEST PUSH0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x32C JUMPI PUSH2 0x32B PUSH2 0x1CA JUMP JUMPDEST JUMPDEST PUSH2 0x338 DUP5 DUP3 DUP6 ADD PUSH2 0x2CD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x385 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x398 JUMPI PUSH2 0x397 PUSH2 0x341 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP DUP2 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x8 DUP4 MUL PUSH2 0x3FA PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x3BF JUMP JUMPDEST PUSH2 0x404 DUP7 DUP4 PUSH2 0x3BF JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x448 PUSH2 0x443 PUSH2 0x43E DUP5 PUSH2 0x41C JUMP JUMPDEST PUSH2 0x425 JUMP JUMPDEST PUSH2 0x41C JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x461 DUP4 PUSH2 0x42E JUMP JUMPDEST PUSH2 0x475 PUSH2 0x46D DUP3 PUSH2 0x44F JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x3CB JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH0 SWAP1 JUMP JUMPDEST PUSH2 0x489 PUSH2 0x47D JUMP JUMPDEST PUSH2 0x494 DUP2 DUP5 DUP5 PUSH2 0x458 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x4B7 JUMPI PUSH2 0x4AC PUSH0 DUP3 PUSH2 0x481 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x49A JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x4FC JUMPI PUSH2 0x4CD DUP2 PUSH2 0x39E JUMP JUMPDEST PUSH2 0x4D6 DUP5 PUSH2 0x3B0 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x4E5 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x4F9 PUSH2 0x4F1 DUP6 PUSH2 0x3B0 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x499 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x51C PUSH0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x501 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x534 DUP4 DUP4 PUSH2 0x50D JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x54D DUP3 PUSH2 0x113 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x566 JUMPI PUSH2 0x565 PUSH2 0x1D6 JUMP JUMPDEST JUMPDEST PUSH2 0x570 DUP3 SLOAD PUSH2 0x36E JUMP JUMPDEST PUSH2 0x57B DUP3 DUP3 DUP6 PUSH2 0x4BB JUMP JUMPDEST PUSH0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x5AC JUMPI PUSH0 DUP5 ISZERO PUSH2 0x59A JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x5A4 DUP6 DUP3 PUSH2 0x529 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x60B JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x5BA DUP7 PUSH2 0x39E JUMP JUMPDEST PUSH0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x5E1 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 0x5BC JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x5FE JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x5FA PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x50D 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 INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CODECOPY 0x25 JUMPI 0x5C DIV 0xD9 LOG3 0xF6 0xC3 0xDF LOG2 0x4A 0xB0 0xBB 0x1F BLOCKHASH PC BASEFEE EXTCODECOPY 0xD 0xE3 0xF BYTE SWAP6 0xBD 0x2C MUL ADDRESS 0xE0 0xED SWAP16 DUP1 PUSH5 0x736F6C6343 STOP ADDMOD ISZERO STOP CALLER ",
"sourceMap": "58:219:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@getInfo_11": {
"entryPoint": 114,
"id": 11,
"parameterSlots": 0,
"returnSlots": 1
},
"@setInfo_21": {
"entryPoint": 257,
"id": 21,
"parameterSlots": 1,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 652,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 717,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptr": {
"entryPoint": 762,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 357,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 413,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 564,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 445,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 590,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_dataslot_t_string_storage": {
"entryPoint": 926,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 275,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 285,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 1211,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_uint256": {
"entryPoint": 1052,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 1177,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 1070,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 1348,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"copy_calldata_to_memory_with_cleanup": {
"entryPoint": 638,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 301,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 944,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 878,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 1321,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 515,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"identity": {
"entryPoint": 1061,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 1293,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x22": {
"entryPoint": 833,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 470,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 1103,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 462,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 466,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 458,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 454,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 341,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_dynamic": {
"entryPoint": 959,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 1281,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 1153,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 971,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 1112,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 1149,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:9235:1",
"nodeType": "YulBlock",
"src": "0:9235:1",
"statements": [
{
"body": {
"nativeSrc": "66:40:1",
"nodeType": "YulBlock",
"src": "66:40:1",
"statements": [
{
"nativeSrc": "77:22:1",
"nodeType": "YulAssignment",
"src": "77:22:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "93:5:1",
"nodeType": "YulIdentifier",
"src": "93:5:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "87:5:1",
"nodeType": "YulIdentifier",
"src": "87:5:1"
},
"nativeSrc": "87:12:1",
"nodeType": "YulFunctionCall",
"src": "87:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "77:6:1",
"nodeType": "YulIdentifier",
"src": "77:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "7:99:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "49:5:1",
"nodeType": "YulTypedName",
"src": "49:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "59:6:1",
"nodeType": "YulTypedName",
"src": "59:6:1",
"type": ""
}
],
"src": "7:99:1"
},
{
"body": {
"nativeSrc": "208:73:1",
"nodeType": "YulBlock",
"src": "208:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "225:3:1",
"nodeType": "YulIdentifier",
"src": "225:3:1"
},
{
"name": "length",
"nativeSrc": "230:6:1",
"nodeType": "YulIdentifier",
"src": "230:6:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "218:6:1",
"nodeType": "YulIdentifier",
"src": "218:6:1"
},
"nativeSrc": "218:19:1",
"nodeType": "YulFunctionCall",
"src": "218:19:1"
},
"nativeSrc": "218:19:1",
"nodeType": "YulExpressionStatement",
"src": "218:19:1"
},
{
"nativeSrc": "246:29:1",
"nodeType": "YulAssignment",
"src": "246:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "265:3:1",
"nodeType": "YulIdentifier",
"src": "265:3:1"
},
{
"kind": "number",
"nativeSrc": "270:4:1",
"nodeType": "YulLiteral",
"src": "270:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "261:3:1",
"nodeType": "YulIdentifier",
"src": "261:3:1"
},
"nativeSrc": "261:14:1",
"nodeType": "YulFunctionCall",
"src": "261:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nativeSrc": "246:11:1",
"nodeType": "YulIdentifier",
"src": "246:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "112:169:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "180:3:1",
"nodeType": "YulTypedName",
"src": "180:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "185:6:1",
"nodeType": "YulTypedName",
"src": "185:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nativeSrc": "196:11:1",
"nodeType": "YulTypedName",
"src": "196:11:1",
"type": ""
}
],
"src": "112:169:1"
},
{
"body": {
"nativeSrc": "349:184:1",
"nodeType": "YulBlock",
"src": "349:184:1",
"statements": [
{
"nativeSrc": "359:10:1",
"nodeType": "YulVariableDeclaration",
"src": "359:10:1",
"value": {
"kind": "number",
"nativeSrc": "368:1:1",
"nodeType": "YulLiteral",
"src": "368:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nativeSrc": "363:1:1",
"nodeType": "YulTypedName",
"src": "363:1:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "428:63:1",
"nodeType": "YulBlock",
"src": "428:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "453:3:1",
"nodeType": "YulIdentifier",
"src": "453:3:1"
},
{
"name": "i",
"nativeSrc": "458:1:1",
"nodeType": "YulIdentifier",
"src": "458:1:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "449:3:1",
"nodeType": "YulIdentifier",
"src": "449:3:1"
},
"nativeSrc": "449:11:1",
"nodeType": "YulFunctionCall",
"src": "449:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "472:3:1",
"nodeType": "YulIdentifier",
"src": "472:3:1"
},
{
"name": "i",
"nativeSrc": "477:1:1",
"nodeType": "YulIdentifier",
"src": "477:1:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "468:3:1",
"nodeType": "YulIdentifier",
"src": "468:3:1"
},
"nativeSrc": "468:11:1",
"nodeType": "YulFunctionCall",
"src": "468:11:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "462:5:1",
"nodeType": "YulIdentifier",
"src": "462:5:1"
},
"nativeSrc": "462:18:1",
"nodeType": "YulFunctionCall",
"src": "462:18:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "442:6:1",
"nodeType": "YulIdentifier",
"src": "442:6:1"
},
"nativeSrc": "442:39:1",
"nodeType": "YulFunctionCall",
"src": "442:39:1"
},
"nativeSrc": "442:39:1",
"nodeType": "YulExpressionStatement",
"src": "442:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nativeSrc": "389:1:1",
"nodeType": "YulIdentifier",
"src": "389:1:1"
},
{
"name": "length",
"nativeSrc": "392:6:1",
"nodeType": "YulIdentifier",
"src": "392:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "386:2:1",
"nodeType": "YulIdentifier",
"src": "386:2:1"
},
"nativeSrc": "386:13:1",
"nodeType": "YulFunctionCall",
"src": "386:13:1"
},
"nativeSrc": "378:113:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "400:19:1",
"nodeType": "YulBlock",
"src": "400:19:1",
"statements": [
{
"nativeSrc": "402:15:1",
"nodeType": "YulAssignment",
"src": "402:15:1",
"value": {
"arguments": [
{
"name": "i",
"nativeSrc": "411:1:1",
"nodeType": "YulIdentifier",
"src": "411:1:1"
},
{
"kind": "number",
"nativeSrc": "414:2:1",
"nodeType": "YulLiteral",
"src": "414:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "407:3:1",
"nodeType": "YulIdentifier",
"src": "407:3:1"
},
"nativeSrc": "407:10:1",
"nodeType": "YulFunctionCall",
"src": "407:10:1"
},
"variableNames": [
{
"name": "i",
"nativeSrc": "402:1:1",
"nodeType": "YulIdentifier",
"src": "402:1:1"
}
]
}
]
},
"pre": {
"nativeSrc": "382:3:1",
"nodeType": "YulBlock",
"src": "382:3:1",
"statements": []
},
"src": "378:113:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "511:3:1",
"nodeType": "YulIdentifier",
"src": "511:3:1"
},
{
"name": "length",
"nativeSrc": "516:6:1",
"nodeType": "YulIdentifier",
"src": "516:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "507:3:1",
"nodeType": "YulIdentifier",
"src": "507:3:1"
},
"nativeSrc": "507:16:1",
"nodeType": "YulFunctionCall",
"src": "507:16:1"
},
{
"kind": "number",
"nativeSrc": "525:1:1",
"nodeType": "YulLiteral",
"src": "525:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "500:6:1",
"nodeType": "YulIdentifier",
"src": "500:6:1"
},
"nativeSrc": "500:27:1",
"nodeType": "YulFunctionCall",
"src": "500:27:1"
},
"nativeSrc": "500:27:1",
"nodeType": "YulExpressionStatement",
"src": "500:27:1"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "287:246:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "331:3:1",
"nodeType": "YulTypedName",
"src": "331:3:1",
"type": ""
},
{
"name": "dst",
"nativeSrc": "336:3:1",
"nodeType": "YulTypedName",
"src": "336:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "341:6:1",
"nodeType": "YulTypedName",
"src": "341:6:1",
"type": ""
}
],
"src": "287:246:1"
},
{
"body": {
"nativeSrc": "587:54:1",
"nodeType": "YulBlock",
"src": "587:54:1",
"statements": [
{
"nativeSrc": "597:38:1",
"nodeType": "YulAssignment",
"src": "597:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "615:5:1",
"nodeType": "YulIdentifier",
"src": "615:5:1"
},
{
"kind": "number",
"nativeSrc": "622:2:1",
"nodeType": "YulLiteral",
"src": "622:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "611:3:1",
"nodeType": "YulIdentifier",
"src": "611:3:1"
},
"nativeSrc": "611:14:1",
"nodeType": "YulFunctionCall",
"src": "611:14:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "631:2:1",
"nodeType": "YulLiteral",
"src": "631:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nativeSrc": "627:3:1",
"nodeType": "YulIdentifier",
"src": "627:3:1"
},
"nativeSrc": "627:7:1",
"nodeType": "YulFunctionCall",
"src": "627:7:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "607:3:1",
"nodeType": "YulIdentifier",
"src": "607:3:1"
},
"nativeSrc": "607:28:1",
"nodeType": "YulFunctionCall",
"src": "607:28:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "597:6:1",
"nodeType": "YulIdentifier",
"src": "597:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nativeSrc": "539:102:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "570:5:1",
"nodeType": "YulTypedName",
"src": "570:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "580:6:1",
"nodeType": "YulTypedName",
"src": "580:6:1",
"type": ""
}
],
"src": "539:102:1"
},
{
"body": {
"nativeSrc": "739:285:1",
"nodeType": "YulBlock",
"src": "739:285:1",
"statements": [
{
"nativeSrc": "749:53:1",
"nodeType": "YulVariableDeclaration",
"src": "749:53:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "796:5:1",
"nodeType": "YulIdentifier",
"src": "796:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "763:32:1",
"nodeType": "YulIdentifier",
"src": "763:32:1"
},
"nativeSrc": "763:39:1",
"nodeType": "YulFunctionCall",
"src": "763:39:1"
},
"variables": [
{
"name": "length",
"nativeSrc": "753:6:1",
"nodeType": "YulTypedName",
"src": "753:6:1",
"type": ""
}
]
},
{
"nativeSrc": "811:78:1",
"nodeType": "YulAssignment",
"src": "811:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "877:3:1",
"nodeType": "YulIdentifier",
"src": "877:3:1"
},
{
"name": "length",
"nativeSrc": "882:6:1",
"nodeType": "YulIdentifier",
"src": "882:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "818:58:1",
"nodeType": "YulIdentifier",
"src": "818:58:1"
},
"nativeSrc": "818:71:1",
"nodeType": "YulFunctionCall",
"src": "818:71:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "811:3:1",
"nodeType": "YulIdentifier",
"src": "811:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "937:5:1",
"nodeType": "YulIdentifier",
"src": "937:5:1"
},
{
"kind": "number",
"nativeSrc": "944:4:1",
"nodeType": "YulLiteral",
"src": "944:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "933:3:1",
"nodeType": "YulIdentifier",
"src": "933:3:1"
},
"nativeSrc": "933:16:1",
"nodeType": "YulFunctionCall",
"src": "933:16:1"
},
{
"name": "pos",
"nativeSrc": "951:3:1",
"nodeType": "YulIdentifier",
"src": "951:3:1"
},
{
"name": "length",
"nativeSrc": "956:6:1",
"nodeType": "YulIdentifier",
"src": "956:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "898:34:1",
"nodeType": "YulIdentifier",
"src": "898:34:1"
},
"nativeSrc": "898:65:1",
"nodeType": "YulFunctionCall",
"src": "898:65:1"
},
"nativeSrc": "898:65:1",
"nodeType": "YulExpressionStatement",
"src": "898:65:1"
},
{
"nativeSrc": "972:46:1",
"nodeType": "YulAssignment",
"src": "972:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "983:3:1",
"nodeType": "YulIdentifier",
"src": "983:3:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "1010:6:1",
"nodeType": "YulIdentifier",
"src": "1010:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "988:21:1",
"nodeType": "YulIdentifier",
"src": "988:21:1"
},
"nativeSrc": "988:29:1",
"nodeType": "YulFunctionCall",
"src": "988:29:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "979:3:1",
"nodeType": "YulIdentifier",
"src": "979:3:1"
},
"nativeSrc": "979:39:1",
"nodeType": "YulFunctionCall",
"src": "979:39:1"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "972:3:1",
"nodeType": "YulIdentifier",
"src": "972:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nativeSrc": "647:377:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "720:5:1",
"nodeType": "YulTypedName",
"src": "720:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "727:3:1",
"nodeType": "YulTypedName",
"src": "727:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "735:3:1",
"nodeType": "YulTypedName",
"src": "735:3:1",
"type": ""
}
],
"src": "647:377:1"
},
{
"body": {
"nativeSrc": "1148:195:1",
"nodeType": "YulBlock",
"src": "1148:195:1",
"statements": [
{
"nativeSrc": "1158:26:1",
"nodeType": "YulAssignment",
"src": "1158:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "1170:9:1",
"nodeType": "YulIdentifier",
"src": "1170:9:1"
},
{
"kind": "number",
"nativeSrc": "1181:2:1",
"nodeType": "YulLiteral",
"src": "1181:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1166:3:1",
"nodeType": "YulIdentifier",
"src": "1166:3:1"
},
"nativeSrc": "1166:18:1",
"nodeType": "YulFunctionCall",
"src": "1166:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "1158:4:1",
"nodeType": "YulIdentifier",
"src": "1158:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "1205:9:1",
"nodeType": "YulIdentifier",
"src": "1205:9:1"
},
{
"kind": "number",
"nativeSrc": "1216:1:1",
"nodeType": "YulLiteral",
"src": "1216:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1201:3:1",
"nodeType": "YulIdentifier",
"src": "1201:3:1"
},
"nativeSrc": "1201:17:1",
"nodeType": "YulFunctionCall",
"src": "1201:17:1"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "1224:4:1",
"nodeType": "YulIdentifier",
"src": "1224:4:1"
},
{
"name": "headStart",
"nativeSrc": "1230:9:1",
"nodeType": "YulIdentifier",
"src": "1230:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "1220:3:1",
"nodeType": "YulIdentifier",
"src": "1220:3:1"
},
"nativeSrc": "1220:20:1",
"nodeType": "YulFunctionCall",
"src": "1220:20:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1194:6:1",
"nodeType": "YulIdentifier",
"src": "1194:6:1"
},
"nativeSrc": "1194:47:1",
"nodeType": "YulFunctionCall",
"src": "1194:47:1"
},
"nativeSrc": "1194:47:1",
"nodeType": "YulExpressionStatement",
"src": "1194:47:1"
},
{
"nativeSrc": "1250:86:1",
"nodeType": "YulAssignment",
"src": "1250:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nativeSrc": "1322:6:1",
"nodeType": "YulIdentifier",
"src": "1322:6:1"
},
{
"name": "tail",
"nativeSrc": "1331:4:1",
"nodeType": "YulIdentifier",
"src": "1331:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nativeSrc": "1258:63:1",
"nodeType": "YulIdentifier",
"src": "1258:63:1"
},
"nativeSrc": "1258:78:1",
"nodeType": "YulFunctionCall",
"src": "1258:78:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "1250:4:1",
"nodeType": "YulIdentifier",
"src": "1250:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nativeSrc": "1030:313:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "1120:9:1",
"nodeType": "YulTypedName",
"src": "1120:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "1132:6:1",
"nodeType": "YulTypedName",
"src": "1132:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "1143:4:1",
"nodeType": "YulTypedName",
"src": "1143:4:1",
"type": ""
}
],
"src": "1030:313:1"
},
{
"body": {
"nativeSrc": "1389:35:1",
"nodeType": "YulBlock",
"src": "1389:35:1",
"statements": [
{
"nativeSrc": "1399:19:1",
"nodeType": "YulAssignment",
"src": "1399:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1415:2:1",
"nodeType": "YulLiteral",
"src": "1415:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "1409:5:1",
"nodeType": "YulIdentifier",
"src": "1409:5:1"
},
"nativeSrc": "1409:9:1",
"nodeType": "YulFunctionCall",
"src": "1409:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "1399:6:1",
"nodeType": "YulIdentifier",
"src": "1399:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nativeSrc": "1349:75:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "1382:6:1",
"nodeType": "YulTypedName",
"src": "1382:6:1",
"type": ""
}
],
"src": "1349:75:1"
},
{
"body": {
"nativeSrc": "1519:28:1",
"nodeType": "YulBlock",
"src": "1519:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1536:1:1",
"nodeType": "YulLiteral",
"src": "1536:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1539:1:1",
"nodeType": "YulLiteral",
"src": "1539:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1529:6:1",
"nodeType": "YulIdentifier",
"src": "1529:6:1"
},
"nativeSrc": "1529:12:1",
"nodeType": "YulFunctionCall",
"src": "1529:12:1"
},
"nativeSrc": "1529:12:1",
"nodeType": "YulExpressionStatement",
"src": "1529:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "1430:117:1",
"nodeType": "YulFunctionDefinition",
"src": "1430:117:1"
},
{
"body": {
"nativeSrc": "1642:28:1",
"nodeType": "YulBlock",
"src": "1642:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1659:1:1",
"nodeType": "YulLiteral",
"src": "1659:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1662:1:1",
"nodeType": "YulLiteral",
"src": "1662:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1652:6:1",
"nodeType": "YulIdentifier",
"src": "1652:6:1"
},
"nativeSrc": "1652:12:1",
"nodeType": "YulFunctionCall",
"src": "1652:12:1"
},
"nativeSrc": "1652:12:1",
"nodeType": "YulExpressionStatement",
"src": "1652:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "1553:117:1",
"nodeType": "YulFunctionDefinition",
"src": "1553:117:1"
},
{
"body": {
"nativeSrc": "1765:28:1",
"nodeType": "YulBlock",
"src": "1765:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1782:1:1",
"nodeType": "YulLiteral",
"src": "1782:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1785:1:1",
"nodeType": "YulLiteral",
"src": "1785:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1775:6:1",
"nodeType": "YulIdentifier",
"src": "1775:6:1"
},
"nativeSrc": "1775:12:1",
"nodeType": "YulFunctionCall",
"src": "1775:12:1"
},
"nativeSrc": "1775:12:1",
"nodeType": "YulExpressionStatement",
"src": "1775:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nativeSrc": "1676:117:1",
"nodeType": "YulFunctionDefinition",
"src": "1676:117:1"
},
{
"body": {
"nativeSrc": "1888:28:1",
"nodeType": "YulBlock",
"src": "1888:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1905:1:1",
"nodeType": "YulLiteral",
"src": "1905:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1908:1:1",
"nodeType": "YulLiteral",
"src": "1908:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "1898:6:1",
"nodeType": "YulIdentifier",
"src": "1898:6:1"
},
"nativeSrc": "1898:12:1",
"nodeType": "YulFunctionCall",
"src": "1898:12:1"
},
"nativeSrc": "1898:12:1",
"nodeType": "YulExpressionStatement",
"src": "1898:12:1"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nativeSrc": "1799:117:1",
"nodeType": "YulFunctionDefinition",
"src": "1799:117:1"
},
{
"body": {
"nativeSrc": "1950:152:1",
"nodeType": "YulBlock",
"src": "1950:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1967:1:1",
"nodeType": "YulLiteral",
"src": "1967:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "1970:77:1",
"nodeType": "YulLiteral",
"src": "1970:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1960:6:1",
"nodeType": "YulIdentifier",
"src": "1960:6:1"
},
"nativeSrc": "1960:88:1",
"nodeType": "YulFunctionCall",
"src": "1960:88:1"
},
"nativeSrc": "1960:88:1",
"nodeType": "YulExpressionStatement",
"src": "1960:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2064:1:1",
"nodeType": "YulLiteral",
"src": "2064:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "2067:4:1",
"nodeType": "YulLiteral",
"src": "2067:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2057:6:1",
"nodeType": "YulIdentifier",
"src": "2057:6:1"
},
"nativeSrc": "2057:15:1",
"nodeType": "YulFunctionCall",
"src": "2057:15:1"
},
"nativeSrc": "2057:15:1",
"nodeType": "YulExpressionStatement",
"src": "2057:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2088:1:1",
"nodeType": "YulLiteral",
"src": "2088:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "2091:4:1",
"nodeType": "YulLiteral",
"src": "2091:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "2081:6:1",
"nodeType": "YulIdentifier",
"src": "2081:6:1"
},
"nativeSrc": "2081:15:1",
"nodeType": "YulFunctionCall",
"src": "2081:15:1"
},
"nativeSrc": "2081:15:1",
"nodeType": "YulExpressionStatement",
"src": "2081:15:1"
}
]
},
"name": "panic_error_0x41",
"nativeSrc": "1922:180:1",
"nodeType": "YulFunctionDefinition",
"src": "1922:180:1"
},
{
"body": {
"nativeSrc": "2151:238:1",
"nodeType": "YulBlock",
"src": "2151:238:1",
"statements": [
{
"nativeSrc": "2161:58:1",
"nodeType": "YulVariableDeclaration",
"src": "2161:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nativeSrc": "2183:6:1",
"nodeType": "YulIdentifier",
"src": "2183:6:1"
},
{
"arguments": [
{
"name": "size",
"nativeSrc": "2213:4:1",
"nodeType": "YulIdentifier",
"src": "2213:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "2191:21:1",
"nodeType": "YulIdentifier",
"src": "2191:21:1"
},
"nativeSrc": "2191:27:1",
"nodeType": "YulFunctionCall",
"src": "2191:27:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2179:3:1",
"nodeType": "YulIdentifier",
"src": "2179:3:1"
},
"nativeSrc": "2179:40:1",
"nodeType": "YulFunctionCall",
"src": "2179:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nativeSrc": "2165:10:1",
"nodeType": "YulTypedName",
"src": "2165:10:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "2330:22:1",
"nodeType": "YulBlock",
"src": "2330:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "2332:16:1",
"nodeType": "YulIdentifier",
"src": "2332:16:1"
},
"nativeSrc": "2332:18:1",
"nodeType": "YulFunctionCall",
"src": "2332:18:1"
},
"nativeSrc": "2332:18:1",
"nodeType": "YulExpressionStatement",
"src": "2332:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nativeSrc": "2273:10:1",
"nodeType": "YulIdentifier",
"src": "2273:10:1"
},
{
"kind": "number",
"nativeSrc": "2285:18:1",
"nodeType": "YulLiteral",
"src": "2285:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "2270:2:1",
"nodeType": "YulIdentifier",
"src": "2270:2:1"
},
"nativeSrc": "2270:34:1",
"nodeType": "YulFunctionCall",
"src": "2270:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nativeSrc": "2309:10:1",
"nodeType": "YulIdentifier",
"src": "2309:10:1"
},
{
"name": "memPtr",
"nativeSrc": "2321:6:1",
"nodeType": "YulIdentifier",
"src": "2321:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "2306:2:1",
"nodeType": "YulIdentifier",
"src": "2306:2:1"
},
"nativeSrc": "2306:22:1",
"nodeType": "YulFunctionCall",
"src": "2306:22:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "2267:2:1",
"nodeType": "YulIdentifier",
"src": "2267:2:1"
},
"nativeSrc": "2267:62:1",
"nodeType": "YulFunctionCall",
"src": "2267:62:1"
},
"nativeSrc": "2264:88:1",
"nodeType": "YulIf",
"src": "2264:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "2368:2:1",
"nodeType": "YulLiteral",
"src": "2368:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nativeSrc": "2372:10:1",
"nodeType": "YulIdentifier",
"src": "2372:10:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2361:6:1",
"nodeType": "YulIdentifier",
"src": "2361:6:1"
},
"nativeSrc": "2361:22:1",
"nodeType": "YulFunctionCall",
"src": "2361:22:1"
},
"nativeSrc": "2361:22:1",
"nodeType": "YulExpressionStatement",
"src": "2361:22:1"
}
]
},
"name": "finalize_allocation",
"nativeSrc": "2108:281:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nativeSrc": "2137:6:1",
"nodeType": "YulTypedName",
"src": "2137:6:1",
"type": ""
},
{
"name": "size",
"nativeSrc": "2145:4:1",
"nodeType": "YulTypedName",
"src": "2145:4:1",
"type": ""
}
],
"src": "2108:281:1"
},
{
"body": {
"nativeSrc": "2436:88:1",
"nodeType": "YulBlock",
"src": "2436:88:1",
"statements": [
{
"nativeSrc": "2446:30:1",
"nodeType": "YulAssignment",
"src": "2446:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nativeSrc": "2456:18:1",
"nodeType": "YulIdentifier",
"src": "2456:18:1"
},
"nativeSrc": "2456:20:1",
"nodeType": "YulFunctionCall",
"src": "2456:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "2446:6:1",
"nodeType": "YulIdentifier",
"src": "2446:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nativeSrc": "2505:6:1",
"nodeType": "YulIdentifier",
"src": "2505:6:1"
},
{
"name": "size",
"nativeSrc": "2513:4:1",
"nodeType": "YulIdentifier",
"src": "2513:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nativeSrc": "2485:19:1",
"nodeType": "YulIdentifier",
"src": "2485:19:1"
},
"nativeSrc": "2485:33:1",
"nodeType": "YulFunctionCall",
"src": "2485:33:1"
},
"nativeSrc": "2485:33:1",
"nodeType": "YulExpressionStatement",
"src": "2485:33:1"
}
]
},
"name": "allocate_memory",
"nativeSrc": "2395:129:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nativeSrc": "2420:4:1",
"nodeType": "YulTypedName",
"src": "2420:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "2429:6:1",
"nodeType": "YulTypedName",
"src": "2429:6:1",
"type": ""
}
],
"src": "2395:129:1"
},
{
"body": {
"nativeSrc": "2597:241:1",
"nodeType": "YulBlock",
"src": "2597:241:1",
"statements": [
{
"body": {
"nativeSrc": "2702:22:1",
"nodeType": "YulBlock",
"src": "2702:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "2704:16:1",
"nodeType": "YulIdentifier",
"src": "2704:16:1"
},
"nativeSrc": "2704:18:1",
"nodeType": "YulFunctionCall",
"src": "2704:18:1"
},
"nativeSrc": "2704:18:1",
"nodeType": "YulExpressionStatement",
"src": "2704:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nativeSrc": "2674:6:1",
"nodeType": "YulIdentifier",
"src": "2674:6:1"
},
{
"kind": "number",
"nativeSrc": "2682:18:1",
"nodeType": "YulLiteral",
"src": "2682:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "2671:2:1",
"nodeType": "YulIdentifier",
"src": "2671:2:1"
},
"nativeSrc": "2671:30:1",
"nodeType": "YulFunctionCall",
"src": "2671:30:1"
},
"nativeSrc": "2668:56:1",
"nodeType": "YulIf",
"src": "2668:56:1"
},
{
"nativeSrc": "2734:37:1",
"nodeType": "YulAssignment",
"src": "2734:37:1",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "2764:6:1",
"nodeType": "YulIdentifier",
"src": "2764:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "2742:21:1",
"nodeType": "YulIdentifier",
"src": "2742:21:1"
},
"nativeSrc": "2742:29:1",
"nodeType": "YulFunctionCall",
"src": "2742:29:1"
},
"variableNames": [
{
"name": "size",
"nativeSrc": "2734:4:1",
"nodeType": "YulIdentifier",
"src": "2734:4:1"
}
]
},
{
"nativeSrc": "2808:23:1",
"nodeType": "YulAssignment",
"src": "2808:23:1",
"value": {
"arguments": [
{
"name": "size",
"nativeSrc": "2820:4:1",
"nodeType": "YulIdentifier",
"src": "2820:4:1"
},
{
"kind": "number",
"nativeSrc": "2826:4:1",
"nodeType": "YulLiteral",
"src": "2826:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2816:3:1",
"nodeType": "YulIdentifier",
"src": "2816:3:1"
},
"nativeSrc": "2816:15:1",
"nodeType": "YulFunctionCall",
"src": "2816:15:1"
},
"variableNames": [
{
"name": "size",
"nativeSrc": "2808:4:1",
"nodeType": "YulIdentifier",
"src": "2808:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nativeSrc": "2530:308:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nativeSrc": "2581:6:1",
"nodeType": "YulTypedName",
"src": "2581:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nativeSrc": "2592:4:1",
"nodeType": "YulTypedName",
"src": "2592:4:1",
"type": ""
}
],
"src": "2530:308:1"
},
{
"body": {
"nativeSrc": "2908:82:1",
"nodeType": "YulBlock",
"src": "2908:82:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nativeSrc": "2931:3:1",
"nodeType": "YulIdentifier",
"src": "2931:3:1"
},
{
"name": "src",
"nativeSrc": "2936:3:1",
"nodeType": "YulIdentifier",
"src": "2936:3:1"
},
{
"name": "length",
"nativeSrc": "2941:6:1",
"nodeType": "YulIdentifier",
"src": "2941:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nativeSrc": "2918:12:1",
"nodeType": "YulIdentifier",
"src": "2918:12:1"
},
"nativeSrc": "2918:30:1",
"nodeType": "YulFunctionCall",
"src": "2918:30:1"
},
"nativeSrc": "2918:30:1",
"nodeType": "YulExpressionStatement",
"src": "2918:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "2968:3:1",
"nodeType": "YulIdentifier",
"src": "2968:3:1"
},
{
"name": "length",
"nativeSrc": "2973:6:1",
"nodeType": "YulIdentifier",
"src": "2973:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2964:3:1",
"nodeType": "YulIdentifier",
"src": "2964:3:1"
},
"nativeSrc": "2964:16:1",
"nodeType": "YulFunctionCall",
"src": "2964:16:1"
},
{
"kind": "number",
"nativeSrc": "2982:1:1",
"nodeType": "YulLiteral",
"src": "2982:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "2957:6:1",
"nodeType": "YulIdentifier",
"src": "2957:6:1"
},
"nativeSrc": "2957:27:1",
"nodeType": "YulFunctionCall",
"src": "2957:27:1"
},
"nativeSrc": "2957:27:1",
"nodeType": "YulExpressionStatement",
"src": "2957:27:1"
}
]
},
"name": "copy_calldata_to_memory_with_cleanup",
"nativeSrc": "2844:146:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "2890:3:1",
"nodeType": "YulTypedName",
"src": "2890:3:1",
"type": ""
},
{
"name": "dst",
"nativeSrc": "2895:3:1",
"nodeType": "YulTypedName",
"src": "2895:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "2900:6:1",
"nodeType": "YulTypedName",
"src": "2900:6:1",
"type": ""
}
],
"src": "2844:146:1"
},
{
"body": {
"nativeSrc": "3080:341:1",
"nodeType": "YulBlock",
"src": "3080:341:1",
"statements": [
{
"nativeSrc": "3090:75:1",
"nodeType": "YulAssignment",
"src": "3090:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nativeSrc": "3157:6:1",
"nodeType": "YulIdentifier",
"src": "3157:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nativeSrc": "3115:41:1",
"nodeType": "YulIdentifier",
"src": "3115:41:1"
},
"nativeSrc": "3115:49:1",
"nodeType": "YulFunctionCall",
"src": "3115:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nativeSrc": "3099:15:1",
"nodeType": "YulIdentifier",
"src": "3099:15:1"
},
"nativeSrc": "3099:66:1",
"nodeType": "YulFunctionCall",
"src": "3099:66:1"
},
"variableNames": [
{
"name": "array",
"nativeSrc": "3090:5:1",
"nodeType": "YulIdentifier",
"src": "3090:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nativeSrc": "3181:5:1",
"nodeType": "YulIdentifier",
"src": "3181:5:1"
},
{
"name": "length",
"nativeSrc": "3188:6:1",
"nodeType": "YulIdentifier",
"src": "3188:6:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "3174:6:1",
"nodeType": "YulIdentifier",
"src": "3174:6:1"
},
"nativeSrc": "3174:21:1",
"nodeType": "YulFunctionCall",
"src": "3174:21:1"
},
"nativeSrc": "3174:21:1",
"nodeType": "YulExpressionStatement",
"src": "3174:21:1"
},
{
"nativeSrc": "3204:27:1",
"nodeType": "YulVariableDeclaration",
"src": "3204:27:1",
"value": {
"arguments": [
{
"name": "array",
"nativeSrc": "3219:5:1",
"nodeType": "YulIdentifier",
"src": "3219:5:1"
},
{
"kind": "number",
"nativeSrc": "3226:4:1",
"nodeType": "YulLiteral",
"src": "3226:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3215:3:1",
"nodeType": "YulIdentifier",
"src": "3215:3:1"
},
"nativeSrc": "3215:16:1",
"nodeType": "YulFunctionCall",
"src": "3215:16:1"
},
"variables": [
{
"name": "dst",
"nativeSrc": "3208:3:1",
"nodeType": "YulTypedName",
"src": "3208:3:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "3269:83:1",
"nodeType": "YulBlock",
"src": "3269:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nativeSrc": "3271:77:1",
"nodeType": "YulIdentifier",
"src": "3271:77:1"
},
"nativeSrc": "3271:79:1",
"nodeType": "YulFunctionCall",
"src": "3271:79:1"
},
"nativeSrc": "3271:79:1",
"nodeType": "YulExpressionStatement",
"src": "3271:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "3250:3:1",
"nodeType": "YulIdentifier",
"src": "3250:3:1"
},
{
"name": "length",
"nativeSrc": "3255:6:1",
"nodeType": "YulIdentifier",
"src": "3255:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3246:3:1",
"nodeType": "YulIdentifier",
"src": "3246:3:1"
},
"nativeSrc": "3246:16:1",
"nodeType": "YulFunctionCall",
"src": "3246:16:1"
},
{
"name": "end",
"nativeSrc": "3264:3:1",
"nodeType": "YulIdentifier",
"src": "3264:3:1"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "3243:2:1",
"nodeType": "YulIdentifier",
"src": "3243:2:1"
},
"nativeSrc": "3243:25:1",
"nodeType": "YulFunctionCall",
"src": "3243:25:1"
},
"nativeSrc": "3240:112:1",
"nodeType": "YulIf",
"src": "3240:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nativeSrc": "3398:3:1",
"nodeType": "YulIdentifier",
"src": "3398:3:1"
},
{
"name": "dst",
"nativeSrc": "3403:3:1",
"nodeType": "YulIdentifier",
"src": "3403:3:1"
},
{
"name": "length",
"nativeSrc": "3408:6:1",
"nodeType": "YulIdentifier",
"src": "3408:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory_with_cleanup",
"nativeSrc": "3361:36:1",
"nodeType": "YulIdentifier",
"src": "3361:36:1"
},
"nativeSrc": "3361:54:1",
"nodeType": "YulFunctionCall",
"src": "3361:54:1"
},
"nativeSrc": "3361:54:1",
"nodeType": "YulExpressionStatement",
"src": "3361:54:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nativeSrc": "2996:425:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "3053:3:1",
"nodeType": "YulTypedName",
"src": "3053:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "3058:6:1",
"nodeType": "YulTypedName",
"src": "3058:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "3066:3:1",
"nodeType": "YulTypedName",
"src": "3066:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nativeSrc": "3074:5:1",
"nodeType": "YulTypedName",
"src": "3074:5:1",
"type": ""
}
],
"src": "2996:425:1"
},
{
"body": {
"nativeSrc": "3503:278:1",
"nodeType": "YulBlock",
"src": "3503:278:1",
"statements": [
{
"body": {
"nativeSrc": "3552:83:1",
"nodeType": "YulBlock",
"src": "3552:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nativeSrc": "3554:77:1",
"nodeType": "YulIdentifier",
"src": "3554:77:1"
},
"nativeSrc": "3554:79:1",
"nodeType": "YulFunctionCall",
"src": "3554:79:1"
},
"nativeSrc": "3554:79:1",
"nodeType": "YulExpressionStatement",
"src": "3554:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nativeSrc": "3531:6:1",
"nodeType": "YulIdentifier",
"src": "3531:6:1"
},
{
"kind": "number",
"nativeSrc": "3539:4:1",
"nodeType": "YulLiteral",
"src": "3539:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3527:3:1",
"nodeType": "YulIdentifier",
"src": "3527:3:1"
},
"nativeSrc": "3527:17:1",
"nodeType": "YulFunctionCall",
"src": "3527:17:1"
},
{
"name": "end",
"nativeSrc": "3546:3:1",
"nodeType": "YulIdentifier",
"src": "3546:3:1"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "3523:3:1",
"nodeType": "YulIdentifier",
"src": "3523:3:1"
},
"nativeSrc": "3523:27:1",
"nodeType": "YulFunctionCall",
"src": "3523:27:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "3516:6:1",
"nodeType": "YulIdentifier",
"src": "3516:6:1"
},
"nativeSrc": "3516:35:1",
"nodeType": "YulFunctionCall",
"src": "3516:35:1"
},
"nativeSrc": "3513:122:1",
"nodeType": "YulIf",
"src": "3513:122:1"
},
{
"nativeSrc": "3644:34:1",
"nodeType": "YulVariableDeclaration",
"src": "3644:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "3671:6:1",
"nodeType": "YulIdentifier",
"src": "3671:6:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "3658:12:1",
"nodeType": "YulIdentifier",
"src": "3658:12:1"
},
"nativeSrc": "3658:20:1",
"nodeType": "YulFunctionCall",
"src": "3658:20:1"
},
"variables": [
{
"name": "length",
"nativeSrc": "3648:6:1",
"nodeType": "YulTypedName",
"src": "3648:6:1",
"type": ""
}
]
},
{
"nativeSrc": "3687:88:1",
"nodeType": "YulAssignment",
"src": "3687:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nativeSrc": "3748:6:1",
"nodeType": "YulIdentifier",
"src": "3748:6:1"
},
{
"kind": "number",
"nativeSrc": "3756:4:1",
"nodeType": "YulLiteral",
"src": "3756:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3744:3:1",
"nodeType": "YulIdentifier",
"src": "3744:3:1"
},
"nativeSrc": "3744:17:1",
"nodeType": "YulFunctionCall",
"src": "3744:17:1"
},
{
"name": "length",
"nativeSrc": "3763:6:1",
"nodeType": "YulIdentifier",
"src": "3763:6:1"
},
{
"name": "end",
"nativeSrc": "3771:3:1",
"nodeType": "YulIdentifier",
"src": "3771:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nativeSrc": "3696:47:1",
"nodeType": "YulIdentifier",
"src": "3696:47:1"
},
"nativeSrc": "3696:79:1",
"nodeType": "YulFunctionCall",
"src": "3696:79:1"
},
"variableNames": [
{
"name": "array",
"nativeSrc": "3687:5:1",
"nodeType": "YulIdentifier",
"src": "3687:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nativeSrc": "3441:340:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "3481:6:1",
"nodeType": "YulTypedName",
"src": "3481:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "3489:3:1",
"nodeType": "YulTypedName",
"src": "3489:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nativeSrc": "3497:5:1",
"nodeType": "YulTypedName",
"src": "3497:5:1",
"type": ""
}
],
"src": "3441:340:1"
},
{
"body": {
"nativeSrc": "3863:433:1",
"nodeType": "YulBlock",
"src": "3863:433:1",
"statements": [
{
"body": {
"nativeSrc": "3909:83:1",
"nodeType": "YulBlock",
"src": "3909:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "3911:77:1",
"nodeType": "YulIdentifier",
"src": "3911:77:1"
},
"nativeSrc": "3911:79:1",
"nodeType": "YulFunctionCall",
"src": "3911:79:1"
},
"nativeSrc": "3911:79:1",
"nodeType": "YulExpressionStatement",
"src": "3911:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "3884:7:1",
"nodeType": "YulIdentifier",
"src": "3884:7:1"
},
{
"name": "headStart",
"nativeSrc": "3893:9:1",
"nodeType": "YulIdentifier",
"src": "3893:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "3880:3:1",
"nodeType": "YulIdentifier",
"src": "3880:3:1"
},
"nativeSrc": "3880:23:1",
"nodeType": "YulFunctionCall",
"src": "3880:23:1"
},
{
"kind": "number",
"nativeSrc": "3905:2:1",
"nodeType": "YulLiteral",
"src": "3905:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "3876:3:1",
"nodeType": "YulIdentifier",
"src": "3876:3:1"
},
"nativeSrc": "3876:32:1",
"nodeType": "YulFunctionCall",
"src": "3876:32:1"
},
"nativeSrc": "3873:119:1",
"nodeType": "YulIf",
"src": "3873:119:1"
},
{
"nativeSrc": "4002:287:1",
"nodeType": "YulBlock",
"src": "4002:287:1",
"statements": [
{
"nativeSrc": "4017:45:1",
"nodeType": "YulVariableDeclaration",
"src": "4017:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "4048:9:1",
"nodeType": "YulIdentifier",
"src": "4048:9:1"
},
{
"kind": "number",
"nativeSrc": "4059:1:1",
"nodeType": "YulLiteral",
"src": "4059:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4044:3:1",
"nodeType": "YulIdentifier",
"src": "4044:3:1"
},
"nativeSrc": "4044:17:1",
"nodeType": "YulFunctionCall",
"src": "4044:17:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "4031:12:1",
"nodeType": "YulIdentifier",
"src": "4031:12:1"
},
"nativeSrc": "4031:31:1",
"nodeType": "YulFunctionCall",
"src": "4031:31:1"
},
"variables": [
{
"name": "offset",
"nativeSrc": "4021:6:1",
"nodeType": "YulTypedName",
"src": "4021:6:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "4109:83:1",
"nodeType": "YulBlock",
"src": "4109:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "4111:77:1",
"nodeType": "YulIdentifier",
"src": "4111:77:1"
},
"nativeSrc": "4111:79:1",
"nodeType": "YulFunctionCall",
"src": "4111:79:1"
},
"nativeSrc": "4111:79:1",
"nodeType": "YulExpressionStatement",
"src": "4111:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nativeSrc": "4081:6:1",
"nodeType": "YulIdentifier",
"src": "4081:6:1"
},
{
"kind": "number",
"nativeSrc": "4089:18:1",
"nodeType": "YulLiteral",
"src": "4089:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "4078:2:1",
"nodeType": "YulIdentifier",
"src": "4078:2:1"
},
"nativeSrc": "4078:30:1",
"nodeType": "YulFunctionCall",
"src": "4078:30:1"
},
"nativeSrc": "4075:117:1",
"nodeType": "YulIf",
"src": "4075:117:1"
},
{
"nativeSrc": "4206:73:1",
"nodeType": "YulAssignment",
"src": "4206:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "4251:9:1",
"nodeType": "YulIdentifier",
"src": "4251:9:1"
},
{
"name": "offset",
"nativeSrc": "4262:6:1",
"nodeType": "YulIdentifier",
"src": "4262:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4247:3:1",
"nodeType": "YulIdentifier",
"src": "4247:3:1"
},
"nativeSrc": "4247:22:1",
"nodeType": "YulFunctionCall",
"src": "4247:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "4271:7:1",
"nodeType": "YulIdentifier",
"src": "4271:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nativeSrc": "4216:30:1",
"nodeType": "YulIdentifier",
"src": "4216:30:1"
},
"nativeSrc": "4216:63:1",
"nodeType": "YulFunctionCall",
"src": "4216:63:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "4206:6:1",
"nodeType": "YulIdentifier",
"src": "4206:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nativeSrc": "3787:509:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "3833:9:1",
"nodeType": "YulTypedName",
"src": "3833:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "3844:7:1",
"nodeType": "YulTypedName",
"src": "3844:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "3856:6:1",
"nodeType": "YulTypedName",
"src": "3856:6:1",
"type": ""
}
],
"src": "3787:509:1"
},
{
"body": {
"nativeSrc": "4330:152:1",
"nodeType": "YulBlock",
"src": "4330:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "4347:1:1",
"nodeType": "YulLiteral",
"src": "4347:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "4350:77:1",
"nodeType": "YulLiteral",
"src": "4350:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "4340:6:1",
"nodeType": "YulIdentifier",
"src": "4340:6:1"
},
"nativeSrc": "4340:88:1",
"nodeType": "YulFunctionCall",
"src": "4340:88:1"
},
"nativeSrc": "4340:88:1",
"nodeType": "YulExpressionStatement",
"src": "4340:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "4444:1:1",
"nodeType": "YulLiteral",
"src": "4444:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "4447:4:1",
"nodeType": "YulLiteral",
"src": "4447:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "4437:6:1",
"nodeType": "YulIdentifier",
"src": "4437:6:1"
},
"nativeSrc": "4437:15:1",
"nodeType": "YulFunctionCall",
"src": "4437:15:1"
},
"nativeSrc": "4437:15:1",
"nodeType": "YulExpressionStatement",
"src": "4437:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "4468:1:1",
"nodeType": "YulLiteral",
"src": "4468:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "4471:4:1",
"nodeType": "YulLiteral",
"src": "4471:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "4461:6:1",
"nodeType": "YulIdentifier",
"src": "4461:6:1"
},
"nativeSrc": "4461:15:1",
"nodeType": "YulFunctionCall",
"src": "4461:15:1"
},
"nativeSrc": "4461:15:1",
"nodeType": "YulExpressionStatement",
"src": "4461:15:1"
}
]
},
"name": "panic_error_0x22",
"nativeSrc": "4302:180:1",
"nodeType": "YulFunctionDefinition",
"src": "4302:180:1"
},
{
"body": {
"nativeSrc": "4539:269:1",
"nodeType": "YulBlock",
"src": "4539:269:1",
"statements": [
{
"nativeSrc": "4549:22:1",
"nodeType": "YulAssignment",
"src": "4549:22:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "4563:4:1",
"nodeType": "YulIdentifier",
"src": "4563:4:1"
},
{
"kind": "number",
"nativeSrc": "4569:1:1",
"nodeType": "YulLiteral",
"src": "4569:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nativeSrc": "4559:3:1",
"nodeType": "YulIdentifier",
"src": "4559:3:1"
},
"nativeSrc": "4559:12:1",
"nodeType": "YulFunctionCall",
"src": "4559:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "4549:6:1",
"nodeType": "YulIdentifier",
"src": "4549:6:1"
}
]
},
{
"nativeSrc": "4580:38:1",
"nodeType": "YulVariableDeclaration",
"src": "4580:38:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "4610:4:1",
"nodeType": "YulIdentifier",
"src": "4610:4:1"
},
{
"kind": "number",
"nativeSrc": "4616:1:1",
"nodeType": "YulLiteral",
"src": "4616:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "4606:3:1",
"nodeType": "YulIdentifier",
"src": "4606:3:1"
},
"nativeSrc": "4606:12:1",
"nodeType": "YulFunctionCall",
"src": "4606:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "4584:18:1",
"nodeType": "YulTypedName",
"src": "4584:18:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "4657:51:1",
"nodeType": "YulBlock",
"src": "4657:51:1",
"statements": [
{
"nativeSrc": "4671:27:1",
"nodeType": "YulAssignment",
"src": "4671:27:1",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "4685:6:1",
"nodeType": "YulIdentifier",
"src": "4685:6:1"
},
{
"kind": "number",
"nativeSrc": "4693:4:1",
"nodeType": "YulLiteral",
"src": "4693:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "4681:3:1",
"nodeType": "YulIdentifier",
"src": "4681:3:1"
},
"nativeSrc": "4681:17:1",
"nodeType": "YulFunctionCall",
"src": "4681:17:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "4671:6:1",
"nodeType": "YulIdentifier",
"src": "4671:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "4637:18:1",
"nodeType": "YulIdentifier",
"src": "4637:18:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "4630:6:1",
"nodeType": "YulIdentifier",
"src": "4630:6:1"
},
"nativeSrc": "4630:26:1",
"nodeType": "YulFunctionCall",
"src": "4630:26:1"
},
"nativeSrc": "4627:81:1",
"nodeType": "YulIf",
"src": "4627:81:1"
},
{
"body": {
"nativeSrc": "4760:42:1",
"nodeType": "YulBlock",
"src": "4760:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nativeSrc": "4774:16:1",
"nodeType": "YulIdentifier",
"src": "4774:16:1"
},
"nativeSrc": "4774:18:1",
"nodeType": "YulFunctionCall",
"src": "4774:18:1"
},
"nativeSrc": "4774:18:1",
"nodeType": "YulExpressionStatement",
"src": "4774:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "4724:18:1",
"nodeType": "YulIdentifier",
"src": "4724:18:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "4747:6:1",
"nodeType": "YulIdentifier",
"src": "4747:6:1"
},
{
"kind": "number",
"nativeSrc": "4755:2:1",
"nodeType": "YulLiteral",
"src": "4755:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "4744:2:1",
"nodeType": "YulIdentifier",
"src": "4744:2:1"
},
"nativeSrc": "4744:14:1",
"nodeType": "YulFunctionCall",
"src": "4744:14:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "4721:2:1",
"nodeType": "YulIdentifier",
"src": "4721:2:1"
},
"nativeSrc": "4721:38:1",
"nodeType": "YulFunctionCall",
"src": "4721:38:1"
},
"nativeSrc": "4718:84:1",
"nodeType": "YulIf",
"src": "4718:84:1"
}
]
},
"name": "extract_byte_array_length",
"nativeSrc": "4488:320:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "4523:4:1",
"nodeType": "YulTypedName",
"src": "4523:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "4532:6:1",
"nodeType": "YulTypedName",
"src": "4532:6:1",
"type": ""
}
],
"src": "4488:320:1"
},
{
"body": {
"nativeSrc": "4868:87:1",
"nodeType": "YulBlock",
"src": "4868:87:1",
"statements": [
{
"nativeSrc": "4878:11:1",
"nodeType": "YulAssignment",
"src": "4878:11:1",
"value": {
"name": "ptr",
"nativeSrc": "4886:3:1",
"nodeType": "YulIdentifier",
"src": "4886:3:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "4878:4:1",
"nodeType": "YulIdentifier",
"src": "4878:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "4906:1:1",
"nodeType": "YulLiteral",
"src": "4906:1:1",
"type": "",
"value": "0"
},
{
"name": "ptr",
"nativeSrc": "4909:3:1",
"nodeType": "YulIdentifier",
"src": "4909:3:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "4899:6:1",
"nodeType": "YulIdentifier",
"src": "4899:6:1"
},
"nativeSrc": "4899:14:1",
"nodeType": "YulFunctionCall",
"src": "4899:14:1"
},
"nativeSrc": "4899:14:1",
"nodeType": "YulExpressionStatement",
"src": "4899:14:1"
},
{
"nativeSrc": "4922:26:1",
"nodeType": "YulAssignment",
"src": "4922:26:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "4940:1:1",
"nodeType": "YulLiteral",
"src": "4940:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "4943:4:1",
"nodeType": "YulLiteral",
"src": "4943:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "keccak256",
"nativeSrc": "4930:9:1",
"nodeType": "YulIdentifier",
"src": "4930:9:1"
},
"nativeSrc": "4930:18:1",
"nodeType": "YulFunctionCall",
"src": "4930:18:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "4922:4:1",
"nodeType": "YulIdentifier",
"src": "4922:4:1"
}
]
}
]
},
"name": "array_dataslot_t_string_storage",
"nativeSrc": "4814:141:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nativeSrc": "4855:3:1",
"nodeType": "YulTypedName",
"src": "4855:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nativeSrc": "4863:4:1",
"nodeType": "YulTypedName",
"src": "4863:4:1",
"type": ""
}
],
"src": "4814:141:1"
},
{
"body": {
"nativeSrc": "5005:49:1",
"nodeType": "YulBlock",
"src": "5005:49:1",
"statements": [
{
"nativeSrc": "5015:33:1",
"nodeType": "YulAssignment",
"src": "5015:33:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "5033:5:1",
"nodeType": "YulIdentifier",
"src": "5033:5:1"
},
{
"kind": "number",
"nativeSrc": "5040:2:1",
"nodeType": "YulLiteral",
"src": "5040:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5029:3:1",
"nodeType": "YulIdentifier",
"src": "5029:3:1"
},
"nativeSrc": "5029:14:1",
"nodeType": "YulFunctionCall",
"src": "5029:14:1"
},
{
"kind": "number",
"nativeSrc": "5045:2:1",
"nodeType": "YulLiteral",
"src": "5045:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "div",
"nativeSrc": "5025:3:1",
"nodeType": "YulIdentifier",
"src": "5025:3:1"
},
"nativeSrc": "5025:23:1",
"nodeType": "YulFunctionCall",
"src": "5025:23:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "5015:6:1",
"nodeType": "YulIdentifier",
"src": "5015:6:1"
}
]
}
]
},
"name": "divide_by_32_ceil",
"nativeSrc": "4961:93:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "4988:5:1",
"nodeType": "YulTypedName",
"src": "4988:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "4998:6:1",
"nodeType": "YulTypedName",
"src": "4998:6:1",
"type": ""
}
],
"src": "4961:93:1"
},
{
"body": {
"nativeSrc": "5113:54:1",
"nodeType": "YulBlock",
"src": "5113:54:1",
"statements": [
{
"nativeSrc": "5123:37:1",
"nodeType": "YulAssignment",
"src": "5123:37:1",
"value": {
"arguments": [
{
"name": "bits",
"nativeSrc": "5148:4:1",
"nodeType": "YulIdentifier",
"src": "5148:4:1"
},
{
"name": "value",
"nativeSrc": "5154:5:1",
"nodeType": "YulIdentifier",
"src": "5154:5:1"
}
],
"functionName": {
"name": "shl",
"nativeSrc": "5144:3:1",
"nodeType": "YulIdentifier",
"src": "5144:3:1"
},
"nativeSrc": "5144:16:1",
"nodeType": "YulFunctionCall",
"src": "5144:16:1"
},
"variableNames": [
{
"name": "newValue",
"nativeSrc": "5123:8:1",
"nodeType": "YulIdentifier",
"src": "5123:8:1"
}
]
}
]
},
"name": "shift_left_dynamic",
"nativeSrc": "5060:107:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nativeSrc": "5088:4:1",
"nodeType": "YulTypedName",
"src": "5088:4:1",
"type": ""
},
{
"name": "value",
"nativeSrc": "5094:5:1",
"nodeType": "YulTypedName",
"src": "5094:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nativeSrc": "5104:8:1",
"nodeType": "YulTypedName",
"src": "5104:8:1",
"type": ""
}
],
"src": "5060:107:1"
},
{
"body": {
"nativeSrc": "5249:317:1",
"nodeType": "YulBlock",
"src": "5249:317:1",
"statements": [
{
"nativeSrc": "5259:35:1",
"nodeType": "YulVariableDeclaration",
"src": "5259:35:1",
"value": {
"arguments": [
{
"name": "shiftBytes",
"nativeSrc": "5280:10:1",
"nodeType": "YulIdentifier",
"src": "5280:10:1"
},
{
"kind": "number",
"nativeSrc": "5292:1:1",
"nodeType": "YulLiteral",
"src": "5292:1:1",
"type": "",
"value": "8"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "5276:3:1",
"nodeType": "YulIdentifier",
"src": "5276:3:1"
},
"nativeSrc": "5276:18:1",
"nodeType": "YulFunctionCall",
"src": "5276:18:1"
},
"variables": [
{
"name": "shiftBits",
"nativeSrc": "5263:9:1",
"nodeType": "YulTypedName",
"src": "5263:9:1",
"type": ""
}
]
},
{
"nativeSrc": "5303:109:1",
"nodeType": "YulVariableDeclaration",
"src": "5303:109:1",
"value": {
"arguments": [
{
"name": "shiftBits",
"nativeSrc": "5334:9:1",
"nodeType": "YulIdentifier",
"src": "5334:9:1"
},
{
"kind": "number",
"nativeSrc": "5345:66:1",
"nodeType": "YulLiteral",
"src": "5345:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nativeSrc": "5315:18:1",
"nodeType": "YulIdentifier",
"src": "5315:18:1"
},
"nativeSrc": "5315:97:1",
"nodeType": "YulFunctionCall",
"src": "5315:97:1"
},
"variables": [
{
"name": "mask",
"nativeSrc": "5307:4:1",
"nodeType": "YulTypedName",
"src": "5307:4:1",
"type": ""
}
]
},
{
"nativeSrc": "5421:51:1",
"nodeType": "YulAssignment",
"src": "5421:51:1",
"value": {
"arguments": [
{
"name": "shiftBits",
"nativeSrc": "5452:9:1",
"nodeType": "YulIdentifier",
"src": "5452:9:1"
},
{
"name": "toInsert",
"nativeSrc": "5463:8:1",
"nodeType": "YulIdentifier",
"src": "5463:8:1"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nativeSrc": "5433:18:1",
"nodeType": "YulIdentifier",
"src": "5433:18:1"
},
"nativeSrc": "5433:39:1",
"nodeType": "YulFunctionCall",
"src": "5433:39:1"
},
"variableNames": [
{
"name": "toInsert",
"nativeSrc": "5421:8:1",
"nodeType": "YulIdentifier",
"src": "5421:8:1"
}
]
},
{
"nativeSrc": "5481:30:1",
"nodeType": "YulAssignment",
"src": "5481:30:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "5494:5:1",
"nodeType": "YulIdentifier",
"src": "5494:5:1"
},
{
"arguments": [
{
"name": "mask",
"nativeSrc": "5505:4:1",
"nodeType": "YulIdentifier",
"src": "5505:4:1"
}
],
"functionName": {
"name": "not",
"nativeSrc": "5501:3:1",
"nodeType": "YulIdentifier",
"src": "5501:3:1"
},
"nativeSrc": "5501:9:1",
"nodeType": "YulFunctionCall",
"src": "5501:9:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "5490:3:1",
"nodeType": "YulIdentifier",
"src": "5490:3:1"
},
"nativeSrc": "5490:21:1",
"nodeType": "YulFunctionCall",
"src": "5490:21:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "5481:5:1",
"nodeType": "YulIdentifier",
"src": "5481:5:1"
}
]
},
{
"nativeSrc": "5520:40:1",
"nodeType": "YulAssignment",
"src": "5520:40:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "5533:5:1",
"nodeType": "YulIdentifier",
"src": "5533:5:1"
},
{
"arguments": [
{
"name": "toInsert",
"nativeSrc": "5544:8:1",
"nodeType": "YulIdentifier",
"src": "5544:8:1"
},
{
"name": "mask",
"nativeSrc": "5554:4:1",
"nodeType": "YulIdentifier",
"src": "5554:4:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "5540:3:1",
"nodeType": "YulIdentifier",
"src": "5540:3:1"
},
"nativeSrc": "5540:19:1",
"nodeType": "YulFunctionCall",
"src": "5540:19:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "5530:2:1",
"nodeType": "YulIdentifier",
"src": "5530:2:1"
},
"nativeSrc": "5530:30:1",
"nodeType": "YulFunctionCall",
"src": "5530:30:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "5520:6:1",
"nodeType": "YulIdentifier",
"src": "5520:6:1"
}
]
}
]
},
"name": "update_byte_slice_dynamic32",
"nativeSrc": "5173:393:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5210:5:1",
"nodeType": "YulTypedName",
"src": "5210:5:1",
"type": ""
},
{
"name": "shiftBytes",
"nativeSrc": "5217:10:1",
"nodeType": "YulTypedName",
"src": "5217:10:1",
"type": ""
},
{
"name": "toInsert",
"nativeSrc": "5229:8:1",
"nodeType": "YulTypedName",
"src": "5229:8:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "5242:6:1",
"nodeType": "YulTypedName",
"src": "5242:6:1",
"type": ""
}
],
"src": "5173:393:1"
},
{
"body": {
"nativeSrc": "5617:32:1",
"nodeType": "YulBlock",
"src": "5617:32:1",
"statements": [
{
"nativeSrc": "5627:16:1",
"nodeType": "YulAssignment",
"src": "5627:16:1",
"value": {
"name": "value",
"nativeSrc": "5638:5:1",
"nodeType": "YulIdentifier",
"src": "5638:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "5627:7:1",
"nodeType": "YulIdentifier",
"src": "5627:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nativeSrc": "5572:77:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5599:5:1",
"nodeType": "YulTypedName",
"src": "5599:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "5609:7:1",
"nodeType": "YulTypedName",
"src": "5609:7:1",
"type": ""
}
],
"src": "5572:77:1"
},
{
"body": {
"nativeSrc": "5687:28:1",
"nodeType": "YulBlock",
"src": "5687:28:1",
"statements": [
{
"nativeSrc": "5697:12:1",
"nodeType": "YulAssignment",
"src": "5697:12:1",
"value": {
"name": "value",
"nativeSrc": "5704:5:1",
"nodeType": "YulIdentifier",
"src": "5704:5:1"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "5697:3:1",
"nodeType": "YulIdentifier",
"src": "5697:3:1"
}
]
}
]
},
"name": "identity",
"nativeSrc": "5655:60:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5673:5:1",
"nodeType": "YulTypedName",
"src": "5673:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "5683:3:1",
"nodeType": "YulTypedName",
"src": "5683:3:1",
"type": ""
}
],
"src": "5655:60:1"
},
{
"body": {
"nativeSrc": "5781:82:1",
"nodeType": "YulBlock",
"src": "5781:82:1",
"statements": [
{
"nativeSrc": "5791:66:1",
"nodeType": "YulAssignment",
"src": "5791:66:1",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "5849:5:1",
"nodeType": "YulIdentifier",
"src": "5849:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "5831:17:1",
"nodeType": "YulIdentifier",
"src": "5831:17:1"
},
"nativeSrc": "5831:24:1",
"nodeType": "YulFunctionCall",
"src": "5831:24:1"
}
],
"functionName": {
"name": "identity",
"nativeSrc": "5822:8:1",
"nodeType": "YulIdentifier",
"src": "5822:8:1"
},
"nativeSrc": "5822:34:1",
"nodeType": "YulFunctionCall",
"src": "5822:34:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "5804:17:1",
"nodeType": "YulIdentifier",
"src": "5804:17:1"
},
"nativeSrc": "5804:53:1",
"nodeType": "YulFunctionCall",
"src": "5804:53:1"
},
"variableNames": [
{
"name": "converted",
"nativeSrc": "5791:9:1",
"nodeType": "YulIdentifier",
"src": "5791:9:1"
}
]
}
]
},
"name": "convert_t_uint256_to_t_uint256",
"nativeSrc": "5721:142:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5761:5:1",
"nodeType": "YulTypedName",
"src": "5761:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nativeSrc": "5771:9:1",
"nodeType": "YulTypedName",
"src": "5771:9:1",
"type": ""
}
],
"src": "5721:142:1"
},
{
"body": {
"nativeSrc": "5916:28:1",
"nodeType": "YulBlock",
"src": "5916:28:1",
"statements": [
{
"nativeSrc": "5926:12:1",
"nodeType": "YulAssignment",
"src": "5926:12:1",
"value": {
"name": "value",
"nativeSrc": "5933:5:1",
"nodeType": "YulIdentifier",
"src": "5933:5:1"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "5926:3:1",
"nodeType": "YulIdentifier",
"src": "5926:3:1"
}
]
}
]
},
"name": "prepare_store_t_uint256",
"nativeSrc": "5869:75:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5902:5:1",
"nodeType": "YulTypedName",
"src": "5902:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "5912:3:1",
"nodeType": "YulTypedName",
"src": "5912:3:1",
"type": ""
}
],
"src": "5869:75:1"
},
{
"body": {
"nativeSrc": "6026:193:1",
"nodeType": "YulBlock",
"src": "6026:193:1",
"statements": [
{
"nativeSrc": "6036:63:1",
"nodeType": "YulVariableDeclaration",
"src": "6036:63:1",
"value": {
"arguments": [
{
"name": "value_0",
"nativeSrc": "6091:7:1",
"nodeType": "YulIdentifier",
"src": "6091:7:1"
}
],
"functionName": {
"name": "convert_t_uint256_to_t_uint256",
"nativeSrc": "6060:30:1",
"nodeType": "YulIdentifier",
"src": "6060:30:1"
},
"nativeSrc": "6060:39:1",
"nodeType": "YulFunctionCall",
"src": "6060:39:1"
},
"variables": [
{
"name": "convertedValue_0",
"nativeSrc": "6040:16:1",
"nodeType": "YulTypedName",
"src": "6040:16:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "6115:4:1",
"nodeType": "YulIdentifier",
"src": "6115:4:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "slot",
"nativeSrc": "6155:4:1",
"nodeType": "YulIdentifier",
"src": "6155:4:1"
}
],
"functionName": {
"name": "sload",
"nativeSrc": "6149:5:1",
"nodeType": "YulIdentifier",
"src": "6149:5:1"
},
"nativeSrc": "6149:11:1",
"nodeType": "YulFunctionCall",
"src": "6149:11:1"
},
{
"name": "offset",
"nativeSrc": "6162:6:1",
"nodeType": "YulIdentifier",
"src": "6162:6:1"
},
{
"arguments": [
{
"name": "convertedValue_0",
"nativeSrc": "6194:16:1",
"nodeType": "YulIdentifier",
"src": "6194:16:1"
}
],
"functionName": {
"name": "prepare_store_t_uint256",
"nativeSrc": "6170:23:1",
"nodeType": "YulIdentifier",
"src": "6170:23:1"
},
"nativeSrc": "6170:41:1",
"nodeType": "YulFunctionCall",
"src": "6170:41:1"
}
],
"functionName": {
"name": "update_byte_slice_dynamic32",
"nativeSrc": "6121:27:1",
"nodeType": "YulIdentifier",
"src": "6121:27:1"
},
"nativeSrc": "6121:91:1",
"nodeType": "YulFunctionCall",
"src": "6121:91:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "6108:6:1",
"nodeType": "YulIdentifier",
"src": "6108:6:1"
},
"nativeSrc": "6108:105:1",
"nodeType": "YulFunctionCall",
"src": "6108:105:1"
},
"nativeSrc": "6108:105:1",
"nodeType": "YulExpressionStatement",
"src": "6108:105:1"
}
]
},
"name": "update_storage_value_t_uint256_to_t_uint256",
"nativeSrc": "5950:269:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "6003:4:1",
"nodeType": "YulTypedName",
"src": "6003:4:1",
"type": ""
},
{
"name": "offset",
"nativeSrc": "6009:6:1",
"nodeType": "YulTypedName",
"src": "6009:6:1",
"type": ""
},
{
"name": "value_0",
"nativeSrc": "6017:7:1",
"nodeType": "YulTypedName",
"src": "6017:7:1",
"type": ""
}
],
"src": "5950:269:1"
},
{
"body": {
"nativeSrc": "6274:24:1",
"nodeType": "YulBlock",
"src": "6274:24:1",
"statements": [
{
"nativeSrc": "6284:8:1",
"nodeType": "YulAssignment",
"src": "6284:8:1",
"value": {
"kind": "number",
"nativeSrc": "6291:1:1",
"nodeType": "YulLiteral",
"src": "6291:1:1",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "6284:3:1",
"nodeType": "YulIdentifier",
"src": "6284:3:1"
}
]
}
]
},
"name": "zero_value_for_split_t_uint256",
"nativeSrc": "6225:73:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "ret",
"nativeSrc": "6270:3:1",
"nodeType": "YulTypedName",
"src": "6270:3:1",
"type": ""
}
],
"src": "6225:73:1"
},
{
"body": {
"nativeSrc": "6357:136:1",
"nodeType": "YulBlock",
"src": "6357:136:1",
"statements": [
{
"nativeSrc": "6367:46:1",
"nodeType": "YulVariableDeclaration",
"src": "6367:46:1",
"value": {
"arguments": [],
"functionName": {
"name": "zero_value_for_split_t_uint256",
"nativeSrc": "6381:30:1",
"nodeType": "YulIdentifier",
"src": "6381:30:1"
},
"nativeSrc": "6381:32:1",
"nodeType": "YulFunctionCall",
"src": "6381:32:1"
},
"variables": [
{
"name": "zero_0",
"nativeSrc": "6371:6:1",
"nodeType": "YulTypedName",
"src": "6371:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "6466:4:1",
"nodeType": "YulIdentifier",
"src": "6466:4:1"
},
{
"name": "offset",
"nativeSrc": "6472:6:1",
"nodeType": "YulIdentifier",
"src": "6472:6:1"
},
{
"name": "zero_0",
"nativeSrc": "6480:6:1",
"nodeType": "YulIdentifier",
"src": "6480:6:1"
}
],
"functionName": {
"name": "update_storage_value_t_uint256_to_t_uint256",
"nativeSrc": "6422:43:1",
"nodeType": "YulIdentifier",
"src": "6422:43:1"
},
"nativeSrc": "6422:65:1",
"nodeType": "YulFunctionCall",
"src": "6422:65:1"
},
"nativeSrc": "6422:65:1",
"nodeType": "YulExpressionStatement",
"src": "6422:65:1"
}
]
},
"name": "storage_set_to_zero_t_uint256",
"nativeSrc": "6304:189:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "6343:4:1",
"nodeType": "YulTypedName",
"src": "6343:4:1",
"type": ""
},
{
"name": "offset",
"nativeSrc": "6349:6:1",
"nodeType": "YulTypedName",
"src": "6349:6:1",
"type": ""
}
],
"src": "6304:189:1"
},
{
"body": {
"nativeSrc": "6549:136:1",
"nodeType": "YulBlock",
"src": "6549:136:1",
"statements": [
{
"body": {
"nativeSrc": "6616:63:1",
"nodeType": "YulBlock",
"src": "6616:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "start",
"nativeSrc": "6660:5:1",
"nodeType": "YulIdentifier",
"src": "6660:5:1"
},
{
"kind": "number",
"nativeSrc": "6667:1:1",
"nodeType": "YulLiteral",
"src": "6667:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "storage_set_to_zero_t_uint256",
"nativeSrc": "6630:29:1",
"nodeType": "YulIdentifier",
"src": "6630:29:1"
},
"nativeSrc": "6630:39:1",
"nodeType": "YulFunctionCall",
"src": "6630:39:1"
},
"nativeSrc": "6630:39:1",
"nodeType": "YulExpressionStatement",
"src": "6630:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "start",
"nativeSrc": "6569:5:1",
"nodeType": "YulIdentifier",
"src": "6569:5:1"
},
{
"name": "end",
"nativeSrc": "6576:3:1",
"nodeType": "YulIdentifier",
"src": "6576:3:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "6566:2:1",
"nodeType": "YulIdentifier",
"src": "6566:2:1"
},
"nativeSrc": "6566:14:1",
"nodeType": "YulFunctionCall",
"src": "6566:14:1"
},
"nativeSrc": "6559:120:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "6581:26:1",
"nodeType": "YulBlock",
"src": "6581:26:1",
"statements": [
{
"nativeSrc": "6583:22:1",
"nodeType": "YulAssignment",
"src": "6583:22:1",
"value": {
"arguments": [
{
"name": "start",
"nativeSrc": "6596:5:1",
"nodeType": "YulIdentifier",
"src": "6596:5:1"
},
{
"kind": "number",
"nativeSrc": "6603:1:1",
"nodeType": "YulLiteral",
"src": "6603:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "6592:3:1",
"nodeType": "YulIdentifier",
"src": "6592:3:1"
},
"nativeSrc": "6592:13:1",
"nodeType": "YulFunctionCall",
"src": "6592:13:1"
},
"variableNames": [
{
"name": "start",
"nativeSrc": "6583:5:1",
"nodeType": "YulIdentifier",
"src": "6583:5:1"
}
]
}
]
},
"pre": {
"nativeSrc": "6563:2:1",
"nodeType": "YulBlock",
"src": "6563:2:1",
"statements": []
},
"src": "6559:120:1"
}
]
},
"name": "clear_storage_range_t_bytes1",
"nativeSrc": "6499:186:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "start",
"nativeSrc": "6537:5:1",
"nodeType": "YulTypedName",
"src": "6537:5:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "6544:3:1",
"nodeType": "YulTypedName",
"src": "6544:3:1",
"type": ""
}
],
"src": "6499:186:1"
},
{
"body": {
"nativeSrc": "6770:464:1",
"nodeType": "YulBlock",
"src": "6770:464:1",
"statements": [
{
"body": {
"nativeSrc": "6796:431:1",
"nodeType": "YulBlock",
"src": "6796:431:1",
"statements": [
{
"nativeSrc": "6810:54:1",
"nodeType": "YulVariableDeclaration",
"src": "6810:54:1",
"value": {
"arguments": [
{
"name": "array",
"nativeSrc": "6858:5:1",
"nodeType": "YulIdentifier",
"src": "6858:5:1"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nativeSrc": "6826:31:1",
"nodeType": "YulIdentifier",
"src": "6826:31:1"
},
"nativeSrc": "6826:38:1",
"nodeType": "YulFunctionCall",
"src": "6826:38:1"
},
"variables": [
{
"name": "dataArea",
"nativeSrc": "6814:8:1",
"nodeType": "YulTypedName",
"src": "6814:8:1",
"type": ""
}
]
},
{
"nativeSrc": "6877:63:1",
"nodeType": "YulVariableDeclaration",
"src": "6877:63:1",
"value": {
"arguments": [
{
"name": "dataArea",
"nativeSrc": "6900:8:1",
"nodeType": "YulIdentifier",
"src": "6900:8:1"
},
{
"arguments": [
{
"name": "startIndex",
"nativeSrc": "6928:10:1",
"nodeType": "YulIdentifier",
"src": "6928:10:1"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nativeSrc": "6910:17:1",
"nodeType": "YulIdentifier",
"src": "6910:17:1"
},
"nativeSrc": "6910:29:1",
"nodeType": "YulFunctionCall",
"src": "6910:29:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "6896:3:1",
"nodeType": "YulIdentifier",
"src": "6896:3:1"
},
"nativeSrc": "6896:44:1",
"nodeType": "YulFunctionCall",
"src": "6896:44:1"
},
"variables": [
{
"name": "deleteStart",
"nativeSrc": "6881:11:1",
"nodeType": "YulTypedName",
"src": "6881:11:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "7097:27:1",
"nodeType": "YulBlock",
"src": "7097:27:1",
"statements": [
{
"nativeSrc": "7099:23:1",
"nodeType": "YulAssignment",
"src": "7099:23:1",
"value": {
"name": "dataArea",
"nativeSrc": "7114:8:1",
"nodeType": "YulIdentifier",
"src": "7114:8:1"
},
"variableNames": [
{
"name": "deleteStart",
"nativeSrc": "7099:11:1",
"nodeType": "YulIdentifier",
"src": "7099:11:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "startIndex",
"nativeSrc": "7081:10:1",
"nodeType": "YulIdentifier",
"src": "7081:10:1"
},
{
"kind": "number",
"nativeSrc": "7093:2:1",
"nodeType": "YulLiteral",
"src": "7093:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "7078:2:1",
"nodeType": "YulIdentifier",
"src": "7078:2:1"
},
"nativeSrc": "7078:18:1",
"nodeType": "YulFunctionCall",
"src": "7078:18:1"
},
"nativeSrc": "7075:49:1",
"nodeType": "YulIf",
"src": "7075:49:1"
},
{
"expression": {
"arguments": [
{
"name": "deleteStart",
"nativeSrc": "7166:11:1",
"nodeType": "YulIdentifier",
"src": "7166:11:1"
},
{
"arguments": [
{
"name": "dataArea",
"nativeSrc": "7183:8:1",
"nodeType": "YulIdentifier",
"src": "7183:8:1"
},
{
"arguments": [
{
"name": "len",
"nativeSrc": "7211:3:1",
"nodeType": "YulIdentifier",
"src": "7211:3:1"
}
],
"functionName": {
"name": "divide_by_32_ceil",
"nativeSrc": "7193:17:1",
"nodeType": "YulIdentifier",
"src": "7193:17:1"
},
"nativeSrc": "7193:22:1",
"nodeType": "YulFunctionCall",
"src": "7193:22:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7179:3:1",
"nodeType": "YulIdentifier",
"src": "7179:3:1"
},
"nativeSrc": "7179:37:1",
"nodeType": "YulFunctionCall",
"src": "7179:37:1"
}
],
"functionName": {
"name": "clear_storage_range_t_bytes1",
"nativeSrc": "7137:28:1",
"nodeType": "YulIdentifier",
"src": "7137:28:1"
},
"nativeSrc": "7137:80:1",
"nodeType": "YulFunctionCall",
"src": "7137:80:1"
},
"nativeSrc": "7137:80:1",
"nodeType": "YulExpressionStatement",
"src": "7137:80:1"
}
]
},
"condition": {
"arguments": [
{
"name": "len",
"nativeSrc": "6787:3:1",
"nodeType": "YulIdentifier",
"src": "6787:3:1"
},
{
"kind": "number",
"nativeSrc": "6792:2:1",
"nodeType": "YulLiteral",
"src": "6792:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "6784:2:1",
"nodeType": "YulIdentifier",
"src": "6784:2:1"
},
"nativeSrc": "6784:11:1",
"nodeType": "YulFunctionCall",
"src": "6784:11:1"
},
"nativeSrc": "6781:446:1",
"nodeType": "YulIf",
"src": "6781:446:1"
}
]
},
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nativeSrc": "6691:543:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "array",
"nativeSrc": "6746:5:1",
"nodeType": "YulTypedName",
"src": "6746:5:1",
"type": ""
},
{
"name": "len",
"nativeSrc": "6753:3:1",
"nodeType": "YulTypedName",
"src": "6753:3:1",
"type": ""
},
{
"name": "startIndex",
"nativeSrc": "6758:10:1",
"nodeType": "YulTypedName",
"src": "6758:10:1",
"type": ""
}
],
"src": "6691:543:1"
},
{
"body": {
"nativeSrc": "7303:54:1",
"nodeType": "YulBlock",
"src": "7303:54:1",
"statements": [
{
"nativeSrc": "7313:37:1",
"nodeType": "YulAssignment",
"src": "7313:37:1",
"value": {
"arguments": [
{
"name": "bits",
"nativeSrc": "7338:4:1",
"nodeType": "YulIdentifier",
"src": "7338:4:1"
},
{
"name": "value",
"nativeSrc": "7344:5:1",
"nodeType": "YulIdentifier",
"src": "7344:5:1"
}
],
"functionName": {
"name": "shr",
"nativeSrc": "7334:3:1",
"nodeType": "YulIdentifier",
"src": "7334:3:1"
},
"nativeSrc": "7334:16:1",
"nodeType": "YulFunctionCall",
"src": "7334:16:1"
},
"variableNames": [
{
"name": "newValue",
"nativeSrc": "7313:8:1",
"nodeType": "YulIdentifier",
"src": "7313:8:1"
}
]
}
]
},
"name": "shift_right_unsigned_dynamic",
"nativeSrc": "7240:117:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nativeSrc": "7278:4:1",
"nodeType": "YulTypedName",
"src": "7278:4:1",
"type": ""
},
{
"name": "value",
"nativeSrc": "7284:5:1",
"nodeType": "YulTypedName",
"src": "7284:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nativeSrc": "7294:8:1",
"nodeType": "YulTypedName",
"src": "7294:8:1",
"type": ""
}
],
"src": "7240:117:1"
},
{
"body": {
"nativeSrc": "7414:118:1",
"nodeType": "YulBlock",
"src": "7414:118:1",
"statements": [
{
"nativeSrc": "7424:68:1",
"nodeType": "YulVariableDeclaration",
"src": "7424:68:1",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"kind": "number",
"nativeSrc": "7473:1:1",
"nodeType": "YulLiteral",
"src": "7473:1:1",
"type": "",
"value": "8"
},
{
"name": "bytes",
"nativeSrc": "7476:5:1",
"nodeType": "YulIdentifier",
"src": "7476:5:1"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "7469:3:1",
"nodeType": "YulIdentifier",
"src": "7469:3:1"
},
"nativeSrc": "7469:13:1",
"nodeType": "YulFunctionCall",
"src": "7469:13:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "7488:1:1",
"nodeType": "YulLiteral",
"src": "7488:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "not",
"nativeSrc": "7484:3:1",
"nodeType": "YulIdentifier",
"src": "7484:3:1"
},
"nativeSrc": "7484:6:1",
"nodeType": "YulFunctionCall",
"src": "7484:6:1"
}
],
"functionName": {
"name": "shift_right_unsigned_dynamic",
"nativeSrc": "7440:28:1",
"nodeType": "YulIdentifier",
"src": "7440:28:1"
},
"nativeSrc": "7440:51:1",
"nodeType": "YulFunctionCall",
"src": "7440:51:1"
}
],
"functionName": {
"name": "not",
"nativeSrc": "7436:3:1",
"nodeType": "YulIdentifier",
"src": "7436:3:1"
},
"nativeSrc": "7436:56:1",
"nodeType": "YulFunctionCall",
"src": "7436:56:1"
},
"variables": [
{
"name": "mask",
"nativeSrc": "7428:4:1",
"nodeType": "YulTypedName",
"src": "7428:4:1",
"type": ""
}
]
},
{
"nativeSrc": "7501:25:1",
"nodeType": "YulAssignment",
"src": "7501:25:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "7515:4:1",
"nodeType": "YulIdentifier",
"src": "7515:4:1"
},
{
"name": "mask",
"nativeSrc": "7521:4:1",
"nodeType": "YulIdentifier",
"src": "7521:4:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "7511:3:1",
"nodeType": "YulIdentifier",
"src": "7511:3:1"
},
"nativeSrc": "7511:15:1",
"nodeType": "YulFunctionCall",
"src": "7511:15:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "7501:6:1",
"nodeType": "YulIdentifier",
"src": "7501:6:1"
}
]
}
]
},
"name": "mask_bytes_dynamic",
"nativeSrc": "7363:169:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "7391:4:1",
"nodeType": "YulTypedName",
"src": "7391:4:1",
"type": ""
},
{
"name": "bytes",
"nativeSrc": "7397:5:1",
"nodeType": "YulTypedName",
"src": "7397:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "7407:6:1",
"nodeType": "YulTypedName",
"src": "7407:6:1",
"type": ""
}
],
"src": "7363:169:1"
},
{
"body": {
"nativeSrc": "7618:214:1",
"nodeType": "YulBlock",
"src": "7618:214:1",
"statements": [
{
"nativeSrc": "7751:37:1",
"nodeType": "YulAssignment",
"src": "7751:37:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "7778:4:1",
"nodeType": "YulIdentifier",
"src": "7778:4:1"
},
{
"name": "len",
"nativeSrc": "7784:3:1",
"nodeType": "YulIdentifier",
"src": "7784:3:1"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nativeSrc": "7759:18:1",
"nodeType": "YulIdentifier",
"src": "7759:18:1"
},
"nativeSrc": "7759:29:1",
"nodeType": "YulFunctionCall",
"src": "7759:29:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "7751:4:1",
"nodeType": "YulIdentifier",
"src": "7751:4:1"
}
]
},
{
"nativeSrc": "7797:29:1",
"nodeType": "YulAssignment",
"src": "7797:29:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "7808:4:1",
"nodeType": "YulIdentifier",
"src": "7808:4:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "7818:1:1",
"nodeType": "YulLiteral",
"src": "7818:1:1",
"type": "",
"value": "2"
},
{
"name": "len",
"nativeSrc": "7821:3:1",
"nodeType": "YulIdentifier",
"src": "7821:3:1"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "7814:3:1",
"nodeType": "YulIdentifier",
"src": "7814:3:1"
},
"nativeSrc": "7814:11:1",
"nodeType": "YulFunctionCall",
"src": "7814:11:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "7805:2:1",
"nodeType": "YulIdentifier",
"src": "7805:2:1"
},
"nativeSrc": "7805:21:1",
"nodeType": "YulFunctionCall",
"src": "7805:21:1"
},
"variableNames": [
{
"name": "used",
"nativeSrc": "7797:4:1",
"nodeType": "YulIdentifier",
"src": "7797:4:1"
}
]
}
]
},
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nativeSrc": "7537:295:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "7599:4:1",
"nodeType": "YulTypedName",
"src": "7599:4:1",
"type": ""
},
{
"name": "len",
"nativeSrc": "7605:3:1",
"nodeType": "YulTypedName",
"src": "7605:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "used",
"nativeSrc": "7613:4:1",
"nodeType": "YulTypedName",
"src": "7613:4:1",
"type": ""
}
],
"src": "7537:295:1"
},
{
"body": {
"nativeSrc": "7929:1303:1",
"nodeType": "YulBlock",
"src": "7929:1303:1",
"statements": [
{
"nativeSrc": "7940:51:1",
"nodeType": "YulVariableDeclaration",
"src": "7940:51:1",
"value": {
"arguments": [
{
"name": "src",
"nativeSrc": "7987:3:1",
"nodeType": "YulIdentifier",
"src": "7987:3:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "7954:32:1",
"nodeType": "YulIdentifier",
"src": "7954:32:1"
},
"nativeSrc": "7954:37:1",
"nodeType": "YulFunctionCall",
"src": "7954:37:1"
},
"variables": [
{
"name": "newLen",
"nativeSrc": "7944:6:1",
"nodeType": "YulTypedName",
"src": "7944:6:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "8076:22:1",
"nodeType": "YulBlock",
"src": "8076:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "8078:16:1",
"nodeType": "YulIdentifier",
"src": "8078:16:1"
},
"nativeSrc": "8078:18:1",
"nodeType": "YulFunctionCall",
"src": "8078:18:1"
},
"nativeSrc": "8078:18:1",
"nodeType": "YulExpressionStatement",
"src": "8078:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "8048:6:1",
"nodeType": "YulIdentifier",
"src": "8048:6:1"
},
{
"kind": "number",
"nativeSrc": "8056:18:1",
"nodeType": "YulLiteral",
"src": "8056:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "8045:2:1",
"nodeType": "YulIdentifier",
"src": "8045:2:1"
},
"nativeSrc": "8045:30:1",
"nodeType": "YulFunctionCall",
"src": "8045:30:1"
},
"nativeSrc": "8042:56:1",
"nodeType": "YulIf",
"src": "8042:56:1"
},
{
"nativeSrc": "8108:52:1",
"nodeType": "YulVariableDeclaration",
"src": "8108:52:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "slot",
"nativeSrc": "8154:4:1",
"nodeType": "YulIdentifier",
"src": "8154:4:1"
}
],
"functionName": {
"name": "sload",
"nativeSrc": "8148:5:1",
"nodeType": "YulIdentifier",
"src": "8148:5:1"
},
"nativeSrc": "8148:11:1",
"nodeType": "YulFunctionCall",
"src": "8148:11:1"
}
],
"functionName": {
"name": "extract_byte_array_length",
"nativeSrc": "8122:25:1",
"nodeType": "YulIdentifier",
"src": "8122:25:1"
},
"nativeSrc": "8122:38:1",
"nodeType": "YulFunctionCall",
"src": "8122:38:1"
},
"variables": [
{
"name": "oldLen",
"nativeSrc": "8112:6:1",
"nodeType": "YulTypedName",
"src": "8112:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "8253:4:1",
"nodeType": "YulIdentifier",
"src": "8253:4:1"
},
{
"name": "oldLen",
"nativeSrc": "8259:6:1",
"nodeType": "YulIdentifier",
"src": "8259:6:1"
},
{
"name": "newLen",
"nativeSrc": "8267:6:1",
"nodeType": "YulIdentifier",
"src": "8267:6:1"
}
],
"functionName": {
"name": "clean_up_bytearray_end_slots_t_string_storage",
"nativeSrc": "8207:45:1",
"nodeType": "YulIdentifier",
"src": "8207:45:1"
},
"nativeSrc": "8207:67:1",
"nodeType": "YulFunctionCall",
"src": "8207:67:1"
},
"nativeSrc": "8207:67:1",
"nodeType": "YulExpressionStatement",
"src": "8207:67:1"
},
{
"nativeSrc": "8284:18:1",
"nodeType": "YulVariableDeclaration",
"src": "8284:18:1",
"value": {
"kind": "number",
"nativeSrc": "8301:1:1",
"nodeType": "YulLiteral",
"src": "8301:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "srcOffset",
"nativeSrc": "8288:9:1",
"nodeType": "YulTypedName",
"src": "8288:9:1",
"type": ""
}
]
},
{
"nativeSrc": "8312:17:1",
"nodeType": "YulAssignment",
"src": "8312:17:1",
"value": {
"kind": "number",
"nativeSrc": "8325:4:1",
"nodeType": "YulLiteral",
"src": "8325:4:1",
"type": "",
"value": "0x20"
},
"variableNames": [
{
"name": "srcOffset",
"nativeSrc": "8312:9:1",
"nodeType": "YulIdentifier",
"src": "8312:9:1"
}
]
},
{
"cases": [
{
"body": {
"nativeSrc": "8376:611:1",
"nodeType": "YulBlock",
"src": "8376:611:1",
"statements": [
{
"nativeSrc": "8390:37:1",
"nodeType": "YulVariableDeclaration",
"src": "8390:37:1",
"value": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "8409:6:1",
"nodeType": "YulIdentifier",
"src": "8409:6:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "8421:4:1",
"nodeType": "YulLiteral",
"src": "8421:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "not",
"nativeSrc": "8417:3:1",
"nodeType": "YulIdentifier",
"src": "8417:3:1"
},
"nativeSrc": "8417:9:1",
"nodeType": "YulFunctionCall",
"src": "8417:9:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "8405:3:1",
"nodeType": "YulIdentifier",
"src": "8405:3:1"
},
"nativeSrc": "8405:22:1",
"nodeType": "YulFunctionCall",
"src": "8405:22:1"
},
"variables": [
{
"name": "loopEnd",
"nativeSrc": "8394:7:1",
"nodeType": "YulTypedName",
"src": "8394:7:1",
"type": ""
}
]
},
{
"nativeSrc": "8441:51:1",
"nodeType": "YulVariableDeclaration",
"src": "8441:51:1",
"value": {
"arguments": [
{
"name": "slot",
"nativeSrc": "8487:4:1",
"nodeType": "YulIdentifier",
"src": "8487:4:1"
}
],
"functionName": {
"name": "array_dataslot_t_string_storage",
"nativeSrc": "8455:31:1",
"nodeType": "YulIdentifier",
"src": "8455:31:1"
},
"nativeSrc": "8455:37:1",
"nodeType": "YulFunctionCall",
"src": "8455:37:1"
},
"variables": [
{
"name": "dstPtr",
"nativeSrc": "8445:6:1",
"nodeType": "YulTypedName",
"src": "8445:6:1",
"type": ""
}
]
},
{
"nativeSrc": "8505:10:1",
"nodeType": "YulVariableDeclaration",
"src": "8505:10:1",
"value": {
"kind": "number",
"nativeSrc": "8514:1:1",
"nodeType": "YulLiteral",
"src": "8514:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nativeSrc": "8509:1:1",
"nodeType": "YulTypedName",
"src": "8509:1:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "8573:163:1",
"nodeType": "YulBlock",
"src": "8573:163:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "8598:6:1",
"nodeType": "YulIdentifier",
"src": "8598:6:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "8616:3:1",
"nodeType": "YulIdentifier",
"src": "8616:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "8621:9:1",
"nodeType": "YulIdentifier",
"src": "8621:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8612:3:1",
"nodeType": "YulIdentifier",
"src": "8612:3:1"
},
"nativeSrc": "8612:19:1",
"nodeType": "YulFunctionCall",
"src": "8612:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "8606:5:1",
"nodeType": "YulIdentifier",
"src": "8606:5:1"
},
"nativeSrc": "8606:26:1",
"nodeType": "YulFunctionCall",
"src": "8606:26:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "8591:6:1",
"nodeType": "YulIdentifier",
"src": "8591:6:1"
},
"nativeSrc": "8591:42:1",
"nodeType": "YulFunctionCall",
"src": "8591:42:1"
},
"nativeSrc": "8591:42:1",
"nodeType": "YulExpressionStatement",
"src": "8591:42:1"
},
{
"nativeSrc": "8650:24:1",
"nodeType": "YulAssignment",
"src": "8650:24:1",
"value": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "8664:6:1",
"nodeType": "YulIdentifier",
"src": "8664:6:1"
},
{
"kind": "number",
"nativeSrc": "8672:1:1",
"nodeType": "YulLiteral",
"src": "8672:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8660:3:1",
"nodeType": "YulIdentifier",
"src": "8660:3:1"
},
"nativeSrc": "8660:14:1",
"nodeType": "YulFunctionCall",
"src": "8660:14:1"
},
"variableNames": [
{
"name": "dstPtr",
"nativeSrc": "8650:6:1",
"nodeType": "YulIdentifier",
"src": "8650:6:1"
}
]
},
{
"nativeSrc": "8691:31:1",
"nodeType": "YulAssignment",
"src": "8691:31:1",
"value": {
"arguments": [
{
"name": "srcOffset",
"nativeSrc": "8708:9:1",
"nodeType": "YulIdentifier",
"src": "8708:9:1"
},
{
"kind": "number",
"nativeSrc": "8719:2:1",
"nodeType": "YulLiteral",
"src": "8719:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8704:3:1",
"nodeType": "YulIdentifier",
"src": "8704:3:1"
},
"nativeSrc": "8704:18:1",
"nodeType": "YulFunctionCall",
"src": "8704:18:1"
},
"variableNames": [
{
"name": "srcOffset",
"nativeSrc": "8691:9:1",
"nodeType": "YulIdentifier",
"src": "8691:9:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nativeSrc": "8539:1:1",
"nodeType": "YulIdentifier",
"src": "8539:1:1"
},
{
"name": "loopEnd",
"nativeSrc": "8542:7:1",
"nodeType": "YulIdentifier",
"src": "8542:7:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "8536:2:1",
"nodeType": "YulIdentifier",
"src": "8536:2:1"
},
"nativeSrc": "8536:14:1",
"nodeType": "YulFunctionCall",
"src": "8536:14:1"
},
"nativeSrc": "8528:208:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "8551:21:1",
"nodeType": "YulBlock",
"src": "8551:21:1",
"statements": [
{
"nativeSrc": "8553:17:1",
"nodeType": "YulAssignment",
"src": "8553:17:1",
"value": {
"arguments": [
{
"name": "i",
"nativeSrc": "8562:1:1",
"nodeType": "YulIdentifier",
"src": "8562:1:1"
},
{
"kind": "number",
"nativeSrc": "8565:4:1",
"nodeType": "YulLiteral",
"src": "8565:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8558:3:1",
"nodeType": "YulIdentifier",
"src": "8558:3:1"
},
"nativeSrc": "8558:12:1",
"nodeType": "YulFunctionCall",
"src": "8558:12:1"
},
"variableNames": [
{
"name": "i",
"nativeSrc": "8553:1:1",
"nodeType": "YulIdentifier",
"src": "8553:1:1"
}
]
}
]
},
"pre": {
"nativeSrc": "8532:3:1",
"nodeType": "YulBlock",
"src": "8532:3:1",
"statements": []
},
"src": "8528:208:1"
},
{
"body": {
"nativeSrc": "8772:156:1",
"nodeType": "YulBlock",
"src": "8772:156:1",
"statements": [
{
"nativeSrc": "8790:43:1",
"nodeType": "YulVariableDeclaration",
"src": "8790:43:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "8817:3:1",
"nodeType": "YulIdentifier",
"src": "8817:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "8822:9:1",
"nodeType": "YulIdentifier",
"src": "8822:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8813:3:1",
"nodeType": "YulIdentifier",
"src": "8813:3:1"
},
"nativeSrc": "8813:19:1",
"nodeType": "YulFunctionCall",
"src": "8813:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "8807:5:1",
"nodeType": "YulIdentifier",
"src": "8807:5:1"
},
"nativeSrc": "8807:26:1",
"nodeType": "YulFunctionCall",
"src": "8807:26:1"
},
"variables": [
{
"name": "lastValue",
"nativeSrc": "8794:9:1",
"nodeType": "YulTypedName",
"src": "8794:9:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "dstPtr",
"nativeSrc": "8857:6:1",
"nodeType": "YulIdentifier",
"src": "8857:6:1"
},
{
"arguments": [
{
"name": "lastValue",
"nativeSrc": "8884:9:1",
"nodeType": "YulIdentifier",
"src": "8884:9:1"
},
{
"arguments": [
{
"name": "newLen",
"nativeSrc": "8899:6:1",
"nodeType": "YulIdentifier",
"src": "8899:6:1"
},
{
"kind": "number",
"nativeSrc": "8907:4:1",
"nodeType": "YulLiteral",
"src": "8907:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "8895:3:1",
"nodeType": "YulIdentifier",
"src": "8895:3:1"
},
"nativeSrc": "8895:17:1",
"nodeType": "YulFunctionCall",
"src": "8895:17:1"
}
],
"functionName": {
"name": "mask_bytes_dynamic",
"nativeSrc": "8865:18:1",
"nodeType": "YulIdentifier",
"src": "8865:18:1"
},
"nativeSrc": "8865:48:1",
"nodeType": "YulFunctionCall",
"src": "8865:48:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "8850:6:1",
"nodeType": "YulIdentifier",
"src": "8850:6:1"
},
"nativeSrc": "8850:64:1",
"nodeType": "YulFunctionCall",
"src": "8850:64:1"
},
"nativeSrc": "8850:64:1",
"nodeType": "YulExpressionStatement",
"src": "8850:64:1"
}
]
},
"condition": {
"arguments": [
{
"name": "loopEnd",
"nativeSrc": "8755:7:1",
"nodeType": "YulIdentifier",
"src": "8755:7:1"
},
{
"name": "newLen",
"nativeSrc": "8764:6:1",
"nodeType": "YulIdentifier",
"src": "8764:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "8752:2:1",
"nodeType": "YulIdentifier",
"src": "8752:2:1"
},
"nativeSrc": "8752:19:1",
"nodeType": "YulFunctionCall",
"src": "8752:19:1"
},
"nativeSrc": "8749:179:1",
"nodeType": "YulIf",
"src": "8749:179:1"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "8948:4:1",
"nodeType": "YulIdentifier",
"src": "8948:4:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "newLen",
"nativeSrc": "8962:6:1",
"nodeType": "YulIdentifier",
"src": "8962:6:1"
},
{
"kind": "number",
"nativeSrc": "8970:1:1",
"nodeType": "YulLiteral",
"src": "8970:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "8958:3:1",
"nodeType": "YulIdentifier",
"src": "8958:3:1"
},
"nativeSrc": "8958:14:1",
"nodeType": "YulFunctionCall",
"src": "8958:14:1"
},
{
"kind": "number",
"nativeSrc": "8974:1:1",
"nodeType": "YulLiteral",
"src": "8974:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8954:3:1",
"nodeType": "YulIdentifier",
"src": "8954:3:1"
},
"nativeSrc": "8954:22:1",
"nodeType": "YulFunctionCall",
"src": "8954:22:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "8941:6:1",
"nodeType": "YulIdentifier",
"src": "8941:6:1"
},
"nativeSrc": "8941:36:1",
"nodeType": "YulFunctionCall",
"src": "8941:36:1"
},
"nativeSrc": "8941:36:1",
"nodeType": "YulExpressionStatement",
"src": "8941:36:1"
}
]
},
"nativeSrc": "8369:618:1",
"nodeType": "YulCase",
"src": "8369:618:1",
"value": {
"kind": "number",
"nativeSrc": "8374:1:1",
"nodeType": "YulLiteral",
"src": "8374:1:1",
"type": "",
"value": "1"
}
},
{
"body": {
"nativeSrc": "9004:222:1",
"nodeType": "YulBlock",
"src": "9004:222:1",
"statements": [
{
"nativeSrc": "9018:14:1",
"nodeType": "YulVariableDeclaration",
"src": "9018:14:1",
"value": {
"kind": "number",
"nativeSrc": "9031:1:1",
"nodeType": "YulLiteral",
"src": "9031:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "value",
"nativeSrc": "9022:5:1",
"nodeType": "YulTypedName",
"src": "9022:5:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "9055:67:1",
"nodeType": "YulBlock",
"src": "9055:67:1",
"statements": [
{
"nativeSrc": "9073:35:1",
"nodeType": "YulAssignment",
"src": "9073:35:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "9092:3:1",
"nodeType": "YulIdentifier",
"src": "9092:3:1"
},
{
"name": "srcOffset",
"nativeSrc": "9097:9:1",
"nodeType": "YulIdentifier",
"src": "9097:9:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9088:3:1",
"nodeType": "YulIdentifier",
"src": "9088:3:1"
},
"nativeSrc": "9088:19:1",
"nodeType": "YulFunctionCall",
"src": "9088:19:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "9082:5:1",
"nodeType": "YulIdentifier",
"src": "9082:5:1"
},
"nativeSrc": "9082:26:1",
"nodeType": "YulFunctionCall",
"src": "9082:26:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "9073:5:1",
"nodeType": "YulIdentifier",
"src": "9073:5:1"
}
]
}
]
},
"condition": {
"name": "newLen",
"nativeSrc": "9048:6:1",
"nodeType": "YulIdentifier",
"src": "9048:6:1"
},
"nativeSrc": "9045:77:1",
"nodeType": "YulIf",
"src": "9045:77:1"
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "9142:4:1",
"nodeType": "YulIdentifier",
"src": "9142:4:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "9201:5:1",
"nodeType": "YulIdentifier",
"src": "9201:5:1"
},
{
"name": "newLen",
"nativeSrc": "9208:6:1",
"nodeType": "YulIdentifier",
"src": "9208:6:1"
}
],
"functionName": {
"name": "extract_used_part_and_set_length_of_short_byte_array",
"nativeSrc": "9148:52:1",
"nodeType": "YulIdentifier",
"src": "9148:52:1"
},
"nativeSrc": "9148:67:1",
"nodeType": "YulFunctionCall",
"src": "9148:67:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "9135:6:1",
"nodeType": "YulIdentifier",
"src": "9135:6:1"
},
"nativeSrc": "9135:81:1",
"nodeType": "YulFunctionCall",
"src": "9135:81:1"
},
"nativeSrc": "9135:81:1",
"nodeType": "YulExpressionStatement",
"src": "9135:81:1"
}
]
},
"nativeSrc": "8996:230:1",
"nodeType": "YulCase",
"src": "8996:230:1",
"value": "default"
}
],
"expression": {
"arguments": [
{
"name": "newLen",
"nativeSrc": "8349:6:1",
"nodeType": "YulIdentifier",
"src": "8349:6:1"
},
{
"kind": "number",
"nativeSrc": "8357:2:1",
"nodeType": "YulLiteral",
"src": "8357:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "8346:2:1",
"nodeType": "YulIdentifier",
"src": "8346:2:1"
},
"nativeSrc": "8346:14:1",
"nodeType": "YulFunctionCall",
"src": "8346:14:1"
},
"nativeSrc": "8339:887:1",
"nodeType": "YulSwitch",
"src": "8339:887:1"
}
]
},
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage",
"nativeSrc": "7837:1395:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "7918:4:1",
"nodeType": "YulTypedName",
"src": "7918:4:1",
"type": ""
},
{
"name": "src",
"nativeSrc": "7924:3:1",
"nodeType": "YulTypedName",
"src": "7924:3:1",
"type": ""
}
],
"src": "7837:1395:1"
}
]
},
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function 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 panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n}\n",
"id": 1,
"language": "Yul",
"name": "#utility.yul"
}
],
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561000f575f80fd5b5060043610610034575f3560e01c80635a9b0b8914610038578063937f6e7714610056575b5f80fd5b610040610072565b60405161004d919061019d565b60405180910390f35b610070600480360381019061006b91906102fa565b610101565b005b60605f80546100809061036e565b80601f01602080910402602001604051908101604052809291908181526020018280546100ac9061036e565b80156100f75780601f106100ce576101008083540402835291602001916100f7565b820191905f5260205f20905b8154815290600101906020018083116100da57829003601f168201915b5050505050905090565b805f908161010f9190610544565b5050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561014a57808201518184015260208101905061012f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61016f82610113565b610179818561011d565b935061018981856020860161012d565b61019281610155565b840191505092915050565b5f6020820190508181035f8301526101b58184610165565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61020c82610155565b810181811067ffffffffffffffff8211171561022b5761022a6101d6565b5b80604052505050565b5f61023d6101bd565b90506102498282610203565b919050565b5f67ffffffffffffffff821115610268576102676101d6565b5b61027182610155565b9050602081019050919050565b828183375f83830152505050565b5f61029e6102998461024e565b610234565b9050828152602081018484840111156102ba576102b96101d2565b5b6102c584828561027e565b509392505050565b5f82601f8301126102e1576102e06101ce565b5b81356102f184826020860161028c565b91505092915050565b5f6020828403121561030f5761030e6101c6565b5b5f82013567ffffffffffffffff81111561032c5761032b6101ca565b5b610338848285016102cd565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061038557607f821691505b60208210810361039857610397610341565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026103fa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826103bf565b61040486836103bf565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61044861044361043e8461041c565b610425565b61041c565b9050919050565b5f819050919050565b6104618361042e565b61047561046d8261044f565b8484546103cb565b825550505050565b5f90565b61048961047d565b610494818484610458565b505050565b5b818110156104b7576104ac5f82610481565b60018101905061049a565b5050565b601f8211156104fc576104cd8161039e565b6104d6846103b0565b810160208510156104e5578190505b6104f96104f1856103b0565b830182610499565b50505b505050565b5f82821c905092915050565b5f61051c5f1984600802610501565b1980831691505092915050565b5f610534838361050d565b9150826002028217905092915050565b61054d82610113565b67ffffffffffffffff811115610566576105656101d6565b5b610570825461036e565b61057b8282856104bb565b5f60209050601f8311600181146105ac575f841561059a578287015190505b6105a48582610529565b86555061060b565b601f1984166105ba8661039e565b5f5b828110156105e1578489015182556001820191506020850194506020810190506105bc565b868310156105fe57848901516105fa601f89168261050d565b8355505b6001600288020188555050505b50505050505056fea26469706673582212203925575c04d9a3f6c3dfa24ab0bb1f4058483c0de30f1a95bd2c0230e0ed9f8064736f6c63430008150033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x34 JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x5A9B0B89 EQ PUSH2 0x38 JUMPI DUP1 PUSH4 0x937F6E77 EQ PUSH2 0x56 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x40 PUSH2 0x72 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x4D SWAP2 SWAP1 PUSH2 0x19D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x70 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6B SWAP2 SWAP1 PUSH2 0x2FA JUMP JUMPDEST PUSH2 0x101 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x60 PUSH0 DUP1 SLOAD PUSH2 0x80 SWAP1 PUSH2 0x36E 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 0xAC SWAP1 PUSH2 0x36E JUMP JUMPDEST DUP1 ISZERO PUSH2 0xF7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xCE JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xF7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xDA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH0 SWAP1 DUP2 PUSH2 0x10F SWAP2 SWAP1 PUSH2 0x544 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x14A JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x12F JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x16F DUP3 PUSH2 0x113 JUMP JUMPDEST PUSH2 0x179 DUP2 DUP6 PUSH2 0x11D JUMP JUMPDEST SWAP4 POP PUSH2 0x189 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x12D JUMP JUMPDEST PUSH2 0x192 DUP2 PUSH2 0x155 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x1B5 DUP2 DUP5 PUSH2 0x165 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x20C DUP3 PUSH2 0x155 JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x22B JUMPI PUSH2 0x22A PUSH2 0x1D6 JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x23D PUSH2 0x1BD JUMP JUMPDEST SWAP1 POP PUSH2 0x249 DUP3 DUP3 PUSH2 0x203 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x268 JUMPI PUSH2 0x267 PUSH2 0x1D6 JUMP JUMPDEST JUMPDEST PUSH2 0x271 DUP3 PUSH2 0x155 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x29E PUSH2 0x299 DUP5 PUSH2 0x24E JUMP JUMPDEST PUSH2 0x234 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x2BA JUMPI PUSH2 0x2B9 PUSH2 0x1D2 JUMP JUMPDEST JUMPDEST PUSH2 0x2C5 DUP5 DUP3 DUP6 PUSH2 0x27E JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x2E1 JUMPI PUSH2 0x2E0 PUSH2 0x1CE JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x2F1 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x28C JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x30F JUMPI PUSH2 0x30E PUSH2 0x1C6 JUMP JUMPDEST JUMPDEST PUSH0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x32C JUMPI PUSH2 0x32B PUSH2 0x1CA JUMP JUMPDEST JUMPDEST PUSH2 0x338 DUP5 DUP3 DUP6 ADD PUSH2 0x2CD JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x385 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x398 JUMPI PUSH2 0x397 PUSH2 0x341 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP DUP2 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x8 DUP4 MUL PUSH2 0x3FA PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0x3BF JUMP JUMPDEST PUSH2 0x404 DUP7 DUP4 PUSH2 0x3BF JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x448 PUSH2 0x443 PUSH2 0x43E DUP5 PUSH2 0x41C JUMP JUMPDEST PUSH2 0x425 JUMP JUMPDEST PUSH2 0x41C JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x461 DUP4 PUSH2 0x42E JUMP JUMPDEST PUSH2 0x475 PUSH2 0x46D DUP3 PUSH2 0x44F JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0x3CB JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH0 SWAP1 JUMP JUMPDEST PUSH2 0x489 PUSH2 0x47D JUMP JUMPDEST PUSH2 0x494 DUP2 DUP5 DUP5 PUSH2 0x458 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x4B7 JUMPI PUSH2 0x4AC PUSH0 DUP3 PUSH2 0x481 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x49A JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x4FC JUMPI PUSH2 0x4CD DUP2 PUSH2 0x39E JUMP JUMPDEST PUSH2 0x4D6 DUP5 PUSH2 0x3B0 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0x4E5 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0x4F9 PUSH2 0x4F1 DUP6 PUSH2 0x3B0 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0x499 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x51C PUSH0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0x501 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0x534 DUP4 DUP4 PUSH2 0x50D JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x54D DUP3 PUSH2 0x113 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x566 JUMPI PUSH2 0x565 PUSH2 0x1D6 JUMP JUMPDEST JUMPDEST PUSH2 0x570 DUP3 SLOAD PUSH2 0x36E JUMP JUMPDEST PUSH2 0x57B DUP3 DUP3 DUP6 PUSH2 0x4BB JUMP JUMPDEST PUSH0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x5AC JUMPI PUSH0 DUP5 ISZERO PUSH2 0x59A JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0x5A4 DUP6 DUP3 PUSH2 0x529 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0x60B JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0x5BA DUP7 PUSH2 0x39E JUMP JUMPDEST PUSH0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x5E1 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 0x5BC JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0x5FE JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0x5FA PUSH1 0x1F DUP10 AND DUP3 PUSH2 0x50D 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 INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CODECOPY 0x25 JUMPI 0x5C DIV 0xD9 LOG3 0xF6 0xC3 0xDF LOG2 0x4A 0xB0 0xBB 0x1F BLOCKHASH PC BASEFEE EXTCODECOPY 0xD 0xE3 0xF BYTE SWAP6 0xBD 0x2C MUL ADDRESS 0xE0 0xED SWAP16 DUP1 PUSH5 0x736F6C6343 STOP ADDMOD ISZERO STOP CALLER ",
"sourceMap": "58:219:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;201:74;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;112:83;152:13;184:4;177:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112:83;:::o;201:74::-;263:5;256:4;:12;;;;;;:::i;:::-;;201:74;:::o;7:99:1:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1349:75::-;1382:6;1415:2;1409:9;1399:19;;1349:75;:::o;1430:117::-;1539:1;1536;1529:12;1553:117;1662:1;1659;1652:12;1676:117;1785:1;1782;1775:12;1799:117;1908:1;1905;1898:12;1922:180;1970:77;1967:1;1960:88;2067:4;2064:1;2057:15;2091:4;2088:1;2081:15;2108:281;2191:27;2213:4;2191:27;:::i;:::-;2183:6;2179:40;2321:6;2309:10;2306:22;2285:18;2273:10;2270:34;2267:62;2264:88;;;2332:18;;:::i;:::-;2264:88;2372:10;2368:2;2361:22;2151:238;2108:281;;:::o;2395:129::-;2429:6;2456:20;;:::i;:::-;2446:30;;2485:33;2513:4;2505:6;2485:33;:::i;:::-;2395:129;;;:::o;2530:308::-;2592:4;2682:18;2674:6;2671:30;2668:56;;;2704:18;;:::i;:::-;2668:56;2742:29;2764:6;2742:29;:::i;:::-;2734:37;;2826:4;2820;2816:15;2808:23;;2530:308;;;:::o;2844:146::-;2941:6;2936:3;2931;2918:30;2982:1;2973:6;2968:3;2964:16;2957:27;2844:146;;;:::o;2996:425::-;3074:5;3099:66;3115:49;3157:6;3115:49;:::i;:::-;3099:66;:::i;:::-;3090:75;;3188:6;3181:5;3174:21;3226:4;3219:5;3215:16;3264:3;3255:6;3250:3;3246:16;3243:25;3240:112;;;3271:79;;:::i;:::-;3240:112;3361:54;3408:6;3403:3;3398;3361:54;:::i;:::-;3080:341;2996:425;;;;;:::o;3441:340::-;3497:5;3546:3;3539:4;3531:6;3527:17;3523:27;3513:122;;3554:79;;:::i;:::-;3513:122;3671:6;3658:20;3696:79;3771:3;3763:6;3756:4;3748:6;3744:17;3696:79;:::i;:::-;3687:88;;3503:278;3441:340;;;;:::o;3787:509::-;3856:6;3905:2;3893:9;3884:7;3880:23;3876:32;3873:119;;;3911:79;;:::i;:::-;3873:119;4059:1;4048:9;4044:17;4031:31;4089:18;4081:6;4078:30;4075:117;;;4111:79;;:::i;:::-;4075:117;4216:63;4271:7;4262:6;4251:9;4247:22;4216:63;:::i;:::-;4206:73;;4002:287;3787:509;;;;:::o;4302:180::-;4350:77;4347:1;4340:88;4447:4;4444:1;4437:15;4471:4;4468:1;4461:15;4488:320;4532:6;4569:1;4563:4;4559:12;4549:22;;4616:1;4610:4;4606:12;4637:18;4627:81;;4693:4;4685:6;4681:17;4671:27;;4627:81;4755:2;4747:6;4744:14;4724:18;4721:38;4718:84;;4774:18;;:::i;:::-;4718:84;4539:269;4488:320;;;:::o;4814:141::-;4863:4;4886:3;4878:11;;4909:3;4906:1;4899:14;4943:4;4940:1;4930:18;4922:26;;4814:141;;;:::o;4961:93::-;4998:6;5045:2;5040;5033:5;5029:14;5025:23;5015:33;;4961:93;;;:::o;5060:107::-;5104:8;5154:5;5148:4;5144:16;5123:37;;5060:107;;;;:::o;5173:393::-;5242:6;5292:1;5280:10;5276:18;5315:97;5345:66;5334:9;5315:97;:::i;:::-;5433:39;5463:8;5452:9;5433:39;:::i;:::-;5421:51;;5505:4;5501:9;5494:5;5490:21;5481:30;;5554:4;5544:8;5540:19;5533:5;5530:30;5520:40;;5249:317;;5173:393;;;;;:::o;5572:77::-;5609:7;5638:5;5627:16;;5572:77;;;:::o;5655:60::-;5683:3;5704:5;5697:12;;5655:60;;;:::o;5721:142::-;5771:9;5804:53;5822:34;5831:24;5849:5;5831:24;:::i;:::-;5822:34;:::i;:::-;5804:53;:::i;:::-;5791:66;;5721:142;;;:::o;5869:75::-;5912:3;5933:5;5926:12;;5869:75;;;:::o;5950:269::-;6060:39;6091:7;6060:39;:::i;:::-;6121:91;6170:41;6194:16;6170:41;:::i;:::-;6162:6;6155:4;6149:11;6121:91;:::i;:::-;6115:4;6108:105;6026:193;5950:269;;;:::o;6225:73::-;6270:3;6225:73;:::o;6304:189::-;6381:32;;:::i;:::-;6422:65;6480:6;6472;6466:4;6422:65;:::i;:::-;6357:136;6304:189;;:::o;6499:186::-;6559:120;6576:3;6569:5;6566:14;6559:120;;;6630:39;6667:1;6660:5;6630:39;:::i;:::-;6603:1;6596:5;6592:13;6583:22;;6559:120;;;6499:186;;:::o;6691:543::-;6792:2;6787:3;6784:11;6781:446;;;6826:38;6858:5;6826:38;:::i;:::-;6910:29;6928:10;6910:29;:::i;:::-;6900:8;6896:44;7093:2;7081:10;7078:18;7075:49;;;7114:8;7099:23;;7075:49;7137:80;7193:22;7211:3;7193:22;:::i;:::-;7183:8;7179:37;7166:11;7137:80;:::i;:::-;6796:431;;6781:446;6691:543;;;:::o;7240:117::-;7294:8;7344:5;7338:4;7334:16;7313:37;;7240:117;;;;:::o;7363:169::-;7407:6;7440:51;7488:1;7484:6;7476:5;7473:1;7469:13;7440:51;:::i;:::-;7436:56;7521:4;7515;7511:15;7501:25;;7414:118;7363:169;;;;:::o;7537:295::-;7613:4;7759:29;7784:3;7778:4;7759:29;:::i;:::-;7751:37;;7821:3;7818:1;7814:11;7808:4;7805:21;7797:29;;7537:295;;;;:::o;7837:1395::-;7954:37;7987:3;7954:37;:::i;:::-;8056:18;8048:6;8045:30;8042:56;;;8078:18;;:::i;:::-;8042:56;8122:38;8154:4;8148:11;8122:38;:::i;:::-;8207:67;8267:6;8259;8253:4;8207:67;:::i;:::-;8301:1;8325:4;8312:17;;8357:2;8349:6;8346:14;8374:1;8369:618;;;;9031:1;9048:6;9045:77;;;9097:9;9092:3;9088:19;9082:26;9073:35;;9045:77;9148:67;9208:6;9201:5;9148:67;:::i;:::-;9142:4;9135:81;9004:222;8339:887;;8369:618;8421:4;8417:9;8409:6;8405:22;8455:37;8487:4;8455:37;:::i;:::-;8514:1;8528:208;8542:7;8539:1;8536:14;8528:208;;;8621:9;8616:3;8612:19;8606:26;8598:6;8591:42;8672:1;8664:6;8660:14;8650:24;;8719:2;8708:9;8704:18;8691:31;;8565:4;8562:1;8558:12;8553:17;;8528:208;;;8764:6;8755:7;8752:19;8749:179;;;8822:9;8817:3;8813:19;8807:26;8865:48;8907:4;8899:6;8895:17;8884:9;8865:48;:::i;:::-;8857:6;8850:64;8772:156;8749:179;8974:1;8970;8962:6;8958:14;8954:22;8948:4;8941:36;8376:611;;;8339:887;;7929:1303;;;7837:1395;;:::o"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "321800",
"executionCost": "360",
"totalCost": "322160"
},
"external": {
"getInfo()": "infinite",
"setInfo(string)": "infinite"
}
},
"methodIdentifiers": {
"getInfo()": "5a9b0b89",
"setInfo(string)": "937f6e77"
}
},
"abi": [
{
"inputs": [],
"name": "getInfo",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_info",
"type": "string"
}
],
"name": "setInfo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
}
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {Client} from "@chainlink/contracts-ccip/src/v0.8/ccip/libraries/Client.sol";
import {IERC20} from "@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.0/token/ERC20/IERC20.sol";
import {LinkTokenInterface} from "@chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol";
contract CCIPTokenSenderFujiSepolia {
IRouterClient router;
LinkTokenInterface linkToken;
address public owner;
// https://docs.chain.link/resources/link-token-contracts#fuji-testnet
address link= 0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846;
// https://docs.chain.link/ccip/supported-networks/v1_2_0/testnet#avalanche-fuji
address routerAddress = 0xF694E193200268f9a4868e4Aa017A0118C9a8177;
address bnmToken = 0xD21341536c5cF5EB1bcb58f6723cE26e8D8E90e4;
// https://docs.chain.link/ccip/supported-networks/v1_2_0/testnet#ethereum-sepolia
uint64 destinationChainSelector = 16015286601757825753;
error NotEnoughBalance(uint256 currentBalance, uint256 calculatedFees);
error NothingToWithdraw();
event TokensTransferred(
bytes32 indexed messageId, // The unique ID of the message.
uint64 indexed destinationChainSelector, // The chain selector of the destination chain.
address receiver, // The address of the receiver on the destination chain.
address token, // The token address that was transferred.
uint256 tokenAmount, // The token amount that was transferred.
address feeToken, // the token address used to pay CCIP fees.
uint256 fees // The fees paid for sending the message.
);
constructor() {
owner = msg.sender;
router = IRouterClient(routerAddress);
linkToken = LinkTokenInterface(link);
linkToken.approve(routerAddress, type(uint256).max);
}
function transferToSepolia(
address _receiver,
uint256 _amount
)
external
returns (bytes32 messageId)
{
Client.EVMTokenAmount[]
memory tokenAmounts = new Client.EVMTokenAmount[](1);
Client.EVMTokenAmount memory tokenAmount = Client.EVMTokenAmount({
token: bnmToken,
amount: _amount
});
tokenAmounts[0] = tokenAmount;
// Build the CCIP Message
Client.EVM2AnyMessage memory message = Client.EVM2AnyMessage({
receiver: abi.encode(_receiver),
data: "",
tokenAmounts: tokenAmounts,
extraArgs: Client._argsToBytes(
Client.EVMExtraArgsV1({gasLimit: 0})
),
feeToken: address(linkToken)
});
// CCIP Fees Management
uint256 fees = router.getFee(destinationChainSelector, message);
if (fees > linkToken.balanceOf(address(this)))
revert NotEnoughBalance(linkToken.balanceOf(address(this)), fees);
linkToken.approve(address(router), fees);
// Approve Router to spend CCIP-BnM tokens we send
IERC20(bnmToken).approve(address(router), _amount);
// Send CCIP Message
messageId = router.ccipSend(destinationChainSelector, message);
emit TokensTransferred(
messageId,
destinationChainSelector,
_receiver,
bnmToken,
_amount,
link,
fees
);
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function withdrawToken(
address _beneficiary,
address _token
) public onlyOwner {
uint256 amount = IERC20(_token).balanceOf(address(this));
if (amount == 0) revert NothingToWithdraw();
IERC20(_token).transfer(_beneficiary, amount);
}
}
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
contract Register {
string private info;
function getInfo() public view returns (string memory) {
return info;
}
function setInfo(string memory _info) public {
info = _info;
}
}
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
contract RegisterAccess {
string[] private info;
address public owner;
mapping (address => bool) public allowlist;
constructor() {
owner = msg.sender;
allowlist[msg.sender] = true;
}
event InfoChange(string oldInfo, string newInfo);
modifier onlyOwner {
require(msg.sender == owner,"Only owner");
_;
}
modifier onlyAllowlist {
require(allowlist[msg.sender] == true, "Only allowlist");
_;
}
function getInfo(uint index) public view returns (string memory) {
return info[index];
}
function setInfo(uint index, string memory _info) public onlyAllowlist {
emit InfoChange (info[index], _info);
info[index] = _info;
}
function addInfo(string memory _info) public onlyAllowlist returns (uint index) {
info.push (_info);
index = info.length -1;
}
function listInfo() public view returns (string[] memory) {
return info;
}
function addMember (address _member) public onlyOwner {
allowlist[_member] = true;
}
function delMember (address _member) public onlyOwner {
allowlist[_member] = false;
}
}
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
contract Token is ERC20, AccessControl {
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
constructor() ERC20("RAF Token", "RTOK") {
_grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
_grantRole(MINTER_ROLE, msg.sender);
}
function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) {
_mint(to, amount);
}
function decimals() public pure override returns (uint8) {
return 2;
}
}
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
interface TokenInterface {
function mint(address account, uint256 amount) external;
}
contract TokenShop {
AggregatorV3Interface internal priceFeed;
TokenInterface public minter;
uint256 public tokenPrice = 200; //1 token = 2.00 usd, with 2 decimal places
address public owner;
constructor(address tokenAddress) {
minter = TokenInterface(tokenAddress);
/**
* Network: Sepolia
* Aggregator: ETH/USD
* Address: 0x694AA1769357215DE4FAC081bf1f309aDC325306
*/
priceFeed = AggregatorV3Interface(0x694AA1769357215DE4FAC081bf1f309aDC325306);
owner = msg.sender;
}
/**
* Returns the latest answer
*/
function getChainlinkDataFeedLatestAnswer() public view returns (int) {
(
/*uint80 roundID*/,
int price,
/*uint startedAt*/,
/*uint timeStamp*/,
/*uint80 answeredInRound*/
) = priceFeed.latestRoundData();
return price;
}
function tokenAmount(uint256 amountETH) public view returns (uint256) {
//Sent amountETH, how many usd I have
uint256 ethUsd = uint256(getChainlinkDataFeedLatestAnswer()); //with 8 decimal places
uint256 amountUSD = amountETH * ethUsd / 10**18; //ETH = 18 decimal places
uint256 amountToken = amountUSD / tokenPrice / 10**(8/2); //8 decimal places from ETHUSD / 2 decimal places from token
return amountToken;
}
receive() external payable {
uint256 amountToken = tokenAmount(msg.value);
minter.mint(msg.sender, amountToken);
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function withdraw() external onlyOwner {
payable(owner).transfer(address(this).balance);
}
}
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.)

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": {
"@_26": {
"entryPoint": null,
"id": 26,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [],
"linkReferences": {},
"object": "608060405234801561000f575f80fd5b503360015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160025f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550611144806100b25f395ff3fe608060405234801561000f575f80fd5b5060043610610086575f3560e01c8063a7cd52cb11610059578063a7cd52cb14610124578063b682000214610154578063ca6d56dc14610170578063d03d58491461018c57610086565b80630bf803e41461008a5780631a3cd59a146100ba5780631f81595d146100ea5780638da5cb5b14610106575b5f80fd5b6100a4600480360381019061009f919061086e565b6101aa565b6040516100b191906108cd565b60405180910390f35b6100d460048036038101906100cf9190610910565b610284565b6040516100e191906109b5565b60405180910390f35b61010460048036038101906100ff9190610a2f565b61032f565b005b61010e610415565b60405161011b9190610a69565b60405180910390f35b61013e60048036038101906101399190610a2f565b61043a565b60405161014b9190610a9c565b60405180910390f35b61016e60048036038101906101699190610ab5565b610457565b005b61018a60048036038101906101859190610a2f565b610567565b005b61019461064e565b6040516101a19190610c12565b60405180910390f35b5f6001151560025f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615151461023b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023290610c7c565b60405180910390fd5b5f82908060018154018082558091505060019003905f5260205f20015f90919091909150908161026b9190610e94565b5060015f8054905061027d9190610f90565b9050919050565b60605f828154811061029957610298610fc3565b5b905f5260205f200180546102ac90610cc7565b80601f01602080910402602001604051908101604052809291908181526020018280546102d890610cc7565b80156103235780601f106102fa57610100808354040283529160200191610323565b820191905f5260205f20905b81548152906001019060200180831161030657829003601f168201915b50505050509050919050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b59061103a565b60405180910390fd5b5f60025f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002602052805f5260405f205f915054906101000a900460ff1681565b6001151560025f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161515146104e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104de90610c7c565b60405180910390fd5b7f305058d54db6daf26994cd687b168a24cdd9a7201462f1659782c4e4299879925f838154811061051b5761051a610fc3565b5b905f5260205f2001826040516105329291906110d9565b60405180910390a1805f838154811061054e5761054d610fc3565b5b905f5260205f200190816105629190610e94565b505050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ed9061103a565b60405180910390fd5b600160025f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b60605f805480602002602001604051908101604052809291908181526020015f905b82821015610718578382905f5260205f2001805461068d90610cc7565b80601f01602080910402602001604051908101604052809291908181526020018280546106b990610cc7565b80156107045780601f106106db57610100808354040283529160200191610704565b820191905f5260205f20905b8154815290600101906020018083116106e757829003601f168201915b505050505081526020019060010190610670565b50505050905090565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6107808261073a565b810181811067ffffffffffffffff8211171561079f5761079e61074a565b5b80604052505050565b5f6107b1610721565b90506107bd8282610777565b919050565b5f67ffffffffffffffff8211156107dc576107db61074a565b5b6107e58261073a565b9050602081019050919050565b828183375f83830152505050565b5f61081261080d846107c2565b6107a8565b90508281526020810184848401111561082e5761082d610736565b5b6108398482856107f2565b509392505050565b5f82601f83011261085557610854610732565b5b8135610865848260208601610800565b91505092915050565b5f602082840312156108835761088261072a565b5b5f82013567ffffffffffffffff8111156108a05761089f61072e565b5b6108ac84828501610841565b91505092915050565b5f819050919050565b6108c7816108b5565b82525050565b5f6020820190506108e05f8301846108be565b92915050565b6108ef816108b5565b81146108f9575f80fd5b50565b5f8135905061090a816108e6565b92915050565b5f602082840312156109255761092461072a565b5b5f610932848285016108fc565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610972578082015181840152602081019050610957565b5f8484015250505050565b5f6109878261093b565b6109918185610945565b93506109a1818560208601610955565b6109aa8161073a565b840191505092915050565b5f6020820190508181035f8301526109cd818461097d565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6109fe826109d5565b9050919050565b610a0e816109f4565b8114610a18575f80fd5b50565b5f81359050610a2981610a05565b92915050565b5f60208284031215610a4457610a4361072a565b5b5f610a5184828501610a1b565b91505092915050565b610a63816109f4565b82525050565b5f602082019050610a7c5f830184610a5a565b92915050565b5f8115159050919050565b610a9681610a82565b82525050565b5f602082019050610aaf5f830184610a8d565b92915050565b5f8060408385031215610acb57610aca61072a565b5b5f610ad8858286016108fc565b925050602083013567ffffffffffffffff811115610af957610af861072e565b5b610b0585828601610841565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f82825260208201905092915050565b5f610b528261093b565b610b5c8185610b38565b9350610b6c818560208601610955565b610b758161073a565b840191505092915050565b5f610b8b8383610b48565b905092915050565b5f602082019050919050565b5f610ba982610b0f565b610bb38185610b19565b935083602082028501610bc585610b29565b805f5b85811015610c005784840389528151610be18582610b80565b9450610bec83610b93565b925060208a01995050600181019050610bc8565b50829750879550505050505092915050565b5f6020820190508181035f830152610c2a8184610b9f565b905092915050565b7f4f6e6c7920616c6c6f776c6973740000000000000000000000000000000000005f82015250565b5f610c66600e83610945565b9150610c7182610c32565b602082019050919050565b5f6020820190508181035f830152610c9381610c5a565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610cde57607f821691505b602082108103610cf157610cf0610c9a565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302610d537fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610d18565b610d5d8683610d18565b95508019841693508086168417925050509392505050565b5f819050919050565b5f610d98610d93610d8e846108b5565b610d75565b6108b5565b9050919050565b5f819050919050565b610db183610d7e565b610dc5610dbd82610d9f565b848454610d24565b825550505050565b5f90565b610dd9610dcd565b610de4818484610da8565b505050565b5b81811015610e0757610dfc5f82610dd1565b600181019050610dea565b5050565b601f821115610e4c57610e1d81610cf7565b610e2684610d09565b81016020851015610e35578190505b610e49610e4185610d09565b830182610de9565b50505b505050565b5f82821c905092915050565b5f610e6c5f1984600802610e51565b1980831691505092915050565b5f610e848383610e5d565b9150826002028217905092915050565b610e9d8261093b565b67ffffffffffffffff811115610eb657610eb561074a565b5b610ec08254610cc7565b610ecb828285610e0b565b5f60209050601f831160018114610efc575f8415610eea578287015190505b610ef48582610e79565b865550610f5b565b601f198416610f0a86610cf7565b5f5b82811015610f3157848901518255600182019150602085019450602081019050610f0c565b86831015610f4e5784890151610f4a601f891682610e5d565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610f9a826108b5565b9150610fa5836108b5565b9250828203905081811115610fbd57610fbc610f63565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4f6e6c79206f776e6572000000000000000000000000000000000000000000005f82015250565b5f611024600a83610945565b915061102f82610ff0565b602082019050919050565b5f6020820190508181035f83015261105181611018565b9050919050565b5f815461106481610cc7565b61106e8186610945565b9450600182165f8114611088576001811461109e576110d0565b60ff1983168652811515602002860193506110d0565b6110a785610cf7565b5f5b838110156110c8578154818901526001820191506020810190506110a9565b808801955050505b50505092915050565b5f6040820190508181035f8301526110f18185611058565b90508181036020830152611105818461097d565b9050939250505056fea2646970667358221220925784278ba0adf9730d000dd28369a31fe9fd7298aa826ca8a58100c0a408dd64736f6c63430008150033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP CALLER PUSH1 0x1 PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x1 PUSH1 0x2 PUSH0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP PUSH2 0x1144 DUP1 PUSH2 0xB2 PUSH0 CODECOPY PUSH0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0xF JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x86 JUMPI PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA7CD52CB GT PUSH2 0x59 JUMPI DUP1 PUSH4 0xA7CD52CB EQ PUSH2 0x124 JUMPI DUP1 PUSH4 0xB6820002 EQ PUSH2 0x154 JUMPI DUP1 PUSH4 0xCA6D56DC EQ PUSH2 0x170 JUMPI DUP1 PUSH4 0xD03D5849 EQ PUSH2 0x18C JUMPI PUSH2 0x86 JUMP JUMPDEST DUP1 PUSH4 0xBF803E4 EQ PUSH2 0x8A JUMPI DUP1 PUSH4 0x1A3CD59A EQ PUSH2 0xBA JUMPI DUP1 PUSH4 0x1F81595D EQ PUSH2 0xEA JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x106 JUMPI JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH2 0xA4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x9F SWAP2 SWAP1 PUSH2 0x86E JUMP JUMPDEST PUSH2 0x1AA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xB1 SWAP2 SWAP1 PUSH2 0x8CD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xD4 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xCF SWAP2 SWAP1 PUSH2 0x910 JUMP JUMPDEST PUSH2 0x284 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xE1 SWAP2 SWAP1 PUSH2 0x9B5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x104 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xFF SWAP2 SWAP1 PUSH2 0xA2F JUMP JUMPDEST PUSH2 0x32F JUMP JUMPDEST STOP JUMPDEST PUSH2 0x10E PUSH2 0x415 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x11B SWAP2 SWAP1 PUSH2 0xA69 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x13E PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x139 SWAP2 SWAP1 PUSH2 0xA2F JUMP JUMPDEST PUSH2 0x43A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x14B SWAP2 SWAP1 PUSH2 0xA9C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x16E PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x169 SWAP2 SWAP1 PUSH2 0xAB5 JUMP JUMPDEST PUSH2 0x457 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x18A PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x185 SWAP2 SWAP1 PUSH2 0xA2F JUMP JUMPDEST PUSH2 0x567 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x194 PUSH2 0x64E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1A1 SWAP2 SWAP1 PUSH2 0xC12 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH0 PUSH1 0x1 ISZERO ISZERO PUSH1 0x2 PUSH0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO ISZERO EQ PUSH2 0x23B JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x232 SWAP1 PUSH2 0xC7C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH0 DUP3 SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 ADD PUSH0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP SWAP1 DUP2 PUSH2 0x26B SWAP2 SWAP1 PUSH2 0xE94 JUMP JUMPDEST POP PUSH1 0x1 PUSH0 DUP1 SLOAD SWAP1 POP PUSH2 0x27D SWAP2 SWAP1 PUSH2 0xF90 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH0 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x299 JUMPI PUSH2 0x298 PUSH2 0xFC3 JUMP JUMPDEST JUMPDEST SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 ADD DUP1 SLOAD PUSH2 0x2AC SWAP1 PUSH2 0xCC7 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 0x2D8 SWAP1 PUSH2 0xCC7 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x323 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x2FA JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x323 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x306 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x3BE JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3B5 SWAP1 PUSH2 0x103A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH0 PUSH1 0x2 PUSH0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x1 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x20 MSTORE DUP1 PUSH0 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH0 SWAP2 POP SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x1 ISZERO ISZERO PUSH1 0x2 PUSH0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO ISZERO EQ PUSH2 0x4E7 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4DE SWAP1 PUSH2 0xC7C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH32 0x305058D54DB6DAF26994CD687B168A24CDD9A7201462F1659782C4E429987992 PUSH0 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x51B JUMPI PUSH2 0x51A PUSH2 0xFC3 JUMP JUMPDEST JUMPDEST SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 ADD DUP3 PUSH1 0x40 MLOAD PUSH2 0x532 SWAP3 SWAP2 SWAP1 PUSH2 0x10D9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 PUSH0 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x54E JUMPI PUSH2 0x54D PUSH2 0xFC3 JUMP JUMPDEST JUMPDEST SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 ADD SWAP1 DUP2 PUSH2 0x562 SWAP2 SWAP1 PUSH2 0xE94 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x5F6 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5ED SWAP1 PUSH2 0x103A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x2 PUSH0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 KECCAK256 PUSH0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x60 PUSH0 DUP1 SLOAD DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD PUSH0 SWAP1 JUMPDEST DUP3 DUP3 LT ISZERO PUSH2 0x718 JUMPI DUP4 DUP3 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 ADD DUP1 SLOAD PUSH2 0x68D SWAP1 PUSH2 0xCC7 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 0x6B9 SWAP1 PUSH2 0xCC7 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x704 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x6DB JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x704 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x6E7 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 ADD SWAP1 PUSH2 0x670 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x780 DUP3 PUSH2 0x73A JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH2 0x79F JUMPI PUSH2 0x79E PUSH2 0x74A JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x7B1 PUSH2 0x721 JUMP JUMPDEST SWAP1 POP PUSH2 0x7BD DUP3 DUP3 PUSH2 0x777 JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x7DC JUMPI PUSH2 0x7DB PUSH2 0x74A JUMP JUMPDEST JUMPDEST PUSH2 0x7E5 DUP3 PUSH2 0x73A JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST DUP3 DUP2 DUP4 CALLDATACOPY PUSH0 DUP4 DUP4 ADD MSTORE POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x812 PUSH2 0x80D DUP5 PUSH2 0x7C2 JUMP JUMPDEST PUSH2 0x7A8 JUMP JUMPDEST SWAP1 POP DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP5 DUP5 DUP5 ADD GT ISZERO PUSH2 0x82E JUMPI PUSH2 0x82D PUSH2 0x736 JUMP JUMPDEST JUMPDEST PUSH2 0x839 DUP5 DUP3 DUP6 PUSH2 0x7F2 JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x855 JUMPI PUSH2 0x854 PUSH2 0x732 JUMP JUMPDEST JUMPDEST DUP2 CALLDATALOAD PUSH2 0x865 DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH2 0x800 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x883 JUMPI PUSH2 0x882 PUSH2 0x72A JUMP JUMPDEST JUMPDEST PUSH0 DUP3 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x8A0 JUMPI PUSH2 0x89F PUSH2 0x72E JUMP JUMPDEST JUMPDEST PUSH2 0x8AC DUP5 DUP3 DUP6 ADD PUSH2 0x841 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x8C7 DUP2 PUSH2 0x8B5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x8E0 PUSH0 DUP4 ADD DUP5 PUSH2 0x8BE JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x8EF DUP2 PUSH2 0x8B5 JUMP JUMPDEST DUP2 EQ PUSH2 0x8F9 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x90A DUP2 PUSH2 0x8E6 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x925 JUMPI PUSH2 0x924 PUSH2 0x72A JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0x932 DUP5 DUP3 DUP6 ADD PUSH2 0x8FC JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x972 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x957 JUMP JUMPDEST PUSH0 DUP5 DUP5 ADD MSTORE POP POP POP POP JUMP JUMPDEST PUSH0 PUSH2 0x987 DUP3 PUSH2 0x93B JUMP JUMPDEST PUSH2 0x991 DUP2 DUP6 PUSH2 0x945 JUMP JUMPDEST SWAP4 POP PUSH2 0x9A1 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x955 JUMP JUMPDEST PUSH2 0x9AA DUP2 PUSH2 0x73A JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x9CD DUP2 DUP5 PUSH2 0x97D JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0x9FE DUP3 PUSH2 0x9D5 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xA0E DUP2 PUSH2 0x9F4 JUMP JUMPDEST DUP2 EQ PUSH2 0xA18 JUMPI PUSH0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA29 DUP2 PUSH2 0xA05 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xA44 JUMPI PUSH2 0xA43 PUSH2 0x72A JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0xA51 DUP5 DUP3 DUP6 ADD PUSH2 0xA1B JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xA63 DUP2 PUSH2 0x9F4 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xA7C PUSH0 DUP4 ADD DUP5 PUSH2 0xA5A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xA96 DUP2 PUSH2 0xA82 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xAAF PUSH0 DUP4 ADD DUP5 PUSH2 0xA8D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xACB JUMPI PUSH2 0xACA PUSH2 0x72A JUMP JUMPDEST JUMPDEST PUSH0 PUSH2 0xAD8 DUP6 DUP3 DUP7 ADD PUSH2 0x8FC JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xAF9 JUMPI PUSH2 0xAF8 PUSH2 0x72E JUMP JUMPDEST JUMPDEST PUSH2 0xB05 DUP6 DUP3 DUP7 ADD PUSH2 0x841 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0xB52 DUP3 PUSH2 0x93B JUMP JUMPDEST PUSH2 0xB5C DUP2 DUP6 PUSH2 0xB38 JUMP JUMPDEST SWAP4 POP PUSH2 0xB6C DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x955 JUMP JUMPDEST PUSH2 0xB75 DUP2 PUSH2 0x73A JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0xB8B DUP4 DUP4 PUSH2 0xB48 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0xBA9 DUP3 PUSH2 0xB0F JUMP JUMPDEST PUSH2 0xBB3 DUP2 DUP6 PUSH2 0xB19 JUMP JUMPDEST SWAP4 POP DUP4 PUSH1 0x20 DUP3 MUL DUP6 ADD PUSH2 0xBC5 DUP6 PUSH2 0xB29 JUMP JUMPDEST DUP1 PUSH0 JUMPDEST DUP6 DUP2 LT ISZERO PUSH2 0xC00 JUMPI DUP5 DUP5 SUB DUP10 MSTORE DUP2 MLOAD PUSH2 0xBE1 DUP6 DUP3 PUSH2 0xB80 JUMP JUMPDEST SWAP5 POP PUSH2 0xBEC DUP4 PUSH2 0xB93 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP11 ADD SWAP10 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0xBC8 JUMP JUMPDEST POP DUP3 SWAP8 POP DUP8 SWAP6 POP POP POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0xC2A DUP2 DUP5 PUSH2 0xB9F JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4F6E6C7920616C6C6F776C697374000000000000000000000000000000000000 PUSH0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH0 PUSH2 0xC66 PUSH1 0xE DUP4 PUSH2 0x945 JUMP JUMPDEST SWAP2 POP PUSH2 0xC71 DUP3 PUSH2 0xC32 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0xC93 DUP2 PUSH2 0xC5A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0xCDE JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0xCF1 JUMPI PUSH2 0xCF0 PUSH2 0xC9A JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP DUP2 PUSH0 MSTORE PUSH1 0x20 PUSH0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x8 DUP4 MUL PUSH2 0xD53 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH2 0xD18 JUMP JUMPDEST PUSH2 0xD5D DUP7 DUP4 PUSH2 0xD18 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH2 0xD98 PUSH2 0xD93 PUSH2 0xD8E DUP5 PUSH2 0x8B5 JUMP JUMPDEST PUSH2 0xD75 JUMP JUMPDEST PUSH2 0x8B5 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xDB1 DUP4 PUSH2 0xD7E JUMP JUMPDEST PUSH2 0xDC5 PUSH2 0xDBD DUP3 PUSH2 0xD9F JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH2 0xD24 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH0 SWAP1 JUMP JUMPDEST PUSH2 0xDD9 PUSH2 0xDCD JUMP JUMPDEST PUSH2 0xDE4 DUP2 DUP5 DUP5 PUSH2 0xDA8 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xE07 JUMPI PUSH2 0xDFC PUSH0 DUP3 PUSH2 0xDD1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0xDEA JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0xE4C JUMPI PUSH2 0xE1D DUP2 PUSH2 0xCF7 JUMP JUMPDEST PUSH2 0xE26 DUP5 PUSH2 0xD09 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH2 0xE35 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH2 0xE49 PUSH2 0xE41 DUP6 PUSH2 0xD09 JUMP JUMPDEST DUP4 ADD DUP3 PUSH2 0xDE9 JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0xE6C PUSH0 NOT DUP5 PUSH1 0x8 MUL PUSH2 0xE51 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH2 0xE84 DUP4 DUP4 PUSH2 0xE5D JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xE9D DUP3 PUSH2 0x93B JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xEB6 JUMPI PUSH2 0xEB5 PUSH2 0x74A JUMP JUMPDEST JUMPDEST PUSH2 0xEC0 DUP3 SLOAD PUSH2 0xCC7 JUMP JUMPDEST PUSH2 0xECB DUP3 DUP3 DUP6 PUSH2 0xE0B JUMP JUMPDEST PUSH0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0xEFC JUMPI PUSH0 DUP5 ISZERO PUSH2 0xEEA JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH2 0xEF4 DUP6 DUP3 PUSH2 0xE79 JUMP JUMPDEST DUP7 SSTORE POP PUSH2 0xF5B JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH2 0xF0A DUP7 PUSH2 0xCF7 JUMP JUMPDEST PUSH0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0xF31 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 0xF0C JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH2 0xF4E JUMPI DUP5 DUP10 ADD MLOAD PUSH2 0xF4A PUSH1 0x1F DUP10 AND DUP3 PUSH2 0xE5D 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 PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH2 0xF9A DUP3 PUSH2 0x8B5 JUMP JUMPDEST SWAP2 POP PUSH2 0xFA5 DUP4 PUSH2 0x8B5 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 SUB SWAP1 POP DUP2 DUP2 GT ISZERO PUSH2 0xFBD JUMPI PUSH2 0xFBC PUSH2 0xF63 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH32 0x4F6E6C79206F776E657200000000000000000000000000000000000000000000 PUSH0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH0 PUSH2 0x1024 PUSH1 0xA DUP4 PUSH2 0x945 JUMP JUMPDEST SWAP2 POP PUSH2 0x102F DUP3 PUSH2 0xFF0 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x1051 DUP2 PUSH2 0x1018 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH0 DUP2 SLOAD PUSH2 0x1064 DUP2 PUSH2 0xCC7 JUMP JUMPDEST PUSH2 0x106E DUP2 DUP7 PUSH2 0x945 JUMP JUMPDEST SWAP5 POP PUSH1 0x1 DUP3 AND PUSH0 DUP2 EQ PUSH2 0x1088 JUMPI PUSH1 0x1 DUP2 EQ PUSH2 0x109E JUMPI PUSH2 0x10D0 JUMP JUMPDEST PUSH1 0xFF NOT DUP4 AND DUP7 MSTORE DUP2 ISZERO ISZERO PUSH1 0x20 MUL DUP7 ADD SWAP4 POP PUSH2 0x10D0 JUMP JUMPDEST PUSH2 0x10A7 DUP6 PUSH2 0xCF7 JUMP JUMPDEST PUSH0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x10C8 JUMPI DUP2 SLOAD DUP2 DUP10 ADD MSTORE PUSH1 0x1 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x10A9 JUMP JUMPDEST DUP1 DUP9 ADD SWAP6 POP POP POP JUMPDEST POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH0 PUSH1 0x40 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH0 DUP4 ADD MSTORE PUSH2 0x10F1 DUP2 DUP6 PUSH2 0x1058 JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x1105 DUP2 DUP5 PUSH2 0x97D JUMP JUMPDEST SWAP1 POP SWAP4 SWAP3 POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP3 JUMPI DUP5 0x27 DUP12 LOG0 0xAD 0xF9 PUSH20 0xD000DD28369A31FE9FD7298AA826CA8A58100C0 LOG4 ADDMOD 0xDD PUSH5 0x736F6C6343 STOP ADDMOD ISZERO STOP CALLER ",
"sourceMap": "58:1226:0:-:0;;;192:87;;;;;;;;;;224:10;216:5;;:18;;;;;;;;;;;;;;;;;;268:4;244:9;:21;254:10;244:21;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;58:1226;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@addInfo_116": {
"entryPoint": 426,
"id": 116,
"parameterSlots": 1,
"returnSlots": 1
},
"@addMember_139": {
"entryPoint": 1383,
"id": 139,
"parameterSlots": 1,
"returnSlots": 0
},
"@allowlist_10": {
"entryPoint": 1082,
"id": 10,
"parameterSlots": 0,
"returnSlots": 0
},
"@delMember_153": {
"entryPoint": 815,
"id": 153,
"parameterSlots": 1,
"returnSlots": 0
},
"@getInfo_70": {
"entryPoint": 644,
"id": 70,
"parameterSlots": 1,
"returnSlots": 1
},
"@listInfo_125": {
"entryPoint": 1614,
"id": 125,
"parameterSlots": 0,
"returnSlots": 1
},
"@owner_6": {
"entryPoint": 1045,
"id": 6,
"parameterSlots": 0,
"returnSlots": 0
},
"@setInfo_93": {
"entryPoint": 1111,
"id": 93,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_decode_available_length_t_string_memory_ptr": {
"entryPoint": 2048,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_decode_t_address": {
"entryPoint": 2587,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_string_memory_ptr": {
"entryPoint": 2113,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_t_uint256": {
"entryPoint": 2300,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_address": {
"entryPoint": 2607,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_string_memory_ptr": {
"entryPoint": 2158,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256": {
"entryPoint": 2320,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_decode_tuple_t_uint256t_string_memory_ptr": {
"entryPoint": 2741,
"id": null,
"parameterSlots": 2,
"returnSlots": 2
},
"abi_encodeUpdatedPos_t_string_memory_ptr_to_t_string_memory_ptr": {
"entryPoint": 2944,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_address_to_t_address_fromStack": {
"entryPoint": 2650,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_array$_t_string_memory_ptr_$dyn_memory_ptr_to_t_array$_t_string_memory_ptr_$dyn_memory_ptr_fromStack": {
"entryPoint": 2975,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_bool_to_t_bool_fromStack": {
"entryPoint": 2701,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr": {
"entryPoint": 2888,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": {
"entryPoint": 2429,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_string_storage_to_t_string_memory_ptr_fromStack": {
"entryPoint": 4184,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_t_stringliteral_17d9f114efaa93d67eedad749dd7fd16a6895ff93e28b7a30c667a069f2ed42d_to_t_string_memory_ptr_fromStack": {
"entryPoint": 4120,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_stringliteral_5eed79f5ecd1f5f3808587d961941d8cbfb1c4e947cebdcd1ee2bd8dc913debb_to_t_string_memory_ptr_fromStack": {
"entryPoint": 3162,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_t_uint256_to_t_uint256_fromStack": {
"entryPoint": 2238,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": {
"entryPoint": 2665,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_array$_t_string_memory_ptr_$dyn_memory_ptr__to_t_array$_t_string_memory_ptr_$dyn_memory_ptr__fromStack_reversed": {
"entryPoint": 3090,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": {
"entryPoint": 2716,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 2485,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"abi_encode_tuple_t_string_storage_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 4313,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_17d9f114efaa93d67eedad749dd7fd16a6895ff93e28b7a30c667a069f2ed42d__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 4154,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_stringliteral_5eed79f5ecd1f5f3808587d961941d8cbfb1c4e947cebdcd1ee2bd8dc913debb__to_t_string_memory_ptr__fromStack_reversed": {
"entryPoint": 3196,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": {
"entryPoint": 2253,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"allocate_memory": {
"entryPoint": 1960,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"allocate_unbounded": {
"entryPoint": 1825,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
},
"array_allocation_size_t_string_memory_ptr": {
"entryPoint": 1986,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_dataslot_t_array$_t_string_memory_ptr_$dyn_memory_ptr": {
"entryPoint": 2857,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_dataslot_t_string_storage": {
"entryPoint": 3319,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_array$_t_string_memory_ptr_$dyn_memory_ptr": {
"entryPoint": 2831,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_length_t_string_memory_ptr": {
"entryPoint": 2363,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_nextElement_t_array$_t_string_memory_ptr_$dyn_memory_ptr": {
"entryPoint": 2963,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_array$_t_string_memory_ptr_$dyn_memory_ptr_fromStack": {
"entryPoint": 2841,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr": {
"entryPoint": 2872,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": {
"entryPoint": 2373,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"checked_sub_t_uint256": {
"entryPoint": 3984,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"clean_up_bytearray_end_slots_t_string_storage": {
"entryPoint": 3595,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"cleanup_t_address": {
"entryPoint": 2548,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_bool": {
"entryPoint": 2690,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint160": {
"entryPoint": 2517,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"cleanup_t_uint256": {
"entryPoint": 2229,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"clear_storage_range_t_bytes1": {
"entryPoint": 3561,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"convert_t_uint256_to_t_uint256": {
"entryPoint": 3454,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": {
"entryPoint": 3732,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"copy_calldata_to_memory_with_cleanup": {
"entryPoint": 2034,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"copy_memory_to_memory_with_cleanup": {
"entryPoint": 2389,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"divide_by_32_ceil": {
"entryPoint": 3337,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_byte_array_length": {
"entryPoint": 3271,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"extract_used_part_and_set_length_of_short_byte_array": {
"entryPoint": 3705,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"finalize_allocation": {
"entryPoint": 1911,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"identity": {
"entryPoint": 3445,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"mask_bytes_dynamic": {
"entryPoint": 3677,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"panic_error_0x11": {
"entryPoint": 3939,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x22": {
"entryPoint": 3226,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x32": {
"entryPoint": 4035,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"panic_error_0x41": {
"entryPoint": 1866,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"prepare_store_t_uint256": {
"entryPoint": 3487,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d": {
"entryPoint": 1842,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae": {
"entryPoint": 1846,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": {
"entryPoint": 1838,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": {
"entryPoint": 1834,
"id": null,
"parameterSlots": 0,
"returnSlots": 0
},
"round_up_to_mul_of_32": {
"entryPoint": 1850,
"id": null,
"parameterSlots": 1,
"returnSlots": 1
},
"shift_left_dynamic": {
"entryPoint": 3352,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"shift_right_unsigned_dynamic": {
"entryPoint": 3665,
"id": null,
"parameterSlots": 2,
"returnSlots": 1
},
"storage_set_to_zero_t_uint256": {
"entryPoint": 3537,
"id": null,
"parameterSlots": 2,
"returnSlots": 0
},
"store_literal_in_memory_17d9f114efaa93d67eedad749dd7fd16a6895ff93e28b7a30c667a069f2ed42d": {
"entryPoint": 4080,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"store_literal_in_memory_5eed79f5ecd1f5f3808587d961941d8cbfb1c4e947cebdcd1ee2bd8dc913debb": {
"entryPoint": 3122,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"update_byte_slice_dynamic32": {
"entryPoint": 3364,
"id": null,
"parameterSlots": 3,
"returnSlots": 1
},
"update_storage_value_t_uint256_to_t_uint256": {
"entryPoint": 3496,
"id": null,
"parameterSlots": 3,
"returnSlots": 0
},
"validator_revert_t_address": {
"entryPoint": 2565,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"validator_revert_t_uint256": {
"entryPoint": 2278,
"id": null,
"parameterSlots": 1,
"returnSlots": 0
},
"zero_value_for_split_t_uint256": {
"entryPoint": 3533,
"id": null,
"parameterSlots": 0,
"returnSlots": 1
}
},
"generatedSources": [
{
"ast": {
"nativeSrc": "0:19134:1",
"nodeType": "YulBlock",
"src": "0:19134:1",
"statements": [
{
"body": {
"nativeSrc": "47:35:1",
"nodeType": "YulBlock",
"src": "47:35:1",
"statements": [
{
"nativeSrc": "57:19:1",
"nodeType": "YulAssignment",
"src": "57:19:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "73:2:1",
"nodeType": "YulLiteral",
"src": "73:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "67:5:1",
"nodeType": "YulIdentifier",
"src": "67:5:1"
},
"nativeSrc": "67:9:1",
"nodeType": "YulFunctionCall",
"src": "67:9:1"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "57:6:1",
"nodeType": "YulIdentifier",
"src": "57:6:1"
}
]
}
]
},
"name": "allocate_unbounded",
"nativeSrc": "7:75:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "40:6:1",
"nodeType": "YulTypedName",
"src": "40:6:1",
"type": ""
}
],
"src": "7:75:1"
},
{
"body": {
"nativeSrc": "177:28:1",
"nodeType": "YulBlock",
"src": "177:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "194:1:1",
"nodeType": "YulLiteral",
"src": "194:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "197:1:1",
"nodeType": "YulLiteral",
"src": "197:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "187:6:1",
"nodeType": "YulIdentifier",
"src": "187:6:1"
},
"nativeSrc": "187:12:1",
"nodeType": "YulFunctionCall",
"src": "187:12:1"
},
"nativeSrc": "187:12:1",
"nodeType": "YulExpressionStatement",
"src": "187:12:1"
}
]
},
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "88:117:1",
"nodeType": "YulFunctionDefinition",
"src": "88:117:1"
},
{
"body": {
"nativeSrc": "300:28:1",
"nodeType": "YulBlock",
"src": "300:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "317:1:1",
"nodeType": "YulLiteral",
"src": "317:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "320:1:1",
"nodeType": "YulLiteral",
"src": "320:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "310:6:1",
"nodeType": "YulIdentifier",
"src": "310:6:1"
},
"nativeSrc": "310:12:1",
"nodeType": "YulFunctionCall",
"src": "310:12:1"
},
"nativeSrc": "310:12:1",
"nodeType": "YulExpressionStatement",
"src": "310:12:1"
}
]
},
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "211:117:1",
"nodeType": "YulFunctionDefinition",
"src": "211:117:1"
},
{
"body": {
"nativeSrc": "423:28:1",
"nodeType": "YulBlock",
"src": "423:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "440:1:1",
"nodeType": "YulLiteral",
"src": "440:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "443:1:1",
"nodeType": "YulLiteral",
"src": "443:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "433:6:1",
"nodeType": "YulIdentifier",
"src": "433:6:1"
},
"nativeSrc": "433:12:1",
"nodeType": "YulFunctionCall",
"src": "433:12:1"
},
"nativeSrc": "433:12:1",
"nodeType": "YulExpressionStatement",
"src": "433:12:1"
}
]
},
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nativeSrc": "334:117:1",
"nodeType": "YulFunctionDefinition",
"src": "334:117:1"
},
{
"body": {
"nativeSrc": "546:28:1",
"nodeType": "YulBlock",
"src": "546:28:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "563:1:1",
"nodeType": "YulLiteral",
"src": "563:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "566:1:1",
"nodeType": "YulLiteral",
"src": "566:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "556:6:1",
"nodeType": "YulIdentifier",
"src": "556:6:1"
},
"nativeSrc": "556:12:1",
"nodeType": "YulFunctionCall",
"src": "556:12:1"
},
"nativeSrc": "556:12:1",
"nodeType": "YulExpressionStatement",
"src": "556:12:1"
}
]
},
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nativeSrc": "457:117:1",
"nodeType": "YulFunctionDefinition",
"src": "457:117:1"
},
{
"body": {
"nativeSrc": "628:54:1",
"nodeType": "YulBlock",
"src": "628:54:1",
"statements": [
{
"nativeSrc": "638:38:1",
"nodeType": "YulAssignment",
"src": "638:38:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "656:5:1",
"nodeType": "YulIdentifier",
"src": "656:5:1"
},
{
"kind": "number",
"nativeSrc": "663:2:1",
"nodeType": "YulLiteral",
"src": "663:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "652:3:1",
"nodeType": "YulIdentifier",
"src": "652:3:1"
},
"nativeSrc": "652:14:1",
"nodeType": "YulFunctionCall",
"src": "652:14:1"
},
{
"arguments": [
{
"kind": "number",
"nativeSrc": "672:2:1",
"nodeType": "YulLiteral",
"src": "672:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "not",
"nativeSrc": "668:3:1",
"nodeType": "YulIdentifier",
"src": "668:3:1"
},
"nativeSrc": "668:7:1",
"nodeType": "YulFunctionCall",
"src": "668:7:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "648:3:1",
"nodeType": "YulIdentifier",
"src": "648:3:1"
},
"nativeSrc": "648:28:1",
"nodeType": "YulFunctionCall",
"src": "648:28:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "638:6:1",
"nodeType": "YulIdentifier",
"src": "638:6:1"
}
]
}
]
},
"name": "round_up_to_mul_of_32",
"nativeSrc": "580:102:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "611:5:1",
"nodeType": "YulTypedName",
"src": "611:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "621:6:1",
"nodeType": "YulTypedName",
"src": "621:6:1",
"type": ""
}
],
"src": "580:102:1"
},
{
"body": {
"nativeSrc": "716:152:1",
"nodeType": "YulBlock",
"src": "716:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "733:1:1",
"nodeType": "YulLiteral",
"src": "733:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "736:77:1",
"nodeType": "YulLiteral",
"src": "736:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "726:6:1",
"nodeType": "YulIdentifier",
"src": "726:6:1"
},
"nativeSrc": "726:88:1",
"nodeType": "YulFunctionCall",
"src": "726:88:1"
},
"nativeSrc": "726:88:1",
"nodeType": "YulExpressionStatement",
"src": "726:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "830:1:1",
"nodeType": "YulLiteral",
"src": "830:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "833:4:1",
"nodeType": "YulLiteral",
"src": "833:4:1",
"type": "",
"value": "0x41"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "823:6:1",
"nodeType": "YulIdentifier",
"src": "823:6:1"
},
"nativeSrc": "823:15:1",
"nodeType": "YulFunctionCall",
"src": "823:15:1"
},
"nativeSrc": "823:15:1",
"nodeType": "YulExpressionStatement",
"src": "823:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "854:1:1",
"nodeType": "YulLiteral",
"src": "854:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "857:4:1",
"nodeType": "YulLiteral",
"src": "857:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "847:6:1",
"nodeType": "YulIdentifier",
"src": "847:6:1"
},
"nativeSrc": "847:15:1",
"nodeType": "YulFunctionCall",
"src": "847:15:1"
},
"nativeSrc": "847:15:1",
"nodeType": "YulExpressionStatement",
"src": "847:15:1"
}
]
},
"name": "panic_error_0x41",
"nativeSrc": "688:180:1",
"nodeType": "YulFunctionDefinition",
"src": "688:180:1"
},
{
"body": {
"nativeSrc": "917:238:1",
"nodeType": "YulBlock",
"src": "917:238:1",
"statements": [
{
"nativeSrc": "927:58:1",
"nodeType": "YulVariableDeclaration",
"src": "927:58:1",
"value": {
"arguments": [
{
"name": "memPtr",
"nativeSrc": "949:6:1",
"nodeType": "YulIdentifier",
"src": "949:6:1"
},
{
"arguments": [
{
"name": "size",
"nativeSrc": "979:4:1",
"nodeType": "YulIdentifier",
"src": "979:4:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "957:21:1",
"nodeType": "YulIdentifier",
"src": "957:21:1"
},
"nativeSrc": "957:27:1",
"nodeType": "YulFunctionCall",
"src": "957:27:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "945:3:1",
"nodeType": "YulIdentifier",
"src": "945:3:1"
},
"nativeSrc": "945:40:1",
"nodeType": "YulFunctionCall",
"src": "945:40:1"
},
"variables": [
{
"name": "newFreePtr",
"nativeSrc": "931:10:1",
"nodeType": "YulTypedName",
"src": "931:10:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "1096:22:1",
"nodeType": "YulBlock",
"src": "1096:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "1098:16:1",
"nodeType": "YulIdentifier",
"src": "1098:16:1"
},
"nativeSrc": "1098:18:1",
"nodeType": "YulFunctionCall",
"src": "1098:18:1"
},
"nativeSrc": "1098:18:1",
"nodeType": "YulExpressionStatement",
"src": "1098:18:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "newFreePtr",
"nativeSrc": "1039:10:1",
"nodeType": "YulIdentifier",
"src": "1039:10:1"
},
{
"kind": "number",
"nativeSrc": "1051:18:1",
"nodeType": "YulLiteral",
"src": "1051:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "1036:2:1",
"nodeType": "YulIdentifier",
"src": "1036:2:1"
},
"nativeSrc": "1036:34:1",
"nodeType": "YulFunctionCall",
"src": "1036:34:1"
},
{
"arguments": [
{
"name": "newFreePtr",
"nativeSrc": "1075:10:1",
"nodeType": "YulIdentifier",
"src": "1075:10:1"
},
{
"name": "memPtr",
"nativeSrc": "1087:6:1",
"nodeType": "YulIdentifier",
"src": "1087:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "1072:2:1",
"nodeType": "YulIdentifier",
"src": "1072:2:1"
},
"nativeSrc": "1072:22:1",
"nodeType": "YulFunctionCall",
"src": "1072:22:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "1033:2:1",
"nodeType": "YulIdentifier",
"src": "1033:2:1"
},
"nativeSrc": "1033:62:1",
"nodeType": "YulFunctionCall",
"src": "1033:62:1"
},
"nativeSrc": "1030:88:1",
"nodeType": "YulIf",
"src": "1030:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "1134:2:1",
"nodeType": "YulLiteral",
"src": "1134:2:1",
"type": "",
"value": "64"
},
{
"name": "newFreePtr",
"nativeSrc": "1138:10:1",
"nodeType": "YulIdentifier",
"src": "1138:10:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1127:6:1",
"nodeType": "YulIdentifier",
"src": "1127:6:1"
},
"nativeSrc": "1127:22:1",
"nodeType": "YulFunctionCall",
"src": "1127:22:1"
},
"nativeSrc": "1127:22:1",
"nodeType": "YulExpressionStatement",
"src": "1127:22:1"
}
]
},
"name": "finalize_allocation",
"nativeSrc": "874:281:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nativeSrc": "903:6:1",
"nodeType": "YulTypedName",
"src": "903:6:1",
"type": ""
},
{
"name": "size",
"nativeSrc": "911:4:1",
"nodeType": "YulTypedName",
"src": "911:4:1",
"type": ""
}
],
"src": "874:281:1"
},
{
"body": {
"nativeSrc": "1202:88:1",
"nodeType": "YulBlock",
"src": "1202:88:1",
"statements": [
{
"nativeSrc": "1212:30:1",
"nodeType": "YulAssignment",
"src": "1212:30:1",
"value": {
"arguments": [],
"functionName": {
"name": "allocate_unbounded",
"nativeSrc": "1222:18:1",
"nodeType": "YulIdentifier",
"src": "1222:18:1"
},
"nativeSrc": "1222:20:1",
"nodeType": "YulFunctionCall",
"src": "1222:20:1"
},
"variableNames": [
{
"name": "memPtr",
"nativeSrc": "1212:6:1",
"nodeType": "YulIdentifier",
"src": "1212:6:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "memPtr",
"nativeSrc": "1271:6:1",
"nodeType": "YulIdentifier",
"src": "1271:6:1"
},
{
"name": "size",
"nativeSrc": "1279:4:1",
"nodeType": "YulIdentifier",
"src": "1279:4:1"
}
],
"functionName": {
"name": "finalize_allocation",
"nativeSrc": "1251:19:1",
"nodeType": "YulIdentifier",
"src": "1251:19:1"
},
"nativeSrc": "1251:33:1",
"nodeType": "YulFunctionCall",
"src": "1251:33:1"
},
"nativeSrc": "1251:33:1",
"nodeType": "YulExpressionStatement",
"src": "1251:33:1"
}
]
},
"name": "allocate_memory",
"nativeSrc": "1161:129:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "size",
"nativeSrc": "1186:4:1",
"nodeType": "YulTypedName",
"src": "1186:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "memPtr",
"nativeSrc": "1195:6:1",
"nodeType": "YulTypedName",
"src": "1195:6:1",
"type": ""
}
],
"src": "1161:129:1"
},
{
"body": {
"nativeSrc": "1363:241:1",
"nodeType": "YulBlock",
"src": "1363:241:1",
"statements": [
{
"body": {
"nativeSrc": "1468:22:1",
"nodeType": "YulBlock",
"src": "1468:22:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x41",
"nativeSrc": "1470:16:1",
"nodeType": "YulIdentifier",
"src": "1470:16:1"
},
"nativeSrc": "1470:18:1",
"nodeType": "YulFunctionCall",
"src": "1470:18:1"
},
"nativeSrc": "1470:18:1",
"nodeType": "YulExpressionStatement",
"src": "1470:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "length",
"nativeSrc": "1440:6:1",
"nodeType": "YulIdentifier",
"src": "1440:6:1"
},
{
"kind": "number",
"nativeSrc": "1448:18:1",
"nodeType": "YulLiteral",
"src": "1448:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "1437:2:1",
"nodeType": "YulIdentifier",
"src": "1437:2:1"
},
"nativeSrc": "1437:30:1",
"nodeType": "YulFunctionCall",
"src": "1437:30:1"
},
"nativeSrc": "1434:56:1",
"nodeType": "YulIf",
"src": "1434:56:1"
},
{
"nativeSrc": "1500:37:1",
"nodeType": "YulAssignment",
"src": "1500:37:1",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "1530:6:1",
"nodeType": "YulIdentifier",
"src": "1530:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "1508:21:1",
"nodeType": "YulIdentifier",
"src": "1508:21:1"
},
"nativeSrc": "1508:29:1",
"nodeType": "YulFunctionCall",
"src": "1508:29:1"
},
"variableNames": [
{
"name": "size",
"nativeSrc": "1500:4:1",
"nodeType": "YulIdentifier",
"src": "1500:4:1"
}
]
},
{
"nativeSrc": "1574:23:1",
"nodeType": "YulAssignment",
"src": "1574:23:1",
"value": {
"arguments": [
{
"name": "size",
"nativeSrc": "1586:4:1",
"nodeType": "YulIdentifier",
"src": "1586:4:1"
},
{
"kind": "number",
"nativeSrc": "1592:4:1",
"nodeType": "YulLiteral",
"src": "1592:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1582:3:1",
"nodeType": "YulIdentifier",
"src": "1582:3:1"
},
"nativeSrc": "1582:15:1",
"nodeType": "YulFunctionCall",
"src": "1582:15:1"
},
"variableNames": [
{
"name": "size",
"nativeSrc": "1574:4:1",
"nodeType": "YulIdentifier",
"src": "1574:4:1"
}
]
}
]
},
"name": "array_allocation_size_t_string_memory_ptr",
"nativeSrc": "1296:308:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "length",
"nativeSrc": "1347:6:1",
"nodeType": "YulTypedName",
"src": "1347:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "size",
"nativeSrc": "1358:4:1",
"nodeType": "YulTypedName",
"src": "1358:4:1",
"type": ""
}
],
"src": "1296:308:1"
},
{
"body": {
"nativeSrc": "1674:82:1",
"nodeType": "YulBlock",
"src": "1674:82:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "dst",
"nativeSrc": "1697:3:1",
"nodeType": "YulIdentifier",
"src": "1697:3:1"
},
{
"name": "src",
"nativeSrc": "1702:3:1",
"nodeType": "YulIdentifier",
"src": "1702:3:1"
},
{
"name": "length",
"nativeSrc": "1707:6:1",
"nodeType": "YulIdentifier",
"src": "1707:6:1"
}
],
"functionName": {
"name": "calldatacopy",
"nativeSrc": "1684:12:1",
"nodeType": "YulIdentifier",
"src": "1684:12:1"
},
"nativeSrc": "1684:30:1",
"nodeType": "YulFunctionCall",
"src": "1684:30:1"
},
"nativeSrc": "1684:30:1",
"nodeType": "YulExpressionStatement",
"src": "1684:30:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "1734:3:1",
"nodeType": "YulIdentifier",
"src": "1734:3:1"
},
{
"name": "length",
"nativeSrc": "1739:6:1",
"nodeType": "YulIdentifier",
"src": "1739:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1730:3:1",
"nodeType": "YulIdentifier",
"src": "1730:3:1"
},
"nativeSrc": "1730:16:1",
"nodeType": "YulFunctionCall",
"src": "1730:16:1"
},
{
"kind": "number",
"nativeSrc": "1748:1:1",
"nodeType": "YulLiteral",
"src": "1748:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1723:6:1",
"nodeType": "YulIdentifier",
"src": "1723:6:1"
},
"nativeSrc": "1723:27:1",
"nodeType": "YulFunctionCall",
"src": "1723:27:1"
},
"nativeSrc": "1723:27:1",
"nodeType": "YulExpressionStatement",
"src": "1723:27:1"
}
]
},
"name": "copy_calldata_to_memory_with_cleanup",
"nativeSrc": "1610:146:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "1656:3:1",
"nodeType": "YulTypedName",
"src": "1656:3:1",
"type": ""
},
{
"name": "dst",
"nativeSrc": "1661:3:1",
"nodeType": "YulTypedName",
"src": "1661:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "1666:6:1",
"nodeType": "YulTypedName",
"src": "1666:6:1",
"type": ""
}
],
"src": "1610:146:1"
},
{
"body": {
"nativeSrc": "1846:341:1",
"nodeType": "YulBlock",
"src": "1846:341:1",
"statements": [
{
"nativeSrc": "1856:75:1",
"nodeType": "YulAssignment",
"src": "1856:75:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "length",
"nativeSrc": "1923:6:1",
"nodeType": "YulIdentifier",
"src": "1923:6:1"
}
],
"functionName": {
"name": "array_allocation_size_t_string_memory_ptr",
"nativeSrc": "1881:41:1",
"nodeType": "YulIdentifier",
"src": "1881:41:1"
},
"nativeSrc": "1881:49:1",
"nodeType": "YulFunctionCall",
"src": "1881:49:1"
}
],
"functionName": {
"name": "allocate_memory",
"nativeSrc": "1865:15:1",
"nodeType": "YulIdentifier",
"src": "1865:15:1"
},
"nativeSrc": "1865:66:1",
"nodeType": "YulFunctionCall",
"src": "1865:66:1"
},
"variableNames": [
{
"name": "array",
"nativeSrc": "1856:5:1",
"nodeType": "YulIdentifier",
"src": "1856:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "array",
"nativeSrc": "1947:5:1",
"nodeType": "YulIdentifier",
"src": "1947:5:1"
},
{
"name": "length",
"nativeSrc": "1954:6:1",
"nodeType": "YulIdentifier",
"src": "1954:6:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "1940:6:1",
"nodeType": "YulIdentifier",
"src": "1940:6:1"
},
"nativeSrc": "1940:21:1",
"nodeType": "YulFunctionCall",
"src": "1940:21:1"
},
"nativeSrc": "1940:21:1",
"nodeType": "YulExpressionStatement",
"src": "1940:21:1"
},
{
"nativeSrc": "1970:27:1",
"nodeType": "YulVariableDeclaration",
"src": "1970:27:1",
"value": {
"arguments": [
{
"name": "array",
"nativeSrc": "1985:5:1",
"nodeType": "YulIdentifier",
"src": "1985:5:1"
},
{
"kind": "number",
"nativeSrc": "1992:4:1",
"nodeType": "YulLiteral",
"src": "1992:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "1981:3:1",
"nodeType": "YulIdentifier",
"src": "1981:3:1"
},
"nativeSrc": "1981:16:1",
"nodeType": "YulFunctionCall",
"src": "1981:16:1"
},
"variables": [
{
"name": "dst",
"nativeSrc": "1974:3:1",
"nodeType": "YulTypedName",
"src": "1974:3:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "2035:83:1",
"nodeType": "YulBlock",
"src": "2035:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_987264b3b1d58a9c7f8255e93e81c77d86d6299019c33110a076957a3e06e2ae",
"nativeSrc": "2037:77:1",
"nodeType": "YulIdentifier",
"src": "2037:77:1"
},
"nativeSrc": "2037:79:1",
"nodeType": "YulFunctionCall",
"src": "2037:79:1"
},
"nativeSrc": "2037:79:1",
"nodeType": "YulExpressionStatement",
"src": "2037:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "2016:3:1",
"nodeType": "YulIdentifier",
"src": "2016:3:1"
},
{
"name": "length",
"nativeSrc": "2021:6:1",
"nodeType": "YulIdentifier",
"src": "2021:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2012:3:1",
"nodeType": "YulIdentifier",
"src": "2012:3:1"
},
"nativeSrc": "2012:16:1",
"nodeType": "YulFunctionCall",
"src": "2012:16:1"
},
{
"name": "end",
"nativeSrc": "2030:3:1",
"nodeType": "YulIdentifier",
"src": "2030:3:1"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "2009:2:1",
"nodeType": "YulIdentifier",
"src": "2009:2:1"
},
"nativeSrc": "2009:25:1",
"nodeType": "YulFunctionCall",
"src": "2009:25:1"
},
"nativeSrc": "2006:112:1",
"nodeType": "YulIf",
"src": "2006:112:1"
},
{
"expression": {
"arguments": [
{
"name": "src",
"nativeSrc": "2164:3:1",
"nodeType": "YulIdentifier",
"src": "2164:3:1"
},
{
"name": "dst",
"nativeSrc": "2169:3:1",
"nodeType": "YulIdentifier",
"src": "2169:3:1"
},
{
"name": "length",
"nativeSrc": "2174:6:1",
"nodeType": "YulIdentifier",
"src": "2174:6:1"
}
],
"functionName": {
"name": "copy_calldata_to_memory_with_cleanup",
"nativeSrc": "2127:36:1",
"nodeType": "YulIdentifier",
"src": "2127:36:1"
},
"nativeSrc": "2127:54:1",
"nodeType": "YulFunctionCall",
"src": "2127:54:1"
},
"nativeSrc": "2127:54:1",
"nodeType": "YulExpressionStatement",
"src": "2127:54:1"
}
]
},
"name": "abi_decode_available_length_t_string_memory_ptr",
"nativeSrc": "1762:425:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "1819:3:1",
"nodeType": "YulTypedName",
"src": "1819:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "1824:6:1",
"nodeType": "YulTypedName",
"src": "1824:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "1832:3:1",
"nodeType": "YulTypedName",
"src": "1832:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nativeSrc": "1840:5:1",
"nodeType": "YulTypedName",
"src": "1840:5:1",
"type": ""
}
],
"src": "1762:425:1"
},
{
"body": {
"nativeSrc": "2269:278:1",
"nodeType": "YulBlock",
"src": "2269:278:1",
"statements": [
{
"body": {
"nativeSrc": "2318:83:1",
"nodeType": "YulBlock",
"src": "2318:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_1b9f4a0a5773e33b91aa01db23bf8c55fce1411167c872835e7fa00a4f17d46d",
"nativeSrc": "2320:77:1",
"nodeType": "YulIdentifier",
"src": "2320:77:1"
},
"nativeSrc": "2320:79:1",
"nodeType": "YulFunctionCall",
"src": "2320:79:1"
},
"nativeSrc": "2320:79:1",
"nodeType": "YulExpressionStatement",
"src": "2320:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "offset",
"nativeSrc": "2297:6:1",
"nodeType": "YulIdentifier",
"src": "2297:6:1"
},
{
"kind": "number",
"nativeSrc": "2305:4:1",
"nodeType": "YulLiteral",
"src": "2305:4:1",
"type": "",
"value": "0x1f"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2293:3:1",
"nodeType": "YulIdentifier",
"src": "2293:3:1"
},
"nativeSrc": "2293:17:1",
"nodeType": "YulFunctionCall",
"src": "2293:17:1"
},
{
"name": "end",
"nativeSrc": "2312:3:1",
"nodeType": "YulIdentifier",
"src": "2312:3:1"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "2289:3:1",
"nodeType": "YulIdentifier",
"src": "2289:3:1"
},
"nativeSrc": "2289:27:1",
"nodeType": "YulFunctionCall",
"src": "2289:27:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "2282:6:1",
"nodeType": "YulIdentifier",
"src": "2282:6:1"
},
"nativeSrc": "2282:35:1",
"nodeType": "YulFunctionCall",
"src": "2282:35:1"
},
"nativeSrc": "2279:122:1",
"nodeType": "YulIf",
"src": "2279:122:1"
},
{
"nativeSrc": "2410:34:1",
"nodeType": "YulVariableDeclaration",
"src": "2410:34:1",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "2437:6:1",
"nodeType": "YulIdentifier",
"src": "2437:6:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "2424:12:1",
"nodeType": "YulIdentifier",
"src": "2424:12:1"
},
"nativeSrc": "2424:20:1",
"nodeType": "YulFunctionCall",
"src": "2424:20:1"
},
"variables": [
{
"name": "length",
"nativeSrc": "2414:6:1",
"nodeType": "YulTypedName",
"src": "2414:6:1",
"type": ""
}
]
},
{
"nativeSrc": "2453:88:1",
"nodeType": "YulAssignment",
"src": "2453:88:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "offset",
"nativeSrc": "2514:6:1",
"nodeType": "YulIdentifier",
"src": "2514:6:1"
},
{
"kind": "number",
"nativeSrc": "2522:4:1",
"nodeType": "YulLiteral",
"src": "2522:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2510:3:1",
"nodeType": "YulIdentifier",
"src": "2510:3:1"
},
"nativeSrc": "2510:17:1",
"nodeType": "YulFunctionCall",
"src": "2510:17:1"
},
{
"name": "length",
"nativeSrc": "2529:6:1",
"nodeType": "YulIdentifier",
"src": "2529:6:1"
},
{
"name": "end",
"nativeSrc": "2537:3:1",
"nodeType": "YulIdentifier",
"src": "2537:3:1"
}
],
"functionName": {
"name": "abi_decode_available_length_t_string_memory_ptr",
"nativeSrc": "2462:47:1",
"nodeType": "YulIdentifier",
"src": "2462:47:1"
},
"nativeSrc": "2462:79:1",
"nodeType": "YulFunctionCall",
"src": "2462:79:1"
},
"variableNames": [
{
"name": "array",
"nativeSrc": "2453:5:1",
"nodeType": "YulIdentifier",
"src": "2453:5:1"
}
]
}
]
},
"name": "abi_decode_t_string_memory_ptr",
"nativeSrc": "2207:340:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "2247:6:1",
"nodeType": "YulTypedName",
"src": "2247:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "2255:3:1",
"nodeType": "YulTypedName",
"src": "2255:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "array",
"nativeSrc": "2263:5:1",
"nodeType": "YulTypedName",
"src": "2263:5:1",
"type": ""
}
],
"src": "2207:340:1"
},
{
"body": {
"nativeSrc": "2629:433:1",
"nodeType": "YulBlock",
"src": "2629:433:1",
"statements": [
{
"body": {
"nativeSrc": "2675:83:1",
"nodeType": "YulBlock",
"src": "2675:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "2677:77:1",
"nodeType": "YulIdentifier",
"src": "2677:77:1"
},
"nativeSrc": "2677:79:1",
"nodeType": "YulFunctionCall",
"src": "2677:79:1"
},
"nativeSrc": "2677:79:1",
"nodeType": "YulExpressionStatement",
"src": "2677:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "2650:7:1",
"nodeType": "YulIdentifier",
"src": "2650:7:1"
},
{
"name": "headStart",
"nativeSrc": "2659:9:1",
"nodeType": "YulIdentifier",
"src": "2659:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "2646:3:1",
"nodeType": "YulIdentifier",
"src": "2646:3:1"
},
"nativeSrc": "2646:23:1",
"nodeType": "YulFunctionCall",
"src": "2646:23:1"
},
{
"kind": "number",
"nativeSrc": "2671:2:1",
"nodeType": "YulLiteral",
"src": "2671:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "2642:3:1",
"nodeType": "YulIdentifier",
"src": "2642:3:1"
},
"nativeSrc": "2642:32:1",
"nodeType": "YulFunctionCall",
"src": "2642:32:1"
},
"nativeSrc": "2639:119:1",
"nodeType": "YulIf",
"src": "2639:119:1"
},
{
"nativeSrc": "2768:287:1",
"nodeType": "YulBlock",
"src": "2768:287:1",
"statements": [
{
"nativeSrc": "2783:45:1",
"nodeType": "YulVariableDeclaration",
"src": "2783:45:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "2814:9:1",
"nodeType": "YulIdentifier",
"src": "2814:9:1"
},
{
"kind": "number",
"nativeSrc": "2825:1:1",
"nodeType": "YulLiteral",
"src": "2825:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "2810:3:1",
"nodeType": "YulIdentifier",
"src": "2810:3:1"
},
"nativeSrc": "2810:17:1",
"nodeType": "YulFunctionCall",
"src": "2810:17:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "2797:12:1",
"nodeType": "YulIdentifier",
"src": "2797:12:1"
},
"nativeSrc": "2797:31:1",
"nodeType": "YulFunctionCall",
"src": "2797:31:1"
},
"variables": [
{
"name": "offset",
"nativeSrc": "2787:6:1",
"nodeType": "YulTypedName",
"src": "2787:6:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "2875:83:1",
"nodeType": "YulBlock",
"src": "2875:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "2877:77:1",
"nodeType": "YulIdentifier",
"src": "2877:77:1"
},
"nativeSrc": "2877:79:1",
"nodeType": "YulFunctionCall",
"src": "2877:79:1"
},
"nativeSrc": "2877:79:1",
"nodeType": "YulExpressionStatement",
"src": "2877:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nativeSrc": "2847:6:1",
"nodeType": "YulIdentifier",
"src": "2847:6:1"
},
{
"kind": "number",
"nativeSrc": "2855:18:1",
"nodeType": "YulLiteral",
"src": "2855:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "2844:2:1",
"nodeType": "YulIdentifier",
"src": "2844:2:1"
},
"nativeSrc": "2844:30:1",
"nodeType": "YulFunctionCall",
"src": "2844:30:1"
},
"nativeSrc": "2841:117:1",
"nodeType": "YulIf",
"src": "2841:117:1"
},
{
"nativeSrc": "2972:73:1",
"nodeType": "YulAssignment",
"src": "2972:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "3017:9:1",
"nodeType": "YulIdentifier",
"src": "3017:9:1"
},
{
"name": "offset",
"nativeSrc": "3028:6:1",
"nodeType": "YulIdentifier",
"src": "3028:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3013:3:1",
"nodeType": "YulIdentifier",
"src": "3013:3:1"
},
"nativeSrc": "3013:22:1",
"nodeType": "YulFunctionCall",
"src": "3013:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "3037:7:1",
"nodeType": "YulIdentifier",
"src": "3037:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nativeSrc": "2982:30:1",
"nodeType": "YulIdentifier",
"src": "2982:30:1"
},
"nativeSrc": "2982:63:1",
"nodeType": "YulFunctionCall",
"src": "2982:63:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "2972:6:1",
"nodeType": "YulIdentifier",
"src": "2972:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_string_memory_ptr",
"nativeSrc": "2553:509:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "2599:9:1",
"nodeType": "YulTypedName",
"src": "2599:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "2610:7:1",
"nodeType": "YulTypedName",
"src": "2610:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "2622:6:1",
"nodeType": "YulTypedName",
"src": "2622:6:1",
"type": ""
}
],
"src": "2553:509:1"
},
{
"body": {
"nativeSrc": "3113:32:1",
"nodeType": "YulBlock",
"src": "3113:32:1",
"statements": [
{
"nativeSrc": "3123:16:1",
"nodeType": "YulAssignment",
"src": "3123:16:1",
"value": {
"name": "value",
"nativeSrc": "3134:5:1",
"nodeType": "YulIdentifier",
"src": "3134:5:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "3123:7:1",
"nodeType": "YulIdentifier",
"src": "3123:7:1"
}
]
}
]
},
"name": "cleanup_t_uint256",
"nativeSrc": "3068:77:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "3095:5:1",
"nodeType": "YulTypedName",
"src": "3095:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "3105:7:1",
"nodeType": "YulTypedName",
"src": "3105:7:1",
"type": ""
}
],
"src": "3068:77:1"
},
{
"body": {
"nativeSrc": "3216:53:1",
"nodeType": "YulBlock",
"src": "3216:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "3233:3:1",
"nodeType": "YulIdentifier",
"src": "3233:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "3256:5:1",
"nodeType": "YulIdentifier",
"src": "3256:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "3238:17:1",
"nodeType": "YulIdentifier",
"src": "3238:17:1"
},
"nativeSrc": "3238:24:1",
"nodeType": "YulFunctionCall",
"src": "3238:24:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "3226:6:1",
"nodeType": "YulIdentifier",
"src": "3226:6:1"
},
"nativeSrc": "3226:37:1",
"nodeType": "YulFunctionCall",
"src": "3226:37:1"
},
"nativeSrc": "3226:37:1",
"nodeType": "YulExpressionStatement",
"src": "3226:37:1"
}
]
},
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "3151:118:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "3204:5:1",
"nodeType": "YulTypedName",
"src": "3204:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "3211:3:1",
"nodeType": "YulTypedName",
"src": "3211:3:1",
"type": ""
}
],
"src": "3151:118:1"
},
{
"body": {
"nativeSrc": "3373:124:1",
"nodeType": "YulBlock",
"src": "3373:124:1",
"statements": [
{
"nativeSrc": "3383:26:1",
"nodeType": "YulAssignment",
"src": "3383:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "3395:9:1",
"nodeType": "YulIdentifier",
"src": "3395:9:1"
},
{
"kind": "number",
"nativeSrc": "3406:2:1",
"nodeType": "YulLiteral",
"src": "3406:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3391:3:1",
"nodeType": "YulIdentifier",
"src": "3391:3:1"
},
"nativeSrc": "3391:18:1",
"nodeType": "YulFunctionCall",
"src": "3391:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "3383:4:1",
"nodeType": "YulIdentifier",
"src": "3383:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "3463:6:1",
"nodeType": "YulIdentifier",
"src": "3463:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "3476:9:1",
"nodeType": "YulIdentifier",
"src": "3476:9:1"
},
{
"kind": "number",
"nativeSrc": "3487:1:1",
"nodeType": "YulLiteral",
"src": "3487:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "3472:3:1",
"nodeType": "YulIdentifier",
"src": "3472:3:1"
},
"nativeSrc": "3472:17:1",
"nodeType": "YulFunctionCall",
"src": "3472:17:1"
}
],
"functionName": {
"name": "abi_encode_t_uint256_to_t_uint256_fromStack",
"nativeSrc": "3419:43:1",
"nodeType": "YulIdentifier",
"src": "3419:43:1"
},
"nativeSrc": "3419:71:1",
"nodeType": "YulFunctionCall",
"src": "3419:71:1"
},
"nativeSrc": "3419:71:1",
"nodeType": "YulExpressionStatement",
"src": "3419:71:1"
}
]
},
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
"nativeSrc": "3275:222:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "3345:9:1",
"nodeType": "YulTypedName",
"src": "3345:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "3357:6:1",
"nodeType": "YulTypedName",
"src": "3357:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "3368:4:1",
"nodeType": "YulTypedName",
"src": "3368:4:1",
"type": ""
}
],
"src": "3275:222:1"
},
{
"body": {
"nativeSrc": "3546:79:1",
"nodeType": "YulBlock",
"src": "3546:79:1",
"statements": [
{
"body": {
"nativeSrc": "3603:16:1",
"nodeType": "YulBlock",
"src": "3603:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "3612:1:1",
"nodeType": "YulLiteral",
"src": "3612:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "3615:1:1",
"nodeType": "YulLiteral",
"src": "3615:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "3605:6:1",
"nodeType": "YulIdentifier",
"src": "3605:6:1"
},
"nativeSrc": "3605:12:1",
"nodeType": "YulFunctionCall",
"src": "3605:12:1"
},
"nativeSrc": "3605:12:1",
"nodeType": "YulExpressionStatement",
"src": "3605:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "3569:5:1",
"nodeType": "YulIdentifier",
"src": "3569:5:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "3594:5:1",
"nodeType": "YulIdentifier",
"src": "3594:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "3576:17:1",
"nodeType": "YulIdentifier",
"src": "3576:17:1"
},
"nativeSrc": "3576:24:1",
"nodeType": "YulFunctionCall",
"src": "3576:24:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "3566:2:1",
"nodeType": "YulIdentifier",
"src": "3566:2:1"
},
"nativeSrc": "3566:35:1",
"nodeType": "YulFunctionCall",
"src": "3566:35:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "3559:6:1",
"nodeType": "YulIdentifier",
"src": "3559:6:1"
},
"nativeSrc": "3559:43:1",
"nodeType": "YulFunctionCall",
"src": "3559:43:1"
},
"nativeSrc": "3556:63:1",
"nodeType": "YulIf",
"src": "3556:63:1"
}
]
},
"name": "validator_revert_t_uint256",
"nativeSrc": "3503:122:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "3539:5:1",
"nodeType": "YulTypedName",
"src": "3539:5:1",
"type": ""
}
],
"src": "3503:122:1"
},
{
"body": {
"nativeSrc": "3683:87:1",
"nodeType": "YulBlock",
"src": "3683:87:1",
"statements": [
{
"nativeSrc": "3693:29:1",
"nodeType": "YulAssignment",
"src": "3693:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "3715:6:1",
"nodeType": "YulIdentifier",
"src": "3715:6:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "3702:12:1",
"nodeType": "YulIdentifier",
"src": "3702:12:1"
},
"nativeSrc": "3702:20:1",
"nodeType": "YulFunctionCall",
"src": "3702:20:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "3693:5:1",
"nodeType": "YulIdentifier",
"src": "3693:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "3758:5:1",
"nodeType": "YulIdentifier",
"src": "3758:5:1"
}
],
"functionName": {
"name": "validator_revert_t_uint256",
"nativeSrc": "3731:26:1",
"nodeType": "YulIdentifier",
"src": "3731:26:1"
},
"nativeSrc": "3731:33:1",
"nodeType": "YulFunctionCall",
"src": "3731:33:1"
},
"nativeSrc": "3731:33:1",
"nodeType": "YulExpressionStatement",
"src": "3731:33:1"
}
]
},
"name": "abi_decode_t_uint256",
"nativeSrc": "3631:139:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "3661:6:1",
"nodeType": "YulTypedName",
"src": "3661:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "3669:3:1",
"nodeType": "YulTypedName",
"src": "3669:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "3677:5:1",
"nodeType": "YulTypedName",
"src": "3677:5:1",
"type": ""
}
],
"src": "3631:139:1"
},
{
"body": {
"nativeSrc": "3842:263:1",
"nodeType": "YulBlock",
"src": "3842:263:1",
"statements": [
{
"body": {
"nativeSrc": "3888:83:1",
"nodeType": "YulBlock",
"src": "3888:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "3890:77:1",
"nodeType": "YulIdentifier",
"src": "3890:77:1"
},
"nativeSrc": "3890:79:1",
"nodeType": "YulFunctionCall",
"src": "3890:79:1"
},
"nativeSrc": "3890:79:1",
"nodeType": "YulExpressionStatement",
"src": "3890:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "3863:7:1",
"nodeType": "YulIdentifier",
"src": "3863:7:1"
},
{
"name": "headStart",
"nativeSrc": "3872:9:1",
"nodeType": "YulIdentifier",
"src": "3872:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "3859:3:1",
"nodeType": "YulIdentifier",
"src": "3859:3:1"
},
"nativeSrc": "3859:23:1",
"nodeType": "YulFunctionCall",
"src": "3859:23:1"
},
{
"kind": "number",
"nativeSrc": "3884:2:1",
"nodeType": "YulLiteral",
"src": "3884:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "3855:3:1",
"nodeType": "YulIdentifier",
"src": "3855:3:1"
},
"nativeSrc": "3855:32:1",
"nodeType": "YulFunctionCall",
"src": "3855:32:1"
},
"nativeSrc": "3852:119:1",
"nodeType": "YulIf",
"src": "3852:119:1"
},
{
"nativeSrc": "3981:117:1",
"nodeType": "YulBlock",
"src": "3981:117:1",
"statements": [
{
"nativeSrc": "3996:15:1",
"nodeType": "YulVariableDeclaration",
"src": "3996:15:1",
"value": {
"kind": "number",
"nativeSrc": "4010:1:1",
"nodeType": "YulLiteral",
"src": "4010:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "4000:6:1",
"nodeType": "YulTypedName",
"src": "4000:6:1",
"type": ""
}
]
},
{
"nativeSrc": "4025:63:1",
"nodeType": "YulAssignment",
"src": "4025:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "4060:9:1",
"nodeType": "YulIdentifier",
"src": "4060:9:1"
},
{
"name": "offset",
"nativeSrc": "4071:6:1",
"nodeType": "YulIdentifier",
"src": "4071:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4056:3:1",
"nodeType": "YulIdentifier",
"src": "4056:3:1"
},
"nativeSrc": "4056:22:1",
"nodeType": "YulFunctionCall",
"src": "4056:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "4080:7:1",
"nodeType": "YulIdentifier",
"src": "4080:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "4035:20:1",
"nodeType": "YulIdentifier",
"src": "4035:20:1"
},
"nativeSrc": "4035:53:1",
"nodeType": "YulFunctionCall",
"src": "4035:53:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "4025:6:1",
"nodeType": "YulIdentifier",
"src": "4025:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256",
"nativeSrc": "3776:329:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "3812:9:1",
"nodeType": "YulTypedName",
"src": "3812:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "3823:7:1",
"nodeType": "YulTypedName",
"src": "3823:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "3835:6:1",
"nodeType": "YulTypedName",
"src": "3835:6:1",
"type": ""
}
],
"src": "3776:329:1"
},
{
"body": {
"nativeSrc": "4170:40:1",
"nodeType": "YulBlock",
"src": "4170:40:1",
"statements": [
{
"nativeSrc": "4181:22:1",
"nodeType": "YulAssignment",
"src": "4181:22:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "4197:5:1",
"nodeType": "YulIdentifier",
"src": "4197:5:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "4191:5:1",
"nodeType": "YulIdentifier",
"src": "4191:5:1"
},
"nativeSrc": "4191:12:1",
"nodeType": "YulFunctionCall",
"src": "4191:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "4181:6:1",
"nodeType": "YulIdentifier",
"src": "4181:6:1"
}
]
}
]
},
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "4111:99:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "4153:5:1",
"nodeType": "YulTypedName",
"src": "4153:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "4163:6:1",
"nodeType": "YulTypedName",
"src": "4163:6:1",
"type": ""
}
],
"src": "4111:99:1"
},
{
"body": {
"nativeSrc": "4312:73:1",
"nodeType": "YulBlock",
"src": "4312:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "4329:3:1",
"nodeType": "YulIdentifier",
"src": "4329:3:1"
},
{
"name": "length",
"nativeSrc": "4334:6:1",
"nodeType": "YulIdentifier",
"src": "4334:6:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "4322:6:1",
"nodeType": "YulIdentifier",
"src": "4322:6:1"
},
"nativeSrc": "4322:19:1",
"nodeType": "YulFunctionCall",
"src": "4322:19:1"
},
"nativeSrc": "4322:19:1",
"nodeType": "YulExpressionStatement",
"src": "4322:19:1"
},
{
"nativeSrc": "4350:29:1",
"nodeType": "YulAssignment",
"src": "4350:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "4369:3:1",
"nodeType": "YulIdentifier",
"src": "4369:3:1"
},
{
"kind": "number",
"nativeSrc": "4374:4:1",
"nodeType": "YulLiteral",
"src": "4374:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4365:3:1",
"nodeType": "YulIdentifier",
"src": "4365:3:1"
},
"nativeSrc": "4365:14:1",
"nodeType": "YulFunctionCall",
"src": "4365:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nativeSrc": "4350:11:1",
"nodeType": "YulIdentifier",
"src": "4350:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "4216:169:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "4284:3:1",
"nodeType": "YulTypedName",
"src": "4284:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "4289:6:1",
"nodeType": "YulTypedName",
"src": "4289:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nativeSrc": "4300:11:1",
"nodeType": "YulTypedName",
"src": "4300:11:1",
"type": ""
}
],
"src": "4216:169:1"
},
{
"body": {
"nativeSrc": "4453:184:1",
"nodeType": "YulBlock",
"src": "4453:184:1",
"statements": [
{
"nativeSrc": "4463:10:1",
"nodeType": "YulVariableDeclaration",
"src": "4463:10:1",
"value": {
"kind": "number",
"nativeSrc": "4472:1:1",
"nodeType": "YulLiteral",
"src": "4472:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nativeSrc": "4467:1:1",
"nodeType": "YulTypedName",
"src": "4467:1:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "4532:63:1",
"nodeType": "YulBlock",
"src": "4532:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "4557:3:1",
"nodeType": "YulIdentifier",
"src": "4557:3:1"
},
{
"name": "i",
"nativeSrc": "4562:1:1",
"nodeType": "YulIdentifier",
"src": "4562:1:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4553:3:1",
"nodeType": "YulIdentifier",
"src": "4553:3:1"
},
"nativeSrc": "4553:11:1",
"nodeType": "YulFunctionCall",
"src": "4553:11:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "src",
"nativeSrc": "4576:3:1",
"nodeType": "YulIdentifier",
"src": "4576:3:1"
},
{
"name": "i",
"nativeSrc": "4581:1:1",
"nodeType": "YulIdentifier",
"src": "4581:1:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4572:3:1",
"nodeType": "YulIdentifier",
"src": "4572:3:1"
},
"nativeSrc": "4572:11:1",
"nodeType": "YulFunctionCall",
"src": "4572:11:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "4566:5:1",
"nodeType": "YulIdentifier",
"src": "4566:5:1"
},
"nativeSrc": "4566:18:1",
"nodeType": "YulFunctionCall",
"src": "4566:18:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "4546:6:1",
"nodeType": "YulIdentifier",
"src": "4546:6:1"
},
"nativeSrc": "4546:39:1",
"nodeType": "YulFunctionCall",
"src": "4546:39:1"
},
"nativeSrc": "4546:39:1",
"nodeType": "YulExpressionStatement",
"src": "4546:39:1"
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nativeSrc": "4493:1:1",
"nodeType": "YulIdentifier",
"src": "4493:1:1"
},
{
"name": "length",
"nativeSrc": "4496:6:1",
"nodeType": "YulIdentifier",
"src": "4496:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "4490:2:1",
"nodeType": "YulIdentifier",
"src": "4490:2:1"
},
"nativeSrc": "4490:13:1",
"nodeType": "YulFunctionCall",
"src": "4490:13:1"
},
"nativeSrc": "4482:113:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "4504:19:1",
"nodeType": "YulBlock",
"src": "4504:19:1",
"statements": [
{
"nativeSrc": "4506:15:1",
"nodeType": "YulAssignment",
"src": "4506:15:1",
"value": {
"arguments": [
{
"name": "i",
"nativeSrc": "4515:1:1",
"nodeType": "YulIdentifier",
"src": "4515:1:1"
},
{
"kind": "number",
"nativeSrc": "4518:2:1",
"nodeType": "YulLiteral",
"src": "4518:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4511:3:1",
"nodeType": "YulIdentifier",
"src": "4511:3:1"
},
"nativeSrc": "4511:10:1",
"nodeType": "YulFunctionCall",
"src": "4511:10:1"
},
"variableNames": [
{
"name": "i",
"nativeSrc": "4506:1:1",
"nodeType": "YulIdentifier",
"src": "4506:1:1"
}
]
}
]
},
"pre": {
"nativeSrc": "4486:3:1",
"nodeType": "YulBlock",
"src": "4486:3:1",
"statements": []
},
"src": "4482:113:1"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "dst",
"nativeSrc": "4615:3:1",
"nodeType": "YulIdentifier",
"src": "4615:3:1"
},
{
"name": "length",
"nativeSrc": "4620:6:1",
"nodeType": "YulIdentifier",
"src": "4620:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4611:3:1",
"nodeType": "YulIdentifier",
"src": "4611:3:1"
},
"nativeSrc": "4611:16:1",
"nodeType": "YulFunctionCall",
"src": "4611:16:1"
},
{
"kind": "number",
"nativeSrc": "4629:1:1",
"nodeType": "YulLiteral",
"src": "4629:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "4604:6:1",
"nodeType": "YulIdentifier",
"src": "4604:6:1"
},
"nativeSrc": "4604:27:1",
"nodeType": "YulFunctionCall",
"src": "4604:27:1"
},
"nativeSrc": "4604:27:1",
"nodeType": "YulExpressionStatement",
"src": "4604:27:1"
}
]
},
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "4391:246:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "src",
"nativeSrc": "4435:3:1",
"nodeType": "YulTypedName",
"src": "4435:3:1",
"type": ""
},
{
"name": "dst",
"nativeSrc": "4440:3:1",
"nodeType": "YulTypedName",
"src": "4440:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "4445:6:1",
"nodeType": "YulTypedName",
"src": "4445:6:1",
"type": ""
}
],
"src": "4391:246:1"
},
{
"body": {
"nativeSrc": "4735:285:1",
"nodeType": "YulBlock",
"src": "4735:285:1",
"statements": [
{
"nativeSrc": "4745:53:1",
"nodeType": "YulVariableDeclaration",
"src": "4745:53:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "4792:5:1",
"nodeType": "YulIdentifier",
"src": "4792:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "4759:32:1",
"nodeType": "YulIdentifier",
"src": "4759:32:1"
},
"nativeSrc": "4759:39:1",
"nodeType": "YulFunctionCall",
"src": "4759:39:1"
},
"variables": [
{
"name": "length",
"nativeSrc": "4749:6:1",
"nodeType": "YulTypedName",
"src": "4749:6:1",
"type": ""
}
]
},
{
"nativeSrc": "4807:78:1",
"nodeType": "YulAssignment",
"src": "4807:78:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "4873:3:1",
"nodeType": "YulIdentifier",
"src": "4873:3:1"
},
{
"name": "length",
"nativeSrc": "4878:6:1",
"nodeType": "YulIdentifier",
"src": "4878:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "4814:58:1",
"nodeType": "YulIdentifier",
"src": "4814:58:1"
},
"nativeSrc": "4814:71:1",
"nodeType": "YulFunctionCall",
"src": "4814:71:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "4807:3:1",
"nodeType": "YulIdentifier",
"src": "4807:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "4933:5:1",
"nodeType": "YulIdentifier",
"src": "4933:5:1"
},
{
"kind": "number",
"nativeSrc": "4940:4:1",
"nodeType": "YulLiteral",
"src": "4940:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4929:3:1",
"nodeType": "YulIdentifier",
"src": "4929:3:1"
},
"nativeSrc": "4929:16:1",
"nodeType": "YulFunctionCall",
"src": "4929:16:1"
},
{
"name": "pos",
"nativeSrc": "4947:3:1",
"nodeType": "YulIdentifier",
"src": "4947:3:1"
},
{
"name": "length",
"nativeSrc": "4952:6:1",
"nodeType": "YulIdentifier",
"src": "4952:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "4894:34:1",
"nodeType": "YulIdentifier",
"src": "4894:34:1"
},
"nativeSrc": "4894:65:1",
"nodeType": "YulFunctionCall",
"src": "4894:65:1"
},
"nativeSrc": "4894:65:1",
"nodeType": "YulExpressionStatement",
"src": "4894:65:1"
},
{
"nativeSrc": "4968:46:1",
"nodeType": "YulAssignment",
"src": "4968:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "4979:3:1",
"nodeType": "YulIdentifier",
"src": "4979:3:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "5006:6:1",
"nodeType": "YulIdentifier",
"src": "5006:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "4984:21:1",
"nodeType": "YulIdentifier",
"src": "4984:21:1"
},
"nativeSrc": "4984:29:1",
"nodeType": "YulFunctionCall",
"src": "4984:29:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "4975:3:1",
"nodeType": "YulIdentifier",
"src": "4975:3:1"
},
"nativeSrc": "4975:39:1",
"nodeType": "YulFunctionCall",
"src": "4975:39:1"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "4968:3:1",
"nodeType": "YulIdentifier",
"src": "4968:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nativeSrc": "4643:377:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "4716:5:1",
"nodeType": "YulTypedName",
"src": "4716:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "4723:3:1",
"nodeType": "YulTypedName",
"src": "4723:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "4731:3:1",
"nodeType": "YulTypedName",
"src": "4731:3:1",
"type": ""
}
],
"src": "4643:377:1"
},
{
"body": {
"nativeSrc": "5144:195:1",
"nodeType": "YulBlock",
"src": "5144:195:1",
"statements": [
{
"nativeSrc": "5154:26:1",
"nodeType": "YulAssignment",
"src": "5154:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "5166:9:1",
"nodeType": "YulIdentifier",
"src": "5166:9:1"
},
{
"kind": "number",
"nativeSrc": "5177:2:1",
"nodeType": "YulLiteral",
"src": "5177:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5162:3:1",
"nodeType": "YulIdentifier",
"src": "5162:3:1"
},
"nativeSrc": "5162:18:1",
"nodeType": "YulFunctionCall",
"src": "5162:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "5154:4:1",
"nodeType": "YulIdentifier",
"src": "5154:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "5201:9:1",
"nodeType": "YulIdentifier",
"src": "5201:9:1"
},
{
"kind": "number",
"nativeSrc": "5212:1:1",
"nodeType": "YulLiteral",
"src": "5212:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "5197:3:1",
"nodeType": "YulIdentifier",
"src": "5197:3:1"
},
"nativeSrc": "5197:17:1",
"nodeType": "YulFunctionCall",
"src": "5197:17:1"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "5220:4:1",
"nodeType": "YulIdentifier",
"src": "5220:4:1"
},
{
"name": "headStart",
"nativeSrc": "5226:9:1",
"nodeType": "YulIdentifier",
"src": "5226:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "5216:3:1",
"nodeType": "YulIdentifier",
"src": "5216:3:1"
},
"nativeSrc": "5216:20:1",
"nodeType": "YulFunctionCall",
"src": "5216:20:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "5190:6:1",
"nodeType": "YulIdentifier",
"src": "5190:6:1"
},
"nativeSrc": "5190:47:1",
"nodeType": "YulFunctionCall",
"src": "5190:47:1"
},
"nativeSrc": "5190:47:1",
"nodeType": "YulExpressionStatement",
"src": "5190:47:1"
},
{
"nativeSrc": "5246:86:1",
"nodeType": "YulAssignment",
"src": "5246:86:1",
"value": {
"arguments": [
{
"name": "value0",
"nativeSrc": "5318:6:1",
"nodeType": "YulIdentifier",
"src": "5318:6:1"
},
{
"name": "tail",
"nativeSrc": "5327:4:1",
"nodeType": "YulIdentifier",
"src": "5327:4:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack",
"nativeSrc": "5254:63:1",
"nodeType": "YulIdentifier",
"src": "5254:63:1"
},
"nativeSrc": "5254:78:1",
"nodeType": "YulFunctionCall",
"src": "5254:78:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "5246:4:1",
"nodeType": "YulIdentifier",
"src": "5246:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed",
"nativeSrc": "5026:313:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "5116:9:1",
"nodeType": "YulTypedName",
"src": "5116:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "5128:6:1",
"nodeType": "YulTypedName",
"src": "5128:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "5139:4:1",
"nodeType": "YulTypedName",
"src": "5139:4:1",
"type": ""
}
],
"src": "5026:313:1"
},
{
"body": {
"nativeSrc": "5390:81:1",
"nodeType": "YulBlock",
"src": "5390:81:1",
"statements": [
{
"nativeSrc": "5400:65:1",
"nodeType": "YulAssignment",
"src": "5400:65:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "5415:5:1",
"nodeType": "YulIdentifier",
"src": "5415:5:1"
},
{
"kind": "number",
"nativeSrc": "5422:42:1",
"nodeType": "YulLiteral",
"src": "5422:42:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "and",
"nativeSrc": "5411:3:1",
"nodeType": "YulIdentifier",
"src": "5411:3:1"
},
"nativeSrc": "5411:54:1",
"nodeType": "YulFunctionCall",
"src": "5411:54:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "5400:7:1",
"nodeType": "YulIdentifier",
"src": "5400:7:1"
}
]
}
]
},
"name": "cleanup_t_uint160",
"nativeSrc": "5345:126:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5372:5:1",
"nodeType": "YulTypedName",
"src": "5372:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "5382:7:1",
"nodeType": "YulTypedName",
"src": "5382:7:1",
"type": ""
}
],
"src": "5345:126:1"
},
{
"body": {
"nativeSrc": "5522:51:1",
"nodeType": "YulBlock",
"src": "5522:51:1",
"statements": [
{
"nativeSrc": "5532:35:1",
"nodeType": "YulAssignment",
"src": "5532:35:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "5561:5:1",
"nodeType": "YulIdentifier",
"src": "5561:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint160",
"nativeSrc": "5543:17:1",
"nodeType": "YulIdentifier",
"src": "5543:17:1"
},
"nativeSrc": "5543:24:1",
"nodeType": "YulFunctionCall",
"src": "5543:24:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "5532:7:1",
"nodeType": "YulIdentifier",
"src": "5532:7:1"
}
]
}
]
},
"name": "cleanup_t_address",
"nativeSrc": "5477:96:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5504:5:1",
"nodeType": "YulTypedName",
"src": "5504:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "5514:7:1",
"nodeType": "YulTypedName",
"src": "5514:7:1",
"type": ""
}
],
"src": "5477:96:1"
},
{
"body": {
"nativeSrc": "5622:79:1",
"nodeType": "YulBlock",
"src": "5622:79:1",
"statements": [
{
"body": {
"nativeSrc": "5679:16:1",
"nodeType": "YulBlock",
"src": "5679:16:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "5688:1:1",
"nodeType": "YulLiteral",
"src": "5688:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "5691:1:1",
"nodeType": "YulLiteral",
"src": "5691:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "5681:6:1",
"nodeType": "YulIdentifier",
"src": "5681:6:1"
},
"nativeSrc": "5681:12:1",
"nodeType": "YulFunctionCall",
"src": "5681:12:1"
},
"nativeSrc": "5681:12:1",
"nodeType": "YulExpressionStatement",
"src": "5681:12:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "5645:5:1",
"nodeType": "YulIdentifier",
"src": "5645:5:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "5670:5:1",
"nodeType": "YulIdentifier",
"src": "5670:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "5652:17:1",
"nodeType": "YulIdentifier",
"src": "5652:17:1"
},
"nativeSrc": "5652:24:1",
"nodeType": "YulFunctionCall",
"src": "5652:24:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "5642:2:1",
"nodeType": "YulIdentifier",
"src": "5642:2:1"
},
"nativeSrc": "5642:35:1",
"nodeType": "YulFunctionCall",
"src": "5642:35:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "5635:6:1",
"nodeType": "YulIdentifier",
"src": "5635:6:1"
},
"nativeSrc": "5635:43:1",
"nodeType": "YulFunctionCall",
"src": "5635:43:1"
},
"nativeSrc": "5632:63:1",
"nodeType": "YulIf",
"src": "5632:63:1"
}
]
},
"name": "validator_revert_t_address",
"nativeSrc": "5579:122:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "5615:5:1",
"nodeType": "YulTypedName",
"src": "5615:5:1",
"type": ""
}
],
"src": "5579:122:1"
},
{
"body": {
"nativeSrc": "5759:87:1",
"nodeType": "YulBlock",
"src": "5759:87:1",
"statements": [
{
"nativeSrc": "5769:29:1",
"nodeType": "YulAssignment",
"src": "5769:29:1",
"value": {
"arguments": [
{
"name": "offset",
"nativeSrc": "5791:6:1",
"nodeType": "YulIdentifier",
"src": "5791:6:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "5778:12:1",
"nodeType": "YulIdentifier",
"src": "5778:12:1"
},
"nativeSrc": "5778:20:1",
"nodeType": "YulFunctionCall",
"src": "5778:20:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "5769:5:1",
"nodeType": "YulIdentifier",
"src": "5769:5:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value",
"nativeSrc": "5834:5:1",
"nodeType": "YulIdentifier",
"src": "5834:5:1"
}
],
"functionName": {
"name": "validator_revert_t_address",
"nativeSrc": "5807:26:1",
"nodeType": "YulIdentifier",
"src": "5807:26:1"
},
"nativeSrc": "5807:33:1",
"nodeType": "YulFunctionCall",
"src": "5807:33:1"
},
"nativeSrc": "5807:33:1",
"nodeType": "YulExpressionStatement",
"src": "5807:33:1"
}
]
},
"name": "abi_decode_t_address",
"nativeSrc": "5707:139:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "offset",
"nativeSrc": "5737:6:1",
"nodeType": "YulTypedName",
"src": "5737:6:1",
"type": ""
},
{
"name": "end",
"nativeSrc": "5745:3:1",
"nodeType": "YulTypedName",
"src": "5745:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value",
"nativeSrc": "5753:5:1",
"nodeType": "YulTypedName",
"src": "5753:5:1",
"type": ""
}
],
"src": "5707:139:1"
},
{
"body": {
"nativeSrc": "5918:263:1",
"nodeType": "YulBlock",
"src": "5918:263:1",
"statements": [
{
"body": {
"nativeSrc": "5964:83:1",
"nodeType": "YulBlock",
"src": "5964:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "5966:77:1",
"nodeType": "YulIdentifier",
"src": "5966:77:1"
},
"nativeSrc": "5966:79:1",
"nodeType": "YulFunctionCall",
"src": "5966:79:1"
},
"nativeSrc": "5966:79:1",
"nodeType": "YulExpressionStatement",
"src": "5966:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "5939:7:1",
"nodeType": "YulIdentifier",
"src": "5939:7:1"
},
{
"name": "headStart",
"nativeSrc": "5948:9:1",
"nodeType": "YulIdentifier",
"src": "5948:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "5935:3:1",
"nodeType": "YulIdentifier",
"src": "5935:3:1"
},
"nativeSrc": "5935:23:1",
"nodeType": "YulFunctionCall",
"src": "5935:23:1"
},
{
"kind": "number",
"nativeSrc": "5960:2:1",
"nodeType": "YulLiteral",
"src": "5960:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "5931:3:1",
"nodeType": "YulIdentifier",
"src": "5931:3:1"
},
"nativeSrc": "5931:32:1",
"nodeType": "YulFunctionCall",
"src": "5931:32:1"
},
"nativeSrc": "5928:119:1",
"nodeType": "YulIf",
"src": "5928:119:1"
},
{
"nativeSrc": "6057:117:1",
"nodeType": "YulBlock",
"src": "6057:117:1",
"statements": [
{
"nativeSrc": "6072:15:1",
"nodeType": "YulVariableDeclaration",
"src": "6072:15:1",
"value": {
"kind": "number",
"nativeSrc": "6086:1:1",
"nodeType": "YulLiteral",
"src": "6086:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "6076:6:1",
"nodeType": "YulTypedName",
"src": "6076:6:1",
"type": ""
}
]
},
{
"nativeSrc": "6101:63:1",
"nodeType": "YulAssignment",
"src": "6101:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "6136:9:1",
"nodeType": "YulIdentifier",
"src": "6136:9:1"
},
{
"name": "offset",
"nativeSrc": "6147:6:1",
"nodeType": "YulIdentifier",
"src": "6147:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "6132:3:1",
"nodeType": "YulIdentifier",
"src": "6132:3:1"
},
"nativeSrc": "6132:22:1",
"nodeType": "YulFunctionCall",
"src": "6132:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "6156:7:1",
"nodeType": "YulIdentifier",
"src": "6156:7:1"
}
],
"functionName": {
"name": "abi_decode_t_address",
"nativeSrc": "6111:20:1",
"nodeType": "YulIdentifier",
"src": "6111:20:1"
},
"nativeSrc": "6111:53:1",
"nodeType": "YulFunctionCall",
"src": "6111:53:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "6101:6:1",
"nodeType": "YulIdentifier",
"src": "6101:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_address",
"nativeSrc": "5852:329:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "5888:9:1",
"nodeType": "YulTypedName",
"src": "5888:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "5899:7:1",
"nodeType": "YulTypedName",
"src": "5899:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "5911:6:1",
"nodeType": "YulTypedName",
"src": "5911:6:1",
"type": ""
}
],
"src": "5852:329:1"
},
{
"body": {
"nativeSrc": "6252:53:1",
"nodeType": "YulBlock",
"src": "6252:53:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "6269:3:1",
"nodeType": "YulIdentifier",
"src": "6269:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "6292:5:1",
"nodeType": "YulIdentifier",
"src": "6292:5:1"
}
],
"functionName": {
"name": "cleanup_t_address",
"nativeSrc": "6274:17:1",
"nodeType": "YulIdentifier",
"src": "6274:17:1"
},
"nativeSrc": "6274:24:1",
"nodeType": "YulFunctionCall",
"src": "6274:24:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "6262:6:1",
"nodeType": "YulIdentifier",
"src": "6262:6:1"
},
"nativeSrc": "6262:37:1",
"nodeType": "YulFunctionCall",
"src": "6262:37:1"
},
"nativeSrc": "6262:37:1",
"nodeType": "YulExpressionStatement",
"src": "6262:37:1"
}
]
},
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "6187:118:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "6240:5:1",
"nodeType": "YulTypedName",
"src": "6240:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "6247:3:1",
"nodeType": "YulTypedName",
"src": "6247:3:1",
"type": ""
}
],
"src": "6187:118:1"
},
{
"body": {
"nativeSrc": "6409:124:1",
"nodeType": "YulBlock",
"src": "6409:124:1",
"statements": [
{
"nativeSrc": "6419:26:1",
"nodeType": "YulAssignment",
"src": "6419:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "6431:9:1",
"nodeType": "YulIdentifier",
"src": "6431:9:1"
},
{
"kind": "number",
"nativeSrc": "6442:2:1",
"nodeType": "YulLiteral",
"src": "6442:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "6427:3:1",
"nodeType": "YulIdentifier",
"src": "6427:3:1"
},
"nativeSrc": "6427:18:1",
"nodeType": "YulFunctionCall",
"src": "6427:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "6419:4:1",
"nodeType": "YulIdentifier",
"src": "6419:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "6499:6:1",
"nodeType": "YulIdentifier",
"src": "6499:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "6512:9:1",
"nodeType": "YulIdentifier",
"src": "6512:9:1"
},
{
"kind": "number",
"nativeSrc": "6523:1:1",
"nodeType": "YulLiteral",
"src": "6523:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "6508:3:1",
"nodeType": "YulIdentifier",
"src": "6508:3:1"
},
"nativeSrc": "6508:17:1",
"nodeType": "YulFunctionCall",
"src": "6508:17:1"
}
],
"functionName": {
"name": "abi_encode_t_address_to_t_address_fromStack",
"nativeSrc": "6455:43:1",
"nodeType": "YulIdentifier",
"src": "6455:43:1"
},
"nativeSrc": "6455:71:1",
"nodeType": "YulFunctionCall",
"src": "6455:71:1"
},
"nativeSrc": "6455:71:1",
"nodeType": "YulExpressionStatement",
"src": "6455:71:1"
}
]
},
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
"nativeSrc": "6311:222:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "6381:9:1",
"nodeType": "YulTypedName",
"src": "6381:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "6393:6:1",
"nodeType": "YulTypedName",
"src": "6393:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "6404:4:1",
"nodeType": "YulTypedName",
"src": "6404:4:1",
"type": ""
}
],
"src": "6311:222:1"
},
{
"body": {
"nativeSrc": "6581:48:1",
"nodeType": "YulBlock",
"src": "6581:48:1",
"statements": [
{
"nativeSrc": "6591:32:1",
"nodeType": "YulAssignment",
"src": "6591:32:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "6616:5:1",
"nodeType": "YulIdentifier",
"src": "6616:5:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "6609:6:1",
"nodeType": "YulIdentifier",
"src": "6609:6:1"
},
"nativeSrc": "6609:13:1",
"nodeType": "YulFunctionCall",
"src": "6609:13:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "6602:6:1",
"nodeType": "YulIdentifier",
"src": "6602:6:1"
},
"nativeSrc": "6602:21:1",
"nodeType": "YulFunctionCall",
"src": "6602:21:1"
},
"variableNames": [
{
"name": "cleaned",
"nativeSrc": "6591:7:1",
"nodeType": "YulIdentifier",
"src": "6591:7:1"
}
]
}
]
},
"name": "cleanup_t_bool",
"nativeSrc": "6539:90:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "6563:5:1",
"nodeType": "YulTypedName",
"src": "6563:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "cleaned",
"nativeSrc": "6573:7:1",
"nodeType": "YulTypedName",
"src": "6573:7:1",
"type": ""
}
],
"src": "6539:90:1"
},
{
"body": {
"nativeSrc": "6694:50:1",
"nodeType": "YulBlock",
"src": "6694:50:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "6711:3:1",
"nodeType": "YulIdentifier",
"src": "6711:3:1"
},
{
"arguments": [
{
"name": "value",
"nativeSrc": "6731:5:1",
"nodeType": "YulIdentifier",
"src": "6731:5:1"
}
],
"functionName": {
"name": "cleanup_t_bool",
"nativeSrc": "6716:14:1",
"nodeType": "YulIdentifier",
"src": "6716:14:1"
},
"nativeSrc": "6716:21:1",
"nodeType": "YulFunctionCall",
"src": "6716:21:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "6704:6:1",
"nodeType": "YulIdentifier",
"src": "6704:6:1"
},
"nativeSrc": "6704:34:1",
"nodeType": "YulFunctionCall",
"src": "6704:34:1"
},
"nativeSrc": "6704:34:1",
"nodeType": "YulExpressionStatement",
"src": "6704:34:1"
}
]
},
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nativeSrc": "6635:109:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "6682:5:1",
"nodeType": "YulTypedName",
"src": "6682:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "6689:3:1",
"nodeType": "YulTypedName",
"src": "6689:3:1",
"type": ""
}
],
"src": "6635:109:1"
},
{
"body": {
"nativeSrc": "6842:118:1",
"nodeType": "YulBlock",
"src": "6842:118:1",
"statements": [
{
"nativeSrc": "6852:26:1",
"nodeType": "YulAssignment",
"src": "6852:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "6864:9:1",
"nodeType": "YulIdentifier",
"src": "6864:9:1"
},
{
"kind": "number",
"nativeSrc": "6875:2:1",
"nodeType": "YulLiteral",
"src": "6875:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "6860:3:1",
"nodeType": "YulIdentifier",
"src": "6860:3:1"
},
"nativeSrc": "6860:18:1",
"nodeType": "YulFunctionCall",
"src": "6860:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "6852:4:1",
"nodeType": "YulIdentifier",
"src": "6852:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "value0",
"nativeSrc": "6926:6:1",
"nodeType": "YulIdentifier",
"src": "6926:6:1"
},
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "6939:9:1",
"nodeType": "YulIdentifier",
"src": "6939:9:1"
},
{
"kind": "number",
"nativeSrc": "6950:1:1",
"nodeType": "YulLiteral",
"src": "6950:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "6935:3:1",
"nodeType": "YulIdentifier",
"src": "6935:3:1"
},
"nativeSrc": "6935:17:1",
"nodeType": "YulFunctionCall",
"src": "6935:17:1"
}
],
"functionName": {
"name": "abi_encode_t_bool_to_t_bool_fromStack",
"nativeSrc": "6888:37:1",
"nodeType": "YulIdentifier",
"src": "6888:37:1"
},
"nativeSrc": "6888:65:1",
"nodeType": "YulFunctionCall",
"src": "6888:65:1"
},
"nativeSrc": "6888:65:1",
"nodeType": "YulExpressionStatement",
"src": "6888:65:1"
}
]
},
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed",
"nativeSrc": "6750:210:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "6814:9:1",
"nodeType": "YulTypedName",
"src": "6814:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "6826:6:1",
"nodeType": "YulTypedName",
"src": "6826:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "6837:4:1",
"nodeType": "YulTypedName",
"src": "6837:4:1",
"type": ""
}
],
"src": "6750:210:1"
},
{
"body": {
"nativeSrc": "7059:561:1",
"nodeType": "YulBlock",
"src": "7059:561:1",
"statements": [
{
"body": {
"nativeSrc": "7105:83:1",
"nodeType": "YulBlock",
"src": "7105:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
"nativeSrc": "7107:77:1",
"nodeType": "YulIdentifier",
"src": "7107:77:1"
},
"nativeSrc": "7107:79:1",
"nodeType": "YulFunctionCall",
"src": "7107:79:1"
},
"nativeSrc": "7107:79:1",
"nodeType": "YulExpressionStatement",
"src": "7107:79:1"
}
]
},
"condition": {
"arguments": [
{
"arguments": [
{
"name": "dataEnd",
"nativeSrc": "7080:7:1",
"nodeType": "YulIdentifier",
"src": "7080:7:1"
},
{
"name": "headStart",
"nativeSrc": "7089:9:1",
"nodeType": "YulIdentifier",
"src": "7089:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "7076:3:1",
"nodeType": "YulIdentifier",
"src": "7076:3:1"
},
"nativeSrc": "7076:23:1",
"nodeType": "YulFunctionCall",
"src": "7076:23:1"
},
{
"kind": "number",
"nativeSrc": "7101:2:1",
"nodeType": "YulLiteral",
"src": "7101:2:1",
"type": "",
"value": "64"
}
],
"functionName": {
"name": "slt",
"nativeSrc": "7072:3:1",
"nodeType": "YulIdentifier",
"src": "7072:3:1"
},
"nativeSrc": "7072:32:1",
"nodeType": "YulFunctionCall",
"src": "7072:32:1"
},
"nativeSrc": "7069:119:1",
"nodeType": "YulIf",
"src": "7069:119:1"
},
{
"nativeSrc": "7198:117:1",
"nodeType": "YulBlock",
"src": "7198:117:1",
"statements": [
{
"nativeSrc": "7213:15:1",
"nodeType": "YulVariableDeclaration",
"src": "7213:15:1",
"value": {
"kind": "number",
"nativeSrc": "7227:1:1",
"nodeType": "YulLiteral",
"src": "7227:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "offset",
"nativeSrc": "7217:6:1",
"nodeType": "YulTypedName",
"src": "7217:6:1",
"type": ""
}
]
},
{
"nativeSrc": "7242:63:1",
"nodeType": "YulAssignment",
"src": "7242:63:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "7277:9:1",
"nodeType": "YulIdentifier",
"src": "7277:9:1"
},
{
"name": "offset",
"nativeSrc": "7288:6:1",
"nodeType": "YulIdentifier",
"src": "7288:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7273:3:1",
"nodeType": "YulIdentifier",
"src": "7273:3:1"
},
"nativeSrc": "7273:22:1",
"nodeType": "YulFunctionCall",
"src": "7273:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "7297:7:1",
"nodeType": "YulIdentifier",
"src": "7297:7:1"
}
],
"functionName": {
"name": "abi_decode_t_uint256",
"nativeSrc": "7252:20:1",
"nodeType": "YulIdentifier",
"src": "7252:20:1"
},
"nativeSrc": "7252:53:1",
"nodeType": "YulFunctionCall",
"src": "7252:53:1"
},
"variableNames": [
{
"name": "value0",
"nativeSrc": "7242:6:1",
"nodeType": "YulIdentifier",
"src": "7242:6:1"
}
]
}
]
},
{
"nativeSrc": "7325:288:1",
"nodeType": "YulBlock",
"src": "7325:288:1",
"statements": [
{
"nativeSrc": "7340:46:1",
"nodeType": "YulVariableDeclaration",
"src": "7340:46:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "7371:9:1",
"nodeType": "YulIdentifier",
"src": "7371:9:1"
},
{
"kind": "number",
"nativeSrc": "7382:2:1",
"nodeType": "YulLiteral",
"src": "7382:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7367:3:1",
"nodeType": "YulIdentifier",
"src": "7367:3:1"
},
"nativeSrc": "7367:18:1",
"nodeType": "YulFunctionCall",
"src": "7367:18:1"
}
],
"functionName": {
"name": "calldataload",
"nativeSrc": "7354:12:1",
"nodeType": "YulIdentifier",
"src": "7354:12:1"
},
"nativeSrc": "7354:32:1",
"nodeType": "YulFunctionCall",
"src": "7354:32:1"
},
"variables": [
{
"name": "offset",
"nativeSrc": "7344:6:1",
"nodeType": "YulTypedName",
"src": "7344:6:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "7433:83:1",
"nodeType": "YulBlock",
"src": "7433:83:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
"nativeSrc": "7435:77:1",
"nodeType": "YulIdentifier",
"src": "7435:77:1"
},
"nativeSrc": "7435:79:1",
"nodeType": "YulFunctionCall",
"src": "7435:79:1"
},
"nativeSrc": "7435:79:1",
"nodeType": "YulExpressionStatement",
"src": "7435:79:1"
}
]
},
"condition": {
"arguments": [
{
"name": "offset",
"nativeSrc": "7405:6:1",
"nodeType": "YulIdentifier",
"src": "7405:6:1"
},
{
"kind": "number",
"nativeSrc": "7413:18:1",
"nodeType": "YulLiteral",
"src": "7413:18:1",
"type": "",
"value": "0xffffffffffffffff"
}
],
"functionName": {
"name": "gt",
"nativeSrc": "7402:2:1",
"nodeType": "YulIdentifier",
"src": "7402:2:1"
},
"nativeSrc": "7402:30:1",
"nodeType": "YulFunctionCall",
"src": "7402:30:1"
},
"nativeSrc": "7399:117:1",
"nodeType": "YulIf",
"src": "7399:117:1"
},
{
"nativeSrc": "7530:73:1",
"nodeType": "YulAssignment",
"src": "7530:73:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "7575:9:1",
"nodeType": "YulIdentifier",
"src": "7575:9:1"
},
{
"name": "offset",
"nativeSrc": "7586:6:1",
"nodeType": "YulIdentifier",
"src": "7586:6:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7571:3:1",
"nodeType": "YulIdentifier",
"src": "7571:3:1"
},
"nativeSrc": "7571:22:1",
"nodeType": "YulFunctionCall",
"src": "7571:22:1"
},
{
"name": "dataEnd",
"nativeSrc": "7595:7:1",
"nodeType": "YulIdentifier",
"src": "7595:7:1"
}
],
"functionName": {
"name": "abi_decode_t_string_memory_ptr",
"nativeSrc": "7540:30:1",
"nodeType": "YulIdentifier",
"src": "7540:30:1"
},
"nativeSrc": "7540:63:1",
"nodeType": "YulFunctionCall",
"src": "7540:63:1"
},
"variableNames": [
{
"name": "value1",
"nativeSrc": "7530:6:1",
"nodeType": "YulIdentifier",
"src": "7530:6:1"
}
]
}
]
}
]
},
"name": "abi_decode_tuple_t_uint256t_string_memory_ptr",
"nativeSrc": "6966:654:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "7021:9:1",
"nodeType": "YulTypedName",
"src": "7021:9:1",
"type": ""
},
{
"name": "dataEnd",
"nativeSrc": "7032:7:1",
"nodeType": "YulTypedName",
"src": "7032:7:1",
"type": ""
}
],
"returnVariables": [
{
"name": "value0",
"nativeSrc": "7044:6:1",
"nodeType": "YulTypedName",
"src": "7044:6:1",
"type": ""
},
{
"name": "value1",
"nativeSrc": "7052:6:1",
"nodeType": "YulTypedName",
"src": "7052:6:1",
"type": ""
}
],
"src": "6966:654:1"
},
{
"body": {
"nativeSrc": "7710:40:1",
"nodeType": "YulBlock",
"src": "7710:40:1",
"statements": [
{
"nativeSrc": "7721:22:1",
"nodeType": "YulAssignment",
"src": "7721:22:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "7737:5:1",
"nodeType": "YulIdentifier",
"src": "7737:5:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "7731:5:1",
"nodeType": "YulIdentifier",
"src": "7731:5:1"
},
"nativeSrc": "7731:12:1",
"nodeType": "YulFunctionCall",
"src": "7731:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "7721:6:1",
"nodeType": "YulIdentifier",
"src": "7721:6:1"
}
]
}
]
},
"name": "array_length_t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"nativeSrc": "7626:124:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "7693:5:1",
"nodeType": "YulTypedName",
"src": "7693:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "7703:6:1",
"nodeType": "YulTypedName",
"src": "7703:6:1",
"type": ""
}
],
"src": "7626:124:1"
},
{
"body": {
"nativeSrc": "7877:73:1",
"nodeType": "YulBlock",
"src": "7877:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "7894:3:1",
"nodeType": "YulIdentifier",
"src": "7894:3:1"
},
{
"name": "length",
"nativeSrc": "7899:6:1",
"nodeType": "YulIdentifier",
"src": "7899:6:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "7887:6:1",
"nodeType": "YulIdentifier",
"src": "7887:6:1"
},
"nativeSrc": "7887:19:1",
"nodeType": "YulFunctionCall",
"src": "7887:19:1"
},
"nativeSrc": "7887:19:1",
"nodeType": "YulExpressionStatement",
"src": "7887:19:1"
},
{
"nativeSrc": "7915:29:1",
"nodeType": "YulAssignment",
"src": "7915:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "7934:3:1",
"nodeType": "YulIdentifier",
"src": "7934:3:1"
},
{
"kind": "number",
"nativeSrc": "7939:4:1",
"nodeType": "YulLiteral",
"src": "7939:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "7930:3:1",
"nodeType": "YulIdentifier",
"src": "7930:3:1"
},
"nativeSrc": "7930:14:1",
"nodeType": "YulFunctionCall",
"src": "7930:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nativeSrc": "7915:11:1",
"nodeType": "YulIdentifier",
"src": "7915:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_array$_t_string_memory_ptr_$dyn_memory_ptr_fromStack",
"nativeSrc": "7756:194:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "7849:3:1",
"nodeType": "YulTypedName",
"src": "7849:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "7854:6:1",
"nodeType": "YulTypedName",
"src": "7854:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nativeSrc": "7865:11:1",
"nodeType": "YulTypedName",
"src": "7865:11:1",
"type": ""
}
],
"src": "7756:194:1"
},
{
"body": {
"nativeSrc": "8038:60:1",
"nodeType": "YulBlock",
"src": "8038:60:1",
"statements": [
{
"nativeSrc": "8048:11:1",
"nodeType": "YulAssignment",
"src": "8048:11:1",
"value": {
"name": "ptr",
"nativeSrc": "8056:3:1",
"nodeType": "YulIdentifier",
"src": "8056:3:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "8048:4:1",
"nodeType": "YulIdentifier",
"src": "8048:4:1"
}
]
},
{
"nativeSrc": "8069:22:1",
"nodeType": "YulAssignment",
"src": "8069:22:1",
"value": {
"arguments": [
{
"name": "ptr",
"nativeSrc": "8081:3:1",
"nodeType": "YulIdentifier",
"src": "8081:3:1"
},
{
"kind": "number",
"nativeSrc": "8086:4:1",
"nodeType": "YulLiteral",
"src": "8086:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8077:3:1",
"nodeType": "YulIdentifier",
"src": "8077:3:1"
},
"nativeSrc": "8077:14:1",
"nodeType": "YulFunctionCall",
"src": "8077:14:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "8069:4:1",
"nodeType": "YulIdentifier",
"src": "8069:4:1"
}
]
}
]
},
"name": "array_dataslot_t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"nativeSrc": "7956:142:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nativeSrc": "8025:3:1",
"nodeType": "YulTypedName",
"src": "8025:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nativeSrc": "8033:4:1",
"nodeType": "YulTypedName",
"src": "8033:4:1",
"type": ""
}
],
"src": "7956:142:1"
},
{
"body": {
"nativeSrc": "8190:73:1",
"nodeType": "YulBlock",
"src": "8190:73:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "8207:3:1",
"nodeType": "YulIdentifier",
"src": "8207:3:1"
},
{
"name": "length",
"nativeSrc": "8212:6:1",
"nodeType": "YulIdentifier",
"src": "8212:6:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "8200:6:1",
"nodeType": "YulIdentifier",
"src": "8200:6:1"
},
"nativeSrc": "8200:19:1",
"nodeType": "YulFunctionCall",
"src": "8200:19:1"
},
"nativeSrc": "8200:19:1",
"nodeType": "YulExpressionStatement",
"src": "8200:19:1"
},
{
"nativeSrc": "8228:29:1",
"nodeType": "YulAssignment",
"src": "8228:29:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "8247:3:1",
"nodeType": "YulIdentifier",
"src": "8247:3:1"
},
{
"kind": "number",
"nativeSrc": "8252:4:1",
"nodeType": "YulLiteral",
"src": "8252:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8243:3:1",
"nodeType": "YulIdentifier",
"src": "8243:3:1"
},
"nativeSrc": "8243:14:1",
"nodeType": "YulFunctionCall",
"src": "8243:14:1"
},
"variableNames": [
{
"name": "updated_pos",
"nativeSrc": "8228:11:1",
"nodeType": "YulIdentifier",
"src": "8228:11:1"
}
]
}
]
},
"name": "array_storeLengthForEncoding_t_string_memory_ptr",
"nativeSrc": "8104:159:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "8162:3:1",
"nodeType": "YulTypedName",
"src": "8162:3:1",
"type": ""
},
{
"name": "length",
"nativeSrc": "8167:6:1",
"nodeType": "YulTypedName",
"src": "8167:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updated_pos",
"nativeSrc": "8178:11:1",
"nodeType": "YulTypedName",
"src": "8178:11:1",
"type": ""
}
],
"src": "8104:159:1"
},
{
"body": {
"nativeSrc": "8351:275:1",
"nodeType": "YulBlock",
"src": "8351:275:1",
"statements": [
{
"nativeSrc": "8361:53:1",
"nodeType": "YulVariableDeclaration",
"src": "8361:53:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "8408:5:1",
"nodeType": "YulIdentifier",
"src": "8408:5:1"
}
],
"functionName": {
"name": "array_length_t_string_memory_ptr",
"nativeSrc": "8375:32:1",
"nodeType": "YulIdentifier",
"src": "8375:32:1"
},
"nativeSrc": "8375:39:1",
"nodeType": "YulFunctionCall",
"src": "8375:39:1"
},
"variables": [
{
"name": "length",
"nativeSrc": "8365:6:1",
"nodeType": "YulTypedName",
"src": "8365:6:1",
"type": ""
}
]
},
{
"nativeSrc": "8423:68:1",
"nodeType": "YulAssignment",
"src": "8423:68:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "8479:3:1",
"nodeType": "YulIdentifier",
"src": "8479:3:1"
},
{
"name": "length",
"nativeSrc": "8484:6:1",
"nodeType": "YulIdentifier",
"src": "8484:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr",
"nativeSrc": "8430:48:1",
"nodeType": "YulIdentifier",
"src": "8430:48:1"
},
"nativeSrc": "8430:61:1",
"nodeType": "YulFunctionCall",
"src": "8430:61:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "8423:3:1",
"nodeType": "YulIdentifier",
"src": "8423:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "8539:5:1",
"nodeType": "YulIdentifier",
"src": "8539:5:1"
},
{
"kind": "number",
"nativeSrc": "8546:4:1",
"nodeType": "YulLiteral",
"src": "8546:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8535:3:1",
"nodeType": "YulIdentifier",
"src": "8535:3:1"
},
"nativeSrc": "8535:16:1",
"nodeType": "YulFunctionCall",
"src": "8535:16:1"
},
{
"name": "pos",
"nativeSrc": "8553:3:1",
"nodeType": "YulIdentifier",
"src": "8553:3:1"
},
{
"name": "length",
"nativeSrc": "8558:6:1",
"nodeType": "YulIdentifier",
"src": "8558:6:1"
}
],
"functionName": {
"name": "copy_memory_to_memory_with_cleanup",
"nativeSrc": "8500:34:1",
"nodeType": "YulIdentifier",
"src": "8500:34:1"
},
"nativeSrc": "8500:65:1",
"nodeType": "YulFunctionCall",
"src": "8500:65:1"
},
"nativeSrc": "8500:65:1",
"nodeType": "YulExpressionStatement",
"src": "8500:65:1"
},
{
"nativeSrc": "8574:46:1",
"nodeType": "YulAssignment",
"src": "8574:46:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "8585:3:1",
"nodeType": "YulIdentifier",
"src": "8585:3:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "8612:6:1",
"nodeType": "YulIdentifier",
"src": "8612:6:1"
}
],
"functionName": {
"name": "round_up_to_mul_of_32",
"nativeSrc": "8590:21:1",
"nodeType": "YulIdentifier",
"src": "8590:21:1"
},
"nativeSrc": "8590:29:1",
"nodeType": "YulFunctionCall",
"src": "8590:29:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8581:3:1",
"nodeType": "YulIdentifier",
"src": "8581:3:1"
},
"nativeSrc": "8581:39:1",
"nodeType": "YulFunctionCall",
"src": "8581:39:1"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "8574:3:1",
"nodeType": "YulIdentifier",
"src": "8574:3:1"
}
]
}
]
},
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr",
"nativeSrc": "8269:357:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "8332:5:1",
"nodeType": "YulTypedName",
"src": "8332:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "8339:3:1",
"nodeType": "YulTypedName",
"src": "8339:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "8347:3:1",
"nodeType": "YulTypedName",
"src": "8347:3:1",
"type": ""
}
],
"src": "8269:357:1"
},
{
"body": {
"nativeSrc": "8732:96:1",
"nodeType": "YulBlock",
"src": "8732:96:1",
"statements": [
{
"nativeSrc": "8742:80:1",
"nodeType": "YulAssignment",
"src": "8742:80:1",
"value": {
"arguments": [
{
"name": "value0",
"nativeSrc": "8810:6:1",
"nodeType": "YulIdentifier",
"src": "8810:6:1"
},
{
"name": "pos",
"nativeSrc": "8818:3:1",
"nodeType": "YulIdentifier",
"src": "8818:3:1"
}
],
"functionName": {
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr",
"nativeSrc": "8756:53:1",
"nodeType": "YulIdentifier",
"src": "8756:53:1"
},
"nativeSrc": "8756:66:1",
"nodeType": "YulFunctionCall",
"src": "8756:66:1"
},
"variableNames": [
{
"name": "updatedPos",
"nativeSrc": "8742:10:1",
"nodeType": "YulIdentifier",
"src": "8742:10:1"
}
]
}
]
},
"name": "abi_encodeUpdatedPos_t_string_memory_ptr_to_t_string_memory_ptr",
"nativeSrc": "8632:196:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value0",
"nativeSrc": "8705:6:1",
"nodeType": "YulTypedName",
"src": "8705:6:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "8713:3:1",
"nodeType": "YulTypedName",
"src": "8713:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "updatedPos",
"nativeSrc": "8721:10:1",
"nodeType": "YulTypedName",
"src": "8721:10:1",
"type": ""
}
],
"src": "8632:196:1"
},
{
"body": {
"nativeSrc": "8919:38:1",
"nodeType": "YulBlock",
"src": "8919:38:1",
"statements": [
{
"nativeSrc": "8929:22:1",
"nodeType": "YulAssignment",
"src": "8929:22:1",
"value": {
"arguments": [
{
"name": "ptr",
"nativeSrc": "8941:3:1",
"nodeType": "YulIdentifier",
"src": "8941:3:1"
},
{
"kind": "number",
"nativeSrc": "8946:4:1",
"nodeType": "YulLiteral",
"src": "8946:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "8937:3:1",
"nodeType": "YulIdentifier",
"src": "8937:3:1"
},
"nativeSrc": "8937:14:1",
"nodeType": "YulFunctionCall",
"src": "8937:14:1"
},
"variableNames": [
{
"name": "next",
"nativeSrc": "8929:4:1",
"nodeType": "YulIdentifier",
"src": "8929:4:1"
}
]
}
]
},
"name": "array_nextElement_t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"nativeSrc": "8834:123:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nativeSrc": "8906:3:1",
"nodeType": "YulTypedName",
"src": "8906:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "next",
"nativeSrc": "8914:4:1",
"nodeType": "YulTypedName",
"src": "8914:4:1",
"type": ""
}
],
"src": "8834:123:1"
},
{
"body": {
"nativeSrc": "9135:847:1",
"nodeType": "YulBlock",
"src": "9135:847:1",
"statements": [
{
"nativeSrc": "9145:78:1",
"nodeType": "YulVariableDeclaration",
"src": "9145:78:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "9217:5:1",
"nodeType": "YulIdentifier",
"src": "9217:5:1"
}
],
"functionName": {
"name": "array_length_t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"nativeSrc": "9159:57:1",
"nodeType": "YulIdentifier",
"src": "9159:57:1"
},
"nativeSrc": "9159:64:1",
"nodeType": "YulFunctionCall",
"src": "9159:64:1"
},
"variables": [
{
"name": "length",
"nativeSrc": "9149:6:1",
"nodeType": "YulTypedName",
"src": "9149:6:1",
"type": ""
}
]
},
{
"nativeSrc": "9232:103:1",
"nodeType": "YulAssignment",
"src": "9232:103:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "9323:3:1",
"nodeType": "YulIdentifier",
"src": "9323:3:1"
},
{
"name": "length",
"nativeSrc": "9328:6:1",
"nodeType": "YulIdentifier",
"src": "9328:6:1"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_array$_t_string_memory_ptr_$dyn_memory_ptr_fromStack",
"nativeSrc": "9239:83:1",
"nodeType": "YulIdentifier",
"src": "9239:83:1"
},
"nativeSrc": "9239:96:1",
"nodeType": "YulFunctionCall",
"src": "9239:96:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "9232:3:1",
"nodeType": "YulIdentifier",
"src": "9232:3:1"
}
]
},
{
"nativeSrc": "9344:20:1",
"nodeType": "YulVariableDeclaration",
"src": "9344:20:1",
"value": {
"name": "pos",
"nativeSrc": "9361:3:1",
"nodeType": "YulIdentifier",
"src": "9361:3:1"
},
"variables": [
{
"name": "headStart",
"nativeSrc": "9348:9:1",
"nodeType": "YulTypedName",
"src": "9348:9:1",
"type": ""
}
]
},
{
"nativeSrc": "9373:39:1",
"nodeType": "YulVariableDeclaration",
"src": "9373:39:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "9389:3:1",
"nodeType": "YulIdentifier",
"src": "9389:3:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "9398:6:1",
"nodeType": "YulIdentifier",
"src": "9398:6:1"
},
{
"kind": "number",
"nativeSrc": "9406:4:1",
"nodeType": "YulLiteral",
"src": "9406:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "9394:3:1",
"nodeType": "YulIdentifier",
"src": "9394:3:1"
},
"nativeSrc": "9394:17:1",
"nodeType": "YulFunctionCall",
"src": "9394:17:1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9385:3:1",
"nodeType": "YulIdentifier",
"src": "9385:3:1"
},
"nativeSrc": "9385:27:1",
"nodeType": "YulFunctionCall",
"src": "9385:27:1"
},
"variables": [
{
"name": "tail",
"nativeSrc": "9377:4:1",
"nodeType": "YulTypedName",
"src": "9377:4:1",
"type": ""
}
]
},
{
"nativeSrc": "9421:81:1",
"nodeType": "YulVariableDeclaration",
"src": "9421:81:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "9496:5:1",
"nodeType": "YulIdentifier",
"src": "9496:5:1"
}
],
"functionName": {
"name": "array_dataslot_t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"nativeSrc": "9436:59:1",
"nodeType": "YulIdentifier",
"src": "9436:59:1"
},
"nativeSrc": "9436:66:1",
"nodeType": "YulFunctionCall",
"src": "9436:66:1"
},
"variables": [
{
"name": "baseRef",
"nativeSrc": "9425:7:1",
"nodeType": "YulTypedName",
"src": "9425:7:1",
"type": ""
}
]
},
{
"nativeSrc": "9511:21:1",
"nodeType": "YulVariableDeclaration",
"src": "9511:21:1",
"value": {
"name": "baseRef",
"nativeSrc": "9525:7:1",
"nodeType": "YulIdentifier",
"src": "9525:7:1"
},
"variables": [
{
"name": "srcPtr",
"nativeSrc": "9515:6:1",
"nodeType": "YulTypedName",
"src": "9515:6:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "9601:336:1",
"nodeType": "YulBlock",
"src": "9601:336:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "9622:3:1",
"nodeType": "YulIdentifier",
"src": "9622:3:1"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "9631:4:1",
"nodeType": "YulIdentifier",
"src": "9631:4:1"
},
{
"name": "headStart",
"nativeSrc": "9637:9:1",
"nodeType": "YulIdentifier",
"src": "9637:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "9627:3:1",
"nodeType": "YulIdentifier",
"src": "9627:3:1"
},
"nativeSrc": "9627:20:1",
"nodeType": "YulFunctionCall",
"src": "9627:20:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "9615:6:1",
"nodeType": "YulIdentifier",
"src": "9615:6:1"
},
"nativeSrc": "9615:33:1",
"nodeType": "YulFunctionCall",
"src": "9615:33:1"
},
"nativeSrc": "9615:33:1",
"nodeType": "YulExpressionStatement",
"src": "9615:33:1"
},
{
"nativeSrc": "9661:34:1",
"nodeType": "YulVariableDeclaration",
"src": "9661:34:1",
"value": {
"arguments": [
{
"name": "srcPtr",
"nativeSrc": "9688:6:1",
"nodeType": "YulIdentifier",
"src": "9688:6:1"
}
],
"functionName": {
"name": "mload",
"nativeSrc": "9682:5:1",
"nodeType": "YulIdentifier",
"src": "9682:5:1"
},
"nativeSrc": "9682:13:1",
"nodeType": "YulFunctionCall",
"src": "9682:13:1"
},
"variables": [
{
"name": "elementValue0",
"nativeSrc": "9665:13:1",
"nodeType": "YulTypedName",
"src": "9665:13:1",
"type": ""
}
]
},
{
"nativeSrc": "9708:92:1",
"nodeType": "YulAssignment",
"src": "9708:92:1",
"value": {
"arguments": [
{
"name": "elementValue0",
"nativeSrc": "9780:13:1",
"nodeType": "YulIdentifier",
"src": "9780:13:1"
},
{
"name": "tail",
"nativeSrc": "9795:4:1",
"nodeType": "YulIdentifier",
"src": "9795:4:1"
}
],
"functionName": {
"name": "abi_encodeUpdatedPos_t_string_memory_ptr_to_t_string_memory_ptr",
"nativeSrc": "9716:63:1",
"nodeType": "YulIdentifier",
"src": "9716:63:1"
},
"nativeSrc": "9716:84:1",
"nodeType": "YulFunctionCall",
"src": "9716:84:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "9708:4:1",
"nodeType": "YulIdentifier",
"src": "9708:4:1"
}
]
},
{
"nativeSrc": "9813:80:1",
"nodeType": "YulAssignment",
"src": "9813:80:1",
"value": {
"arguments": [
{
"name": "srcPtr",
"nativeSrc": "9886:6:1",
"nodeType": "YulIdentifier",
"src": "9886:6:1"
}
],
"functionName": {
"name": "array_nextElement_t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"nativeSrc": "9823:62:1",
"nodeType": "YulIdentifier",
"src": "9823:62:1"
},
"nativeSrc": "9823:70:1",
"nodeType": "YulFunctionCall",
"src": "9823:70:1"
},
"variableNames": [
{
"name": "srcPtr",
"nativeSrc": "9813:6:1",
"nodeType": "YulIdentifier",
"src": "9813:6:1"
}
]
},
{
"nativeSrc": "9906:21:1",
"nodeType": "YulAssignment",
"src": "9906:21:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "9917:3:1",
"nodeType": "YulIdentifier",
"src": "9917:3:1"
},
{
"kind": "number",
"nativeSrc": "9922:4:1",
"nodeType": "YulLiteral",
"src": "9922:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9913:3:1",
"nodeType": "YulIdentifier",
"src": "9913:3:1"
},
"nativeSrc": "9913:14:1",
"nodeType": "YulFunctionCall",
"src": "9913:14:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "9906:3:1",
"nodeType": "YulIdentifier",
"src": "9906:3:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "i",
"nativeSrc": "9563:1:1",
"nodeType": "YulIdentifier",
"src": "9563:1:1"
},
{
"name": "length",
"nativeSrc": "9566:6:1",
"nodeType": "YulIdentifier",
"src": "9566:6:1"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "9560:2:1",
"nodeType": "YulIdentifier",
"src": "9560:2:1"
},
"nativeSrc": "9560:13:1",
"nodeType": "YulFunctionCall",
"src": "9560:13:1"
},
"nativeSrc": "9541:396:1",
"nodeType": "YulForLoop",
"post": {
"nativeSrc": "9574:18:1",
"nodeType": "YulBlock",
"src": "9574:18:1",
"statements": [
{
"nativeSrc": "9576:14:1",
"nodeType": "YulAssignment",
"src": "9576:14:1",
"value": {
"arguments": [
{
"name": "i",
"nativeSrc": "9585:1:1",
"nodeType": "YulIdentifier",
"src": "9585:1:1"
},
{
"kind": "number",
"nativeSrc": "9588:1:1",
"nodeType": "YulLiteral",
"src": "9588:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "add",
"nativeSrc": "9581:3:1",
"nodeType": "YulIdentifier",
"src": "9581:3:1"
},
"nativeSrc": "9581:9:1",
"nodeType": "YulFunctionCall",
"src": "9581:9:1"
},
"variableNames": [
{
"name": "i",
"nativeSrc": "9576:1:1",
"nodeType": "YulIdentifier",
"src": "9576:1:1"
}
]
}
]
},
"pre": {
"nativeSrc": "9545:14:1",
"nodeType": "YulBlock",
"src": "9545:14:1",
"statements": [
{
"nativeSrc": "9547:10:1",
"nodeType": "YulVariableDeclaration",
"src": "9547:10:1",
"value": {
"kind": "number",
"nativeSrc": "9556:1:1",
"nodeType": "YulLiteral",
"src": "9556:1:1",
"type": "",
"value": "0"
},
"variables": [
{
"name": "i",
"nativeSrc": "9551:1:1",
"nodeType": "YulTypedName",
"src": "9551:1:1",
"type": ""
}
]
}
]
},
"src": "9541:396:1"
},
{
"nativeSrc": "9946:11:1",
"nodeType": "YulAssignment",
"src": "9946:11:1",
"value": {
"name": "tail",
"nativeSrc": "9953:4:1",
"nodeType": "YulIdentifier",
"src": "9953:4:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "9946:3:1",
"nodeType": "YulIdentifier",
"src": "9946:3:1"
}
]
},
{
"nativeSrc": "9966:10:1",
"nodeType": "YulAssignment",
"src": "9966:10:1",
"value": {
"name": "pos",
"nativeSrc": "9973:3:1",
"nodeType": "YulIdentifier",
"src": "9973:3:1"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "9966:3:1",
"nodeType": "YulIdentifier",
"src": "9966:3:1"
}
]
}
]
},
"name": "abi_encode_t_array$_t_string_memory_ptr_$dyn_memory_ptr_to_t_array$_t_string_memory_ptr_$dyn_memory_ptr_fromStack",
"nativeSrc": "8991:991:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "9114:5:1",
"nodeType": "YulTypedName",
"src": "9114:5:1",
"type": ""
},
{
"name": "pos",
"nativeSrc": "9121:3:1",
"nodeType": "YulTypedName",
"src": "9121:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "9130:3:1",
"nodeType": "YulTypedName",
"src": "9130:3:1",
"type": ""
}
],
"src": "8991:991:1"
},
{
"body": {
"nativeSrc": "10156:245:1",
"nodeType": "YulBlock",
"src": "10156:245:1",
"statements": [
{
"nativeSrc": "10166:26:1",
"nodeType": "YulAssignment",
"src": "10166:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "10178:9:1",
"nodeType": "YulIdentifier",
"src": "10178:9:1"
},
{
"kind": "number",
"nativeSrc": "10189:2:1",
"nodeType": "YulLiteral",
"src": "10189:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "10174:3:1",
"nodeType": "YulIdentifier",
"src": "10174:3:1"
},
"nativeSrc": "10174:18:1",
"nodeType": "YulFunctionCall",
"src": "10174:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "10166:4:1",
"nodeType": "YulIdentifier",
"src": "10166:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "10213:9:1",
"nodeType": "YulIdentifier",
"src": "10213:9:1"
},
{
"kind": "number",
"nativeSrc": "10224:1:1",
"nodeType": "YulLiteral",
"src": "10224:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "10209:3:1",
"nodeType": "YulIdentifier",
"src": "10209:3:1"
},
"nativeSrc": "10209:17:1",
"nodeType": "YulFunctionCall",
"src": "10209:17:1"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "10232:4:1",
"nodeType": "YulIdentifier",
"src": "10232:4:1"
},
{
"name": "headStart",
"nativeSrc": "10238:9:1",
"nodeType": "YulIdentifier",
"src": "10238:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "10228:3:1",
"nodeType": "YulIdentifier",
"src": "10228:3:1"
},
"nativeSrc": "10228:20:1",
"nodeType": "YulFunctionCall",
"src": "10228:20:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "10202:6:1",
"nodeType": "YulIdentifier",
"src": "10202:6:1"
},
"nativeSrc": "10202:47:1",
"nodeType": "YulFunctionCall",
"src": "10202:47:1"
},
"nativeSrc": "10202:47:1",
"nodeType": "YulExpressionStatement",
"src": "10202:47:1"
},
{
"nativeSrc": "10258:136:1",
"nodeType": "YulAssignment",
"src": "10258:136:1",
"value": {
"arguments": [
{
"name": "value0",
"nativeSrc": "10380:6:1",
"nodeType": "YulIdentifier",
"src": "10380:6:1"
},
{
"name": "tail",
"nativeSrc": "10389:4:1",
"nodeType": "YulIdentifier",
"src": "10389:4:1"
}
],
"functionName": {
"name": "abi_encode_t_array$_t_string_memory_ptr_$dyn_memory_ptr_to_t_array$_t_string_memory_ptr_$dyn_memory_ptr_fromStack",
"nativeSrc": "10266:113:1",
"nodeType": "YulIdentifier",
"src": "10266:113:1"
},
"nativeSrc": "10266:128:1",
"nodeType": "YulFunctionCall",
"src": "10266:128:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "10258:4:1",
"nodeType": "YulIdentifier",
"src": "10258:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_array$_t_string_memory_ptr_$dyn_memory_ptr__to_t_array$_t_string_memory_ptr_$dyn_memory_ptr__fromStack_reversed",
"nativeSrc": "9988:413:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "10128:9:1",
"nodeType": "YulTypedName",
"src": "10128:9:1",
"type": ""
},
{
"name": "value0",
"nativeSrc": "10140:6:1",
"nodeType": "YulTypedName",
"src": "10140:6:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "10151:4:1",
"nodeType": "YulTypedName",
"src": "10151:4:1",
"type": ""
}
],
"src": "9988:413:1"
},
{
"body": {
"nativeSrc": "10513:58:1",
"nodeType": "YulBlock",
"src": "10513:58:1",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "memPtr",
"nativeSrc": "10535:6:1",
"nodeType": "YulIdentifier",
"src": "10535:6:1"
},
{
"kind": "number",
"nativeSrc": "10543:1:1",
"nodeType": "YulLiteral",
"src": "10543:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "10531:3:1",
"nodeType": "YulIdentifier",
"src": "10531:3:1"
},
"nativeSrc": "10531:14:1",
"nodeType": "YulFunctionCall",
"src": "10531:14:1"
},
{
"hexValue": "4f6e6c7920616c6c6f776c697374",
"kind": "string",
"nativeSrc": "10547:16:1",
"nodeType": "YulLiteral",
"src": "10547:16:1",
"type": "",
"value": "Only allowlist"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "10524:6:1",
"nodeType": "YulIdentifier",
"src": "10524:6:1"
},
"nativeSrc": "10524:40:1",
"nodeType": "YulFunctionCall",
"src": "10524:40:1"
},
"nativeSrc": "10524:40:1",
"nodeType": "YulExpressionStatement",
"src": "10524:40:1"
}
]
},
"name": "store_literal_in_memory_5eed79f5ecd1f5f3808587d961941d8cbfb1c4e947cebdcd1ee2bd8dc913debb",
"nativeSrc": "10407:164:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "memPtr",
"nativeSrc": "10505:6:1",
"nodeType": "YulTypedName",
"src": "10505:6:1",
"type": ""
}
],
"src": "10407:164:1"
},
{
"body": {
"nativeSrc": "10723:220:1",
"nodeType": "YulBlock",
"src": "10723:220:1",
"statements": [
{
"nativeSrc": "10733:74:1",
"nodeType": "YulAssignment",
"src": "10733:74:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "10799:3:1",
"nodeType": "YulIdentifier",
"src": "10799:3:1"
},
{
"kind": "number",
"nativeSrc": "10804:2:1",
"nodeType": "YulLiteral",
"src": "10804:2:1",
"type": "",
"value": "14"
}
],
"functionName": {
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
"nativeSrc": "10740:58:1",
"nodeType": "YulIdentifier",
"src": "10740:58:1"
},
"nativeSrc": "10740:67:1",
"nodeType": "YulFunctionCall",
"src": "10740:67:1"
},
"variableNames": [
{
"name": "pos",
"nativeSrc": "10733:3:1",
"nodeType": "YulIdentifier",
"src": "10733:3:1"
}
]
},
{
"expression": {
"arguments": [
{
"name": "pos",
"nativeSrc": "10905:3:1",
"nodeType": "YulIdentifier",
"src": "10905:3:1"
}
],
"functionName": {
"name": "store_literal_in_memory_5eed79f5ecd1f5f3808587d961941d8cbfb1c4e947cebdcd1ee2bd8dc913debb",
"nativeSrc": "10816:88:1",
"nodeType": "YulIdentifier",
"src": "10816:88:1"
},
"nativeSrc": "10816:93:1",
"nodeType": "YulFunctionCall",
"src": "10816:93:1"
},
"nativeSrc": "10816:93:1",
"nodeType": "YulExpressionStatement",
"src": "10816:93:1"
},
{
"nativeSrc": "10918:19:1",
"nodeType": "YulAssignment",
"src": "10918:19:1",
"value": {
"arguments": [
{
"name": "pos",
"nativeSrc": "10929:3:1",
"nodeType": "YulIdentifier",
"src": "10929:3:1"
},
{
"kind": "number",
"nativeSrc": "10934:2:1",
"nodeType": "YulLiteral",
"src": "10934:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "10925:3:1",
"nodeType": "YulIdentifier",
"src": "10925:3:1"
},
"nativeSrc": "10925:12:1",
"nodeType": "YulFunctionCall",
"src": "10925:12:1"
},
"variableNames": [
{
"name": "end",
"nativeSrc": "10918:3:1",
"nodeType": "YulIdentifier",
"src": "10918:3:1"
}
]
}
]
},
"name": "abi_encode_t_stringliteral_5eed79f5ecd1f5f3808587d961941d8cbfb1c4e947cebdcd1ee2bd8dc913debb_to_t_string_memory_ptr_fromStack",
"nativeSrc": "10577:366:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "pos",
"nativeSrc": "10711:3:1",
"nodeType": "YulTypedName",
"src": "10711:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "end",
"nativeSrc": "10719:3:1",
"nodeType": "YulTypedName",
"src": "10719:3:1",
"type": ""
}
],
"src": "10577:366:1"
},
{
"body": {
"nativeSrc": "11120:248:1",
"nodeType": "YulBlock",
"src": "11120:248:1",
"statements": [
{
"nativeSrc": "11130:26:1",
"nodeType": "YulAssignment",
"src": "11130:26:1",
"value": {
"arguments": [
{
"name": "headStart",
"nativeSrc": "11142:9:1",
"nodeType": "YulIdentifier",
"src": "11142:9:1"
},
{
"kind": "number",
"nativeSrc": "11153:2:1",
"nodeType": "YulLiteral",
"src": "11153:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "add",
"nativeSrc": "11138:3:1",
"nodeType": "YulIdentifier",
"src": "11138:3:1"
},
"nativeSrc": "11138:18:1",
"nodeType": "YulFunctionCall",
"src": "11138:18:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "11130:4:1",
"nodeType": "YulIdentifier",
"src": "11130:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"name": "headStart",
"nativeSrc": "11177:9:1",
"nodeType": "YulIdentifier",
"src": "11177:9:1"
},
{
"kind": "number",
"nativeSrc": "11188:1:1",
"nodeType": "YulLiteral",
"src": "11188:1:1",
"type": "",
"value": "0"
}
],
"functionName": {
"name": "add",
"nativeSrc": "11173:3:1",
"nodeType": "YulIdentifier",
"src": "11173:3:1"
},
"nativeSrc": "11173:17:1",
"nodeType": "YulFunctionCall",
"src": "11173:17:1"
},
{
"arguments": [
{
"name": "tail",
"nativeSrc": "11196:4:1",
"nodeType": "YulIdentifier",
"src": "11196:4:1"
},
{
"name": "headStart",
"nativeSrc": "11202:9:1",
"nodeType": "YulIdentifier",
"src": "11202:9:1"
}
],
"functionName": {
"name": "sub",
"nativeSrc": "11192:3:1",
"nodeType": "YulIdentifier",
"src": "11192:3:1"
},
"nativeSrc": "11192:20:1",
"nodeType": "YulFunctionCall",
"src": "11192:20:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "11166:6:1",
"nodeType": "YulIdentifier",
"src": "11166:6:1"
},
"nativeSrc": "11166:47:1",
"nodeType": "YulFunctionCall",
"src": "11166:47:1"
},
"nativeSrc": "11166:47:1",
"nodeType": "YulExpressionStatement",
"src": "11166:47:1"
},
{
"nativeSrc": "11222:139:1",
"nodeType": "YulAssignment",
"src": "11222:139:1",
"value": {
"arguments": [
{
"name": "tail",
"nativeSrc": "11356:4:1",
"nodeType": "YulIdentifier",
"src": "11356:4:1"
}
],
"functionName": {
"name": "abi_encode_t_stringliteral_5eed79f5ecd1f5f3808587d961941d8cbfb1c4e947cebdcd1ee2bd8dc913debb_to_t_string_memory_ptr_fromStack",
"nativeSrc": "11230:124:1",
"nodeType": "YulIdentifier",
"src": "11230:124:1"
},
"nativeSrc": "11230:131:1",
"nodeType": "YulFunctionCall",
"src": "11230:131:1"
},
"variableNames": [
{
"name": "tail",
"nativeSrc": "11222:4:1",
"nodeType": "YulIdentifier",
"src": "11222:4:1"
}
]
}
]
},
"name": "abi_encode_tuple_t_stringliteral_5eed79f5ecd1f5f3808587d961941d8cbfb1c4e947cebdcd1ee2bd8dc913debb__to_t_string_memory_ptr__fromStack_reversed",
"nativeSrc": "10949:419:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "headStart",
"nativeSrc": "11100:9:1",
"nodeType": "YulTypedName",
"src": "11100:9:1",
"type": ""
}
],
"returnVariables": [
{
"name": "tail",
"nativeSrc": "11115:4:1",
"nodeType": "YulTypedName",
"src": "11115:4:1",
"type": ""
}
],
"src": "10949:419:1"
},
{
"body": {
"nativeSrc": "11402:152:1",
"nodeType": "YulBlock",
"src": "11402:152:1",
"statements": [
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "11419:1:1",
"nodeType": "YulLiteral",
"src": "11419:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "11422:77:1",
"nodeType": "YulLiteral",
"src": "11422:77:1",
"type": "",
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "11412:6:1",
"nodeType": "YulIdentifier",
"src": "11412:6:1"
},
"nativeSrc": "11412:88:1",
"nodeType": "YulFunctionCall",
"src": "11412:88:1"
},
"nativeSrc": "11412:88:1",
"nodeType": "YulExpressionStatement",
"src": "11412:88:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "11516:1:1",
"nodeType": "YulLiteral",
"src": "11516:1:1",
"type": "",
"value": "4"
},
{
"kind": "number",
"nativeSrc": "11519:4:1",
"nodeType": "YulLiteral",
"src": "11519:4:1",
"type": "",
"value": "0x22"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "11509:6:1",
"nodeType": "YulIdentifier",
"src": "11509:6:1"
},
"nativeSrc": "11509:15:1",
"nodeType": "YulFunctionCall",
"src": "11509:15:1"
},
"nativeSrc": "11509:15:1",
"nodeType": "YulExpressionStatement",
"src": "11509:15:1"
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "11540:1:1",
"nodeType": "YulLiteral",
"src": "11540:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "11543:4:1",
"nodeType": "YulLiteral",
"src": "11543:4:1",
"type": "",
"value": "0x24"
}
],
"functionName": {
"name": "revert",
"nativeSrc": "11533:6:1",
"nodeType": "YulIdentifier",
"src": "11533:6:1"
},
"nativeSrc": "11533:15:1",
"nodeType": "YulFunctionCall",
"src": "11533:15:1"
},
"nativeSrc": "11533:15:1",
"nodeType": "YulExpressionStatement",
"src": "11533:15:1"
}
]
},
"name": "panic_error_0x22",
"nativeSrc": "11374:180:1",
"nodeType": "YulFunctionDefinition",
"src": "11374:180:1"
},
{
"body": {
"nativeSrc": "11611:269:1",
"nodeType": "YulBlock",
"src": "11611:269:1",
"statements": [
{
"nativeSrc": "11621:22:1",
"nodeType": "YulAssignment",
"src": "11621:22:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "11635:4:1",
"nodeType": "YulIdentifier",
"src": "11635:4:1"
},
{
"kind": "number",
"nativeSrc": "11641:1:1",
"nodeType": "YulLiteral",
"src": "11641:1:1",
"type": "",
"value": "2"
}
],
"functionName": {
"name": "div",
"nativeSrc": "11631:3:1",
"nodeType": "YulIdentifier",
"src": "11631:3:1"
},
"nativeSrc": "11631:12:1",
"nodeType": "YulFunctionCall",
"src": "11631:12:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "11621:6:1",
"nodeType": "YulIdentifier",
"src": "11621:6:1"
}
]
},
{
"nativeSrc": "11652:38:1",
"nodeType": "YulVariableDeclaration",
"src": "11652:38:1",
"value": {
"arguments": [
{
"name": "data",
"nativeSrc": "11682:4:1",
"nodeType": "YulIdentifier",
"src": "11682:4:1"
},
{
"kind": "number",
"nativeSrc": "11688:1:1",
"nodeType": "YulLiteral",
"src": "11688:1:1",
"type": "",
"value": "1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "11678:3:1",
"nodeType": "YulIdentifier",
"src": "11678:3:1"
},
"nativeSrc": "11678:12:1",
"nodeType": "YulFunctionCall",
"src": "11678:12:1"
},
"variables": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "11656:18:1",
"nodeType": "YulTypedName",
"src": "11656:18:1",
"type": ""
}
]
},
{
"body": {
"nativeSrc": "11729:51:1",
"nodeType": "YulBlock",
"src": "11729:51:1",
"statements": [
{
"nativeSrc": "11743:27:1",
"nodeType": "YulAssignment",
"src": "11743:27:1",
"value": {
"arguments": [
{
"name": "length",
"nativeSrc": "11757:6:1",
"nodeType": "YulIdentifier",
"src": "11757:6:1"
},
{
"kind": "number",
"nativeSrc": "11765:4:1",
"nodeType": "YulLiteral",
"src": "11765:4:1",
"type": "",
"value": "0x7f"
}
],
"functionName": {
"name": "and",
"nativeSrc": "11753:3:1",
"nodeType": "YulIdentifier",
"src": "11753:3:1"
},
"nativeSrc": "11753:17:1",
"nodeType": "YulFunctionCall",
"src": "11753:17:1"
},
"variableNames": [
{
"name": "length",
"nativeSrc": "11743:6:1",
"nodeType": "YulIdentifier",
"src": "11743:6:1"
}
]
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "11709:18:1",
"nodeType": "YulIdentifier",
"src": "11709:18:1"
}
],
"functionName": {
"name": "iszero",
"nativeSrc": "11702:6:1",
"nodeType": "YulIdentifier",
"src": "11702:6:1"
},
"nativeSrc": "11702:26:1",
"nodeType": "YulFunctionCall",
"src": "11702:26:1"
},
"nativeSrc": "11699:81:1",
"nodeType": "YulIf",
"src": "11699:81:1"
},
{
"body": {
"nativeSrc": "11832:42:1",
"nodeType": "YulBlock",
"src": "11832:42:1",
"statements": [
{
"expression": {
"arguments": [],
"functionName": {
"name": "panic_error_0x22",
"nativeSrc": "11846:16:1",
"nodeType": "YulIdentifier",
"src": "11846:16:1"
},
"nativeSrc": "11846:18:1",
"nodeType": "YulFunctionCall",
"src": "11846:18:1"
},
"nativeSrc": "11846:18:1",
"nodeType": "YulExpressionStatement",
"src": "11846:18:1"
}
]
},
"condition": {
"arguments": [
{
"name": "outOfPlaceEncoding",
"nativeSrc": "11796:18:1",
"nodeType": "YulIdentifier",
"src": "11796:18:1"
},
{
"arguments": [
{
"name": "length",
"nativeSrc": "11819:6:1",
"nodeType": "YulIdentifier",
"src": "11819:6:1"
},
{
"kind": "number",
"nativeSrc": "11827:2:1",
"nodeType": "YulLiteral",
"src": "11827:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "lt",
"nativeSrc": "11816:2:1",
"nodeType": "YulIdentifier",
"src": "11816:2:1"
},
"nativeSrc": "11816:14:1",
"nodeType": "YulFunctionCall",
"src": "11816:14:1"
}
],
"functionName": {
"name": "eq",
"nativeSrc": "11793:2:1",
"nodeType": "YulIdentifier",
"src": "11793:2:1"
},
"nativeSrc": "11793:38:1",
"nodeType": "YulFunctionCall",
"src": "11793:38:1"
},
"nativeSrc": "11790:84:1",
"nodeType": "YulIf",
"src": "11790:84:1"
}
]
},
"name": "extract_byte_array_length",
"nativeSrc": "11560:320:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "data",
"nativeSrc": "11595:4:1",
"nodeType": "YulTypedName",
"src": "11595:4:1",
"type": ""
}
],
"returnVariables": [
{
"name": "length",
"nativeSrc": "11604:6:1",
"nodeType": "YulTypedName",
"src": "11604:6:1",
"type": ""
}
],
"src": "11560:320:1"
},
{
"body": {
"nativeSrc": "11940:87:1",
"nodeType": "YulBlock",
"src": "11940:87:1",
"statements": [
{
"nativeSrc": "11950:11:1",
"nodeType": "YulAssignment",
"src": "11950:11:1",
"value": {
"name": "ptr",
"nativeSrc": "11958:3:1",
"nodeType": "YulIdentifier",
"src": "11958:3:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "11950:4:1",
"nodeType": "YulIdentifier",
"src": "11950:4:1"
}
]
},
{
"expression": {
"arguments": [
{
"kind": "number",
"nativeSrc": "11978:1:1",
"nodeType": "YulLiteral",
"src": "11978:1:1",
"type": "",
"value": "0"
},
{
"name": "ptr",
"nativeSrc": "11981:3:1",
"nodeType": "YulIdentifier",
"src": "11981:3:1"
}
],
"functionName": {
"name": "mstore",
"nativeSrc": "11971:6:1",
"nodeType": "YulIdentifier",
"src": "11971:6:1"
},
"nativeSrc": "11971:14:1",
"nodeType": "YulFunctionCall",
"src": "11971:14:1"
},
"nativeSrc": "11971:14:1",
"nodeType": "YulExpressionStatement",
"src": "11971:14:1"
},
{
"nativeSrc": "11994:26:1",
"nodeType": "YulAssignment",
"src": "11994:26:1",
"value": {
"arguments": [
{
"kind": "number",
"nativeSrc": "12012:1:1",
"nodeType": "YulLiteral",
"src": "12012:1:1",
"type": "",
"value": "0"
},
{
"kind": "number",
"nativeSrc": "12015:4:1",
"nodeType": "YulLiteral",
"src": "12015:4:1",
"type": "",
"value": "0x20"
}
],
"functionName": {
"name": "keccak256",
"nativeSrc": "12002:9:1",
"nodeType": "YulIdentifier",
"src": "12002:9:1"
},
"nativeSrc": "12002:18:1",
"nodeType": "YulFunctionCall",
"src": "12002:18:1"
},
"variableNames": [
{
"name": "data",
"nativeSrc": "11994:4:1",
"nodeType": "YulIdentifier",
"src": "11994:4:1"
}
]
}
]
},
"name": "array_dataslot_t_string_storage",
"nativeSrc": "11886:141:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "ptr",
"nativeSrc": "11927:3:1",
"nodeType": "YulTypedName",
"src": "11927:3:1",
"type": ""
}
],
"returnVariables": [
{
"name": "data",
"nativeSrc": "11935:4:1",
"nodeType": "YulTypedName",
"src": "11935:4:1",
"type": ""
}
],
"src": "11886:141:1"
},
{
"body": {
"nativeSrc": "12077:49:1",
"nodeType": "YulBlock",
"src": "12077:49:1",
"statements": [
{
"nativeSrc": "12087:33:1",
"nodeType": "YulAssignment",
"src": "12087:33:1",
"value": {
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "12105:5:1",
"nodeType": "YulIdentifier",
"src": "12105:5:1"
},
{
"kind": "number",
"nativeSrc": "12112:2:1",
"nodeType": "YulLiteral",
"src": "12112:2:1",
"type": "",
"value": "31"
}
],
"functionName": {
"name": "add",
"nativeSrc": "12101:3:1",
"nodeType": "YulIdentifier",
"src": "12101:3:1"
},
"nativeSrc": "12101:14:1",
"nodeType": "YulFunctionCall",
"src": "12101:14:1"
},
{
"kind": "number",
"nativeSrc": "12117:2:1",
"nodeType": "YulLiteral",
"src": "12117:2:1",
"type": "",
"value": "32"
}
],
"functionName": {
"name": "div",
"nativeSrc": "12097:3:1",
"nodeType": "YulIdentifier",
"src": "12097:3:1"
},
"nativeSrc": "12097:23:1",
"nodeType": "YulFunctionCall",
"src": "12097:23:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "12087:6:1",
"nodeType": "YulIdentifier",
"src": "12087:6:1"
}
]
}
]
},
"name": "divide_by_32_ceil",
"nativeSrc": "12033:93:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "12060:5:1",
"nodeType": "YulTypedName",
"src": "12060:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "12070:6:1",
"nodeType": "YulTypedName",
"src": "12070:6:1",
"type": ""
}
],
"src": "12033:93:1"
},
{
"body": {
"nativeSrc": "12185:54:1",
"nodeType": "YulBlock",
"src": "12185:54:1",
"statements": [
{
"nativeSrc": "12195:37:1",
"nodeType": "YulAssignment",
"src": "12195:37:1",
"value": {
"arguments": [
{
"name": "bits",
"nativeSrc": "12220:4:1",
"nodeType": "YulIdentifier",
"src": "12220:4:1"
},
{
"name": "value",
"nativeSrc": "12226:5:1",
"nodeType": "YulIdentifier",
"src": "12226:5:1"
}
],
"functionName": {
"name": "shl",
"nativeSrc": "12216:3:1",
"nodeType": "YulIdentifier",
"src": "12216:3:1"
},
"nativeSrc": "12216:16:1",
"nodeType": "YulFunctionCall",
"src": "12216:16:1"
},
"variableNames": [
{
"name": "newValue",
"nativeSrc": "12195:8:1",
"nodeType": "YulIdentifier",
"src": "12195:8:1"
}
]
}
]
},
"name": "shift_left_dynamic",
"nativeSrc": "12132:107:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "bits",
"nativeSrc": "12160:4:1",
"nodeType": "YulTypedName",
"src": "12160:4:1",
"type": ""
},
{
"name": "value",
"nativeSrc": "12166:5:1",
"nodeType": "YulTypedName",
"src": "12166:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "newValue",
"nativeSrc": "12176:8:1",
"nodeType": "YulTypedName",
"src": "12176:8:1",
"type": ""
}
],
"src": "12132:107:1"
},
{
"body": {
"nativeSrc": "12321:317:1",
"nodeType": "YulBlock",
"src": "12321:317:1",
"statements": [
{
"nativeSrc": "12331:35:1",
"nodeType": "YulVariableDeclaration",
"src": "12331:35:1",
"value": {
"arguments": [
{
"name": "shiftBytes",
"nativeSrc": "12352:10:1",
"nodeType": "YulIdentifier",
"src": "12352:10:1"
},
{
"kind": "number",
"nativeSrc": "12364:1:1",
"nodeType": "YulLiteral",
"src": "12364:1:1",
"type": "",
"value": "8"
}
],
"functionName": {
"name": "mul",
"nativeSrc": "12348:3:1",
"nodeType": "YulIdentifier",
"src": "12348:3:1"
},
"nativeSrc": "12348:18:1",
"nodeType": "YulFunctionCall",
"src": "12348:18:1"
},
"variables": [
{
"name": "shiftBits",
"nativeSrc": "12335:9:1",
"nodeType": "YulTypedName",
"src": "12335:9:1",
"type": ""
}
]
},
{
"nativeSrc": "12375:109:1",
"nodeType": "YulVariableDeclaration",
"src": "12375:109:1",
"value": {
"arguments": [
{
"name": "shiftBits",
"nativeSrc": "12406:9:1",
"nodeType": "YulIdentifier",
"src": "12406:9:1"
},
{
"kind": "number",
"nativeSrc": "12417:66:1",
"nodeType": "YulLiteral",
"src": "12417:66:1",
"type": "",
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nativeSrc": "12387:18:1",
"nodeType": "YulIdentifier",
"src": "12387:18:1"
},
"nativeSrc": "12387:97:1",
"nodeType": "YulFunctionCall",
"src": "12387:97:1"
},
"variables": [
{
"name": "mask",
"nativeSrc": "12379:4:1",
"nodeType": "YulTypedName",
"src": "12379:4:1",
"type": ""
}
]
},
{
"nativeSrc": "12493:51:1",
"nodeType": "YulAssignment",
"src": "12493:51:1",
"value": {
"arguments": [
{
"name": "shiftBits",
"nativeSrc": "12524:9:1",
"nodeType": "YulIdentifier",
"src": "12524:9:1"
},
{
"name": "toInsert",
"nativeSrc": "12535:8:1",
"nodeType": "YulIdentifier",
"src": "12535:8:1"
}
],
"functionName": {
"name": "shift_left_dynamic",
"nativeSrc": "12505:18:1",
"nodeType": "YulIdentifier",
"src": "12505:18:1"
},
"nativeSrc": "12505:39:1",
"nodeType": "YulFunctionCall",
"src": "12505:39:1"
},
"variableNames": [
{
"name": "toInsert",
"nativeSrc": "12493:8:1",
"nodeType": "YulIdentifier",
"src": "12493:8:1"
}
]
},
{
"nativeSrc": "12553:30:1",
"nodeType": "YulAssignment",
"src": "12553:30:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "12566:5:1",
"nodeType": "YulIdentifier",
"src": "12566:5:1"
},
{
"arguments": [
{
"name": "mask",
"nativeSrc": "12577:4:1",
"nodeType": "YulIdentifier",
"src": "12577:4:1"
}
],
"functionName": {
"name": "not",
"nativeSrc": "12573:3:1",
"nodeType": "YulIdentifier",
"src": "12573:3:1"
},
"nativeSrc": "12573:9:1",
"nodeType": "YulFunctionCall",
"src": "12573:9:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "12562:3:1",
"nodeType": "YulIdentifier",
"src": "12562:3:1"
},
"nativeSrc": "12562:21:1",
"nodeType": "YulFunctionCall",
"src": "12562:21:1"
},
"variableNames": [
{
"name": "value",
"nativeSrc": "12553:5:1",
"nodeType": "YulIdentifier",
"src": "12553:5:1"
}
]
},
{
"nativeSrc": "12592:40:1",
"nodeType": "YulAssignment",
"src": "12592:40:1",
"value": {
"arguments": [
{
"name": "value",
"nativeSrc": "12605:5:1",
"nodeType": "YulIdentifier",
"src": "12605:5:1"
},
{
"arguments": [
{
"name": "toInsert",
"nativeSrc": "12616:8:1",
"nodeType": "YulIdentifier",
"src": "12616:8:1"
},
{
"name": "mask",
"nativeSrc": "12626:4:1",
"nodeType": "YulIdentifier",
"src": "12626:4:1"
}
],
"functionName": {
"name": "and",
"nativeSrc": "12612:3:1",
"nodeType": "YulIdentifier",
"src": "12612:3:1"
},
"nativeSrc": "12612:19:1",
"nodeType": "YulFunctionCall",
"src": "12612:19:1"
}
],
"functionName": {
"name": "or",
"nativeSrc": "12602:2:1",
"nodeType": "YulIdentifier",
"src": "12602:2:1"
},
"nativeSrc": "12602:30:1",
"nodeType": "YulFunctionCall",
"src": "12602:30:1"
},
"variableNames": [
{
"name": "result",
"nativeSrc": "12592:6:1",
"nodeType": "YulIdentifier",
"src": "12592:6:1"
}
]
}
]
},
"name": "update_byte_slice_dynamic32",
"nativeSrc": "12245:393:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "12282:5:1",
"nodeType": "YulTypedName",
"src": "12282:5:1",
"type": ""
},
{
"name": "shiftBytes",
"nativeSrc": "12289:10:1",
"nodeType": "YulTypedName",
"src": "12289:10:1",
"type": ""
},
{
"name": "toInsert",
"nativeSrc": "12301:8:1",
"nodeType": "YulTypedName",
"src": "12301:8:1",
"type": ""
}
],
"returnVariables": [
{
"name": "result",
"nativeSrc": "12314:6:1",
"nodeType": "YulTypedName",
"src": "12314:6:1",
"type": ""
}
],
"src": "12245:393:1"
},
{
"body": {
"nativeSrc": "12676:28:1",
"nodeType": "YulBlock",
"src": "12676:28:1",
"statements": [
{
"nativeSrc": "12686:12:1",
"nodeType": "YulAssignment",
"src": "12686:12:1",
"value": {
"name": "value",
"nativeSrc": "12693:5:1",
"nodeType": "YulIdentifier",
"src": "12693:5:1"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "12686:3:1",
"nodeType": "YulIdentifier",
"src": "12686:3:1"
}
]
}
]
},
"name": "identity",
"nativeSrc": "12644:60:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "12662:5:1",
"nodeType": "YulTypedName",
"src": "12662:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "12672:3:1",
"nodeType": "YulTypedName",
"src": "12672:3:1",
"type": ""
}
],
"src": "12644:60:1"
},
{
"body": {
"nativeSrc": "12770:82:1",
"nodeType": "YulBlock",
"src": "12770:82:1",
"statements": [
{
"nativeSrc": "12780:66:1",
"nodeType": "YulAssignment",
"src": "12780:66:1",
"value": {
"arguments": [
{
"arguments": [
{
"arguments": [
{
"name": "value",
"nativeSrc": "12838:5:1",
"nodeType": "YulIdentifier",
"src": "12838:5:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "12820:17:1",
"nodeType": "YulIdentifier",
"src": "12820:17:1"
},
"nativeSrc": "12820:24:1",
"nodeType": "YulFunctionCall",
"src": "12820:24:1"
}
],
"functionName": {
"name": "identity",
"nativeSrc": "12811:8:1",
"nodeType": "YulIdentifier",
"src": "12811:8:1"
},
"nativeSrc": "12811:34:1",
"nodeType": "YulFunctionCall",
"src": "12811:34:1"
}
],
"functionName": {
"name": "cleanup_t_uint256",
"nativeSrc": "12793:17:1",
"nodeType": "YulIdentifier",
"src": "12793:17:1"
},
"nativeSrc": "12793:53:1",
"nodeType": "YulFunctionCall",
"src": "12793:53:1"
},
"variableNames": [
{
"name": "converted",
"nativeSrc": "12780:9:1",
"nodeType": "YulIdentifier",
"src": "12780:9:1"
}
]
}
]
},
"name": "convert_t_uint256_to_t_uint256",
"nativeSrc": "12710:142:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "12750:5:1",
"nodeType": "YulTypedName",
"src": "12750:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "converted",
"nativeSrc": "12760:9:1",
"nodeType": "YulTypedName",
"src": "12760:9:1",
"type": ""
}
],
"src": "12710:142:1"
},
{
"body": {
"nativeSrc": "12905:28:1",
"nodeType": "YulBlock",
"src": "12905:28:1",
"statements": [
{
"nativeSrc": "12915:12:1",
"nodeType": "YulAssignment",
"src": "12915:12:1",
"value": {
"name": "value",
"nativeSrc": "12922:5:1",
"nodeType": "YulIdentifier",
"src": "12922:5:1"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "12915:3:1",
"nodeType": "YulIdentifier",
"src": "12915:3:1"
}
]
}
]
},
"name": "prepare_store_t_uint256",
"nativeSrc": "12858:75:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "value",
"nativeSrc": "12891:5:1",
"nodeType": "YulTypedName",
"src": "12891:5:1",
"type": ""
}
],
"returnVariables": [
{
"name": "ret",
"nativeSrc": "12901:3:1",
"nodeType": "YulTypedName",
"src": "12901:3:1",
"type": ""
}
],
"src": "12858:75:1"
},
{
"body": {
"nativeSrc": "13015:193:1",
"nodeType": "YulBlock",
"src": "13015:193:1",
"statements": [
{
"nativeSrc": "13025:63:1",
"nodeType": "YulVariableDeclaration",
"src": "13025:63:1",
"value": {
"arguments": [
{
"name": "value_0",
"nativeSrc": "13080:7:1",
"nodeType": "YulIdentifier",
"src": "13080:7:1"
}
],
"functionName": {
"name": "convert_t_uint256_to_t_uint256",
"nativeSrc": "13049:30:1",
"nodeType": "YulIdentifier",
"src": "13049:30:1"
},
"nativeSrc": "13049:39:1",
"nodeType": "YulFunctionCall",
"src": "13049:39:1"
},
"variables": [
{
"name": "convertedValue_0",
"nativeSrc": "13029:16:1",
"nodeType": "YulTypedName",
"src": "13029:16:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "13104:4:1",
"nodeType": "YulIdentifier",
"src": "13104:4:1"
},
{
"arguments": [
{
"arguments": [
{
"name": "slot",
"nativeSrc": "13144:4:1",
"nodeType": "YulIdentifier",
"src": "13144:4:1"
}
],
"functionName": {
"name": "sload",
"nativeSrc": "13138:5:1",
"nodeType": "YulIdentifier",
"src": "13138:5:1"
},
"nativeSrc": "13138:11:1",
"nodeType": "YulFunctionCall",
"src": "13138:11:1"
},
{
"name": "offset",
"nativeSrc": "13151:6:1",
"nodeType": "YulIdentifier",
"src": "13151:6:1"
},
{
"arguments": [
{
"name": "convertedValue_0",
"nativeSrc": "13183:16:1",
"nodeType": "YulIdentifier",
"src": "13183:16:1"
}
],
"functionName": {
"name": "prepare_store_t_uint256",
"nativeSrc": "13159:23:1",
"nodeType": "YulIdentifier",
"src": "13159:23:1"
},
"nativeSrc": "13159:41:1",
"nodeType": "YulFunctionCall",
"src": "13159:41:1"
}
],
"functionName": {
"name": "update_byte_slice_dynamic32",
"nativeSrc": "13110:27:1",
"nodeType": "YulIdentifier",
"src": "13110:27:1"
},
"nativeSrc": "13110:91:1",
"nodeType": "YulFunctionCall",
"src": "13110:91:1"
}
],
"functionName": {
"name": "sstore",
"nativeSrc": "13097:6:1",
"nodeType": "YulIdentifier",
"src": "13097:6:1"
},
"nativeSrc": "13097:105:1",
"nodeType": "YulFunctionCall",
"src": "13097:105:1"
},
"nativeSrc": "13097:105:1",
"nodeType": "YulExpressionStatement",
"src": "13097:105:1"
}
]
},
"name": "update_storage_value_t_uint256_to_t_uint256",
"nativeSrc": "12939:269:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "12992:4:1",
"nodeType": "YulTypedName",
"src": "12992:4:1",
"type": ""
},
{
"name": "offset",
"nativeSrc": "12998:6:1",
"nodeType": "YulTypedName",
"src": "12998:6:1",
"type": ""
},
{
"name": "value_0",
"nativeSrc": "13006:7:1",
"nodeType": "YulTypedName",
"src": "13006:7:1",
"type": ""
}
],
"src": "12939:269:1"
},
{
"body": {
"nativeSrc": "13263:24:1",
"nodeType": "YulBlock",
"src": "13263:24:1",
"statements": [
{
"nativeSrc": "13273:8:1",
"nodeType": "YulAssignment",
"src": "13273:8:1",
"value": {
"kind": "number",
"nativeSrc": "13280:1:1",
"nodeType": "YulLiteral",
"src": "13280:1:1",
"type": "",
"value": "0"
},
"variableNames": [
{
"name": "ret",
"nativeSrc": "13273:3:1",
"nodeType": "YulIdentifier",
"src": "13273:3:1"
}
]
}
]
},
"name": "zero_value_for_split_t_uint256",
"nativeSrc": "13214:73:1",
"nodeType": "YulFunctionDefinition",
"returnVariables": [
{
"name": "ret",
"nativeSrc": "13259:3:1",
"nodeType": "YulTypedName",
"src": "13259:3:1",
"type": ""
}
],
"src": "13214:73:1"
},
{
"body": {
"nativeSrc": "13346:136:1",
"nodeType": "YulBlock",
"src": "13346:136:1",
"statements": [
{
"nativeSrc": "13356:46:1",
"nodeType": "YulVariableDeclaration",
"src": "13356:46:1",
"value": {
"arguments": [],
"functionName": {
"name": "zero_value_for_split_t_uint256",
"nativeSrc": "13370:30:1",
"nodeType": "YulIdentifier",
"src": "13370:30:1"
},
"nativeSrc": "13370:32:1",
"nodeType": "YulFunctionCall",
"src": "13370:32:1"
},
"variables": [
{
"name": "zero_0",
"nativeSrc": "13360:6:1",
"nodeType": "YulTypedName",
"src": "13360:6:1",
"type": ""
}
]
},
{
"expression": {
"arguments": [
{
"name": "slot",
"nativeSrc": "13455:4:1",
"nodeType": "YulIdentifier",
"src": "13455:4:1"
},
{
"name": "offset",
"nativeSrc": "13461:6:1",
"nodeType": "YulIdentifier",
"src": "13461:6:1"
},
{
"name": "zero_0",
"nativeSrc": "13469:6:1",
"nodeType": "YulIdentifier",
"src": "13469:6:1"
}
],
"functionName": {
"name": "update_storage_value_t_uint256_to_t_uint256",
"nativeSrc": "13411:43:1",
"nodeType": "YulIdentifier",
"src": "13411:43:1"
},
"nativeSrc": "13411:65:1",
"nodeType": "YulFunctionCall",
"src": "13411:65:1"
},
"nativeSrc": "13411:65:1",
"nodeType": "YulExpressionStatement",
"src": "13411:65:1"
}
]
},
"name": "storage_set_to_zero_t_uint256",
"nativeSrc": "13293:189:1",
"nodeType": "YulFunctionDefinition",
"parameters": [
{
"name": "slot",
"nativeSrc": "13332:4:1",
"nodeType": "YulTypedName",
"src": "13332:4:1",
"type": ""
},
{
"name": "offset",
"nativeSrc": "13338:6:1",
"nodeType": "YulTypedName",
"src": "13338:6:1",
"type": ""
}
],
"src": "13293:189:1"
},
{
"body": {
"nativeSrc": "13538:136:1",
"nodeType": "YulBlock",
"src": "13538:136:1",
"statements": [
{
"body": {
"nativeSrc": "13605:63:1",
"nodeType": "YulBlock",
"src": "13605:63:1",
"statements": [
{
"expression": {
"arguments": [
{
"name": "start",
"nativeSrc": "13649:5:1",
"nodeType": "YulIdentifier",
"src": "13649:5:1"
},
{
"kind": "number",
View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

View raw

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

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