ERC-20
DeFi
Overview
Max Total Supply
1,000,000,000 SQGROW
Holders
3,719 ( 0.484%)
Market
Price
$0.02 @ 0.000006 ETH (+13.86%)
Onchain Market Cap
$20,027,367.35
Circulating Supply Market Cap
$19,286,829.38
Other Info
Token Contract (WITH 9 Decimals)
Balance
1,737 SQGROWValue
$34.79 ( ~0.0108930147072267 Eth) [0.0002%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
SquidGrow
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-09-02 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // 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/IERC20Metadata.sol // 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/utils/Context.sol // 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/interfaces/draft-IERC6093.sol // 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/ERC20.sol // 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/access/IAccessControl.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol // 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/ECDSA.sol // 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/utils/math/Math.sol // 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/SignedMath.sol // 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/Strings.sol // 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/MessageHashUtils.sol // 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/StorageSlot.sol // 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/ShortStrings.sol // 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/interfaces/IERC5267.sol // 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/cryptography/EIP712.sol // 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/Nonces.sol // 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/ERC20Permit.sol // 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: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } } // File: SquidgrowV3.sol pragma solidity ^0.8.20; /** * ░▒▓███████▓▒░ ░▒▓██████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓███████▓▒░ ░▒▓██████▓▒░ ░▒▓███████▓▒░ ░▒▓██████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░ * ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░ * ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░ * ░▒▓██████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒▒▓███▓▒░ ░▒▓███████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░ * ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░ * ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░ * ░▒▓███████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓█▓▒░ ░▒▓███████▓▒░ ░▒▓██████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓██████▓▒░ ░▒▓█████████████▓▒░ * ░▒▓█▓▒░ * ░▒▓██▓▒░ * @title SquidGrow * @dev Implementation of the SquidGrowV3 token. */ contract SquidGrow is ERC20, AccessControl, ERC20Permit { using SafeERC20 for IERC20; // Indicates whether trading has been enabled bool public tradingEnabled; // The time when trading was enabled uint256 public startedTime; // Time when the last pause was initiated uint256 private lastPauseTime; // Time when trading will be unpaused uint256 public tradingPausedUntil; // Mapping to store whitelisted addresses mapping(address => bool) private whitelisted; // Custom Errors error TradingAlreadyEnabled(); error TradingNotEnabled(); error PauseAlreadyTriggered(); error ZeroAddress(); error SchedulingUnpauseFailed(); error UnpauseNotYetAllowed(); error TransferWhilePaused(); error AlreadyWhitelisted(); error NotWhitelisted(); /** * @dev Constructor that initializes the token with the provided roles and mints the initial supply. */ constructor() ERC20("SquidGrow", "SQGROW") ERC20Permit("SquidGrow") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); whitelisted[msg.sender] = true; whitelisted[address(0)] = true; _mint(msg.sender, 1_000_000_000 * 10 ** decimals()); tradingEnabled = false; lastPauseTime = 0; } /** * @notice Enables trading, setting the `tradingEnabled` flag to true. * @dev Can only be called once by an account with the DEFAULT_ADMIN_ROLE. Trading can only be enabled once. * @param _input Time delay (in seconds) after which trading officially starts. */ function enableTrading( uint256 _input ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (tradingEnabled) revert TradingAlreadyEnabled(); tradingEnabled = true; if (startedTime == 0) { startedTime = block.timestamp + _input; } } /** * @notice Pauses all token transfers for exactly one hour. * @dev Can only be called by an account with the DEFAULT_ADMIN_ROLE. This function can only be called once every 24 hours. */ function pause() external onlyRole(DEFAULT_ADMIN_ROLE) { if (block.timestamp < lastPauseTime + 24 hours) revert PauseAlreadyTriggered(); lastPauseTime = block.timestamp; tradingPausedUntil = block.timestamp + 1 hours; } function isPaused() external view returns (bool) { return block.timestamp <= tradingPausedUntil; } /** * @dev Allows the DEFAULT_ADMIN_ROLE to add an address to the whitelist. * @param account Address to be whitelisted. */ function addToWhitelist( address account ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (account == address(0)) revert ZeroAddress(); if (whitelisted[account]) revert AlreadyWhitelisted(); whitelisted[account] = true; } /** * @dev Allows the DEFAULT_ADMIN_ROLE to remove an address from the whitelist. * @param account Address to be removed from the whitelist. */ function removeFromWhitelist( address account ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (account == address(0)) revert ZeroAddress(); if (!whitelisted[account]) revert NotWhitelisted(); whitelisted[account] = false; } /** * @dev Checks if an address is whitelisted to trade while contract is paused. * @param account Address to check. * @return True if the address is whitelisted, false otherwise. */ function isWhitelisted(address account) external view returns (bool) { return whitelisted[account]; } /** * @dev Override _beforeTokenTransfer to enforce the pause functionality, trading restrictions, and whitelist exception. * Ensures that tokens cannot be transferred until trading is enabled, after the specified delay, and with consideration of the whitelist. */ function _update( address from, address to, uint256 amount ) internal override(ERC20) { if (!whitelisted[from] && !whitelisted[to]) { if (!tradingEnabled || block.timestamp < startedTime) revert TradingNotEnabled(); if (block.timestamp <= tradingPausedUntil) revert TransferWhilePaused(); } super._update(from, to, amount); } /** * @dev Grants `role` to `account`. Also adds the account from the whitelist. * Requirements: the caller must have ``role``'s admin role. * May emit a {RoleGranted} event. */ function grantRole( bytes32 role, address account ) public virtual override onlyRole(DEFAULT_ADMIN_ROLE) { whitelisted[account] = true; super._grantRole(role, account); } /** * @dev Revokes `role` from `account`. Also removes the account from the whitelist. * Requirements: the caller must have ``role``'s admin role. * May emit a {RoleRevoked} event. */ function revokeRole( bytes32 role, address account ) public virtual override onlyRole(DEFAULT_ADMIN_ROLE) { whitelisted[account] = false; _revokeRole(role, account); } /** * @dev Allows someone to renounce their `role` from `account`. Also removes the account from the whitelist. * Requirements: the caller must have ``role``'s admin role. * May emit a {RoleRevoked} event. */ function renounceRole() public virtual onlyRole(DEFAULT_ADMIN_ROLE) { whitelisted[msg.sender] = false; _revokeRole(DEFAULT_ADMIN_ROLE, msg.sender); } /** * @dev Override default decimal function to set decimal places to 9 */ function decimals() public view virtual override returns (uint8) { return 9; } /** * @notice Emergency withdraw any other token from the contract * @dev Can only be called by the DEFAULT_ADMIN_ROLE * @param _token The address of the token to withdraw */ function emergencyWithdrawOtherToken( address _token ) external onlyRole(DEFAULT_ADMIN_ROLE) { uint256 amount = IERC20(_token).balanceOf(address(this)); IERC20(_token).safeTransfer(msg.sender, amount); } /** * @notice Emergency withdraw any ETH from the contract * @dev Can only be called by the DEFAULT_ADMIN_ROLE */ function emergencyWithdrawEth() external onlyRole(DEFAULT_ADMIN_ROLE) { uint256 amount = address(this).balance; payable(msg.sender).transfer(amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"AlreadyWhitelisted","type":"error"},{"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":[],"name":"FailedInnerCall","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":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"PauseAlreadyTriggered","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"SchedulingUnpauseFailed","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[],"name":"TradingAlreadyEnabled","type":"error"},{"inputs":[],"name":"TradingNotEnabled","type":"error"},{"inputs":[],"name":"TransferWhilePaused","type":"error"},{"inputs":[],"name":"UnpauseNotYetAllowed","type":"error"},{"inputs":[],"name":"ZeroAddress","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addToWhitelist","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":[],"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":"emergencyWithdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"emergencyWithdrawOtherToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_input","type":"uint256"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhitelisted","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":"pause","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingPausedUntil","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"}]
Contract Creation Code
610160604052348015610010575f80fd5b506040518060400160405280600981526020017f537175696447726f770000000000000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f537175696447726f7700000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f535147524f57000000000000000000000000000000000000000000000000000081525081600390816100f99190610b6f565b5080600490816101099190610b6f565b5050506101206006836102d160201b90919060201c565b610120818152505061013c6007826102d160201b90919060201c565b6101408181525050818051906020012060e08181525050808051906020012061010081815250504660a0818152505061017961031e60201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250505050506101c95f801b3361037860201b60201c565b506001600d5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506001600d5f8073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506102ac3361028661046e60201b60201c565b600a6102929190610da6565b633b9aca006102a19190610df0565b61047660201b60201c565b5f60095f6101000a81548160ff0219169083151502179055505f600b8190555061109b565b5f6020835110156102f2576102eb836104fb60201b60201c565b9050610318565b826103028361056060201b60201c565b5f0190816103109190610b6f565b5060ff5f1b90505b92915050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60e05161010051463060405160200161035d959493929190610e97565b60405160208183030381529060405280519060200120905090565b5f610389838361056960201b60201c565b61046457600160055f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506104016105cd60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050610468565b5f90505b92915050565b5f6009905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036104e6575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016104dd9190610ee8565b60405180910390fd5b6104f75f83836105d460201b60201c565b5050565b5f80829050601f8151111561054757826040517f305a27a900000000000000000000000000000000000000000000000000000000815260040161053e9190610f67565b60405180910390fd5b80518161055390610fb4565b5f1c175f1b915050919050565b5f819050919050565b5f60055f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f33905090565b600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161580156106725750600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156107065760095f9054906101000a900460ff1615806106935750600a5442105b156106ca576040517f12f1f92300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c544211610705576040517f6c24c30100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b61071783838361071c60201b60201c565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361076c578060025f828254610760919061101a565b9250508190555061083a565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156107f5578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016107ec9392919061104d565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610881578060025f82825403925050819055506108cb565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109289190611082565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806109b057607f821691505b6020821081036109c3576109c261096c565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302610a257fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826109ea565b610a2f86836109ea565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f610a73610a6e610a6984610a47565b610a50565b610a47565b9050919050565b5f819050919050565b610a8c83610a59565b610aa0610a9882610a7a565b8484546109f6565b825550505050565b5f90565b610ab4610aa8565b610abf818484610a83565b505050565b5b81811015610ae257610ad75f82610aac565b600181019050610ac5565b5050565b601f821115610b2757610af8816109c9565b610b01846109db565b81016020851015610b10578190505b610b24610b1c856109db565b830182610ac4565b50505b505050565b5f82821c905092915050565b5f610b475f1984600802610b2c565b1980831691505092915050565b5f610b5f8383610b38565b9150826002028217905092915050565b610b7882610935565b67ffffffffffffffff811115610b9157610b9061093f565b5b610b9b8254610999565b610ba6828285610ae6565b5f60209050601f831160018114610bd7575f8415610bc5578287015190505b610bcf8582610b54565b865550610c36565b601f198416610be5866109c9565b5f5b82811015610c0c57848901518255600182019150602085019450602081019050610be7565b86831015610c295784890151610c25601f891682610b38565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b6001851115610cc057808604811115610c9c57610c9b610c3e565b5b6001851615610cab5780820291505b8081029050610cb985610c6b565b9450610c80565b94509492505050565b5f82610cd85760019050610d93565b81610ce5575f9050610d93565b8160018114610cfb5760028114610d0557610d34565b6001915050610d93565b60ff841115610d1757610d16610c3e565b5b8360020a915084821115610d2e57610d2d610c3e565b5b50610d93565b5060208310610133831016604e8410600b8410161715610d695782820a905083811115610d6457610d63610c3e565b5b610d93565b610d768484846001610c77565b92509050818404811115610d8d57610d8c610c3e565b5b81810290505b9392505050565b5f60ff82169050919050565b5f610db082610a47565b9150610dbb83610d9a565b9250610de87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610cc9565b905092915050565b5f610dfa82610a47565b9150610e0583610a47565b9250828202610e1381610a47565b91508282048414831517610e2a57610e29610c3e565b5b5092915050565b5f819050919050565b610e4381610e31565b82525050565b610e5281610a47565b82525050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610e8182610e58565b9050919050565b610e9181610e77565b82525050565b5f60a082019050610eaa5f830188610e3a565b610eb76020830187610e3a565b610ec46040830186610e3a565b610ed16060830185610e49565b610ede6080830184610e88565b9695505050505050565b5f602082019050610efb5f830184610e88565b92915050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610f3982610935565b610f438185610f01565b9350610f53818560208601610f11565b610f5c81610f1f565b840191505092915050565b5f6020820190508181035f830152610f7f8184610f2f565b905092915050565b5f81519050919050565b5f819050602082019050919050565b5f610fab8251610e31565b80915050919050565b5f610fbe82610f87565b82610fc884610f91565b9050610fd381610fa0565b925060208210156110135761100e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff836020036008026109ea565b831692505b5050919050565b5f61102482610a47565b915061102f83610a47565b925082820190508082111561104757611046610c3e565b5b92915050565b5f6060820190506110605f830186610e88565b61106d6020830185610e49565b61107a6040830184610e49565b949350505050565b5f6020820190506110955f830184610e49565b92915050565b60805160a05160c05160e051610100516101205161014051612f8f6110ec5f395f61182901525f6117ee01525f611d3101525f611d1001525f61160201525f61165801525f6116810152612f8f5ff3fe608060405234801561000f575f80fd5b50600436106101ee575f3560e01c80637ecebe001161010d578063a9059cbb116100a0578063d547741f1161006f578063d547741f146105ae578063dd62ed3e146105ca578063dfe23f84146105fa578063e43252d714610604576101ee565b8063a9059cbb14610526578063b187bd2614610556578063cebc6ad514610574578063d505accf14610592576101ee565b80638ab1d681116100dc5780638ab1d6811461049e57806391d14854146104ba57806395d89b41146104ea578063a217fddf14610508576101ee565b80637ecebe001461042457806382aa7c68146104545780638456cb591461047057806384b0196e1461047a576101ee565b80632f2ff15d116101855780633af32abf116101545780633af32abf146103885780634ada218b146103b85780636833acdd146103d657806370a08231146103f4576101ee565b80632f2ff15d14610314578063313ce567146103305780633644e5151461034e57806336568abe1461036c576101ee565b806318160ddd116101c157806318160ddd1461028c57806322019a1c146102aa57806323b872dd146102b4578063248a9ca3146102e4576101ee565b806301ffc9a7146101f257806306fdde0314610222578063095ea7b3146102405780630abd133c14610270575b5f80fd5b61020c60048036038101906102079190612598565b610620565b60405161021991906125dd565b60405180910390f35b61022a610699565b6040516102379190612666565b60405180910390f35b61025a60048036038101906102559190612713565b610729565b60405161026791906125dd565b60405180910390f35b61028a60048036038101906102859190612751565b61074b565b005b610294610802565b6040516102a1919061278b565b60405180910390f35b6102b261080b565b005b6102ce60048036038101906102c991906127a4565b610863565b6040516102db91906125dd565b60405180910390f35b6102fe60048036038101906102f99190612827565b610891565b60405161030b9190612861565b60405180910390f35b61032e6004803603810190610329919061287a565b6108ae565b005b61033861091f565b60405161034591906128d3565b60405180910390f35b610356610927565b6040516103639190612861565b60405180910390f35b6103866004803603810190610381919061287a565b610935565b005b6103a2600480360381019061039d9190612751565b6109b0565b6040516103af91906125dd565b60405180910390f35b6103c0610a02565b6040516103cd91906125dd565b60405180910390f35b6103de610a14565b6040516103eb919061278b565b60405180910390f35b61040e60048036038101906104099190612751565b610a1a565b60405161041b919061278b565b60405180910390f35b61043e60048036038101906104399190612751565b610a5f565b60405161044b919061278b565b60405180910390f35b61046e600480360381019061046991906128ec565b610a70565b005b610478610afc565b005b610482610b70565b6040516104959796959493929190612a17565b60405180910390f35b6104b860048036038101906104b39190612751565b610c15565b005b6104d460048036038101906104cf919061287a565b610d5e565b6040516104e191906125dd565b60405180910390f35b6104f2610dc2565b6040516104ff9190612666565b60405180910390f35b610510610e52565b60405161051d9190612861565b60405180910390f35b610540600480360381019061053b9190612713565b610e58565b60405161054d91906125dd565b60405180910390f35b61055e610e7a565b60405161056b91906125dd565b60405180910390f35b61057c610e86565b604051610589919061278b565b60405180910390f35b6105ac60048036038101906105a79190612ac3565b610e8c565b005b6105c860048036038101906105c3919061287a565b610fd1565b005b6105e460048036038101906105df9190612b60565b611041565b6040516105f1919061278b565b60405180910390f35b6106026110c3565b005b61061e60048036038101906106199190612751565b611133565b005b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061069257506106918261127e565b5b9050919050565b6060600380546106a890612bcb565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490612bcb565b801561071f5780601f106106f65761010080835404028352916020019161071f565b820191905f5260205f20905b81548152906001019060200180831161070257829003601f168201915b5050505050905090565b5f806107336112e7565b90506107408185856112ee565b600191505092915050565b5f801b61075781611300565b5f8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107919190612bfb565b602060405180830381865afa1580156107ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d09190612c28565b90506107fd33828573ffffffffffffffffffffffffffffffffffffffff166113149092919063ffffffff16565b505050565b5f600254905090565b5f801b61081781611300565b5f4790503373ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f1935050505015801561085e573d5f803e3d5ffd5b505050565b5f8061086d6112e7565b905061087a858285611393565b610885858585611425565b60019150509392505050565b5f60055f8381526020019081526020015f20600101549050919050565b5f801b6108ba81611300565b6001600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506109198383611515565b50505050565b5f6009905090565b5f6109306115ff565b905090565b61093d6112e7565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109a1576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109ab82826116b5565b505050565b5f600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b60095f9054906101000a900460ff1681565b600c5481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f610a698261179f565b9050919050565b5f801b610a7c81611300565b60095f9054906101000a900460ff1615610ac2576040517fd723eaba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160095f6101000a81548160ff0219169083151502179055505f600a5403610af8578142610af19190612c80565b600a819055505b5050565b5f801b610b0881611300565b62015180600b54610b199190612c80565b421015610b52576040517fccad6bb300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42600b81905550610e1042610b679190612c80565b600c8190555050565b5f6060805f805f6060610b816117e5565b610b89611820565b46305f801b5f67ffffffffffffffff811115610ba857610ba7612cb3565b5b604051908082528060200260200182016040528015610bd65781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f801b610c2181611300565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c86576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610d06576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f60055f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b606060048054610dd190612bcb565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfd90612bcb565b8015610e485780601f10610e1f57610100808354040283529160200191610e48565b820191905f5260205f20905b815481529060010190602001808311610e2b57829003601f168201915b5050505050905090565b5f801b81565b5f80610e626112e7565b9050610e6f818585611425565b600191505092915050565b5f600c54421115905090565b600a5481565b83421115610ed157836040517f62791302000000000000000000000000000000000000000000000000000000008152600401610ec8919061278b565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610eff8c61185b565b89604051602001610f1596959493929190612ce0565b6040516020818303038152906040528051906020012090505f610f37826118ae565b90505f610f46828787876118c7565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fba57808a6040517f4b800e46000000000000000000000000000000000000000000000000000000008152600401610fb1929190612d3f565b60405180910390fd5b610fc58a8a8a6112ee565b50505050505050505050565b5f801b610fdd81611300565b5f600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555061103b83836116b5565b50505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f801b6110cf81611300565b5f600d5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555061112f5f801b336116b5565b5050565b5f801b61113f81611300565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111a4576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611225576040517fb73e95e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f33905090565b6112fb83838360016118f5565b505050565b6113118161130c6112e7565b611ac4565b50565b61138e838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611347929190612d66565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611b15565b505050565b5f61139e8484611041565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461141f5781811015611410578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161140793929190612d8d565b60405180910390fd5b61141e84848484035f6118f5565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611495575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161148c9190612bfb565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611505575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016114fc9190612bfb565b60405180910390fd5b611510838383611baa565b505050565b5f6115208383610d5e565b6115f557600160055f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506115926112e7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600190506115f9565b5f90505b92915050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561167a57507f000000000000000000000000000000000000000000000000000000000000000046145b156116a7577f000000000000000000000000000000000000000000000000000000000000000090506116b2565b6116af611cec565b90505b90565b5f6116c08383610d5e565b15611795575f60055f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506117326112e7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050611799565b5f90505b92915050565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b606061181b60067f0000000000000000000000000000000000000000000000000000000000000000611d8190919063ffffffff16565b905090565b606061185660077f0000000000000000000000000000000000000000000000000000000000000000611d8190919063ffffffff16565b905090565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050559050919050565b5f6118c06118ba6115ff565b83611e2e565b9050919050565b5f805f806118d788888888611e6e565b9250925092506118e78282611f55565b829350505050949350505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611965575f6040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161195c9190612bfb565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119d5575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016119cc9190612bfb565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015611abe578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611ab5919061278b565b60405180910390a35b50505050565b611ace8282610d5e565b611b115780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401611b08929190612dc2565b60405180910390fd5b5050565b5f611b3f828473ffffffffffffffffffffffffffffffffffffffff166120b790919063ffffffff16565b90505f815114158015611b63575080806020019051810190611b619190612e13565b155b15611ba557826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611b9c9190612bfb565b60405180910390fd5b505050565b600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015611c485750600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611cdc5760095f9054906101000a900460ff161580611c695750600a5442105b15611ca0576040517f12f1f92300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c544211611cdb576040517f6c24c30100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b611ce78383836120cc565b505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000004630604051602001611d66959493929190612e3e565b60405160208183030381529060405280519060200120905090565b606060ff5f1b8314611d9d57611d96836122e5565b9050611e28565b818054611da990612bcb565b80601f0160208091040260200160405190810160405280929190818152602001828054611dd590612bcb565b8015611e205780601f10611df757610100808354040283529160200191611e20565b820191905f5260205f20905b815481529060010190602001808311611e0357829003601f168201915b505050505090505b92915050565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c1115611eaa575f600385925092509250611f4b565b5f6001888888886040515f8152602001604052604051611ecd9493929190612e8f565b6020604051602081039080840390855afa158015611eed573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f3e575f60015f801b93509350935050611f4b565b805f805f1b935093509350505b9450945094915050565b5f6003811115611f6857611f67612ed2565b5b826003811115611f7b57611f7a612ed2565b5b03156120b35760016003811115611f9557611f94612ed2565b5b826003811115611fa857611fa7612ed2565b5b03611fdf576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026003811115611ff357611ff2612ed2565b5b82600381111561200657612005612ed2565b5b0361204a57805f1c6040517ffce698f7000000000000000000000000000000000000000000000000000000008152600401612041919061278b565b60405180910390fd5b60038081111561205d5761205c612ed2565b5b8260038111156120705761206f612ed2565b5b036120b257806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016120a99190612861565b60405180910390fd5b5b5050565b60606120c483835f612357565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361211c578060025f8282546121109190612c80565b925050819055506121ea565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156121a5578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161219c93929190612d8d565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612231578060025f828254039250508190555061227b565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516122d8919061278b565b60405180910390a3505050565b60605f6122f183612420565b90505f602067ffffffffffffffff81111561230f5761230e612cb3565b5b6040519080825280601f01601f1916602001820160405280156123415781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b60608147101561239e57306040517fcd7860590000000000000000000000000000000000000000000000000000000081526004016123959190612bfb565b60405180910390fd5b5f808573ffffffffffffffffffffffffffffffffffffffff1684866040516123c69190612f43565b5f6040518083038185875af1925050503d805f8114612400576040519150601f19603f3d011682016040523d82523d5f602084013e612405565b606091505b509150915061241586838361246e565b925050509392505050565b5f8060ff835f1c169050601f811115612465576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b6060826124835761247e826124fb565b6124f3565b5f82511480156124a957505f8473ffffffffffffffffffffffffffffffffffffffff163b145b156124eb57836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016124e29190612bfb565b60405180910390fd5b8190506124f4565b5b9392505050565b5f8151111561250d5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61257781612543565b8114612581575f80fd5b50565b5f813590506125928161256e565b92915050565b5f602082840312156125ad576125ac61253f565b5b5f6125ba84828501612584565b91505092915050565b5f8115159050919050565b6125d7816125c3565b82525050565b5f6020820190506125f05f8301846125ce565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612638826125f6565b6126428185612600565b9350612652818560208601612610565b61265b8161261e565b840191505092915050565b5f6020820190508181035f83015261267e818461262e565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6126af82612686565b9050919050565b6126bf816126a5565b81146126c9575f80fd5b50565b5f813590506126da816126b6565b92915050565b5f819050919050565b6126f2816126e0565b81146126fc575f80fd5b50565b5f8135905061270d816126e9565b92915050565b5f80604083850312156127295761272861253f565b5b5f612736858286016126cc565b9250506020612747858286016126ff565b9150509250929050565b5f602082840312156127665761276561253f565b5b5f612773848285016126cc565b91505092915050565b612785816126e0565b82525050565b5f60208201905061279e5f83018461277c565b92915050565b5f805f606084860312156127bb576127ba61253f565b5b5f6127c8868287016126cc565b93505060206127d9868287016126cc565b92505060406127ea868287016126ff565b9150509250925092565b5f819050919050565b612806816127f4565b8114612810575f80fd5b50565b5f81359050612821816127fd565b92915050565b5f6020828403121561283c5761283b61253f565b5b5f61284984828501612813565b91505092915050565b61285b816127f4565b82525050565b5f6020820190506128745f830184612852565b92915050565b5f80604083850312156128905761288f61253f565b5b5f61289d85828601612813565b92505060206128ae858286016126cc565b9150509250929050565b5f60ff82169050919050565b6128cd816128b8565b82525050565b5f6020820190506128e65f8301846128c4565b92915050565b5f602082840312156129015761290061253f565b5b5f61290e848285016126ff565b91505092915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b61294b81612917565b82525050565b61295a816126a5565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612992816126e0565b82525050565b5f6129a38383612989565b60208301905092915050565b5f602082019050919050565b5f6129c582612960565b6129cf818561296a565b93506129da8361297a565b805f5b83811015612a0a5781516129f18882612998565b97506129fc836129af565b9250506001810190506129dd565b5085935050505092915050565b5f60e082019050612a2a5f83018a612942565b8181036020830152612a3c818961262e565b90508181036040830152612a50818861262e565b9050612a5f606083018761277c565b612a6c6080830186612951565b612a7960a0830185612852565b81810360c0830152612a8b81846129bb565b905098975050505050505050565b612aa2816128b8565b8114612aac575f80fd5b50565b5f81359050612abd81612a99565b92915050565b5f805f805f805f60e0888a031215612ade57612add61253f565b5b5f612aeb8a828b016126cc565b9750506020612afc8a828b016126cc565b9650506040612b0d8a828b016126ff565b9550506060612b1e8a828b016126ff565b9450506080612b2f8a828b01612aaf565b93505060a0612b408a828b01612813565b92505060c0612b518a828b01612813565b91505092959891949750929550565b5f8060408385031215612b7657612b7561253f565b5b5f612b83858286016126cc565b9250506020612b94858286016126cc565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612be257607f821691505b602082108103612bf557612bf4612b9e565b5b50919050565b5f602082019050612c0e5f830184612951565b92915050565b5f81519050612c22816126e9565b92915050565b5f60208284031215612c3d57612c3c61253f565b5b5f612c4a84828501612c14565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612c8a826126e0565b9150612c95836126e0565b9250828201905080821115612cad57612cac612c53565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60c082019050612cf35f830189612852565b612d006020830188612951565b612d0d6040830187612951565b612d1a606083018661277c565b612d27608083018561277c565b612d3460a083018461277c565b979650505050505050565b5f604082019050612d525f830185612951565b612d5f6020830184612951565b9392505050565b5f604082019050612d795f830185612951565b612d86602083018461277c565b9392505050565b5f606082019050612da05f830186612951565b612dad602083018561277c565b612dba604083018461277c565b949350505050565b5f604082019050612dd55f830185612951565b612de26020830184612852565b9392505050565b612df2816125c3565b8114612dfc575f80fd5b50565b5f81519050612e0d81612de9565b92915050565b5f60208284031215612e2857612e2761253f565b5b5f612e3584828501612dff565b91505092915050565b5f60a082019050612e515f830188612852565b612e5e6020830187612852565b612e6b6040830186612852565b612e78606083018561277c565b612e856080830184612951565b9695505050505050565b5f608082019050612ea25f830187612852565b612eaf60208301866128c4565b612ebc6040830185612852565b612ec96060830184612852565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b5f81519050919050565b5f81905092915050565b5f612f1d82612eff565b612f278185612f09565b9350612f37818560208601612610565b80840191505092915050565b5f612f4e8284612f13565b91508190509291505056fea264697066735822122077606eceb6faf0a4212475b766a11a3f2aa2c43c08c76a04f5221dbff40cbd6764736f6c634300081a0033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106101ee575f3560e01c80637ecebe001161010d578063a9059cbb116100a0578063d547741f1161006f578063d547741f146105ae578063dd62ed3e146105ca578063dfe23f84146105fa578063e43252d714610604576101ee565b8063a9059cbb14610526578063b187bd2614610556578063cebc6ad514610574578063d505accf14610592576101ee565b80638ab1d681116100dc5780638ab1d6811461049e57806391d14854146104ba57806395d89b41146104ea578063a217fddf14610508576101ee565b80637ecebe001461042457806382aa7c68146104545780638456cb591461047057806384b0196e1461047a576101ee565b80632f2ff15d116101855780633af32abf116101545780633af32abf146103885780634ada218b146103b85780636833acdd146103d657806370a08231146103f4576101ee565b80632f2ff15d14610314578063313ce567146103305780633644e5151461034e57806336568abe1461036c576101ee565b806318160ddd116101c157806318160ddd1461028c57806322019a1c146102aa57806323b872dd146102b4578063248a9ca3146102e4576101ee565b806301ffc9a7146101f257806306fdde0314610222578063095ea7b3146102405780630abd133c14610270575b5f80fd5b61020c60048036038101906102079190612598565b610620565b60405161021991906125dd565b60405180910390f35b61022a610699565b6040516102379190612666565b60405180910390f35b61025a60048036038101906102559190612713565b610729565b60405161026791906125dd565b60405180910390f35b61028a60048036038101906102859190612751565b61074b565b005b610294610802565b6040516102a1919061278b565b60405180910390f35b6102b261080b565b005b6102ce60048036038101906102c991906127a4565b610863565b6040516102db91906125dd565b60405180910390f35b6102fe60048036038101906102f99190612827565b610891565b60405161030b9190612861565b60405180910390f35b61032e6004803603810190610329919061287a565b6108ae565b005b61033861091f565b60405161034591906128d3565b60405180910390f35b610356610927565b6040516103639190612861565b60405180910390f35b6103866004803603810190610381919061287a565b610935565b005b6103a2600480360381019061039d9190612751565b6109b0565b6040516103af91906125dd565b60405180910390f35b6103c0610a02565b6040516103cd91906125dd565b60405180910390f35b6103de610a14565b6040516103eb919061278b565b60405180910390f35b61040e60048036038101906104099190612751565b610a1a565b60405161041b919061278b565b60405180910390f35b61043e60048036038101906104399190612751565b610a5f565b60405161044b919061278b565b60405180910390f35b61046e600480360381019061046991906128ec565b610a70565b005b610478610afc565b005b610482610b70565b6040516104959796959493929190612a17565b60405180910390f35b6104b860048036038101906104b39190612751565b610c15565b005b6104d460048036038101906104cf919061287a565b610d5e565b6040516104e191906125dd565b60405180910390f35b6104f2610dc2565b6040516104ff9190612666565b60405180910390f35b610510610e52565b60405161051d9190612861565b60405180910390f35b610540600480360381019061053b9190612713565b610e58565b60405161054d91906125dd565b60405180910390f35b61055e610e7a565b60405161056b91906125dd565b60405180910390f35b61057c610e86565b604051610589919061278b565b60405180910390f35b6105ac60048036038101906105a79190612ac3565b610e8c565b005b6105c860048036038101906105c3919061287a565b610fd1565b005b6105e460048036038101906105df9190612b60565b611041565b6040516105f1919061278b565b60405180910390f35b6106026110c3565b005b61061e60048036038101906106199190612751565b611133565b005b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061069257506106918261127e565b5b9050919050565b6060600380546106a890612bcb565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490612bcb565b801561071f5780601f106106f65761010080835404028352916020019161071f565b820191905f5260205f20905b81548152906001019060200180831161070257829003601f168201915b5050505050905090565b5f806107336112e7565b90506107408185856112ee565b600191505092915050565b5f801b61075781611300565b5f8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107919190612bfb565b602060405180830381865afa1580156107ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d09190612c28565b90506107fd33828573ffffffffffffffffffffffffffffffffffffffff166113149092919063ffffffff16565b505050565b5f600254905090565b5f801b61081781611300565b5f4790503373ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f1935050505015801561085e573d5f803e3d5ffd5b505050565b5f8061086d6112e7565b905061087a858285611393565b610885858585611425565b60019150509392505050565b5f60055f8381526020019081526020015f20600101549050919050565b5f801b6108ba81611300565b6001600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506109198383611515565b50505050565b5f6009905090565b5f6109306115ff565b905090565b61093d6112e7565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109a1576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109ab82826116b5565b505050565b5f600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b60095f9054906101000a900460ff1681565b600c5481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f610a698261179f565b9050919050565b5f801b610a7c81611300565b60095f9054906101000a900460ff1615610ac2576040517fd723eaba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160095f6101000a81548160ff0219169083151502179055505f600a5403610af8578142610af19190612c80565b600a819055505b5050565b5f801b610b0881611300565b62015180600b54610b199190612c80565b421015610b52576040517fccad6bb300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42600b81905550610e1042610b679190612c80565b600c8190555050565b5f6060805f805f6060610b816117e5565b610b89611820565b46305f801b5f67ffffffffffffffff811115610ba857610ba7612cb3565b5b604051908082528060200260200182016040528015610bd65781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f801b610c2181611300565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c86576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610d06576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f60055f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b606060048054610dd190612bcb565b80601f0160208091040260200160405190810160405280929190818152602001828054610dfd90612bcb565b8015610e485780601f10610e1f57610100808354040283529160200191610e48565b820191905f5260205f20905b815481529060010190602001808311610e2b57829003601f168201915b5050505050905090565b5f801b81565b5f80610e626112e7565b9050610e6f818585611425565b600191505092915050565b5f600c54421115905090565b600a5481565b83421115610ed157836040517f62791302000000000000000000000000000000000000000000000000000000008152600401610ec8919061278b565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610eff8c61185b565b89604051602001610f1596959493929190612ce0565b6040516020818303038152906040528051906020012090505f610f37826118ae565b90505f610f46828787876118c7565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fba57808a6040517f4b800e46000000000000000000000000000000000000000000000000000000008152600401610fb1929190612d3f565b60405180910390fd5b610fc58a8a8a6112ee565b50505050505050505050565b5f801b610fdd81611300565b5f600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555061103b83836116b5565b50505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f801b6110cf81611300565b5f600d5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555061112f5f801b336116b5565b5050565b5f801b61113f81611300565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111a4576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611225576040517fb73e95e100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f33905090565b6112fb83838360016118f5565b505050565b6113118161130c6112e7565b611ac4565b50565b61138e838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611347929190612d66565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611b15565b505050565b5f61139e8484611041565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461141f5781811015611410578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161140793929190612d8d565b60405180910390fd5b61141e84848484035f6118f5565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611495575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161148c9190612bfb565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611505575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016114fc9190612bfb565b60405180910390fd5b611510838383611baa565b505050565b5f6115208383610d5e565b6115f557600160055f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506115926112e7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600190506115f9565b5f90505b92915050565b5f7f000000000000000000000000b72e76ccf005313868db7b48070901a44629da9873ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561167a57507f000000000000000000000000000000000000000000000000000000000000000146145b156116a7577f0aeeb9e83354b3f6a44c7c4d12942c44468165a19fe6f215596a4c69d62a5f8c90506116b2565b6116af611cec565b90505b90565b5f6116c08383610d5e565b15611795575f60055f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506117326112e7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050611799565b5f90505b92915050565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b606061181b60067f537175696447726f770000000000000000000000000000000000000000000009611d8190919063ffffffff16565b905090565b606061185660077f3100000000000000000000000000000000000000000000000000000000000001611d8190919063ffffffff16565b905090565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815480929190600101919050559050919050565b5f6118c06118ba6115ff565b83611e2e565b9050919050565b5f805f806118d788888888611e6e565b9250925092506118e78282611f55565b829350505050949350505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611965575f6040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161195c9190612bfb565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119d5575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016119cc9190612bfb565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015611abe578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611ab5919061278b565b60405180910390a35b50505050565b611ace8282610d5e565b611b115780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401611b08929190612dc2565b60405180910390fd5b5050565b5f611b3f828473ffffffffffffffffffffffffffffffffffffffff166120b790919063ffffffff16565b90505f815114158015611b63575080806020019051810190611b619190612e13565b155b15611ba557826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611b9c9190612bfb565b60405180910390fd5b505050565b600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015611c485750600d5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611cdc5760095f9054906101000a900460ff161580611c695750600a5442105b15611ca0576040517f12f1f92300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c544211611cdb576040517f6c24c30100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b611ce78383836120cc565b505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f3952b019225cc57c05fe9841a7e886828290354247b644aef00d4e2a827cf7b57fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc64630604051602001611d66959493929190612e3e565b60405160208183030381529060405280519060200120905090565b606060ff5f1b8314611d9d57611d96836122e5565b9050611e28565b818054611da990612bcb565b80601f0160208091040260200160405190810160405280929190818152602001828054611dd590612bcb565b8015611e205780601f10611df757610100808354040283529160200191611e20565b820191905f5260205f20905b815481529060010190602001808311611e0357829003601f168201915b505050505090505b92915050565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c1115611eaa575f600385925092509250611f4b565b5f6001888888886040515f8152602001604052604051611ecd9493929190612e8f565b6020604051602081039080840390855afa158015611eed573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f3e575f60015f801b93509350935050611f4b565b805f805f1b935093509350505b9450945094915050565b5f6003811115611f6857611f67612ed2565b5b826003811115611f7b57611f7a612ed2565b5b03156120b35760016003811115611f9557611f94612ed2565b5b826003811115611fa857611fa7612ed2565b5b03611fdf576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026003811115611ff357611ff2612ed2565b5b82600381111561200657612005612ed2565b5b0361204a57805f1c6040517ffce698f7000000000000000000000000000000000000000000000000000000008152600401612041919061278b565b60405180910390fd5b60038081111561205d5761205c612ed2565b5b8260038111156120705761206f612ed2565b5b036120b257806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016120a99190612861565b60405180910390fd5b5b5050565b60606120c483835f612357565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361211c578060025f8282546121109190612c80565b925050819055506121ea565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156121a5578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161219c93929190612d8d565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612231578060025f828254039250508190555061227b565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516122d8919061278b565b60405180910390a3505050565b60605f6122f183612420565b90505f602067ffffffffffffffff81111561230f5761230e612cb3565b5b6040519080825280601f01601f1916602001820160405280156123415781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b60608147101561239e57306040517fcd7860590000000000000000000000000000000000000000000000000000000081526004016123959190612bfb565b60405180910390fd5b5f808573ffffffffffffffffffffffffffffffffffffffff1684866040516123c69190612f43565b5f6040518083038185875af1925050503d805f8114612400576040519150601f19603f3d011682016040523d82523d5f602084013e612405565b606091505b509150915061241586838361246e565b925050509392505050565b5f8060ff835f1c169050601f811115612465576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b6060826124835761247e826124fb565b6124f3565b5f82511480156124a957505f8473ffffffffffffffffffffffffffffffffffffffff163b145b156124eb57836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016124e29190612bfb565b60405180910390fd5b8190506124f4565b5b9392505050565b5f8151111561250d5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61257781612543565b8114612581575f80fd5b50565b5f813590506125928161256e565b92915050565b5f602082840312156125ad576125ac61253f565b5b5f6125ba84828501612584565b91505092915050565b5f8115159050919050565b6125d7816125c3565b82525050565b5f6020820190506125f05f8301846125ce565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612638826125f6565b6126428185612600565b9350612652818560208601612610565b61265b8161261e565b840191505092915050565b5f6020820190508181035f83015261267e818461262e565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6126af82612686565b9050919050565b6126bf816126a5565b81146126c9575f80fd5b50565b5f813590506126da816126b6565b92915050565b5f819050919050565b6126f2816126e0565b81146126fc575f80fd5b50565b5f8135905061270d816126e9565b92915050565b5f80604083850312156127295761272861253f565b5b5f612736858286016126cc565b9250506020612747858286016126ff565b9150509250929050565b5f602082840312156127665761276561253f565b5b5f612773848285016126cc565b91505092915050565b612785816126e0565b82525050565b5f60208201905061279e5f83018461277c565b92915050565b5f805f606084860312156127bb576127ba61253f565b5b5f6127c8868287016126cc565b93505060206127d9868287016126cc565b92505060406127ea868287016126ff565b9150509250925092565b5f819050919050565b612806816127f4565b8114612810575f80fd5b50565b5f81359050612821816127fd565b92915050565b5f6020828403121561283c5761283b61253f565b5b5f61284984828501612813565b91505092915050565b61285b816127f4565b82525050565b5f6020820190506128745f830184612852565b92915050565b5f80604083850312156128905761288f61253f565b5b5f61289d85828601612813565b92505060206128ae858286016126cc565b9150509250929050565b5f60ff82169050919050565b6128cd816128b8565b82525050565b5f6020820190506128e65f8301846128c4565b92915050565b5f602082840312156129015761290061253f565b5b5f61290e848285016126ff565b91505092915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b61294b81612917565b82525050565b61295a816126a5565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612992816126e0565b82525050565b5f6129a38383612989565b60208301905092915050565b5f602082019050919050565b5f6129c582612960565b6129cf818561296a565b93506129da8361297a565b805f5b83811015612a0a5781516129f18882612998565b97506129fc836129af565b9250506001810190506129dd565b5085935050505092915050565b5f60e082019050612a2a5f83018a612942565b8181036020830152612a3c818961262e565b90508181036040830152612a50818861262e565b9050612a5f606083018761277c565b612a6c6080830186612951565b612a7960a0830185612852565b81810360c0830152612a8b81846129bb565b905098975050505050505050565b612aa2816128b8565b8114612aac575f80fd5b50565b5f81359050612abd81612a99565b92915050565b5f805f805f805f60e0888a031215612ade57612add61253f565b5b5f612aeb8a828b016126cc565b9750506020612afc8a828b016126cc565b9650506040612b0d8a828b016126ff565b9550506060612b1e8a828b016126ff565b9450506080612b2f8a828b01612aaf565b93505060a0612b408a828b01612813565b92505060c0612b518a828b01612813565b91505092959891949750929550565b5f8060408385031215612b7657612b7561253f565b5b5f612b83858286016126cc565b9250506020612b94858286016126cc565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612be257607f821691505b602082108103612bf557612bf4612b9e565b5b50919050565b5f602082019050612c0e5f830184612951565b92915050565b5f81519050612c22816126e9565b92915050565b5f60208284031215612c3d57612c3c61253f565b5b5f612c4a84828501612c14565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612c8a826126e0565b9150612c95836126e0565b9250828201905080821115612cad57612cac612c53565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f60c082019050612cf35f830189612852565b612d006020830188612951565b612d0d6040830187612951565b612d1a606083018661277c565b612d27608083018561277c565b612d3460a083018461277c565b979650505050505050565b5f604082019050612d525f830185612951565b612d5f6020830184612951565b9392505050565b5f604082019050612d795f830185612951565b612d86602083018461277c565b9392505050565b5f606082019050612da05f830186612951565b612dad602083018561277c565b612dba604083018461277c565b949350505050565b5f604082019050612dd55f830185612951565b612de26020830184612852565b9392505050565b612df2816125c3565b8114612dfc575f80fd5b50565b5f81519050612e0d81612de9565b92915050565b5f60208284031215612e2857612e2761253f565b5b5f612e3584828501612dff565b91505092915050565b5f60a082019050612e515f830188612852565b612e5e6020830187612852565b612e6b6040830186612852565b612e78606083018561277c565b612e856080830184612951565b9695505050505050565b5f608082019050612ea25f830187612852565b612eaf60208301866128c4565b612ebc6040830185612852565b612ec96060830184612852565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b5f81519050919050565b5f81905092915050565b5f612f1d82612eff565b612f278185612f09565b9350612f37818560208601612610565b80840191505092915050565b5f612f4e8284612f13565b91508190509291505056fea264697066735822122077606eceb6faf0a4212475b766a11a3f2aa2c43c08c76a04f5221dbff40cbd6764736f6c634300081a0033
Deployed Bytecode Sourcemap
106007:6706:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30395:204;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;13297:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;15590:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112151:240;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;14399:99;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112536:174;;;:::i;:::-;;16358:249;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;31675:122;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110679:216;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;111847:92;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90804:114;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33244:251;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;109602:115;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106156:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106396:33;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14561:118;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90546:145;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107622:295;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108137:266;;;:::i;:::-;;85205:580;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;109116:266;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;30691:138;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;13507:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30003:49;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14884:182;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108411:112;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106233:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;89792:695;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;111116:213;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;15129:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;111575:172;;;:::i;:::-;;108678:263;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;30395:204;30480:4;30519:32;30504:47;;;:11;:47;;;;:87;;;;30555:36;30579:11;30555:23;:36::i;:::-;30504:87;30497:94;;30395:204;;;:::o;13297:91::-;13342:13;13375:5;13368:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13297:91;:::o;15590:190::-;15663:4;15680:13;15696:12;:10;:12::i;:::-;15680:28;;15719:31;15728:5;15735:7;15744:5;15719:8;:31::i;:::-;15768:4;15761:11;;;15590:190;;;;:::o;112151:240::-;30048:4;112238:18;;30287:16;30298:4;30287:10;:16::i;:::-;112269:14:::1;112293:6;112286:24;;;112319:4;112286:39;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;112269:56;;112336:47;112364:10;112376:6;112343;112336:27;;;;:47;;;;;:::i;:::-;112258:133;112151:240:::0;;:::o;14399:99::-;14451:7;14478:12;;14471:19;;14399:99;:::o;112536:174::-;30048:4;112586:18;;30287:16;30298:4;30287:10;:16::i;:::-;112617:14:::1;112634:21;112617:38;;112674:10;112666:28;;:36;112695:6;112666:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;112606:104;112536:174:::0;:::o;16358:249::-;16445:4;16462:15;16480:12;:10;:12::i;:::-;16462:30;;16503:37;16519:4;16525:7;16534:5;16503:15;:37::i;:::-;16551:26;16561:4;16567:2;16571:5;16551:9;:26::i;:::-;16595:4;16588:11;;;16358:249;;;;;:::o;31675:122::-;31740:7;31767:6;:12;31774:4;31767:12;;;;;;;;;;;:22;;;31760:29;;31675:122;;;:::o;110679:216::-;30048:4;110787:18;;30287:16;30298:4;30287:10;:16::i;:::-;110841:4:::1;110818:11;:20;110830:7;110818:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;110856:31;110873:4;110879:7;110856:16;:31::i;:::-;;110679:216:::0;;;:::o;111847:92::-;111905:5;111930:1;111923:8;;111847:92;:::o;90804:114::-;90863:7;90890:20;:18;:20::i;:::-;90883:27;;90804:114;:::o;33244:251::-;33360:12;:10;:12::i;:::-;33338:34;;:18;:34;;;33334:104;;33396:30;;;;;;;;;;;;;;33334:104;33450:37;33462:4;33468:18;33450:11;:37::i;:::-;;33244:251;;:::o;109602:115::-;109665:4;109689:11;:20;109701:7;109689:20;;;;;;;;;;;;;;;;;;;;;;;;;109682:27;;109602:115;;;:::o;106156:26::-;;;;;;;;;;;;;:::o;106396:33::-;;;;:::o;14561:118::-;14626:7;14653:9;:18;14663:7;14653:18;;;;;;;;;;;;;;;;14646:25;;14561:118;;;:::o;90546:145::-;90637:7;90664:19;90677:5;90664:12;:19::i;:::-;90657:26;;90546:145;;;:::o;107622:295::-;30048:4;107695:18;;30287:16;30298:4;30287:10;:16::i;:::-;107730:14:::1;;;;;;;;;;;107726:50;;;107753:23;;;;;;;;;;;;;;107726:50;107806:4;107789:14;;:21;;;;;;;;;;;;;;;;;;107842:1;107827:11;;:16:::0;107823:87:::1;;107892:6;107874:15;:24;;;;:::i;:::-;107860:11;:38;;;;107823:87;107622:295:::0;;:::o;108137:266::-;30048:4;108172:18;;30287:16;30298:4;30287:10;:16::i;:::-;108241:8:::1;108225:13;;:24;;;;:::i;:::-;108207:15;:42;108203:91;;;108271:23;;;;;;;;;;;;;;108203:91;108323:15;108307:13;:31;;;;108388:7;108370:15;:25;;;;:::i;:::-;108349:18;:46;;;;108137:266:::0;:::o;85205:580::-;85308:13;85336:18;85369:21;85405:15;85435:25;85475:12;85502:27;85610:13;:11;:13::i;:::-;85638:16;:14;:16::i;:::-;85669:13;85705:4;85733:1;85725:10;;85764:1;85750:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85557:220;;;;;;;;;;;;;;;;;;;;;85205:580;;;;;;;:::o;109116:266::-;30048:4;109196:18;;30287:16;30298:4;30287:10;:16::i;:::-;109250:1:::1;109231:21;;:7;:21;;::::0;109227:47:::1;;109261:13;;;;;;;;;;;;;;109227:47;109290:11;:20;109302:7;109290:20;;;;;;;;;;;;;;;;;;;;;;;;;109285:50;;109319:16;;;;;;;;;;;;;;109285:50;109369:5;109346:11;:20;109358:7;109346:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;109116:266:::0;;:::o;30691:138::-;30768:4;30792:6;:12;30799:4;30792:12;;;;;;;;;;;:20;;:29;30813:7;30792:29;;;;;;;;;;;;;;;;;;;;;;;;;30785:36;;30691:138;;;;:::o;13507:95::-;13554:13;13587:7;13580:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13507:95;:::o;30003:49::-;30048:4;30003:49;;;:::o;14884:182::-;14953:4;14970:13;14986:12;:10;:12::i;:::-;14970:28;;15009:27;15019:5;15026:2;15030:5;15009:9;:27::i;:::-;15054:4;15047:11;;;14884:182;;;;:::o;108411:112::-;108454:4;108497:18;;108478:15;:37;;108471:44;;108411:112;:::o;106233:26::-;;;;:::o;89792:695::-;90022:8;90004:15;:26;90000:99;;;90078:8;90054:33;;;;;;;;;;;:::i;:::-;;;;;;;;90000:99;90111:18;89112:95;90170:5;90177:7;90186:5;90193:16;90203:5;90193:9;:16::i;:::-;90211:8;90142:78;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;90132:89;;;;;;90111:110;;90234:12;90249:28;90266:10;90249:16;:28::i;:::-;90234:43;;90290:14;90307:28;90321:4;90327:1;90330;90333;90307:13;:28::i;:::-;90290:45;;90360:5;90350:15;;:6;:15;;;90346:90;;90410:6;90418:5;90389:35;;;;;;;;;;;;:::i;:::-;;;;;;;;90346:90;90448:31;90457:5;90464:7;90473:5;90448:8;:31::i;:::-;89989:498;;;89792:695;;;;;;;:::o;111116:213::-;30048:4;111225:18;;30287:16;30298:4;30287:10;:16::i;:::-;111279:5:::1;111256:11;:20;111268:7;111256:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;111295:26;111307:4;111313:7;111295:11;:26::i;:::-;;111116:213:::0;;;:::o;15129:142::-;15209:7;15236:11;:18;15248:5;15236:18;;;;;;;;;;;;;;;:27;15255:7;15236:27;;;;;;;;;;;;;;;;15229:34;;15129:142;;;;:::o;111575:172::-;30048:4;111623:18;;30287:16;30298:4;30287:10;:16::i;:::-;111680:5:::1;111654:11;:23;111666:10;111654:23;;;;;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;111696:43;30048:4;111708:18:::0;::::1;111728:10;111696:11;:43::i;:::-;;111575:172:::0;:::o;108678:263::-;30048:4;108753:18;;30287:16;30298:4;30287:10;:16::i;:::-;108807:1:::1;108788:21;;:7;:21;;::::0;108784:47:::1;;108818:13;;;;;;;;;;;;;;108784:47;108846:11;:20;108858:7;108846:20;;;;;;;;;;;;;;;;;;;;;;;;;108842:53;;;108875:20;;;;;;;;;;;;;;108842:53;108929:4;108906:11;:20;108918:7;108906:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;108678:263:::0;;:::o;27731:148::-;27807:4;27846:25;27831:40;;;:11;:40;;;;27824:47;;27731:148;;;:::o;4302:98::-;4355:7;4382:10;4375:17;;4302:98;:::o;20417:130::-;20502:37;20511:5;20518:7;20527:5;20534:4;20502:8;:37::i;:::-;20417:130;;;:::o;31044:105::-;31111:30;31122:4;31128:12;:10;:12::i;:::-;31111:10;:30::i;:::-;31044:105;:::o;98596:162::-;98679:71;98699:5;98721;:14;;;98738:2;98742:5;98706:43;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98679:19;:71::i;:::-;98596:162;;;:::o;22133:487::-;22233:24;22260:25;22270:5;22277:7;22260:9;:25::i;:::-;22233:52;;22320:17;22300:16;:37;22296:317;;22377:5;22358:16;:24;22354:132;;;22437:7;22446:16;22464:5;22410:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;22354:132;22529:57;22538:5;22545:7;22573:5;22554:16;:24;22580:5;22529:8;:57::i;:::-;22296:317;22222:398;22133:487;;;:::o;16992:308::-;17092:1;17076:18;;:4;:18;;;17072:88;;17145:1;17118:30;;;;;;;;;;;:::i;:::-;;;;;;;;17072:88;17188:1;17174:16;;:2;:16;;;17170:88;;17243:1;17214:32;;;;;;;;;;;:::i;:::-;;;;;;;;17170:88;17268:24;17276:4;17282:2;17286:5;17268:7;:24::i;:::-;16992:308;;;:::o;34121:324::-;34198:4;34220:22;34228:4;34234:7;34220;:22::i;:::-;34215:223;;34291:4;34259:6;:12;34266:4;34259:12;;;;;;;;;;;:20;;:29;34280:7;34259:29;;;;;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;34342:12;:10;:12::i;:::-;34315:40;;34333:7;34315:40;;34327:4;34315:40;;;;;;;;;;34377:4;34370:11;;;;34215:223;34421:5;34414:12;;34121:324;;;;;:::o;83872:268::-;83925:7;83966:11;83949:28;;83957:4;83949:28;;;:63;;;;;83998:14;83981:13;:31;83949:63;83945:188;;;84036:22;84029:29;;;;83945:188;84098:23;:21;:23::i;:::-;84091:30;;83872:268;;:::o;34689:325::-;34767:4;34788:22;34796:4;34802:7;34788;:22::i;:::-;34784:223;;;34859:5;34827:6;:12;34834:4;34827:12;;;;;;;;;;;:20;;:29;34848:7;34827:29;;;;;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;34911:12;:10;:12::i;:::-;34884:40;;34902:7;34884:40;;34896:4;34884:40;;;;;;;;;;34946:4;34939:11;;;;34784:223;34990:5;34983:12;;34689:325;;;;;:::o;87299:109::-;87359:7;87386;:14;87394:5;87386:14;;;;;;;;;;;;;;;;87379:21;;87299:109;;;:::o;86114:128::-;86160:13;86193:41;86220:13;86193:5;:26;;:41;;;;:::i;:::-;86186:48;;86114:128;:::o;86577:137::-;86626:13;86659:47;86689:16;86659:8;:29;;:47;;;;:::i;:::-;86652:54;;86577:137;:::o;87529:402::-;87589:7;87896;:14;87904:5;87896:14;;;;;;;;;;;;;;;;:16;;;;;;;;;;;;87889:23;;87529:402;;;:::o;84971:178::-;85048:7;85075:66;85108:20;:18;:20::i;:::-;85130:10;85075:32;:66::i;:::-;85068:73;;84971:178;;;:::o;45951:264::-;46036:7;46057:17;46076:18;46096:16;46116:25;46127:4;46133:1;46136;46139;46116:10;:25::i;:::-;46056:85;;;;;;46152:28;46164:5;46171:8;46152:11;:28::i;:::-;46198:9;46191:16;;;;;45951:264;;;;;;:::o;21398:443::-;21528:1;21511:19;;:5;:19;;;21507:91;;21583:1;21554:32;;;;;;;;;;;:::i;:::-;;;;;;;;21507:91;21631:1;21612:21;;:7;:21;;;21608:92;;21685:1;21657:31;;;;;;;;;;;:::i;:::-;;;;;;;;21608:92;21740:5;21710:11;:18;21722:5;21710:18;;;;;;;;;;;;;;;:27;21729:7;21710:27;;;;;;;;;;;;;;;:35;;;;21760:9;21756:78;;;21807:7;21791:31;;21800:5;21791:31;;;21816:5;21791:31;;;;;;:::i;:::-;;;;;;;;21756:78;21398:443;;;;:::o;31285:201::-;31374:22;31382:4;31388:7;31374;:22::i;:::-;31369:110;;31453:7;31462:4;31420:47;;;;;;;;;;;;:::i;:::-;;;;;;;;31369:110;31285:201;;:::o;101407:638::-;101831:23;101857:33;101885:4;101865:5;101857:27;;;;:33;;;;:::i;:::-;101831:59;;101926:1;101905:10;:17;:22;;:57;;;;;101943:10;101932:30;;;;;;;;;;;;:::i;:::-;101931:31;101905:57;101901:137;;;102019:5;101986:40;;;;;;;;;;;:::i;:::-;;;;;;;;101901:137;101477:568;101407:638;;:::o;110013:451::-;110147:11;:17;110159:4;110147:17;;;;;;;;;;;;;;;;;;;;;;;;;110146:18;:38;;;;;110169:11;:15;110181:2;110169:15;;;;;;;;;;;;;;;;;;;;;;;;;110168:16;110146:38;110142:273;;;110206:14;;;;;;;;;;;110205:15;:48;;;;110242:11;;110224:15;:29;110205:48;110201:97;;;110279:19;;;;;;;;;;;;;;110201:97;110338:18;;110319:15;:37;110315:88;;110382:21;;;;;;;;;;;;;;110315:88;110142:273;110425:31;110439:4;110445:2;110449:6;110425:13;:31::i;:::-;110013:451;;;:::o;84148:181::-;84203:7;82064:95;84262:11;84275:14;84291:13;84314:4;84240:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;84230:91;;;;;;84223:98;;84148:181;:::o;78341:273::-;78435:13;76287:66;78494:17;;78484:5;78465:46;78461:146;;78535:15;78544:5;78535:8;:15::i;:::-;78528:22;;;;78461:146;78590:5;78583:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78341:273;;;;;:::o;70364:410::-;70457:14;70569:4;70563:11;70600:10;70595:3;70588:23;70648:15;70641:4;70636:3;70632:14;70625:39;70701:10;70694:4;70689:3;70685:14;70678:34;70751:4;70746:3;70736:20;70726:30;;70537:230;70364:410;;;;:::o;44256:1556::-;44387:7;44396:12;44410:7;45330:66;45325:1;45317:10;;:79;45313:166;;;45429:1;45433:30;45465:1;45413:54;;;;;;;;45313:166;45576:14;45593:24;45603:4;45609:1;45612;45615;45593:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45576:41;;45650:1;45632:20;;:6;:20;;;45628:115;;45685:1;45689:29;45728:1;45720:10;;45669:62;;;;;;;;;45628:115;45763:6;45771:20;45801:1;45793:10;;45755:49;;;;;;;44256:1556;;;;;;;;;:::o;46353:542::-;46449:20;46440:29;;;;;;;;:::i;:::-;;:5;:29;;;;;;;;:::i;:::-;;;46436:452;46486:7;46436:452;46547:29;46538:38;;;;;;;;:::i;:::-;;:5;:38;;;;;;;;:::i;:::-;;;46534:354;;46600:23;;;;;;;;;;;;;;46534:354;46654:35;46645:44;;;;;;;;:::i;:::-;;:5;:44;;;;;;;;:::i;:::-;;;46641:247;;46749:8;46741:17;;46713:46;;;;;;;;;;;:::i;:::-;;;;;;;;46641:247;46790:30;46781:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;46777:111;;46867:8;46844:32;;;;;;;;;;;:::i;:::-;;;;;;;;46777:111;46353:542;;;:::o;93722:153::-;93797:12;93829:38;93851:6;93859:4;93865:1;93829:21;:38::i;:::-;93822:45;;93722:153;;;;:::o;17624:1135::-;17730:1;17714:18;;:4;:18;;;17710:552;;17868:5;17852:12;;:21;;;;;;;:::i;:::-;;;;;;;;17710:552;;;17906:19;17928:9;:15;17938:4;17928:15;;;;;;;;;;;;;;;;17906:37;;17976:5;17962:11;:19;17958:117;;;18034:4;18040:11;18053:5;18009:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;17958:117;18230:5;18216:11;:19;18198:9;:15;18208:4;18198:15;;;;;;;;;;;;;;;:37;;;;17891:371;17710:552;18292:1;18278:16;;:2;:16;;;18274:435;;18460:5;18444:12;;:21;;;;;;;;;;;18274:435;;;18677:5;18660:9;:13;18670:2;18660:13;;;;;;;;;;;;;;;;:22;;;;;;;;;;;18274:435;18741:2;18726:25;;18735:4;18726:25;;;18745:5;18726:25;;;;;;:::i;:::-;;;;;;;;17624:1135;;;:::o;76996:415::-;77055:13;77081:11;77095:16;77106:4;77095:10;:16::i;:::-;77081:30;;77201:17;77232:2;77221:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77201:34;;77326:3;77321;77314:16;77367:4;77360;77355:3;77351:14;77344:28;77400:3;77393:10;;;;76996:415;;;:::o;94210:398::-;94309:12;94362:5;94338:21;:29;94334:110;;;94426:4;94391:41;;;;;;;;;;;:::i;:::-;;;;;;;;94334:110;94455:12;94469:23;94496:6;:11;;94515:5;94522:4;94496:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94454:73;;;;94545:55;94572:6;94580:7;94589:10;94545:26;:55::i;:::-;94538:62;;;;94210:398;;;;;:::o;77488:251::-;77549:7;77569:14;77622:4;77613;77586:33;;:40;77569:57;;77650:2;77641:6;:11;77637:71;;;77676:20;;;;;;;;;;;;;;77637:71;77725:6;77718:13;;;77488:251;;;:::o;95686:597::-;95834:12;95864:7;95859:417;;95888:19;95896:10;95888:7;:19::i;:::-;95859:417;;;96137:1;96116:10;:17;:22;:49;;;;;96164:1;96142:6;:18;;;:23;96116:49;96112:121;;;96210:6;96193:24;;;;;;;;;;;:::i;:::-;;;;;;;;96112:121;96254:10;96247:17;;;;95859:417;95686:597;;;;;;:::o;96836:528::-;96989:1;96969:10;:17;:21;96965:392;;;97201:10;97195:17;97258:15;97245:10;97241:2;97237:19;97230:44;96965:392;97328:17;;;;;;;;;;;;;;88:117:1;197:1;194;187:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:139::-;1887:6;1882:3;1877;1871:23;1928:1;1919:6;1914:3;1910:16;1903:27;1798:139;;;:::o;1943:102::-;1984:6;2035:2;2031:7;2026:2;2019:5;2015:14;2011:28;2001:38;;1943:102;;;:::o;2051:377::-;2139:3;2167:39;2200:5;2167:39;:::i;:::-;2222:71;2286:6;2281:3;2222:71;:::i;:::-;2215:78;;2302:65;2360:6;2355:3;2348:4;2341:5;2337:16;2302:65;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2143:285;2051:377;;;;:::o;2434:313::-;2547:4;2585:2;2574:9;2570:18;2562:26;;2634:9;2628:4;2624:20;2620:1;2609:9;2605:17;2598:47;2662:78;2735:4;2726:6;2662:78;:::i;:::-;2654:86;;2434:313;;;;:::o;2753:126::-;2790:7;2830:42;2823:5;2819:54;2808:65;;2753:126;;;:::o;2885:96::-;2922:7;2951:24;2969:5;2951:24;:::i;:::-;2940:35;;2885:96;;;:::o;2987:122::-;3060:24;3078:5;3060:24;:::i;:::-;3053:5;3050:35;3040:63;;3099:1;3096;3089:12;3040:63;2987:122;:::o;3115:139::-;3161:5;3199:6;3186:20;3177:29;;3215:33;3242:5;3215:33;:::i;:::-;3115:139;;;;:::o;3260:77::-;3297:7;3326:5;3315:16;;3260:77;;;:::o;3343:122::-;3416:24;3434:5;3416:24;:::i;:::-;3409:5;3406:35;3396:63;;3455:1;3452;3445:12;3396:63;3343:122;:::o;3471:139::-;3517:5;3555:6;3542:20;3533:29;;3571:33;3598:5;3571:33;:::i;:::-;3471:139;;;;:::o;3616:474::-;3684:6;3692;3741:2;3729:9;3720:7;3716:23;3712:32;3709:119;;;3747:79;;:::i;:::-;3709:119;3867:1;3892:53;3937:7;3928:6;3917:9;3913:22;3892:53;:::i;:::-;3882:63;;3838:117;3994:2;4020:53;4065:7;4056:6;4045:9;4041:22;4020:53;:::i;:::-;4010:63;;3965:118;3616:474;;;;;:::o;4096:329::-;4155:6;4204:2;4192:9;4183:7;4179:23;4175:32;4172:119;;;4210:79;;:::i;:::-;4172:119;4330:1;4355:53;4400:7;4391:6;4380:9;4376:22;4355:53;:::i;:::-;4345:63;;4301:117;4096:329;;;;:::o;4431:118::-;4518:24;4536:5;4518:24;:::i;:::-;4513:3;4506:37;4431:118;;:::o;4555:222::-;4648:4;4686:2;4675:9;4671:18;4663:26;;4699:71;4767:1;4756:9;4752:17;4743:6;4699:71;:::i;:::-;4555:222;;;;:::o;4783:619::-;4860:6;4868;4876;4925:2;4913:9;4904:7;4900:23;4896:32;4893:119;;;4931:79;;:::i;:::-;4893:119;5051:1;5076:53;5121:7;5112:6;5101:9;5097:22;5076:53;:::i;:::-;5066:63;;5022:117;5178:2;5204:53;5249:7;5240:6;5229:9;5225:22;5204:53;:::i;:::-;5194:63;;5149:118;5306:2;5332:53;5377:7;5368:6;5357:9;5353:22;5332:53;:::i;:::-;5322:63;;5277:118;4783:619;;;;;:::o;5408:77::-;5445:7;5474:5;5463:16;;5408:77;;;:::o;5491:122::-;5564:24;5582:5;5564:24;:::i;:::-;5557:5;5554:35;5544:63;;5603:1;5600;5593:12;5544:63;5491:122;:::o;5619:139::-;5665:5;5703:6;5690:20;5681:29;;5719:33;5746:5;5719:33;:::i;:::-;5619:139;;;;:::o;5764:329::-;5823:6;5872:2;5860:9;5851:7;5847:23;5843:32;5840:119;;;5878:79;;:::i;:::-;5840:119;5998:1;6023:53;6068:7;6059:6;6048:9;6044:22;6023:53;:::i;:::-;6013:63;;5969:117;5764:329;;;;:::o;6099:118::-;6186:24;6204:5;6186:24;:::i;:::-;6181:3;6174:37;6099:118;;:::o;6223:222::-;6316:4;6354:2;6343:9;6339:18;6331:26;;6367:71;6435:1;6424:9;6420:17;6411:6;6367:71;:::i;:::-;6223:222;;;;:::o;6451:474::-;6519:6;6527;6576:2;6564:9;6555:7;6551:23;6547:32;6544:119;;;6582:79;;:::i;:::-;6544:119;6702:1;6727:53;6772:7;6763:6;6752:9;6748:22;6727:53;:::i;:::-;6717:63;;6673:117;6829:2;6855:53;6900:7;6891:6;6880:9;6876:22;6855:53;:::i;:::-;6845:63;;6800:118;6451:474;;;;;:::o;6931:86::-;6966:7;7006:4;6999:5;6995:16;6984:27;;6931:86;;;:::o;7023:112::-;7106:22;7122:5;7106:22;:::i;:::-;7101:3;7094:35;7023:112;;:::o;7141:214::-;7230:4;7268:2;7257:9;7253:18;7245:26;;7281:67;7345:1;7334:9;7330:17;7321:6;7281:67;:::i;:::-;7141:214;;;;:::o;7361:329::-;7420:6;7469:2;7457:9;7448:7;7444:23;7440:32;7437:119;;;7475:79;;:::i;:::-;7437:119;7595:1;7620:53;7665:7;7656:6;7645:9;7641:22;7620:53;:::i;:::-;7610:63;;7566:117;7361:329;;;;:::o;7696:149::-;7732:7;7772:66;7765:5;7761:78;7750:89;;7696:149;;;:::o;7851:115::-;7936:23;7953:5;7936:23;:::i;:::-;7931:3;7924:36;7851:115;;:::o;7972:118::-;8059:24;8077:5;8059:24;:::i;:::-;8054:3;8047:37;7972:118;;:::o;8096:114::-;8163:6;8197:5;8191:12;8181:22;;8096:114;;;:::o;8216:184::-;8315:11;8349:6;8344:3;8337:19;8389:4;8384:3;8380:14;8365:29;;8216:184;;;;:::o;8406:132::-;8473:4;8496:3;8488:11;;8526:4;8521:3;8517:14;8509:22;;8406:132;;;:::o;8544:108::-;8621:24;8639:5;8621:24;:::i;:::-;8616:3;8609:37;8544:108;;:::o;8658:179::-;8727:10;8748:46;8790:3;8782:6;8748:46;:::i;:::-;8826:4;8821:3;8817:14;8803:28;;8658:179;;;;:::o;8843:113::-;8913:4;8945;8940:3;8936:14;8928:22;;8843:113;;;:::o;8992:732::-;9111:3;9140:54;9188:5;9140:54;:::i;:::-;9210:86;9289:6;9284:3;9210:86;:::i;:::-;9203:93;;9320:56;9370:5;9320:56;:::i;:::-;9399:7;9430:1;9415:284;9440:6;9437:1;9434:13;9415:284;;;9516:6;9510:13;9543:63;9602:3;9587:13;9543:63;:::i;:::-;9536:70;;9629:60;9682:6;9629:60;:::i;:::-;9619:70;;9475:224;9462:1;9459;9455:9;9450:14;;9415:284;;;9419:14;9715:3;9708:10;;9116:608;;;8992:732;;;;:::o;9730:1215::-;10079:4;10117:3;10106:9;10102:19;10094:27;;10131:69;10197:1;10186:9;10182:17;10173:6;10131:69;:::i;:::-;10247:9;10241:4;10237:20;10232:2;10221:9;10217:18;10210:48;10275:78;10348:4;10339:6;10275:78;:::i;:::-;10267:86;;10400:9;10394:4;10390:20;10385:2;10374:9;10370:18;10363:48;10428:78;10501:4;10492:6;10428:78;:::i;:::-;10420:86;;10516:72;10584:2;10573:9;10569:18;10560:6;10516:72;:::i;:::-;10598:73;10666:3;10655:9;10651:19;10642:6;10598:73;:::i;:::-;10681;10749:3;10738:9;10734:19;10725:6;10681:73;:::i;:::-;10802:9;10796:4;10792:20;10786:3;10775:9;10771:19;10764:49;10830:108;10933:4;10924:6;10830:108;:::i;:::-;10822:116;;9730:1215;;;;;;;;;;:::o;10951:118::-;11022:22;11038:5;11022:22;:::i;:::-;11015:5;11012:33;11002:61;;11059:1;11056;11049:12;11002:61;10951:118;:::o;11075:135::-;11119:5;11157:6;11144:20;11135:29;;11173:31;11198:5;11173:31;:::i;:::-;11075:135;;;;:::o;11216:1199::-;11327:6;11335;11343;11351;11359;11367;11375;11424:3;11412:9;11403:7;11399:23;11395:33;11392:120;;;11431:79;;:::i;:::-;11392:120;11551:1;11576:53;11621:7;11612:6;11601:9;11597:22;11576:53;:::i;:::-;11566:63;;11522:117;11678:2;11704:53;11749:7;11740:6;11729:9;11725:22;11704:53;:::i;:::-;11694:63;;11649:118;11806:2;11832:53;11877:7;11868:6;11857:9;11853:22;11832:53;:::i;:::-;11822:63;;11777:118;11934:2;11960:53;12005:7;11996:6;11985:9;11981:22;11960:53;:::i;:::-;11950:63;;11905:118;12062:3;12089:51;12132:7;12123:6;12112:9;12108:22;12089:51;:::i;:::-;12079:61;;12033:117;12189:3;12216:53;12261:7;12252:6;12241:9;12237:22;12216:53;:::i;:::-;12206:63;;12160:119;12318:3;12345:53;12390:7;12381:6;12370:9;12366:22;12345:53;:::i;:::-;12335:63;;12289:119;11216:1199;;;;;;;;;;:::o;12421:474::-;12489:6;12497;12546:2;12534:9;12525:7;12521:23;12517:32;12514:119;;;12552:79;;:::i;:::-;12514:119;12672:1;12697:53;12742:7;12733:6;12722:9;12718:22;12697:53;:::i;:::-;12687:63;;12643:117;12799:2;12825:53;12870:7;12861:6;12850:9;12846:22;12825:53;:::i;:::-;12815:63;;12770:118;12421:474;;;;;:::o;12901:180::-;12949:77;12946:1;12939:88;13046:4;13043:1;13036:15;13070:4;13067:1;13060:15;13087:320;13131:6;13168:1;13162:4;13158:12;13148:22;;13215:1;13209:4;13205:12;13236:18;13226:81;;13292:4;13284:6;13280:17;13270:27;;13226:81;13354:2;13346:6;13343:14;13323:18;13320:38;13317:84;;13373:18;;:::i;:::-;13317:84;13138:269;13087:320;;;:::o;13413:222::-;13506:4;13544:2;13533:9;13529:18;13521:26;;13557:71;13625:1;13614:9;13610:17;13601:6;13557:71;:::i;:::-;13413:222;;;;:::o;13641:143::-;13698:5;13729:6;13723:13;13714:22;;13745:33;13772:5;13745:33;:::i;:::-;13641:143;;;;:::o;13790:351::-;13860:6;13909:2;13897:9;13888:7;13884:23;13880:32;13877:119;;;13915:79;;:::i;:::-;13877:119;14035:1;14060:64;14116:7;14107:6;14096:9;14092:22;14060:64;:::i;:::-;14050:74;;14006:128;13790:351;;;;:::o;14147:180::-;14195:77;14192:1;14185:88;14292:4;14289:1;14282:15;14316:4;14313:1;14306:15;14333:191;14373:3;14392:20;14410:1;14392:20;:::i;:::-;14387:25;;14426:20;14444:1;14426:20;:::i;:::-;14421:25;;14469:1;14466;14462:9;14455:16;;14490:3;14487:1;14484:10;14481:36;;;14497:18;;:::i;:::-;14481:36;14333:191;;;;:::o;14530:180::-;14578:77;14575:1;14568:88;14675:4;14672:1;14665:15;14699:4;14696:1;14689:15;14716:775;14949:4;14987:3;14976:9;14972:19;14964:27;;15001:71;15069:1;15058:9;15054:17;15045:6;15001:71;:::i;:::-;15082:72;15150:2;15139:9;15135:18;15126:6;15082:72;:::i;:::-;15164;15232:2;15221:9;15217:18;15208:6;15164:72;:::i;:::-;15246;15314:2;15303:9;15299:18;15290:6;15246:72;:::i;:::-;15328:73;15396:3;15385:9;15381:19;15372:6;15328:73;:::i;:::-;15411;15479:3;15468:9;15464:19;15455:6;15411:73;:::i;:::-;14716:775;;;;;;;;;:::o;15497:332::-;15618:4;15656:2;15645:9;15641:18;15633:26;;15669:71;15737:1;15726:9;15722:17;15713:6;15669:71;:::i;:::-;15750:72;15818:2;15807:9;15803:18;15794:6;15750:72;:::i;:::-;15497:332;;;;;:::o;15835:::-;15956:4;15994:2;15983:9;15979:18;15971:26;;16007:71;16075:1;16064:9;16060:17;16051:6;16007:71;:::i;:::-;16088:72;16156:2;16145:9;16141:18;16132:6;16088:72;:::i;:::-;15835:332;;;;;:::o;16173:442::-;16322:4;16360:2;16349:9;16345:18;16337:26;;16373:71;16441:1;16430:9;16426:17;16417:6;16373:71;:::i;:::-;16454:72;16522:2;16511:9;16507:18;16498:6;16454:72;:::i;:::-;16536;16604:2;16593:9;16589:18;16580:6;16536:72;:::i;:::-;16173:442;;;;;;:::o;16621:332::-;16742:4;16780:2;16769:9;16765:18;16757:26;;16793:71;16861:1;16850:9;16846:17;16837:6;16793:71;:::i;:::-;16874:72;16942:2;16931:9;16927:18;16918:6;16874:72;:::i;:::-;16621:332;;;;;:::o;16959:116::-;17029:21;17044:5;17029:21;:::i;:::-;17022:5;17019:32;17009:60;;17065:1;17062;17055:12;17009:60;16959:116;:::o;17081:137::-;17135:5;17166:6;17160:13;17151:22;;17182:30;17206:5;17182:30;:::i;:::-;17081:137;;;;:::o;17224:345::-;17291:6;17340:2;17328:9;17319:7;17315:23;17311:32;17308:119;;;17346:79;;:::i;:::-;17308:119;17466:1;17491:61;17544:7;17535:6;17524:9;17520:22;17491:61;:::i;:::-;17481:71;;17437:125;17224:345;;;;:::o;17575:664::-;17780:4;17818:3;17807:9;17803:19;17795:27;;17832:71;17900:1;17889:9;17885:17;17876:6;17832:71;:::i;:::-;17913:72;17981:2;17970:9;17966:18;17957:6;17913:72;:::i;:::-;17995;18063:2;18052:9;18048:18;18039:6;17995:72;:::i;:::-;18077;18145:2;18134:9;18130:18;18121:6;18077:72;:::i;:::-;18159:73;18227:3;18216:9;18212:19;18203:6;18159:73;:::i;:::-;17575:664;;;;;;;;:::o;18245:545::-;18418:4;18456:3;18445:9;18441:19;18433:27;;18470:71;18538:1;18527:9;18523:17;18514:6;18470:71;:::i;:::-;18551:68;18615:2;18604:9;18600:18;18591:6;18551:68;:::i;:::-;18629:72;18697:2;18686:9;18682:18;18673:6;18629:72;:::i;:::-;18711;18779:2;18768:9;18764:18;18755:6;18711:72;:::i;:::-;18245:545;;;;;;;:::o;18796:180::-;18844:77;18841:1;18834:88;18941:4;18938:1;18931:15;18965:4;18962:1;18955:15;18982:98;19033:6;19067:5;19061:12;19051:22;;18982:98;;;:::o;19086:147::-;19187:11;19224:3;19209:18;;19086:147;;;;:::o;19239:386::-;19343:3;19371:38;19403:5;19371:38;:::i;:::-;19425:88;19506:6;19501:3;19425:88;:::i;:::-;19418:95;;19522:65;19580:6;19575:3;19568:4;19561:5;19557:16;19522:65;:::i;:::-;19612:6;19607:3;19603:16;19596:23;;19347:278;19239:386;;;;:::o;19631:271::-;19761:3;19783:93;19872:3;19863:6;19783:93;:::i;:::-;19776:100;;19893:3;19886:10;;19631:271;;;;:::o
Swarm Source
ipfs://77606eceb6faf0a4212475b766a11a3f2aa2c43c08c76a04f5221dbff40cbd67
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.