More Info
Private Name Tags
ContractCreator
TokenTracker
Sponsored
Latest 25 from a total of 197 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 9877351 | 39 hrs ago | IN | 0 ETH | 0.00000012 | ||||
Transfer | 9877328 | 39 hrs ago | IN | 0 ETH | 0.00000012 | ||||
Permit | 9410183 | 12 days ago | IN | 0 ETH | 0.00000013 | ||||
Permit | 9106518 | 19 days ago | IN | 0 ETH | 0.00000015 | ||||
Permit | 7709772 | 51 days ago | IN | 0 ETH | 0.0000004 | ||||
Permit | 6981889 | 68 days ago | IN | 0 ETH | 0 | ||||
Permit | 6802251 | 72 days ago | IN | 0 ETH | 0.00000025 | ||||
Permit | 6801925 | 72 days ago | IN | 0 ETH | 0.00000037 | ||||
Permit | 6768434 | 73 days ago | IN | 0 ETH | 0 | ||||
Permit | 6663039 | 76 days ago | IN | 0 ETH | 0.00000008 | ||||
Permit | 6528126 | 79 days ago | IN | 0 ETH | 0.00000001 | ||||
Permit | 6438025 | 81 days ago | IN | 0 ETH | 0.00000001 | ||||
Permit | 6237312 | 85 days ago | IN | 0 ETH | 0.00000007 | ||||
Permit | 6044506 | 90 days ago | IN | 0 ETH | 0.00000002 | ||||
Permit | 6040768 | 90 days ago | IN | 0 ETH | 0.00000005 | ||||
Permit | 5947197 | 92 days ago | IN | 0 ETH | 0.00000086 | ||||
Permit | 5903110 | 93 days ago | IN | 0 ETH | 0.00000006 | ||||
Transfer | 5622912 | 100 days ago | IN | 0 ETH | 0.00000036 | ||||
Permit | 5422405 | 104 days ago | IN | 0 ETH | 0.00000047 | ||||
Approve | 5379970 | 105 days ago | IN | 0 ETH | 0.00000052 | ||||
Permit | 5348591 | 106 days ago | IN | 0 ETH | 0.00000181 | ||||
Permit | 5325627 | 106 days ago | IN | 0 ETH | 0.00000129 | ||||
Permit | 5269929 | 108 days ago | IN | 0 ETH | 0.00000075 | ||||
Permit | 5269823 | 108 days ago | IN | 0 ETH | 0.00000107 | ||||
Permit | 5183018 | 110 days ago | IN | 0 ETH | 0.00000943 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BlastPoints
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/** *Submitted for verification at blastscan.io on 2024-03-08 */ // Sources flattened with hardhat v2.20.0 https://hardhat.org // SPDX-License-Identifier: MIT AND UNLICENSED // File @openzeppelin/contracts/utils/[email protected] // Original license: 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; } } // File @openzeppelin/contracts/access/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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); } } // File @openzeppelin/contracts/interfaces/[email protected] // Original license: 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); } // File @openzeppelin/contracts/token/ERC20/[email protected] // Original license: 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); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; /** * @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); } // File @openzeppelin/contracts/token/ERC20/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; /** * @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); } } } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.20; /** * @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); } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // Original license: 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); } // File @openzeppelin/contracts/utils/cryptography/[email protected] // Original license: 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); } } } // File @openzeppelin/contracts/interfaces/[email protected] // Original license: 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 ); } // File @openzeppelin/contracts/utils/math/[email protected] // Original license: 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; } } // File @openzeppelin/contracts/utils/math/[email protected] // Original license: 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); } } } // File @openzeppelin/contracts/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @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)); } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol) pragma solidity ^0.8.20; /** * @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) } } } // File @openzeppelin/contracts/utils/[email protected] // Original license: 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 } } } // File @openzeppelin/contracts/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol) pragma solidity ^0.8.20; // | 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; } } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.20; /** * @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); } } // File @openzeppelin/contracts/utils/[email protected] // Original license: 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); } } } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Permit.sol) pragma solidity ^0.8.20; /** * @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(); } } // File contracts/vesting/earlyzero/EarlyZERO.sol // Original license: SPDX_License_Identifier: UNLICENSED pragma solidity ^0.8.20; // ███████╗███████╗██████╗ ██████╗ // ╚══███╔╝██╔════╝██╔══██╗██╔═══██╗ // ███╔╝ █████╗ ██████╔╝██║ ██║ // ███╔╝ ██╔══╝ ██╔══██╗██║ ██║ // ███████╗███████╗██║ ██║╚██████╔╝ // ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ // Website: https://zerolend.xyz // Discord: https://discord.gg/zerolend // Twitter: https://twitter.com/zerolendxyz contract BlastPoints is ERC20, ERC20Permit, ERC20Burnable, Ownable { mapping(address => bool) public whitelist; mapping(address => bool) public blacklist; bool public enableWhitelist; bool public enableBlacklist; constructor() ERC20("EarlyZERO", "earlyZERO") ERC20Permit("earlyZERO") Ownable(msg.sender) { whitelist[msg.sender] = true; whitelist[address(this)] = true; whitelist[address(0)] = true; enableWhitelist = true; enableBlacklist = false; _mint(msg.sender, 100_000_000_000 ether); } function addblacklist(address who, bool what) external onlyOwner { blacklist[who] = what; } function addwhitelist(address who, bool what) external onlyOwner { whitelist[who] = what; } function toggleWhitelist(bool from, bool to) external onlyOwner { enableWhitelist = from; enableBlacklist = to; } function _update( address from, address to, uint256 value ) internal virtual override { super._update(from, to, value); if (enableWhitelist) { require(whitelist[from] || whitelist[to], "!whitelist"); } if (enableBlacklist) { require(!blacklist[to] && !blacklist[from], "blacklist"); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"},{"internalType":"bool","name":"what","type":"bool"}],"name":"addblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"},{"internalType":"bool","name":"what","type":"bool"}],"name":"addwhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"from","type":"bool"},{"internalType":"bool","name":"to","type":"bool"}],"name":"toggleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
61016060405234801562000011575f80fd5b50336040518060400160405280600981526020017f6561726c795a45524f0000000000000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f4561726c795a45524f00000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f6561726c795a45524f00000000000000000000000000000000000000000000008152508160039081620000fd919062000c9d565b5080600490816200010f919062000c9d565b50505062000128600583620003a060201b90919060201c565b610120818152505062000146600682620003a060201b90919060201c565b6101408181525050818051906020012060e08181525050808051906020012061010081815250504660a0818152505062000185620003f560201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250505050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000236575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200022d919062000dc4565b60405180910390fd5b62000247816200045160201b60201c565b50600160095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600160095f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600160095f8073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506001600b5f6101000a81548160ff0219169083151502179055505f600b60016101000a81548160ff0219169083151502179055506200039a336c01431e0fae6d7217caa00000006200051460201b60201c565b62001148565b5f602083511015620003c557620003bd836200059e60201b60201c565b9050620003ef565b82620003d7836200060860201b60201c565b5f019081620003e7919062000c9d565b5060ff5f1b90505b92915050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60e0516101005146306040516020016200043695949392919062000e0a565b60405160208183030381529060405280519060200120905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000587575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200057e919062000dc4565b60405180910390fd5b6200059a5f83836200061160201b60201c565b5050565b5f80829050601f81511115620005ed57826040517f305a27a9000000000000000000000000000000000000000000000000000000008152600401620005e4919062000eef565b60405180910390fd5b805181620005fb9062000f40565b5f1c175f1b915050919050565b5f819050919050565b620006248383836200081560201b60201c565b600b5f9054906101000a900460ff1615620007185760095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680620006d5575060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b62000717576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200070e9062000ffd565b60405180910390fd5b5b600b60019054906101000a900460ff16156200081057600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015620007cd5750600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b6200080f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000806906200106b565b60405180910390fd5b5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000869578060025f8282546200085c9190620010b8565b925050819055506200093a565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015620008f5578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620008ec93929190620010f2565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000983578060025f8282540392505081905550620009cd565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000a2c91906200112d565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168062000ab557607f821691505b60208210810362000acb5762000aca62000a70565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830262000b2f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000af2565b62000b3b868362000af2565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000b8562000b7f62000b798462000b53565b62000b5c565b62000b53565b9050919050565b5f819050919050565b62000ba08362000b65565b62000bb862000baf8262000b8c565b84845462000afe565b825550505050565b5f90565b62000bce62000bc0565b62000bdb81848462000b95565b505050565b5b8181101562000c025762000bf65f8262000bc4565b60018101905062000be1565b5050565b601f82111562000c515762000c1b8162000ad1565b62000c268462000ae3565b8101602085101562000c36578190505b62000c4e62000c458562000ae3565b83018262000be0565b50505b505050565b5f82821c905092915050565b5f62000c735f198460080262000c56565b1980831691505092915050565b5f62000c8d838362000c62565b9150826002028217905092915050565b62000ca88262000a39565b67ffffffffffffffff81111562000cc45762000cc362000a43565b5b62000cd0825462000a9d565b62000cdd82828562000c06565b5f60209050601f83116001811462000d13575f841562000cfe578287015190505b62000d0a858262000c80565b86555062000d79565b601f19841662000d238662000ad1565b5f5b8281101562000d4c5784890151825560018201915060208501945060208101905062000d25565b8683101562000d6c578489015162000d68601f89168262000c62565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000dac8262000d81565b9050919050565b62000dbe8162000da0565b82525050565b5f60208201905062000dd95f83018462000db3565b92915050565b5f819050919050565b62000df38162000ddf565b82525050565b62000e048162000b53565b82525050565b5f60a08201905062000e1f5f83018862000de8565b62000e2e602083018762000de8565b62000e3d604083018662000de8565b62000e4c606083018562000df9565b62000e5b608083018462000db3565b9695505050505050565b5f82825260208201905092915050565b5f5b8381101562000e9457808201518184015260208101905062000e77565b5f8484015250505050565b5f601f19601f8301169050919050565b5f62000ebb8262000a39565b62000ec7818562000e65565b935062000ed981856020860162000e75565b62000ee48162000e9f565b840191505092915050565b5f6020820190508181035f83015262000f09818462000eaf565b905092915050565b5f81519050919050565b5f819050602082019050919050565b5f62000f37825162000ddf565b80915050919050565b5f62000f4c8262000f11565b8262000f588462000f1b565b905062000f658162000f2a565b9250602082101562000fa85762000fa37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8360200360080262000af2565b831692505b5050919050565b7f2177686974656c697374000000000000000000000000000000000000000000005f82015250565b5f62000fe5600a8362000e65565b915062000ff28262000faf565b602082019050919050565b5f6020820190508181035f830152620010168162000fd7565b9050919050565b7f626c61636b6c69737400000000000000000000000000000000000000000000005f82015250565b5f6200105360098362000e65565b915062001060826200101d565b602082019050919050565b5f6020820190508181035f830152620010848162001045565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f620010c48262000b53565b9150620010d18362000b53565b9250828201905080821115620010ec57620010eb6200108b565b5b92915050565b5f606082019050620011075f83018662000db3565b62001116602083018562000df9565b62001125604083018462000df9565b949350505050565b5f602082019050620011425f83018462000df9565b92915050565b60805160a05160c05160e05161010051610120516101405161252b6200119a5f395f61103f01525f61100401525f61151101525f6114f001525f610d3901525f610d8f01525f610db8015261252b5ff3fe608060405234801561000f575f80fd5b5060043610610171575f3560e01c80638da5cb5b116100dc578063d505accf11610095578063f2fde38b1161006f578063f2fde38b14610451578063f9f92be41461046d578063fcd5dd1c1461049d578063ff25856c146104b957610171565b8063d505accf146103e9578063dd62ed3e14610405578063df49ed7c1461043557610171565b80638da5cb5b1461031357806395d89b41146103315780639b19251a1461034f578063a9059cbb1461037f578063ca3562e5146103af578063cdfb2b4e146103cb57610171565b806342966c681161012e57806342966c681461024d57806370a0823114610269578063715018a61461029957806379cc6790146102a35780637ecebe00146102bf57806384b0196e146102ef57610171565b806306fdde0314610175578063095ea7b31461019357806318160ddd146101c357806323b872dd146101e1578063313ce567146102115780633644e5151461022f575b5f80fd5b61017d6104d7565b60405161018a9190611bfa565b60405180910390f35b6101ad60048036038101906101a89190611cab565b610567565b6040516101ba9190611d03565b60405180910390f35b6101cb610589565b6040516101d89190611d2b565b60405180910390f35b6101fb60048036038101906101f69190611d44565b610592565b6040516102089190611d03565b60405180910390f35b6102196105c0565b6040516102269190611daf565b60405180910390f35b6102376105c8565b6040516102449190611de0565b60405180910390f35b61026760048036038101906102629190611df9565b6105d6565b005b610283600480360381019061027e9190611e24565b6105ea565b6040516102909190611d2b565b60405180910390f35b6102a161062f565b005b6102bd60048036038101906102b89190611cab565b610642565b005b6102d960048036038101906102d49190611e24565b610662565b6040516102e69190611d2b565b60405180910390f35b6102f7610673565b60405161030a9796959493929190611f4f565b60405180910390f35b61031b610718565b6040516103289190611fd1565b60405180910390f35b610339610740565b6040516103469190611bfa565b60405180910390f35b61036960048036038101906103649190611e24565b6107d0565b6040516103769190611d03565b60405180910390f35b61039960048036038101906103949190611cab565b6107ed565b6040516103a69190611d03565b60405180910390f35b6103c960048036038101906103c49190612014565b61080f565b005b6103d361086f565b6040516103e09190611d03565b60405180910390f35b61040360048036038101906103fe91906120a6565b610881565b005b61041f600480360381019061041a9190612143565b6109c6565b60405161042c9190611d2b565b60405180910390f35b61044f600480360381019061044a9190612014565b610a48565b005b61046b60048036038101906104669190611e24565b610aa8565b005b61048760048036038101906104829190611e24565b610b2c565b6040516104949190611d03565b60405180910390f35b6104b760048036038101906104b29190612181565b610b49565b005b6104c1610b88565b6040516104ce9190611d03565b60405180910390f35b6060600380546104e6906121ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610512906121ec565b801561055d5780601f106105345761010080835404028352916020019161055d565b820191905f5260205f20905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b5f80610571610b9b565b905061057e818585610ba2565b600191505092915050565b5f600254905090565b5f8061059c610b9b565b90506105a9858285610bb4565b6105b4858585610c46565b60019150509392505050565b5f6012905090565b5f6105d1610d36565b905090565b6105e76105e1610b9b565b82610dec565b50565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610637610e6b565b6106405f610ef2565b565b6106548261064e610b9b565b83610bb4565b61065e8282610dec565b5050565b5f61066c82610fb5565b9050919050565b5f6060805f805f6060610684610ffb565b61068c611036565b46305f801b5f67ffffffffffffffff8111156106ab576106aa61221c565b5b6040519080825280602002602001820160405280156106d95781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461074f906121ec565b80601f016020809104026020016040519081016040528092919081815260200182805461077b906121ec565b80156107c65780601f1061079d576101008083540402835291602001916107c6565b820191905f5260205f20905b8154815290600101906020018083116107a957829003601f168201915b5050505050905090565b6009602052805f5260405f205f915054906101000a900460ff1681565b5f806107f7610b9b565b9050610804818585610c46565b600191505092915050565b610817610e6b565b8060095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b600b5f9054906101000a900460ff1681565b834211156108c657836040517f627913020000000000000000000000000000000000000000000000000000000081526004016108bd9190611d2b565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886108f48c611071565b8960405160200161090a96959493929190612249565b6040516020818303038152906040528051906020012090505f61092c826110c4565b90505f61093b828787876110dd565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109af57808a6040517f4b800e460000000000000000000000000000000000000000000000000000000081526004016109a69291906122a8565b60405180910390fd5b6109ba8a8a8a610ba2565b50505050505050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610a50610e6b565b80600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b610ab0610e6b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b20575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610b179190611fd1565b60405180910390fd5b610b2981610ef2565b50565b600a602052805f5260405f205f915054906101000a900460ff1681565b610b51610e6b565b81600b5f6101000a81548160ff02191690831515021790555080600b60016101000a81548160ff0219169083151502179055505050565b600b60019054906101000a900460ff1681565b5f33905090565b610baf838383600161110b565b505050565b5f610bbf84846109c6565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c405781811015610c31578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610c28939291906122cf565b60405180910390fd5b610c3f84848484035f61110b565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610cb6575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610cad9190611fd1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d26575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d1d9190611fd1565b60405180910390fd5b610d318383836112da565b505050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015610db157507f000000000000000000000000000000000000000000000000000000000000000046145b15610dde577f00000000000000000000000000000000000000000000000000000000000000009050610de9565b610de66114cc565b90505b90565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e5c575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610e539190611fd1565b60405180910390fd5b610e67825f836112da565b5050565b610e73610b9b565b73ffffffffffffffffffffffffffffffffffffffff16610e91610718565b73ffffffffffffffffffffffffffffffffffffffff1614610ef057610eb4610b9b565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610ee79190611fd1565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b606061103160057f000000000000000000000000000000000000000000000000000000000000000061156190919063ffffffff16565b905090565b606061106c60067f000000000000000000000000000000000000000000000000000000000000000061156190919063ffffffff16565b905090565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050559050919050565b5f6110d66110d0610d36565b8361160e565b9050919050565b5f805f806110ed8888888861164e565b9250925092506110fd8282611735565b829350505050949350505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361117b575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016111729190611fd1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111eb575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016111e29190611fd1565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080156112d4578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516112cb9190611d2b565b60405180910390a35b50505050565b6112e5838383611897565b600b5f9054906101000a900460ff16156113d45760095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611394575060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b6113d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ca9061234e565b60405180910390fd5b5b600b60019054906101000a900460ff16156114c757600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161580156114875750600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b6114c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bd906123b6565b60405180910390fd5b5b505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000046306040516020016115469594939291906123d4565b60405160208183030381529060405280519060200120905090565b606060ff5f1b831461157d5761157683611ab0565b9050611608565b818054611589906121ec565b80601f01602080910402602001604051908101604052809291908181526020018280546115b5906121ec565b80156116005780601f106115d757610100808354040283529160200191611600565b820191905f5260205f20905b8154815290600101906020018083116115e357829003601f168201915b505050505090505b92915050565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c111561168a575f60038592509250925061172b565b5f6001888888886040515f81526020016040526040516116ad9493929190612425565b6020604051602081039080840390855afa1580156116cd573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361171e575f60015f801b9350935093505061172b565b805f805f1b935093509350505b9450945094915050565b5f600381111561174857611747612468565b5b82600381111561175b5761175a612468565b5b0315611893576001600381111561177557611774612468565b5b82600381111561178857611787612468565b5b036117bf576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260038111156117d3576117d2612468565b5b8260038111156117e6576117e5612468565b5b0361182a57805f1c6040517ffce698f70000000000000000000000000000000000000000000000000000000081526004016118219190611d2b565b60405180910390fd5b60038081111561183d5761183c612468565b5b8260038111156118505761184f612468565b5b0361189257806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016118899190611de0565b60405180910390fd5b5b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118e7578060025f8282546118db91906124c2565b925050819055506119b5565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611970578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611967939291906122cf565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119fc578060025f8282540392505081905550611a46565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611aa39190611d2b565b60405180910390a3505050565b60605f611abc83611b22565b90505f602067ffffffffffffffff811115611ada57611ad961221c565b5b6040519080825280601f01601f191660200182016040528015611b0c5781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b5f8060ff835f1c169050601f811115611b67576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611ba7578082015181840152602081019050611b8c565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611bcc82611b70565b611bd68185611b7a565b9350611be6818560208601611b8a565b611bef81611bb2565b840191505092915050565b5f6020820190508181035f830152611c128184611bc2565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611c4782611c1e565b9050919050565b611c5781611c3d565b8114611c61575f80fd5b50565b5f81359050611c7281611c4e565b92915050565b5f819050919050565b611c8a81611c78565b8114611c94575f80fd5b50565b5f81359050611ca581611c81565b92915050565b5f8060408385031215611cc157611cc0611c1a565b5b5f611cce85828601611c64565b9250506020611cdf85828601611c97565b9150509250929050565b5f8115159050919050565b611cfd81611ce9565b82525050565b5f602082019050611d165f830184611cf4565b92915050565b611d2581611c78565b82525050565b5f602082019050611d3e5f830184611d1c565b92915050565b5f805f60608486031215611d5b57611d5a611c1a565b5b5f611d6886828701611c64565b9350506020611d7986828701611c64565b9250506040611d8a86828701611c97565b9150509250925092565b5f60ff82169050919050565b611da981611d94565b82525050565b5f602082019050611dc25f830184611da0565b92915050565b5f819050919050565b611dda81611dc8565b82525050565b5f602082019050611df35f830184611dd1565b92915050565b5f60208284031215611e0e57611e0d611c1a565b5b5f611e1b84828501611c97565b91505092915050565b5f60208284031215611e3957611e38611c1a565b5b5f611e4684828501611c64565b91505092915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b611e8381611e4f565b82525050565b611e9281611c3d565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b611eca81611c78565b82525050565b5f611edb8383611ec1565b60208301905092915050565b5f602082019050919050565b5f611efd82611e98565b611f078185611ea2565b9350611f1283611eb2565b805f5b83811015611f42578151611f298882611ed0565b9750611f3483611ee7565b925050600181019050611f15565b5085935050505092915050565b5f60e082019050611f625f83018a611e7a565b8181036020830152611f748189611bc2565b90508181036040830152611f888188611bc2565b9050611f976060830187611d1c565b611fa46080830186611e89565b611fb160a0830185611dd1565b81810360c0830152611fc38184611ef3565b905098975050505050505050565b5f602082019050611fe45f830184611e89565b92915050565b611ff381611ce9565b8114611ffd575f80fd5b50565b5f8135905061200e81611fea565b92915050565b5f806040838503121561202a57612029611c1a565b5b5f61203785828601611c64565b925050602061204885828601612000565b9150509250929050565b61205b81611d94565b8114612065575f80fd5b50565b5f8135905061207681612052565b92915050565b61208581611dc8565b811461208f575f80fd5b50565b5f813590506120a08161207c565b92915050565b5f805f805f805f60e0888a0312156120c1576120c0611c1a565b5b5f6120ce8a828b01611c64565b97505060206120df8a828b01611c64565b96505060406120f08a828b01611c97565b95505060606121018a828b01611c97565b94505060806121128a828b01612068565b93505060a06121238a828b01612092565b92505060c06121348a828b01612092565b91505092959891949750929550565b5f806040838503121561215957612158611c1a565b5b5f61216685828601611c64565b925050602061217785828601611c64565b9150509250929050565b5f806040838503121561219757612196611c1a565b5b5f6121a485828601612000565b92505060206121b585828601612000565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061220357607f821691505b602082108103612216576122156121bf565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60c08201905061225c5f830189611dd1565b6122696020830188611e89565b6122766040830187611e89565b6122836060830186611d1c565b6122906080830185611d1c565b61229d60a0830184611d1c565b979650505050505050565b5f6040820190506122bb5f830185611e89565b6122c86020830184611e89565b9392505050565b5f6060820190506122e25f830186611e89565b6122ef6020830185611d1c565b6122fc6040830184611d1c565b949350505050565b7f2177686974656c697374000000000000000000000000000000000000000000005f82015250565b5f612338600a83611b7a565b915061234382612304565b602082019050919050565b5f6020820190508181035f8301526123658161232c565b9050919050565b7f626c61636b6c69737400000000000000000000000000000000000000000000005f82015250565b5f6123a0600983611b7a565b91506123ab8261236c565b602082019050919050565b5f6020820190508181035f8301526123cd81612394565b9050919050565b5f60a0820190506123e75f830188611dd1565b6123f46020830187611dd1565b6124016040830186611dd1565b61240e6060830185611d1c565b61241b6080830184611e89565b9695505050505050565b5f6080820190506124385f830187611dd1565b6124456020830186611da0565b6124526040830185611dd1565b61245f6060830184611dd1565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6124cc82611c78565b91506124d783611c78565b92508282019050808211156124ef576124ee612495565b5b9291505056fea264697066735822122040492a563c8fb6fa349b54a54d64d0f03cc00d8ec1dcbfc4137fa3144a6037c264736f6c63430008180033
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610171575f3560e01c80638da5cb5b116100dc578063d505accf11610095578063f2fde38b1161006f578063f2fde38b14610451578063f9f92be41461046d578063fcd5dd1c1461049d578063ff25856c146104b957610171565b8063d505accf146103e9578063dd62ed3e14610405578063df49ed7c1461043557610171565b80638da5cb5b1461031357806395d89b41146103315780639b19251a1461034f578063a9059cbb1461037f578063ca3562e5146103af578063cdfb2b4e146103cb57610171565b806342966c681161012e57806342966c681461024d57806370a0823114610269578063715018a61461029957806379cc6790146102a35780637ecebe00146102bf57806384b0196e146102ef57610171565b806306fdde0314610175578063095ea7b31461019357806318160ddd146101c357806323b872dd146101e1578063313ce567146102115780633644e5151461022f575b5f80fd5b61017d6104d7565b60405161018a9190611bfa565b60405180910390f35b6101ad60048036038101906101a89190611cab565b610567565b6040516101ba9190611d03565b60405180910390f35b6101cb610589565b6040516101d89190611d2b565b60405180910390f35b6101fb60048036038101906101f69190611d44565b610592565b6040516102089190611d03565b60405180910390f35b6102196105c0565b6040516102269190611daf565b60405180910390f35b6102376105c8565b6040516102449190611de0565b60405180910390f35b61026760048036038101906102629190611df9565b6105d6565b005b610283600480360381019061027e9190611e24565b6105ea565b6040516102909190611d2b565b60405180910390f35b6102a161062f565b005b6102bd60048036038101906102b89190611cab565b610642565b005b6102d960048036038101906102d49190611e24565b610662565b6040516102e69190611d2b565b60405180910390f35b6102f7610673565b60405161030a9796959493929190611f4f565b60405180910390f35b61031b610718565b6040516103289190611fd1565b60405180910390f35b610339610740565b6040516103469190611bfa565b60405180910390f35b61036960048036038101906103649190611e24565b6107d0565b6040516103769190611d03565b60405180910390f35b61039960048036038101906103949190611cab565b6107ed565b6040516103a69190611d03565b60405180910390f35b6103c960048036038101906103c49190612014565b61080f565b005b6103d361086f565b6040516103e09190611d03565b60405180910390f35b61040360048036038101906103fe91906120a6565b610881565b005b61041f600480360381019061041a9190612143565b6109c6565b60405161042c9190611d2b565b60405180910390f35b61044f600480360381019061044a9190612014565b610a48565b005b61046b60048036038101906104669190611e24565b610aa8565b005b61048760048036038101906104829190611e24565b610b2c565b6040516104949190611d03565b60405180910390f35b6104b760048036038101906104b29190612181565b610b49565b005b6104c1610b88565b6040516104ce9190611d03565b60405180910390f35b6060600380546104e6906121ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610512906121ec565b801561055d5780601f106105345761010080835404028352916020019161055d565b820191905f5260205f20905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b5f80610571610b9b565b905061057e818585610ba2565b600191505092915050565b5f600254905090565b5f8061059c610b9b565b90506105a9858285610bb4565b6105b4858585610c46565b60019150509392505050565b5f6012905090565b5f6105d1610d36565b905090565b6105e76105e1610b9b565b82610dec565b50565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610637610e6b565b6106405f610ef2565b565b6106548261064e610b9b565b83610bb4565b61065e8282610dec565b5050565b5f61066c82610fb5565b9050919050565b5f6060805f805f6060610684610ffb565b61068c611036565b46305f801b5f67ffffffffffffffff8111156106ab576106aa61221c565b5b6040519080825280602002602001820160405280156106d95781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461074f906121ec565b80601f016020809104026020016040519081016040528092919081815260200182805461077b906121ec565b80156107c65780601f1061079d576101008083540402835291602001916107c6565b820191905f5260205f20905b8154815290600101906020018083116107a957829003601f168201915b5050505050905090565b6009602052805f5260405f205f915054906101000a900460ff1681565b5f806107f7610b9b565b9050610804818585610c46565b600191505092915050565b610817610e6b565b8060095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b600b5f9054906101000a900460ff1681565b834211156108c657836040517f627913020000000000000000000000000000000000000000000000000000000081526004016108bd9190611d2b565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886108f48c611071565b8960405160200161090a96959493929190612249565b6040516020818303038152906040528051906020012090505f61092c826110c4565b90505f61093b828787876110dd565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109af57808a6040517f4b800e460000000000000000000000000000000000000000000000000000000081526004016109a69291906122a8565b60405180910390fd5b6109ba8a8a8a610ba2565b50505050505050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610a50610e6b565b80600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b610ab0610e6b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b20575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610b179190611fd1565b60405180910390fd5b610b2981610ef2565b50565b600a602052805f5260405f205f915054906101000a900460ff1681565b610b51610e6b565b81600b5f6101000a81548160ff02191690831515021790555080600b60016101000a81548160ff0219169083151502179055505050565b600b60019054906101000a900460ff1681565b5f33905090565b610baf838383600161110b565b505050565b5f610bbf84846109c6565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c405781811015610c31578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610c28939291906122cf565b60405180910390fd5b610c3f84848484035f61110b565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610cb6575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610cad9190611fd1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d26575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d1d9190611fd1565b60405180910390fd5b610d318383836112da565b505050565b5f7f00000000000000000000000081b3184a3b5d4612f2c26a53da8d99474b91b2d273ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015610db157507f0000000000000000000000000000000000000000000000000000000000013e3146145b15610dde577f98f4ef67cafb1b4d9117e90efde815659a3ca41ec17c60fc6072ddd261ab94609050610de9565b610de66114cc565b90505b90565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e5c575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610e539190611fd1565b60405180910390fd5b610e67825f836112da565b5050565b610e73610b9b565b73ffffffffffffffffffffffffffffffffffffffff16610e91610718565b73ffffffffffffffffffffffffffffffffffffffff1614610ef057610eb4610b9b565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610ee79190611fd1565b60405180910390fd5b565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b606061103160057f6561726c795a45524f000000000000000000000000000000000000000000000961156190919063ffffffff16565b905090565b606061106c60067f310000000000000000000000000000000000000000000000000000000000000161156190919063ffffffff16565b905090565b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050559050919050565b5f6110d66110d0610d36565b8361160e565b9050919050565b5f805f806110ed8888888861164e565b9250925092506110fd8282611735565b829350505050949350505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361117b575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016111729190611fd1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111eb575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016111e29190611fd1565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080156112d4578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516112cb9190611d2b565b60405180910390a35b50505050565b6112e5838383611897565b600b5f9054906101000a900460ff16156113d45760095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611394575060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b6113d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ca9061234e565b60405180910390fd5b5b600b60019054906101000a900460ff16156114c757600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161580156114875750600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b6114c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bd906123b6565b60405180910390fd5b5b505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fc33433c7fd6468d66090e6a351f81fba4db4f49955b023ef06d60fc914575eb17fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016115469594939291906123d4565b60405160208183030381529060405280519060200120905090565b606060ff5f1b831461157d5761157683611ab0565b9050611608565b818054611589906121ec565b80601f01602080910402602001604051908101604052809291908181526020018280546115b5906121ec565b80156116005780601f106115d757610100808354040283529160200191611600565b820191905f5260205f20905b8154815290600101906020018083116115e357829003601f168201915b505050505090505b92915050565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c111561168a575f60038592509250925061172b565b5f6001888888886040515f81526020016040526040516116ad9493929190612425565b6020604051602081039080840390855afa1580156116cd573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361171e575f60015f801b9350935093505061172b565b805f805f1b935093509350505b9450945094915050565b5f600381111561174857611747612468565b5b82600381111561175b5761175a612468565b5b0315611893576001600381111561177557611774612468565b5b82600381111561178857611787612468565b5b036117bf576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260038111156117d3576117d2612468565b5b8260038111156117e6576117e5612468565b5b0361182a57805f1c6040517ffce698f70000000000000000000000000000000000000000000000000000000081526004016118219190611d2b565b60405180910390fd5b60038081111561183d5761183c612468565b5b8260038111156118505761184f612468565b5b0361189257806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016118899190611de0565b60405180910390fd5b5b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118e7578060025f8282546118db91906124c2565b925050819055506119b5565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611970578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611967939291906122cf565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119fc578060025f8282540392505081905550611a46565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611aa39190611d2b565b60405180910390a3505050565b60605f611abc83611b22565b90505f602067ffffffffffffffff811115611ada57611ad961221c565b5b6040519080825280601f01601f191660200182016040528015611b0c5781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b5f8060ff835f1c169050601f811115611b67576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611ba7578082015181840152602081019050611b8c565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611bcc82611b70565b611bd68185611b7a565b9350611be6818560208601611b8a565b611bef81611bb2565b840191505092915050565b5f6020820190508181035f830152611c128184611bc2565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611c4782611c1e565b9050919050565b611c5781611c3d565b8114611c61575f80fd5b50565b5f81359050611c7281611c4e565b92915050565b5f819050919050565b611c8a81611c78565b8114611c94575f80fd5b50565b5f81359050611ca581611c81565b92915050565b5f8060408385031215611cc157611cc0611c1a565b5b5f611cce85828601611c64565b9250506020611cdf85828601611c97565b9150509250929050565b5f8115159050919050565b611cfd81611ce9565b82525050565b5f602082019050611d165f830184611cf4565b92915050565b611d2581611c78565b82525050565b5f602082019050611d3e5f830184611d1c565b92915050565b5f805f60608486031215611d5b57611d5a611c1a565b5b5f611d6886828701611c64565b9350506020611d7986828701611c64565b9250506040611d8a86828701611c97565b9150509250925092565b5f60ff82169050919050565b611da981611d94565b82525050565b5f602082019050611dc25f830184611da0565b92915050565b5f819050919050565b611dda81611dc8565b82525050565b5f602082019050611df35f830184611dd1565b92915050565b5f60208284031215611e0e57611e0d611c1a565b5b5f611e1b84828501611c97565b91505092915050565b5f60208284031215611e3957611e38611c1a565b5b5f611e4684828501611c64565b91505092915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b611e8381611e4f565b82525050565b611e9281611c3d565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b611eca81611c78565b82525050565b5f611edb8383611ec1565b60208301905092915050565b5f602082019050919050565b5f611efd82611e98565b611f078185611ea2565b9350611f1283611eb2565b805f5b83811015611f42578151611f298882611ed0565b9750611f3483611ee7565b925050600181019050611f15565b5085935050505092915050565b5f60e082019050611f625f83018a611e7a565b8181036020830152611f748189611bc2565b90508181036040830152611f888188611bc2565b9050611f976060830187611d1c565b611fa46080830186611e89565b611fb160a0830185611dd1565b81810360c0830152611fc38184611ef3565b905098975050505050505050565b5f602082019050611fe45f830184611e89565b92915050565b611ff381611ce9565b8114611ffd575f80fd5b50565b5f8135905061200e81611fea565b92915050565b5f806040838503121561202a57612029611c1a565b5b5f61203785828601611c64565b925050602061204885828601612000565b9150509250929050565b61205b81611d94565b8114612065575f80fd5b50565b5f8135905061207681612052565b92915050565b61208581611dc8565b811461208f575f80fd5b50565b5f813590506120a08161207c565b92915050565b5f805f805f805f60e0888a0312156120c1576120c0611c1a565b5b5f6120ce8a828b01611c64565b97505060206120df8a828b01611c64565b96505060406120f08a828b01611c97565b95505060606121018a828b01611c97565b94505060806121128a828b01612068565b93505060a06121238a828b01612092565b92505060c06121348a828b01612092565b91505092959891949750929550565b5f806040838503121561215957612158611c1a565b5b5f61216685828601611c64565b925050602061217785828601611c64565b9150509250929050565b5f806040838503121561219757612196611c1a565b5b5f6121a485828601612000565b92505060206121b585828601612000565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061220357607f821691505b602082108103612216576122156121bf565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60c08201905061225c5f830189611dd1565b6122696020830188611e89565b6122766040830187611e89565b6122836060830186611d1c565b6122906080830185611d1c565b61229d60a0830184611d1c565b979650505050505050565b5f6040820190506122bb5f830185611e89565b6122c86020830184611e89565b9392505050565b5f6060820190506122e25f830186611e89565b6122ef6020830185611d1c565b6122fc6040830184611d1c565b949350505050565b7f2177686974656c697374000000000000000000000000000000000000000000005f82015250565b5f612338600a83611b7a565b915061234382612304565b602082019050919050565b5f6020820190508181035f8301526123658161232c565b9050919050565b7f626c61636b6c69737400000000000000000000000000000000000000000000005f82015250565b5f6123a0600983611b7a565b91506123ab8261236c565b602082019050919050565b5f6020820190508181035f8301526123cd81612394565b9050919050565b5f60a0820190506123e75f830188611dd1565b6123f46020830187611dd1565b6124016040830186611dd1565b61240e6060830185611d1c565b61241b6080830184611e89565b9695505050505050565b5f6080820190506124385f830187611dd1565b6124456020830186611da0565b6124526040830185611dd1565b61245f6060830184611dd1565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6124cc82611c78565b91506124d783611c78565b92508282019050808211156124ef576124ee612495565b5b9291505056fea264697066735822122040492a563c8fb6fa349b54a54d64d0f03cc00d8ec1dcbfc4137fa3144a6037c264736f6c63430008180033
Deployed Bytecode Sourcemap
84912:1390:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16927:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19220:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18029:99;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19988:249;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17880:84;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;83950:114;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26907:89;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18191:118;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3586:103;;;:::i;:::-;;27325:161;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;83692:145;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78239:580;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;2911:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17137:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;84986:41;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18514:182;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85646:105;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85082:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;82938:695;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18759:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85533:105;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3844:220;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85034:41;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85759:136;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85116:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16927:91;16972:13;17005:5;16998:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16927:91;:::o;19220:190::-;19293:4;19310:13;19326:12;:10;:12::i;:::-;19310:28;;19349:31;19358:5;19365:7;19374:5;19349:8;:31::i;:::-;19398:4;19391:11;;;19220:190;;;;:::o;18029:99::-;18081:7;18108:12;;18101:19;;18029:99;:::o;19988:249::-;20075:4;20092:15;20110:12;:10;:12::i;:::-;20092:30;;20133:37;20149:4;20155:7;20164:5;20133:15;:37::i;:::-;20181:26;20191:4;20197:2;20201:5;20181:9;:26::i;:::-;20225:4;20218:11;;;19988:249;;;;;:::o;17880:84::-;17929:5;17954:2;17947:9;;17880:84;:::o;83950:114::-;84009:7;84036:20;:18;:20::i;:::-;84029:27;;83950:114;:::o;26907:89::-;26962:26;26968:12;:10;:12::i;:::-;26982:5;26962;:26::i;:::-;26907:89;:::o;18191:118::-;18256:7;18283:9;:18;18293:7;18283:18;;;;;;;;;;;;;;;;18276:25;;18191:118;;;:::o;3586:103::-;2797:13;:11;:13::i;:::-;3651:30:::1;3678:1;3651:18;:30::i;:::-;3586:103::o:0;27325:161::-;27401:45;27417:7;27426:12;:10;:12::i;:::-;27440:5;27401:15;:45::i;:::-;27457:21;27463:7;27472:5;27457;:21::i;:::-;27325:161;;:::o;83692:145::-;83783:7;83810:19;83823:5;83810:12;:19::i;:::-;83803:26;;83692:145;;;:::o;78239:580::-;78342:13;78370:18;78403:21;78439:15;78469:25;78509:12;78536:27;78644:13;:11;:13::i;:::-;78672:16;:14;:16::i;:::-;78703:13;78739:4;78767:1;78759:10;;78798:1;78784:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78591:220;;;;;;;;;;;;;;;;;;;;;78239:580;;;;;;;:::o;2911:87::-;2957:7;2984:6;;;;;;;;;;;2977:13;;2911:87;:::o;17137:95::-;17184:13;17217:7;17210:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17137:95;:::o;84986:41::-;;;;;;;;;;;;;;;;;;;;;;:::o;18514:182::-;18583:4;18600:13;18616:12;:10;:12::i;:::-;18600:28;;18639:27;18649:5;18656:2;18660:5;18639:9;:27::i;:::-;18684:4;18677:11;;;18514:182;;;;:::o;85646:105::-;2797:13;:11;:13::i;:::-;85739:4:::1;85722:9;:14;85732:3;85722:14;;;;;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;85646:105:::0;;:::o;85082:27::-;;;;;;;;;;;;;:::o;82938:695::-;83168:8;83150:15;:26;83146:99;;;83224:8;83200:33;;;;;;;;;;;:::i;:::-;;;;;;;;83146:99;83257:18;82258:95;83316:5;83323:7;83332:5;83339:16;83349:5;83339:9;:16::i;:::-;83357:8;83288:78;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83278:89;;;;;;83257:110;;83380:12;83395:28;83412:10;83395:16;:28::i;:::-;83380:43;;83436:14;83453:28;83467:4;83473:1;83476;83479;83453:13;:28::i;:::-;83436:45;;83506:5;83496:15;;:6;:15;;;83492:90;;83556:6;83564:5;83535:35;;;;;;;;;;;;:::i;:::-;;;;;;;;83492:90;83594:31;83603:5;83610:7;83619:5;83594:8;:31::i;:::-;83135:498;;;82938:695;;;;;;;:::o;18759:142::-;18839:7;18866:11;:18;18878:5;18866:18;;;;;;;;;;;;;;;:27;18885:7;18866:27;;;;;;;;;;;;;;;;18859:34;;18759:142;;;;:::o;85533:105::-;2797:13;:11;:13::i;:::-;85626:4:::1;85609:9;:14;85619:3;85609:14;;;;;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;85533:105:::0;;:::o;3844:220::-;2797:13;:11;:13::i;:::-;3949:1:::1;3929:22;;:8;:22;;::::0;3925:93:::1;;4003:1;3975:31;;;;;;;;;;;:::i;:::-;;;;;;;;3925:93;4028:28;4047:8;4028:18;:28::i;:::-;3844:220:::0;:::o;85034:41::-;;;;;;;;;;;;;;;;;;;;;;:::o;85759:136::-;2797:13;:11;:13::i;:::-;85852:4:::1;85834:15;;:22;;;;;;;;;;;;;;;;;;85885:2;85867:15;;:20;;;;;;;;;;;;;;;;;;85759:136:::0;;:::o;85116:27::-;;;;;;;;;;;;;:::o;865:98::-;918:7;945:10;938:17;;865:98;:::o;24047:130::-;24132:37;24141:5;24148:7;24157:5;24164:4;24132:8;:37::i;:::-;24047:130;;;:::o;25763:487::-;25863:24;25890:25;25900:5;25907:7;25890:9;:25::i;:::-;25863:52;;25950:17;25930:16;:37;25926:317;;26007:5;25988:16;:24;25984:132;;;26067:7;26076:16;26094:5;26040:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;25984:132;26159:57;26168:5;26175:7;26203:5;26184:16;:24;26210:5;26159:8;:57::i;:::-;25926:317;25852:398;25763:487;;;:::o;20622:308::-;20722:1;20706:18;;:4;:18;;;20702:88;;20775:1;20748:30;;;;;;;;;;;:::i;:::-;;;;;;;;20702:88;20818:1;20804:16;;:2;:16;;;20800:88;;20873:1;20844:32;;;;;;;;;;;:::i;:::-;;;;;;;;20800:88;20898:24;20906:4;20912:2;20916:5;20898:7;:24::i;:::-;20622:308;;;:::o;76906:268::-;76959:7;77000:11;76983:28;;76991:4;76983:28;;;:63;;;;;77032:14;77015:13;:31;76983:63;76979:188;;;77070:22;77063:29;;;;76979:188;77132:23;:21;:23::i;:::-;77125:30;;76906:268;;:::o;23283:211::-;23373:1;23354:21;;:7;:21;;;23350:91;;23426:1;23399:30;;;;;;;;;;;:::i;:::-;;;;;;;;23350:91;23451:35;23459:7;23476:1;23480:5;23451:7;:35::i;:::-;23283:211;;:::o;3076:166::-;3147:12;:10;:12::i;:::-;3136:23;;:7;:5;:7::i;:::-;:23;;;3132:103;;3210:12;:10;:12::i;:::-;3183:40;;;;;;;;;;;:::i;:::-;;;;;;;;3132:103;3076:166::o;4224:191::-;4298:16;4317:6;;;;;;;;;;;4298:25;;4343:8;4334:6;;:17;;;;;;;;;;;;;;;;;;4398:8;4367:40;;4388:8;4367:40;;;;;;;;;;;;4287:128;4224:191;:::o;80390:109::-;80450:7;80477;:14;80485:5;80477:14;;;;;;;;;;;;;;;;80470:21;;80390:109;;;:::o;79148:128::-;79194:13;79227:41;79254:13;79227:5;:26;;:41;;;;:::i;:::-;79220:48;;79148:128;:::o;79611:137::-;79660:13;79693:47;79723:16;79693:8;:29;;:47;;;;:::i;:::-;79686:54;;79611:137;:::o;80620:402::-;80680:7;80987;:14;80995:5;80987:14;;;;;;;;;;;;;;;;:16;;;;;;;;;;;;80980:23;;80620:402;;;:::o;78005:178::-;78082:7;78109:66;78142:20;:18;:20::i;:::-;78164:10;78109:32;:66::i;:::-;78102:73;;78005:178;;;:::o;38537:264::-;38622:7;38643:17;38662:18;38682:16;38702:25;38713:4;38719:1;38722;38725;38702:10;:25::i;:::-;38642:85;;;;;;38738:28;38750:5;38757:8;38738:11;:28::i;:::-;38784:9;38777:16;;;;;38537:264;;;;;;:::o;25028:443::-;25158:1;25141:19;;:5;:19;;;25137:91;;25213:1;25184:32;;;;;;;;;;;:::i;:::-;;;;;;;;25137:91;25261:1;25242:21;;:7;:21;;;25238:92;;25315:1;25287:31;;;;;;;;;;;:::i;:::-;;;;;;;;25238:92;25370:5;25340:11;:18;25352:5;25340:18;;;;;;;;;;;;;;;:27;25359:7;25340:27;;;;;;;;;;;;;;;:35;;;;25390:9;25386:78;;;25437:7;25421:31;;25430:5;25421:31;;;25446:5;25421:31;;;;;;:::i;:::-;;;;;;;;25386:78;25028:443;;;;:::o;85903:396::-;86032:30;86046:4;86052:2;86056:5;86032:13;:30::i;:::-;86077:15;;;;;;;;;;;86073:103;;;86117:9;:15;86127:4;86117:15;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;;86136:9;:13;86146:2;86136:13;;;;;;;;;;;;;;;;;;;;;;;;;86117:32;86109:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;86073:103;86192:15;;;;;;;;;;;86188:104;;;86233:9;:13;86243:2;86233:13;;;;;;;;;;;;;;;;;;;;;;;;;86232:14;:34;;;;;86251:9;:15;86261:4;86251:15;;;;;;;;;;;;;;;;;;;;;;;;;86250:16;86232:34;86224:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;86188:104;85903:396;;;:::o;77182:181::-;77237:7;75098:95;77296:11;77309:14;77325:13;77348:4;77274:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77264:91;;;;;;77257:98;;77182:181;:::o;72118:273::-;72212:13;70064:66;72271:17;;72261:5;72242:46;72238:146;;72312:15;72321:5;72312:8;:15::i;:::-;72305:22;;;;72238:146;72367:5;72360:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72118:273;;;;;:::o;64029:410::-;64122:14;64234:4;64228:11;64265:10;64260:3;64253:23;64313:15;64306:4;64301:3;64297:14;64290:39;64366:10;64359:4;64354:3;64350:14;64343:34;64416:4;64411:3;64401:20;64391:30;;64202:230;64029:410;;;;:::o;36842:1556::-;36973:7;36982:12;36996:7;37916:66;37911:1;37903:10;;:79;37899:166;;;38015:1;38019:30;38051:1;37999:54;;;;;;;;37899:166;38162:14;38179:24;38189:4;38195:1;38198;38201;38179:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38162:41;;38236:1;38218:20;;:6;:20;;;38214:115;;38271:1;38275:29;38314:1;38306:10;;38255:62;;;;;;;;;38214:115;38349:6;38357:20;38387:1;38379:10;;38341:49;;;;;;;36842:1556;;;;;;;;;:::o;38939:542::-;39035:20;39026:29;;;;;;;;:::i;:::-;;:5;:29;;;;;;;;:::i;:::-;;;39022:452;39072:7;39022:452;39133:29;39124:38;;;;;;;;:::i;:::-;;:5;:38;;;;;;;;:::i;:::-;;;39120:354;;39186:23;;;;;;;;;;;;;;39120:354;39240:35;39231:44;;;;;;;;:::i;:::-;;:5;:44;;;;;;;;:::i;:::-;;;39227:247;;39335:8;39327:17;;39299:46;;;;;;;;;;;:::i;:::-;;;;;;;;39227:247;39376:30;39367:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;39363:111;;39453:8;39430:32;;;;;;;;;;;:::i;:::-;;;;;;;;39363:111;38939:542;;;:::o;21254:1135::-;21360:1;21344:18;;:4;:18;;;21340:552;;21498:5;21482:12;;:21;;;;;;;:::i;:::-;;;;;;;;21340:552;;;21536:19;21558:9;:15;21568:4;21558:15;;;;;;;;;;;;;;;;21536:37;;21606:5;21592:11;:19;21588:117;;;21664:4;21670:11;21683:5;21639:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;21588:117;21860:5;21846:11;:19;21828:9;:15;21838:4;21828:15;;;;;;;;;;;;;;;:37;;;;21521:371;21340:552;21922:1;21908:16;;:2;:16;;;21904:435;;22090:5;22074:12;;:21;;;;;;;;;;;21904:435;;;22307:5;22290:9;:13;22300:2;22290:13;;;;;;;;;;;;;;;;:22;;;;;;;;;;;21904:435;22371:2;22356:25;;22365:4;22356:25;;;22375:5;22356:25;;;;;;:::i;:::-;;;;;;;;21254:1135;;;:::o;70773:415::-;70832:13;70858:11;70872:16;70883:4;70872:10;:16::i;:::-;70858:30;;70978:17;71009:2;70998:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70978:34;;71103:3;71098;71091:16;71144:4;71137;71132:3;71128:14;71121:28;71177:3;71170:10;;;;70773:415;;;:::o;71265:251::-;71326:7;71346:14;71399:4;71390;71363:33;;:40;71346:57;;71427:2;71418:6;:11;71414:71;;;71453:20;;;;;;;;;;;;;;71414:71;71502:6;71495:13;;;71265:251;;;:::o;7:99:1:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1430:117::-;1539:1;1536;1529:12;1676:126;1713:7;1753:42;1746:5;1742:54;1731:65;;1676:126;;;:::o;1808:96::-;1845:7;1874:24;1892:5;1874:24;:::i;:::-;1863:35;;1808:96;;;:::o;1910:122::-;1983:24;2001:5;1983:24;:::i;:::-;1976:5;1973:35;1963:63;;2022:1;2019;2012:12;1963:63;1910:122;:::o;2038:139::-;2084:5;2122:6;2109:20;2100:29;;2138:33;2165:5;2138:33;:::i;:::-;2038:139;;;;:::o;2183:77::-;2220:7;2249:5;2238:16;;2183:77;;;:::o;2266:122::-;2339:24;2357:5;2339:24;:::i;:::-;2332:5;2329:35;2319:63;;2378:1;2375;2368:12;2319:63;2266:122;:::o;2394:139::-;2440:5;2478:6;2465:20;2456:29;;2494:33;2521:5;2494:33;:::i;:::-;2394:139;;;;:::o;2539:474::-;2607:6;2615;2664:2;2652:9;2643:7;2639:23;2635:32;2632:119;;;2670:79;;:::i;:::-;2632:119;2790:1;2815:53;2860:7;2851:6;2840:9;2836:22;2815:53;:::i;:::-;2805:63;;2761:117;2917:2;2943:53;2988:7;2979:6;2968:9;2964:22;2943:53;:::i;:::-;2933:63;;2888:118;2539:474;;;;;:::o;3019:90::-;3053:7;3096:5;3089:13;3082:21;3071:32;;3019:90;;;:::o;3115:109::-;3196:21;3211:5;3196:21;:::i;:::-;3191:3;3184:34;3115:109;;:::o;3230:210::-;3317:4;3355:2;3344:9;3340:18;3332:26;;3368:65;3430:1;3419:9;3415:17;3406:6;3368:65;:::i;:::-;3230:210;;;;:::o;3446:118::-;3533:24;3551:5;3533:24;:::i;:::-;3528:3;3521:37;3446:118;;:::o;3570:222::-;3663:4;3701:2;3690:9;3686:18;3678:26;;3714:71;3782:1;3771:9;3767:17;3758:6;3714:71;:::i;:::-;3570:222;;;;:::o;3798:619::-;3875:6;3883;3891;3940:2;3928:9;3919:7;3915:23;3911:32;3908:119;;;3946:79;;:::i;:::-;3908:119;4066:1;4091:53;4136:7;4127:6;4116:9;4112:22;4091:53;:::i;:::-;4081:63;;4037:117;4193:2;4219:53;4264:7;4255:6;4244:9;4240:22;4219:53;:::i;:::-;4209:63;;4164:118;4321:2;4347:53;4392:7;4383:6;4372:9;4368:22;4347:53;:::i;:::-;4337:63;;4292:118;3798:619;;;;;:::o;4423:86::-;4458:7;4498:4;4491:5;4487:16;4476:27;;4423:86;;;:::o;4515:112::-;4598:22;4614:5;4598:22;:::i;:::-;4593:3;4586:35;4515:112;;:::o;4633:214::-;4722:4;4760:2;4749:9;4745:18;4737:26;;4773:67;4837:1;4826:9;4822:17;4813:6;4773:67;:::i;:::-;4633:214;;;;:::o;4853:77::-;4890:7;4919:5;4908:16;;4853:77;;;:::o;4936:118::-;5023:24;5041:5;5023:24;:::i;:::-;5018:3;5011:37;4936:118;;:::o;5060:222::-;5153:4;5191:2;5180:9;5176:18;5168:26;;5204:71;5272:1;5261:9;5257:17;5248:6;5204:71;:::i;:::-;5060:222;;;;:::o;5288:329::-;5347:6;5396:2;5384:9;5375:7;5371:23;5367:32;5364:119;;;5402:79;;:::i;:::-;5364:119;5522:1;5547:53;5592:7;5583:6;5572:9;5568:22;5547:53;:::i;:::-;5537:63;;5493:117;5288:329;;;;:::o;5623:::-;5682:6;5731:2;5719:9;5710:7;5706:23;5702:32;5699:119;;;5737:79;;:::i;:::-;5699:119;5857:1;5882:53;5927:7;5918:6;5907:9;5903:22;5882:53;:::i;:::-;5872:63;;5828:117;5623:329;;;;:::o;5958:149::-;5994:7;6034:66;6027:5;6023:78;6012:89;;5958:149;;;:::o;6113:115::-;6198:23;6215:5;6198:23;:::i;:::-;6193:3;6186:36;6113:115;;:::o;6234:118::-;6321:24;6339:5;6321:24;:::i;:::-;6316:3;6309:37;6234:118;;:::o;6358:114::-;6425:6;6459:5;6453:12;6443:22;;6358:114;;;:::o;6478:184::-;6577:11;6611:6;6606:3;6599:19;6651:4;6646:3;6642:14;6627:29;;6478:184;;;;:::o;6668:132::-;6735:4;6758:3;6750:11;;6788:4;6783:3;6779:14;6771:22;;6668:132;;;:::o;6806:108::-;6883:24;6901:5;6883:24;:::i;:::-;6878:3;6871:37;6806:108;;:::o;6920:179::-;6989:10;7010:46;7052:3;7044:6;7010:46;:::i;:::-;7088:4;7083:3;7079:14;7065:28;;6920:179;;;;:::o;7105:113::-;7175:4;7207;7202:3;7198:14;7190:22;;7105:113;;;:::o;7254:732::-;7373:3;7402:54;7450:5;7402:54;:::i;:::-;7472:86;7551:6;7546:3;7472:86;:::i;:::-;7465:93;;7582:56;7632:5;7582:56;:::i;:::-;7661:7;7692:1;7677:284;7702:6;7699:1;7696:13;7677:284;;;7778:6;7772:13;7805:63;7864:3;7849:13;7805:63;:::i;:::-;7798:70;;7891:60;7944:6;7891:60;:::i;:::-;7881:70;;7737:224;7724:1;7721;7717:9;7712:14;;7677:284;;;7681:14;7977:3;7970:10;;7378:608;;;7254:732;;;;:::o;7992:1215::-;8341:4;8379:3;8368:9;8364:19;8356:27;;8393:69;8459:1;8448:9;8444:17;8435:6;8393:69;:::i;:::-;8509:9;8503:4;8499:20;8494:2;8483:9;8479:18;8472:48;8537:78;8610:4;8601:6;8537:78;:::i;:::-;8529:86;;8662:9;8656:4;8652:20;8647:2;8636:9;8632:18;8625:48;8690:78;8763:4;8754:6;8690:78;:::i;:::-;8682:86;;8778:72;8846:2;8835:9;8831:18;8822:6;8778:72;:::i;:::-;8860:73;8928:3;8917:9;8913:19;8904:6;8860:73;:::i;:::-;8943;9011:3;9000:9;8996:19;8987:6;8943:73;:::i;:::-;9064:9;9058:4;9054:20;9048:3;9037:9;9033:19;9026:49;9092:108;9195:4;9186:6;9092:108;:::i;:::-;9084:116;;7992:1215;;;;;;;;;;:::o;9213:222::-;9306:4;9344:2;9333:9;9329:18;9321:26;;9357:71;9425:1;9414:9;9410:17;9401:6;9357:71;:::i;:::-;9213:222;;;;:::o;9441:116::-;9511:21;9526:5;9511:21;:::i;:::-;9504:5;9501:32;9491:60;;9547:1;9544;9537:12;9491:60;9441:116;:::o;9563:133::-;9606:5;9644:6;9631:20;9622:29;;9660:30;9684:5;9660:30;:::i;:::-;9563:133;;;;:::o;9702:468::-;9767:6;9775;9824:2;9812:9;9803:7;9799:23;9795:32;9792:119;;;9830:79;;:::i;:::-;9792:119;9950:1;9975:53;10020:7;10011:6;10000:9;9996:22;9975:53;:::i;:::-;9965:63;;9921:117;10077:2;10103:50;10145:7;10136:6;10125:9;10121:22;10103:50;:::i;:::-;10093:60;;10048:115;9702:468;;;;;:::o;10176:118::-;10247:22;10263:5;10247:22;:::i;:::-;10240:5;10237:33;10227:61;;10284:1;10281;10274:12;10227:61;10176:118;:::o;10300:135::-;10344:5;10382:6;10369:20;10360:29;;10398:31;10423:5;10398:31;:::i;:::-;10300:135;;;;:::o;10441:122::-;10514:24;10532:5;10514:24;:::i;:::-;10507:5;10504:35;10494:63;;10553:1;10550;10543:12;10494:63;10441:122;:::o;10569:139::-;10615:5;10653:6;10640:20;10631:29;;10669:33;10696:5;10669:33;:::i;:::-;10569:139;;;;:::o;10714:1199::-;10825:6;10833;10841;10849;10857;10865;10873;10922:3;10910:9;10901:7;10897:23;10893:33;10890:120;;;10929:79;;:::i;:::-;10890:120;11049:1;11074:53;11119:7;11110:6;11099:9;11095:22;11074:53;:::i;:::-;11064:63;;11020:117;11176:2;11202:53;11247:7;11238:6;11227:9;11223:22;11202:53;:::i;:::-;11192:63;;11147:118;11304:2;11330:53;11375:7;11366:6;11355:9;11351:22;11330:53;:::i;:::-;11320:63;;11275:118;11432:2;11458:53;11503:7;11494:6;11483:9;11479:22;11458:53;:::i;:::-;11448:63;;11403:118;11560:3;11587:51;11630:7;11621:6;11610:9;11606:22;11587:51;:::i;:::-;11577:61;;11531:117;11687:3;11714:53;11759:7;11750:6;11739:9;11735:22;11714:53;:::i;:::-;11704:63;;11658:119;11816:3;11843:53;11888:7;11879:6;11868:9;11864:22;11843:53;:::i;:::-;11833:63;;11787:119;10714:1199;;;;;;;;;;:::o;11919:474::-;11987:6;11995;12044:2;12032:9;12023:7;12019:23;12015:32;12012:119;;;12050:79;;:::i;:::-;12012:119;12170:1;12195:53;12240:7;12231:6;12220:9;12216:22;12195:53;:::i;:::-;12185:63;;12141:117;12297:2;12323:53;12368:7;12359:6;12348:9;12344:22;12323:53;:::i;:::-;12313:63;;12268:118;11919:474;;;;;:::o;12399:462::-;12461:6;12469;12518:2;12506:9;12497:7;12493:23;12489:32;12486:119;;;12524:79;;:::i;:::-;12486:119;12644:1;12669:50;12711:7;12702:6;12691:9;12687:22;12669:50;:::i;:::-;12659:60;;12615:114;12768:2;12794:50;12836:7;12827:6;12816:9;12812:22;12794:50;:::i;:::-;12784:60;;12739:115;12399:462;;;;;:::o;12867:180::-;12915:77;12912:1;12905:88;13012:4;13009:1;13002:15;13036:4;13033:1;13026:15;13053:320;13097:6;13134:1;13128:4;13124:12;13114:22;;13181:1;13175:4;13171:12;13202:18;13192:81;;13258:4;13250:6;13246:17;13236:27;;13192:81;13320:2;13312:6;13309:14;13289:18;13286:38;13283:84;;13339:18;;:::i;:::-;13283:84;13104:269;13053:320;;;:::o;13379:180::-;13427:77;13424:1;13417:88;13524:4;13521:1;13514:15;13548:4;13545:1;13538:15;13565:775;13798:4;13836:3;13825:9;13821:19;13813:27;;13850:71;13918:1;13907:9;13903:17;13894:6;13850:71;:::i;:::-;13931:72;13999:2;13988:9;13984:18;13975:6;13931:72;:::i;:::-;14013;14081:2;14070:9;14066:18;14057:6;14013:72;:::i;:::-;14095;14163:2;14152:9;14148:18;14139:6;14095:72;:::i;:::-;14177:73;14245:3;14234:9;14230:19;14221:6;14177:73;:::i;:::-;14260;14328:3;14317:9;14313:19;14304:6;14260:73;:::i;:::-;13565:775;;;;;;;;;:::o;14346:332::-;14467:4;14505:2;14494:9;14490:18;14482:26;;14518:71;14586:1;14575:9;14571:17;14562:6;14518:71;:::i;:::-;14599:72;14667:2;14656:9;14652:18;14643:6;14599:72;:::i;:::-;14346:332;;;;;:::o;14684:442::-;14833:4;14871:2;14860:9;14856:18;14848:26;;14884:71;14952:1;14941:9;14937:17;14928:6;14884:71;:::i;:::-;14965:72;15033:2;15022:9;15018:18;15009:6;14965:72;:::i;:::-;15047;15115:2;15104:9;15100:18;15091:6;15047:72;:::i;:::-;14684:442;;;;;;:::o;15132:160::-;15272:12;15268:1;15260:6;15256:14;15249:36;15132:160;:::o;15298:366::-;15440:3;15461:67;15525:2;15520:3;15461:67;:::i;:::-;15454:74;;15537:93;15626:3;15537:93;:::i;:::-;15655:2;15650:3;15646:12;15639:19;;15298:366;;;:::o;15670:419::-;15836:4;15874:2;15863:9;15859:18;15851:26;;15923:9;15917:4;15913:20;15909:1;15898:9;15894:17;15887:47;15951:131;16077:4;15951:131;:::i;:::-;15943:139;;15670:419;;;:::o;16095:159::-;16235:11;16231:1;16223:6;16219:14;16212:35;16095:159;:::o;16260:365::-;16402:3;16423:66;16487:1;16482:3;16423:66;:::i;:::-;16416:73;;16498:93;16587:3;16498:93;:::i;:::-;16616:2;16611:3;16607:12;16600:19;;16260:365;;;:::o;16631:419::-;16797:4;16835:2;16824:9;16820:18;16812:26;;16884:9;16878:4;16874:20;16870:1;16859:9;16855:17;16848:47;16912:131;17038:4;16912:131;:::i;:::-;16904:139;;16631:419;;;:::o;17056:664::-;17261:4;17299:3;17288:9;17284:19;17276:27;;17313:71;17381:1;17370:9;17366:17;17357:6;17313:71;:::i;:::-;17394:72;17462:2;17451:9;17447:18;17438:6;17394:72;:::i;:::-;17476;17544:2;17533:9;17529:18;17520:6;17476:72;:::i;:::-;17558;17626:2;17615:9;17611:18;17602:6;17558:72;:::i;:::-;17640:73;17708:3;17697:9;17693:19;17684:6;17640:73;:::i;:::-;17056:664;;;;;;;;:::o;17726:545::-;17899:4;17937:3;17926:9;17922:19;17914:27;;17951:71;18019:1;18008:9;18004:17;17995:6;17951:71;:::i;:::-;18032:68;18096:2;18085:9;18081:18;18072:6;18032:68;:::i;:::-;18110:72;18178:2;18167:9;18163:18;18154:6;18110:72;:::i;:::-;18192;18260:2;18249:9;18245:18;18236:6;18192:72;:::i;:::-;17726:545;;;;;;;:::o;18277:180::-;18325:77;18322:1;18315:88;18422:4;18419:1;18412:15;18446:4;18443:1;18436:15;18463:180;18511:77;18508:1;18501:88;18608:4;18605:1;18598:15;18632:4;18629:1;18622:15;18649:191;18689:3;18708:20;18726:1;18708:20;:::i;:::-;18703:25;;18742:20;18760:1;18742:20;:::i;:::-;18737:25;;18785:1;18782;18778:9;18771:16;;18806:3;18803:1;18800:10;18797:36;;;18813:18;;:::i;:::-;18797:36;18649:191;;;;:::o
Swarm Source
ipfs://40492a563c8fb6fa349b54a54d64d0f03cc00d8ec1dcbfc4137fa3144a6037c2
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.