Overview
Max Total Supply
280,000,000 LIME
Holders
3,345 ( 0.149%)
Market
Price
$0.053 @ 0.082656 POL (-1.76%)
Onchain Market Cap
$14,853,720.00
Circulating Supply Market Cap
$22,975,495.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
30,000.000000356166700524 LIMEValue
$1,591.47 ( ~2,479.6945 POL) [0.0107%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
LIME
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC2771Recipient.sol"; contract LIME is ERC20, ERC20Pausable, ERC20Burnable, ERC20Snapshot, ERC20Capped, Ownable, ERC2771Recipient, ERC20Permit { uint8 constant TOKEN_DECIMALS = 18; uint256 constant INITIAL_SUPPLY = 500000000 * (10 ** uint256(TOKEN_DECIMALS)); string constant tokenName = "iMe Lab"; constructor() ERC20(tokenName, "LIME") ERC20Capped(INITIAL_SUPPLY) ERC20Permit(tokenName) { ERC20._mint(msg.sender, INITIAL_SUPPLY); } /** * @dev Creates `amount` new tokens for `to`. * * See {ERC20-_mint}. * * Requirements: * * - the caller must be the owner. */ function mint(address to, uint256 amount) public virtual onlyOwner { _mint(to, amount); } /** * @dev Creates a new snapshot ID. * @return uint256 Thew new snapshot ID. */ function snapshot() external onlyOwner returns (uint256) { return _snapshot(); } /** * @dev Pauses all token transfers. * * See {ERC20Pausable} and {Pausable-_pause}. * * Requirements: * * - the caller must be the owner. */ function pause() public virtual onlyOwner { _pause(); } /** * @dev Unpauses all token transfers. * * See {ERC20Pausable} and {Pausable-_unpause}. * * Requirements: * * - the caller must be the owner. */ function unpause() public virtual onlyOwner { _unpause(); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20, ERC20Pausable, ERC20Snapshot) { super._beforeTokenTransfer(from, to, amount); } function _mint(address account, uint256 amount) internal virtual override(ERC20, ERC20Capped) { super._mint(account, amount); } function setTrustForwarder(address _trustedForwarder) public onlyOwner { _setTrustedForwarder(_trustedForwarder); } string public override versionRecipient = "2.2.0"; function _msgSender() internal view override(Context, ERC2771Recipient) returns (address sender) { sender = ERC2771Recipient._msgSender(); } function _msgData() internal view override(Context, ERC2771Recipient) returns (bytes memory) { return ERC2771Recipient._msgData(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Snapshot.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Arrays.sol"; import "../../../utils/Counters.sol"; /** * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and * total supply at the time are recorded for later access. * * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting. * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be * used to create an efficient ERC20 forking mechanism. * * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id * and the account address. * * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it * return `block.number` will trigger the creation of snapshot at the begining of each new block. When overridding this * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract. * * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient * alternative consider {ERC20Votes}. * * ==== Gas Costs * * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much * smaller since identical balances in subsequent snapshots are stored as a single entry. * * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent * transfers will have normal cost until the next snapshot, and so on. */ abstract contract ERC20Snapshot is ERC20 { // Inspired by Jordi Baylina's MiniMeToken to record historical balances: // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol using Arrays for uint256[]; using Counters for Counters.Counter; // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a // Snapshot struct, but that would impede usage of functions that work on an array. struct Snapshots { uint256[] ids; uint256[] values; } mapping(address => Snapshots) private _accountBalanceSnapshots; Snapshots private _totalSupplySnapshots; // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid. Counters.Counter private _currentSnapshotId; /** * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created. */ event Snapshot(uint256 id); /** * @dev Creates a new snapshot and returns its snapshot id. * * Emits a {Snapshot} event that contains the same id. * * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a * set of accounts, for example using {AccessControl}, or it may be open to the public. * * [WARNING] * ==== * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking, * you must consider that it can potentially be used by attackers in two ways. * * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs * section above. * * We haven't measured the actual numbers; if this is something you're interested in please reach out to us. * ==== */ function _snapshot() internal virtual returns (uint256) { _currentSnapshotId.increment(); uint256 currentId = _getCurrentSnapshotId(); emit Snapshot(currentId); return currentId; } /** * @dev Get the current snapshotId */ function _getCurrentSnapshotId() internal view virtual returns (uint256) { return _currentSnapshotId.current(); } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]); return snapshotted ? value : balanceOf(account); } /** * @dev Retrieves the total supply at the time `snapshotId` was created. */ function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // Update balance and/or total supply snapshots before the values are modified. This is implemented // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations. function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // mint _updateAccountSnapshot(to); _updateTotalSupplySnapshot(); } else if (to == address(0)) { // burn _updateAccountSnapshot(from); _updateTotalSupplySnapshot(); } else { // transfer _updateAccountSnapshot(from); _updateAccountSnapshot(to); } } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id"); // When a valid snapshot is queried, there are three possibilities: // a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never // created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds // to this id is the current one. // b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the // requested id, and its value is the one to return. // c) More snapshots were created after the requested one, and the queried value was later modified. There will be // no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is // larger than the requested one. // // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does // exactly this. uint256 index = snapshots.ids.findUpperBound(snapshotId); if (index == snapshots.ids.length) { return (false, 0); } else { return (true, snapshots.values[index]); } } function _updateAccountSnapshot(address account) private { _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account)); } function _updateTotalSupplySnapshot() private { _updateSnapshot(_totalSupplySnapshots, totalSupply()); } function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private { uint256 currentId = _getCurrentSnapshotId(); if (_lastSnapshotId(snapshots.ids) < currentId) { snapshots.ids.push(currentId); snapshots.values.push(currentValue); } } function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) { if (ids.length == 0) { return 0; } else { return ids[ids.length - 1]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Capped.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 private immutable _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor(uint256 cap_) { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_mint}. */ function _mint(address account, uint256 amount) internal virtual override { require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); super._mint(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; import "./draft-IERC20Permit.sol"; import "../ERC20.sol"; import "../../../utils/cryptography/draft-EIP712.sol"; import "../../../utils/cryptography/ECDSA.sol"; import "../../../utils/Counters.sol"; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @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") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // solhint-disable no-inline-assembly pragma solidity >=0.6.9; import "./interfaces/IERC2771Recipient.sol"; /** * @title The ERC-2771 Recipient Base Abstract Class - Implementation * * @notice Note that this contract was called `BaseRelayRecipient` in the previous revision of the GSN. * * @notice A base contract to be inherited by any contract that want to receive relayed transactions. * * @notice A subclass must use `_msgSender()` instead of `msg.sender`. */ abstract contract ERC2771Recipient is IERC2771Recipient { /* * Forwarder singleton we accept calls from */ address private _trustedForwarder; /** * :warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder. * @notice Method is not a required method to allow Recipients to trust multiple Forwarders. Not recommended yet. * @return forwarder The address of the Forwarder contract that is being used. */ function getTrustedForwarder() public virtual view returns (address forwarder){ return _trustedForwarder; } function _setTrustedForwarder(address _forwarder) internal { _trustedForwarder = _forwarder; } /// @inheritdoc IERC2771Recipient function isTrustedForwarder(address forwarder) public virtual override view returns(bool) { return forwarder == _trustedForwarder; } /// @inheritdoc IERC2771Recipient function _msgSender() internal override virtual view returns (address ret) { if (msg.data.length >= 20 && isTrustedForwarder(msg.sender)) { // At this point we know that the sender is a trusted forwarder, // so we trust that the last bytes of msg.data are the verified sender address. // extract sender address from the end of msg.data assembly { ret := shr(96,calldataload(sub(calldatasize(),20))) } } else { ret = msg.sender; } } /// @inheritdoc IERC2771Recipient function _msgData() internal override virtual view returns (bytes calldata ret) { if (msg.data.length >= 20 && isTrustedForwarder(msg.sender)) { return msg.data[0:msg.data.length-20]; } else { return msg.data; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ 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]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // 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 _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @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) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ 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. 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 if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /** * @title The ERC-2771 Recipient Base Abstract Class - Declarations * * @notice A contract must implement this interface in order to support relayed transaction. * * @notice It is recommended that your contract inherits from the ERC2771Recipient contract. */ abstract contract IERC2771Recipient { /** * :warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder. * @param forwarder The address of the Forwarder contract that is being used. * @return isTrustedForwarder `true` if the Forwarder is trusted to forward relayed transactions by this Recipient. */ function isTrustedForwarder(address forwarder) public virtual view returns(bool); /** * @notice Use this method the contract anywhere instead of msg.sender to support relayed transactions. * @return sender The real sender of this call. * For a call that came through the Forwarder the real sender is extracted from the last 20 bytes of the `msg.data`. * Otherwise simply returns `msg.sender`. */ function _msgSender() internal virtual view returns (address); /** * @notice Use this method in the contract instead of `msg.data` when difference matters (hashing, signature, etc.) * @return data The real `msg.data` of this call. * For a call that came through the Forwarder, the real sender address was appended as the last 20 bytes * of the `msg.data` - so this method will strip those 20 bytes off. * Otherwise (if the call was made directly and not through the forwarder) simply returns `msg.data`. */ function _msgData() internal virtual view returns (bytes calldata); /** * @return version The SemVer string of this Recipient's version. */ function versionRecipient() external virtual view returns (string memory); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTrustedForwarder","outputs":[{"internalType":"address","name":"forwarder","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_trustedForwarder","type":"address"}],"name":"setTrustForwarder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"versionRecipient","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101806040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610160908152506040518060400160405280600581526020017f322e322e30000000000000000000000000000000000000000000000000000000815250600d90805190602001906200007a929190620009fc565b503480156200008857600080fd5b506040518060400160405280600781526020017f694d65204c616200000000000000000000000000000000000000000000000000815250806040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250601260ff16600a62000109919062000cfd565b631dcd65006200011a919062000e3a565b6040518060400160405280600781526020017f694d65204c6162000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4c494d450000000000000000000000000000000000000000000000000000000081525081600390805190602001906200019e929190620009fc565b508060049080519060200190620001b7929190620009fc565b5050506000600560006101000a81548160ff021916908315150217905550600081116200021b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002129062000bb1565b60405180910390fd5b80608081815250505062000244620002386200033b60201b60201c565b6200035760201b60201c565b60008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508261010081815250508161012081815250504660c08181525050620002ae8184846200041d60201b60201c565b60a081815250503073ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508061014081815250505050505050506200033533601260ff16600a62000313919062000cfd565b631dcd650062000324919062000e3a565b6200045960201b620013501760201c565b6200108f565b600062000352620005d260201b620014b01760201c565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600083838346306040516020016200043a95949392919062000b54565b6040516020818303038152906040528051906020012090509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004c39062000bd3565b60405180910390fd5b620004e0600083836200061460201b60201c565b8060026000828254620004f4919062000c45565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200054b919062000c45565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620005b2919062000c17565b60405180910390a3620005ce600083836200063160201b60201c565b5050565b60006014600036905010158015620005f75750620005f6336200063660201b60201c565b5b156200060d57601436033560601c905062000611565b3390505b90565b6200062c8383836200069060201b620014e71760201c565b505050565b505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b620006a88383836200078b60201b620015a11760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200070557620006ef82620007fb60201b60201c565b620006ff6200085e60201b60201c565b62000786565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000762576200074c83620007fb60201b60201c565b6200075c6200085e60201b60201c565b62000785565b6200077383620007fb60201b60201c565b6200078482620007fb60201b60201c565b5b5b505050565b620007a38383836200088260201b620015f91760201c565b620007b36200088760201b60201c565b15620007f6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007ed9062000bf5565b60405180910390fd5b505050565b6200085b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206200084f836200089e60201b60201c565b620008e660201b60201c565b50565b620008806007620008746200097260201b60201c565b620008e660201b60201c565b565b505050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000620008f86200097c60201b60201c565b9050806200090f846000016200099a60201b60201c565b10156200096d5782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600254905090565b6000620009956009620009ee60201b620015fe1760201c565b905090565b60008082805490501415620009b35760009050620009e9565b8160018380549050620009c7919062000e9b565b81548110620009db57620009da62000fb2565b5b906000526020600020015490505b919050565b600081600001549050919050565b82805462000a0a9062000f1e565b90600052602060002090601f01602090048101928262000a2e576000855562000a7a565b82601f1062000a4957805160ff191683800117855562000a7a565b8280016001018555821562000a7a579182015b8281111562000a7957825182559160200191906001019062000a5c565b5b50905062000a89919062000a8d565b5090565b5b8082111562000aa857600081600090555060010162000a8e565b5090565b62000ab78162000ed6565b82525050565b62000ac88162000eea565b82525050565b600062000add60158362000c34565b915062000aea8262000fee565b602082019050919050565b600062000b04601f8362000c34565b915062000b118262001017565b602082019050919050565b600062000b2b602a8362000c34565b915062000b388262001040565b604082019050919050565b62000b4e8162000f14565b82525050565b600060a08201905062000b6b600083018862000abd565b62000b7a602083018762000abd565b62000b89604083018662000abd565b62000b98606083018562000b43565b62000ba7608083018462000aac565b9695505050505050565b6000602082019050818103600083015262000bcc8162000ace565b9050919050565b6000602082019050818103600083015262000bee8162000af5565b9050919050565b6000602082019050818103600083015262000c108162000b1c565b9050919050565b600060208201905062000c2e600083018462000b43565b92915050565b600082825260208201905092915050565b600062000c528262000f14565b915062000c5f8362000f14565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000c975762000c9662000f54565b5b828201905092915050565b6000808291508390505b600185111562000cf45780860481111562000ccc5762000ccb62000f54565b5b600185161562000cdc5780820291505b808102905062000cec8562000fe1565b945062000cac565b94509492505050565b600062000d0a8262000f14565b915062000d178362000f14565b925062000d467fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000d4e565b905092915050565b60008262000d60576001905062000e33565b8162000d70576000905062000e33565b816001811462000d89576002811462000d945762000dca565b600191505062000e33565b60ff84111562000da95762000da862000f54565b5b8360020a91508482111562000dc35762000dc262000f54565b5b5062000e33565b5060208310610133831016604e8410600b841016171562000e045782820a90508381111562000dfe5762000dfd62000f54565b5b62000e33565b62000e13848484600162000ca2565b9250905081840481111562000e2d5762000e2c62000f54565b5b81810290505b9392505050565b600062000e478262000f14565b915062000e548362000f14565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000e905762000e8f62000f54565b5b828202905092915050565b600062000ea88262000f14565b915062000eb58362000f14565b92508282101562000ecb5762000eca62000f54565b5b828203905092915050565b600062000ee38262000ef4565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000f3757607f821691505b6020821081141562000f4e5762000f4d62000f83565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160011c9050919050565b7f45524332304361707065643a2063617020697320300000000000000000000000600082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b60805160a05160c05160e05160601c61010051610120516101405161016051613c8e620010f8600039600061104e01526000611b1501526000611b5701526000611b3601526000611a6b01526000611ac101526000611aea015260006107c90152613c8e6000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063981b24d0116100a2578063d505accf11610071578063d505accf14610586578063dd62ed3e146105a2578063ddf0b3da146105d2578063f2fde38b146105ee576101e5565b8063981b24d0146104d8578063a457c2d714610508578063a9059cbb14610538578063ce1b815f14610568576101e5565b80638456cb59116100de5780638456cb59146104745780638da5cb5b1461047e57806395d89b411461049c5780639711715a146104ba576101e5565b806370a08231146103ee578063715018a61461041e57806379cc6790146104285780637ecebe0014610444576101e5565b80633950935111610187578063486ff0cd11610156578063486ff0cd146103525780634ee2cd7e14610370578063572b6c05146103a05780635c975abb146103d0576101e5565b806339509351146102e05780633f4ba83a1461031057806340c10f191461031a57806342966c6814610336576101e5565b806323b872dd116101c357806323b872dd14610256578063313ce56714610286578063355274ea146102a45780633644e515146102c2576101e5565b806306fdde03146101ea578063095ea7b31461020857806318160ddd14610238575b600080fd5b6101f261060a565b6040516101ff9190612f95565b60405180910390f35b610222600480360381019061021d919061297e565b61069c565b60405161022f9190612e66565b60405180910390f35b6102406106ba565b60405161024d91906132d7565b60405180910390f35b610270600480360381019061026b9190612889565b6106c4565b60405161027d9190612e66565b60405180910390f35b61028e6107bc565b60405161029b91906132f2565b60405180910390f35b6102ac6107c5565b6040516102b991906132d7565b60405180910390f35b6102ca6107ed565b6040516102d79190612e81565b60405180910390f35b6102fa60048036038101906102f5919061297e565b6107fc565b6040516103079190612e66565b60405180910390f35b6103186108a8565b005b610334600480360381019061032f919061297e565b61092e565b005b610350600480360381019061034b91906129be565b6109b8565b005b61035a6109cc565b6040516103679190612f95565b60405180910390f35b61038a6004803603810190610385919061297e565b610a5a565b60405161039791906132d7565b60405180910390f35b6103ba60048036038101906103b5919061281c565b610aca565b6040516103c79190612e66565b60405180910390f35b6103d8610b24565b6040516103e59190612e66565b60405180910390f35b6104086004803603810190610403919061281c565b610b3b565b60405161041591906132d7565b60405180910390f35b610426610b83565b005b610442600480360381019061043d919061297e565b610c0b565b005b61045e6004803603810190610459919061281c565b610c86565b60405161046b91906132d7565b60405180910390f35b61047c610cd6565b005b610486610d5c565b6040516104939190612e4b565b60405180910390f35b6104a4610d86565b6040516104b19190612f95565b60405180910390f35b6104c2610e18565b6040516104cf91906132d7565b60405180910390f35b6104f260048036038101906104ed91906129be565b610ea3565b6040516104ff91906132d7565b60405180910390f35b610522600480360381019061051d919061297e565b610ed4565b60405161052f9190612e66565b60405180910390f35b610552600480360381019061054d919061297e565b610fbf565b60405161055f9190612e66565b60405180910390f35b610570610fdd565b60405161057d9190612e4b565b60405180910390f35b6105a0600480360381019061059b91906128dc565b611007565b005b6105bc60048036038101906105b79190612849565b611149565b6040516105c991906132d7565b60405180910390f35b6105ec60048036038101906105e7919061281c565b6111d0565b005b6106086004803603810190610603919061281c565b611258565b005b60606003805461061990613481565b80601f016020809104026020016040519081016040528092919081815260200182805461064590613481565b80156106925780601f1061066757610100808354040283529160200191610692565b820191906000526020600020905b81548152906001019060200180831161067557829003601f168201915b5050505050905090565b60006106b06106a961160c565b848461161b565b6001905092915050565b6000600254905090565b60006106d18484846117e6565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061071c61160c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561079c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079390613177565b60405180910390fd5b6107b0856107a861160c565b85840361161b565b60019150509392505050565b60006012905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60006107f7611a67565b905090565b600061089e61080961160c565b84846001600061081761160c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108999190613334565b61161b565b6001905092915050565b6108b061160c565b73ffffffffffffffffffffffffffffffffffffffff166108ce610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091b90613197565b60405180910390fd5b61092c611b81565b565b61093661160c565b73ffffffffffffffffffffffffffffffffffffffff16610954610d5c565b73ffffffffffffffffffffffffffffffffffffffff16146109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a190613197565b60405180910390fd5b6109b48282611c23565b5050565b6109c96109c361160c565b82611c31565b50565b600d80546109d990613481565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0590613481565b8015610a525780601f10610a2757610100808354040283529160200191610a52565b820191906000526020600020905b815481529060010190602001808311610a3557829003601f168201915b505050505081565b6000806000610aa784600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611e08565b9150915081610abe57610ab985610b3b565b610ac0565b805b9250505092915050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b8b61160c565b73ffffffffffffffffffffffffffffffffffffffff16610ba9610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf690613197565b60405180910390fd5b610c096000611efe565b565b6000610c1e83610c1961160c565b611149565b905081811015610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a906131b7565b60405180910390fd5b610c7783610c6f61160c565b84840361161b565b610c818383611c31565b505050565b6000610ccf600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206115fe565b9050919050565b610cde61160c565b73ffffffffffffffffffffffffffffffffffffffff16610cfc610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4990613197565b60405180910390fd5b610d5a611fc4565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610d9590613481565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc190613481565b8015610e0e5780601f10610de357610100808354040283529160200191610e0e565b820191906000526020600020905b815481529060010190602001808311610df157829003601f168201915b5050505050905090565b6000610e2261160c565b73ffffffffffffffffffffffffffffffffffffffff16610e40610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90613197565b60405180910390fd5b610e9e612067565b905090565b6000806000610eb3846007611e08565b9150915081610ec957610ec46106ba565b610ecb565b805b92505050919050565b60008060016000610ee361160c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9790613277565b60405180910390fd5b610fb4610fab61160c565b8585840361161b565b600191505092915050565b6000610fd3610fcc61160c565b84846117e6565b6001905092915050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8342111561104a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611041906130b7565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008888886110798c6120bd565b8960405160200161108f96959493929190612e9c565b60405160208183030381529060405280519060200120905060006110b28261211b565b905060006110c282878787612135565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112990613157565b60405180910390fd5b61113d8a8a8a61161b565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6111d861160c565b73ffffffffffffffffffffffffffffffffffffffff166111f6610d5c565b73ffffffffffffffffffffffffffffffffffffffff161461124c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124390613197565b60405180910390fd5b61125581612160565b50565b61126061160c565b73ffffffffffffffffffffffffffffffffffffffff1661127e610d5c565b73ffffffffffffffffffffffffffffffffffffffff16146112d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cb90613197565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133b90613077565b60405180910390fd5b61134d81611efe565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b790613297565b60405180910390fd5b6113cc600083836121a4565b80600260008282546113de9190613334565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114339190613334565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161149891906132d7565b60405180910390a36114ac600083836121b4565b5050565b600060146000369050101580156114cc57506114cb33610aca565b5b156114e057601436033560601c90506114e4565b3390505b90565b6114f28383836115a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561153d57611530826121b9565b61153861220c565b61159c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115885761157b836121b9565b61158361220c565b61159b565b611591836121b9565b61159a826121b9565b5b5b505050565b6115ac8383836115f9565b6115b4610b24565b156115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb906132b7565b60405180910390fd5b505050565b505050565b600081600001549050919050565b60006116166114b0565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613237565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290613097565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117d991906132d7565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d906131f7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bd90612ff7565b60405180910390fd5b6118d18383836121a4565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194e906130d7565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ea9190613334565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a4e91906132d7565b60405180910390a3611a618484846121b4565b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015611ae357507f000000000000000000000000000000000000000000000000000000000000000046145b15611b10577f00000000000000000000000000000000000000000000000000000000000000009050611b7e565b611b7b7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612220565b90505b90565b611b89610b24565b611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90613017565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611c0c61160c565b604051611c199190612e4b565b60405180910390a1565b611c2d828261225a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c98906131d7565b60405180910390fd5b611cad826000836121a4565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2a90613037565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611d8a91906133bb565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611def91906132d7565b60405180910390a3611e03836000846121b4565b505050565b60008060008411611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590613257565b60405180910390fd5b611e566122c4565b841115611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f90612fd7565b60405180910390fd5b6000611eb085856000016122d590919063ffffffff16565b90508360000180549050811415611ece576000809250925050611ef7565b6001846001018281548110611ee657611ee5613579565b5b906000526020600020015492509250505b9250929050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fcc610b24565b1561200c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200390613117565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861205061160c565b60405161205d9190612e4b565b60405180910390a1565b600061207360096123af565b600061207d6122c4565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040516120ae91906132d7565b60405180910390a18091505090565b600080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061210a816115fe565b9150612115816123af565b50919050565b600061212e612128611a67565b836123c5565b9050919050565b6000806000612146878787876123f8565b9150915061215381612505565b8192505050949350505050565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6121af8383836114e7565b505050565b505050565b612209600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061220483610b3b565b6126da565b50565b61221e60076122196106ba565b6126da565b565b6000838383463060405160200161223b959493929190612efd565b6040516020818303038152906040528051906020012090509392505050565b6122626107c5565b8161226b6106ba565b6122759190613334565b11156122b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ad90613217565b60405180910390fd5b6122c08282611350565b5050565b60006122d060096115fe565b905090565b600080838054905014156122ec57600090506123a9565b600080848054905090505b8082101561235057600061230b8383612755565b90508486828154811061232157612320613579565b5b9060005260206000200154111561233a5780915061234a565b6001816123479190613334565b92505b506122f7565b6000821180156123885750838560018461236a91906133bb565b8154811061237b5761237a613579565b5b9060005260206000200154145b156123a35760018261239a91906133bb565b925050506123a9565b81925050505b92915050565b6001816000016000828254019250508190555050565b600082826040516020016123da929190612e14565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156124335760006003915091506124fc565b601b8560ff161415801561244b5750601c8560ff1614155b1561245d5760006004915091506124fc565b6000600187878787604051600081526020016040526040516124829493929190612f50565b6020604051602081039080840390855afa1580156124a4573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124f3576000600192509250506124fc565b80600092509250505b94509492505050565b600060048111156125195761251861351b565b5b81600481111561252c5761252b61351b565b5b1415612537576126d7565b6001600481111561254b5761254a61351b565b5b81600481111561255e5761255d61351b565b5b141561259f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259690612fb7565b60405180910390fd5b600260048111156125b3576125b261351b565b5b8160048111156125c6576125c561351b565b5b1415612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe90613057565b60405180910390fd5b6003600481111561261b5761261a61351b565b5b81600481111561262e5761262d61351b565b5b141561266f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612666906130f7565b60405180910390fd5b6004808111156126825761268161351b565b5b8160048111156126955761269461351b565b5b14156126d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cd90613137565b60405180910390fd5b5b50565b60006126e46122c4565b9050806126f38460000161277b565b10156127505782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b60006002828418612766919061338a565b8284166127739190613334565b905092915050565b6000808280549050141561279257600090506127c3565b81600183805490506127a491906133bb565b815481106127b5576127b4613579565b5b906000526020600020015490505b919050565b6000813590506127d781613bfc565b92915050565b6000813590506127ec81613c13565b92915050565b60008135905061280181613c2a565b92915050565b60008135905061281681613c41565b92915050565b600060208284031215612832576128316135a8565b5b6000612840848285016127c8565b91505092915050565b600080604083850312156128605761285f6135a8565b5b600061286e858286016127c8565b925050602061287f858286016127c8565b9150509250929050565b6000806000606084860312156128a2576128a16135a8565b5b60006128b0868287016127c8565b93505060206128c1868287016127c8565b92505060406128d2868287016127f2565b9150509250925092565b600080600080600080600060e0888a0312156128fb576128fa6135a8565b5b60006129098a828b016127c8565b975050602061291a8a828b016127c8565b965050604061292b8a828b016127f2565b955050606061293c8a828b016127f2565b945050608061294d8a828b01612807565b93505060a061295e8a828b016127dd565b92505060c061296f8a828b016127dd565b91505092959891949750929550565b60008060408385031215612995576129946135a8565b5b60006129a3858286016127c8565b92505060206129b4858286016127f2565b9150509250929050565b6000602082840312156129d4576129d36135a8565b5b60006129e2848285016127f2565b91505092915050565b6129f4816133ef565b82525050565b612a0381613401565b82525050565b612a128161340d565b82525050565b612a29612a248261340d565b6134b3565b82525050565b6000612a3a8261330d565b612a448185613318565b9350612a5481856020860161344e565b612a5d816135ad565b840191505092915050565b6000612a75601883613318565b9150612a80826135be565b602082019050919050565b6000612a98601d83613318565b9150612aa3826135e7565b602082019050919050565b6000612abb602383613318565b9150612ac682613610565b604082019050919050565b6000612ade601483613318565b9150612ae98261365f565b602082019050919050565b6000612b01602283613318565b9150612b0c82613688565b604082019050919050565b6000612b24601f83613318565b9150612b2f826136d7565b602082019050919050565b6000612b47602683613318565b9150612b5282613700565b604082019050919050565b6000612b6a602283613318565b9150612b758261374f565b604082019050919050565b6000612b8d600283613329565b9150612b988261379e565b600282019050919050565b6000612bb0601d83613318565b9150612bbb826137c7565b602082019050919050565b6000612bd3602683613318565b9150612bde826137f0565b604082019050919050565b6000612bf6602283613318565b9150612c018261383f565b604082019050919050565b6000612c19601083613318565b9150612c248261388e565b602082019050919050565b6000612c3c602283613318565b9150612c47826138b7565b604082019050919050565b6000612c5f601e83613318565b9150612c6a82613906565b602082019050919050565b6000612c82602883613318565b9150612c8d8261392f565b604082019050919050565b6000612ca5602083613318565b9150612cb08261397e565b602082019050919050565b6000612cc8602483613318565b9150612cd3826139a7565b604082019050919050565b6000612ceb602183613318565b9150612cf6826139f6565b604082019050919050565b6000612d0e602583613318565b9150612d1982613a45565b604082019050919050565b6000612d31601983613318565b9150612d3c82613a94565b602082019050919050565b6000612d54602483613318565b9150612d5f82613abd565b604082019050919050565b6000612d77601683613318565b9150612d8282613b0c565b602082019050919050565b6000612d9a602583613318565b9150612da582613b35565b604082019050919050565b6000612dbd601f83613318565b9150612dc882613b84565b602082019050919050565b6000612de0602a83613318565b9150612deb82613bad565b604082019050919050565b612dff81613437565b82525050565b612e0e81613441565b82525050565b6000612e1f82612b80565b9150612e2b8285612a18565b602082019150612e3b8284612a18565b6020820191508190509392505050565b6000602082019050612e6060008301846129eb565b92915050565b6000602082019050612e7b60008301846129fa565b92915050565b6000602082019050612e966000830184612a09565b92915050565b600060c082019050612eb16000830189612a09565b612ebe60208301886129eb565b612ecb60408301876129eb565b612ed86060830186612df6565b612ee56080830185612df6565b612ef260a0830184612df6565b979650505050505050565b600060a082019050612f126000830188612a09565b612f1f6020830187612a09565b612f2c6040830186612a09565b612f396060830185612df6565b612f4660808301846129eb565b9695505050505050565b6000608082019050612f656000830187612a09565b612f726020830186612e05565b612f7f6040830185612a09565b612f8c6060830184612a09565b95945050505050565b60006020820190508181036000830152612faf8184612a2f565b905092915050565b60006020820190508181036000830152612fd081612a68565b9050919050565b60006020820190508181036000830152612ff081612a8b565b9050919050565b6000602082019050818103600083015261301081612aae565b9050919050565b6000602082019050818103600083015261303081612ad1565b9050919050565b6000602082019050818103600083015261305081612af4565b9050919050565b6000602082019050818103600083015261307081612b17565b9050919050565b6000602082019050818103600083015261309081612b3a565b9050919050565b600060208201905081810360008301526130b081612b5d565b9050919050565b600060208201905081810360008301526130d081612ba3565b9050919050565b600060208201905081810360008301526130f081612bc6565b9050919050565b6000602082019050818103600083015261311081612be9565b9050919050565b6000602082019050818103600083015261313081612c0c565b9050919050565b6000602082019050818103600083015261315081612c2f565b9050919050565b6000602082019050818103600083015261317081612c52565b9050919050565b6000602082019050818103600083015261319081612c75565b9050919050565b600060208201905081810360008301526131b081612c98565b9050919050565b600060208201905081810360008301526131d081612cbb565b9050919050565b600060208201905081810360008301526131f081612cde565b9050919050565b6000602082019050818103600083015261321081612d01565b9050919050565b6000602082019050818103600083015261323081612d24565b9050919050565b6000602082019050818103600083015261325081612d47565b9050919050565b6000602082019050818103600083015261327081612d6a565b9050919050565b6000602082019050818103600083015261329081612d8d565b9050919050565b600060208201905081810360008301526132b081612db0565b9050919050565b600060208201905081810360008301526132d081612dd3565b9050919050565b60006020820190506132ec6000830184612df6565b92915050565b60006020820190506133076000830184612e05565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061333f82613437565b915061334a83613437565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561337f5761337e6134bd565b5b828201905092915050565b600061339582613437565b91506133a083613437565b9250826133b0576133af6134ec565b5b828204905092915050565b60006133c682613437565b91506133d183613437565b9250828210156133e4576133e36134bd565b5b828203905092915050565b60006133fa82613417565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561346c578082015181840152602081019050613451565b8381111561347b576000848401525b50505050565b6000600282049050600182168061349957607f821691505b602082108114156134ad576134ac61354a565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332304361707065643a2063617020657863656564656400000000000000600082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433230536e617073686f743a206964206973203000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b613c05816133ef565b8114613c1057600080fd5b50565b613c1c8161340d565b8114613c2757600080fd5b50565b613c3381613437565b8114613c3e57600080fd5b50565b613c4a81613441565b8114613c5557600080fd5b5056fea2646970667358221220337aea4a56676c4ba590ef070e2882a8bba4ce73aa5745bae746146ade002b5a64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063981b24d0116100a2578063d505accf11610071578063d505accf14610586578063dd62ed3e146105a2578063ddf0b3da146105d2578063f2fde38b146105ee576101e5565b8063981b24d0146104d8578063a457c2d714610508578063a9059cbb14610538578063ce1b815f14610568576101e5565b80638456cb59116100de5780638456cb59146104745780638da5cb5b1461047e57806395d89b411461049c5780639711715a146104ba576101e5565b806370a08231146103ee578063715018a61461041e57806379cc6790146104285780637ecebe0014610444576101e5565b80633950935111610187578063486ff0cd11610156578063486ff0cd146103525780634ee2cd7e14610370578063572b6c05146103a05780635c975abb146103d0576101e5565b806339509351146102e05780633f4ba83a1461031057806340c10f191461031a57806342966c6814610336576101e5565b806323b872dd116101c357806323b872dd14610256578063313ce56714610286578063355274ea146102a45780633644e515146102c2576101e5565b806306fdde03146101ea578063095ea7b31461020857806318160ddd14610238575b600080fd5b6101f261060a565b6040516101ff9190612f95565b60405180910390f35b610222600480360381019061021d919061297e565b61069c565b60405161022f9190612e66565b60405180910390f35b6102406106ba565b60405161024d91906132d7565b60405180910390f35b610270600480360381019061026b9190612889565b6106c4565b60405161027d9190612e66565b60405180910390f35b61028e6107bc565b60405161029b91906132f2565b60405180910390f35b6102ac6107c5565b6040516102b991906132d7565b60405180910390f35b6102ca6107ed565b6040516102d79190612e81565b60405180910390f35b6102fa60048036038101906102f5919061297e565b6107fc565b6040516103079190612e66565b60405180910390f35b6103186108a8565b005b610334600480360381019061032f919061297e565b61092e565b005b610350600480360381019061034b91906129be565b6109b8565b005b61035a6109cc565b6040516103679190612f95565b60405180910390f35b61038a6004803603810190610385919061297e565b610a5a565b60405161039791906132d7565b60405180910390f35b6103ba60048036038101906103b5919061281c565b610aca565b6040516103c79190612e66565b60405180910390f35b6103d8610b24565b6040516103e59190612e66565b60405180910390f35b6104086004803603810190610403919061281c565b610b3b565b60405161041591906132d7565b60405180910390f35b610426610b83565b005b610442600480360381019061043d919061297e565b610c0b565b005b61045e6004803603810190610459919061281c565b610c86565b60405161046b91906132d7565b60405180910390f35b61047c610cd6565b005b610486610d5c565b6040516104939190612e4b565b60405180910390f35b6104a4610d86565b6040516104b19190612f95565b60405180910390f35b6104c2610e18565b6040516104cf91906132d7565b60405180910390f35b6104f260048036038101906104ed91906129be565b610ea3565b6040516104ff91906132d7565b60405180910390f35b610522600480360381019061051d919061297e565b610ed4565b60405161052f9190612e66565b60405180910390f35b610552600480360381019061054d919061297e565b610fbf565b60405161055f9190612e66565b60405180910390f35b610570610fdd565b60405161057d9190612e4b565b60405180910390f35b6105a0600480360381019061059b91906128dc565b611007565b005b6105bc60048036038101906105b79190612849565b611149565b6040516105c991906132d7565b60405180910390f35b6105ec60048036038101906105e7919061281c565b6111d0565b005b6106086004803603810190610603919061281c565b611258565b005b60606003805461061990613481565b80601f016020809104026020016040519081016040528092919081815260200182805461064590613481565b80156106925780601f1061066757610100808354040283529160200191610692565b820191906000526020600020905b81548152906001019060200180831161067557829003601f168201915b5050505050905090565b60006106b06106a961160c565b848461161b565b6001905092915050565b6000600254905090565b60006106d18484846117e6565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061071c61160c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561079c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079390613177565b60405180910390fd5b6107b0856107a861160c565b85840361161b565b60019150509392505050565b60006012905090565b60007f0000000000000000000000000000000000000000019d971e4fe8401e74000000905090565b60006107f7611a67565b905090565b600061089e61080961160c565b84846001600061081761160c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108999190613334565b61161b565b6001905092915050565b6108b061160c565b73ffffffffffffffffffffffffffffffffffffffff166108ce610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091b90613197565b60405180910390fd5b61092c611b81565b565b61093661160c565b73ffffffffffffffffffffffffffffffffffffffff16610954610d5c565b73ffffffffffffffffffffffffffffffffffffffff16146109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a190613197565b60405180910390fd5b6109b48282611c23565b5050565b6109c96109c361160c565b82611c31565b50565b600d80546109d990613481565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0590613481565b8015610a525780601f10610a2757610100808354040283529160200191610a52565b820191906000526020600020905b815481529060010190602001808311610a3557829003601f168201915b505050505081565b6000806000610aa784600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611e08565b9150915081610abe57610ab985610b3b565b610ac0565b805b9250505092915050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b8b61160c565b73ffffffffffffffffffffffffffffffffffffffff16610ba9610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf690613197565b60405180910390fd5b610c096000611efe565b565b6000610c1e83610c1961160c565b611149565b905081811015610c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5a906131b7565b60405180910390fd5b610c7783610c6f61160c565b84840361161b565b610c818383611c31565b505050565b6000610ccf600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206115fe565b9050919050565b610cde61160c565b73ffffffffffffffffffffffffffffffffffffffff16610cfc610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4990613197565b60405180910390fd5b610d5a611fc4565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610d9590613481565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc190613481565b8015610e0e5780601f10610de357610100808354040283529160200191610e0e565b820191906000526020600020905b815481529060010190602001808311610df157829003601f168201915b5050505050905090565b6000610e2261160c565b73ffffffffffffffffffffffffffffffffffffffff16610e40610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90613197565b60405180910390fd5b610e9e612067565b905090565b6000806000610eb3846007611e08565b9150915081610ec957610ec46106ba565b610ecb565b805b92505050919050565b60008060016000610ee361160c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9790613277565b60405180910390fd5b610fb4610fab61160c565b8585840361161b565b600191505092915050565b6000610fd3610fcc61160c565b84846117e6565b6001905092915050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8342111561104a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611041906130b7565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886110798c6120bd565b8960405160200161108f96959493929190612e9c565b60405160208183030381529060405280519060200120905060006110b28261211b565b905060006110c282878787612135565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112990613157565b60405180910390fd5b61113d8a8a8a61161b565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6111d861160c565b73ffffffffffffffffffffffffffffffffffffffff166111f6610d5c565b73ffffffffffffffffffffffffffffffffffffffff161461124c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124390613197565b60405180910390fd5b61125581612160565b50565b61126061160c565b73ffffffffffffffffffffffffffffffffffffffff1661127e610d5c565b73ffffffffffffffffffffffffffffffffffffffff16146112d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cb90613197565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133b90613077565b60405180910390fd5b61134d81611efe565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b790613297565b60405180910390fd5b6113cc600083836121a4565b80600260008282546113de9190613334565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114339190613334565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161149891906132d7565b60405180910390a36114ac600083836121b4565b5050565b600060146000369050101580156114cc57506114cb33610aca565b5b156114e057601436033560601c90506114e4565b3390505b90565b6114f28383836115a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561153d57611530826121b9565b61153861220c565b61159c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115885761157b836121b9565b61158361220c565b61159b565b611591836121b9565b61159a826121b9565b5b5b505050565b6115ac8383836115f9565b6115b4610b24565b156115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb906132b7565b60405180910390fd5b505050565b505050565b600081600001549050919050565b60006116166114b0565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613237565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290613097565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117d991906132d7565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d906131f7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bd90612ff7565b60405180910390fd5b6118d18383836121a4565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194e906130d7565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ea9190613334565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a4e91906132d7565b60405180910390a3611a618484846121b4565b50505050565b60007f0000000000000000000000007f67639ffc8c93dd558d452b8920b28815638c4473ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015611ae357507f000000000000000000000000000000000000000000000000000000000000008946145b15611b10577f2dd06abda2affaf71ea185416c3dfd76fd69666629c43f46e13bb9238d76a8d39050611b7e565b611b7b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f50ce26373950841700fe9b14ec585641e536d8c64d02076a9e71822ff62f2fed7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6612220565b90505b90565b611b89610b24565b611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90613017565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611c0c61160c565b604051611c199190612e4b565b60405180910390a1565b611c2d828261225a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c98906131d7565b60405180910390fd5b611cad826000836121a4565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2a90613037565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611d8a91906133bb565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611def91906132d7565b60405180910390a3611e03836000846121b4565b505050565b60008060008411611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590613257565b60405180910390fd5b611e566122c4565b841115611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f90612fd7565b60405180910390fd5b6000611eb085856000016122d590919063ffffffff16565b90508360000180549050811415611ece576000809250925050611ef7565b6001846001018281548110611ee657611ee5613579565b5b906000526020600020015492509250505b9250929050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fcc610b24565b1561200c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200390613117565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861205061160c565b60405161205d9190612e4b565b60405180910390a1565b600061207360096123af565b600061207d6122c4565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040516120ae91906132d7565b60405180910390a18091505090565b600080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061210a816115fe565b9150612115816123af565b50919050565b600061212e612128611a67565b836123c5565b9050919050565b6000806000612146878787876123f8565b9150915061215381612505565b8192505050949350505050565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6121af8383836114e7565b505050565b505050565b612209600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061220483610b3b565b6126da565b50565b61221e60076122196106ba565b6126da565b565b6000838383463060405160200161223b959493929190612efd565b6040516020818303038152906040528051906020012090509392505050565b6122626107c5565b8161226b6106ba565b6122759190613334565b11156122b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ad90613217565b60405180910390fd5b6122c08282611350565b5050565b60006122d060096115fe565b905090565b600080838054905014156122ec57600090506123a9565b600080848054905090505b8082101561235057600061230b8383612755565b90508486828154811061232157612320613579565b5b9060005260206000200154111561233a5780915061234a565b6001816123479190613334565b92505b506122f7565b6000821180156123885750838560018461236a91906133bb565b8154811061237b5761237a613579565b5b9060005260206000200154145b156123a35760018261239a91906133bb565b925050506123a9565b81925050505b92915050565b6001816000016000828254019250508190555050565b600082826040516020016123da929190612e14565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156124335760006003915091506124fc565b601b8560ff161415801561244b5750601c8560ff1614155b1561245d5760006004915091506124fc565b6000600187878787604051600081526020016040526040516124829493929190612f50565b6020604051602081039080840390855afa1580156124a4573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124f3576000600192509250506124fc565b80600092509250505b94509492505050565b600060048111156125195761251861351b565b5b81600481111561252c5761252b61351b565b5b1415612537576126d7565b6001600481111561254b5761254a61351b565b5b81600481111561255e5761255d61351b565b5b141561259f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259690612fb7565b60405180910390fd5b600260048111156125b3576125b261351b565b5b8160048111156125c6576125c561351b565b5b1415612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe90613057565b60405180910390fd5b6003600481111561261b5761261a61351b565b5b81600481111561262e5761262d61351b565b5b141561266f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612666906130f7565b60405180910390fd5b6004808111156126825761268161351b565b5b8160048111156126955761269461351b565b5b14156126d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cd90613137565b60405180910390fd5b5b50565b60006126e46122c4565b9050806126f38460000161277b565b10156127505782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b60006002828418612766919061338a565b8284166127739190613334565b905092915050565b6000808280549050141561279257600090506127c3565b81600183805490506127a491906133bb565b815481106127b5576127b4613579565b5b906000526020600020015490505b919050565b6000813590506127d781613bfc565b92915050565b6000813590506127ec81613c13565b92915050565b60008135905061280181613c2a565b92915050565b60008135905061281681613c41565b92915050565b600060208284031215612832576128316135a8565b5b6000612840848285016127c8565b91505092915050565b600080604083850312156128605761285f6135a8565b5b600061286e858286016127c8565b925050602061287f858286016127c8565b9150509250929050565b6000806000606084860312156128a2576128a16135a8565b5b60006128b0868287016127c8565b93505060206128c1868287016127c8565b92505060406128d2868287016127f2565b9150509250925092565b600080600080600080600060e0888a0312156128fb576128fa6135a8565b5b60006129098a828b016127c8565b975050602061291a8a828b016127c8565b965050604061292b8a828b016127f2565b955050606061293c8a828b016127f2565b945050608061294d8a828b01612807565b93505060a061295e8a828b016127dd565b92505060c061296f8a828b016127dd565b91505092959891949750929550565b60008060408385031215612995576129946135a8565b5b60006129a3858286016127c8565b92505060206129b4858286016127f2565b9150509250929050565b6000602082840312156129d4576129d36135a8565b5b60006129e2848285016127f2565b91505092915050565b6129f4816133ef565b82525050565b612a0381613401565b82525050565b612a128161340d565b82525050565b612a29612a248261340d565b6134b3565b82525050565b6000612a3a8261330d565b612a448185613318565b9350612a5481856020860161344e565b612a5d816135ad565b840191505092915050565b6000612a75601883613318565b9150612a80826135be565b602082019050919050565b6000612a98601d83613318565b9150612aa3826135e7565b602082019050919050565b6000612abb602383613318565b9150612ac682613610565b604082019050919050565b6000612ade601483613318565b9150612ae98261365f565b602082019050919050565b6000612b01602283613318565b9150612b0c82613688565b604082019050919050565b6000612b24601f83613318565b9150612b2f826136d7565b602082019050919050565b6000612b47602683613318565b9150612b5282613700565b604082019050919050565b6000612b6a602283613318565b9150612b758261374f565b604082019050919050565b6000612b8d600283613329565b9150612b988261379e565b600282019050919050565b6000612bb0601d83613318565b9150612bbb826137c7565b602082019050919050565b6000612bd3602683613318565b9150612bde826137f0565b604082019050919050565b6000612bf6602283613318565b9150612c018261383f565b604082019050919050565b6000612c19601083613318565b9150612c248261388e565b602082019050919050565b6000612c3c602283613318565b9150612c47826138b7565b604082019050919050565b6000612c5f601e83613318565b9150612c6a82613906565b602082019050919050565b6000612c82602883613318565b9150612c8d8261392f565b604082019050919050565b6000612ca5602083613318565b9150612cb08261397e565b602082019050919050565b6000612cc8602483613318565b9150612cd3826139a7565b604082019050919050565b6000612ceb602183613318565b9150612cf6826139f6565b604082019050919050565b6000612d0e602583613318565b9150612d1982613a45565b604082019050919050565b6000612d31601983613318565b9150612d3c82613a94565b602082019050919050565b6000612d54602483613318565b9150612d5f82613abd565b604082019050919050565b6000612d77601683613318565b9150612d8282613b0c565b602082019050919050565b6000612d9a602583613318565b9150612da582613b35565b604082019050919050565b6000612dbd601f83613318565b9150612dc882613b84565b602082019050919050565b6000612de0602a83613318565b9150612deb82613bad565b604082019050919050565b612dff81613437565b82525050565b612e0e81613441565b82525050565b6000612e1f82612b80565b9150612e2b8285612a18565b602082019150612e3b8284612a18565b6020820191508190509392505050565b6000602082019050612e6060008301846129eb565b92915050565b6000602082019050612e7b60008301846129fa565b92915050565b6000602082019050612e966000830184612a09565b92915050565b600060c082019050612eb16000830189612a09565b612ebe60208301886129eb565b612ecb60408301876129eb565b612ed86060830186612df6565b612ee56080830185612df6565b612ef260a0830184612df6565b979650505050505050565b600060a082019050612f126000830188612a09565b612f1f6020830187612a09565b612f2c6040830186612a09565b612f396060830185612df6565b612f4660808301846129eb565b9695505050505050565b6000608082019050612f656000830187612a09565b612f726020830186612e05565b612f7f6040830185612a09565b612f8c6060830184612a09565b95945050505050565b60006020820190508181036000830152612faf8184612a2f565b905092915050565b60006020820190508181036000830152612fd081612a68565b9050919050565b60006020820190508181036000830152612ff081612a8b565b9050919050565b6000602082019050818103600083015261301081612aae565b9050919050565b6000602082019050818103600083015261303081612ad1565b9050919050565b6000602082019050818103600083015261305081612af4565b9050919050565b6000602082019050818103600083015261307081612b17565b9050919050565b6000602082019050818103600083015261309081612b3a565b9050919050565b600060208201905081810360008301526130b081612b5d565b9050919050565b600060208201905081810360008301526130d081612ba3565b9050919050565b600060208201905081810360008301526130f081612bc6565b9050919050565b6000602082019050818103600083015261311081612be9565b9050919050565b6000602082019050818103600083015261313081612c0c565b9050919050565b6000602082019050818103600083015261315081612c2f565b9050919050565b6000602082019050818103600083015261317081612c52565b9050919050565b6000602082019050818103600083015261319081612c75565b9050919050565b600060208201905081810360008301526131b081612c98565b9050919050565b600060208201905081810360008301526131d081612cbb565b9050919050565b600060208201905081810360008301526131f081612cde565b9050919050565b6000602082019050818103600083015261321081612d01565b9050919050565b6000602082019050818103600083015261323081612d24565b9050919050565b6000602082019050818103600083015261325081612d47565b9050919050565b6000602082019050818103600083015261327081612d6a565b9050919050565b6000602082019050818103600083015261329081612d8d565b9050919050565b600060208201905081810360008301526132b081612db0565b9050919050565b600060208201905081810360008301526132d081612dd3565b9050919050565b60006020820190506132ec6000830184612df6565b92915050565b60006020820190506133076000830184612e05565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061333f82613437565b915061334a83613437565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561337f5761337e6134bd565b5b828201905092915050565b600061339582613437565b91506133a083613437565b9250826133b0576133af6134ec565b5b828204905092915050565b60006133c682613437565b91506133d183613437565b9250828210156133e4576133e36134bd565b5b828203905092915050565b60006133fa82613417565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b8381101561346c578082015181840152602081019050613451565b8381111561347b576000848401525b50505050565b6000600282049050600182168061349957607f821691505b602082108114156134ad576134ac61354a565b5b50919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332304361707065643a2063617020657863656564656400000000000000600082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433230536e617073686f743a206964206973203000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b613c05816133ef565b8114613c1057600080fd5b50565b613c1c8161340d565b8114613c2757600080fd5b50565b613c3381613437565b8114613c3e57600080fd5b50565b613c4a81613441565b8114613c5557600080fd5b5056fea2646970667358221220337aea4a56676c4ba590ef070e2882a8bba4ce73aa5745bae746146ade002b5a64736f6c63430008070033
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.