Created
June 12, 2024 03:22
-
-
Save REBORNLABS1985/3e0d46152ce58e0e56be6151ad079210 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=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) | |
pragma solidity ^0.8.0; | |
import "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to | |
* specific functions. | |
* | |
* By default, the owner account will be the one that deploys the contract. This | |
* can later be changed with {transferOwnership}. | |
* | |
* This module is used through inheritance. It will make available the modifier | |
* `onlyOwner`, which can be applied to your functions to restrict their use to | |
* the owner. | |
*/ | |
abstract contract Ownable is Context { | |
address private _owner; | |
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); | |
/** | |
* @dev Initializes the contract setting the deployer as the initial owner. | |
*/ | |
constructor() { | |
_transferOwnership(_msgSender()); | |
} | |
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
_checkOwner(); | |
_; | |
} | |
/** | |
* @dev Returns the address of the current owner. | |
*/ | |
function owner() public view virtual returns (address) { | |
return _owner; | |
} | |
/** | |
* @dev Throws if the sender is not the owner. | |
*/ | |
function _checkOwner() internal view virtual { | |
require(owner() == _msgSender(), "Ownable: caller is not the owner"); | |
} | |
/** | |
* @dev Leaves the contract without owner. It will not be possible to call | |
* `onlyOwner` functions. Can only be called by the current owner. | |
* | |
* NOTE: Renouncing ownership will leave the contract without an owner, | |
* thereby disabling any functionality that is only available to the owner. | |
*/ | |
function renounceOwnership() public virtual onlyOwner { | |
_transferOwnership(address(0)); | |
} | |
/** | |
* @dev Transfers ownership of the contract to a new account (`newOwner`). | |
* Can only be called by the current owner. | |
*/ | |
function transferOwnership(address newOwner) public virtual onlyOwner { | |
require(newOwner != address(0), "Ownable: new owner is the zero address"); | |
_transferOwnership(newOwner); | |
} | |
/** | |
* @dev Transfers ownership of the contract to a new account (`newOwner`). | |
* Internal function without access restriction. | |
*/ | |
function _transferOwnership(address newOwner) internal virtual { | |
address oldOwner = _owner; | |
_owner = newOwner; | |
emit OwnershipTransferred(oldOwner, newOwner); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol) | |
pragma solidity ^0.8.0; | |
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 | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) | |
pragma solidity ^0.8.0; | |
import "./IERC20.sol"; | |
import "./extensions/IERC20Metadata.sol"; | |
import "../../utils/Context.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}. | |
* For a generic mechanism see {ERC20PresetMinterPauser}. | |
* | |
* 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. | |
* | |
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance} | |
* functions have been added to mitigate the well-known issues around setting | |
* allowances. See {IERC20-approve}. | |
*/ | |
contract ERC20 is Context, IERC20, IERC20Metadata { | |
mapping(address => uint256) private _balances; | |
mapping(address => mapping(address => 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 override returns (string memory) { | |
return _name; | |
} | |
/** | |
* @dev Returns the symbol of the token, usually a shorter version of the | |
* name. | |
*/ | |
function symbol() public view virtual override 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 override returns (uint8) { | |
return 18; | |
} | |
/** | |
* @dev See {IERC20-totalSupply}. | |
*/ | |
function totalSupply() public view virtual override returns (uint256) { | |
return _totalSupply; | |
} | |
/** | |
* @dev See {IERC20-balanceOf}. | |
*/ | |
function balanceOf(address account) public view virtual override 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 `amount`. | |
*/ | |
function transfer(address to, uint256 amount) public virtual override returns (bool) { | |
address owner = _msgSender(); | |
_transfer(owner, to, amount); | |
return true; | |
} | |
/** | |
* @dev See {IERC20-allowance}. | |
*/ | |
function allowance(address owner, address spender) public view virtual override returns (uint256) { | |
return _allowances[owner][spender]; | |
} | |
/** | |
* @dev See {IERC20-approve}. | |
* | |
* NOTE: If `amount` 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 amount) public virtual override returns (bool) { | |
address owner = _msgSender(); | |
_approve(owner, spender, amount); | |
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 `amount`. | |
* - the caller must have allowance for ``from``'s tokens of at least | |
* `amount`. | |
*/ | |
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { | |
address spender = _msgSender(); | |
_spendAllowance(from, spender, amount); | |
_transfer(from, to, amount); | |
return true; | |
} | |
/** | |
* @dev Atomically increases the allowance granted to `spender` by the caller. | |
* | |
* This is an alternative to {approve} that can be used as a mitigation for | |
* problems described in {IERC20-approve}. | |
* | |
* Emits an {Approval} event indicating the updated allowance. | |
* | |
* Requirements: | |
* | |
* - `spender` cannot be the zero address. | |
*/ | |
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { | |
address owner = _msgSender(); | |
_approve(owner, spender, allowance(owner, spender) + addedValue); | |
return true; | |
} | |
/** | |
* @dev Atomically decreases the allowance granted to `spender` by the caller. | |
* | |
* This is an alternative to {approve} that can be used as a mitigation for | |
* problems described in {IERC20-approve}. | |
* | |
* Emits an {Approval} event indicating the updated allowance. | |
* | |
* Requirements: | |
* | |
* - `spender` cannot be the zero address. | |
* - `spender` must have allowance for the caller of at least | |
* `subtractedValue`. | |
*/ | |
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { | |
address owner = _msgSender(); | |
uint256 currentAllowance = allowance(owner, spender); | |
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); | |
unchecked { | |
_approve(owner, spender, currentAllowance - subtractedValue); | |
} | |
return true; | |
} | |
/** | |
* @dev Moves `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. | |
* | |
* Requirements: | |
* | |
* - `from` cannot be the zero address. | |
* - `to` cannot be the zero address. | |
* - `from` must have a balance of at least `amount`. | |
*/ | |
function _transfer(address from, address to, uint256 amount) internal virtual { | |
require(from != address(0), "ERC20: transfer from the zero address"); | |
require(to != address(0), "ERC20: transfer to the zero address"); | |
_beforeTokenTransfer(from, to, amount); | |
uint256 fromBalance = _balances[from]; | |
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); | |
unchecked { | |
_balances[from] = fromBalance - amount; | |
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by | |
// decrementing then incrementing. | |
_balances[to] += amount; | |
} | |
emit Transfer(from, to, amount); | |
_afterTokenTransfer(from, to, amount); | |
} | |
/** @dev Creates `amount` tokens and assigns them to `account`, increasing | |
* the total supply. | |
* | |
* Emits a {Transfer} event with `from` set to the zero address. | |
* | |
* Requirements: | |
* | |
* - `account` cannot be the zero address. | |
*/ | |
function _mint(address account, uint256 amount) internal virtual { | |
require(account != address(0), "ERC20: mint to the zero address"); | |
_beforeTokenTransfer(address(0), account, amount); | |
_totalSupply += amount; | |
unchecked { | |
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. | |
_balances[account] += amount; | |
} | |
emit Transfer(address(0), account, amount); | |
_afterTokenTransfer(address(0), account, amount); | |
} | |
/** | |
* @dev Destroys `amount` tokens from `account`, reducing the | |
* total supply. | |
* | |
* Emits a {Transfer} event with `to` set to the zero address. | |
* | |
* Requirements: | |
* | |
* - `account` cannot be the zero address. | |
* - `account` must have at least `amount` tokens. | |
*/ | |
function _burn(address account, uint256 amount) internal virtual { | |
require(account != address(0), "ERC20: burn from the zero address"); | |
_beforeTokenTransfer(account, address(0), amount); | |
uint256 accountBalance = _balances[account]; | |
require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); | |
unchecked { | |
_balances[account] = accountBalance - amount; | |
// Overflow not possible: amount <= accountBalance <= totalSupply. | |
_totalSupply -= amount; | |
} | |
emit Transfer(account, address(0), amount); | |
_afterTokenTransfer(account, address(0), amount); | |
} | |
/** | |
* @dev Sets `amount` 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. | |
*/ | |
function _approve(address owner, address spender, uint256 amount) internal virtual { | |
require(owner != address(0), "ERC20: approve from the zero address"); | |
require(spender != address(0), "ERC20: approve to the zero address"); | |
_allowances[owner][spender] = amount; | |
emit Approval(owner, spender, amount); | |
} | |
/** | |
* @dev Updates `owner` s allowance for `spender` based on spent `amount`. | |
* | |
* Does not update the allowance amount in case of infinite allowance. | |
* Revert if not enough allowance is available. | |
* | |
* Might emit an {Approval} event. | |
*/ | |
function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { | |
uint256 currentAllowance = allowance(owner, spender); | |
if (currentAllowance != type(uint256).max) { | |
require(currentAllowance >= amount, "ERC20: insufficient allowance"); | |
unchecked { | |
_approve(owner, spender, currentAllowance - amount); | |
} | |
} | |
} | |
/** | |
* @dev Hook that is called before any transfer of tokens. This includes | |
* minting and burning. | |
* | |
* Calling conditions: | |
* | |
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens | |
* will be transferred to `to`. | |
* - when `from` is zero, `amount` tokens will be minted for `to`. | |
* - when `to` is zero, `amount` of ``from``'s tokens will be burned. | |
* - `from` and `to` are never both zero. | |
* | |
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. | |
*/ | |
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} | |
/** | |
* @dev Hook that is called after any transfer of tokens. This includes | |
* minting and burning. | |
* | |
* Calling conditions: | |
* | |
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens | |
* has been transferred to `to`. | |
* - when `from` is zero, `amount` tokens have been minted for `to`. | |
* - when `to` is zero, `amount` of ``from``'s tokens have been burned. | |
* - `from` and `to` are never both zero. | |
* | |
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. | |
*/ | |
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) | |
pragma solidity ^0.8.0; | |
import "../ERC20.sol"; | |
import "../../../utils/Context.sol"; | |
/** | |
* @dev Extension of {ERC20} that allows token holders to destroy both their own | |
* tokens and those that they have an allowance for, in a way that can be | |
* recognized off-chain (via event analysis). | |
*/ | |
abstract contract ERC20Burnable is Context, ERC20 { | |
/** | |
* @dev Destroys `amount` tokens from the caller. | |
* | |
* See {ERC20-_burn}. | |
*/ | |
function burn(uint256 amount) public virtual { | |
_burn(_msgSender(), amount); | |
} | |
/** | |
* @dev Destroys `amount` tokens from `account`, deducting from the caller's | |
* allowance. | |
* | |
* See {ERC20-_burn} and {ERC20-allowance}. | |
* | |
* Requirements: | |
* | |
* - the caller must have allowance for ``accounts``'s tokens of at least | |
* `amount`. | |
*/ | |
function burnFrom(address account, uint256 amount) public virtual { | |
_spendAllowance(account, _msgSender(), amount); | |
_burn(account, amount); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/ERC20Permit.sol) | |
pragma solidity ^0.8.0; | |
import "./IERC20Permit.sol"; | |
import "../ERC20.sol"; | |
import "../../../utils/cryptography/ECDSA.sol"; | |
import "../../../utils/cryptography/EIP712.sol"; | |
import "../../../utils/Counters.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. | |
* | |
* _Available since v3.4._ | |
*/ | |
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { | |
using Counters for Counters.Counter; | |
mapping(address => Counters.Counter) private _nonces; | |
// solhint-disable-next-line var-name-mixedcase | |
bytes32 private constant _PERMIT_TYPEHASH = | |
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); | |
/** | |
* @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`. | |
* However, to ensure consistency with the upgradeable transpiler, we will continue | |
* to reserve a slot. | |
* @custom:oz-renamed-from _PERMIT_TYPEHASH | |
*/ | |
// solhint-disable-next-line var-name-mixedcase | |
bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT; | |
/** | |
* @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 override { | |
require(block.timestamp <= deadline, "ERC20Permit: expired 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); | |
require(signer == owner, "ERC20Permit: invalid signature"); | |
_approve(owner, spender, value); | |
} | |
/** | |
* @inheritdoc IERC20Permit | |
*/ | |
function nonces(address owner) public view virtual override returns (uint256) { | |
return _nonces[owner].current(); | |
} | |
/** | |
* @inheritdoc IERC20Permit | |
*/ | |
// solhint-disable-next-line func-name-mixedcase | |
function DOMAIN_SEPARATOR() external view override returns (bytes32) { | |
return _domainSeparatorV4(); | |
} | |
/** | |
* @dev "Consume a nonce": return the current value and increment. | |
* | |
* _Available since v4.1._ | |
*/ | |
function _useNonce(address owner) internal virtual returns (uint256 current) { | |
Counters.Counter storage nonce = _nonces[owner]; | |
current = nonce.current(); | |
nonce.increment(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) | |
pragma solidity ^0.8.0; | |
import "../IERC20.sol"; | |
/** | |
* @dev Interface for the optional metadata functions from the ERC20 standard. | |
* | |
* _Available since v4.1._ | |
*/ | |
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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in | |
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. | |
* | |
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by | |
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't | |
* need to send a transaction, and thus is not required to hold Ether at all. | |
* | |
* ==== Security Considerations | |
* | |
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature | |
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be | |
* considered as an intention to spend the allowance in any specific way. The second is that because permits have | |
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should | |
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be | |
* generally recommended is: | |
* | |
* ```solidity | |
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { | |
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} | |
* doThing(..., value); | |
* } | |
* | |
* function doThing(..., uint256 value) public { | |
* token.safeTransferFrom(msg.sender, address(this), value); | |
* ... | |
* } | |
* ``` | |
* | |
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of | |
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also | |
* {SafeERC20-safeTransferFrom}). | |
* | |
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so | |
* contracts should have entry points that don't rely on permit. | |
*/ | |
interface 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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Interface of the ERC20 standard as defined in the EIP. | |
*/ | |
interface 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 amount of tokens in existence. | |
*/ | |
function totalSupply() external view returns (uint256); | |
/** | |
* @dev Returns the amount of tokens owned by `account`. | |
*/ | |
function balanceOf(address account) external view returns (uint256); | |
/** | |
* @dev Moves `amount` tokens from the caller's account to `to`. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function transfer(address to, uint256 amount) external returns (bool); | |
/** | |
* @dev Returns the remaining number of tokens that `spender` will be | |
* allowed to spend on behalf of `owner` through {transferFrom}. This is | |
* zero by default. | |
* | |
* This value changes when {approve} or {transferFrom} are called. | |
*/ | |
function allowance(address owner, address spender) external view returns (uint256); | |
/** | |
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* IMPORTANT: Beware that changing an allowance with this method brings the risk | |
* that someone may use both the old and the new allowance by unfortunate | |
* transaction ordering. One possible solution to mitigate this race | |
* condition is to first reduce the spender's allowance to 0 and set the | |
* desired value afterwards: | |
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 | |
* | |
* Emits an {Approval} event. | |
*/ | |
function approve(address spender, uint256 amount) external returns (bool); | |
/** | |
* @dev Moves `amount` tokens from `from` to `to` using the | |
* allowance mechanism. `amount` is then deducted from the caller's | |
* allowance. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function transferFrom(address from, address to, uint256 amount) external returns (bool); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available | |
* via msg.sender and msg.data, they should not be accessed in such a direct | |
* manner, since when dealing with meta-transactions the account sending and | |
* paying for execution may not be the actual sender (as far as an application | |
* is concerned). | |
* | |
* This contract is only required for intermediate, library-like contracts. | |
*/ | |
abstract contract Context { | |
function _msgSender() internal view virtual returns (address) { | |
return msg.sender; | |
} | |
function _msgData() internal view virtual returns (bytes calldata) { | |
return msg.data; | |
} | |
function _contextSuffixLength() internal view virtual returns (uint256) { | |
return 0; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @title Counters | |
* @author Matt Condon (@shrugs) | |
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number | |
* of elements in a mapping, issuing ERC721 ids, or counting request ids. | |
* | |
* Include with `using Counters for Counters.Counter;` | |
*/ | |
library Counters { | |
struct Counter { | |
// This variable should never be directly accessed by users of the library: interactions must be restricted to | |
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add | |
// this feature: see https://github.com/ethereum/solidity/issues/4637 | |
uint256 _value; // default: 0 | |
} | |
function current(Counter storage counter) internal view returns (uint256) { | |
return counter._value; | |
} | |
function increment(Counter storage counter) internal { | |
unchecked { | |
counter._value += 1; | |
} | |
} | |
function decrement(Counter storage counter) internal { | |
uint256 value = counter._value; | |
require(value > 0, "Counter: decrement overflow"); | |
unchecked { | |
counter._value = value - 1; | |
} | |
} | |
function reset(Counter storage counter) internal { | |
counter._value = 0; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol) | |
pragma solidity ^0.8.0; | |
import "../Strings.sol"; | |
/** | |
* @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, | |
InvalidSignatureV // Deprecated in v4.8 | |
} | |
function _throwError(RecoverError error) private pure { | |
if (error == RecoverError.NoError) { | |
return; // no error: do nothing | |
} else if (error == RecoverError.InvalidSignature) { | |
revert("ECDSA: invalid signature"); | |
} else if (error == RecoverError.InvalidSignatureLength) { | |
revert("ECDSA: invalid signature length"); | |
} else if (error == RecoverError.InvalidSignatureS) { | |
revert("ECDSA: invalid signature 's' value"); | |
} | |
} | |
/** | |
* @dev Returns the address that signed a hashed message (`hash`) with | |
* `signature` or error string. This address can then be used for verification purposes. | |
* | |
* The `ecrecover` EVM opcode 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 {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] | |
* | |
* _Available since v4.3._ | |
*/ | |
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { | |
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); | |
} | |
} | |
/** | |
* @dev Returns the address that signed a hashed message (`hash`) with | |
* `signature`. This address can then be used for verification purposes. | |
* | |
* The `ecrecover` EVM opcode 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 {toEthSignedMessageHash} on it. | |
*/ | |
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { | |
(address recovered, RecoverError error) = tryRecover(hash, signature); | |
_throwError(error); | |
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] | |
* | |
* _Available since v4.3._ | |
*/ | |
function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) { | |
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); | |
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. | |
* | |
* _Available since v4.2._ | |
*/ | |
function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { | |
(address recovered, RecoverError error) = tryRecover(hash, r, vs); | |
_throwError(error); | |
return recovered; | |
} | |
/** | |
* @dev Overload of {ECDSA-tryRecover} that receives the `v`, | |
* `r` and `s` signature fields separately. | |
* | |
* _Available since v4.3._ | |
*/ | |
function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) { | |
// 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); | |
} | |
// 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); | |
} | |
return (signer, RecoverError.NoError); | |
} | |
/** | |
* @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) = tryRecover(hash, v, r, s); | |
_throwError(error); | |
return recovered; | |
} | |
/** | |
* @dev Returns an Ethereum Signed Message, created from a `hash`. This | |
* produces hash corresponding to the one signed with the | |
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] | |
* JSON-RPC method as part of EIP-191. | |
* | |
* See {recover}. | |
*/ | |
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) { | |
// 32 is the length in bytes of hash, | |
// enforced by the type signature above | |
/// @solidity memory-safe-assembly | |
assembly { | |
mstore(0x00, "\x19Ethereum Signed Message:\n32") | |
mstore(0x1c, hash) | |
message := keccak256(0x00, 0x3c) | |
} | |
} | |
/** | |
* @dev Returns an Ethereum Signed Message, created from `s`. This | |
* produces hash corresponding to the one signed with the | |
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] | |
* JSON-RPC method as part of EIP-191. | |
* | |
* See {recover}. | |
*/ | |
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { | |
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); | |
} | |
/** | |
* @dev Returns an Ethereum Signed Typed Data, created from a | |
* `domainSeparator` and a `structHash`. This produces hash corresponding | |
* to the one signed with the | |
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] | |
* JSON-RPC method as part of EIP-712. | |
* | |
* See {recover}. | |
*/ | |
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) { | |
/// @solidity memory-safe-assembly | |
assembly { | |
let ptr := mload(0x40) | |
mstore(ptr, "\x19\x01") | |
mstore(add(ptr, 0x02), domainSeparator) | |
mstore(add(ptr, 0x22), structHash) | |
data := keccak256(ptr, 0x42) | |
} | |
} | |
/** | |
* @dev Returns an Ethereum Signed Data with intended validator, created from a | |
* `validator` and `data` according to the version 0 of EIP-191. | |
* | |
* See {recover}. | |
*/ | |
function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { | |
return keccak256(abi.encodePacked("\x19\x00", validator, data)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol) | |
pragma solidity ^0.8.8; | |
import "./ECDSA.sol"; | |
import "../ShortStrings.sol"; | |
import "../../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 specified in the EIP is very generic, and such a generic 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 their contracts 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. | |
* | |
* _Available since v3.4._ | |
* | |
* @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment | |
*/ | |
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 ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); | |
} | |
/** | |
* @dev See {EIP-5267}. | |
* | |
* _Available since v4.9._ | |
*/ | |
function eip712Domain() | |
public | |
view | |
virtual | |
override | |
returns ( | |
bytes1 fields, | |
string memory name, | |
string memory version, | |
uint256 chainId, | |
address verifyingContract, | |
bytes32 salt, | |
uint256[] memory extensions | |
) | |
{ | |
return ( | |
hex"0f", // 01111 | |
_name.toStringWithFallback(_nameFallback), | |
_version.toStringWithFallback(_versionFallback), | |
block.chainid, | |
address(this), | |
bytes32(0), | |
new uint256[](0) | |
); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Standard math utilities missing in the Solidity language. | |
*/ | |
library Math { | |
enum Rounding { | |
Down, // Toward negative infinity | |
Up, // Toward infinity | |
Zero // Toward zero | |
} | |
/** | |
* @dev Returns the largest of two numbers. | |
*/ | |
function max(uint256 a, uint256 b) internal pure returns (uint256) { | |
return a > b ? a : b; | |
} | |
/** | |
* @dev Returns the smallest of two numbers. | |
*/ | |
function min(uint256 a, uint256 b) internal pure returns (uint256) { | |
return a < b ? a : b; | |
} | |
/** | |
* @dev Returns the average of two numbers. The result is rounded towards | |
* zero. | |
*/ | |
function average(uint256 a, uint256 b) internal pure returns (uint256) { | |
// (a + b) / 2 can overflow. | |
return (a & b) + (a ^ b) / 2; | |
} | |
/** | |
* @dev Returns the ceiling of the division of two numbers. | |
* | |
* This differs from standard division with `/` in that it rounds up instead | |
* of rounding down. | |
*/ | |
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { | |
// (a + b - 1) / b can overflow on addition, so we distribute. | |
return a == 0 ? 0 : (a - 1) / b + 1; | |
} | |
/** | |
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 | |
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) | |
* with further edits by Uniswap Labs also under MIT license. | |
*/ | |
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { | |
unchecked { | |
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use | |
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 | |
// variables such that product = prod1 * 2^256 + prod0. | |
uint256 prod0; // Least significant 256 bits of the product | |
uint256 prod1; // Most significant 256 bits of the product | |
assembly { | |
let mm := mulmod(x, y, not(0)) | |
prod0 := mul(x, y) | |
prod1 := sub(sub(mm, prod0), lt(mm, prod0)) | |
} | |
// Handle non-overflow cases, 256 by 256 division. | |
if (prod1 == 0) { | |
// 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. | |
require(denominator > prod1, "Math: mulDiv overflow"); | |
/////////////////////////////////////////////// | |
// 512 by 256 division. | |
/////////////////////////////////////////////// | |
// Make division exact by subtracting the remainder from [prod1 prod0]. | |
uint256 remainder; | |
assembly { | |
// Compute remainder using mulmod. | |
remainder := mulmod(x, y, denominator) | |
// Subtract 256 bit number from 512 bit number. | |
prod1 := sub(prod1, gt(remainder, prod0)) | |
prod0 := sub(prod0, remainder) | |
} | |
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. | |
// See https://cs.stackexchange.com/q/138556/92363. | |
// Does not overflow because the denominator cannot be zero at this stage in the function. | |
uint256 twos = denominator & (~denominator + 1); | |
assembly { | |
// Divide denominator by twos. | |
denominator := div(denominator, twos) | |
// Divide [prod1 prod0] by twos. | |
prod0 := div(prod0, twos) | |
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. | |
twos := add(div(sub(0, twos), twos), 1) | |
} | |
// Shift in bits from prod1 into prod0. | |
prod0 |= prod1 * twos; | |
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such | |
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for | |
// four bits. That is, denominator * inv = 1 mod 2^4. | |
uint256 inverse = (3 * denominator) ^ 2; | |
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works | |
// in modular arithmetic, doubling the correct bits in each step. | |
inverse *= 2 - denominator * inverse; // inverse mod 2^8 | |
inverse *= 2 - denominator * inverse; // inverse mod 2^16 | |
inverse *= 2 - denominator * inverse; // inverse mod 2^32 | |
inverse *= 2 - denominator * inverse; // inverse mod 2^64 | |
inverse *= 2 - denominator * inverse; // inverse mod 2^128 | |
inverse *= 2 - denominator * inverse; // inverse mod 2^256 | |
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator. | |
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is | |
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 | |
// is no longer required. | |
result = prod0 * inverse; | |
return result; | |
} | |
} | |
/** | |
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction. | |
*/ | |
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { | |
uint256 result = mulDiv(x, y, denominator); | |
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { | |
result += 1; | |
} | |
return result; | |
} | |
/** | |
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. | |
* | |
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). | |
*/ | |
function sqrt(uint256 a) internal pure returns (uint256) { | |
if (a == 0) { | |
return 0; | |
} | |
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. | |
// | |
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have | |
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. | |
// | |
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` | |
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` | |
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` | |
// | |
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. | |
uint256 result = 1 << (log2(a) >> 1); | |
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, | |
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at | |
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision | |
// into the expected uint128 result. | |
unchecked { | |
result = (result + a / result) >> 1; | |
result = (result + a / result) >> 1; | |
result = (result + a / result) >> 1; | |
result = (result + a / result) >> 1; | |
result = (result + a / result) >> 1; | |
result = (result + a / result) >> 1; | |
result = (result + a / result) >> 1; | |
return min(result, a / result); | |
} | |
} | |
/** | |
* @notice Calculates sqrt(a), following the selected rounding direction. | |
*/ | |
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { | |
unchecked { | |
uint256 result = sqrt(a); | |
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); | |
} | |
} | |
/** | |
* @dev Return the log in base 2, rounded down, of a positive value. | |
* Returns 0 if given 0. | |
*/ | |
function log2(uint256 value) internal pure returns (uint256) { | |
uint256 result = 0; | |
unchecked { | |
if (value >> 128 > 0) { | |
value >>= 128; | |
result += 128; | |
} | |
if (value >> 64 > 0) { | |
value >>= 64; | |
result += 64; | |
} | |
if (value >> 32 > 0) { | |
value >>= 32; | |
result += 32; | |
} | |
if (value >> 16 > 0) { | |
value >>= 16; | |
result += 16; | |
} | |
if (value >> 8 > 0) { | |
value >>= 8; | |
result += 8; | |
} | |
if (value >> 4 > 0) { | |
value >>= 4; | |
result += 4; | |
} | |
if (value >> 2 > 0) { | |
value >>= 2; | |
result += 2; | |
} | |
if (value >> 1 > 0) { | |
result += 1; | |
} | |
} | |
return result; | |
} | |
/** | |
* @dev Return the log in base 2, following the selected rounding direction, of a positive value. | |
* Returns 0 if given 0. | |
*/ | |
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { | |
unchecked { | |
uint256 result = log2(value); | |
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); | |
} | |
} | |
/** | |
* @dev Return the log in base 10, rounded down, of a positive value. | |
* Returns 0 if given 0. | |
*/ | |
function log10(uint256 value) internal pure returns (uint256) { | |
uint256 result = 0; | |
unchecked { | |
if (value >= 10 ** 64) { | |
value /= 10 ** 64; | |
result += 64; | |
} | |
if (value >= 10 ** 32) { | |
value /= 10 ** 32; | |
result += 32; | |
} | |
if (value >= 10 ** 16) { | |
value /= 10 ** 16; | |
result += 16; | |
} | |
if (value >= 10 ** 8) { | |
value /= 10 ** 8; | |
result += 8; | |
} | |
if (value >= 10 ** 4) { | |
value /= 10 ** 4; | |
result += 4; | |
} | |
if (value >= 10 ** 2) { | |
value /= 10 ** 2; | |
result += 2; | |
} | |
if (value >= 10 ** 1) { | |
result += 1; | |
} | |
} | |
return result; | |
} | |
/** | |
* @dev Return the log in base 10, following the selected rounding direction, of a positive value. | |
* Returns 0 if given 0. | |
*/ | |
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { | |
unchecked { | |
uint256 result = log10(value); | |
return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); | |
} | |
} | |
/** | |
* @dev Return the log in base 256, rounded down, of a positive value. | |
* Returns 0 if given 0. | |
* | |
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. | |
*/ | |
function log256(uint256 value) internal pure returns (uint256) { | |
uint256 result = 0; | |
unchecked { | |
if (value >> 128 > 0) { | |
value >>= 128; | |
result += 16; | |
} | |
if (value >> 64 > 0) { | |
value >>= 64; | |
result += 8; | |
} | |
if (value >> 32 > 0) { | |
value >>= 32; | |
result += 4; | |
} | |
if (value >> 16 > 0) { | |
value >>= 16; | |
result += 2; | |
} | |
if (value >> 8 > 0) { | |
result += 1; | |
} | |
} | |
return result; | |
} | |
/** | |
* @dev Return the log in base 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 + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @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); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol) | |
pragma solidity ^0.8.8; | |
import "./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; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol) | |
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js. | |
pragma solidity ^0.8.0; | |
/** | |
* @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(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); | |
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; | |
* } | |
* } | |
* ``` | |
* | |
* _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._ | |
* _Available since v4.9 for `string`, `bytes`._ | |
*/ | |
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 | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) | |
pragma solidity ^0.8.0; | |
import "./math/Math.sol"; | |
import "./math/SignedMath.sol"; | |
/** | |
* @dev String operations. | |
*/ | |
library Strings { | |
bytes16 private constant _SYMBOLS = "0123456789abcdef"; | |
uint8 private constant _ADDRESS_LENGTH = 20; | |
/** | |
* @dev Converts a `uint256` to its ASCII `string` decimal representation. | |
*/ | |
function toString(uint256 value) internal pure returns (string memory) { | |
unchecked { | |
uint256 length = Math.log10(value) + 1; | |
string memory buffer = new string(length); | |
uint256 ptr; | |
/// @solidity memory-safe-assembly | |
assembly { | |
ptr := add(buffer, add(32, length)) | |
} | |
while (true) { | |
ptr--; | |
/// @solidity memory-safe-assembly | |
assembly { | |
mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) | |
} | |
value /= 10; | |
if (value == 0) break; | |
} | |
return buffer; | |
} | |
} | |
/** | |
* @dev Converts a `int256` to its ASCII `string` decimal representation. | |
*/ | |
function toString(int256 value) internal pure returns (string memory) { | |
return string(abi.encodePacked(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) { | |
bytes memory buffer = new bytes(2 * length + 2); | |
buffer[0] = "0"; | |
buffer[1] = "x"; | |
for (uint256 i = 2 * length + 1; i > 1; --i) { | |
buffer[i] = _SYMBOLS[value & 0xf]; | |
value >>= 4; | |
} | |
require(value == 0, "Strings: hex length insufficient"); | |
return string(buffer); | |
} | |
/** | |
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. | |
*/ | |
function toHexString(address addr) internal pure returns (string memory) { | |
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); | |
} | |
/** | |
* @dev Returns true if the two strings are equal. | |
*/ | |
function equal(string memory a, string memory b) internal pure returns (bool) { | |
return keccak256(bytes(a)) == keccak256(bytes(b)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) | |
pragma solidity ^0.8.20; | |
import {Context} from "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to | |
* specific functions. | |
* | |
* The initial owner is set to the address provided by the deployer. This can | |
* later be changed with {transferOwnership}. | |
* | |
* This module is used through inheritance. It will make available the modifier | |
* `onlyOwner`, which can be applied to your functions to restrict their use to | |
* the owner. | |
*/ | |
abstract contract Ownable is Context { | |
address private _owner; | |
/** | |
* @dev The caller account is not authorized to perform an operation. | |
*/ | |
error OwnableUnauthorizedAccount(address account); | |
/** | |
* @dev The owner is not a valid owner account. (eg. `address(0)`) | |
*/ | |
error OwnableInvalidOwner(address owner); | |
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); | |
/** | |
* @dev Initializes the contract setting the address provided by the deployer as the initial owner. | |
*/ | |
constructor(address initialOwner) { | |
if (initialOwner == address(0)) { | |
revert OwnableInvalidOwner(address(0)); | |
} | |
_transferOwnership(initialOwner); | |
} | |
/** | |
* @dev Throws if called by any account other than the owner. | |
*/ | |
modifier onlyOwner() { | |
_checkOwner(); | |
_; | |
} | |
/** | |
* @dev Returns the address of the current owner. | |
*/ | |
function owner() public view virtual returns (address) { | |
return _owner; | |
} | |
/** | |
* @dev Throws if the sender is not the owner. | |
*/ | |
function _checkOwner() internal view virtual { | |
if (owner() != _msgSender()) { | |
revert OwnableUnauthorizedAccount(_msgSender()); | |
} | |
} | |
/** | |
* @dev Leaves the contract without owner. It will not be possible to call | |
* `onlyOwner` functions. Can only be called by the current owner. | |
* | |
* NOTE: Renouncing ownership will leave the contract without an owner, | |
* thereby disabling any functionality that is only available to the owner. | |
*/ | |
function renounceOwnership() public virtual onlyOwner { | |
_transferOwnership(address(0)); | |
} | |
/** | |
* @dev Transfers ownership of the contract to a new account (`newOwner`). | |
* Can only be called by the current owner. | |
*/ | |
function transferOwnership(address newOwner) public virtual onlyOwner { | |
if (newOwner == address(0)) { | |
revert OwnableInvalidOwner(address(0)); | |
} | |
_transferOwnership(newOwner); | |
} | |
/** | |
* @dev Transfers ownership of the contract to a new account (`newOwner`). | |
* Internal function without access restriction. | |
*/ | |
function _transferOwnership(address newOwner) internal virtual { | |
address oldOwner = _owner; | |
_owner = newOwner; | |
emit OwnershipTransferred(oldOwner, newOwner); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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 | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) | |
pragma solidity ^0.8.20; | |
import {ERC20} from "../ERC20.sol"; | |
import {Context} from "../../../utils/Context.sol"; | |
/** | |
* @dev Extension of {ERC20} that allows token holders to destroy both their own | |
* tokens and those that they have an allowance for, in a way that can be | |
* recognized off-chain (via event analysis). | |
*/ | |
abstract contract ERC20Burnable is Context, ERC20 { | |
/** | |
* @dev Destroys a `value` amount of tokens from the caller. | |
* | |
* See {ERC20-_burn}. | |
*/ | |
function burn(uint256 value) public virtual { | |
_burn(_msgSender(), value); | |
} | |
/** | |
* @dev Destroys a `value` amount of tokens from `account`, deducting from | |
* the caller's allowance. | |
* | |
* See {ERC20-_burn} and {ERC20-allowance}. | |
* | |
* Requirements: | |
* | |
* - the caller must have allowance for ``accounts``'s tokens of at least | |
* `value`. | |
*/ | |
function burnFrom(address account, uint256 value) public virtual { | |
_spendAllowance(account, _msgSender(), value); | |
_burn(account, value); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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) | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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 | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (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)); | |
} | |
} |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"goerli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": { | |
"@_182": { | |
"entryPoint": null, | |
"id": 182, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@_2197": { | |
"entryPoint": null, | |
"id": 2197, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@_23": { | |
"entryPoint": null, | |
"id": 23, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@_3321": { | |
"entryPoint": null, | |
"id": 3321, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@_888": { | |
"entryPoint": null, | |
"id": 888, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@_afterTokenTransfer_723": { | |
"entryPoint": 1493, | |
"id": 723, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_beforeTokenTransfer_712": { | |
"entryPoint": 1488, | |
"id": 712, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_buildDomainSeparator_2244": { | |
"entryPoint": 696, | |
"id": 2244, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@_mint_541": { | |
"entryPoint": 1004, | |
"id": 541, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@_msgSender_1091": { | |
"entryPoint": 789, | |
"id": 1091, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@_transferOwnership_111": { | |
"entryPoint": 797, | |
"id": 111, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@decimals_212": { | |
"entryPoint": 995, | |
"id": 212, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@getStringSlot_1486": { | |
"entryPoint": 1478, | |
"id": 1486, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@toShortStringWithFallback_1340": { | |
"entryPoint": 608, | |
"id": 1340, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@toShortString_1242": { | |
"entryPoint": 1369, | |
"id": 1242, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_decode_t_address_fromMemory": { | |
"entryPoint": 1581, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_address_fromMemory": { | |
"entryPoint": 1604, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_address_to_t_address_fromStack": { | |
"entryPoint": 3119, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_bytes32_to_t_bytes32_fromStack": { | |
"entryPoint": 3085, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 3509, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 3287, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_uint256_to_t_uint256_fromStack": { | |
"entryPoint": 3102, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed": { | |
"entryPoint": 3136, | |
"id": null, | |
"parameterSlots": 6, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 3574, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 3326, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": 3419, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"allocate_unbounded": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"array_dataslot_t_bytes_memory_ptr": { | |
"entryPoint": 3621, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_dataslot_t_string_storage": { | |
"entryPoint": 1812, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_length_t_bytes_memory_ptr": { | |
"entryPoint": 3610, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_length_t_string_memory_ptr": { | |
"entryPoint": 1654, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { | |
"entryPoint": 3229, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_add_t_uint256": { | |
"entryPoint": 3360, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_exp_helper": { | |
"entryPoint": 2579, | |
"id": null, | |
"parameterSlots": 4, | |
"returnSlots": 2 | |
}, | |
"checked_exp_t_uint256_t_uint8": { | |
"entryPoint": 2919, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_exp_unsigned": { | |
"entryPoint": 2670, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"checked_mul_t_uint256": { | |
"entryPoint": 3000, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"clean_up_bytearray_end_slots_t_string_storage": { | |
"entryPoint": 2133, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"cleanup_t_address": { | |
"entryPoint": 1535, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_bytes32": { | |
"entryPoint": 3075, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint160": { | |
"entryPoint": 1503, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint256": { | |
"entryPoint": 1948, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint8": { | |
"entryPoint": 2906, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"clear_storage_range_t_bytes1": { | |
"entryPoint": 2094, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"convert_bytes_to_fixedbytes_from_t_bytes_memory_ptr_to_t_bytes32": { | |
"entryPoint": 3660, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"convert_t_uint256_to_t_uint256": { | |
"entryPoint": 1968, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage": { | |
"entryPoint": 2288, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"copy_memory_to_memory_with_cleanup": { | |
"entryPoint": 3448, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"divide_by_32_ceil": { | |
"entryPoint": 1833, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"extract_byte_array_length": { | |
"entryPoint": 1759, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"extract_used_part_and_set_length_of_short_byte_array": { | |
"entryPoint": 2258, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"identity": { | |
"entryPoint": 1958, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"mask_bytes_dynamic": { | |
"entryPoint": 2226, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x11": { | |
"entryPoint": 2519, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x22": { | |
"entryPoint": 1712, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x41": { | |
"entryPoint": 1665, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"prepare_store_t_uint256": { | |
"entryPoint": 2008, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"read_from_memoryt_bytes32": { | |
"entryPoint": 3637, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
"entryPoint": 1498, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"round_up_to_mul_of_32": { | |
"entryPoint": 3492, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"shift_left_dynamic": { | |
"entryPoint": 1849, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"shift_right_1_unsigned": { | |
"entryPoint": 2566, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"shift_right_unsigned_dynamic": { | |
"entryPoint": 2213, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"storage_set_to_zero_t_uint256": { | |
"entryPoint": 2066, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e": { | |
"entryPoint": 3246, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"update_byte_slice_dynamic32": { | |
"entryPoint": 1862, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"update_storage_value_t_uint256_to_t_uint256": { | |
"entryPoint": 2018, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"validator_revert_t_address": { | |
"entryPoint": 1555, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"zero_value_for_split_t_uint256": { | |
"entryPoint": 2061, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:14205:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "47:35:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "57:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "73:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "67:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "67:9:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "57:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "allocate_unbounded", | |
"nodeType": "YulFunctionDefinition", | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "40:6:18", | |
"type": "" | |
} | |
], | |
"src": "7:75:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "177:28:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "194:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "197:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "187:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "187:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "187:12:18" | |
} | |
] | |
}, | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulFunctionDefinition", | |
"src": "88:117:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "300:28:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "317:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "320:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "310:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "310:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "310:12:18" | |
} | |
] | |
}, | |
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
"nodeType": "YulFunctionDefinition", | |
"src": "211:117:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "379:81:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "389:65:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "404:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "411:42:18", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "400:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "400:54:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "389:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "361:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "371:7:18", | |
"type": "" | |
} | |
], | |
"src": "334:126:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "511:51:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "521:35:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "550:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulIdentifier", | |
"src": "532:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "532:24:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "521:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "493:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "503:7:18", | |
"type": "" | |
} | |
], | |
"src": "466:96:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "611:79:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "668:16:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "677:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "680:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "670:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "670:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "670:12:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "634:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "659:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "641:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "641:24:18" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "631:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "631:35:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "624:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "624:43:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "621:63:18" | |
} | |
] | |
}, | |
"name": "validator_revert_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "604:5:18", | |
"type": "" | |
} | |
], | |
"src": "568:122:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "759:80:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "769:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "784:6:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "778:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "778:13:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "769:5:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "827:5:18" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "800:26:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "800:33:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "800:33:18" | |
} | |
] | |
}, | |
"name": "abi_decode_t_address_fromMemory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "737:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "745:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "753:5:18", | |
"type": "" | |
} | |
], | |
"src": "696:143:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "922:274:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "968:83:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "970:77:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "970:79:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "970:79:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "943:7:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "952:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "939:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "939:23:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "964:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "935:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "935:32:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "932:119:18" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "1061:128:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1076:15:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1090:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "1080:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1105:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1151:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1162:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1147:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1147:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1171:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address_fromMemory", | |
"nodeType": "YulIdentifier", | |
"src": "1115:31:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1115:64:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1105:6:18" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address_fromMemory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "892:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "903:7:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "915:6:18", | |
"type": "" | |
} | |
], | |
"src": "845:351:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1261:40:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1272:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1288:5:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1282:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1282:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1272:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_length_t_string_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1244:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "1254:6:18", | |
"type": "" | |
} | |
], | |
"src": "1202:99:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1335:152:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1352:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1355:77:18", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1345:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1345:88:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1345:88:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1449:1:18", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1452:4:18", | |
"type": "", | |
"value": "0x41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1442:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1442:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1442:15:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1473:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1476:4:18", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1466:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1466:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1466:15:18" | |
} | |
] | |
}, | |
"name": "panic_error_0x41", | |
"nodeType": "YulFunctionDefinition", | |
"src": "1307:180:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1521:152:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1538:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1541:77:18", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1531:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1531:88:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1531:88:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1635:1:18", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1638:4:18", | |
"type": "", | |
"value": "0x22" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1628:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1628:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1628:15:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1659:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1662:4:18", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1652:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1652:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1652:15:18" | |
} | |
] | |
}, | |
"name": "panic_error_0x22", | |
"nodeType": "YulFunctionDefinition", | |
"src": "1493:180:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1730:269:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1740:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "1754:4:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1760:1:18", | |
"type": "", | |
"value": "2" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "1750:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1750:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1740:6:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1771:38:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "1801:4:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1807:1:18", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1797:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1797:12:18" | |
}, | |
"variables": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulTypedName", | |
"src": "1775:18:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1848:51:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1862:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1876:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1884:4:18", | |
"type": "", | |
"value": "0x7f" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1872:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1872:17:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1862:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "1828:18:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "1821:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1821:26:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "1818:81:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1951:42:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x22", | |
"nodeType": "YulIdentifier", | |
"src": "1965:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1965:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1965:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "1915:18:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1938:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1946:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "1935:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1935:14:18" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "1912:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1912:38:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "1909:84:18" | |
} | |
] | |
}, | |
"name": "extract_byte_array_length", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "1714:4:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "1723:6:18", | |
"type": "" | |
} | |
], | |
"src": "1679:320:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2059:87:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2069:11:18", | |
"value": { | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "2077:3:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "2069:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2097:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "2100:3:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2090:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2090:14:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2090:14:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2113:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2131:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2134:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "keccak256", | |
"nodeType": "YulIdentifier", | |
"src": "2121:9:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2121:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "2113:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_dataslot_t_string_storage", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulTypedName", | |
"src": "2046:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "2054:4:18", | |
"type": "" | |
} | |
], | |
"src": "2005:141:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2196:49:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2206:33:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2224:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2231:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2220:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2220:14:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2236:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "2216:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2216:23:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "2206:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "divide_by_32_ceil", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2179:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "2189:6:18", | |
"type": "" | |
} | |
], | |
"src": "2152:93:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2304:54:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2314:37:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "bits", | |
"nodeType": "YulIdentifier", | |
"src": "2339:4:18" | |
}, | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2345:5:18" | |
} | |
], | |
"functionName": { | |
"name": "shl", | |
"nodeType": "YulIdentifier", | |
"src": "2335:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2335:16:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "newValue", | |
"nodeType": "YulIdentifier", | |
"src": "2314:8:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "shift_left_dynamic", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "bits", | |
"nodeType": "YulTypedName", | |
"src": "2279:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2285:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "newValue", | |
"nodeType": "YulTypedName", | |
"src": "2295:8:18", | |
"type": "" | |
} | |
], | |
"src": "2251:107:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2440:317:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2450:35:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "shiftBytes", | |
"nodeType": "YulIdentifier", | |
"src": "2471:10:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2483:1:18", | |
"type": "", | |
"value": "8" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "2467:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2467:18:18" | |
}, | |
"variables": [ | |
{ | |
"name": "shiftBits", | |
"nodeType": "YulTypedName", | |
"src": "2454:9:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2494:109:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "shiftBits", | |
"nodeType": "YulIdentifier", | |
"src": "2525:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2536:66:18", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "shift_left_dynamic", | |
"nodeType": "YulIdentifier", | |
"src": "2506:18:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2506:97:18" | |
}, | |
"variables": [ | |
{ | |
"name": "mask", | |
"nodeType": "YulTypedName", | |
"src": "2498:4:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2612:51:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "shiftBits", | |
"nodeType": "YulIdentifier", | |
"src": "2643:9:18" | |
}, | |
{ | |
"name": "toInsert", | |
"nodeType": "YulIdentifier", | |
"src": "2654:8:18" | |
} | |
], | |
"functionName": { | |
"name": "shift_left_dynamic", | |
"nodeType": "YulIdentifier", | |
"src": "2624:18:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2624:39:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "toInsert", | |
"nodeType": "YulIdentifier", | |
"src": "2612:8:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2672:30:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2685:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "mask", | |
"nodeType": "YulIdentifier", | |
"src": "2696:4:18" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "2692:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2692:9:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "2681:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2681:21:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2672:5:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2711:40:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2724:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "toInsert", | |
"nodeType": "YulIdentifier", | |
"src": "2735:8:18" | |
}, | |
{ | |
"name": "mask", | |
"nodeType": "YulIdentifier", | |
"src": "2745:4:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "2731:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2731:19:18" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "2721:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2721:30:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "2711:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "update_byte_slice_dynamic32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2401:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "shiftBytes", | |
"nodeType": "YulTypedName", | |
"src": "2408:10:18", | |
"type": "" | |
}, | |
{ | |
"name": "toInsert", | |
"nodeType": "YulTypedName", | |
"src": "2420:8:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "2433:6:18", | |
"type": "" | |
} | |
], | |
"src": "2364:393:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2808:32:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2818:16:18", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2829:5:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "2818:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2790:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "2800:7:18", | |
"type": "" | |
} | |
], | |
"src": "2763:77:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2878:28:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2888:12:18", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2895:5:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "2888:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "identity", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2864:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "2874:3:18", | |
"type": "" | |
} | |
], | |
"src": "2846:60:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2972:82:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2982:66:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3040:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3022:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3022:24:18" | |
} | |
], | |
"functionName": { | |
"name": "identity", | |
"nodeType": "YulIdentifier", | |
"src": "3013:8:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3013:34:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "2995:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2995:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "converted", | |
"nodeType": "YulIdentifier", | |
"src": "2982:9:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "convert_t_uint256_to_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2952:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "converted", | |
"nodeType": "YulTypedName", | |
"src": "2962:9:18", | |
"type": "" | |
} | |
], | |
"src": "2912:142:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3107:28:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3117:12:18", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3124:5:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "3117:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "prepare_store_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3093:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "3103:3:18", | |
"type": "" | |
} | |
], | |
"src": "3060:75:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3217:193:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "3227:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value_0", | |
"nodeType": "YulIdentifier", | |
"src": "3282:7:18" | |
} | |
], | |
"functionName": { | |
"name": "convert_t_uint256_to_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3251:30:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3251:39:18" | |
}, | |
"variables": [ | |
{ | |
"name": "convertedValue_0", | |
"nodeType": "YulTypedName", | |
"src": "3231:16:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulIdentifier", | |
"src": "3306:4:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulIdentifier", | |
"src": "3346:4:18" | |
} | |
], | |
"functionName": { | |
"name": "sload", | |
"nodeType": "YulIdentifier", | |
"src": "3340:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3340:11:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "3353:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "convertedValue_0", | |
"nodeType": "YulIdentifier", | |
"src": "3385:16:18" | |
} | |
], | |
"functionName": { | |
"name": "prepare_store_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3361:23:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3361:41:18" | |
} | |
], | |
"functionName": { | |
"name": "update_byte_slice_dynamic32", | |
"nodeType": "YulIdentifier", | |
"src": "3312:27:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3312:91:18" | |
} | |
], | |
"functionName": { | |
"name": "sstore", | |
"nodeType": "YulIdentifier", | |
"src": "3299:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3299:105:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3299:105:18" | |
} | |
] | |
}, | |
"name": "update_storage_value_t_uint256_to_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulTypedName", | |
"src": "3194:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "3200:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value_0", | |
"nodeType": "YulTypedName", | |
"src": "3208:7:18", | |
"type": "" | |
} | |
], | |
"src": "3141:269:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3465:24:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3475:8:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3482:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "3475:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "zero_value_for_split_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"returnVariables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "3461:3:18", | |
"type": "" | |
} | |
], | |
"src": "3416:73:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3548:136:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "3558:46:18", | |
"value": { | |
"arguments": [], | |
"functionName": { | |
"name": "zero_value_for_split_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3572:30:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3572:32:18" | |
}, | |
"variables": [ | |
{ | |
"name": "zero_0", | |
"nodeType": "YulTypedName", | |
"src": "3562:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulIdentifier", | |
"src": "3657:4:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "3663:6:18" | |
}, | |
{ | |
"name": "zero_0", | |
"nodeType": "YulIdentifier", | |
"src": "3671:6:18" | |
} | |
], | |
"functionName": { | |
"name": "update_storage_value_t_uint256_to_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3613:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3613:65:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3613:65:18" | |
} | |
] | |
}, | |
"name": "storage_set_to_zero_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulTypedName", | |
"src": "3534:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "3540:6:18", | |
"type": "" | |
} | |
], | |
"src": "3495:189:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3740:136:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3807:63:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "start", | |
"nodeType": "YulIdentifier", | |
"src": "3851:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3858:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "storage_set_to_zero_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3821:29:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3821:39:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3821:39:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "start", | |
"nodeType": "YulIdentifier", | |
"src": "3760:5:18" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "3767:3:18" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "3757:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3757:14:18" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "3772:26:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3774:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "start", | |
"nodeType": "YulIdentifier", | |
"src": "3787:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3794:1:18", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3783:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3783:13:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "start", | |
"nodeType": "YulIdentifier", | |
"src": "3774:5:18" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "3754:2:18", | |
"statements": [] | |
}, | |
"src": "3750:120:18" | |
} | |
] | |
}, | |
"name": "clear_storage_range_t_bytes1", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "start", | |
"nodeType": "YulTypedName", | |
"src": "3728:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "3735:3:18", | |
"type": "" | |
} | |
], | |
"src": "3690:186:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3961:464:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3987:431:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4001:54:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "4049:5:18" | |
} | |
], | |
"functionName": { | |
"name": "array_dataslot_t_string_storage", | |
"nodeType": "YulIdentifier", | |
"src": "4017:31:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4017:38:18" | |
}, | |
"variables": [ | |
{ | |
"name": "dataArea", | |
"nodeType": "YulTypedName", | |
"src": "4005:8:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4068:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "dataArea", | |
"nodeType": "YulIdentifier", | |
"src": "4091:8:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "startIndex", | |
"nodeType": "YulIdentifier", | |
"src": "4119:10:18" | |
} | |
], | |
"functionName": { | |
"name": "divide_by_32_ceil", | |
"nodeType": "YulIdentifier", | |
"src": "4101:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4101:29:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4087:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4087:44:18" | |
}, | |
"variables": [ | |
{ | |
"name": "deleteStart", | |
"nodeType": "YulTypedName", | |
"src": "4072:11:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4288:27:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4290:23:18", | |
"value": { | |
"name": "dataArea", | |
"nodeType": "YulIdentifier", | |
"src": "4305:8:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "deleteStart", | |
"nodeType": "YulIdentifier", | |
"src": "4290:11:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "startIndex", | |
"nodeType": "YulIdentifier", | |
"src": "4272:10:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4284:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "4269:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4269:18:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "4266:49:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "deleteStart", | |
"nodeType": "YulIdentifier", | |
"src": "4357:11:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "dataArea", | |
"nodeType": "YulIdentifier", | |
"src": "4374:8:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "len", | |
"nodeType": "YulIdentifier", | |
"src": "4402:3:18" | |
} | |
], | |
"functionName": { | |
"name": "divide_by_32_ceil", | |
"nodeType": "YulIdentifier", | |
"src": "4384:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4384:22:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4370:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4370:37:18" | |
} | |
], | |
"functionName": { | |
"name": "clear_storage_range_t_bytes1", | |
"nodeType": "YulIdentifier", | |
"src": "4328:28:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4328:80:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4328:80:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "len", | |
"nodeType": "YulIdentifier", | |
"src": "3978:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3983:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "3975:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3975:11:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "3972:446:18" | |
} | |
] | |
}, | |
"name": "clean_up_bytearray_end_slots_t_string_storage", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "array", | |
"nodeType": "YulTypedName", | |
"src": "3937:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "len", | |
"nodeType": "YulTypedName", | |
"src": "3944:3:18", | |
"type": "" | |
}, | |
{ | |
"name": "startIndex", | |
"nodeType": "YulTypedName", | |
"src": "3949:10:18", | |
"type": "" | |
} | |
], | |
"src": "3882:543:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4494:54:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4504:37:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "bits", | |
"nodeType": "YulIdentifier", | |
"src": "4529:4:18" | |
}, | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4535:5:18" | |
} | |
], | |
"functionName": { | |
"name": "shr", | |
"nodeType": "YulIdentifier", | |
"src": "4525:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4525:16:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "newValue", | |
"nodeType": "YulIdentifier", | |
"src": "4504:8:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "shift_right_unsigned_dynamic", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "bits", | |
"nodeType": "YulTypedName", | |
"src": "4469:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4475:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "newValue", | |
"nodeType": "YulTypedName", | |
"src": "4485:8:18", | |
"type": "" | |
} | |
], | |
"src": "4431:117:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4605:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4615:68:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4664:1:18", | |
"type": "", | |
"value": "8" | |
}, | |
{ | |
"name": "bytes", | |
"nodeType": "YulIdentifier", | |
"src": "4667:5:18" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "4660:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4660:13:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4679:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "4675:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4675:6:18" | |
} | |
], | |
"functionName": { | |
"name": "shift_right_unsigned_dynamic", | |
"nodeType": "YulIdentifier", | |
"src": "4631:28:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4631:51:18" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "4627:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4627:56:18" | |
}, | |
"variables": [ | |
{ | |
"name": "mask", | |
"nodeType": "YulTypedName", | |
"src": "4619:4:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4692:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "4706:4:18" | |
}, | |
{ | |
"name": "mask", | |
"nodeType": "YulIdentifier", | |
"src": "4712:4:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "4702:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4702:15:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "4692:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "mask_bytes_dynamic", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "4582:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "bytes", | |
"nodeType": "YulTypedName", | |
"src": "4588:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "4598:6:18", | |
"type": "" | |
} | |
], | |
"src": "4554:169:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4809:214:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4942:37:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "4969:4:18" | |
}, | |
{ | |
"name": "len", | |
"nodeType": "YulIdentifier", | |
"src": "4975:3:18" | |
} | |
], | |
"functionName": { | |
"name": "mask_bytes_dynamic", | |
"nodeType": "YulIdentifier", | |
"src": "4950:18:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4950:29:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "4942:4:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4988:29:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "4999:4:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5009:1:18", | |
"type": "", | |
"value": "2" | |
}, | |
{ | |
"name": "len", | |
"nodeType": "YulIdentifier", | |
"src": "5012:3:18" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "5005:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5005:11:18" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "4996:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4996:21:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "used", | |
"nodeType": "YulIdentifier", | |
"src": "4988:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "extract_used_part_and_set_length_of_short_byte_array", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "4790:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "len", | |
"nodeType": "YulTypedName", | |
"src": "4796:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "used", | |
"nodeType": "YulTypedName", | |
"src": "4804:4:18", | |
"type": "" | |
} | |
], | |
"src": "4728:295:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5120:1303:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5131:51:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "5178:3:18" | |
} | |
], | |
"functionName": { | |
"name": "array_length_t_string_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "5145:32:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5145:37:18" | |
}, | |
"variables": [ | |
{ | |
"name": "newLen", | |
"nodeType": "YulTypedName", | |
"src": "5135:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5267:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "5269:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5269:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5269:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "5239:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5247:18:18", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "5236:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5236:30:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "5233:56:18" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5299:52:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulIdentifier", | |
"src": "5345:4:18" | |
} | |
], | |
"functionName": { | |
"name": "sload", | |
"nodeType": "YulIdentifier", | |
"src": "5339:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5339:11:18" | |
} | |
], | |
"functionName": { | |
"name": "extract_byte_array_length", | |
"nodeType": "YulIdentifier", | |
"src": "5313:25:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5313:38:18" | |
}, | |
"variables": [ | |
{ | |
"name": "oldLen", | |
"nodeType": "YulTypedName", | |
"src": "5303:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulIdentifier", | |
"src": "5444:4:18" | |
}, | |
{ | |
"name": "oldLen", | |
"nodeType": "YulIdentifier", | |
"src": "5450:6:18" | |
}, | |
{ | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "5458:6:18" | |
} | |
], | |
"functionName": { | |
"name": "clean_up_bytearray_end_slots_t_string_storage", | |
"nodeType": "YulIdentifier", | |
"src": "5398:45:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5398:67:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5398:67:18" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5475:18:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5492:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "srcOffset", | |
"nodeType": "YulTypedName", | |
"src": "5479:9:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5503:17:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5516:4:18", | |
"type": "", | |
"value": "0x20" | |
}, | |
"variableNames": [ | |
{ | |
"name": "srcOffset", | |
"nodeType": "YulIdentifier", | |
"src": "5503:9:18" | |
} | |
] | |
}, | |
{ | |
"cases": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5567:611:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5581:37:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "5600:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5612:4:18", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "5608:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5608:9:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "5596:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5596:22:18" | |
}, | |
"variables": [ | |
{ | |
"name": "loopEnd", | |
"nodeType": "YulTypedName", | |
"src": "5585:7:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5632:51:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulIdentifier", | |
"src": "5678:4:18" | |
} | |
], | |
"functionName": { | |
"name": "array_dataslot_t_string_storage", | |
"nodeType": "YulIdentifier", | |
"src": "5646:31:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5646:37:18" | |
}, | |
"variables": [ | |
{ | |
"name": "dstPtr", | |
"nodeType": "YulTypedName", | |
"src": "5636:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5696:10:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5705:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "5700:1:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5764:163:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "dstPtr", | |
"nodeType": "YulIdentifier", | |
"src": "5789:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "5807:3:18" | |
}, | |
{ | |
"name": "srcOffset", | |
"nodeType": "YulIdentifier", | |
"src": "5812:9:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5803:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5803:19:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "5797:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5797:26:18" | |
} | |
], | |
"functionName": { | |
"name": "sstore", | |
"nodeType": "YulIdentifier", | |
"src": "5782:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5782:42:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5782:42:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5841:24:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "dstPtr", | |
"nodeType": "YulIdentifier", | |
"src": "5855:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5863:1:18", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5851:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5851:14:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "dstPtr", | |
"nodeType": "YulIdentifier", | |
"src": "5841:6:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5882:31:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "srcOffset", | |
"nodeType": "YulIdentifier", | |
"src": "5899:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5910:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5895:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5895:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "srcOffset", | |
"nodeType": "YulIdentifier", | |
"src": "5882:9:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "5730:1:18" | |
}, | |
{ | |
"name": "loopEnd", | |
"nodeType": "YulIdentifier", | |
"src": "5733:7:18" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "5727:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5727:14:18" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "5742:21:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5744:17:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "5753:1:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5756:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5749:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5749:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "5744:1:18" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "5723:3:18", | |
"statements": [] | |
}, | |
"src": "5719:208:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5963:156:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5981:43:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "6008:3:18" | |
}, | |
{ | |
"name": "srcOffset", | |
"nodeType": "YulIdentifier", | |
"src": "6013:9:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6004:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6004:19:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "5998:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5998:26:18" | |
}, | |
"variables": [ | |
{ | |
"name": "lastValue", | |
"nodeType": "YulTypedName", | |
"src": "5985:9:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "dstPtr", | |
"nodeType": "YulIdentifier", | |
"src": "6048:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "lastValue", | |
"nodeType": "YulIdentifier", | |
"src": "6075:9:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "6090:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6098:4:18", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "6086:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6086:17:18" | |
} | |
], | |
"functionName": { | |
"name": "mask_bytes_dynamic", | |
"nodeType": "YulIdentifier", | |
"src": "6056:18:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6056:48:18" | |
} | |
], | |
"functionName": { | |
"name": "sstore", | |
"nodeType": "YulIdentifier", | |
"src": "6041:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6041:64:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6041:64:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "loopEnd", | |
"nodeType": "YulIdentifier", | |
"src": "5946:7:18" | |
}, | |
{ | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "5955:6:18" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "5943:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5943:19:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "5940:179:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulIdentifier", | |
"src": "6139:4:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "6153:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6161:1:18", | |
"type": "", | |
"value": "2" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "6149:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6149:14:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6165:1:18", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6145:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6145:22:18" | |
} | |
], | |
"functionName": { | |
"name": "sstore", | |
"nodeType": "YulIdentifier", | |
"src": "6132:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6132:36:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6132:36:18" | |
} | |
] | |
}, | |
"nodeType": "YulCase", | |
"src": "5560:618:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5565:1:18", | |
"type": "", | |
"value": "1" | |
} | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6195:222:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "6209:14:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6222:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "6213:5:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6246:67:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6264:35:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "6283:3:18" | |
}, | |
{ | |
"name": "srcOffset", | |
"nodeType": "YulIdentifier", | |
"src": "6288:9:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6279:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6279:19:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "6273:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6273:26:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "6264:5:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "6239:6:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "6236:77:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulIdentifier", | |
"src": "6333:4:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "6392:5:18" | |
}, | |
{ | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "6399:6:18" | |
} | |
], | |
"functionName": { | |
"name": "extract_used_part_and_set_length_of_short_byte_array", | |
"nodeType": "YulIdentifier", | |
"src": "6339:52:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6339:67:18" | |
} | |
], | |
"functionName": { | |
"name": "sstore", | |
"nodeType": "YulIdentifier", | |
"src": "6326:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6326:81:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6326:81:18" | |
} | |
] | |
}, | |
"nodeType": "YulCase", | |
"src": "6187:230:18", | |
"value": "default" | |
} | |
], | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "newLen", | |
"nodeType": "YulIdentifier", | |
"src": "5540:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5548:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "5537:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5537:14:18" | |
}, | |
"nodeType": "YulSwitch", | |
"src": "5530:887:18" | |
} | |
] | |
}, | |
"name": "copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "slot", | |
"nodeType": "YulTypedName", | |
"src": "5109:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "5115:3:18", | |
"type": "" | |
} | |
], | |
"src": "5028:1395:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6457:152:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6474:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6477:77:18", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6467:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6467:88:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6467:88:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6571:1:18", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6574:4:18", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6564:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6564:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6564:15:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6595:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6598:4:18", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "6588:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6588:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6588:15:18" | |
} | |
] | |
}, | |
"name": "panic_error_0x11", | |
"nodeType": "YulFunctionDefinition", | |
"src": "6429:180:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6666:51:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6676:34:18", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6701:1:18", | |
"type": "", | |
"value": "1" | |
}, | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "6704:5:18" | |
} | |
], | |
"functionName": { | |
"name": "shr", | |
"nodeType": "YulIdentifier", | |
"src": "6697:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6697:13:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "newValue", | |
"nodeType": "YulIdentifier", | |
"src": "6676:8:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "shift_right_1_unsigned", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "6647:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "newValue", | |
"nodeType": "YulTypedName", | |
"src": "6657:8:18", | |
"type": "" | |
} | |
], | |
"src": "6615:102:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6796:775:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6806:15:18", | |
"value": { | |
"name": "_power", | |
"nodeType": "YulIdentifier", | |
"src": "6815:6:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "6806:5:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6830:14:18", | |
"value": { | |
"name": "_base", | |
"nodeType": "YulIdentifier", | |
"src": "6839:5:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "6830:4:18" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6888:677:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6976:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "6978:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6978:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6978:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "6954:4:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "max", | |
"nodeType": "YulIdentifier", | |
"src": "6964:3:18" | |
}, | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "6969:4:18" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "6960:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6960:14:18" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "6951:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6951:24:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "6948:50:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7043:419:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7423:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "7436:5:18" | |
}, | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "7443:4:18" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "7432:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7432:16:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "7423:5:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "7018:8:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7028:1:18", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "7014:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7014:16:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "7011:451:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7475:23:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "7487:4:18" | |
}, | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "7493:4:18" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "7483:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7483:15:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "7475:4:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7511:44:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "7546:8:18" | |
} | |
], | |
"functionName": { | |
"name": "shift_right_1_unsigned", | |
"nodeType": "YulIdentifier", | |
"src": "7523:22:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7523:32:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "7511:8:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "6864:8:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6874:1:18", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "6861:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6861:15:18" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "6877:2:18", | |
"statements": [] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "6857:3:18", | |
"statements": [] | |
}, | |
"src": "6853:712:18" | |
} | |
] | |
}, | |
"name": "checked_exp_helper", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "_power", | |
"nodeType": "YulTypedName", | |
"src": "6751:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "_base", | |
"nodeType": "YulTypedName", | |
"src": "6759:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "exponent", | |
"nodeType": "YulTypedName", | |
"src": "6766:8:18", | |
"type": "" | |
}, | |
{ | |
"name": "max", | |
"nodeType": "YulTypedName", | |
"src": "6776:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "power", | |
"nodeType": "YulTypedName", | |
"src": "6784:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "base", | |
"nodeType": "YulTypedName", | |
"src": "6791:4:18", | |
"type": "" | |
} | |
], | |
"src": "6723:848:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7637:1013:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7832:20:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7834:10:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7843:1:18", | |
"type": "", | |
"value": "1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "7834:5:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulLeave", | |
"src": "7845:5:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "7822:8:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "7815:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7815:16:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "7812:40:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7877:20:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7879:10:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7888:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "7879:5:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulLeave", | |
"src": "7890:5:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "7871:4:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "7864:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7864:12:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "7861:36:18" | |
}, | |
{ | |
"cases": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8007:20:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8009:10:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8018:1:18", | |
"type": "", | |
"value": "1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8009:5:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulLeave", | |
"src": "8020:5:18" | |
} | |
] | |
}, | |
"nodeType": "YulCase", | |
"src": "8000:27:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8005:1:18", | |
"type": "", | |
"value": "1" | |
} | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8051:176:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8086:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "8088:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8088:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8088:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8071:8:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8081:3:18", | |
"type": "", | |
"value": "255" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "8068:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8068:17:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "8065:43:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8121:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8134:1:18", | |
"type": "", | |
"value": "2" | |
}, | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8137:8:18" | |
} | |
], | |
"functionName": { | |
"name": "exp", | |
"nodeType": "YulIdentifier", | |
"src": "8130:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8130:16:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8121:5:18" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8177:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "8179:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8179:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8179:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8165:5:18" | |
}, | |
{ | |
"name": "max", | |
"nodeType": "YulIdentifier", | |
"src": "8172:3:18" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "8162:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8162:14:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "8159:40:18" | |
}, | |
{ | |
"nodeType": "YulLeave", | |
"src": "8212:5:18" | |
} | |
] | |
}, | |
"nodeType": "YulCase", | |
"src": "8036:191:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8041:1:18", | |
"type": "", | |
"value": "2" | |
} | |
} | |
], | |
"expression": { | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "7957:4:18" | |
}, | |
"nodeType": "YulSwitch", | |
"src": "7950:277:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8359:123:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8373:28:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8386:4:18" | |
}, | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8392:8:18" | |
} | |
], | |
"functionName": { | |
"name": "exp", | |
"nodeType": "YulIdentifier", | |
"src": "8382:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8382:19:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8373:5:18" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8432:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "8434:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8434:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8434:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8420:5:18" | |
}, | |
{ | |
"name": "max", | |
"nodeType": "YulIdentifier", | |
"src": "8427:3:18" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "8417:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8417:14:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "8414:40:18" | |
}, | |
{ | |
"nodeType": "YulLeave", | |
"src": "8467:5:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8262:4:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8268:2:18", | |
"type": "", | |
"value": "11" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "8259:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8259:12:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8276:8:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8286:2:18", | |
"type": "", | |
"value": "78" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "8273:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8273:16:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "8255:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8255:35:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8311:4:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8317:3:18", | |
"type": "", | |
"value": "307" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "8308:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8308:13:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8326:8:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8336:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "8323:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8323:16:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "8304:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8304:36:18" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "8239:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8239:111:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "8236:246:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8492:57:18", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8526:1:18", | |
"type": "", | |
"value": "1" | |
}, | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8529:4:18" | |
}, | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8535:8:18" | |
}, | |
{ | |
"name": "max", | |
"nodeType": "YulIdentifier", | |
"src": "8545:3:18" | |
} | |
], | |
"functionName": { | |
"name": "checked_exp_helper", | |
"nodeType": "YulIdentifier", | |
"src": "8507:18:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8507:42:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8492:5:18" | |
}, | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8499:4:18" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8588:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "8590:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8590:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8590:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8565:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "max", | |
"nodeType": "YulIdentifier", | |
"src": "8576:3:18" | |
}, | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8581:4:18" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "8572:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8572:14:18" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "8562:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8562:25:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "8559:51:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8619:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8632:5:18" | |
}, | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8639:4:18" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "8628:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8628:16:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8619:5:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_exp_unsigned", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "base", | |
"nodeType": "YulTypedName", | |
"src": "7607:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "exponent", | |
"nodeType": "YulTypedName", | |
"src": "7613:8:18", | |
"type": "" | |
}, | |
{ | |
"name": "max", | |
"nodeType": "YulTypedName", | |
"src": "7623:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "power", | |
"nodeType": "YulTypedName", | |
"src": "7631:5:18", | |
"type": "" | |
} | |
], | |
"src": "7577:1073:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8699:43:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8709:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "8724:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8731:4:18", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "8720:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8720:16:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "8709:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "8681:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "8691:7:18", | |
"type": "" | |
} | |
], | |
"src": "8656:86:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8812:217:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8822:31:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8848:4:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "8830:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8830:23:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8822:4:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8862:37:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8890:8:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "8874:15:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8874:25:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8862:8:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8909:113:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "base", | |
"nodeType": "YulIdentifier", | |
"src": "8939:4:18" | |
}, | |
{ | |
"name": "exponent", | |
"nodeType": "YulIdentifier", | |
"src": "8945:8:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8955:66:18", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "checked_exp_unsigned", | |
"nodeType": "YulIdentifier", | |
"src": "8918:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8918:104:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "power", | |
"nodeType": "YulIdentifier", | |
"src": "8909:5:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_exp_t_uint256_t_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "base", | |
"nodeType": "YulTypedName", | |
"src": "8787:4:18", | |
"type": "" | |
}, | |
{ | |
"name": "exponent", | |
"nodeType": "YulTypedName", | |
"src": "8793:8:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "power", | |
"nodeType": "YulTypedName", | |
"src": "8806:5:18", | |
"type": "" | |
} | |
], | |
"src": "8748:281:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9083:362:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9093:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "9116:1:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "9098:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9098:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "9093:1:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9127:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "9150:1:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "9132:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9132:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "9127:1:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "9161:28:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "9184:1:18" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "9187:1:18" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "9180:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9180:9:18" | |
}, | |
"variables": [ | |
{ | |
"name": "product_raw", | |
"nodeType": "YulTypedName", | |
"src": "9165:11:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9198:41:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "product_raw", | |
"nodeType": "YulIdentifier", | |
"src": "9227:11:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "9209:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9209:30:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "product", | |
"nodeType": "YulIdentifier", | |
"src": "9198:7:18" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9416:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "9418:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9418:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9418:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "9349:1:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "9342:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9342:9:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "9372:1:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "product", | |
"nodeType": "YulIdentifier", | |
"src": "9379:7:18" | |
}, | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "9388:1:18" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "9375:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9375:15:18" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "9369:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9369:22:18" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "9322:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9322:83:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "9302:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9302:113:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "9299:139:18" | |
} | |
] | |
}, | |
"name": "checked_mul_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "9066:1:18", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "9069:1:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "product", | |
"nodeType": "YulTypedName", | |
"src": "9075:7:18", | |
"type": "" | |
} | |
], | |
"src": "9035:410:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9496:32:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9506:16:18", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9517:5:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "9506:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9478:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "9488:7:18", | |
"type": "" | |
} | |
], | |
"src": "9451:77:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9599:53:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "9616:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9639:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "9621:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9621:24:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9609:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9609:37:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9609:37:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9587:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "9594:3:18", | |
"type": "" | |
} | |
], | |
"src": "9534:118:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9723:53:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "9740:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9763:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "9745:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9745:24:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9733:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9733:37:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9733:37:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9711:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "9718:3:18", | |
"type": "" | |
} | |
], | |
"src": "9658:118:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9847:53:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "9864:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9887:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "9869:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9869:24:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9857:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9857:37:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9857:37:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9835:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "9842:3:18", | |
"type": "" | |
} | |
], | |
"src": "9782:118:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10116:454:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10126:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10138:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10149:3:18", | |
"type": "", | |
"value": "160" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10134:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10134:19:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "10126:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "10207:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10220:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10231:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10216:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10216:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "10163:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10163:71:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10163:71:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "10288:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10301:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10312:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10297:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10297:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "10244:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10244:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10244:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "10370:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10383:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10394:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10379:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10379:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "10326:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10326:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10326:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "10452:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10465:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10476:2:18", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10461:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10461:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "10408:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10408:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10408:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value4", | |
"nodeType": "YulIdentifier", | |
"src": "10534:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10547:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10558:3:18", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10543:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10543:19:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "10490:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10490:73:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10490:73:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "10056:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value4", | |
"nodeType": "YulTypedName", | |
"src": "10068:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "10076:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "10084:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "10092:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "10100:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "10111:4:18", | |
"type": "" | |
} | |
], | |
"src": "9906:664:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10672:73:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "10689:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "10694:6:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "10682:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10682:19:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10682:19:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10710:29:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "10729:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10734:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10725:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10725:14:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulIdentifier", | |
"src": "10710:11:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "10644:3:18", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "10649:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulTypedName", | |
"src": "10660:11:18", | |
"type": "" | |
} | |
], | |
"src": "10576:169:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10857:75:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10879:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10887:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10875:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10875:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "10891:33:18", | |
"type": "", | |
"value": "ERC20: mint to the zero address" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "10868:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10868:57:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10868:57:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "10849:6:18", | |
"type": "" | |
} | |
], | |
"src": "10751:181:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11084:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11094:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11160:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11165:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "11101:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11101:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11094:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11266:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e", | |
"nodeType": "YulIdentifier", | |
"src": "11177:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11177:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11177:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11279:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "11290:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11295:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11286:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11286:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "11279:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "11072:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "11080:3:18", | |
"type": "" | |
} | |
], | |
"src": "10938:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11481:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11491:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11503:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11514:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11499:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11499:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "11491:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11538:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11549:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11534:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11534:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "11557:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11563:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "11553:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11553:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11527:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11527:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11527:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11583:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "11717:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "11591:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11591:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "11583:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "11461:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "11476:4:18", | |
"type": "" | |
} | |
], | |
"src": "11310:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11779:147:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11789:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "11812:1:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "11794:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11794:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "11789:1:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11823:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "11846:1:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "11828:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11828:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "11823:1:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11857:16:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "11868:1:18" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "11871:1:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11864:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11864:9:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "11857:3:18" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11897:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "11899:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11899:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11899:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "11889:1:18" | |
}, | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "11892:3:18" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "11886:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11886:10:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "11883:36:18" | |
} | |
] | |
}, | |
"name": "checked_add_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "11766:1:18", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "11769:1:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulTypedName", | |
"src": "11775:3:18", | |
"type": "" | |
} | |
], | |
"src": "11735:191:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12030:124:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12040:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12052:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12063:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12048:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12048:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "12040:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "12120:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "12133:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12144:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12129:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12129:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "12076:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12076:71:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12076:71:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "12002:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "12014:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "12025:4:18", | |
"type": "" | |
} | |
], | |
"src": "11932:222:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12222:184:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "12232:10:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12241:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "12236:1:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12301:63:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "12326:3:18" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "12331:1:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12322:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12322:11:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "12345:3:18" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "12350:1:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12341:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12341:11:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "12335:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12335:18:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12315:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12315:39:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12315:39:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "12262:1:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "12265:6:18" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "12259:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12259:13:18" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "12273:19:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12275:15:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "12284:1:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12287:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12280:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12280:10:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "12275:1:18" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "12255:3:18", | |
"statements": [] | |
}, | |
"src": "12251:113:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "12384:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "12389:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12380:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12380:16:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12398:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12373:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12373:27:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12373:27:18" | |
} | |
] | |
}, | |
"name": "copy_memory_to_memory_with_cleanup", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "12204:3:18", | |
"type": "" | |
}, | |
{ | |
"name": "dst", | |
"nodeType": "YulTypedName", | |
"src": "12209:3:18", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "12214:6:18", | |
"type": "" | |
} | |
], | |
"src": "12160:246:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12460:54:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12470:38:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "12488:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12495:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12484:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12484:14:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12504:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "12500:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12500:7:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "12480:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12480:28:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "12470:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "12443:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "12453:6:18", | |
"type": "" | |
} | |
], | |
"src": "12412:102:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12612:285:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "12622:53:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "12669:5:18" | |
} | |
], | |
"functionName": { | |
"name": "array_length_t_string_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "12636:32:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12636:39:18" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "12626:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12684:78:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "12750:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "12755:6:18" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "12691:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12691:71:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "12684:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "12810:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12817:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12806:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12806:16:18" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "12824:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "12829:6:18" | |
} | |
], | |
"functionName": { | |
"name": "copy_memory_to_memory_with_cleanup", | |
"nodeType": "YulIdentifier", | |
"src": "12771:34:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12771:65:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12771:65:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12845:46:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "12856:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "12883:6:18" | |
} | |
], | |
"functionName": { | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulIdentifier", | |
"src": "12861:21:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12861:29:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12852:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12852:39:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "12845:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "12593:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "12600:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "12608:3:18", | |
"type": "" | |
} | |
], | |
"src": "12520:377:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13021:195:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13031:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13043:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13054:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13039:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13039:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "13031:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13078:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13089:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13074:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13074:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "13097:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13103:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "13093:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13093:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "13067:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13067:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "13067:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13123:86:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "13195:6:18" | |
}, | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "13204:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "13131:63:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13131:78:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "13123:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "12993:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "13005:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "13016:4:18", | |
"type": "" | |
} | |
], | |
"src": "12903:313:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13280:40:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13291:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "13307:5:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "13301:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13301:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "13291:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_length_t_bytes_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "13263:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "13273:6:18", | |
"type": "" | |
} | |
], | |
"src": "13222:98:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13382:60:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13392:11:18", | |
"value": { | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "13400:3:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "13392:4:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13413:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "13425:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13430:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13421:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13421:14:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "13413:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_dataslot_t_bytes_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulTypedName", | |
"src": "13369:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "13377:4:18", | |
"type": "" | |
} | |
], | |
"src": "13326:116:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13503:99:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "13514:42:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "13551:3:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "13545:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13545:10:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "13527:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13527:29:18" | |
}, | |
"variables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "13518:5:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13566:29:18", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "13590:5:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "returnValue", | |
"nodeType": "YulIdentifier", | |
"src": "13566:11:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "read_from_memoryt_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulTypedName", | |
"src": "13483:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "returnValue", | |
"nodeType": "YulTypedName", | |
"src": "13491:11:18", | |
"type": "" | |
} | |
], | |
"src": "13448:154:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13698:504:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "13709:52:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "13755:5:18" | |
} | |
], | |
"functionName": { | |
"name": "array_length_t_bytes_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "13723:31:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13723:38:18" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "13713:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "13770:21:18", | |
"value": { | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "13786:5:18" | |
}, | |
"variables": [ | |
{ | |
"name": "dataArea", | |
"nodeType": "YulTypedName", | |
"src": "13774:8:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13801:52:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "13847:5:18" | |
} | |
], | |
"functionName": { | |
"name": "array_dataslot_t_bytes_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "13813:33:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13813:40:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "dataArea", | |
"nodeType": "YulIdentifier", | |
"src": "13801:8:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13863:44:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "dataArea", | |
"nodeType": "YulIdentifier", | |
"src": "13898:8:18" | |
} | |
], | |
"functionName": { | |
"name": "read_from_memoryt_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "13872:25:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13872:35:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "13863:5:18" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13935:260:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13949:236:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "13979:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14046:1:18", | |
"type": "", | |
"value": "8" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14053:2:18", | |
"type": "", | |
"value": "32" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "14057:6:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "14049:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14049:15:18" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "14042:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14042:23:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14087:66:18", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "shift_left_dynamic", | |
"nodeType": "YulIdentifier", | |
"src": "14002:18:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14002:169:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "13958:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13958:227:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "13949:5:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "13923:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13931:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "13920:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13920:14:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "13917:278:18" | |
} | |
] | |
}, | |
"name": "convert_bytes_to_fixedbytes_from_t_bytes_memory_ptr_to_t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "array", | |
"nodeType": "YulTypedName", | |
"src": "13682:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "13692:5:18", | |
"type": "" | |
} | |
], | |
"src": "13608:594:18" | |
} | |
] | |
}, | |
"contents": "{\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_address_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function panic_error_0x22() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n\n function extract_byte_array_length(data) -> length {\n length := div(data, 2)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) {\n length := and(length, 0x7f)\n }\n\n if eq(outOfPlaceEncoding, lt(length, 32)) {\n panic_error_0x22()\n }\n }\n\n function array_dataslot_t_string_storage(ptr) -> data {\n data := ptr\n\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n\n }\n\n function divide_by_32_ceil(value) -> result {\n result := div(add(value, 31), 32)\n }\n\n function shift_left_dynamic(bits, value) -> newValue {\n newValue :=\n\n shl(bits, value)\n\n }\n\n function update_byte_slice_dynamic32(value, shiftBytes, toInsert) -> result {\n let shiftBits := mul(shiftBytes, 8)\n let mask := shift_left_dynamic(shiftBits, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n toInsert := shift_left_dynamic(shiftBits, toInsert)\n value := and(value, not(mask))\n result := or(value, and(toInsert, mask))\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function identity(value) -> ret {\n ret := value\n }\n\n function convert_t_uint256_to_t_uint256(value) -> converted {\n converted := cleanup_t_uint256(identity(cleanup_t_uint256(value)))\n }\n\n function prepare_store_t_uint256(value) -> ret {\n ret := value\n }\n\n function update_storage_value_t_uint256_to_t_uint256(slot, offset, value_0) {\n let convertedValue_0 := convert_t_uint256_to_t_uint256(value_0)\n sstore(slot, update_byte_slice_dynamic32(sload(slot), offset, prepare_store_t_uint256(convertedValue_0)))\n }\n\n function zero_value_for_split_t_uint256() -> ret {\n ret := 0\n }\n\n function storage_set_to_zero_t_uint256(slot, offset) {\n let zero_0 := zero_value_for_split_t_uint256()\n update_storage_value_t_uint256_to_t_uint256(slot, offset, zero_0)\n }\n\n function clear_storage_range_t_bytes1(start, end) {\n for {} lt(start, end) { start := add(start, 1) }\n {\n storage_set_to_zero_t_uint256(start, 0)\n }\n }\n\n function clean_up_bytearray_end_slots_t_string_storage(array, len, startIndex) {\n\n if gt(len, 31) {\n let dataArea := array_dataslot_t_string_storage(array)\n let deleteStart := add(dataArea, divide_by_32_ceil(startIndex))\n // If we are clearing array to be short byte array, we want to clear only data starting from array data area.\n if lt(startIndex, 32) { deleteStart := dataArea }\n clear_storage_range_t_bytes1(deleteStart, add(dataArea, divide_by_32_ceil(len)))\n }\n\n }\n\n function shift_right_unsigned_dynamic(bits, value) -> newValue {\n newValue :=\n\n shr(bits, value)\n\n }\n\n function mask_bytes_dynamic(data, bytes) -> result {\n let mask := not(shift_right_unsigned_dynamic(mul(8, bytes), not(0)))\n result := and(data, mask)\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used {\n // we want to save only elements that are part of the array after resizing\n // others should be set to zero\n data := mask_bytes_dynamic(data, len)\n used := or(data, mul(2, len))\n }\n function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src) {\n\n let newLen := array_length_t_string_memory_ptr(src)\n // Make sure array length is sane\n if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n\n let oldLen := extract_byte_array_length(sload(slot))\n\n // potentially truncate data\n clean_up_bytearray_end_slots_t_string_storage(slot, oldLen, newLen)\n\n let srcOffset := 0\n\n srcOffset := 0x20\n\n switch gt(newLen, 31)\n case 1 {\n let loopEnd := and(newLen, not(0x1f))\n\n let dstPtr := array_dataslot_t_string_storage(slot)\n let i := 0\n for { } lt(i, loopEnd) { i := add(i, 0x20) } {\n sstore(dstPtr, mload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 32)\n }\n if lt(loopEnd, newLen) {\n let lastValue := mload(add(src, srcOffset))\n sstore(dstPtr, mask_bytes_dynamic(lastValue, and(newLen, 0x1f)))\n }\n sstore(slot, add(mul(newLen, 2), 1))\n }\n default {\n let value := 0\n if newLen {\n value := mload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n }\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function shift_right_1_unsigned(value) -> newValue {\n newValue :=\n\n shr(1, value)\n\n }\n\n function checked_exp_helper(_power, _base, exponent, max) -> power, base {\n power := _power\n base := _base\n for { } gt(exponent, 1) {}\n {\n // overflow check for base * base\n if gt(base, div(max, base)) { panic_error_0x11() }\n if and(exponent, 1)\n {\n // No checks for power := mul(power, base) needed, because the check\n // for base * base above is sufficient, since:\n // |power| <= base (proof by induction) and thus:\n // |power * base| <= base * base <= max <= |min| (for signed)\n // (this is equally true for signed and unsigned exp)\n power := mul(power, base)\n }\n base := mul(base, base)\n exponent := shift_right_1_unsigned(exponent)\n }\n }\n\n function checked_exp_unsigned(base, exponent, max) -> power {\n // This function currently cannot be inlined because of the\n // \"leave\" statements. We have to improve the optimizer.\n\n // Note that 0**0 == 1\n if iszero(exponent) { power := 1 leave }\n if iszero(base) { power := 0 leave }\n\n // Specializations for small bases\n switch base\n // 0 is handled above\n case 1 { power := 1 leave }\n case 2\n {\n if gt(exponent, 255) { panic_error_0x11() }\n power := exp(2, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n if or(\n and(lt(base, 11), lt(exponent, 78)),\n and(lt(base, 307), lt(exponent, 32))\n )\n {\n power := exp(base, exponent)\n if gt(power, max) { panic_error_0x11() }\n leave\n }\n\n power, base := checked_exp_helper(1, base, exponent, max)\n\n if gt(power, div(max, base)) { panic_error_0x11() }\n power := mul(power, base)\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\n }\n\n function checked_exp_t_uint256_t_uint8(base, exponent) -> power {\n base := cleanup_t_uint256(base)\n exponent := cleanup_t_uint8(exponent)\n\n power := checked_exp_unsigned(base, exponent, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n\n }\n\n function checked_mul_t_uint256(x, y) -> product {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n let product_raw := mul(x, y)\n product := cleanup_t_uint256(product_raw)\n\n // overflow, if x != 0 and y != product/x\n if iszero(\n or(\n iszero(x),\n eq(y, div(product, x))\n )\n ) { panic_error_0x11() }\n\n }\n\n function 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_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed(headStart , value4, value3, value2, value1, value0) -> tail {\n tail := add(headStart, 160)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value2, add(headStart, 64))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value3, add(headStart, 96))\n\n abi_encode_t_address_to_t_address_fromStack(value4, add(headStart, 128))\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 store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: mint to the zero address\")\n\n }\n\n function abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n store_literal_in_memory_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n sum := add(x, y)\n\n if gt(x, sum) { panic_error_0x11() }\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function 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 array_length_t_bytes_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_dataslot_t_bytes_memory_ptr(ptr) -> data {\n data := ptr\n\n data := add(ptr, 0x20)\n\n }\n\n function read_from_memoryt_bytes32(ptr) -> returnValue {\n\n let value := cleanup_t_bytes32(mload(ptr))\n\n returnValue :=\n\n value\n\n }\n\n function convert_bytes_to_fixedbytes_from_t_bytes_memory_ptr_to_t_bytes32(array) -> value {\n\n let length := array_length_t_bytes_memory_ptr(array)\n let dataArea := array\n\n dataArea := array_dataslot_t_bytes_memory_ptr(array)\n\n value := read_from_memoryt_bytes32(dataArea)\n\n if lt(length, 32) {\n value := and(\n value,\n shift_left_dynamic(\n mul(8, sub(32, length)),\n 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\n )\n )\n }\n\n }\n\n}\n", | |
"id": 18, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"linkReferences": {}, | |
"object": "6101606040523480156200001257600080fd5b506040516200384a3803806200384a833981810160405281019062000038919062000644565b6040518060400160405280600d81526020017f5265626f726e20646f6c6c617200000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600d81526020017f5265626f726e20646f6c6c6172000000000000000000000000000000000000008152506040518060400160405280600481526020017f52454244000000000000000000000000000000000000000000000000000000008152508160039081620001229190620008f0565b508060049081620001349190620008f0565b5050506200014d6005836200026060201b90919060201c565b61012081815250506200016b6006826200026060201b90919060201c565b6101408181525050818051906020012060e08181525050808051906020012061010081815250504660a08181525050620001aa620002b860201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff168152505050505062000208620001fc6200031560201b60201c565b6200031d60201b60201c565b62000248336200021d620003e360201b60201c565b600a6200022b919062000b67565b63773594006200023c919062000bb8565b620003ec60201b60201c565b62000259816200031d60201b60201c565b5062000ebc565b600060208351101562000286576200027e836200055960201b60201c565b9050620002b2565b826200029883620005c660201b60201c565b6000019081620002a99190620008f0565b5060ff60001b90505b92915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60e051610100514630604051602001620002fa95949392919062000c40565b60405160208183030381529060405280519060200120905090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200045e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004559062000cfe565b60405180910390fd5b6200047260008383620005d060201b60201c565b806002600082825462000486919062000d20565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000539919062000d5b565b60405180910390a36200055560008383620005d560201b60201c565b5050565b600080829050601f81511115620005a957826040517f305a27a9000000000000000000000000000000000000000000000000000000008152600401620005a0919062000df6565b60405180910390fd5b805181620005b79062000e4c565b60001c1760001b915050919050565b6000819050919050565b505050565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200060c82620005df565b9050919050565b6200061e81620005ff565b81146200062a57600080fd5b50565b6000815190506200063e8162000613565b92915050565b6000602082840312156200065d576200065c620005da565b5b60006200066d848285016200062d565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006f857607f821691505b6020821081036200070e576200070d620006b0565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007787fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000739565b62000784868362000739565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007d1620007cb620007c5846200079c565b620007a6565b6200079c565b9050919050565b6000819050919050565b620007ed83620007b0565b62000805620007fc82620007d8565b84845462000746565b825550505050565b600090565b6200081c6200080d565b62000829818484620007e2565b505050565b5b8181101562000851576200084560008262000812565b6001810190506200082f565b5050565b601f821115620008a0576200086a8162000714565b620008758462000729565b8101602085101562000885578190505b6200089d620008948562000729565b8301826200082e565b50505b505050565b600082821c905092915050565b6000620008c560001984600802620008a5565b1980831691505092915050565b6000620008e08383620008b2565b9150826002028217905092915050565b620008fb8262000676565b67ffffffffffffffff81111562000917576200091662000681565b5b620009238254620006df565b6200093082828562000855565b600060209050601f83116001811462000968576000841562000953578287015190505b6200095f8582620008d2565b865550620009cf565b601f198416620009788662000714565b60005b82811015620009a2578489015182556001820191506020850194506020810190506200097b565b86831015620009c25784890151620009be601f891682620008b2565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000a655780860481111562000a3d5762000a3c620009d7565b5b600185161562000a4d5780820291505b808102905062000a5d8562000a06565b945062000a1d565b94509492505050565b60008262000a80576001905062000b53565b8162000a90576000905062000b53565b816001811462000aa9576002811462000ab45762000aea565b600191505062000b53565b60ff84111562000ac95762000ac8620009d7565b5b8360020a91508482111562000ae35762000ae2620009d7565b5b5062000b53565b5060208310610133831016604e8410600b841016171562000b245782820a90508381111562000b1e5762000b1d620009d7565b5b62000b53565b62000b33848484600162000a13565b9250905081840481111562000b4d5762000b4c620009d7565b5b81810290505b9392505050565b600060ff82169050919050565b600062000b74826200079c565b915062000b818362000b5a565b925062000bb07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000a6e565b905092915050565b600062000bc5826200079c565b915062000bd2836200079c565b925082820262000be2816200079c565b9150828204841483151762000bfc5762000bfb620009d7565b5b5092915050565b6000819050919050565b62000c188162000c03565b82525050565b62000c29816200079c565b82525050565b62000c3a81620005ff565b82525050565b600060a08201905062000c57600083018862000c0d565b62000c66602083018762000c0d565b62000c75604083018662000c0d565b62000c84606083018562000c1e565b62000c93608083018462000c2f565b9695505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000ce6601f8362000c9d565b915062000cf38262000cae565b602082019050919050565b6000602082019050818103600083015262000d198162000cd7565b9050919050565b600062000d2d826200079c565b915062000d3a836200079c565b925082820190508082111562000d555762000d54620009d7565b5b92915050565b600060208201905062000d72600083018462000c1e565b92915050565b60005b8381101562000d9857808201518184015260208101905062000d7b565b60008484015250505050565b6000601f19601f8301169050919050565b600062000dc28262000676565b62000dce818562000c9d565b935062000de081856020860162000d78565b62000deb8162000da4565b840191505092915050565b6000602082019050818103600083015262000e12818462000db5565b905092915050565b600081519050919050565b6000819050602082019050919050565b600062000e43825162000c03565b80915050919050565b600062000e598262000e1a565b8262000e658462000e25565b905062000e728162000e35565b9250602082101562000eb55762000eb07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8360200360080262000739565b831692505b5050919050565b60805160a05160c05160e05161010051610120516101405161293362000f1760003960006106670152600061063301526000611510015260006114ef01526000610f9b01526000610ff10152600061101a01526129336000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806379cc6790116100ad578063a457c2d711610071578063a457c2d71461033b578063a9059cbb1461036b578063d505accf1461039b578063dd62ed3e146103b7578063f2fde38b146103e75761012c565b806379cc67901461028f5780637ecebe00146102ab57806384b0196e146102db5780638da5cb5b146102ff57806395d89b411461031d5761012c565b80633644e515116100f45780633644e515146101eb578063395093511461020957806342966c681461023957806370a0823114610255578063715018a6146102855761012c565b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461017f57806323b872dd1461019d578063313ce567146101cd575b600080fd5b610139610403565b6040516101469190611953565b60405180910390f35b61016960048036038101906101649190611a0e565b610495565b6040516101769190611a69565b60405180910390f35b6101876104b8565b6040516101949190611a93565b60405180910390f35b6101b760048036038101906101b29190611aae565b6104c2565b6040516101c49190611a69565b60405180910390f35b6101d56104f1565b6040516101e29190611b1d565b60405180910390f35b6101f36104fa565b6040516102009190611b51565b60405180910390f35b610223600480360381019061021e9190611a0e565b610509565b6040516102309190611a69565b60405180910390f35b610253600480360381019061024e9190611b6c565b610540565b005b61026f600480360381019061026a9190611b99565b610554565b60405161027c9190611a93565b60405180910390f35b61028d61059c565b005b6102a960048036038101906102a49190611a0e565b6105b0565b005b6102c560048036038101906102c09190611b99565b6105d0565b6040516102d29190611a93565b60405180910390f35b6102e3610620565b6040516102f69796959493929190611cce565b60405180910390f35b610307610722565b6040516103149190611d52565b60405180910390f35b61032561074c565b6040516103329190611953565b60405180910390f35b61035560048036038101906103509190611a0e565b6107de565b6040516103629190611a69565b60405180910390f35b61038560048036038101906103809190611a0e565b610855565b6040516103929190611a69565b60405180910390f35b6103b560048036038101906103b09190611dc5565b610878565b005b6103d160048036038101906103cc9190611e67565b6109ba565b6040516103de9190611a93565b60405180910390f35b61040160048036038101906103fc9190611b99565b610a41565b005b60606003805461041290611ed6565b80601f016020809104026020016040519081016040528092919081815260200182805461043e90611ed6565b801561048b5780601f106104605761010080835404028352916020019161048b565b820191906000526020600020905b81548152906001019060200180831161046e57829003601f168201915b5050505050905090565b6000806104a0610ac4565b90506104ad818585610acc565b600191505092915050565b6000600254905090565b6000806104cd610ac4565b90506104da858285610c95565b6104e5858585610d21565b60019150509392505050565b60006012905090565b6000610504610f97565b905090565b600080610514610ac4565b905061053581858561052685896109ba565b6105309190611f36565b610acc565b600191505092915050565b61055161054b610ac4565b8261104e565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6105a461121b565b6105ae6000611299565b565b6105c2826105bc610ac4565b83610c95565b6105cc828261104e565b5050565b6000610619600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061135f565b9050919050565b60006060806000806000606061066060057f000000000000000000000000000000000000000000000000000000000000000061136d90919063ffffffff16565b61069460067f000000000000000000000000000000000000000000000000000000000000000061136d90919063ffffffff16565b46306000801b600067ffffffffffffffff8111156106b5576106b4611f6a565b5b6040519080825280602002602001820160405280156106e35781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461075b90611ed6565b80601f016020809104026020016040519081016040528092919081815260200182805461078790611ed6565b80156107d45780601f106107a9576101008083540402835291602001916107d4565b820191906000526020600020905b8154815290600101906020018083116107b757829003601f168201915b5050505050905090565b6000806107e9610ac4565b905060006107f782866109ba565b90508381101561083c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108339061200b565b60405180910390fd5b6108498286868403610acc565b60019250505092915050565b600080610860610ac4565b905061086d818585610d21565b600191505092915050565b834211156108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b290612077565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886108ea8c61141d565b8960405160200161090096959493929190612097565b60405160208183030381529060405280519060200120905060006109238261147b565b9050600061093382878787611495565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099a90612144565b60405180910390fd5b6109ae8a8a8a610acc565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a4961121b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaf906121d6565b60405180910390fd5b610ac181611299565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290612268565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba1906122fa565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610c889190611a93565b60405180910390a3505050565b6000610ca184846109ba565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610d1b5781811015610d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0490612366565b60405180910390fd5b610d1a8484848403610acc565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d87906123f8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df69061248a565b60405180910390fd5b610e0a8383836114c0565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e879061251c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f7e9190611a93565b60405180910390a3610f918484846114c5565b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561101357507f000000000000000000000000000000000000000000000000000000000000000046145b15611040577f0000000000000000000000000000000000000000000000000000000000000000905061104b565b6110486114ca565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b4906125ae565b60405180910390fd5b6110c9826000836114c0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690612640565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112029190611a93565b60405180910390a3611216836000846114c5565b505050565b611223610ac4565b73ffffffffffffffffffffffffffffffffffffffff16611241610722565b73ffffffffffffffffffffffffffffffffffffffff1614611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128e906126ac565b60405180910390fd5b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b606060ff60001b831461138a5761138383611560565b9050611417565b81805461139690611ed6565b80601f01602080910402602001604051908101604052809291908181526020018280546113c290611ed6565b801561140f5780601f106113e45761010080835404028352916020019161140f565b820191906000526020600020905b8154815290600101906020018083116113f257829003601f168201915b505050505090505b92915050565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061146a8161135f565b9150611475816115d4565b50919050565b600061148e611488610f97565b836115ea565b9050919050565b60008060006114a68787878761162b565b915091506114b38161170d565b8192505050949350505050565b505050565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000046306040516020016115459594939291906126cc565b60405160208183030381529060405280519060200120905090565b6060600061156d83611873565b90506000602067ffffffffffffffff81111561158c5761158b611f6a565b5b6040519080825280601f01601f1916602001820160405280156115be5781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b6001816000016000828254019250508190555050565b60006040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611666576000600391509150611704565b60006001878787876040516000815260200160405260405161168b949392919061271f565b6020604051602081039080840390855afa1580156116ad573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116fb57600060019250925050611704565b80600092509250505b94509492505050565b6000600481111561172157611720612764565b5b81600481111561173457611733612764565b5b0315611870576001600481111561174e5761174d612764565b5b81600481111561176157611760612764565b5b036117a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611798906127df565b60405180910390fd5b600260048111156117b5576117b4612764565b5b8160048111156117c8576117c7612764565b5b03611808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ff9061284b565b60405180910390fd5b6003600481111561181c5761181b612764565b5b81600481111561182f5761182e612764565b5b0361186f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611866906128dd565b60405180910390fd5b5b50565b60008060ff8360001c169050601f8111156118ba576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118fd5780820151818401526020810190506118e2565b60008484015250505050565b6000601f19601f8301169050919050565b6000611925826118c3565b61192f81856118ce565b935061193f8185602086016118df565b61194881611909565b840191505092915050565b6000602082019050818103600083015261196d818461191a565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006119a58261197a565b9050919050565b6119b58161199a565b81146119c057600080fd5b50565b6000813590506119d2816119ac565b92915050565b6000819050919050565b6119eb816119d8565b81146119f657600080fd5b50565b600081359050611a08816119e2565b92915050565b60008060408385031215611a2557611a24611975565b5b6000611a33858286016119c3565b9250506020611a44858286016119f9565b9150509250929050565b60008115159050919050565b611a6381611a4e565b82525050565b6000602082019050611a7e6000830184611a5a565b92915050565b611a8d816119d8565b82525050565b6000602082019050611aa86000830184611a84565b92915050565b600080600060608486031215611ac757611ac6611975565b5b6000611ad5868287016119c3565b9350506020611ae6868287016119c3565b9250506040611af7868287016119f9565b9150509250925092565b600060ff82169050919050565b611b1781611b01565b82525050565b6000602082019050611b326000830184611b0e565b92915050565b6000819050919050565b611b4b81611b38565b82525050565b6000602082019050611b666000830184611b42565b92915050565b600060208284031215611b8257611b81611975565b5b6000611b90848285016119f9565b91505092915050565b600060208284031215611baf57611bae611975565b5b6000611bbd848285016119c3565b91505092915050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b611bfb81611bc6565b82525050565b611c0a8161199a565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611c45816119d8565b82525050565b6000611c578383611c3c565b60208301905092915050565b6000602082019050919050565b6000611c7b82611c10565b611c858185611c1b565b9350611c9083611c2c565b8060005b83811015611cc1578151611ca88882611c4b565b9750611cb383611c63565b925050600181019050611c94565b5085935050505092915050565b600060e082019050611ce3600083018a611bf2565b8181036020830152611cf5818961191a565b90508181036040830152611d09818861191a565b9050611d186060830187611a84565b611d256080830186611c01565b611d3260a0830185611b42565b81810360c0830152611d448184611c70565b905098975050505050505050565b6000602082019050611d676000830184611c01565b92915050565b611d7681611b01565b8114611d8157600080fd5b50565b600081359050611d9381611d6d565b92915050565b611da281611b38565b8114611dad57600080fd5b50565b600081359050611dbf81611d99565b92915050565b600080600080600080600060e0888a031215611de457611de3611975565b5b6000611df28a828b016119c3565b9750506020611e038a828b016119c3565b9650506040611e148a828b016119f9565b9550506060611e258a828b016119f9565b9450506080611e368a828b01611d84565b93505060a0611e478a828b01611db0565b92505060c0611e588a828b01611db0565b91505092959891949750929550565b60008060408385031215611e7e57611e7d611975565b5b6000611e8c858286016119c3565b9250506020611e9d858286016119c3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611eee57607f821691505b602082108103611f0157611f00611ea7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611f41826119d8565b9150611f4c836119d8565b9250828201905080821115611f6457611f63611f07565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611ff56025836118ce565b915061200082611f99565b604082019050919050565b6000602082019050818103600083015261202481611fe8565b9050919050565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b6000612061601d836118ce565b915061206c8261202b565b602082019050919050565b6000602082019050818103600083015261209081612054565b9050919050565b600060c0820190506120ac6000830189611b42565b6120b96020830188611c01565b6120c66040830187611c01565b6120d36060830186611a84565b6120e06080830185611a84565b6120ed60a0830184611a84565b979650505050505050565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b600061212e601e836118ce565b9150612139826120f8565b602082019050919050565b6000602082019050818103600083015261215d81612121565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006121c06026836118ce565b91506121cb82612164565b604082019050919050565b600060208201905081810360008301526121ef816121b3565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006122526024836118ce565b915061225d826121f6565b604082019050919050565b6000602082019050818103600083015261228181612245565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006122e46022836118ce565b91506122ef82612288565b604082019050919050565b60006020820190508181036000830152612313816122d7565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612350601d836118ce565b915061235b8261231a565b602082019050919050565b6000602082019050818103600083015261237f81612343565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006123e26025836118ce565b91506123ed82612386565b604082019050919050565b60006020820190508181036000830152612411816123d5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006124746023836118ce565b915061247f82612418565b604082019050919050565b600060208201905081810360008301526124a381612467565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006125066026836118ce565b9150612511826124aa565b604082019050919050565b60006020820190508181036000830152612535816124f9565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006125986021836118ce565b91506125a38261253c565b604082019050919050565b600060208201905081810360008301526125c78161258b565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061262a6022836118ce565b9150612635826125ce565b604082019050919050565b600060208201905081810360008301526126598161261d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126966020836118ce565b91506126a182612660565b602082019050919050565b600060208201905081810360008301526126c581612689565b9050919050565b600060a0820190506126e16000830188611b42565b6126ee6020830187611b42565b6126fb6040830186611b42565b6127086060830185611a84565b6127156080830184611c01565b9695505050505050565b60006080820190506127346000830187611b42565b6127416020830186611b0e565b61274e6040830185611b42565b61275b6060830184611b42565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006127c96018836118ce565b91506127d482612793565b602082019050919050565b600060208201905081810360008301526127f8816127bc565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000612835601f836118ce565b9150612840826127ff565b602082019050919050565b6000602082019050818103600083015261286481612828565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006128c76022836118ce565b91506128d28261286b565b604082019050919050565b600060208201905081810360008301526128f6816128ba565b905091905056fea26469706673582212209f9e1c7a0036bc9b04482837fa8550fcae670d82c5ce6f4aa27ae78412de31d864736f6c63430008130033", | |
"opcodes": "PUSH2 0x160 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x384A CODESIZE SUB DUP1 PUSH3 0x384A DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH3 0x38 SWAP2 SWAP1 PUSH3 0x644 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5265626F726E20646F6C6C617200000000000000000000000000000000000000 DUP2 MSTORE POP DUP1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x3100000000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5265626F726E20646F6C6C617200000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x4 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5245424400000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x3 SWAP1 DUP2 PUSH3 0x122 SWAP2 SWAP1 PUSH3 0x8F0 JUMP JUMPDEST POP DUP1 PUSH1 0x4 SWAP1 DUP2 PUSH3 0x134 SWAP2 SWAP1 PUSH3 0x8F0 JUMP JUMPDEST POP POP POP PUSH3 0x14D PUSH1 0x5 DUP4 PUSH3 0x260 PUSH1 0x20 SHL SWAP1 SWAP2 SWAP1 PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x120 DUP2 DUP2 MSTORE POP POP PUSH3 0x16B PUSH1 0x6 DUP3 PUSH3 0x260 PUSH1 0x20 SHL SWAP1 SWAP2 SWAP1 PUSH1 0x20 SHR JUMP JUMPDEST PUSH2 0x140 DUP2 DUP2 MSTORE POP POP DUP2 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0xE0 DUP2 DUP2 MSTORE POP POP DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH2 0x100 DUP2 DUP2 MSTORE POP POP CHAINID PUSH1 0xA0 DUP2 DUP2 MSTORE POP POP PUSH3 0x1AA PUSH3 0x2B8 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x80 DUP2 DUP2 MSTORE POP POP ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0xC0 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP POP POP POP PUSH3 0x208 PUSH3 0x1FC PUSH3 0x315 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x31D PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x248 CALLER PUSH3 0x21D PUSH3 0x3E3 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0xA PUSH3 0x22B SWAP2 SWAP1 PUSH3 0xB67 JUMP JUMPDEST PUSH4 0x77359400 PUSH3 0x23C SWAP2 SWAP1 PUSH3 0xBB8 JUMP JUMPDEST PUSH3 0x3EC PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH3 0x259 DUP2 PUSH3 0x31D PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP PUSH3 0xEBC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP4 MLOAD LT ISZERO PUSH3 0x286 JUMPI PUSH3 0x27E DUP4 PUSH3 0x559 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST SWAP1 POP PUSH3 0x2B2 JUMP JUMPDEST DUP3 PUSH3 0x298 DUP4 PUSH3 0x5C6 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST PUSH1 0x0 ADD SWAP1 DUP2 PUSH3 0x2A9 SWAP2 SWAP1 PUSH3 0x8F0 JUMP JUMPDEST POP PUSH1 0xFF PUSH1 0x0 SHL SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F PUSH1 0xE0 MLOAD PUSH2 0x100 MLOAD CHAINID ADDRESS PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH3 0x2FA SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH3 0xC40 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x9 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x9 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH3 0x45E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x455 SWAP1 PUSH3 0xCFE JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH3 0x472 PUSH1 0x0 DUP4 DUP4 PUSH3 0x5D0 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST DUP1 PUSH1 0x2 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH3 0x486 SWAP2 SWAP1 PUSH3 0xD20 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x0 DUP1 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP4 PUSH1 0x40 MLOAD PUSH3 0x539 SWAP2 SWAP1 PUSH3 0xD5B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH3 0x555 PUSH1 0x0 DUP4 DUP4 PUSH3 0x5D5 PUSH1 0x20 SHL PUSH1 0x20 SHR JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP1 POP PUSH1 0x1F DUP2 MLOAD GT ISZERO PUSH3 0x5A9 JUMPI DUP3 PUSH1 0x40 MLOAD PUSH32 0x305A27A900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH3 0x5A0 SWAP2 SWAP1 PUSH3 0xDF6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 MLOAD DUP2 PUSH3 0x5B7 SWAP1 PUSH3 0xE4C JUMP JUMPDEST PUSH1 0x0 SHR OR PUSH1 0x0 SHL SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x60C DUP3 PUSH3 0x5DF JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x61E DUP2 PUSH3 0x5FF JUMP JUMPDEST DUP2 EQ PUSH3 0x62A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH3 0x63E DUP2 PUSH3 0x613 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x65D JUMPI PUSH3 0x65C PUSH3 0x5DA JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH3 0x66D DUP5 DUP3 DUP6 ADD PUSH3 0x62D JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 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 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH3 0x6F8 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH3 0x70E JUMPI PUSH3 0x70D PUSH3 0x6B0 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP DUP2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 PUSH1 0x1F DUP4 ADD DIV SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHL SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x8 DUP4 MUL PUSH3 0x778 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 PUSH3 0x739 JUMP JUMPDEST PUSH3 0x784 DUP7 DUP4 PUSH3 0x739 JUMP JUMPDEST SWAP6 POP DUP1 NOT DUP5 AND SWAP4 POP DUP1 DUP7 AND DUP5 OR SWAP3 POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x7D1 PUSH3 0x7CB PUSH3 0x7C5 DUP5 PUSH3 0x79C JUMP JUMPDEST PUSH3 0x7A6 JUMP JUMPDEST PUSH3 0x79C JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x7ED DUP4 PUSH3 0x7B0 JUMP JUMPDEST PUSH3 0x805 PUSH3 0x7FC DUP3 PUSH3 0x7D8 JUMP JUMPDEST DUP5 DUP5 SLOAD PUSH3 0x746 JUMP JUMPDEST DUP3 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH3 0x81C PUSH3 0x80D JUMP JUMPDEST PUSH3 0x829 DUP2 DUP5 DUP5 PUSH3 0x7E2 JUMP JUMPDEST POP POP POP JUMP JUMPDEST JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x851 JUMPI PUSH3 0x845 PUSH1 0x0 DUP3 PUSH3 0x812 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH3 0x82F JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH3 0x8A0 JUMPI PUSH3 0x86A DUP2 PUSH3 0x714 JUMP JUMPDEST PUSH3 0x875 DUP5 PUSH3 0x729 JUMP JUMPDEST DUP2 ADD PUSH1 0x20 DUP6 LT ISZERO PUSH3 0x885 JUMPI DUP2 SWAP1 POP JUMPDEST PUSH3 0x89D PUSH3 0x894 DUP6 PUSH3 0x729 JUMP JUMPDEST DUP4 ADD DUP3 PUSH3 0x82E JUMP JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 SHR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x8C5 PUSH1 0x0 NOT DUP5 PUSH1 0x8 MUL PUSH3 0x8A5 JUMP JUMPDEST NOT DUP1 DUP4 AND SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x8E0 DUP4 DUP4 PUSH3 0x8B2 JUMP JUMPDEST SWAP2 POP DUP3 PUSH1 0x2 MUL DUP3 OR SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH3 0x8FB DUP3 PUSH3 0x676 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x917 JUMPI PUSH3 0x916 PUSH3 0x681 JUMP JUMPDEST JUMPDEST PUSH3 0x923 DUP3 SLOAD PUSH3 0x6DF JUMP JUMPDEST PUSH3 0x930 DUP3 DUP3 DUP6 PUSH3 0x855 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 SWAP1 POP PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH3 0x968 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH3 0x953 JUMPI DUP3 DUP8 ADD MLOAD SWAP1 POP JUMPDEST PUSH3 0x95F DUP6 DUP3 PUSH3 0x8D2 JUMP JUMPDEST DUP7 SSTORE POP PUSH3 0x9CF JUMP JUMPDEST PUSH1 0x1F NOT DUP5 AND PUSH3 0x978 DUP7 PUSH3 0x714 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH3 0x9A2 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 PUSH3 0x97B JUMP JUMPDEST DUP7 DUP4 LT ISZERO PUSH3 0x9C2 JUMPI DUP5 DUP10 ADD MLOAD PUSH3 0x9BE PUSH1 0x1F DUP10 AND DUP3 PUSH3 0x8B2 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 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x1 SHR SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 SWAP2 POP DUP4 SWAP1 POP JUMPDEST PUSH1 0x1 DUP6 GT ISZERO PUSH3 0xA65 JUMPI DUP1 DUP7 DIV DUP2 GT ISZERO PUSH3 0xA3D JUMPI PUSH3 0xA3C PUSH3 0x9D7 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP6 AND ISZERO PUSH3 0xA4D JUMPI DUP1 DUP3 MUL SWAP2 POP JUMPDEST DUP1 DUP2 MUL SWAP1 POP PUSH3 0xA5D DUP6 PUSH3 0xA06 JUMP JUMPDEST SWAP5 POP PUSH3 0xA1D JUMP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH3 0xA80 JUMPI PUSH1 0x1 SWAP1 POP PUSH3 0xB53 JUMP JUMPDEST DUP2 PUSH3 0xA90 JUMPI PUSH1 0x0 SWAP1 POP PUSH3 0xB53 JUMP JUMPDEST DUP2 PUSH1 0x1 DUP2 EQ PUSH3 0xAA9 JUMPI PUSH1 0x2 DUP2 EQ PUSH3 0xAB4 JUMPI PUSH3 0xAEA JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP PUSH3 0xB53 JUMP JUMPDEST PUSH1 0xFF DUP5 GT ISZERO PUSH3 0xAC9 JUMPI PUSH3 0xAC8 PUSH3 0x9D7 JUMP JUMPDEST JUMPDEST DUP4 PUSH1 0x2 EXP SWAP2 POP DUP5 DUP3 GT ISZERO PUSH3 0xAE3 JUMPI PUSH3 0xAE2 PUSH3 0x9D7 JUMP JUMPDEST JUMPDEST POP PUSH3 0xB53 JUMP JUMPDEST POP PUSH1 0x20 DUP4 LT PUSH2 0x133 DUP4 LT AND PUSH1 0x4E DUP5 LT PUSH1 0xB DUP5 LT AND OR ISZERO PUSH3 0xB24 JUMPI DUP3 DUP3 EXP SWAP1 POP DUP4 DUP2 GT ISZERO PUSH3 0xB1E JUMPI PUSH3 0xB1D PUSH3 0x9D7 JUMP JUMPDEST JUMPDEST PUSH3 0xB53 JUMP JUMPDEST PUSH3 0xB33 DUP5 DUP5 DUP5 PUSH1 0x1 PUSH3 0xA13 JUMP JUMPDEST SWAP3 POP SWAP1 POP DUP2 DUP5 DIV DUP2 GT ISZERO PUSH3 0xB4D JUMPI PUSH3 0xB4C PUSH3 0x9D7 JUMP JUMPDEST JUMPDEST DUP2 DUP2 MUL SWAP1 POP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xB74 DUP3 PUSH3 0x79C JUMP JUMPDEST SWAP2 POP PUSH3 0xB81 DUP4 PUSH3 0xB5A JUMP JUMPDEST SWAP3 POP PUSH3 0xBB0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 DUP5 PUSH3 0xA6E JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xBC5 DUP3 PUSH3 0x79C JUMP JUMPDEST SWAP2 POP PUSH3 0xBD2 DUP4 PUSH3 0x79C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 MUL PUSH3 0xBE2 DUP2 PUSH3 0x79C JUMP JUMPDEST SWAP2 POP DUP3 DUP3 DIV DUP5 EQ DUP4 ISZERO OR PUSH3 0xBFC JUMPI PUSH3 0xBFB PUSH3 0x9D7 JUMP JUMPDEST JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0xC18 DUP2 PUSH3 0xC03 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH3 0xC29 DUP2 PUSH3 0x79C JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH3 0xC3A DUP2 PUSH3 0x5FF JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP3 ADD SWAP1 POP PUSH3 0xC57 PUSH1 0x0 DUP4 ADD DUP9 PUSH3 0xC0D JUMP JUMPDEST PUSH3 0xC66 PUSH1 0x20 DUP4 ADD DUP8 PUSH3 0xC0D JUMP JUMPDEST PUSH3 0xC75 PUSH1 0x40 DUP4 ADD DUP7 PUSH3 0xC0D JUMP JUMPDEST PUSH3 0xC84 PUSH1 0x60 DUP4 ADD DUP6 PUSH3 0xC1E JUMP JUMPDEST PUSH3 0xC93 PUSH1 0x80 DUP4 ADD DUP5 PUSH3 0xC2F JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x45524332303A206D696E7420746F20746865207A65726F206164647265737300 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xCE6 PUSH1 0x1F DUP4 PUSH3 0xC9D JUMP JUMPDEST SWAP2 POP PUSH3 0xCF3 DUP3 PUSH3 0xCAE JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH3 0xD19 DUP2 PUSH3 0xCD7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xD2D DUP3 PUSH3 0x79C JUMP JUMPDEST SWAP2 POP PUSH3 0xD3A DUP4 PUSH3 0x79C JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH3 0xD55 JUMPI PUSH3 0xD54 PUSH3 0x9D7 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH3 0xD72 PUSH1 0x0 DUP4 ADD DUP5 PUSH3 0xC1E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0xD98 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH3 0xD7B 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 PUSH3 0xDC2 DUP3 PUSH3 0x676 JUMP JUMPDEST PUSH3 0xDCE DUP2 DUP6 PUSH3 0xC9D JUMP JUMPDEST SWAP4 POP PUSH3 0xDE0 DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH3 0xD78 JUMP JUMPDEST PUSH3 0xDEB DUP2 PUSH3 0xDA4 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH3 0xE12 DUP2 DUP5 PUSH3 0xDB5 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xE43 DUP3 MLOAD PUSH3 0xC03 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0xE59 DUP3 PUSH3 0xE1A JUMP JUMPDEST DUP3 PUSH3 0xE65 DUP5 PUSH3 0xE25 JUMP JUMPDEST SWAP1 POP PUSH3 0xE72 DUP2 PUSH3 0xE35 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP3 LT ISZERO PUSH3 0xEB5 JUMPI PUSH3 0xEB0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 PUSH1 0x20 SUB PUSH1 0x8 MUL PUSH3 0x739 JUMP JUMPDEST DUP4 AND SWAP3 POP JUMPDEST POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH1 0xA0 MLOAD PUSH1 0xC0 MLOAD PUSH1 0xE0 MLOAD PUSH2 0x100 MLOAD PUSH2 0x120 MLOAD PUSH2 0x140 MLOAD PUSH2 0x2933 PUSH3 0xF17 PUSH1 0x0 CODECOPY PUSH1 0x0 PUSH2 0x667 ADD MSTORE PUSH1 0x0 PUSH2 0x633 ADD MSTORE PUSH1 0x0 PUSH2 0x1510 ADD MSTORE PUSH1 0x0 PUSH2 0x14EF ADD MSTORE PUSH1 0x0 PUSH2 0xF9B ADD MSTORE PUSH1 0x0 PUSH2 0xFF1 ADD MSTORE PUSH1 0x0 PUSH2 0x101A ADD MSTORE PUSH2 0x2933 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 0x12C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x79CC6790 GT PUSH2 0xAD JUMPI DUP1 PUSH4 0xA457C2D7 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x33B JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x36B JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0x39B JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x3B7 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x3E7 JUMPI PUSH2 0x12C JUMP JUMPDEST DUP1 PUSH4 0x79CC6790 EQ PUSH2 0x28F JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x2AB JUMPI DUP1 PUSH4 0x84B0196E EQ PUSH2 0x2DB JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x2FF JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x31D JUMPI PUSH2 0x12C JUMP JUMPDEST DUP1 PUSH4 0x3644E515 GT PUSH2 0xF4 JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x42966C68 EQ PUSH2 0x239 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x285 JUMPI PUSH2 0x12C JUMP JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x131 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x14F JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x17F JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x19D JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x1CD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x139 PUSH2 0x403 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x146 SWAP2 SWAP1 PUSH2 0x1953 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x169 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x164 SWAP2 SWAP1 PUSH2 0x1A0E JUMP JUMPDEST PUSH2 0x495 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x176 SWAP2 SWAP1 PUSH2 0x1A69 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x187 PUSH2 0x4B8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x194 SWAP2 SWAP1 PUSH2 0x1A93 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1B7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x1B2 SWAP2 SWAP1 PUSH2 0x1AAE JUMP JUMPDEST PUSH2 0x4C2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1C4 SWAP2 SWAP1 PUSH2 0x1A69 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1D5 PUSH2 0x4F1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1E2 SWAP2 SWAP1 PUSH2 0x1B1D JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1F3 PUSH2 0x4FA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x200 SWAP2 SWAP1 PUSH2 0x1B51 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x223 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x21E SWAP2 SWAP1 PUSH2 0x1A0E JUMP JUMPDEST PUSH2 0x509 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x230 SWAP2 SWAP1 PUSH2 0x1A69 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x253 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x24E SWAP2 SWAP1 PUSH2 0x1B6C JUMP JUMPDEST PUSH2 0x540 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x26F PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x26A SWAP2 SWAP1 PUSH2 0x1B99 JUMP JUMPDEST PUSH2 0x554 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x27C SWAP2 SWAP1 PUSH2 0x1A93 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x28D PUSH2 0x59C JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2A9 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2A4 SWAP2 SWAP1 PUSH2 0x1A0E JUMP JUMPDEST PUSH2 0x5B0 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2C5 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x2C0 SWAP2 SWAP1 PUSH2 0x1B99 JUMP JUMPDEST PUSH2 0x5D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2D2 SWAP2 SWAP1 PUSH2 0x1A93 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2E3 PUSH2 0x620 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x2F6 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1CCE JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x307 PUSH2 0x722 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x314 SWAP2 SWAP1 PUSH2 0x1D52 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x325 PUSH2 0x74C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x332 SWAP2 SWAP1 PUSH2 0x1953 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x355 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x350 SWAP2 SWAP1 PUSH2 0x1A0E JUMP JUMPDEST PUSH2 0x7DE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x362 SWAP2 SWAP1 PUSH2 0x1A69 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x385 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x380 SWAP2 SWAP1 PUSH2 0x1A0E JUMP JUMPDEST PUSH2 0x855 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x392 SWAP2 SWAP1 PUSH2 0x1A69 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x3B5 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x3B0 SWAP2 SWAP1 PUSH2 0x1DC5 JUMP JUMPDEST PUSH2 0x878 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x3D1 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x3CC SWAP2 SWAP1 PUSH2 0x1E67 JUMP JUMPDEST PUSH2 0x9BA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x3DE SWAP2 SWAP1 PUSH2 0x1A93 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x401 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x3FC SWAP2 SWAP1 PUSH2 0x1B99 JUMP JUMPDEST PUSH2 0xA41 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x412 SWAP1 PUSH2 0x1ED6 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 0x43E SWAP1 PUSH2 0x1ED6 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x48B JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x460 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x48B JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x46E JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x4A0 PUSH2 0xAC4 JUMP JUMPDEST SWAP1 POP PUSH2 0x4AD DUP2 DUP6 DUP6 PUSH2 0xACC JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x4CD PUSH2 0xAC4 JUMP JUMPDEST SWAP1 POP PUSH2 0x4DA DUP6 DUP3 DUP6 PUSH2 0xC95 JUMP JUMPDEST PUSH2 0x4E5 DUP6 DUP6 DUP6 PUSH2 0xD21 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x12 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x504 PUSH2 0xF97 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x514 PUSH2 0xAC4 JUMP JUMPDEST SWAP1 POP PUSH2 0x535 DUP2 DUP6 DUP6 PUSH2 0x526 DUP6 DUP10 PUSH2 0x9BA JUMP JUMPDEST PUSH2 0x530 SWAP2 SWAP1 PUSH2 0x1F36 JUMP JUMPDEST PUSH2 0xACC JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x551 PUSH2 0x54B PUSH2 0xAC4 JUMP JUMPDEST DUP3 PUSH2 0x104E JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x5A4 PUSH2 0x121B JUMP JUMPDEST PUSH2 0x5AE PUSH1 0x0 PUSH2 0x1299 JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x5C2 DUP3 PUSH2 0x5BC PUSH2 0xAC4 JUMP JUMPDEST DUP4 PUSH2 0xC95 JUMP JUMPDEST PUSH2 0x5CC DUP3 DUP3 PUSH2 0x104E JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x619 PUSH1 0x7 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH2 0x135F JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 PUSH2 0x660 PUSH1 0x5 PUSH32 0x0 PUSH2 0x136D SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x694 PUSH1 0x6 PUSH32 0x0 PUSH2 0x136D SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST CHAINID ADDRESS PUSH1 0x0 DUP1 SHL PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x6B5 JUMPI PUSH2 0x6B4 PUSH2 0x1F6A 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 0x6E3 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP PUSH32 0xF00000000000000000000000000000000000000000000000000000000000000 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 SWAP7 POP SWAP7 POP SWAP7 POP SWAP7 POP SWAP7 POP SWAP7 POP SWAP7 POP SWAP1 SWAP2 SWAP3 SWAP4 SWAP5 SWAP6 SWAP7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x9 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x75B SWAP1 PUSH2 0x1ED6 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 0x787 SWAP1 PUSH2 0x1ED6 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x7D4 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x7A9 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x7D4 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x7B7 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x7E9 PUSH2 0xAC4 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x7F7 DUP3 DUP7 PUSH2 0x9BA JUMP JUMPDEST SWAP1 POP DUP4 DUP2 LT ISZERO PUSH2 0x83C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x833 SWAP1 PUSH2 0x200B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x849 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0xACC JUMP JUMPDEST PUSH1 0x1 SWAP3 POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x860 PUSH2 0xAC4 JUMP JUMPDEST SWAP1 POP PUSH2 0x86D DUP2 DUP6 DUP6 PUSH2 0xD21 JUMP JUMPDEST PUSH1 0x1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP4 TIMESTAMP GT ISZERO PUSH2 0x8BB JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8B2 SWAP1 PUSH2 0x2077 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH32 0x6E71EDAE12B1B97F4D1F60370FEF10105FA2FAAE0126114A169C64845D6126C9 DUP9 DUP9 DUP9 PUSH2 0x8EA DUP13 PUSH2 0x141D JUMP JUMPDEST DUP10 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x900 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x2097 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH2 0x923 DUP3 PUSH2 0x147B JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x933 DUP3 DUP8 DUP8 DUP8 PUSH2 0x1495 JUMP JUMPDEST SWAP1 POP DUP10 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x9A3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x99A SWAP1 PUSH2 0x2144 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x9AE DUP11 DUP11 DUP11 PUSH2 0xACC JUMP JUMPDEST POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xA49 PUSH2 0x121B JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xAB8 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAAF SWAP1 PUSH2 0x21D6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xAC1 DUP2 PUSH2 0x1299 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 CALLER SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xB3B JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB32 SWAP1 PUSH2 0x2268 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xBAA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xBA1 SWAP1 PUSH2 0x22FA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 DUP4 PUSH1 0x40 MLOAD PUSH2 0xC88 SWAP2 SWAP1 PUSH2 0x1A93 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCA1 DUP5 DUP5 PUSH2 0x9BA JUMP JUMPDEST SWAP1 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 EQ PUSH2 0xD1B JUMPI DUP2 DUP2 LT ISZERO PUSH2 0xD0D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD04 SWAP1 PUSH2 0x2366 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xD1A DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0xACC JUMP JUMPDEST JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xD90 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD87 SWAP1 PUSH2 0x23F8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0xDFF JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDF6 SWAP1 PUSH2 0x248A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xE0A DUP4 DUP4 DUP4 PUSH2 0x14C0 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP2 DUP2 LT ISZERO PUSH2 0xE90 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE87 SWAP1 PUSH2 0x251C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 DUP2 SUB PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH1 0x0 DUP1 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0xF7E SWAP2 SWAP1 PUSH2 0x1A93 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0xF91 DUP5 DUP5 DUP5 PUSH2 0x14C5 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ DUP1 ISZERO PUSH2 0x1013 JUMPI POP PUSH32 0x0 CHAINID EQ JUMPDEST ISZERO PUSH2 0x1040 JUMPI PUSH32 0x0 SWAP1 POP PUSH2 0x104B JUMP JUMPDEST PUSH2 0x1048 PUSH2 0x14CA JUMP JUMPDEST SWAP1 POP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x10BD JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x10B4 SWAP1 PUSH2 0x25AE JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x10C9 DUP3 PUSH1 0x0 DUP4 PUSH2 0x14C0 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP1 POP DUP2 DUP2 LT ISZERO PUSH2 0x114F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1146 SWAP1 PUSH2 0x2640 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP2 DUP2 SUB PUSH1 0x0 DUP1 DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP DUP2 PUSH1 0x2 PUSH1 0x0 DUP3 DUP3 SLOAD SUB SWAP3 POP POP DUP2 SWAP1 SSTORE POP PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x1202 SWAP2 SWAP1 PUSH2 0x1A93 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x1216 DUP4 PUSH1 0x0 DUP5 PUSH2 0x14C5 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x1223 PUSH2 0xAC4 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1241 PUSH2 0x722 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x1297 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x128E SWAP1 PUSH2 0x26AC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH1 0x9 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP DUP2 PUSH1 0x9 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 ADD SLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0xFF PUSH1 0x0 SHL DUP4 EQ PUSH2 0x138A JUMPI PUSH2 0x1383 DUP4 PUSH2 0x1560 JUMP JUMPDEST SWAP1 POP PUSH2 0x1417 JUMP JUMPDEST DUP2 DUP1 SLOAD PUSH2 0x1396 SWAP1 PUSH2 0x1ED6 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 0x13C2 SWAP1 PUSH2 0x1ED6 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x140F JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x13E4 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x140F JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x13F2 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x7 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP PUSH2 0x146A DUP2 PUSH2 0x135F JUMP JUMPDEST SWAP2 POP PUSH2 0x1475 DUP2 PUSH2 0x15D4 JUMP JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x148E PUSH2 0x1488 PUSH2 0xF97 JUMP JUMPDEST DUP4 PUSH2 0x15EA JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x14A6 DUP8 DUP8 DUP8 DUP8 PUSH2 0x162B JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x14B3 DUP2 PUSH2 0x170D JUMP JUMPDEST DUP2 SWAP3 POP POP POP SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F PUSH32 0x0 PUSH32 0x0 CHAINID ADDRESS PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1545 SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x26CC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x156D DUP4 PUSH2 0x1873 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x20 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x158C JUMPI PUSH2 0x158B PUSH2 0x1F6A JUMP JUMPDEST JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x15BE JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x1 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP DUP2 DUP2 MSTORE DUP4 PUSH1 0x20 DUP3 ADD MSTORE DUP1 SWAP3 POP POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x0 ADD PUSH1 0x0 DUP3 DUP3 SLOAD ADD SWAP3 POP POP DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0x1901000000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE DUP4 PUSH1 0x2 DUP3 ADD MSTORE DUP3 PUSH1 0x22 DUP3 ADD MSTORE PUSH1 0x42 DUP2 KECCAK256 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 DUP4 PUSH1 0x0 SHR GT ISZERO PUSH2 0x1666 JUMPI PUSH1 0x0 PUSH1 0x3 SWAP2 POP SWAP2 POP PUSH2 0x1704 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP8 DUP8 DUP8 DUP8 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x168B SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x271F JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 SUB SWAP1 DUP1 DUP5 SUB SWAP1 DUP6 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x16AD JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD SUB MLOAD SWAP1 POP PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SUB PUSH2 0x16FB JUMPI PUSH1 0x0 PUSH1 0x1 SWAP3 POP SWAP3 POP POP PUSH2 0x1704 JUMP JUMPDEST DUP1 PUSH1 0x0 SWAP3 POP SWAP3 POP POP JUMPDEST SWAP5 POP SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1721 JUMPI PUSH2 0x1720 PUSH2 0x2764 JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1734 JUMPI PUSH2 0x1733 PUSH2 0x2764 JUMP JUMPDEST JUMPDEST SUB ISZERO PUSH2 0x1870 JUMPI PUSH1 0x1 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x174E JUMPI PUSH2 0x174D PUSH2 0x2764 JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x1761 JUMPI PUSH2 0x1760 PUSH2 0x2764 JUMP JUMPDEST JUMPDEST SUB PUSH2 0x17A1 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1798 SWAP1 PUSH2 0x27DF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x17B5 JUMPI PUSH2 0x17B4 PUSH2 0x2764 JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x17C8 JUMPI PUSH2 0x17C7 PUSH2 0x2764 JUMP JUMPDEST JUMPDEST SUB PUSH2 0x1808 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x17FF SWAP1 PUSH2 0x284B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x3 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x181C JUMPI PUSH2 0x181B PUSH2 0x2764 JUMP JUMPDEST JUMPDEST DUP2 PUSH1 0x4 DUP2 GT ISZERO PUSH2 0x182F JUMPI PUSH2 0x182E PUSH2 0x2764 JUMP JUMPDEST JUMPDEST SUB PUSH2 0x186F JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1866 SWAP1 PUSH2 0x28DD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0xFF DUP4 PUSH1 0x0 SHR AND SWAP1 POP PUSH1 0x1F DUP2 GT ISZERO PUSH2 0x18BA JUMPI PUSH1 0x40 MLOAD PUSH32 0xB3512B0C00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x18FD JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x18E2 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 0x1925 DUP3 PUSH2 0x18C3 JUMP JUMPDEST PUSH2 0x192F DUP2 DUP6 PUSH2 0x18CE JUMP JUMPDEST SWAP4 POP PUSH2 0x193F DUP2 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x18DF JUMP JUMPDEST PUSH2 0x1948 DUP2 PUSH2 0x1909 JUMP JUMPDEST DUP5 ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x196D DUP2 DUP5 PUSH2 0x191A JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19A5 DUP3 PUSH2 0x197A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x19B5 DUP2 PUSH2 0x199A JUMP JUMPDEST DUP2 EQ PUSH2 0x19C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x19D2 DUP2 PUSH2 0x19AC JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x19EB DUP2 PUSH2 0x19D8 JUMP JUMPDEST DUP2 EQ PUSH2 0x19F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1A08 DUP2 PUSH2 0x19E2 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1A25 JUMPI PUSH2 0x1A24 PUSH2 0x1975 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1A33 DUP6 DUP3 DUP7 ADD PUSH2 0x19C3 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1A44 DUP6 DUP3 DUP7 ADD PUSH2 0x19F9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1A63 DUP2 PUSH2 0x1A4E JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1A7E PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1A5A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1A8D DUP2 PUSH2 0x19D8 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1AA8 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1A84 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1AC7 JUMPI PUSH2 0x1AC6 PUSH2 0x1975 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1AD5 DUP7 DUP3 DUP8 ADD PUSH2 0x19C3 JUMP JUMPDEST SWAP4 POP POP PUSH1 0x20 PUSH2 0x1AE6 DUP7 DUP3 DUP8 ADD PUSH2 0x19C3 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 PUSH2 0x1AF7 DUP7 DUP3 DUP8 ADD PUSH2 0x19F9 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0xFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1B17 DUP2 PUSH2 0x1B01 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1B32 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1B0E JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1B4B DUP2 PUSH2 0x1B38 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1B66 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1B42 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1B82 JUMPI PUSH2 0x1B81 PUSH2 0x1975 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1B90 DUP5 DUP3 DUP6 ADD PUSH2 0x19F9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1BAF JUMPI PUSH2 0x1BAE PUSH2 0x1975 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1BBD DUP5 DUP3 DUP6 ADD PUSH2 0x19C3 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH32 0xFF00000000000000000000000000000000000000000000000000000000000000 DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1BFB DUP2 PUSH2 0x1BC6 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0x1C0A DUP2 PUSH2 0x199A 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 DUP2 SWAP1 POP PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x1C45 DUP2 PUSH2 0x19D8 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1C57 DUP4 DUP4 PUSH2 0x1C3C JUMP JUMPDEST PUSH1 0x20 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 0x1C7B DUP3 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x1C85 DUP2 DUP6 PUSH2 0x1C1B JUMP JUMPDEST SWAP4 POP PUSH2 0x1C90 DUP4 PUSH2 0x1C2C JUMP JUMPDEST DUP1 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1CC1 JUMPI DUP2 MLOAD PUSH2 0x1CA8 DUP9 DUP3 PUSH2 0x1C4B JUMP JUMPDEST SWAP8 POP PUSH2 0x1CB3 DUP4 PUSH2 0x1C63 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x1C94 JUMP JUMPDEST POP DUP6 SWAP4 POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xE0 DUP3 ADD SWAP1 POP PUSH2 0x1CE3 PUSH1 0x0 DUP4 ADD DUP11 PUSH2 0x1BF2 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0x20 DUP4 ADD MSTORE PUSH2 0x1CF5 DUP2 DUP10 PUSH2 0x191A JUMP JUMPDEST SWAP1 POP DUP2 DUP2 SUB PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x1D09 DUP2 DUP9 PUSH2 0x191A JUMP JUMPDEST SWAP1 POP PUSH2 0x1D18 PUSH1 0x60 DUP4 ADD DUP8 PUSH2 0x1A84 JUMP JUMPDEST PUSH2 0x1D25 PUSH1 0x80 DUP4 ADD DUP7 PUSH2 0x1C01 JUMP JUMPDEST PUSH2 0x1D32 PUSH1 0xA0 DUP4 ADD DUP6 PUSH2 0x1B42 JUMP JUMPDEST DUP2 DUP2 SUB PUSH1 0xC0 DUP4 ADD MSTORE PUSH2 0x1D44 DUP2 DUP5 PUSH2 0x1C70 JUMP JUMPDEST SWAP1 POP SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x1D67 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x1C01 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1D76 DUP2 PUSH2 0x1B01 JUMP JUMPDEST DUP2 EQ PUSH2 0x1D81 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1D93 DUP2 PUSH2 0x1D6D JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1DA2 DUP2 PUSH2 0x1B38 JUMP JUMPDEST DUP2 EQ PUSH2 0x1DAD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1DBF DUP2 PUSH2 0x1D99 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xE0 DUP9 DUP11 SUB SLT ISZERO PUSH2 0x1DE4 JUMPI PUSH2 0x1DE3 PUSH2 0x1975 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1DF2 DUP11 DUP3 DUP12 ADD PUSH2 0x19C3 JUMP JUMPDEST SWAP8 POP POP PUSH1 0x20 PUSH2 0x1E03 DUP11 DUP3 DUP12 ADD PUSH2 0x19C3 JUMP JUMPDEST SWAP7 POP POP PUSH1 0x40 PUSH2 0x1E14 DUP11 DUP3 DUP12 ADD PUSH2 0x19F9 JUMP JUMPDEST SWAP6 POP POP PUSH1 0x60 PUSH2 0x1E25 DUP11 DUP3 DUP12 ADD PUSH2 0x19F9 JUMP JUMPDEST SWAP5 POP POP PUSH1 0x80 PUSH2 0x1E36 DUP11 DUP3 DUP12 ADD PUSH2 0x1D84 JUMP JUMPDEST SWAP4 POP POP PUSH1 0xA0 PUSH2 0x1E47 DUP11 DUP3 DUP12 ADD PUSH2 0x1DB0 JUMP JUMPDEST SWAP3 POP POP PUSH1 0xC0 PUSH2 0x1E58 DUP11 DUP3 DUP12 ADD PUSH2 0x1DB0 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP6 SWAP9 SWAP2 SWAP5 SWAP8 POP SWAP3 SWAP6 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1E7E JUMPI PUSH2 0x1E7D PUSH2 0x1975 JUMP JUMPDEST JUMPDEST PUSH1 0x0 PUSH2 0x1E8C DUP6 DUP3 DUP7 ADD PUSH2 0x19C3 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x20 PUSH2 0x1E9D DUP6 DUP3 DUP7 ADD PUSH2 0x19C3 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 DIV SWAP1 POP PUSH1 0x1 DUP3 AND DUP1 PUSH2 0x1EEE JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x1F01 JUMPI PUSH2 0x1F00 PUSH2 0x1EA7 JUMP JUMPDEST JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x1F41 DUP3 PUSH2 0x19D8 JUMP JUMPDEST SWAP2 POP PUSH2 0x1F4C DUP4 PUSH2 0x19D8 JUMP JUMPDEST SWAP3 POP DUP3 DUP3 ADD SWAP1 POP DUP1 DUP3 GT ISZERO PUSH2 0x1F64 JUMPI PUSH2 0x1F63 PUSH2 0x1F07 JUMP JUMPDEST JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x207A65726F000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1FF5 PUSH1 0x25 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x2000 DUP3 PUSH2 0x1F99 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2024 DUP2 PUSH2 0x1FE8 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332305065726D69743A206578706972656420646561646C696E65000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2061 PUSH1 0x1D DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x206C DUP3 PUSH2 0x202B JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2090 DUP2 PUSH2 0x2054 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xC0 DUP3 ADD SWAP1 POP PUSH2 0x20AC PUSH1 0x0 DUP4 ADD DUP10 PUSH2 0x1B42 JUMP JUMPDEST PUSH2 0x20B9 PUSH1 0x20 DUP4 ADD DUP9 PUSH2 0x1C01 JUMP JUMPDEST PUSH2 0x20C6 PUSH1 0x40 DUP4 ADD DUP8 PUSH2 0x1C01 JUMP JUMPDEST PUSH2 0x20D3 PUSH1 0x60 DUP4 ADD DUP7 PUSH2 0x1A84 JUMP JUMPDEST PUSH2 0x20E0 PUSH1 0x80 DUP4 ADD DUP6 PUSH2 0x1A84 JUMP JUMPDEST PUSH2 0x20ED PUSH1 0xA0 DUP4 ADD DUP5 PUSH2 0x1A84 JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH32 0x45524332305065726D69743A20696E76616C6964207369676E61747572650000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x212E PUSH1 0x1E DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x2139 DUP3 PUSH2 0x20F8 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x215D DUP2 PUSH2 0x2121 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x21C0 PUSH1 0x26 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x21CB DUP3 PUSH2 0x2164 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x21EF DUP2 PUSH2 0x21B3 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7265737300000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2252 PUSH1 0x24 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x225D DUP3 PUSH2 0x21F6 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2281 DUP2 PUSH2 0x2245 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7373000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x22E4 PUSH1 0x22 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x22EF DUP3 PUSH2 0x2288 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2313 DUP2 PUSH2 0x22D7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2350 PUSH1 0x1D DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x235B DUP3 PUSH2 0x231A JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x237F DUP2 PUSH2 0x2343 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6472657373000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x23E2 PUSH1 0x25 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x23ED DUP3 PUSH2 0x2386 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2411 DUP2 PUSH2 0x23D5 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6573730000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2474 PUSH1 0x23 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x247F DUP3 PUSH2 0x2418 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x24A3 DUP2 PUSH2 0x2467 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x616C616E63650000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2506 PUSH1 0x26 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x2511 DUP3 PUSH2 0x24AA JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2535 DUP2 PUSH2 0x24F9 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A206275726E2066726F6D20746865207A65726F20616464726573 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7300000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2598 PUSH1 0x21 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x25A3 DUP3 PUSH2 0x253C JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x25C7 DUP2 PUSH2 0x258B JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45524332303A206275726E20616D6F756E7420657863656564732062616C616E PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x6365000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x262A PUSH1 0x22 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x2635 DUP3 PUSH2 0x25CE JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2659 DUP2 PUSH2 0x261D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2696 PUSH1 0x20 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x26A1 DUP3 PUSH2 0x2660 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x26C5 DUP2 PUSH2 0x2689 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xA0 DUP3 ADD SWAP1 POP PUSH2 0x26E1 PUSH1 0x0 DUP4 ADD DUP9 PUSH2 0x1B42 JUMP JUMPDEST PUSH2 0x26EE PUSH1 0x20 DUP4 ADD DUP8 PUSH2 0x1B42 JUMP JUMPDEST PUSH2 0x26FB PUSH1 0x40 DUP4 ADD DUP7 PUSH2 0x1B42 JUMP JUMPDEST PUSH2 0x2708 PUSH1 0x60 DUP4 ADD DUP6 PUSH2 0x1A84 JUMP JUMPDEST PUSH2 0x2715 PUSH1 0x80 DUP4 ADD DUP5 PUSH2 0x1C01 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 ADD SWAP1 POP PUSH2 0x2734 PUSH1 0x0 DUP4 ADD DUP8 PUSH2 0x1B42 JUMP JUMPDEST PUSH2 0x2741 PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0x1B0E JUMP JUMPDEST PUSH2 0x274E PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x1B42 JUMP JUMPDEST PUSH2 0x275B PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0x1B42 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E61747572650000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x27C9 PUSH1 0x18 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x27D4 DUP3 PUSH2 0x2793 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x27F8 DUP2 PUSH2 0x27BC JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E6174757265206C656E67746800 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2835 PUSH1 0x1F DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x2840 DUP3 PUSH2 0x27FF JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x2864 DUP2 PUSH2 0x2828 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x45434453413A20696E76616C6964207369676E6174757265202773272076616C PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x7565000000000000000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x28C7 PUSH1 0x22 DUP4 PUSH2 0x18CE JUMP JUMPDEST SWAP2 POP PUSH2 0x28D2 DUP3 PUSH2 0x286B JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x28F6 DUP2 PUSH2 0x28BA JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP16 SWAP15 SHR PUSH27 0x36BC9B04482837FA8550FCAE670D82C5CE6F4AA27AE78412DE31 0xD8 PUSH5 0x736F6C6343 STOP ADDMOD SGT STOP CALLER ", | |
"sourceMap": "389:297:17:-:0;;;463:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1817:52:5;;;;;;;;;;;;;;;;;1856:4;3178:431:14;;;;;;;;;;;;;;;;;1980:113:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2054:5;2046;:13;;;;;;:::i;:::-;;2079:7;2069;:17;;;;;;:::i;:::-;;1980:113;;3251:45:14;3282:13;3251:4;:30;;;;:45;;;;:::i;:::-;3243:53;;;;;;3317:51;3351:16;3317:7;:33;;;;:51;;;;:::i;:::-;3306:62;;;;;;3408:4;3392:22;;;;;;3378:36;;;;;;3457:7;3441:25;;;;;;3424:42;;;;;;3494:13;3477:30;;;;;;3542:23;:21;;;:23;;:::i;:::-;3517:48;;;;;;3597:4;3575:27;;;;;;;;;;3178:431;;1817:52:5;936:32:0;955:12;:10;;;:12;;:::i;:::-;936:18;;;:32;;:::i;:::-;587:48:17::2;593:10;624;:8;;;:10;;:::i;:::-;618:2;:16;;;;:::i;:::-;605:10;:29;;;;:::i;:::-;587:5;;;:48;;:::i;:::-;645:32;664:12;645:18;;;:32;;:::i;:::-;463:221:::0;389:297;;2895:341:10;2991:11;3040:2;3024:5;3018:19;:24;3014:216;;;3065:20;3079:5;3065:13;;;:20;;:::i;:::-;3058:27;;;;3014:216;3157:5;3116:32;3142:5;3116:25;;;:32;;:::i;:::-;:38;;:46;;;;;;:::i;:::-;;1371:66;3200:18;;3176:43;;2895:341;;;;;:::o;3963:180:14:-;4018:7;1929:95;4077:11;;4090:14;;4106:13;4129:4;4054:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4044:92;;;;;;4037:99;;3963:180;:::o;655:96:8:-;708:7;734:10;727:17;;655:96;:::o;2426:187:0:-;2499:16;2518:6;;;;;;;;;;;2499:25;;2543:8;2534:6;;:17;;;;;;;;;;;;;;;;;;2597:8;2566:40;;2587:8;2566:40;;;;;;;;;;;;2489:124;2426:187;:::o;3104:91:2:-;3162:5;3186:2;3179:9;;3104:91;:::o;8520:535::-;8622:1;8603:21;;:7;:21;;;8595:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;8671:49;8700:1;8704:7;8713:6;8671:20;;;:49;;:::i;:::-;8747:6;8731:12;;:22;;;;;;;:::i;:::-;;;;;;;;8921:6;8899:9;:18;8909:7;8899:18;;;;;;;;;;;;;;;;:28;;;;;;;;;;;8973:7;8952:37;;8969:1;8952:37;;;8982:6;8952:37;;;;;;:::i;:::-;;;;;;;;9000:48;9028:1;9032:7;9041:6;9000:19;;;:48;;:::i;:::-;8520:535;;:::o;1689:286:10:-;1754:11;1777:17;1803:3;1777:30;;1835:2;1821:4;:11;:16;1817:72;;;1874:3;1860:18;;;;;;;;;;;:::i;:::-;;;;;;;;1817:72;1955:4;:11;1946:4;1938:13;;;:::i;:::-;1930:22;;:36;1922:45;;1898:70;;;1689:286;;;:::o;3310:202:11:-;3378:20;3486:10;3476:20;;3310:202;;;:::o;12073:91:2:-;;;;:::o;12752:90::-;;;;:::o;88:117:18:-;197:1;194;187:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:143::-;753:5;784:6;778:13;769:22;;800:33;827:5;800:33;:::i;:::-;696:143;;;;:::o;845:351::-;915:6;964:2;952:9;943:7;939:23;935:32;932:119;;;970:79;;:::i;:::-;932:119;1090:1;1115:64;1171:7;1162:6;1151:9;1147:22;1115:64;:::i;:::-;1105:74;;1061:128;845:351;;;;:::o;1202:99::-;1254:6;1288:5;1282:12;1272:22;;1202:99;;;:::o;1307:180::-;1355:77;1352:1;1345:88;1452:4;1449:1;1442:15;1476:4;1473:1;1466:15;1493:180;1541:77;1538:1;1531:88;1638:4;1635:1;1628:15;1662:4;1659:1;1652:15;1679:320;1723:6;1760:1;1754:4;1750:12;1740:22;;1807:1;1801:4;1797:12;1828:18;1818:81;;1884:4;1876:6;1872:17;1862:27;;1818:81;1946:2;1938:6;1935:14;1915:18;1912:38;1909:84;;1965:18;;:::i;:::-;1909:84;1730:269;1679:320;;;:::o;2005:141::-;2054:4;2077:3;2069:11;;2100:3;2097:1;2090:14;2134:4;2131:1;2121:18;2113:26;;2005:141;;;:::o;2152:93::-;2189:6;2236:2;2231;2224:5;2220:14;2216:23;2206:33;;2152:93;;;:::o;2251:107::-;2295:8;2345:5;2339:4;2335:16;2314:37;;2251:107;;;;:::o;2364:393::-;2433:6;2483:1;2471:10;2467:18;2506:97;2536:66;2525:9;2506:97;:::i;:::-;2624:39;2654:8;2643:9;2624:39;:::i;:::-;2612:51;;2696:4;2692:9;2685:5;2681:21;2672:30;;2745:4;2735:8;2731:19;2724:5;2721:30;2711:40;;2440:317;;2364:393;;;;;:::o;2763:77::-;2800:7;2829:5;2818:16;;2763:77;;;:::o;2846:60::-;2874:3;2895:5;2888:12;;2846:60;;;:::o;2912:142::-;2962:9;2995:53;3013:34;3022:24;3040:5;3022:24;:::i;:::-;3013:34;:::i;:::-;2995:53;:::i;:::-;2982:66;;2912:142;;;:::o;3060:75::-;3103:3;3124:5;3117:12;;3060:75;;;:::o;3141:269::-;3251:39;3282:7;3251:39;:::i;:::-;3312:91;3361:41;3385:16;3361:41;:::i;:::-;3353:6;3346:4;3340:11;3312:91;:::i;:::-;3306:4;3299:105;3217:193;3141:269;;;:::o;3416:73::-;3461:3;3416:73;:::o;3495:189::-;3572:32;;:::i;:::-;3613:65;3671:6;3663;3657:4;3613:65;:::i;:::-;3548:136;3495:189;;:::o;3690:186::-;3750:120;3767:3;3760:5;3757:14;3750:120;;;3821:39;3858:1;3851:5;3821:39;:::i;:::-;3794:1;3787:5;3783:13;3774:22;;3750:120;;;3690:186;;:::o;3882:543::-;3983:2;3978:3;3975:11;3972:446;;;4017:38;4049:5;4017:38;:::i;:::-;4101:29;4119:10;4101:29;:::i;:::-;4091:8;4087:44;4284:2;4272:10;4269:18;4266:49;;;4305:8;4290:23;;4266:49;4328:80;4384:22;4402:3;4384:22;:::i;:::-;4374:8;4370:37;4357:11;4328:80;:::i;:::-;3987:431;;3972:446;3882:543;;;:::o;4431:117::-;4485:8;4535:5;4529:4;4525:16;4504:37;;4431:117;;;;:::o;4554:169::-;4598:6;4631:51;4679:1;4675:6;4667:5;4664:1;4660:13;4631:51;:::i;:::-;4627:56;4712:4;4706;4702:15;4692:25;;4605:118;4554:169;;;;:::o;4728:295::-;4804:4;4950:29;4975:3;4969:4;4950:29;:::i;:::-;4942:37;;5012:3;5009:1;5005:11;4999:4;4996:21;4988:29;;4728:295;;;;:::o;5028:1395::-;5145:37;5178:3;5145:37;:::i;:::-;5247:18;5239:6;5236:30;5233:56;;;5269:18;;:::i;:::-;5233:56;5313:38;5345:4;5339:11;5313:38;:::i;:::-;5398:67;5458:6;5450;5444:4;5398:67;:::i;:::-;5492:1;5516:4;5503:17;;5548:2;5540:6;5537:14;5565:1;5560:618;;;;6222:1;6239:6;6236:77;;;6288:9;6283:3;6279:19;6273:26;6264:35;;6236:77;6339:67;6399:6;6392:5;6339:67;:::i;:::-;6333:4;6326:81;6195:222;5530:887;;5560:618;5612:4;5608:9;5600:6;5596:22;5646:37;5678:4;5646:37;:::i;:::-;5705:1;5719:208;5733:7;5730:1;5727:14;5719:208;;;5812:9;5807:3;5803:19;5797:26;5789:6;5782:42;5863:1;5855:6;5851:14;5841:24;;5910:2;5899:9;5895:18;5882:31;;5756:4;5753:1;5749:12;5744:17;;5719:208;;;5955:6;5946:7;5943:19;5940:179;;;6013:9;6008:3;6004:19;5998:26;6056:48;6098:4;6090:6;6086:17;6075:9;6056:48;:::i;:::-;6048:6;6041:64;5963:156;5940:179;6165:1;6161;6153:6;6149:14;6145:22;6139:4;6132:36;5567:611;;;5530:887;;5120:1303;;;5028:1395;;:::o;6429:180::-;6477:77;6474:1;6467:88;6574:4;6571:1;6564:15;6598:4;6595:1;6588:15;6615:102;6657:8;6704:5;6701:1;6697:13;6676:34;;6615:102;;;:::o;6723:848::-;6784:5;6791:4;6815:6;6806:15;;6839:5;6830:14;;6853:712;6874:1;6864:8;6861:15;6853:712;;;6969:4;6964:3;6960:14;6954:4;6951:24;6948:50;;;6978:18;;:::i;:::-;6948:50;7028:1;7018:8;7014:16;7011:451;;;7443:4;7436:5;7432:16;7423:25;;7011:451;7493:4;7487;7483:15;7475:23;;7523:32;7546:8;7523:32;:::i;:::-;7511:44;;6853:712;;;6723:848;;;;;;;:::o;7577:1073::-;7631:5;7822:8;7812:40;;7843:1;7834:10;;7845:5;;7812:40;7871:4;7861:36;;7888:1;7879:10;;7890:5;;7861:36;7957:4;8005:1;8000:27;;;;8041:1;8036:191;;;;7950:277;;8000:27;8018:1;8009:10;;8020:5;;;8036:191;8081:3;8071:8;8068:17;8065:43;;;8088:18;;:::i;:::-;8065:43;8137:8;8134:1;8130:16;8121:25;;8172:3;8165:5;8162:14;8159:40;;;8179:18;;:::i;:::-;8159:40;8212:5;;;7950:277;;8336:2;8326:8;8323:16;8317:3;8311:4;8308:13;8304:36;8286:2;8276:8;8273:16;8268:2;8262:4;8259:12;8255:35;8239:111;8236:246;;;8392:8;8386:4;8382:19;8373:28;;8427:3;8420:5;8417:14;8414:40;;;8434:18;;:::i;:::-;8414:40;8467:5;;8236:246;8507:42;8545:3;8535:8;8529:4;8526:1;8507:42;:::i;:::-;8492:57;;;;8581:4;8576:3;8572:14;8565:5;8562:25;8559:51;;;8590:18;;:::i;:::-;8559:51;8639:4;8632:5;8628:16;8619:25;;7577:1073;;;;;;:::o;8656:86::-;8691:7;8731:4;8724:5;8720:16;8709:27;;8656:86;;;:::o;8748:281::-;8806:5;8830:23;8848:4;8830:23;:::i;:::-;8822:31;;8874:25;8890:8;8874:25;:::i;:::-;8862:37;;8918:104;8955:66;8945:8;8939:4;8918:104;:::i;:::-;8909:113;;8748:281;;;;:::o;9035:410::-;9075:7;9098:20;9116:1;9098:20;:::i;:::-;9093:25;;9132:20;9150:1;9132:20;:::i;:::-;9127:25;;9187:1;9184;9180:9;9209:30;9227:11;9209:30;:::i;:::-;9198:41;;9388:1;9379:7;9375:15;9372:1;9369:22;9349:1;9342:9;9322:83;9299:139;;9418:18;;:::i;:::-;9299:139;9083:362;9035:410;;;;:::o;9451:77::-;9488:7;9517:5;9506:16;;9451:77;;;:::o;9534:118::-;9621:24;9639:5;9621:24;:::i;:::-;9616:3;9609:37;9534:118;;:::o;9658:::-;9745:24;9763:5;9745:24;:::i;:::-;9740:3;9733:37;9658:118;;:::o;9782:::-;9869:24;9887:5;9869:24;:::i;:::-;9864:3;9857:37;9782:118;;:::o;9906:664::-;10111:4;10149:3;10138:9;10134:19;10126:27;;10163:71;10231:1;10220:9;10216:17;10207:6;10163:71;:::i;:::-;10244:72;10312:2;10301:9;10297:18;10288:6;10244:72;:::i;:::-;10326;10394:2;10383:9;10379:18;10370:6;10326:72;:::i;:::-;10408;10476:2;10465:9;10461:18;10452:6;10408:72;:::i;:::-;10490:73;10558:3;10547:9;10543:19;10534:6;10490:73;:::i;:::-;9906:664;;;;;;;;:::o;10576:169::-;10660:11;10694:6;10689:3;10682:19;10734:4;10729:3;10725:14;10710:29;;10576:169;;;;:::o;10751:181::-;10891:33;10887:1;10879:6;10875:14;10868:57;10751:181;:::o;10938:366::-;11080:3;11101:67;11165:2;11160:3;11101:67;:::i;:::-;11094:74;;11177:93;11266:3;11177:93;:::i;:::-;11295:2;11290:3;11286:12;11279:19;;10938:366;;;:::o;11310:419::-;11476:4;11514:2;11503:9;11499:18;11491:26;;11563:9;11557:4;11553:20;11549:1;11538:9;11534:17;11527:47;11591:131;11717:4;11591:131;:::i;:::-;11583:139;;11310:419;;;:::o;11735:191::-;11775:3;11794:20;11812:1;11794:20;:::i;:::-;11789:25;;11828:20;11846:1;11828:20;:::i;:::-;11823:25;;11871:1;11868;11864:9;11857:16;;11892:3;11889:1;11886:10;11883:36;;;11899:18;;:::i;:::-;11883:36;11735:191;;;;:::o;11932:222::-;12025:4;12063:2;12052:9;12048:18;12040:26;;12076:71;12144:1;12133:9;12129:17;12120:6;12076:71;:::i;:::-;11932:222;;;;:::o;12160:246::-;12241:1;12251:113;12265:6;12262:1;12259:13;12251:113;;;12350:1;12345:3;12341:11;12335:18;12331:1;12326:3;12322:11;12315:39;12287:2;12284:1;12280:10;12275:15;;12251:113;;;12398:1;12389:6;12384:3;12380:16;12373:27;12222:184;12160:246;;;:::o;12412:102::-;12453:6;12504:2;12500:7;12495:2;12488:5;12484:14;12480:28;12470:38;;12412:102;;;:::o;12520:377::-;12608:3;12636:39;12669:5;12636:39;:::i;:::-;12691:71;12755:6;12750:3;12691:71;:::i;:::-;12684:78;;12771:65;12829:6;12824:3;12817:4;12810:5;12806:16;12771:65;:::i;:::-;12861:29;12883:6;12861:29;:::i;:::-;12856:3;12852:39;12845:46;;12612:285;12520:377;;;;:::o;12903:313::-;13016:4;13054:2;13043:9;13039:18;13031:26;;13103:9;13097:4;13093:20;13089:1;13078:9;13074:17;13067:47;13131:78;13204:4;13195:6;13131:78;:::i;:::-;13123:86;;12903:313;;;;:::o;13222:98::-;13273:6;13307:5;13301:12;13291:22;;13222:98;;;:::o;13326:116::-;13377:4;13400:3;13392:11;;13430:4;13425:3;13421:14;13413:22;;13326:116;;;:::o;13448:154::-;13491:11;13527:29;13551:3;13545:10;13527:29;:::i;:::-;13590:5;13566:29;;13503:99;13448:154;;;:::o;13608:594::-;13692:5;13723:38;13755:5;13723:38;:::i;:::-;13786:5;13813:40;13847:5;13813:40;:::i;:::-;13801:52;;13872:35;13898:8;13872:35;:::i;:::-;13863:44;;13931:2;13923:6;13920:14;13917:278;;;14002:169;14087:66;14057:6;14053:2;14049:15;14046:1;14042:23;14002:169;:::i;:::-;13979:5;13958:227;13949:236;;13917:278;13698:504;;13608:594;;;:::o;389:297:17:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": { | |
"@DOMAIN_SEPARATOR_988": { | |
"entryPoint": 1274, | |
"id": 988, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@_afterTokenTransfer_723": { | |
"entryPoint": 5317, | |
"id": 723, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_approve_658": { | |
"entryPoint": 2764, | |
"id": 658, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_beforeTokenTransfer_712": { | |
"entryPoint": 5312, | |
"id": 712, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_buildDomainSeparator_2244": { | |
"entryPoint": 5322, | |
"id": 2244, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@_burn_613": { | |
"entryPoint": 4174, | |
"id": 613, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@_checkOwner_54": { | |
"entryPoint": 4635, | |
"id": 54, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@_domainSeparatorV4_2223": { | |
"entryPoint": 3991, | |
"id": 2223, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@_hashTypedDataV4_2260": { | |
"entryPoint": 5243, | |
"id": 2260, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@_msgSender_1091": { | |
"entryPoint": 2756, | |
"id": 1091, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@_spendAllowance_701": { | |
"entryPoint": 3221, | |
"id": 701, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_throwError_1792": { | |
"entryPoint": 5901, | |
"id": 1792, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@_transferOwnership_111": { | |
"entryPoint": 4761, | |
"id": 111, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@_transfer_484": { | |
"entryPoint": 3361, | |
"id": 484, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"@_useNonce_1017": { | |
"entryPoint": 5149, | |
"id": 1017, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@allowance_279": { | |
"entryPoint": 2490, | |
"id": 279, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@approve_304": { | |
"entryPoint": 1173, | |
"id": 304, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@balanceOf_236": { | |
"entryPoint": 1364, | |
"id": 236, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@burnFrom_845": { | |
"entryPoint": 1456, | |
"id": 845, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"@burn_824": { | |
"entryPoint": 1344, | |
"id": 824, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@byteLength_1300": { | |
"entryPoint": 6259, | |
"id": 1300, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@current_1127": { | |
"entryPoint": 4959, | |
"id": 1127, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@decimals_212": { | |
"entryPoint": 1265, | |
"id": 212, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@decreaseAllowance_407": { | |
"entryPoint": 2014, | |
"id": 407, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@eip712Domain_2307": { | |
"entryPoint": 1568, | |
"id": 2307, | |
"parameterSlots": 0, | |
"returnSlots": 7 | |
}, | |
"@increaseAllowance_366": { | |
"entryPoint": 1289, | |
"id": 366, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@increment_1141": { | |
"entryPoint": 5588, | |
"id": 1141, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@name_192": { | |
"entryPoint": 1027, | |
"id": 192, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@nonces_977": { | |
"entryPoint": 1488, | |
"id": 977, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@owner_40": { | |
"entryPoint": 1826, | |
"id": 40, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@permit_961": { | |
"entryPoint": 2168, | |
"id": 961, | |
"parameterSlots": 7, | |
"returnSlots": 0 | |
}, | |
"@recover_2039": { | |
"entryPoint": 5269, | |
"id": 2039, | |
"parameterSlots": 4, | |
"returnSlots": 1 | |
}, | |
"@renounceOwnership_68": { | |
"entryPoint": 1436, | |
"id": 68, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"@symbol_202": { | |
"entryPoint": 1868, | |
"id": 202, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@toStringWithFallback_1367": { | |
"entryPoint": 4973, | |
"id": 1367, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@toString_1268": { | |
"entryPoint": 5472, | |
"id": 1268, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"@toTypedDataHash_2083": { | |
"entryPoint": 5610, | |
"id": 2083, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@totalSupply_222": { | |
"entryPoint": 1208, | |
"id": 222, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"@transferFrom_337": { | |
"entryPoint": 1218, | |
"id": 337, | |
"parameterSlots": 3, | |
"returnSlots": 1 | |
}, | |
"@transferOwnership_91": { | |
"entryPoint": 2625, | |
"id": 91, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"@transfer_261": { | |
"entryPoint": 2133, | |
"id": 261, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"@tryRecover_2006": { | |
"entryPoint": 5675, | |
"id": 2006, | |
"parameterSlots": 4, | |
"returnSlots": 2 | |
}, | |
"abi_decode_t_address": { | |
"entryPoint": 6595, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_t_bytes32": { | |
"entryPoint": 7600, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_t_uint256": { | |
"entryPoint": 6649, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_t_uint8": { | |
"entryPoint": 7556, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_address": { | |
"entryPoint": 7065, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_decode_tuple_t_addresst_address": { | |
"entryPoint": 7783, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_addresst_addresst_uint256": { | |
"entryPoint": 6830, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 3 | |
}, | |
"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32": { | |
"entryPoint": 7621, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 7 | |
}, | |
"abi_decode_tuple_t_addresst_uint256": { | |
"entryPoint": 6670, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 2 | |
}, | |
"abi_decode_tuple_t_uint256": { | |
"entryPoint": 7020, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encodeUpdatedPos_t_uint256_to_t_uint256": { | |
"entryPoint": 7243, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_address_to_t_address_fromStack": { | |
"entryPoint": 7169, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack": { | |
"entryPoint": 7280, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_bool_to_t_bool_fromStack": { | |
"entryPoint": 6746, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_bytes1_to_t_bytes1_fromStack": { | |
"entryPoint": 7154, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_bytes32_to_t_bytes32_fromStack": { | |
"entryPoint": 6978, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 6426, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 10172, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 9319, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 9757, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 10280, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 8627, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 8919, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 9027, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 8276, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 9465, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 10426, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 8481, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 9865, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 9611, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 9173, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 8773, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack": { | |
"entryPoint": 8168, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_t_uint256_to_t_uint256": { | |
"entryPoint": 7228, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_uint256_to_t_uint256_fromStack": { | |
"entryPoint": 6788, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_t_uint8_to_t_uint8_fromStack": { | |
"entryPoint": 6926, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 0 | |
}, | |
"abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { | |
"entryPoint": 7506, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { | |
"entryPoint": 6761, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bytes1_t_string_memory_ptr_t_string_memory_ptr_t_uint256_t_address_t_bytes32_t_array$_t_uint256_$dyn_memory_ptr__to_t_bytes1_t_string_memory_ptr_t_string_memory_ptr_t_uint256_t_address_t_bytes32_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed": { | |
"entryPoint": 7374, | |
"id": null, | |
"parameterSlots": 8, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { | |
"entryPoint": 6993, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__to_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__fromStack_reversed": { | |
"entryPoint": 8343, | |
"id": null, | |
"parameterSlots": 7, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed": { | |
"entryPoint": 9932, | |
"id": null, | |
"parameterSlots": 6, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed": { | |
"entryPoint": 10015, | |
"id": null, | |
"parameterSlots": 5, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 6483, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 10207, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 9354, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 9792, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 10315, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 8662, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 8954, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 9062, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 8311, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 9500, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 10461, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 8516, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 9900, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 9646, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 9208, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 8808, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed": { | |
"entryPoint": 8203, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { | |
"entryPoint": 6803, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed": { | |
"entryPoint": 6941, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"allocate_unbounded": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 1 | |
}, | |
"array_dataslot_t_array$_t_uint256_$dyn_memory_ptr": { | |
"entryPoint": 7212, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_length_t_array$_t_uint256_$dyn_memory_ptr": { | |
"entryPoint": 7184, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_length_t_string_memory_ptr": { | |
"entryPoint": 6339, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_nextElement_t_array$_t_uint256_$dyn_memory_ptr": { | |
"entryPoint": 7267, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack": { | |
"entryPoint": 7195, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"array_storeLengthForEncoding_t_string_memory_ptr_fromStack": { | |
"entryPoint": 6350, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"checked_add_t_uint256": { | |
"entryPoint": 7990, | |
"id": null, | |
"parameterSlots": 2, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_address": { | |
"entryPoint": 6554, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_bool": { | |
"entryPoint": 6734, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_bytes1": { | |
"entryPoint": 7110, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_bytes32": { | |
"entryPoint": 6968, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint160": { | |
"entryPoint": 6522, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint256": { | |
"entryPoint": 6616, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"cleanup_t_uint8": { | |
"entryPoint": 6913, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"copy_memory_to_memory_with_cleanup": { | |
"entryPoint": 6367, | |
"id": null, | |
"parameterSlots": 3, | |
"returnSlots": 0 | |
}, | |
"extract_byte_array_length": { | |
"entryPoint": 7894, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"panic_error_0x11": { | |
"entryPoint": 7943, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x21": { | |
"entryPoint": 10084, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x22": { | |
"entryPoint": 7847, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"panic_error_0x41": { | |
"entryPoint": 8042, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db": { | |
"entryPoint": null, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b": { | |
"entryPoint": 6517, | |
"id": null, | |
"parameterSlots": 0, | |
"returnSlots": 0 | |
}, | |
"round_up_to_mul_of_32": { | |
"entryPoint": 6409, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 1 | |
}, | |
"store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be": { | |
"entryPoint": 10131, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f": { | |
"entryPoint": 9240, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd": { | |
"entryPoint": 9678, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77": { | |
"entryPoint": 10239, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe": { | |
"entryPoint": 8548, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029": { | |
"entryPoint": 8840, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe": { | |
"entryPoint": 8986, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd": { | |
"entryPoint": 8235, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6": { | |
"entryPoint": 9386, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd": { | |
"entryPoint": 10347, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124": { | |
"entryPoint": 8440, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe": { | |
"entryPoint": 9824, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f": { | |
"entryPoint": 9532, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea": { | |
"entryPoint": 9094, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208": { | |
"entryPoint": 8694, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8": { | |
"entryPoint": 8089, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"validator_revert_t_address": { | |
"entryPoint": 6572, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"validator_revert_t_bytes32": { | |
"entryPoint": 7577, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"validator_revert_t_uint256": { | |
"entryPoint": 6626, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
}, | |
"validator_revert_t_uint8": { | |
"entryPoint": 7533, | |
"id": null, | |
"parameterSlots": 1, | |
"returnSlots": 0 | |
} | |
}, | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:31079:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "66:40:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "77:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "93:5:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "87:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "87:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "77:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_length_t_string_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "49:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "59:6:18", | |
"type": "" | |
} | |
], | |
"src": "7:99:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "208:73:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "225:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "230:6:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "218:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "218:19:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "218:19:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "246:29:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "265:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "270:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "261:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "261:14:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulIdentifier", | |
"src": "246:11:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "180:3:18", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "185:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulTypedName", | |
"src": "196:11:18", | |
"type": "" | |
} | |
], | |
"src": "112:169:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "349:184:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "359:10:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "368:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "363:1:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "428:63:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "453:3:18" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "458:1:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "449:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "449:11:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "472:3:18" | |
}, | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "477:1:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "468:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "468:11:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "462:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "462:18:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "442:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "442:39:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "442:39:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "389:1:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "392:6:18" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "386:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "386:13:18" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "400:19:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "402:15:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "411:1:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "414:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "407:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "407:10:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "402:1:18" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "382:3:18", | |
"statements": [] | |
}, | |
"src": "378:113:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "511:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "516:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "507:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "507:16:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "525:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "500:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "500:27:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "500:27:18" | |
} | |
] | |
}, | |
"name": "copy_memory_to_memory_with_cleanup", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "331:3:18", | |
"type": "" | |
}, | |
{ | |
"name": "dst", | |
"nodeType": "YulTypedName", | |
"src": "336:3:18", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "341:6:18", | |
"type": "" | |
} | |
], | |
"src": "287:246:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "587:54:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "597:38:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "615:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "622:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "611:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "611:14:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "631:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "627:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "627:7:18" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "607:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "607:28:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "597:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "570:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "580:6:18", | |
"type": "" | |
} | |
], | |
"src": "539:102:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "739:285:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "749:53:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "796:5:18" | |
} | |
], | |
"functionName": { | |
"name": "array_length_t_string_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "763:32:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "763:39:18" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "753:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "811:78:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "877:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "882:6:18" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "818:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "818:71:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "811:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "937:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "944:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "933:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "933:16:18" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "951:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "956:6:18" | |
} | |
], | |
"functionName": { | |
"name": "copy_memory_to_memory_with_cleanup", | |
"nodeType": "YulIdentifier", | |
"src": "898:34:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "898:65:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "898:65:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "972:46:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "983:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1010:6:18" | |
} | |
], | |
"functionName": { | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulIdentifier", | |
"src": "988:21:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "988:29:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "979:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "979:39:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "972:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "720:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "727:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "735:3:18", | |
"type": "" | |
} | |
], | |
"src": "647:377:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1148:195:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1158:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1170:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1181:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1166:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1166:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1158:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1205:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1216:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1201:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1201:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1224:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1230:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "1220:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1220:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1194:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1194:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1194:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1250:86:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1322:6:18" | |
}, | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1331:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1258:63:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1258:78:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1250:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1120:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1132:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1143:4:18", | |
"type": "" | |
} | |
], | |
"src": "1030:313:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1389:35:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1399:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1415:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1409:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1409:9:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1399:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "allocate_unbounded", | |
"nodeType": "YulFunctionDefinition", | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "1382:6:18", | |
"type": "" | |
} | |
], | |
"src": "1349:75:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1519:28:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1536:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1539:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1529:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1529:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1529:12:18" | |
} | |
] | |
}, | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulFunctionDefinition", | |
"src": "1430:117:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1642:28:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1659:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1662:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1652:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1652:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1652:12:18" | |
} | |
] | |
}, | |
"name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db", | |
"nodeType": "YulFunctionDefinition", | |
"src": "1553:117:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1721:81:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1731:65:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1746:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1753:42:18", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1742:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1742:54:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "1731:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1703:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "1713:7:18", | |
"type": "" | |
} | |
], | |
"src": "1676:126:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1853:51:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1863:35:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1892:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulIdentifier", | |
"src": "1874:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1874:24:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "1863:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1835:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "1845:7:18", | |
"type": "" | |
} | |
], | |
"src": "1808:96:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1953:79:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2010:16:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2019:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2022:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2012:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2012:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2012:12:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1976:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2001:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "1983:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1983:24:18" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "1973:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1973:35:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "1966:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1966:43:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "1963:63:18" | |
} | |
] | |
}, | |
"name": "validator_revert_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1946:5:18", | |
"type": "" | |
} | |
], | |
"src": "1910:122:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2090:87:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2100:29:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2122:6:18" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "2109:12:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2109:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2100:5:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2165:5:18" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "2138:26:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2138:33:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2138:33:18" | |
} | |
] | |
}, | |
"name": "abi_decode_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "2068:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "2076:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2084:5:18", | |
"type": "" | |
} | |
], | |
"src": "2038:139:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2228:32:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2238:16:18", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2249:5:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "2238:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2210:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "2220:7:18", | |
"type": "" | |
} | |
], | |
"src": "2183:77:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2309:79:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2366:16:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2375:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2378:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2368:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2368:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2368:12:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2332:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2357:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "2339:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2339:24:18" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "2329:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2329:35:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "2322:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2322:43:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "2319:63:18" | |
} | |
] | |
}, | |
"name": "validator_revert_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2302:5:18", | |
"type": "" | |
} | |
], | |
"src": "2266:122:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2446:87:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2456:29:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2478:6:18" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "2465:12:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2465:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2456:5:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2521:5:18" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "2494:26:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2494:33:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2494:33:18" | |
} | |
] | |
}, | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "2424:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "2432:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2440:5:18", | |
"type": "" | |
} | |
], | |
"src": "2394:139:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2622:391:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2668:83:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "2670:77:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2670:79:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2670:79:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "2643:7:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2652:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "2639:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2639:23:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2664:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "2635:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2635:32:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "2632:119:18" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "2761:117:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2776:15:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2790:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "2780:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2805:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2840:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2851:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2836:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2836:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "2860:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "2815:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2815:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "2805:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "2888:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2903:16:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2917:2:18", | |
"type": "", | |
"value": "32" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "2907:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2933:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "2968:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "2979:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2964:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2964:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "2988:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "2943:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2943:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "2933:6:18" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "2584:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "2595:7:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "2607:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "2615:6:18", | |
"type": "" | |
} | |
], | |
"src": "2539:474:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3061:48:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3071:32:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3096:5:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "3089:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3089:13:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "3082:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3082:21:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "3071:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_bool", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3043:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "3053:7:18", | |
"type": "" | |
} | |
], | |
"src": "3019:90:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3174:50:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3191:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3211:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bool", | |
"nodeType": "YulIdentifier", | |
"src": "3196:14:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3196:21:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3184:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3184:34:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3184:34:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_bool_to_t_bool_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3162:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "3169:3:18", | |
"type": "" | |
} | |
], | |
"src": "3115:109:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3322:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3332:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3344:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3355:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3340:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3340:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3332:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "3406:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3419:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3430:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3415:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3415:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bool_to_t_bool_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "3368:37:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3368:65:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3368:65:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3294:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "3306:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3317:4:18", | |
"type": "" | |
} | |
], | |
"src": "3230:210:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3511:53:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3528:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3551:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3533:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3533:24:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3521:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3521:37:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3521:37:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3499:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "3506:3:18", | |
"type": "" | |
} | |
], | |
"src": "3446:118:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3668:124:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3678:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3690:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3701:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3686:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3686:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "3678:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "3758:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3771:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3782:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3767:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3767:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "3714:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3714:71:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3714:71:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3640:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "3652:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "3663:4:18", | |
"type": "" | |
} | |
], | |
"src": "3570:222:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3898:519:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3944:83:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "3946:77:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3946:79:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3946:79:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "3919:7:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "3928:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "3915:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3915:23:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3940:2:18", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "3911:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3911:32:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "3908:119:18" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "4037:117:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4052:15:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4066:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "4056:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4081:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4116:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "4127:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4112:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4112:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "4136:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "4091:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4091:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "4081:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "4164:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4179:16:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4193:2:18", | |
"type": "", | |
"value": "32" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "4183:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4209:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4244:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "4255:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4240:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4240:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "4264:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "4219:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4219:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "4209:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "4292:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "4307:16:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4321:2:18", | |
"type": "", | |
"value": "64" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "4311:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4337:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4372:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "4383:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4368:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4368:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "4392:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "4347:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4347:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "4337:6:18" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_addresst_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3852:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "3863:7:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "3875:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "3883:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "3891:6:18", | |
"type": "" | |
} | |
], | |
"src": "3798:619:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4466:43:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4476:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4491:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4498:4:18", | |
"type": "", | |
"value": "0xff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "4487:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4487:16:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "4476:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4448:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "4458:7:18", | |
"type": "" | |
} | |
], | |
"src": "4423:86:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4576:51:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "4593:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4614:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "4598:15:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4598:22:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4586:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4586:35:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4586:35:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_uint8_to_t_uint8_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4564:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "4571:3:18", | |
"type": "" | |
} | |
], | |
"src": "4515:112:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4727:120:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4737:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4749:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4760:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4745:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4745:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4737:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "4813:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4826:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4837:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4822:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4822:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint8_to_t_uint8_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "4773:39:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4773:67:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4773:67:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4699:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "4711:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4722:4:18", | |
"type": "" | |
} | |
], | |
"src": "4633:214:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4898:32:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4908:16:18", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "4919:5:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "4908:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4880:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "4890:7:18", | |
"type": "" | |
} | |
], | |
"src": "4853:77:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5001:53:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "5018:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "5041:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "5023:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5023:24:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5011:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5011:37:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5011:37:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "4989:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "4996:3:18", | |
"type": "" | |
} | |
], | |
"src": "4936:118:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5158:124:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5168:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5180:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5191:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5176:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5176:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5168:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "5248:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5261:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5272:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5257:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5257:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "5204:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5204:71:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5204:71:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5130:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "5142:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "5153:4:18", | |
"type": "" | |
} | |
], | |
"src": "5060:222:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5354:263:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5400:83:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "5402:77:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5402:79:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5402:79:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "5375:7:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5384:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "5371:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5371:23:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5396:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "5367:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5367:32:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "5364:119:18" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "5493:117:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5508:15:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5522:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "5512:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5537:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5572:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "5583:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5568:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5568:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "5592:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "5547:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5547:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "5537:6:18" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5324:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "5335:7:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "5347:6:18", | |
"type": "" | |
} | |
], | |
"src": "5288:329:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5689:263:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5735:83:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "5737:77:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5737:79:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5737:79:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "5710:7:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5719:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "5706:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5706:23:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5731:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "5702:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5702:32:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "5699:119:18" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "5828:117:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "5843:15:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5857:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "5847:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5872:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5907:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "5918:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5903:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5903:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "5927:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "5882:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5882:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "5872:6:18" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5659:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "5670:7:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "5682:6:18", | |
"type": "" | |
} | |
], | |
"src": "5623:329:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6002:105:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6012:89:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "6027:5:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6034:66:18", | |
"type": "", | |
"value": "0xff00000000000000000000000000000000000000000000000000000000000000" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "6023:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6023:78:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "6012:7:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_bytes1", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "5984:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "5994:7:18", | |
"type": "" | |
} | |
], | |
"src": "5958:149:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6176:52:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "6193:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "6215:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bytes1", | |
"nodeType": "YulIdentifier", | |
"src": "6198:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6198:23:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6186:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6186:36:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6186:36:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_bytes1_to_t_bytes1_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "6164:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "6171:3:18", | |
"type": "" | |
} | |
], | |
"src": "6113:115:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6299:53:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "6316:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "6339:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "6321:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6321:24:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6309:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6309:37:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6309:37:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "6287:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "6294:3:18", | |
"type": "" | |
} | |
], | |
"src": "6234:118:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6432:40:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6443:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "6459:5:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "6453:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6453:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "6443:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_length_t_array$_t_uint256_$dyn_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "6415:5:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "6425:6:18", | |
"type": "" | |
} | |
], | |
"src": "6358:114:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6589:73:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "6606:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "6611:6:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6599:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6599:19:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6599:19:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6627:29:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "6646:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6651:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6642:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6642:14:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulIdentifier", | |
"src": "6627:11:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "6561:3:18", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "6566:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulTypedName", | |
"src": "6577:11:18", | |
"type": "" | |
} | |
], | |
"src": "6478:184:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6740:60:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6750:11:18", | |
"value": { | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "6758:3:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "6750:4:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6771:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "6783:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6788:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6779:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6779:14:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "6771:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_dataslot_t_array$_t_uint256_$dyn_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulTypedName", | |
"src": "6727:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "6735:4:18", | |
"type": "" | |
} | |
], | |
"src": "6668:132:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6861:53:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "6878:3:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "6901:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "6883:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6883:24:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6871:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6871:37:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6871:37:18" | |
} | |
] | |
}, | |
"name": "abi_encode_t_uint256_to_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "6849:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "6856:3:18", | |
"type": "" | |
} | |
], | |
"src": "6806:108:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7000:99:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "7044:6:18" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "7052:3:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "7010:33:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7010:46:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7010:46:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7065:28:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "7083:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7088:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7079:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7079:14:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "updatedPos", | |
"nodeType": "YulIdentifier", | |
"src": "7065:10:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encodeUpdatedPos_t_uint256_to_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "6973:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "6981:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "updatedPos", | |
"nodeType": "YulTypedName", | |
"src": "6989:10:18", | |
"type": "" | |
} | |
], | |
"src": "6920:179:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7180:38:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7190:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulIdentifier", | |
"src": "7202:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7207:4:18", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7198:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7198:14:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "next", | |
"nodeType": "YulIdentifier", | |
"src": "7190:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_nextElement_t_array$_t_uint256_$dyn_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "ptr", | |
"nodeType": "YulTypedName", | |
"src": "7167:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "next", | |
"nodeType": "YulTypedName", | |
"src": "7175:4:18", | |
"type": "" | |
} | |
], | |
"src": "7105:113:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7378:608:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7388:68:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "7450:5:18" | |
} | |
], | |
"functionName": { | |
"name": "array_length_t_array$_t_uint256_$dyn_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "7402:47:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7402:54:18" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "7392:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7465:93:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "7546:3:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "7551:6:18" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "7472:73:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7472:86:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "7465:3:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7567:71:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "7632:5:18" | |
} | |
], | |
"functionName": { | |
"name": "array_dataslot_t_array$_t_uint256_$dyn_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "7582:49:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7582:56:18" | |
}, | |
"variables": [ | |
{ | |
"name": "baseRef", | |
"nodeType": "YulTypedName", | |
"src": "7571:7:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7647:21:18", | |
"value": { | |
"name": "baseRef", | |
"nodeType": "YulIdentifier", | |
"src": "7661:7:18" | |
}, | |
"variables": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulTypedName", | |
"src": "7651:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7737:224:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7751:34:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "7778:6:18" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "7772:5:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7772:13:18" | |
}, | |
"variables": [ | |
{ | |
"name": "elementValue0", | |
"nodeType": "YulTypedName", | |
"src": "7755:13:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7798:70:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "elementValue0", | |
"nodeType": "YulIdentifier", | |
"src": "7849:13:18" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "7864:3:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encodeUpdatedPos_t_uint256_to_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "7805:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7805:63:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "7798:3:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7881:70:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "7944:6:18" | |
} | |
], | |
"functionName": { | |
"name": "array_nextElement_t_array$_t_uint256_$dyn_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "7891:52:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7891:60:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "srcPtr", | |
"nodeType": "YulIdentifier", | |
"src": "7881:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "7699:1:18" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "7702:6:18" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "7696:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7696:13:18" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "7710:18:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7712:14:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "7721:1:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7724:1:18", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7717:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7717:9:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "7712:1:18" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "7681:14:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "7683:10:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7692:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "7687:1:18", | |
"type": "" | |
} | |
] | |
} | |
] | |
}, | |
"src": "7677:284:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7970:10:18", | |
"value": { | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "7977:3:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "7970:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "7357:5:18", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "7364:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "7373:3:18", | |
"type": "" | |
} | |
], | |
"src": "7254:732:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8346:861:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8356:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8368:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8379:3:18", | |
"type": "", | |
"value": "224" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8364:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8364:19:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8356:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "8435:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8448:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8459:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8444:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8444:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes1_to_t_bytes1_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8393:41:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8393:69:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8393:69:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8483:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8494:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8479:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8479:18:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8503:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8509:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "8499:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8499:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8472:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8472:48:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8472:48:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8529:86:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "8601:6:18" | |
}, | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8610:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8537:63:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8537:78:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8529:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8636:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8647:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8632:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8632:18:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8656:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8662:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "8652:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8652:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8625:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8625:48:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8625:48:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8682:86:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "8754:6:18" | |
}, | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8763:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8690:63:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8690:78:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8682:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "8822:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8835:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8846:2:18", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8831:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8831:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8778:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8778:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8778:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value4", | |
"nodeType": "YulIdentifier", | |
"src": "8904:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8917:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8928:3:18", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8913:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8913:19:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8860:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8860:73:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8860:73:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value5", | |
"nodeType": "YulIdentifier", | |
"src": "8987:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9000:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9011:3:18", | |
"type": "", | |
"value": "160" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8996:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8996:19:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8943:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8943:73:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8943:73:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9037:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9048:3:18", | |
"type": "", | |
"value": "192" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9033:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9033:19:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "9058:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9064:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "9054:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9054:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9026:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9026:49:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9026:49:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9084:116:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value6", | |
"nodeType": "YulIdentifier", | |
"src": "9186:6:18" | |
}, | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "9195:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "9092:93:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9092:108:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "9084:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes1_t_string_memory_ptr_t_string_memory_ptr_t_uint256_t_address_t_bytes32_t_array$_t_uint256_$dyn_memory_ptr__to_t_bytes1_t_string_memory_ptr_t_string_memory_ptr_t_uint256_t_address_t_bytes32_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "8270:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value6", | |
"nodeType": "YulTypedName", | |
"src": "8282:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value5", | |
"nodeType": "YulTypedName", | |
"src": "8290:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value4", | |
"nodeType": "YulTypedName", | |
"src": "8298:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "8306:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "8314:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "8322:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "8330:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "8341:4:18", | |
"type": "" | |
} | |
], | |
"src": "7992:1215:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9311:124:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9321:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9333:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9344:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9329:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9329:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "9321:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "9401:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "9414:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9425:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9410:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9410:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "9357:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9357:71:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9357:71:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "9283:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "9295:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "9306:4:18", | |
"type": "" | |
} | |
], | |
"src": "9213:222:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9482:77:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9537:16:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9546:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9549:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9539:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9539:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9539:12:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9505:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9528:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "9512:15:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9512:22:18" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "9502:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9502:33:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "9495:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9495:41:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "9492:61:18" | |
} | |
] | |
}, | |
"name": "validator_revert_t_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9475:5:18", | |
"type": "" | |
} | |
], | |
"src": "9441:118:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9615:85:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9625:29:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "9647:6:18" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "9634:12:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9634:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9625:5:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9688:5:18" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "9663:24:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9663:31:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9663:31:18" | |
} | |
] | |
}, | |
"name": "abi_decode_t_uint8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "9593:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "9601:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9609:5:18", | |
"type": "" | |
} | |
], | |
"src": "9565:135:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9749:79:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9806:16:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9815:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9818:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9808:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9808:12:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9808:12:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9772:5:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9797:5:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "9779:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9779:24:18" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "9769:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9769:35:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "9762:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9762:43:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "9759:63:18" | |
} | |
] | |
}, | |
"name": "validator_revert_t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9742:5:18", | |
"type": "" | |
} | |
], | |
"src": "9706:122:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9886:87:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9896:29:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "9918:6:18" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "9905:12:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9905:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9896:5:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9961:5:18" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "9934:26:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9934:33:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9934:33:18" | |
} | |
] | |
}, | |
"name": "abi_decode_t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "9864:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "9872:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9880:5:18", | |
"type": "" | |
} | |
], | |
"src": "9834:139:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10145:1033:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10192:83:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "10194:77:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10194:79:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10194:79:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "10166:7:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10175:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "10162:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10162:23:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10187:3:18", | |
"type": "", | |
"value": "224" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "10158:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10158:33:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "10155:120:18" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "10285:117:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10300:15:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10314:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "10304:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10329:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10364:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "10375:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10360:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10360:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "10384:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "10339:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10339:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "10329:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "10412:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10427:16:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10441:2:18", | |
"type": "", | |
"value": "32" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "10431:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10457:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10492:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "10503:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10488:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10488:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "10512:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "10467:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10467:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "10457:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "10540:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10555:16:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10569:2:18", | |
"type": "", | |
"value": "64" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "10559:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10585:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10620:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "10631:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10616:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10616:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "10640:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "10595:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10595:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "10585:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "10668:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10683:16:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10697:2:18", | |
"type": "", | |
"value": "96" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "10687:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10713:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10748:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "10759:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10744:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10744:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "10768:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "10723:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10723:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "10713:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "10796:117:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10811:17:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10825:3:18", | |
"type": "", | |
"value": "128" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "10815:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10842:61:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "10875:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "10886:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10871:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10871:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "10895:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_uint8", | |
"nodeType": "YulIdentifier", | |
"src": "10852:18:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10852:51:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value4", | |
"nodeType": "YulIdentifier", | |
"src": "10842:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "10923:119:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "10938:17:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10952:3:18", | |
"type": "", | |
"value": "160" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "10942:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "10969:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11004:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "11015:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11000:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11000:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "11024:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "10979:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10979:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value5", | |
"nodeType": "YulIdentifier", | |
"src": "10969:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "11052:119:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "11067:17:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11081:3:18", | |
"type": "", | |
"value": "192" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "11071:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11098:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11133:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "11144:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11129:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11129:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "11153:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "11108:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11108:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value6", | |
"nodeType": "YulIdentifier", | |
"src": "11098:6:18" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "10067:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "10078:7:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "10090:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "10098:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "10106:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "10114:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value4", | |
"nodeType": "YulTypedName", | |
"src": "10122:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value5", | |
"nodeType": "YulTypedName", | |
"src": "10130:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value6", | |
"nodeType": "YulTypedName", | |
"src": "10138:6:18", | |
"type": "" | |
} | |
], | |
"src": "9979:1199:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11267:391:18", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11313:83:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b", | |
"nodeType": "YulIdentifier", | |
"src": "11315:77:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11315:79:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11315:79:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "11288:7:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11297:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "11284:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11284:23:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11309:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "11280:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11280:32:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "11277:119:18" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "11406:117:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "11421:15:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11435:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "11425:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11450:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11485:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "11496:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11481:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11481:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "11505:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "11460:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11460:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "11450:6:18" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "11533:118:18", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "11548:16:18", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11562:2:18", | |
"type": "", | |
"value": "32" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "11552:6:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11578:63:18", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "11613:9:18" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "11624:6:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11609:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11609:22:18" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "11633:7:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "11588:20:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11588:53:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "11578:6:18" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_addresst_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "11229:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "11240:7:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "11252:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "11260:6:18", | |
"type": "" | |
} | |
], | |
"src": "11184:474:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11692:152:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11709:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11712:77:18", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11702:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11702:88:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11702:88:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11806:1:18", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11809:4:18", | |
"type": "", | |
"value": "0x22" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11799:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11799:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11799:15:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11830:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11833:4:18", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "11823:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11823:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11823:15:18" | |
} | |
] | |
}, | |
"name": "panic_error_0x22", | |
"nodeType": "YulFunctionDefinition", | |
"src": "11664:180:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11901:269:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "11911:22:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "11925:4:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11931:1:18", | |
"type": "", | |
"value": "2" | |
} | |
], | |
"functionName": { | |
"name": "div", | |
"nodeType": "YulIdentifier", | |
"src": "11921:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11921:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "11911:6:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "11942:38:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "data", | |
"nodeType": "YulIdentifier", | |
"src": "11972:4:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11978:1:18", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "11968:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11968:12:18" | |
}, | |
"variables": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulTypedName", | |
"src": "11946:18:18", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12019:51:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12033:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "12047:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12055:4:18", | |
"type": "", | |
"value": "0x7f" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "12043:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12043:17:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "12033:6:18" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "11999:18:18" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "11992:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11992:26:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "11989:81:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12122:42:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x22", | |
"nodeType": "YulIdentifier", | |
"src": "12136:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12136:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12136:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "outOfPlaceEncoding", | |
"nodeType": "YulIdentifier", | |
"src": "12086:18:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "12109:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12117:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "12106:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12106:14:18" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "12083:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12083:38:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "12080:84:18" | |
} | |
] | |
}, | |
"name": "extract_byte_array_length", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "data", | |
"nodeType": "YulTypedName", | |
"src": "11885:4:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "11894:6:18", | |
"type": "" | |
} | |
], | |
"src": "11850:320:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12204:152:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12221:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12224:77:18", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12214:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12214:88:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12214:88:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12318:1:18", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12321:4:18", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12311:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12311:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12311:15:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12342:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12345:4:18", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "12335:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12335:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12335:15:18" | |
} | |
] | |
}, | |
"name": "panic_error_0x11", | |
"nodeType": "YulFunctionDefinition", | |
"src": "12176:180:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12406:147:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12416:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "12439:1:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "12421:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12421:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "12416:1:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12450:25:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "12473:1:18" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "12455:17:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12455:20:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "12450:1:18" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "12484:16:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "12495:1:18" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "12498:1:18" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12491:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12491:9:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "12484:3:18" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12524:22:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "12526:16:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12526:18:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12526:18:18" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "12516:1:18" | |
}, | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "12519:3:18" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "12513:2:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12513:10:18" | |
}, | |
"nodeType": "YulIf", | |
"src": "12510:36:18" | |
} | |
] | |
}, | |
"name": "checked_add_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "12393:1:18", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "12396:1:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulTypedName", | |
"src": "12402:3:18", | |
"type": "" | |
} | |
], | |
"src": "12362:191:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12587:152:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12604:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12607:77:18", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12597:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12597:88:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12597:88:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12701:1:18", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12704:4:18", | |
"type": "", | |
"value": "0x41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12694:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12694:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12694:15:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12725:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12728:4:18", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "12718:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12718:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12718:15:18" | |
} | |
] | |
}, | |
"name": "panic_error_0x41", | |
"nodeType": "YulFunctionDefinition", | |
"src": "12559:180:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "12851:118:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "12873:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12881:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12869:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12869:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "12885:34:18", | |
"type": "", | |
"value": "ERC20: decreased allowance below" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12862:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12862:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12862:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "12941:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "12949:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "12937:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12937:15:18" | |
}, | |
{ | |
"hexValue": "207a65726f", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "12954:7:18", | |
"type": "", | |
"value": " zero" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "12930:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "12930:32:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "12930:32:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "12843:6:18", | |
"type": "" | |
} | |
], | |
"src": "12745:224:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13121:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13131:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "13197:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13202:2:18", | |
"type": "", | |
"value": "37" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "13138:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13138:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "13131:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "13303:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8", | |
"nodeType": "YulIdentifier", | |
"src": "13214:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13214:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "13214:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13316:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "13327:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13332:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13323:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13323:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "13316:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "13109:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "13117:3:18", | |
"type": "" | |
} | |
], | |
"src": "12975:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13518:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13528:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13540:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13551:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13536:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13536:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "13528:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13575:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13586:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13571:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13571:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "13594:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "13600:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "13590:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13590:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "13564:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13564:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "13564:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "13620:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "13754:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "13628:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13628:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "13620:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "13498:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "13513:4:18", | |
"type": "" | |
} | |
], | |
"src": "13347:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "13878:73:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "13900:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "13908:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "13896:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13896:14:18" | |
}, | |
{ | |
"hexValue": "45524332305065726d69743a206578706972656420646561646c696e65", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "13912:31:18", | |
"type": "", | |
"value": "ERC20Permit: expired deadline" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "13889:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "13889:55:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "13889:55:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "13870:6:18", | |
"type": "" | |
} | |
], | |
"src": "13772:179:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "14103:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "14113:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "14179:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14184:2:18", | |
"type": "", | |
"value": "29" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "14120:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14120:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "14113:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "14285:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd", | |
"nodeType": "YulIdentifier", | |
"src": "14196:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14196:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14196:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "14298:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "14309:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14314:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14305:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14305:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "14298:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "14091:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "14099:3:18", | |
"type": "" | |
} | |
], | |
"src": "13957:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "14500:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "14510:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14522:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14533:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14518:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14518:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "14510:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14557:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "14568:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "14553:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14553:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "14576:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "14582:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "14572:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14572:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "14546:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14546:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "14546:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "14602:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "14736:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "14610:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "14610:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "14602:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "14480:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "14495:4:18", | |
"type": "" | |
} | |
], | |
"src": "14329:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "14992:537:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "15002:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15014:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15025:3:18", | |
"type": "", | |
"value": "192" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15010:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15010:19:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "15002:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "15083:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15096:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15107:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15092:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15092:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "15039:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15039:71:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15039:71:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "15164:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15177:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15188:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15173:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15173:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "15120:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15120:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15120:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "15246:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15259:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15270:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15255:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15255:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "15202:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15202:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15202:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "15328:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15341:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15352:2:18", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15337:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15337:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "15284:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15284:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15284:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value4", | |
"nodeType": "YulIdentifier", | |
"src": "15410:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15423:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15434:3:18", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15419:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15419:19:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "15366:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15366:73:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15366:73:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value5", | |
"nodeType": "YulIdentifier", | |
"src": "15493:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "15506:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15517:3:18", | |
"type": "", | |
"value": "160" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15502:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15502:19:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "15449:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15449:73:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15449:73:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__to_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "14924:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value5", | |
"nodeType": "YulTypedName", | |
"src": "14936:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value4", | |
"nodeType": "YulTypedName", | |
"src": "14944:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "14952:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "14960:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "14968:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "14976:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "14987:4:18", | |
"type": "" | |
} | |
], | |
"src": "14754:775:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "15641:74:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "15663:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15671:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "15659:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15659:14:18" | |
}, | |
{ | |
"hexValue": "45524332305065726d69743a20696e76616c6964207369676e6174757265", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "15675:32:18", | |
"type": "", | |
"value": "ERC20Permit: invalid signature" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "15652:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15652:56:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15652:56:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "15633:6:18", | |
"type": "" | |
} | |
], | |
"src": "15535:180:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "15867:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "15877:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "15943:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "15948:2:18", | |
"type": "", | |
"value": "30" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "15884:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15884:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "15877:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "16049:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124", | |
"nodeType": "YulIdentifier", | |
"src": "15960:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "15960:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "15960:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "16062:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "16073:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16078:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16069:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16069:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "16062:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "15855:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "15863:3:18", | |
"type": "" | |
} | |
], | |
"src": "15721:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16264:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "16274:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16286:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16297:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16282:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16282:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "16274:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16321:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16332:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16317:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16317:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "16340:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "16346:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "16336:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16336:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16310:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16310:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16310:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "16366:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "16500:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "16374:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16374:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "16366:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "16244:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "16259:4:18", | |
"type": "" | |
} | |
], | |
"src": "16093:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16624:119:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "16646:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16654:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16642:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16642:14:18" | |
}, | |
{ | |
"hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "16658:34:18", | |
"type": "", | |
"value": "Ownable: new owner is the zero a" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16635:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16635:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16635:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "16714:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16722:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "16710:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16710:15:18" | |
}, | |
{ | |
"hexValue": "646472657373", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "16727:8:18", | |
"type": "", | |
"value": "ddress" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "16703:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16703:33:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16703:33:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "16616:6:18", | |
"type": "" | |
} | |
], | |
"src": "16518:225:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "16895:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "16905:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "16971:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "16976:2:18", | |
"type": "", | |
"value": "38" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "16912:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16912:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "16905:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "17077:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", | |
"nodeType": "YulIdentifier", | |
"src": "16988:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "16988:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "16988:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "17090:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "17101:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17106:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17097:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17097:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "17090:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "16883:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "16891:3:18", | |
"type": "" | |
} | |
], | |
"src": "16749:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17292:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "17302:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17314:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17325:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17310:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17310:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "17302:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17349:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17360:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17345:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17345:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "17368:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "17374:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "17364:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17364:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17338:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17338:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17338:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "17394:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "17528:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "17402:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17402:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "17394:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "17272:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "17287:4:18", | |
"type": "" | |
} | |
], | |
"src": "17121:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17652:117:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "17674:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17682:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17670:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17670:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f20616464", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "17686:34:18", | |
"type": "", | |
"value": "ERC20: approve from the zero add" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17663:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17663:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17663:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "17742:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "17750:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "17738:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17738:15:18" | |
}, | |
{ | |
"hexValue": "72657373", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "17755:6:18", | |
"type": "", | |
"value": "ress" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "17731:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17731:31:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "17731:31:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "17644:6:18", | |
"type": "" | |
} | |
], | |
"src": "17546:223:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "17921:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "17931:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "17997:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18002:2:18", | |
"type": "", | |
"value": "36" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "17938:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "17938:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "17931:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "18103:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208", | |
"nodeType": "YulIdentifier", | |
"src": "18014:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18014:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18014:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "18116:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "18127:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18132:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18123:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18123:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "18116:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "17909:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "17917:3:18", | |
"type": "" | |
} | |
], | |
"src": "17775:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "18318:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "18328:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18340:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18351:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18336:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18336:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "18328:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18375:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18386:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18371:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18371:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "18394:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "18400:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "18390:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18390:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "18364:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18364:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18364:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "18420:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "18554:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "18428:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18428:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "18420:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "18298:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "18313:4:18", | |
"type": "" | |
} | |
], | |
"src": "18147:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "18678:115:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "18700:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18708:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18696:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18696:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a20617070726f766520746f20746865207a65726f206164647265", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "18712:34:18", | |
"type": "", | |
"value": "ERC20: approve to the zero addre" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "18689:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18689:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18689:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "18768:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "18776:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "18764:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18764:15:18" | |
}, | |
{ | |
"hexValue": "7373", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "18781:4:18", | |
"type": "", | |
"value": "ss" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "18757:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18757:29:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "18757:29:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "18670:6:18", | |
"type": "" | |
} | |
], | |
"src": "18572:221:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "18945:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "18955:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "19021:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19026:2:18", | |
"type": "", | |
"value": "34" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "18962:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "18962:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "18955:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "19127:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029", | |
"nodeType": "YulIdentifier", | |
"src": "19038:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19038:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19038:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "19140:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "19151:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19156:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19147:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19147:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "19140:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "18933:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "18941:3:18", | |
"type": "" | |
} | |
], | |
"src": "18799:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "19342:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "19352:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19364:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19375:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19360:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19360:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "19352:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19399:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19410:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19395:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19395:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "19418:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "19424:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "19414:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19414:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19388:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19388:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19388:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "19444:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "19578:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "19452:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19452:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "19444:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "19322:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "19337:4:18", | |
"type": "" | |
} | |
], | |
"src": "19171:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "19702:73:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "19724:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "19732:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "19720:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19720:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a20696e73756666696369656e7420616c6c6f77616e6365", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "19736:31:18", | |
"type": "", | |
"value": "ERC20: insufficient allowance" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "19713:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19713:55:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "19713:55:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "19694:6:18", | |
"type": "" | |
} | |
], | |
"src": "19596:179:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "19927:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "19937:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "20003:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20008:2:18", | |
"type": "", | |
"value": "29" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "19944:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "19944:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "19937:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "20109:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe", | |
"nodeType": "YulIdentifier", | |
"src": "20020:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20020:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20020:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "20122:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "20133:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20138:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "20129:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20129:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "20122:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "19915:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "19923:3:18", | |
"type": "" | |
} | |
], | |
"src": "19781:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20324:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "20334:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "20346:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20357:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "20342:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20342:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "20334:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "20381:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20392:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "20377:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20377:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "20400:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "20406:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "20396:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20396:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "20370:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20370:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20370:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "20426:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "20560:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "20434:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20434:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "20426:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "20304:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "20319:4:18", | |
"type": "" | |
} | |
], | |
"src": "20153:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20684:118:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "20706:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20714:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "20702:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20702:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f206164", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "20718:34:18", | |
"type": "", | |
"value": "ERC20: transfer from the zero ad" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "20695:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20695:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20695:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "20774:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "20782:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "20770:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20770:15:18" | |
}, | |
{ | |
"hexValue": "6472657373", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "20787:7:18", | |
"type": "", | |
"value": "dress" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "20763:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20763:32:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "20763:32:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "20676:6:18", | |
"type": "" | |
} | |
], | |
"src": "20578:224:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "20954:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "20964:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "21030:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21035:2:18", | |
"type": "", | |
"value": "37" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "20971:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "20971:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "20964:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "21136:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea", | |
"nodeType": "YulIdentifier", | |
"src": "21047:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21047:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21047:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21149:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "21160:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21165:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21156:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21156:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "21149:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "20942:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "20950:3:18", | |
"type": "" | |
} | |
], | |
"src": "20808:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "21351:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21361:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21373:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21384:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21369:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21369:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "21361:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21408:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21419:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21404:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21404:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "21427:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "21433:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "21423:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21423:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21397:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21397:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21397:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21453:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "21587:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "21461:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21461:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "21453:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "21331:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "21346:4:18", | |
"type": "" | |
} | |
], | |
"src": "21180:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "21711:116:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "21733:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21741:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21729:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21729:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "21745:34:18", | |
"type": "", | |
"value": "ERC20: transfer to the zero addr" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21722:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21722:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21722:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "21801:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "21809:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "21797:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21797:15:18" | |
}, | |
{ | |
"hexValue": "657373", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "21814:5:18", | |
"type": "", | |
"value": "ess" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "21790:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21790:30:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "21790:30:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "21703:6:18", | |
"type": "" | |
} | |
], | |
"src": "21605:222:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "21979:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "21989:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "22055:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22060:2:18", | |
"type": "", | |
"value": "35" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "21996:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "21996:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "21989:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "22161:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f", | |
"nodeType": "YulIdentifier", | |
"src": "22072:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22072:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "22072:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "22174:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "22185:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22190:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "22181:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22181:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "22174:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "21967:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "21975:3:18", | |
"type": "" | |
} | |
], | |
"src": "21833:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "22376:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "22386:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "22398:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22409:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "22394:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22394:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "22386:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "22433:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22444:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "22429:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22429:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "22452:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "22458:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "22448:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22448:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "22422:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22422:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "22422:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "22478:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "22612:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "22486:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22486:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "22478:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "22356:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "22371:4:18", | |
"type": "" | |
} | |
], | |
"src": "22205:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "22736:119:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "22758:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22766:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "22754:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22754:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a207472616e7366657220616d6f756e7420657863656564732062", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "22770:34:18", | |
"type": "", | |
"value": "ERC20: transfer amount exceeds b" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "22747:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22747:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "22747:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "22826:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "22834:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "22822:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22822:15:18" | |
}, | |
{ | |
"hexValue": "616c616e6365", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "22839:8:18", | |
"type": "", | |
"value": "alance" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "22815:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "22815:33:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "22815:33:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "22728:6:18", | |
"type": "" | |
} | |
], | |
"src": "22630:225:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "23007:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "23017:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "23083:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "23088:2:18", | |
"type": "", | |
"value": "38" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "23024:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23024:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "23017:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "23189:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6", | |
"nodeType": "YulIdentifier", | |
"src": "23100:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23100:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "23100:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "23202:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "23213:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "23218:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "23209:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23209:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "23202:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "22995:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "23003:3:18", | |
"type": "" | |
} | |
], | |
"src": "22861:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "23404:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "23414:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "23426:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "23437:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "23422:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23422:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "23414:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "23461:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "23472:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "23457:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23457:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "23480:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "23486:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "23476:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23476:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "23450:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23450:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "23450:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "23506:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "23640:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "23514:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23514:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "23506:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "23384:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "23399:4:18", | |
"type": "" | |
} | |
], | |
"src": "23233:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "23764:114:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "23786:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "23794:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "23782:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23782:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a206275726e2066726f6d20746865207a65726f20616464726573", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "23798:34:18", | |
"type": "", | |
"value": "ERC20: burn from the zero addres" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "23775:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23775:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "23775:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "23854:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "23862:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "23850:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23850:15:18" | |
}, | |
{ | |
"hexValue": "73", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "23867:3:18", | |
"type": "", | |
"value": "s" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "23843:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "23843:28:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "23843:28:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "23756:6:18", | |
"type": "" | |
} | |
], | |
"src": "23658:220:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "24030:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "24040:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "24106:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "24111:2:18", | |
"type": "", | |
"value": "33" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "24047:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24047:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "24040:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "24212:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f", | |
"nodeType": "YulIdentifier", | |
"src": "24123:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24123:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "24123:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "24225:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "24236:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "24241:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "24232:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24232:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "24225:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "24018:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "24026:3:18", | |
"type": "" | |
} | |
], | |
"src": "23884:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "24427:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "24437:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "24449:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "24460:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "24445:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24445:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "24437:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "24484:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "24495:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "24480:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24480:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "24503:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "24509:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "24499:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24499:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "24473:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24473:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "24473:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "24529:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "24663:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "24537:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24537:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "24529:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "24407:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "24422:4:18", | |
"type": "" | |
} | |
], | |
"src": "24256:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "24787:115:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "24809:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "24817:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "24805:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24805:14:18" | |
}, | |
{ | |
"hexValue": "45524332303a206275726e20616d6f756e7420657863656564732062616c616e", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "24821:34:18", | |
"type": "", | |
"value": "ERC20: burn amount exceeds balan" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "24798:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24798:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "24798:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "24877:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "24885:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "24873:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24873:15:18" | |
}, | |
{ | |
"hexValue": "6365", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "24890:4:18", | |
"type": "", | |
"value": "ce" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "24866:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "24866:29:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "24866:29:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "24779:6:18", | |
"type": "" | |
} | |
], | |
"src": "24681:221:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "25054:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "25064:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "25130:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "25135:2:18", | |
"type": "", | |
"value": "34" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "25071:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25071:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "25064:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "25236:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd", | |
"nodeType": "YulIdentifier", | |
"src": "25147:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25147:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "25147:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "25249:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "25260:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "25265:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "25256:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25256:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "25249:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "25042:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "25050:3:18", | |
"type": "" | |
} | |
], | |
"src": "24908:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "25451:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "25461:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "25473:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "25484:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "25469:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25469:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "25461:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "25508:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "25519:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "25504:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25504:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "25527:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "25533:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "25523:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25523:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "25497:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25497:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "25497:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "25553:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "25687:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "25561:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25561:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "25553:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "25431:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "25446:4:18", | |
"type": "" | |
} | |
], | |
"src": "25280:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "25811:76:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "25833:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "25841:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "25829:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25829:14:18" | |
}, | |
{ | |
"hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "25845:34:18", | |
"type": "", | |
"value": "Ownable: caller is not the owner" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "25822:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "25822:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "25822:58:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "25803:6:18", | |
"type": "" | |
} | |
], | |
"src": "25705:182:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "26039:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "26049:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "26115:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "26120:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "26056:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26056:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "26049:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "26221:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", | |
"nodeType": "YulIdentifier", | |
"src": "26132:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26132:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "26132:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "26234:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "26245:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "26250:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "26241:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26241:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "26234:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "26027:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "26035:3:18", | |
"type": "" | |
} | |
], | |
"src": "25893:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "26436:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "26446:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "26458:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "26469:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "26454:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26454:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "26446:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "26493:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "26504:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "26489:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26489:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "26512:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "26518:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "26508:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26508:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "26482:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26482:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "26482:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "26538:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "26672:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "26546:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26546:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "26538:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "26416:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "26431:4:18", | |
"type": "" | |
} | |
], | |
"src": "26265:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "26900:454:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "26910:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "26922:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "26933:3:18", | |
"type": "", | |
"value": "160" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "26918:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26918:19:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "26910:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "26991:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27004:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27015:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27000:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27000:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "26947:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "26947:71:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "26947:71:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "27072:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27085:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27096:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27081:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27081:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "27028:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27028:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27028:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "27154:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27167:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27178:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27163:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27163:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "27110:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27110:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27110:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "27236:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27249:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27260:2:18", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27245:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27245:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "27192:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27192:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27192:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value4", | |
"nodeType": "YulIdentifier", | |
"src": "27318:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27331:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27342:3:18", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27327:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27327:19:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "27274:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27274:73:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27274:73:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "26840:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value4", | |
"nodeType": "YulTypedName", | |
"src": "26852:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "26860:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "26868:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "26876:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "26884:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "26895:4:18", | |
"type": "" | |
} | |
], | |
"src": "26690:664:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "27538:367:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "27548:27:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27560:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27571:3:18", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27556:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27556:19:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "27548:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "27629:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27642:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27653:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27638:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27638:17:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "27585:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27585:71:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27585:71:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "27706:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27719:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27730:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27715:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27715:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint8_to_t_uint8_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "27666:39:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27666:68:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27666:68:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "27788:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27801:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27812:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27797:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27797:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "27744:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27744:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27744:72:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "27870:6:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "27883:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27894:2:18", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "27879:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27879:18:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "27826:43:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27826:72:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27826:72:18" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "27486:9:18", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "27498:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "27506:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "27514:6:18", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "27522:6:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "27533:4:18", | |
"type": "" | |
} | |
], | |
"src": "27360:545:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "27939:152:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27956:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "27959:77:18", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "27949:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "27949:88:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "27949:88:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28053:1:18", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28056:4:18", | |
"type": "", | |
"value": "0x21" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "28046:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28046:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "28046:15:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28077:1:18", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28080:4:18", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "28070:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28070:15:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "28070:15:18" | |
} | |
] | |
}, | |
"name": "panic_error_0x21", | |
"nodeType": "YulFunctionDefinition", | |
"src": "27911:180:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "28203:68:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "28225:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28233:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "28221:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28221:14:18" | |
}, | |
{ | |
"hexValue": "45434453413a20696e76616c6964207369676e6174757265", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "28237:26:18", | |
"type": "", | |
"value": "ECDSA: invalid signature" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "28214:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28214:50:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "28214:50:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "28195:6:18", | |
"type": "" | |
} | |
], | |
"src": "28097:174:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "28423:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "28433:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "28499:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28504:2:18", | |
"type": "", | |
"value": "24" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "28440:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28440:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "28433:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "28605:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be", | |
"nodeType": "YulIdentifier", | |
"src": "28516:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28516:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "28516:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "28618:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "28629:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28634:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "28625:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28625:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "28618:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "28411:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "28419:3:18", | |
"type": "" | |
} | |
], | |
"src": "28277:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "28820:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "28830:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "28842:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28853:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "28838:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28838:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "28830:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "28877:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "28888:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "28873:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28873:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "28896:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "28902:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "28892:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28892:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "28866:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28866:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "28866:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "28922:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "29056:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "28930:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "28930:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "28922:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "28800:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "28815:4:18", | |
"type": "" | |
} | |
], | |
"src": "28649:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "29180:75:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "29202:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "29210:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "29198:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29198:14:18" | |
}, | |
{ | |
"hexValue": "45434453413a20696e76616c6964207369676e6174757265206c656e677468", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "29214:33:18", | |
"type": "", | |
"value": "ECDSA: invalid signature length" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "29191:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29191:57:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "29191:57:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "29172:6:18", | |
"type": "" | |
} | |
], | |
"src": "29074:181:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "29407:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "29417:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "29483:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "29488:2:18", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "29424:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29424:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "29417:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "29589:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77", | |
"nodeType": "YulIdentifier", | |
"src": "29500:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29500:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "29500:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "29602:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "29613:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "29618:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "29609:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29609:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "29602:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "29395:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "29403:3:18", | |
"type": "" | |
} | |
], | |
"src": "29261:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "29804:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "29814:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "29826:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "29837:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "29822:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29822:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "29814:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "29861:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "29872:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "29857:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29857:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "29880:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "29886:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "29876:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29876:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "29850:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29850:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "29850:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "29906:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "30040:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "29914:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "29914:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "29906:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "29784:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "29799:4:18", | |
"type": "" | |
} | |
], | |
"src": "29633:419:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "30164:115:18", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "30186:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "30194:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "30182:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30182:14:18" | |
}, | |
{ | |
"hexValue": "45434453413a20696e76616c6964207369676e6174757265202773272076616c", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "30198:34:18", | |
"type": "", | |
"value": "ECDSA: invalid signature 's' val" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "30175:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30175:58:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "30175:58:18" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "30254:6:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "30262:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "30250:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30250:15:18" | |
}, | |
{ | |
"hexValue": "7565", | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "30267:4:18", | |
"type": "", | |
"value": "ue" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "30243:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30243:29:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "30243:29:18" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "30156:6:18", | |
"type": "" | |
} | |
], | |
"src": "30058:221:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "30431:220:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "30441:74:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "30507:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "30512:2:18", | |
"type": "", | |
"value": "34" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "30448:58:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30448:67:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "30441:3:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "30613:3:18" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd", | |
"nodeType": "YulIdentifier", | |
"src": "30524:88:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30524:93:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "30524:93:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "30626:19:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "30637:3:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "30642:2:18", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "30633:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30633:12:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "30626:3:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "30419:3:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "30427:3:18", | |
"type": "" | |
} | |
], | |
"src": "30285:366:18" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "30828:248:18", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "30838:26:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "30850:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "30861:2:18", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "30846:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30846:18:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "30838:4:18" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "30885:9:18" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "30896:1:18", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "30881:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30881:17:18" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "30904:4:18" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "30910:9:18" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "30900:3:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30900:20:18" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "30874:6:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30874:47:18" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "30874:47:18" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "30930:139:18", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "31064:4:18" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "30938:124:18" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "30938:131:18" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "30930:4:18" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "30808:9:18", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "30823:4:18", | |
"type": "" | |
} | |
], | |
"src": "30657:419:18" | |
} | |
] | |
}, | |
"contents": "{\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function copy_memory_to_memory_with_cleanup(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function cleanup_t_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 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_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(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 let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_uint8(value) -> cleaned {\n cleaned := and(value, 0xff)\n }\n\n function abi_encode_t_uint8_to_t_uint8_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint8(value))\n }\n\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint8_to_t_uint8_fromStack(value0, add(headStart, 0))\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_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function cleanup_t_bytes1(value) -> cleaned {\n cleaned := and(value, 0xff00000000000000000000000000000000000000000000000000000000000000)\n }\n\n function abi_encode_t_bytes1_to_t_bytes1_fromStack(value, pos) {\n mstore(pos, cleanup_t_bytes1(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 array_length_t_array$_t_uint256_$dyn_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function array_dataslot_t_array$_t_uint256_$dyn_memory_ptr(ptr) -> data {\n data := ptr\n\n data := add(ptr, 0x20)\n\n }\n\n function abi_encode_t_uint256_to_t_uint256(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encodeUpdatedPos_t_uint256_to_t_uint256(value0, pos) -> updatedPos {\n abi_encode_t_uint256_to_t_uint256(value0, pos)\n updatedPos := add(pos, 0x20)\n }\n\n function array_nextElement_t_array$_t_uint256_$dyn_memory_ptr(ptr) -> next {\n next := add(ptr, 0x20)\n }\n\n // uint256[] -> uint256[]\n function abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_array$_t_uint256_$dyn_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_array$_t_uint256_$dyn_memory_ptr_fromStack(pos, length)\n let baseRef := array_dataslot_t_array$_t_uint256_$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_uint256_to_t_uint256(elementValue0, pos)\n srcPtr := array_nextElement_t_array$_t_uint256_$dyn_memory_ptr(srcPtr)\n }\n end := pos\n }\n\n function abi_encode_tuple_t_bytes1_t_string_memory_ptr_t_string_memory_ptr_t_uint256_t_address_t_bytes32_t_array$_t_uint256_$dyn_memory_ptr__to_t_bytes1_t_string_memory_ptr_t_string_memory_ptr_t_uint256_t_address_t_bytes32_t_array$_t_uint256_$dyn_memory_ptr__fromStack_reversed(headStart , value6, value5, value4, value3, value2, value1, value0) -> tail {\n tail := add(headStart, 224)\n\n abi_encode_t_bytes1_to_t_bytes1_fromStack(value0, add(headStart, 0))\n\n mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value1, tail)\n\n mstore(add(headStart, 64), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value2, tail)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value3, add(headStart, 96))\n\n abi_encode_t_address_to_t_address_fromStack(value4, add(headStart, 128))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value5, add(headStart, 160))\n\n mstore(add(headStart, 192), sub(tail, headStart))\n tail := abi_encode_t_array$_t_uint256_$dyn_memory_ptr_to_t_array$_t_uint256_$dyn_memory_ptr_fromStack(value6, tail)\n\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 validator_revert_t_uint8(value) {\n if iszero(eq(value, cleanup_t_uint8(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint8(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint8(value)\n }\n\n function validator_revert_t_bytes32(value) {\n if iszero(eq(value, cleanup_t_bytes32(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_bytes32(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_bytes32(value)\n }\n\n function abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint8t_bytes32t_bytes32(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6 {\n if slt(sub(dataEnd, headStart), 224) { 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 let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 96\n\n value3 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 128\n\n value4 := abi_decode_t_uint8(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 160\n\n value5 := abi_decode_t_bytes32(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 192\n\n value6 := abi_decode_t_bytes32(add(headStart, offset), dataEnd)\n }\n\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 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 panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n sum := add(x, y)\n\n if gt(x, sum) { panic_error_0x11() }\n\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: decreased allowance below\")\n\n mstore(add(memPtr, 32), \" zero\")\n\n }\n\n function abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 37)\n store_literal_in_memory_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20Permit: expired deadline\")\n\n }\n\n function abi_encode_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 29)\n store_literal_in_memory_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_3e89525a63fb9c966b61cf8f5305156de8420bc773a2b60828a2f32c3c5797bd_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__to_t_bytes32_t_address_t_address_t_uint256_t_uint256_t_uint256__fromStack_reversed(headStart , value5, value4, value3, value2, value1, value0) -> tail {\n tail := add(headStart, 192)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_address_to_t_address_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_address_to_t_address_fromStack(value2, add(headStart, 64))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value3, add(headStart, 96))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value4, add(headStart, 128))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value5, add(headStart, 160))\n\n }\n\n function store_literal_in_memory_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20Permit: invalid signature\")\n\n }\n\n function abi_encode_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 30)\n store_literal_in_memory_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_94ca1ab58dfda790a1782ffbb0c0a140ec51d4148dbeecc6c39e37b25ff4b124_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe(memPtr) {\n\n mstore(add(memPtr, 0), \"Ownable: new owner is the zero a\")\n\n mstore(add(memPtr, 32), \"ddress\")\n\n }\n\n function abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 38)\n store_literal_in_memory_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: approve from the zero add\")\n\n mstore(add(memPtr, 32), \"ress\")\n\n }\n\n function abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 36)\n store_literal_in_memory_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: approve to the zero addre\")\n\n mstore(add(memPtr, 32), \"ss\")\n\n }\n\n function abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 34)\n store_literal_in_memory_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: insufficient allowance\")\n\n }\n\n function abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 29)\n store_literal_in_memory_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer from the zero ad\")\n\n mstore(add(memPtr, 32), \"dress\")\n\n }\n\n function abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 37)\n store_literal_in_memory_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer to the zero addr\")\n\n mstore(add(memPtr, 32), \"ess\")\n\n }\n\n function abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 35)\n store_literal_in_memory_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: transfer amount exceeds b\")\n\n mstore(add(memPtr, 32), \"alance\")\n\n }\n\n function abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 38)\n store_literal_in_memory_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: burn from the zero addres\")\n\n mstore(add(memPtr, 32), \"s\")\n\n }\n\n function abi_encode_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 33)\n store_literal_in_memory_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd(memPtr) {\n\n mstore(add(memPtr, 0), \"ERC20: burn amount exceeds balan\")\n\n mstore(add(memPtr, 32), \"ce\")\n\n }\n\n function abi_encode_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 34)\n store_literal_in_memory_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe(memPtr) {\n\n mstore(add(memPtr, 0), \"Ownable: caller is not the owner\")\n\n }\n\n function abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 32)\n store_literal_in_memory_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__to_t_bytes32_t_bytes32_t_bytes32_t_uint256_t_address__fromStack_reversed(headStart , value4, value3, value2, value1, value0) -> tail {\n tail := add(headStart, 160)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value2, add(headStart, 64))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value3, add(headStart, 96))\n\n abi_encode_t_address_to_t_address_fromStack(value4, add(headStart, 128))\n\n }\n\n function abi_encode_tuple_t_bytes32_t_uint8_t_bytes32_t_bytes32__to_t_bytes32_t_uint8_t_bytes32_t_bytes32__fromStack_reversed(headStart , value3, value2, value1, value0) -> tail {\n tail := add(headStart, 128)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint8_to_t_uint8_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value2, add(headStart, 64))\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value3, add(headStart, 96))\n\n }\n\n function panic_error_0x21() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n\n function store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be(memPtr) {\n\n mstore(add(memPtr, 0), \"ECDSA: invalid signature\")\n\n }\n\n function abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 24)\n store_literal_in_memory_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_00043f6bf76368aa97c21698e9b9d4779e31902453daccf3525ddfb36e53e2be_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77(memPtr) {\n\n mstore(add(memPtr, 0), \"ECDSA: invalid signature length\")\n\n }\n\n function abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 31)\n store_literal_in_memory_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_1669ff3ba3cdf64474e1193492d05b8434e29b0b495e60095eb5f5c8ec14ce77_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd(memPtr) {\n\n mstore(add(memPtr, 0), \"ECDSA: invalid signature 's' val\")\n\n mstore(add(memPtr, 32), \"ue\")\n\n }\n\n function abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 34)\n store_literal_in_memory_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_520d1f787dbcafbbfc007fd2c4ecf3d2711ec587f3ee9a1215c0b646c3e530bd_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n", | |
"id": 18, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": { | |
"2121": [ | |
{ | |
"length": 32, | |
"start": 4122 | |
} | |
], | |
"2123": [ | |
{ | |
"length": 32, | |
"start": 4081 | |
} | |
], | |
"2125": [ | |
{ | |
"length": 32, | |
"start": 3995 | |
} | |
], | |
"2127": [ | |
{ | |
"length": 32, | |
"start": 5359 | |
} | |
], | |
"2129": [ | |
{ | |
"length": 32, | |
"start": 5392 | |
} | |
], | |
"2132": [ | |
{ | |
"length": 32, | |
"start": 1587 | |
} | |
], | |
"2135": [ | |
{ | |
"length": 32, | |
"start": 1639 | |
} | |
] | |
}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b506004361061012c5760003560e01c806379cc6790116100ad578063a457c2d711610071578063a457c2d71461033b578063a9059cbb1461036b578063d505accf1461039b578063dd62ed3e146103b7578063f2fde38b146103e75761012c565b806379cc67901461028f5780637ecebe00146102ab57806384b0196e146102db5780638da5cb5b146102ff57806395d89b411461031d5761012c565b80633644e515116100f45780633644e515146101eb578063395093511461020957806342966c681461023957806370a0823114610255578063715018a6146102855761012c565b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461017f57806323b872dd1461019d578063313ce567146101cd575b600080fd5b610139610403565b6040516101469190611953565b60405180910390f35b61016960048036038101906101649190611a0e565b610495565b6040516101769190611a69565b60405180910390f35b6101876104b8565b6040516101949190611a93565b60405180910390f35b6101b760048036038101906101b29190611aae565b6104c2565b6040516101c49190611a69565b60405180910390f35b6101d56104f1565b6040516101e29190611b1d565b60405180910390f35b6101f36104fa565b6040516102009190611b51565b60405180910390f35b610223600480360381019061021e9190611a0e565b610509565b6040516102309190611a69565b60405180910390f35b610253600480360381019061024e9190611b6c565b610540565b005b61026f600480360381019061026a9190611b99565b610554565b60405161027c9190611a93565b60405180910390f35b61028d61059c565b005b6102a960048036038101906102a49190611a0e565b6105b0565b005b6102c560048036038101906102c09190611b99565b6105d0565b6040516102d29190611a93565b60405180910390f35b6102e3610620565b6040516102f69796959493929190611cce565b60405180910390f35b610307610722565b6040516103149190611d52565b60405180910390f35b61032561074c565b6040516103329190611953565b60405180910390f35b61035560048036038101906103509190611a0e565b6107de565b6040516103629190611a69565b60405180910390f35b61038560048036038101906103809190611a0e565b610855565b6040516103929190611a69565b60405180910390f35b6103b560048036038101906103b09190611dc5565b610878565b005b6103d160048036038101906103cc9190611e67565b6109ba565b6040516103de9190611a93565b60405180910390f35b61040160048036038101906103fc9190611b99565b610a41565b005b60606003805461041290611ed6565b80601f016020809104026020016040519081016040528092919081815260200182805461043e90611ed6565b801561048b5780601f106104605761010080835404028352916020019161048b565b820191906000526020600020905b81548152906001019060200180831161046e57829003601f168201915b5050505050905090565b6000806104a0610ac4565b90506104ad818585610acc565b600191505092915050565b6000600254905090565b6000806104cd610ac4565b90506104da858285610c95565b6104e5858585610d21565b60019150509392505050565b60006012905090565b6000610504610f97565b905090565b600080610514610ac4565b905061053581858561052685896109ba565b6105309190611f36565b610acc565b600191505092915050565b61055161054b610ac4565b8261104e565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6105a461121b565b6105ae6000611299565b565b6105c2826105bc610ac4565b83610c95565b6105cc828261104e565b5050565b6000610619600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061135f565b9050919050565b60006060806000806000606061066060057f000000000000000000000000000000000000000000000000000000000000000061136d90919063ffffffff16565b61069460067f000000000000000000000000000000000000000000000000000000000000000061136d90919063ffffffff16565b46306000801b600067ffffffffffffffff8111156106b5576106b4611f6a565b5b60405190808252806020026020018201604052 |
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