Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
E-Commerce
Overview
Max Total Supply
1,000,000,000 SPACE
Holders
3,347 (0.00%)
Market
Price
$0.00 @ 0.000001 ETH (+1.99%)
Onchain Market Cap
$2,986,370.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
100 SPACEValue
$0.30 ( ~8.82993457570958E-05 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SPACE
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-06 */ /** *Submitted for verification at Etherscan.io on 2021-05-03 */ // File: node_modules\@openzeppelin\contracts-upgradeable\token\ERC20\IERC20Upgradeable.sol // SPDX-License-Identifier: MIT /** *This is the official contract of Spacelens and its SPACE token https://spacelens.com *The world of shopping and commerce must be managed and governed by its participants. *You must possess your data, privacy and control over your funds. *Sellers must control their listings, products, services, inventions, creations, designs, stories, stores. *Consumers must be able shop with privacy, freedom and trustworthy information. *You’re not a product anymore. We are developing advanced solutions to improve commerce and the economy at large. */ pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @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); } // File: node_modules\@openzeppelin\contracts-upgradeable\token\ERC20\extensions\IERC20MetadataUpgradeable.sol /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20MetadataUpgradeable is IERC20Upgradeable { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: node_modules\@openzeppelin\contracts-upgradeable\proxy\utils\Initializable.sol /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\ContextUpgradeable.sol /* * @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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } uint256[50] private __gap; } // File: node_modules\@openzeppelin\contracts-upgradeable\token\ERC20\ERC20Upgradeable.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 guidelines: functions revert instead * of 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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable { 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 defaut 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. */ function __ERC20_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer { _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"); _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"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(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: * * - `to` 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); } /** * @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"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(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 to 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 { } uint256[45] private __gap; } // File: @openzeppelin\contracts-upgradeable\token\ERC20\extensions\ERC20BurnableUpgradeable.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 ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable { function __ERC20Burnable_init() internal initializer { __Context_init_unchained(); __ERC20Burnable_init_unchained(); } function __ERC20Burnable_init_unchained() internal initializer { } /** * @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"); _approve(account, _msgSender(), currentAllowance - amount); _burn(account, amount); } uint256[50] private __gap; } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\math\MathUpgradeable.sol /** * @dev Standard math utilities missing in the Solidity language. */ library MathUpgradeable { /** * @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, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\ArraysUpgradeable.sol /** * @dev Collection of functions related to array types. */ library ArraysUpgradeable { /** * @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 = MathUpgradeable.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; } } } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\CountersUpgradeable.sol /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. 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 CountersUpgradeable { 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; } } } // File: @openzeppelin\contracts-upgradeable\token\ERC20\extensions\ERC20SnapshotUpgradeable.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. * * ==== 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 ERC20SnapshotUpgradeable is Initializable, ERC20Upgradeable { function __ERC20Snapshot_init() internal initializer { __Context_init_unchained(); __ERC20Snapshot_init_unchained(); } function __ERC20Snapshot_init_unchained() internal initializer { } // Inspired by Jordi Baylina's MiniMeToken to record historical balances: // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol using ArraysUpgradeable for uint256[]; using CountersUpgradeable for CountersUpgradeable.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. CountersUpgradeable.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 = _currentSnapshotId.current(); emit Snapshot(currentId); return currentId; } /** * @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"); // solhint-disable-next-line max-line-length require(snapshotId <= _currentSnapshotId.current(), "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 = _currentSnapshotId.current(); 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]; } } uint256[46] private __gap; } // File: node_modules\@openzeppelin\contracts-upgradeable\token\ERC20\extensions\draft-IERC20PermitUpgradeable.sol /** * @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 IERC20PermitUpgradeable { /** * @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); } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\cryptography\ECDSAUpgradeable.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 ECDSAUpgradeable { /** * @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) { // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // 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) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } } else if (signature.length == 64) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { let vs := mload(add(signature, 0x40)) r := mload(add(signature, 0x20)) s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } } else { revert("ECDSA: invalid signature length"); } return recover(hash, v, r, s); } /** * @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) { // 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 (281): 0 < s < secp256k1n ├╖ 2 + 1, and for v in (282): 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. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @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 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)); } } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\cryptography\draft-EIP712Upgradeable.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 EIP712Upgradeable is Initializable { /* solhint-disable var-name-mixedcase */ bytes32 private _HASHED_NAME; bytes32 private _HASHED_VERSION; bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); /* 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]. */ function __EIP712_init(string memory name, string memory version) internal initializer { __EIP712_init_unchained(name, version); } function __EIP712_init_unchained(string memory name, string memory version) internal initializer { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash()); } function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) { return keccak256( abi.encode( typeHash, name, version, 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 ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev The hash of the name parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712NameHash() internal virtual view returns (bytes32) { return _HASHED_NAME; } /** * @dev The hash of the version parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712VersionHash() internal virtual view returns (bytes32) { return _HASHED_VERSION; } uint256[50] private __gap; } // File: @openzeppelin\contracts-upgradeable\token\ERC20\extensions\draft-ERC20PermitUpgradeable.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 ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable { using CountersUpgradeable for CountersUpgradeable.Counter; mapping (address => CountersUpgradeable.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private _PERMIT_TYPEHASH; /** * @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. */ function __ERC20Permit_init(string memory name) internal initializer { __Context_init_unchained(); __EIP712_init_unchained(name, "1"); __ERC20Permit_init_unchained(name); } function __ERC20Permit_init_unchained(string memory name) internal initializer { _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); } /** * @dev See {IERC20Permit-permit}. */ function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override { // solhint-disable-next-line not-rely-on-time 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 = ECDSAUpgradeable.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) { CountersUpgradeable.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } uint256[49] private __gap; } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\StringsUpgradeable.sol /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\introspection\IERC165Upgradeable.sol /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: node_modules\@openzeppelin\contracts-upgradeable\utils\introspection\ERC165Upgradeable.sol /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; } // File: @openzeppelin\contracts-upgradeable\access\AccessControlUpgradeable.sol /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControlUpgradeable { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable { function __AccessControl_init() internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __AccessControl_init_unchained(); } function __AccessControl_init_unchained() internal initializer { } struct RoleData { mapping (address => bool) members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ */ function _checkRole(bytes32 role, address account) internal view { if(!hasRole(role, account)) { revert(string(abi.encodePacked( "AccessControl: account ", StringsUpgradeable.toHexString(uint160(account), 20), " is missing role ", StringsUpgradeable.toHexString(uint256(role), 32) ))); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } uint256[49] private __gap; } // File: @openzeppelin\contracts-upgradeable\security\PausableUpgradeable.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 PausableUpgradeable is Initializable, ContextUpgradeable { /** * @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. */ function __Pausable_init() internal initializer { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal initializer { _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()); } uint256[49] private __gap; } // File: contracts\space.sol pragma solidity ^0.8.0; contract SPACE is ERC20Upgradeable, ERC20BurnableUpgradeable, ERC20SnapshotUpgradeable, AccessControlUpgradeable, PausableUpgradeable, ERC20PermitUpgradeable { bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE"); bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); function initialize() initializer public { __ERC20_init_unchained("Spacelens", "SPACE"); __ERC20Permit_init_unchained("Spacelens"); _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(SNAPSHOT_ROLE, msg.sender); _setupRole(PAUSER_ROLE, msg.sender); _setupRole(MINTER_ROLE, msg.sender); } function snapshot() public { require(hasRole(SNAPSHOT_ROLE, msg.sender)); _snapshot(); } function pause() public { require(hasRole(PAUSER_ROLE, msg.sender)); _pause(); } function unpause() public { require(hasRole(PAUSER_ROLE, msg.sender)); _unpause(); } function mint(address to, uint256 amount) public { require(hasRole(MINTER_ROLE, msg.sender)); _mint(to, amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override(ERC20Upgradeable, ERC20SnapshotUpgradeable) { super._beforeTokenTransfer(from, to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_ROLE","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":"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":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061253c806100206000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063981b24d0116100ad578063d505accf1161007c578063d505accf146103ed578063d539139314610400578063d547741f14610408578063dd62ed3e1461041b578063e63ab1e91461042e57610206565b8063981b24d0146103ac578063a217fddf146103bf578063a457c2d7146103c7578063a9059cbb146103da57610206565b80638456cb59116100e95780638456cb591461038157806391d148541461038957806395d89b411461039c5780639711715a146103a457610206565b806370a082311461034057806379cc6790146103535780637ecebe00146103665780638129fc1c1461037957610206565b80633644e5151161019d57806340c10f191161016c57806340c10f19146102f757806342966c681461030a5780634ee2cd7e1461031d5780635c975abb146103305780637028e2cd1461033857610206565b80633644e515146102c157806336568abe146102c957806339509351146102dc5780633f4ba83a146102ef57610206565b806323b872dd116101d957806323b872dd14610271578063248a9ca3146102845780632f2ff15d14610297578063313ce567146102ac57610206565b806301ffc9a71461020b57806306fdde0314610234578063095ea7b31461024957806318160ddd1461025c575b600080fd5b61021e610219366004611c90565b610436565b60405161022b9190611d5c565b60405180910390f35b61023c610463565b60405161022b9190611dee565b61021e610257366004611c2d565b6104f5565b610264610513565b60405161022b9190611d67565b61021e61027f366004611b81565b610519565b610264610292366004611c56565b6105b9565b6102aa6102a5366004611c6e565b6105ce565b005b6102b46105f7565b60405161022b91906123ba565b6102646105fc565b6102aa6102d7366004611c6e565b61060b565b61021e6102ea366004611c2d565b610651565b6102aa6106a0565b6102aa610305366004611c2d565b6106cb565b6102aa610318366004611c56565b610708565b61026461032b366004611c2d565b61071c565b61021e610765565b61026461076f565b61026461034e366004611b35565b610793565b6102aa610361366004611c2d565b6107ae565b610264610374366004611b35565b6107fe565b6102aa610820565b6102aa61097d565b61021e610397366004611c6e565b6109a6565b61023c6109d1565b6102aa6109e0565b6102646103ba366004611c56565b610a1b565b610264610a4b565b61021e6103d5366004611c2d565b610a50565b61021e6103e8366004611c2d565b610acb565b6102aa6103fb366004611bbc565b610adf565b610264610ba4565b6102aa610416366004611c6e565b610bc8565b610264610429366004611b4f565b610be7565b610264610c12565b60006001600160e01b03198216637965db0b60e01b148061045b575061045b82610c24565b90505b919050565b60606036805461047290612471565b80601f016020809104026020016040519081016040528092919081815260200182805461049e90612471565b80156104eb5780601f106104c0576101008083540402835291602001916104eb565b820191906000526020600020905b8154815290600101906020018083116104ce57829003601f168201915b5050505050905090565b6000610509610502610c3d565b8484610c41565b5060015b92915050565b60355490565b6000610526848484610cf5565b6001600160a01b038416600090815260346020526040812081610547610c3d565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105935760405162461bcd60e51b815260040161058a90612169565b60405180910390fd5b6105ae8561059f610c3d565b6105a98685612413565b610c41565b506001949350505050565b600090815260fb602052604090206001015490565b6105d7826105b9565b6105e8816105e3610c3d565b610e1d565b6105f28383610e81565b505050565b601290565b6000610606610f08565b905090565b610613610c3d565b6001600160a01b0316816001600160a01b0316146106435760405162461bcd60e51b815260040161058a90612334565b61064d8282610f43565b5050565b600061050961065e610c3d565b84846034600061066c610c3d565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546105a991906123c8565b6106b86000805160206124e7833981519152336109a6565b6106c157600080fd5b6106c9610fc8565b565b6106f57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109a6565b6106fe57600080fd5b61064d8282611037565b610719610713610c3d565b826110f7565b50565b6001600160a01b0382166000908152609760205260408120819081906107439085906111dd565b915091508161075a5761075585610793565b61075c565b805b95945050505050565b61012d5460ff1690565b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b6001600160a01b031660009081526033602052604090205490565b60006107bc83610429610c3d565b9050818110156107de5760405162461bcd60e51b815260040161058a906121b1565b6107f4836107ea610c3d565b6105a98585612413565b6105f283836110f7565b6001600160a01b03811660009081526101936020526040812061045b9061128b565b600054610100900460ff1680610839575060005460ff16155b6108555760405162461bcd60e51b815260040161058a906120a2565b600054610100900460ff16158015610880576000805460ff1961ff0019909116610100171660011790555b6108c86040518060400160405280600981526020016853706163656c656e7360b81b81525060405180604001604052806005815260200164535041434560d81b81525061128f565b6108f26040518060400160405280600981526020016853706163656c656e7360b81b81525061132d565b6108fd6000336113c7565b6109277f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f336113c7565b61093f6000805160206124e7833981519152336113c7565b6109697f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336113c7565b8015610719576000805461ff001916905550565b6109956000805160206124e7833981519152336109a6565b61099e57600080fd5b6106c96113d1565b600091825260fb602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606037805461047290612471565b610a0a7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f336109a6565b610a1357600080fd5b61071961142d565b6000806000610a2b8460986111dd565b9150915081610a4157610a3c610513565b610a43565b805b949350505050565b600081565b60008060346000610a5f610c3d565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610aab5760405162461bcd60e51b815260040161058a906122ef565b610ac1610ab6610c3d565b856105a98685612413565b5060019392505050565b6000610509610ad8610c3d565b8484610cf5565b83421115610aff5760405162461bcd60e51b815260040161058a90611fb9565b600061019454888888610b118c611483565b89604051602001610b2796959493929190611d70565b6040516020818303038152906040528051906020012090506000610b4a826114b6565b90506000610b5a828787876114c9565b9050896001600160a01b0316816001600160a01b031614610b8d5760405162461bcd60e51b815260040161058a90612132565b610b988a8a8a610c41565b50505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610bd1826105b9565b610bdd816105e3610c3d565b6105f28383610f43565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6000805160206124e783398151915281565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b6001600160a01b038316610c675760405162461bcd60e51b815260040161058a9061227b565b6001600160a01b038216610c8d5760405162461bcd60e51b815260040161058a90611f77565b6001600160a01b0380841660008181526034602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610ce8908590611d67565b60405180910390a3505050565b6001600160a01b038316610d1b5760405162461bcd60e51b815260040161058a90612236565b6001600160a01b038216610d415760405162461bcd60e51b815260040161058a90611ec4565b610d4c8383836115b6565b6001600160a01b03831660009081526033602052604090205481811015610d855760405162461bcd60e51b815260040161058a90611ff0565b610d8f8282612413565b6001600160a01b038086166000908152603360205260408082209390935590851681529081208054849290610dc59084906123c8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e0f9190611d67565b60405180910390a350505050565b610e2782826109a6565b61064d57610e3f816001600160a01b031660146115e6565b610e4a8360206115e6565b604051602001610e5b929190611cd3565b60408051601f198184030181529082905262461bcd60e51b825261058a91600401611dee565b610e8b82826109a6565b61064d57600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610ec4610c3d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006106067f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f610f3661179f565b610f3e6117a6565b6117ad565b610f4d82826109a6565b1561064d57600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19169055610f84610c3d565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b610fd0610765565b610fec5760405162461bcd60e51b815260040161058a90611f07565b61012d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611020610c3d565b60405161102d9190611d48565b60405180910390a1565b6001600160a01b03821661105d5760405162461bcd60e51b815260040161058a90612383565b611069600083836115b6565b806035600082825461107b91906123c8565b90915550506001600160a01b038216600090815260336020526040812080548392906110a89084906123c8565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110eb908590611d67565b60405180910390a35050565b6001600160a01b03821661111d5760405162461bcd60e51b815260040161058a906121f5565b611129826000836115b6565b6001600160a01b038216600090815260336020526040902054818110156111625760405162461bcd60e51b815260040161058a90611f35565b61116c8282612413565b6001600160a01b0384166000908152603360205260408120919091556035805484929061119a908490612413565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ce8908690611d67565b600080600084116112005760405162461bcd60e51b815260040161058a906122bf565b61120a609a61128b565b8411156112295760405162461bcd60e51b815260040161058a90611e58565b600061123584866117e7565b845490915081141561124e576000809250925050611284565b600184600101828154811061127357634e487b7160e01b600052603260045260246000fd5b906000526020600020015492509250505b9250929050565b5490565b600054610100900460ff16806112a8575060005460ff16155b6112c45760405162461bcd60e51b815260040161058a906120a2565b600054610100900460ff161580156112ef576000805460ff1961ff0019909116610100171660011790555b8251611302906036906020860190611a85565b508151611316906037906020850190611a85565b5080156105f2576000805461ff0019169055505050565b600054610100900460ff1680611346575060005460ff16155b6113625760405162461bcd60e51b815260040161058a906120a2565b600054610100900460ff1615801561138d576000805460ff1961ff0019909116610100171660011790555b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c961019455801561064d576000805461ff00191690555050565b61064d8282610e81565b6113d9610765565b156113f65760405162461bcd60e51b815260040161058a90612078565b61012d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611020610c3d565b6000611439609a6118c6565b6000611445609a61128b565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040516114769190611d67565b60405180910390a1905090565b6001600160a01b0381166000908152610193602052604081206114a58161128b565b91506114b0816118c6565b50919050565b600061045b6114c3610f08565b836118cf565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561150b5760405162461bcd60e51b815260040161058a90612036565b8360ff16601b148061152057508360ff16601c145b61153c5760405162461bcd60e51b815260040161058a906120f0565b6000600186868686604051600081526020016040526040516115619493929190611dd0565b6020604051602081039080840390855afa158015611583573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661075c5760405162461bcd60e51b815260040161058a90611e21565b6115be610765565b156115db5760405162461bcd60e51b815260040161058a90612078565b6105f2838383611902565b606060006115f58360026123f4565b6116009060026123c8565b67ffffffffffffffff81111561162657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611650576020820181803683370190505b509050600360fc1b8160008151811061167957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106116b657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006116da8460026123f4565b6116e59060016123c8565b90505b6001811115611779576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061172757634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061174b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936117728161245a565b90506116e8565b5083156117985760405162461bcd60e51b815260040161058a90611e8f565b9392505050565b61015f5490565b6101605490565b600083838346306040516020016117c8959493929190611da4565b6040516020818303038152906040528051906020012090509392505050565b81546000906117f85750600061050d565b82546000905b80821015611862576000611812838361195a565b90508486828154811061183557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154111561184e5780915061185c565b6118598160016123c8565b92505b506117fe565b6000821180156118a55750838561187a600185612413565b8154811061189857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154145b156118be576118b5600183612413565b9250505061050d565b50905061050d565b80546001019055565b600082826040516020016118e4929190611cb8565b60405160208183030381529060405280519060200120905092915050565b61190d8383836105f2565b6001600160a01b03831661193157611924826119b1565b61192c6119db565b6105f2565b6001600160a01b03821661194857611924836119b1565b611951836119b1565b6105f2826119b1565b6000600261196881846124a6565b6119736002866124a6565b61197d91906123c8565b61198791906123e0565b6119926002846123e0565b61199d6002866123e0565b6119a791906123c8565b61179891906123c8565b6001600160a01b0381166000908152609760205260409020610719906119d683610793565b6119e8565b6106c960986119d6610513565b60006119f4609a61128b565b905080611a0084611a34565b10156105f2578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b8054600090611a455750600061045e565b81548290611a5590600190612413565b81548110611a7357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905061045e565b828054611a9190612471565b90600052602060002090601f016020900481019282611ab35760008555611af9565b82601f10611acc57805160ff1916838001178555611af9565b82800160010185558215611af9579182015b82811115611af9578251825591602001919060010190611ade565b50611b05929150611b09565b5090565b5b80821115611b055760008155600101611b0a565b80356001600160a01b038116811461045e57600080fd5b600060208284031215611b46578081fd5b61179882611b1e565b60008060408385031215611b61578081fd5b611b6a83611b1e565b9150611b7860208401611b1e565b90509250929050565b600080600060608486031215611b95578081fd5b611b9e84611b1e565b9250611bac60208501611b1e565b9150604084013590509250925092565b600080600080600080600060e0888a031215611bd6578283fd5b611bdf88611b1e565b9650611bed60208901611b1e565b95506040880135945060608801359350608088013560ff81168114611c10578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611c3f578182fd5b611c4883611b1e565b946020939093013593505050565b600060208284031215611c67578081fd5b5035919050565b60008060408385031215611c80578182fd5b82359150611b7860208401611b1e565b600060208284031215611ca1578081fd5b81356001600160e01b031981168114611798578182fd5b61190160f01b81526002810192909252602282015260420190565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351611d0b81601785016020880161242a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611d3c81602884016020880161242a565b01602801949350505050565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082528251806020840152611e0d81604085016020870161242a565b601f01601f19169190910160400192915050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b6020808252601d908201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604082015260600190565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332305065726d69743a206578706972656420646561646c696e65000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252601e908201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526016908201527504552433230536e617073686f743a20696420697320360541b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b600082198211156123db576123db6124ba565b500190565b6000826123ef576123ef6124d0565b500490565b600081600019048311821515161561240e5761240e6124ba565b500290565b600082821015612425576124256124ba565b500390565b60005b8381101561244557818101518382015260200161242d565b83811115612454576000848401525b50505050565b600081612469576124696124ba565b506000190190565b60028104600182168061248557607f821691505b602082108114156114b057634e487b7160e01b600052602260045260246000fd5b6000826124b5576124b56124d0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862aa2646970667358221220f5372025ee875ef0ed318e75e42cf2c7013cd29298f7ff7861a2d1912ef69dbe64736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063981b24d0116100ad578063d505accf1161007c578063d505accf146103ed578063d539139314610400578063d547741f14610408578063dd62ed3e1461041b578063e63ab1e91461042e57610206565b8063981b24d0146103ac578063a217fddf146103bf578063a457c2d7146103c7578063a9059cbb146103da57610206565b80638456cb59116100e95780638456cb591461038157806391d148541461038957806395d89b411461039c5780639711715a146103a457610206565b806370a082311461034057806379cc6790146103535780637ecebe00146103665780638129fc1c1461037957610206565b80633644e5151161019d57806340c10f191161016c57806340c10f19146102f757806342966c681461030a5780634ee2cd7e1461031d5780635c975abb146103305780637028e2cd1461033857610206565b80633644e515146102c157806336568abe146102c957806339509351146102dc5780633f4ba83a146102ef57610206565b806323b872dd116101d957806323b872dd14610271578063248a9ca3146102845780632f2ff15d14610297578063313ce567146102ac57610206565b806301ffc9a71461020b57806306fdde0314610234578063095ea7b31461024957806318160ddd1461025c575b600080fd5b61021e610219366004611c90565b610436565b60405161022b9190611d5c565b60405180910390f35b61023c610463565b60405161022b9190611dee565b61021e610257366004611c2d565b6104f5565b610264610513565b60405161022b9190611d67565b61021e61027f366004611b81565b610519565b610264610292366004611c56565b6105b9565b6102aa6102a5366004611c6e565b6105ce565b005b6102b46105f7565b60405161022b91906123ba565b6102646105fc565b6102aa6102d7366004611c6e565b61060b565b61021e6102ea366004611c2d565b610651565b6102aa6106a0565b6102aa610305366004611c2d565b6106cb565b6102aa610318366004611c56565b610708565b61026461032b366004611c2d565b61071c565b61021e610765565b61026461076f565b61026461034e366004611b35565b610793565b6102aa610361366004611c2d565b6107ae565b610264610374366004611b35565b6107fe565b6102aa610820565b6102aa61097d565b61021e610397366004611c6e565b6109a6565b61023c6109d1565b6102aa6109e0565b6102646103ba366004611c56565b610a1b565b610264610a4b565b61021e6103d5366004611c2d565b610a50565b61021e6103e8366004611c2d565b610acb565b6102aa6103fb366004611bbc565b610adf565b610264610ba4565b6102aa610416366004611c6e565b610bc8565b610264610429366004611b4f565b610be7565b610264610c12565b60006001600160e01b03198216637965db0b60e01b148061045b575061045b82610c24565b90505b919050565b60606036805461047290612471565b80601f016020809104026020016040519081016040528092919081815260200182805461049e90612471565b80156104eb5780601f106104c0576101008083540402835291602001916104eb565b820191906000526020600020905b8154815290600101906020018083116104ce57829003601f168201915b5050505050905090565b6000610509610502610c3d565b8484610c41565b5060015b92915050565b60355490565b6000610526848484610cf5565b6001600160a01b038416600090815260346020526040812081610547610c3d565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105935760405162461bcd60e51b815260040161058a90612169565b60405180910390fd5b6105ae8561059f610c3d565b6105a98685612413565b610c41565b506001949350505050565b600090815260fb602052604090206001015490565b6105d7826105b9565b6105e8816105e3610c3d565b610e1d565b6105f28383610e81565b505050565b601290565b6000610606610f08565b905090565b610613610c3d565b6001600160a01b0316816001600160a01b0316146106435760405162461bcd60e51b815260040161058a90612334565b61064d8282610f43565b5050565b600061050961065e610c3d565b84846034600061066c610c3d565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546105a991906123c8565b6106b86000805160206124e7833981519152336109a6565b6106c157600080fd5b6106c9610fc8565b565b6106f57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336109a6565b6106fe57600080fd5b61064d8282611037565b610719610713610c3d565b826110f7565b50565b6001600160a01b0382166000908152609760205260408120819081906107439085906111dd565b915091508161075a5761075585610793565b61075c565b805b95945050505050565b61012d5460ff1690565b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b6001600160a01b031660009081526033602052604090205490565b60006107bc83610429610c3d565b9050818110156107de5760405162461bcd60e51b815260040161058a906121b1565b6107f4836107ea610c3d565b6105a98585612413565b6105f283836110f7565b6001600160a01b03811660009081526101936020526040812061045b9061128b565b600054610100900460ff1680610839575060005460ff16155b6108555760405162461bcd60e51b815260040161058a906120a2565b600054610100900460ff16158015610880576000805460ff1961ff0019909116610100171660011790555b6108c86040518060400160405280600981526020016853706163656c656e7360b81b81525060405180604001604052806005815260200164535041434560d81b81525061128f565b6108f26040518060400160405280600981526020016853706163656c656e7360b81b81525061132d565b6108fd6000336113c7565b6109277f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f336113c7565b61093f6000805160206124e7833981519152336113c7565b6109697f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336113c7565b8015610719576000805461ff001916905550565b6109956000805160206124e7833981519152336109a6565b61099e57600080fd5b6106c96113d1565b600091825260fb602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606037805461047290612471565b610a0a7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f336109a6565b610a1357600080fd5b61071961142d565b6000806000610a2b8460986111dd565b9150915081610a4157610a3c610513565b610a43565b805b949350505050565b600081565b60008060346000610a5f610c3d565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610aab5760405162461bcd60e51b815260040161058a906122ef565b610ac1610ab6610c3d565b856105a98685612413565b5060019392505050565b6000610509610ad8610c3d565b8484610cf5565b83421115610aff5760405162461bcd60e51b815260040161058a90611fb9565b600061019454888888610b118c611483565b89604051602001610b2796959493929190611d70565b6040516020818303038152906040528051906020012090506000610b4a826114b6565b90506000610b5a828787876114c9565b9050896001600160a01b0316816001600160a01b031614610b8d5760405162461bcd60e51b815260040161058a90612132565b610b988a8a8a610c41565b50505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610bd1826105b9565b610bdd816105e3610c3d565b6105f28383610f43565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6000805160206124e783398151915281565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b6001600160a01b038316610c675760405162461bcd60e51b815260040161058a9061227b565b6001600160a01b038216610c8d5760405162461bcd60e51b815260040161058a90611f77565b6001600160a01b0380841660008181526034602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610ce8908590611d67565b60405180910390a3505050565b6001600160a01b038316610d1b5760405162461bcd60e51b815260040161058a90612236565b6001600160a01b038216610d415760405162461bcd60e51b815260040161058a90611ec4565b610d4c8383836115b6565b6001600160a01b03831660009081526033602052604090205481811015610d855760405162461bcd60e51b815260040161058a90611ff0565b610d8f8282612413565b6001600160a01b038086166000908152603360205260408082209390935590851681529081208054849290610dc59084906123c8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e0f9190611d67565b60405180910390a350505050565b610e2782826109a6565b61064d57610e3f816001600160a01b031660146115e6565b610e4a8360206115e6565b604051602001610e5b929190611cd3565b60408051601f198184030181529082905262461bcd60e51b825261058a91600401611dee565b610e8b82826109a6565b61064d57600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610ec4610c3d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006106067f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f610f3661179f565b610f3e6117a6565b6117ad565b610f4d82826109a6565b1561064d57600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19169055610f84610c3d565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b610fd0610765565b610fec5760405162461bcd60e51b815260040161058a90611f07565b61012d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611020610c3d565b60405161102d9190611d48565b60405180910390a1565b6001600160a01b03821661105d5760405162461bcd60e51b815260040161058a90612383565b611069600083836115b6565b806035600082825461107b91906123c8565b90915550506001600160a01b038216600090815260336020526040812080548392906110a89084906123c8565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110eb908590611d67565b60405180910390a35050565b6001600160a01b03821661111d5760405162461bcd60e51b815260040161058a906121f5565b611129826000836115b6565b6001600160a01b038216600090815260336020526040902054818110156111625760405162461bcd60e51b815260040161058a90611f35565b61116c8282612413565b6001600160a01b0384166000908152603360205260408120919091556035805484929061119a908490612413565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ce8908690611d67565b600080600084116112005760405162461bcd60e51b815260040161058a906122bf565b61120a609a61128b565b8411156112295760405162461bcd60e51b815260040161058a90611e58565b600061123584866117e7565b845490915081141561124e576000809250925050611284565b600184600101828154811061127357634e487b7160e01b600052603260045260246000fd5b906000526020600020015492509250505b9250929050565b5490565b600054610100900460ff16806112a8575060005460ff16155b6112c45760405162461bcd60e51b815260040161058a906120a2565b600054610100900460ff161580156112ef576000805460ff1961ff0019909116610100171660011790555b8251611302906036906020860190611a85565b508151611316906037906020850190611a85565b5080156105f2576000805461ff0019169055505050565b600054610100900460ff1680611346575060005460ff16155b6113625760405162461bcd60e51b815260040161058a906120a2565b600054610100900460ff1615801561138d576000805460ff1961ff0019909116610100171660011790555b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c961019455801561064d576000805461ff00191690555050565b61064d8282610e81565b6113d9610765565b156113f65760405162461bcd60e51b815260040161058a90612078565b61012d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611020610c3d565b6000611439609a6118c6565b6000611445609a61128b565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040516114769190611d67565b60405180910390a1905090565b6001600160a01b0381166000908152610193602052604081206114a58161128b565b91506114b0816118c6565b50919050565b600061045b6114c3610f08565b836118cf565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561150b5760405162461bcd60e51b815260040161058a90612036565b8360ff16601b148061152057508360ff16601c145b61153c5760405162461bcd60e51b815260040161058a906120f0565b6000600186868686604051600081526020016040526040516115619493929190611dd0565b6020604051602081039080840390855afa158015611583573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661075c5760405162461bcd60e51b815260040161058a90611e21565b6115be610765565b156115db5760405162461bcd60e51b815260040161058a90612078565b6105f2838383611902565b606060006115f58360026123f4565b6116009060026123c8565b67ffffffffffffffff81111561162657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611650576020820181803683370190505b509050600360fc1b8160008151811061167957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106116b657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006116da8460026123f4565b6116e59060016123c8565b90505b6001811115611779576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061172757634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061174b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936117728161245a565b90506116e8565b5083156117985760405162461bcd60e51b815260040161058a90611e8f565b9392505050565b61015f5490565b6101605490565b600083838346306040516020016117c8959493929190611da4565b6040516020818303038152906040528051906020012090509392505050565b81546000906117f85750600061050d565b82546000905b80821015611862576000611812838361195a565b90508486828154811061183557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154111561184e5780915061185c565b6118598160016123c8565b92505b506117fe565b6000821180156118a55750838561187a600185612413565b8154811061189857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154145b156118be576118b5600183612413565b9250505061050d565b50905061050d565b80546001019055565b600082826040516020016118e4929190611cb8565b60405160208183030381529060405280519060200120905092915050565b61190d8383836105f2565b6001600160a01b03831661193157611924826119b1565b61192c6119db565b6105f2565b6001600160a01b03821661194857611924836119b1565b611951836119b1565b6105f2826119b1565b6000600261196881846124a6565b6119736002866124a6565b61197d91906123c8565b61198791906123e0565b6119926002846123e0565b61199d6002866123e0565b6119a791906123c8565b61179891906123c8565b6001600160a01b0381166000908152609760205260409020610719906119d683610793565b6119e8565b6106c960986119d6610513565b60006119f4609a61128b565b905080611a0084611a34565b10156105f2578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b8054600090611a455750600061045e565b81548290611a5590600190612413565b81548110611a7357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905061045e565b828054611a9190612471565b90600052602060002090601f016020900481019282611ab35760008555611af9565b82601f10611acc57805160ff1916838001178555611af9565b82800160010185558215611af9579182015b82811115611af9578251825591602001919060010190611ade565b50611b05929150611b09565b5090565b5b80821115611b055760008155600101611b0a565b80356001600160a01b038116811461045e57600080fd5b600060208284031215611b46578081fd5b61179882611b1e565b60008060408385031215611b61578081fd5b611b6a83611b1e565b9150611b7860208401611b1e565b90509250929050565b600080600060608486031215611b95578081fd5b611b9e84611b1e565b9250611bac60208501611b1e565b9150604084013590509250925092565b600080600080600080600060e0888a031215611bd6578283fd5b611bdf88611b1e565b9650611bed60208901611b1e565b95506040880135945060608801359350608088013560ff81168114611c10578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611c3f578182fd5b611c4883611b1e565b946020939093013593505050565b600060208284031215611c67578081fd5b5035919050565b60008060408385031215611c80578182fd5b82359150611b7860208401611b1e565b600060208284031215611ca1578081fd5b81356001600160e01b031981168114611798578182fd5b61190160f01b81526002810192909252602282015260420190565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351611d0b81601785016020880161242a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611d3c81602884016020880161242a565b01602801949350505050565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082528251806020840152611e0d81604085016020870161242a565b601f01601f19169190910160400192915050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b6020808252601d908201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604082015260600190565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332305065726d69743a206578706972656420646561646c696e65000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252601e908201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526016908201527504552433230536e617073686f743a20696420697320360541b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b600082198211156123db576123db6124ba565b500190565b6000826123ef576123ef6124d0565b500490565b600081600019048311821515161561240e5761240e6124ba565b500290565b600082821015612425576124256124ba565b500390565b60005b8381101561244557818101518382015260200161242d565b83811115612454576000848401525b50505050565b600081612469576124696124ba565b506000190190565b60028104600182168061248557607f821691505b602082108114156114b057634e487b7160e01b600052602260045260246000fd5b6000826124b5576124b56124d0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862aa2646970667358221220f5372025ee875ef0ed318e75e42cf2c7013cd29298f7ff7861a2d1912ef69dbe64736f6c63430008000033
Deployed Bytecode Sourcemap
63602:1493:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56488:228;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9604:100;;;:::i;:::-;;;;;;;:::i;11771:169::-;;;;;;:::i;:::-;;:::i;10724:108::-;;;:::i;:::-;;;;;;;:::i;12422:422::-;;;;;;:::i;:::-;;:::i;57832:123::-;;;;;;:::i;:::-;;:::i;58217:147::-;;;;;;:::i;:::-;;:::i;:::-;;10566:93;;;:::i;:::-;;;;;;;:::i;47366:115::-;;;:::i;59265:218::-;;;;;;:::i;:::-;;:::i;13253:215::-;;;;;;:::i;:::-;;:::i;64589:107::-;;;:::i;64704:137::-;;;;;;:::i;:::-;;:::i;19164:91::-;;;;;;:::i;:::-;;:::i;28221:266::-;;;;;;:::i;:::-;;:::i;62311:86::-;;;:::i;63767:66::-;;;:::i;10895:127::-;;;;;;:::i;:::-;;:::i;19574:332::-;;;;;;:::i;:::-;;:::i;47108:128::-;;;;;;:::i;:::-;;:::i;63990:359::-;;;:::i;64478:103::-;;;:::i;56808:139::-;;;;;;:::i;:::-;;:::i;9823:104::-;;;:::i;64359:111::-;;;:::i;28591:233::-;;;;;;:::i;:::-;;:::i;54762:49::-;;;:::i;13971:377::-;;;;;;:::i;:::-;;:::i;11235:175::-;;;;;;:::i;:::-;;:::i;46260:782::-;;;;;;:::i;:::-;;:::i;63909:62::-;;;:::i;58609:149::-;;;;;;:::i;:::-;;:::i;11473:151::-;;;;;;:::i;:::-;;:::i;63840:62::-;;;:::i;56488:228::-;56573:4;-1:-1:-1;;;;;;56597:58:0;;-1:-1:-1;;;56597:58:0;;:111;;;56672:36;56696:11;56672:23;:36::i;:::-;56590:118;;56488:228;;;;:::o;9604:100::-;9658:13;9691:5;9684:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9604:100;:::o;11771:169::-;11854:4;11871:39;11880:12;:10;:12::i;:::-;11894:7;11903:6;11871:8;:39::i;:::-;-1:-1:-1;11928:4:0;11771:169;;;;;:::o;10724:108::-;10812:12;;10724:108;:::o;12422:422::-;12528:4;12545:36;12555:6;12563:9;12574:6;12545:9;:36::i;:::-;-1:-1:-1;;;;;12621:19:0;;12594:24;12621:19;;;:11;:19;;;;;12594:24;12641:12;:10;:12::i;:::-;-1:-1:-1;;;;;12621:33:0;-1:-1:-1;;;;;12621:33:0;;;;;;;;;;;;;12594:60;;12693:6;12673:16;:26;;12665:79;;;;-1:-1:-1;;;12665:79:0;;;;;;;:::i;:::-;;;;;;;;;12755:57;12764:6;12772:12;:10;:12::i;:::-;12786:25;12805:6;12786:16;:25;:::i;:::-;12755:8;:57::i;:::-;-1:-1:-1;12832:4:0;;12422:422;-1:-1:-1;;;;12422:422:0:o;57832:123::-;57898:7;57925:12;;;:6;:12;;;;;:22;;;;57832:123::o;58217:147::-;58300:18;58313:4;58300:12;:18::i;:::-;56366:30;56377:4;56383:12;:10;:12::i;:::-;56366:10;:30::i;:::-;58331:25:::1;58342:4;58348:7;58331:10;:25::i;:::-;58217:147:::0;;;:::o;10566:93::-;10649:2;10566:93;:::o;47366:115::-;47426:7;47453:20;:18;:20::i;:::-;47446:27;;47366:115;:::o;59265:218::-;59372:12;:10;:12::i;:::-;-1:-1:-1;;;;;59361:23:0;:7;-1:-1:-1;;;;;59361:23:0;;59353:83;;;;-1:-1:-1;;;59353:83:0;;;;;;;:::i;:::-;59449:26;59461:4;59467:7;59449:11;:26::i;:::-;59265:218;;:::o;13253:215::-;13341:4;13358:80;13367:12;:10;:12::i;:::-;13381:7;13427:10;13390:11;:25;13402:12;:10;:12::i;:::-;-1:-1:-1;;;;;13390:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;13390:25:0;;;:34;;;;;;;;;;:47;;;;:::i;64589:107::-;64634:32;-1:-1:-1;;;;;;;;;;;64655:10:0;64634:7;:32::i;:::-;64626:41;;;;;;64678:10;:8;:10::i;:::-;64589:107::o;64704:137::-;64772:32;63947:24;64793:10;64772:7;:32::i;:::-;64764:41;;;;;;64816:17;64822:2;64826:6;64816:5;:17::i;19164:91::-;19220:27;19226:12;:10;:12::i;:::-;19240:6;19220:5;:27::i;:::-;19164:91;:::o;28221:266::-;-1:-1:-1;;;;;28385:33:0;;28308:7;28385:33;;;:24;:33;;;;;28308:7;;;;28364:55;;28373:10;;28364:8;:55::i;:::-;28328:91;;;;28439:11;:40;;28461:18;28471:7;28461:9;:18::i;:::-;28439:40;;;28453:5;28439:40;28432:47;28221:266;-1:-1:-1;;;;;28221:266:0:o;62311:86::-;62382:7;;;;62311:86;:::o;63767:66::-;63807:26;63767:66;:::o;10895:127::-;-1:-1:-1;;;;;10996:18:0;10969:7;10996:18;;;:9;:18;;;;;;;10895:127::o;19574:332::-;19651:24;19678:32;19688:7;19697:12;:10;:12::i;19678:32::-;19651:59;;19749:6;19729:16;:26;;19721:75;;;;-1:-1:-1;;;19721:75:0;;;;;;;:::i;:::-;19807:58;19816:7;19825:12;:10;:12::i;:::-;19839:25;19858:6;19839:16;:25;:::i;19807:58::-;19876:22;19882:7;19891:6;19876:5;:22::i;47108:128::-;-1:-1:-1;;;;;47204:14:0;;47177:7;47204:14;;;:7;:14;;;;;:24;;:22;:24::i;63990:359::-;5682:13;;;;;;;;:30;;-1:-1:-1;5700:12:0;;;;5699:13;5682:30;5674:89;;;;-1:-1:-1;;;5674:89:0;;;;;;;:::i;:::-;5776:19;5799:13;;;;;;5798:14;5823:101;;;;5858:13;:20;;-1:-1:-1;;;;5858:20:0;;;;;5893:19;5874:4;5893:19;;;5823:101;64042:44:::1;;;;;;;;;;;;;;-1:-1:-1::0;;;64042:44:0::1;;::::0;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;64042:44:0::1;;::::0;:22:::1;:44::i;:::-;64097:41;;;;;;;;;;;;;;-1:-1:-1::0;;;64097:41:0::1;;::::0;:28:::1;:41::i;:::-;64159:42;54807:4;64190:10;64159;:42::i;:::-;64212:37;63807:26;64238:10;64212;:37::i;:::-;64260:35;-1:-1:-1::0;;;;;;;;;;;64284:10:0::1;64260;:35::i;:::-;64306;63947:24;64330:10;64306;:35::i;:::-;5954:14:::0;5950:68;;;6001:5;5985:21;;-1:-1:-1;;5985:21:0;;;63990:359;:::o;64478:103::-;64521:32;-1:-1:-1;;;;;;;;;;;64542:10:0;64521:7;:32::i;:::-;64513:41;;;;;;64565:8;:6;:8::i;56808:139::-;56886:4;56910:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;56910:29:0;;;;;;;;;;;;;;;56808:139::o;9823:104::-;9879:13;9912:7;9905:14;;;;;:::i;64359:111::-;64405:34;63807:26;64428:10;64405:7;:34::i;:::-;64397:43;;;;;;64451:11;:9;:11::i;28591:233::-;28662:7;28683:16;28701:13;28718:43;28727:10;28739:21;28718:8;:43::i;:::-;28682:79;;;;28781:11;:35;;28803:13;:11;:13::i;:::-;28781:35;;;28795:5;28781:35;28774:42;28591:233;-1:-1:-1;;;;28591:233:0:o;54762:49::-;54807:4;54762:49;:::o;13971:377::-;14064:4;14081:24;14108:11;:25;14120:12;:10;:12::i;:::-;-1:-1:-1;;;;;14108:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;14108:25:0;;;:34;;;;;;;;;;;-1:-1:-1;14161:35:0;;;;14153:85;;;;-1:-1:-1;;;14153:85:0;;;;;;;:::i;:::-;14249:67;14258:12;:10;:12::i;:::-;14272:7;14281:34;14300:15;14281:16;:34;:::i;14249:67::-;-1:-1:-1;14336:4:0;;13971:377;-1:-1:-1;;;13971:377:0:o;11235:175::-;11321:4;11338:42;11348:12;:10;:12::i;:::-;11362:9;11373:6;11338:9;:42::i;46260:782::-;46489:8;46470:15;:27;;46462:69;;;;-1:-1:-1;;;46462:69:0;;;;;;;:::i;:::-;46544:18;46618:16;;46653:5;46677:7;46703:5;46727:16;46737:5;46727:9;:16::i;:::-;46762:8;46589:196;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;46565:231;;;;;;46544:252;;46809:12;46824:28;46841:10;46824:16;:28::i;:::-;46809:43;;46865:14;46882:39;46907:4;46913:1;46916;46919;46882:24;:39::i;:::-;46865:56;;46950:5;-1:-1:-1;;;;;46940:15:0;:6;-1:-1:-1;;;;;46940:15:0;;46932:58;;;;-1:-1:-1;;;46932:58:0;;;;;;;:::i;:::-;47003:31;47012:5;47019:7;47028:5;47003:8;:31::i;:::-;46260:782;;;;;;;;;;:::o;63909:62::-;63947:24;63909:62;:::o;58609:149::-;58693:18;58706:4;58693:12;:18::i;:::-;56366:30;56377:4;56383:12;:10;:12::i;56366:30::-;58724:26:::1;58736:4;58742:7;58724:11;:26::i;11473:151::-:0;-1:-1:-1;;;;;11589:18:0;;;11562:7;11589:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11473:151::o;63840:62::-;-1:-1:-1;;;;;;;;;;;63840:62:0;:::o;51843:168::-;-1:-1:-1;;;;;;51952:51:0;;-1:-1:-1;;;51952:51:0;51843:168;;;:::o;6864:98::-;6944:10;6864:98;:::o;17327:346::-;-1:-1:-1;;;;;17429:19:0;;17421:68;;;;-1:-1:-1;;;17421:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17508:21:0;;17500:68;;;;-1:-1:-1;;;17500:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17581:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;17633:32;;;;;17611:6;;17633:32;:::i;:::-;;;;;;;;17327:346;;;:::o;14838:604::-;-1:-1:-1;;;;;14944:20:0;;14936:70;;;;-1:-1:-1;;;14936:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;15025:23:0;;15017:71;;;;-1:-1:-1;;;15017:71:0;;;;;;;:::i;:::-;15101:47;15122:6;15130:9;15141:6;15101:20;:47::i;:::-;-1:-1:-1;;;;;15185:17:0;;15161:21;15185:17;;;:9;:17;;;;;;15221:23;;;;15213:74;;;;-1:-1:-1;;;15213:74:0;;;;;;;:::i;:::-;15318:22;15334:6;15318:13;:22;:::i;:::-;-1:-1:-1;;;;;15298:17:0;;;;;;;:9;:17;;;;;;:42;;;;15351:20;;;;;;;;:30;;15375:6;;15298:17;15351:30;;15375:6;;15351:30;:::i;:::-;;;;;;;;15416:9;-1:-1:-1;;;;;15399:35:0;15408:6;-1:-1:-1;;;;;15399:35:0;;15427:6;15399:35;;;;;;:::i;:::-;;;;;;;;14838:604;;;;:::o;57237:406::-;57317:22;57325:4;57331:7;57317;:22::i;:::-;57313:323;;57449:52;57488:7;-1:-1:-1;;;;;57449:52:0;57498:2;57449:30;:52::i;:::-;57558:49;57597:4;57604:2;57558:30;:49::i;:::-;57370:252;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;57370:252:0;;;;;;;;;;-1:-1:-1;;;57356:268:0;;;;;;;:::i;60513:229::-;60588:22;60596:4;60602:7;60588;:22::i;:::-;60583:152;;60627:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;60627:29:0;;;;;;;;;:36;;-1:-1:-1;;60627:36:0;60659:4;60627:36;;;60710:12;:10;:12::i;:::-;-1:-1:-1;;;;;60683:40:0;60701:7;-1:-1:-1;;;;;60683:40:0;60695:4;60683:40;;;;;;;;;;60513:229;;:::o;42469:162::-;42522:7;42549:74;41204:95;42583:17;:15;:17::i;:::-;42602:20;:18;:20::i;:::-;42549:21;:74::i;60750:230::-;60825:22;60833:4;60839:7;60825;:22::i;:::-;60821:152;;;60896:5;60864:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;60864:29:0;;;;;;;;;:37;;-1:-1:-1;;60864:37:0;;;60948:12;:10;:12::i;:::-;-1:-1:-1;;;;;60921:40:0;60939:7;-1:-1:-1;;;;;60921:40:0;60933:4;60921:40;;;;;;;;;;60750:230;;:::o;63370:120::-;62914:8;:6;:8::i;:::-;62906:41;;;;-1:-1:-1;;;62906:41:0;;;;;;;:::i;:::-;63429:7:::1;:15:::0;;-1:-1:-1;;63429:15:0::1;::::0;;63460:22:::1;63469:12;:10;:12::i;:::-;63460:22;;;;;;:::i;:::-;;;;;;;;63370:120::o:0;15724:338::-;-1:-1:-1;;;;;15808:21:0;;15800:65;;;;-1:-1:-1;;;15800:65:0;;;;;;;:::i;:::-;15878:49;15907:1;15911:7;15920:6;15878:20;:49::i;:::-;15956:6;15940:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;15973:18:0;;;;;;:9;:18;;;;;:28;;15995:6;;15973:18;:28;;15995:6;;15973:28;:::i;:::-;;;;-1:-1:-1;;16017:37:0;;-1:-1:-1;;;;;16017:37:0;;;16034:1;;16017:37;;;;16047:6;;16017:37;:::i;:::-;;;;;;;;15724:338;;:::o;16395:494::-;-1:-1:-1;;;;;16479:21:0;;16471:67;;;;-1:-1:-1;;;16471:67:0;;;;;;;:::i;:::-;16551:49;16572:7;16589:1;16593:6;16551:20;:49::i;:::-;-1:-1:-1;;;;;16638:18:0;;16613:22;16638:18;;;:9;:18;;;;;;16675:24;;;;16667:71;;;;-1:-1:-1;;;16667:71:0;;;;;;;:::i;:::-;16770:23;16787:6;16770:14;:23;:::i;:::-;-1:-1:-1;;;;;16749:18:0;;;;;;:9;:18;;;;;:44;;;;16804:12;:22;;16820:6;;16749:18;16804:22;;16820:6;;16804:22;:::i;:::-;;;;-1:-1:-1;;16844:37:0;;16870:1;;-1:-1:-1;;;;;16844:37:0;;;;;;;16874:6;;16844:37;:::i;29593:1692::-;29691:4;29697:7;29743:1;29730:10;:14;29722:49;;;;-1:-1:-1;;;29722:49:0;;;;;;;:::i;:::-;29858:28;:18;:26;:28::i;:::-;29844:10;:42;;29836:84;;;;-1:-1:-1;;;29836:84:0;;;;;;;:::i;:::-;31059:13;31075:40;:9;31104:10;31075:28;:40::i;:::-;31141:20;;31059:56;;-1:-1:-1;31132:29:0;;31128:150;;;31186:5;31193:1;31178:17;;;;;;;31128:150;31236:4;31242:9;:16;;31259:5;31242:23;;;;;;-1:-1:-1;;;31242:23:0;;;;;;;;;;;;;;;;;31228:38;;;;;29593:1692;;;;;;:::o;23206:114::-;23298:14;;23206:114::o;9377:157::-;5682:13;;;;;;;;:30;;-1:-1:-1;5700:12:0;;;;5699:13;5682:30;5674:89;;;;-1:-1:-1;;;5674:89:0;;;;;;;:::i;:::-;5776:19;5799:13;;;;;;5798:14;5823:101;;;;5858:13;:20;;-1:-1:-1;;;;5858:20:0;;;;;5893:19;5874:4;5893:19;;;5823:101;9485:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;9509:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;5954:14:::0;5950:68;;;6001:5;5985:21;;-1:-1:-1;;5985:21:0;;;9377:157;;;:::o;45982:212::-;5682:13;;;;;;;;:30;;-1:-1:-1;5700:12:0;;;;5699:13;5682:30;5674:89;;;;-1:-1:-1;;;5674:89:0;;;;;;;:::i;:::-;5776:19;5799:13;;;;;;5798:14;5823:101;;;;5858:13;:20;;-1:-1:-1;;;;5858:20:0;;;;;5893:19;5874:4;5893:19;;;5823:101;46091:95:::1;46072:16;:114:::0;5950:68;;;;6001:5;5985:21;;-1:-1:-1;;5985:21:0;;;45982:212;;:::o;60066:112::-;60145:25;60156:4;60162:7;60145:10;:25::i;63111:118::-;62637:8;:6;:8::i;:::-;62636:9;62628:38;;;;-1:-1:-1;;;62628:38:0;;;;;;;:::i;:::-;63171:7:::1;:14:::0;;-1:-1:-1;;63171:14:0::1;63181:4;63171:14;::::0;;63201:20:::1;63208:12;:10;:12::i;27881:228::-:0;27928:7;27948:30;:18;:28;:30::i;:::-;27991:17;28011:28;:18;:26;:28::i;:::-;27991:48;;28055:19;28064:9;28055:19;;;;;;:::i;:::-;;;;;;;;28092:9;-1:-1:-1;27881:228:0;:::o;47619:218::-;-1:-1:-1;;;;;47751:14:0;;47679:15;47751:14;;;:7;:14;;;;;47786:15;47751:14;47786:13;:15::i;:::-;47776:25;;47812:17;:5;:15;:17::i;:::-;47619:218;;;;:::o;43618:178::-;43695:7;43722:66;43755:20;:18;:20::i;:::-;43777:10;43722:32;:66::i;37152:1439::-;37237:7;38169:66;38155:80;;;38147:127;;;;-1:-1:-1;;;38147:127:0;;;;;;;:::i;:::-;38293:1;:7;;38298:2;38293:7;:18;;;;38304:1;:7;;38309:2;38304:7;38293:18;38285:65;;;;-1:-1:-1;;;38285:65:0;;;;;;;:::i;:::-;38448:14;38465:24;38475:4;38481:1;38484;38487;38465:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38465:24:0;;-1:-1:-1;;38465:24:0;;;-1:-1:-1;;;;;;;38508:20:0;;38500:57;;;;-1:-1:-1;;;38500:57:0;;;;;;;:::i;64849:243::-;62637:8;:6;:8::i;:::-;62636:9;62628:38;;;;-1:-1:-1;;;62628:38:0;;;;;;;:::i;:::-;65040:44:::1;65067:4;65073:2;65077:6;65040:26;:44::i;49504:447::-:0;49579:13;49605:19;49637:10;49641:6;49637:1;:10;:::i;:::-;:14;;49650:1;49637:14;:::i;:::-;49627:25;;;;;;-1:-1:-1;;;49627:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49627:25:0;;49605:47;;-1:-1:-1;;;49663:6:0;49670:1;49663:9;;;;;;-1:-1:-1;;;49663:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;49663:15:0;;;;;;;;;-1:-1:-1;;;49689:6:0;49696:1;49689:9;;;;;;-1:-1:-1;;;49689:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;49689:15:0;;;;;;;;-1:-1:-1;49720:9:0;49732:10;49736:6;49732:1;:10;:::i;:::-;:14;;49745:1;49732:14;:::i;:::-;49720:26;;49715:131;49752:1;49748;:5;49715:131;;;-1:-1:-1;;;49796:5:0;49804:3;49796:11;49787:21;;;;;-1:-1:-1;;;49787:21:0;;;;;;;;;;;;49775:6;49782:1;49775:9;;;;;;-1:-1:-1;;;49775:9:0;;;;;;;;;;;;:33;-1:-1:-1;;;;;49775:33:0;;;;;;;;-1:-1:-1;49833:1:0;49823:11;;;;;49755:3;;;:::i;:::-;;;49715:131;;;-1:-1:-1;49864:10:0;;49856:55;;;;-1:-1:-1;;;49856:55:0;;;;;;;:::i;:::-;49936:6;49504:447;-1:-1:-1;;;49504:447:0:o;44040:105::-;44125:12;;44040:105;:::o;44392:111::-;44480:15;;44392:111;:::o;42639:337::-;42741:7;42821:8;42848:4;42871:7;42897:13;42937:4;42792:165;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;42768:200;;;;;;42761:207;;42639:337;;;;;:::o;21435:929::-;21548:12;;21524:7;;21544:58;;-1:-1:-1;21589:1:0;21582:8;;21544:58;21655:12;;21614:11;;21680:435;21693:4;21687:3;:10;21680:435;;;21714:11;21728:34;21752:3;21757:4;21728:23;:34::i;:::-;21714:48;;21996:7;21983:5;21989:3;21983:10;;;;;;-1:-1:-1;;;21983:10:0;;;;;;;;;;;;;;;;;:20;21979:125;;;22031:3;22024:10;;21979:125;;;22081:7;:3;22087:1;22081:7;:::i;:::-;22075:13;;21979:125;21680:435;;;;22241:1;22235:3;:7;:36;;;;-1:-1:-1;22264:7:0;22246:5;22252:7;22258:1;22252:3;:7;:::i;:::-;22246:14;;;;;;-1:-1:-1;;;22246:14:0;;;;;;;;;;;;;;;;;:25;22235:36;22231:126;;;22295:7;22301:1;22295:3;:7;:::i;:::-;22288:14;;;;;;22231:126;-1:-1:-1;22342:3:0;-1:-1:-1;22335:10:0;;23328:87;23393:19;;23411:1;23393:19;;;23328:87::o;39510:196::-;39603:7;39669:15;39686:10;39640:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;39630:68;;;;;;39623:75;;39510:196;;;;:::o;29043:542::-;29150:44;29177:4;29183:2;29187:6;29150:26;:44::i;:::-;-1:-1:-1;;;;;29209:18:0;;29205:373;;29257:26;29280:2;29257:22;:26::i;:::-;29294:28;:26;:28::i;:::-;29205:373;;;-1:-1:-1;;;;;29342:16:0;;29338:240;;29388:28;29411:4;29388:22;:28::i;29338:240::-;29503:28;29526:4;29503:22;:28::i;:::-;29542:26;29565:2;29542:22;:26::i;20624:193::-;20686:7;20807:1;20798:5;20807:1;20798;:5;:::i;:::-;20790;20794:1;20790;:5;:::i;:::-;:13;;;;:::i;:::-;20789:19;;;;:::i;:::-;20779:5;20783:1;20779;:5;:::i;:::-;20769;20773:1;20769;:5;:::i;:::-;20768:17;;;;:::i;:::-;:41;;;;:::i;31293:146::-;-1:-1:-1;;;;;31377:33:0;;;;;;:24;:33;;;;;31361:70;;31412:18;31402:7;31412:9;:18::i;:::-;31361:15;:70::i;31447:118::-;31504:53;31520:21;31543:13;:11;:13::i;31573:315::-;31668:17;31688:28;:18;:26;:28::i;:::-;31668:48;-1:-1:-1;31668:48:0;31731:30;31747:9;31731:15;:30::i;:::-;:42;31727:154;;;31790:29;;;;;;;;-1:-1:-1;31790:29:0;;;;;;;;;;;;;;31834:16;;;:35;;;;;;;;;;;;;;;31573:315::o;31896:212::-;31990:10;;31966:7;;31986:115;;-1:-1:-1;32029:1:0;32022:8;;31986:115;32074:10;;32070:3;;32074:14;;32087:1;;32074:14;:::i;:::-;32070:19;;;;;;-1:-1:-1;;;32070:19:0;;;;;;;;;;;;;;;;;32063:26;;;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:175:1;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;397:274::-;;;526:2;514:9;505:7;501:23;497:32;494:2;;;547:6;539;532:22;494:2;575:31;596:9;575:31;:::i;:::-;565:41;;625:40;661:2;650:9;646:18;625:40;:::i;:::-;615:50;;484:187;;;;;:::o;676:342::-;;;;822:2;810:9;801:7;797:23;793:32;790:2;;;843:6;835;828:22;790:2;871:31;892:9;871:31;:::i;:::-;861:41;;921:40;957:2;946:9;942:18;921:40;:::i;:::-;911:50;;1008:2;997:9;993:18;980:32;970:42;;780:238;;;;;:::o;1023:717::-;;;;;;;;1235:3;1223:9;1214:7;1210:23;1206:33;1203:2;;;1257:6;1249;1242:22;1203:2;1285:31;1306:9;1285:31;:::i;:::-;1275:41;;1335:40;1371:2;1360:9;1356:18;1335:40;:::i;:::-;1325:50;;1422:2;1411:9;1407:18;1394:32;1384:42;;1473:2;1462:9;1458:18;1445:32;1435:42;;1527:3;1516:9;1512:19;1499:33;1572:4;1565:5;1561:16;1554:5;1551:27;1541:2;;1597:6;1589;1582:22;1541:2;1193:547;;;;-1:-1:-1;1193:547:1;;;;1625:5;1677:3;1662:19;;1649:33;;-1:-1:-1;1729:3:1;1714:19;;;1701:33;;1193:547;-1:-1:-1;;1193:547:1:o;1745:266::-;;;1874:2;1862:9;1853:7;1849:23;1845:32;1842:2;;;1895:6;1887;1880:22;1842:2;1923:31;1944:9;1923:31;:::i;:::-;1913:41;2001:2;1986:18;;;;1973:32;;-1:-1:-1;;;1832:179:1:o;2016:190::-;;2128:2;2116:9;2107:7;2103:23;2099:32;2096:2;;;2149:6;2141;2134:22;2096:2;-1:-1:-1;2177:23:1;;2086:120;-1:-1:-1;2086:120:1:o;2211:266::-;;;2340:2;2328:9;2319:7;2315:23;2311:32;2308:2;;;2361:6;2353;2346:22;2308:2;2402:9;2389:23;2379:33;;2431:40;2467:2;2456:9;2452:18;2431:40;:::i;2482:306::-;;2593:2;2581:9;2572:7;2568:23;2564:32;2561:2;;;2614:6;2606;2599:22;2561:2;2645:23;;-1:-1:-1;;;;;;2697:32:1;;2687:43;;2677:2;;2749:6;2741;2734:22;2988:392;-1:-1:-1;;;3246:27:1;;3298:1;3289:11;;3282:27;;;;3334:2;3325:12;;3318:28;3371:2;3362:12;;3236:144::o;3385:786::-;;3796:25;3791:3;3784:38;3851:6;3845:13;3867:62;3922:6;3917:2;3912:3;3908:12;3901:4;3893:6;3889:17;3867:62;:::i;:::-;-1:-1:-1;;;3988:2:1;3948:16;;;3980:11;;;3973:40;4038:13;;4060:63;4038:13;4109:2;4101:11;;4094:4;4082:17;;4060:63;:::i;:::-;4143:17;4162:2;4139:26;;3774:397;-1:-1:-1;;;;3774:397:1:o;4176:203::-;-1:-1:-1;;;;;4340:32:1;;;;4322:51;;4310:2;4295:18;;4277:102::o;4384:187::-;4549:14;;4542:22;4524:41;;4512:2;4497:18;;4479:92::o;4576:177::-;4722:25;;;4710:2;4695:18;;4677:76::o;4758:591::-;5045:25;;;-1:-1:-1;;;;;5144:15:1;;;5139:2;5124:18;;5117:43;5196:15;;;;5191:2;5176:18;;5169:43;5243:2;5228:18;;5221:34;5286:3;5271:19;;5264:35;;;;5097:3;5315:19;;5308:35;5032:3;5017:19;;4999:350::o;5354:489::-;5613:25;;;5669:2;5654:18;;5647:34;;;;5712:2;5697:18;;5690:34;;;;5755:2;5740:18;;5733:34;-1:-1:-1;;;;;5804:32:1;5798:3;5783:19;;5776:61;5600:3;5585:19;;5567:276::o;5848:398::-;6075:25;;;6148:4;6136:17;;;;6131:2;6116:18;;6109:45;6185:2;6170:18;;6163:34;6228:2;6213:18;;6206:34;6062:3;6047:19;;6029:217::o;6251:383::-;;6400:2;6389:9;6382:21;6432:6;6426:13;6475:6;6470:2;6459:9;6455:18;6448:34;6491:66;6550:6;6545:2;6534:9;6530:18;6525:2;6517:6;6513:15;6491:66;:::i;:::-;6618:2;6597:15;-1:-1:-1;;6593:29:1;6578:45;;;;6625:2;6574:54;;6372:262;-1:-1:-1;;6372:262:1:o;6639:348::-;6841:2;6823:21;;;6880:2;6860:18;;;6853:30;6919:26;6914:2;6899:18;;6892:54;6978:2;6963:18;;6813:174::o;6992:353::-;7194:2;7176:21;;;7233:2;7213:18;;;7206:30;7272:31;7267:2;7252:18;;7245:59;7336:2;7321:18;;7166:179::o;7350:356::-;7552:2;7534:21;;;7571:18;;;7564:30;7630:34;7625:2;7610:18;;7603:62;7697:2;7682:18;;7524:182::o;7711:399::-;7913:2;7895:21;;;7952:2;7932:18;;;7925:30;7991:34;7986:2;7971:18;;7964:62;-1:-1:-1;;;8057:2:1;8042:18;;8035:33;8100:3;8085:19;;7885:225::o;8115:344::-;8317:2;8299:21;;;8356:2;8336:18;;;8329:30;-1:-1:-1;;;8390:2:1;8375:18;;8368:50;8450:2;8435:18;;8289:170::o;8464:398::-;8666:2;8648:21;;;8705:2;8685:18;;;8678:30;8744:34;8739:2;8724:18;;8717:62;-1:-1:-1;;;8810:2:1;8795:18;;8788:32;8852:3;8837:19;;8638:224::o;8867:398::-;9069:2;9051:21;;;9108:2;9088:18;;;9081:30;9147:34;9142:2;9127:18;;9120:62;-1:-1:-1;;;9213:2:1;9198:18;;9191:32;9255:3;9240:19;;9041:224::o;9270:353::-;9472:2;9454:21;;;9511:2;9491:18;;;9484:30;9550:31;9545:2;9530:18;;9523:59;9614:2;9599:18;;9444:179::o;9628:402::-;9830:2;9812:21;;;9869:2;9849:18;;;9842:30;9908:34;9903:2;9888:18;;9881:62;-1:-1:-1;;;9974:2:1;9959:18;;9952:36;10020:3;10005:19;;9802:228::o;10035:398::-;10237:2;10219:21;;;10276:2;10256:18;;;10249:30;10315:34;10310:2;10295:18;;10288:62;-1:-1:-1;;;10381:2:1;10366:18;;10359:32;10423:3;10408:19;;10209:224::o;10438:340::-;10640:2;10622:21;;;10679:2;10659:18;;;10652:30;-1:-1:-1;;;10713:2:1;10698:18;;10691:46;10769:2;10754:18;;10612:166::o;10783:410::-;10985:2;10967:21;;;11024:2;11004:18;;;10997:30;11063:34;11058:2;11043:18;;11036:62;-1:-1:-1;;;11129:2:1;11114:18;;11107:44;11183:3;11168:19;;10957:236::o;11198:398::-;11400:2;11382:21;;;11439:2;11419:18;;;11412:30;11478:34;11473:2;11458:18;;11451:62;-1:-1:-1;;;11544:2:1;11529:18;;11522:32;11586:3;11571:19;;11372:224::o;11601:354::-;11803:2;11785:21;;;11842:2;11822:18;;;11815:30;11881:32;11876:2;11861:18;;11854:60;11946:2;11931:18;;11775:180::o;11960:404::-;12162:2;12144:21;;;12201:2;12181:18;;;12174:30;12240:34;12235:2;12220:18;;12213:62;-1:-1:-1;;;12306:2:1;12291:18;;12284:38;12354:3;12339:19;;12134:230::o;12369:400::-;12571:2;12553:21;;;12610:2;12590:18;;;12583:30;12649:34;12644:2;12629:18;;12622:62;-1:-1:-1;;;12715:2:1;12700:18;;12693:34;12759:3;12744:19;;12543:226::o;12774:397::-;12976:2;12958:21;;;13015:2;12995:18;;;12988:30;13054:34;13049:2;13034:18;;13027:62;-1:-1:-1;;;13120:2:1;13105:18;;13098:31;13161:3;13146:19;;12948:223::o;13176:401::-;13378:2;13360:21;;;13417:2;13397:18;;;13390:30;13456:34;13451:2;13436:18;;13429:62;-1:-1:-1;;;13522:2:1;13507:18;;13500:35;13567:3;13552:19;;13350:227::o;13582:400::-;13784:2;13766:21;;;13823:2;13803:18;;;13796:30;13862:34;13857:2;13842:18;;13835:62;-1:-1:-1;;;13928:2:1;13913:18;;13906:34;13972:3;13957:19;;13756:226::o;13987:346::-;14189:2;14171:21;;;14228:2;14208:18;;;14201:30;-1:-1:-1;;;14262:2:1;14247:18;;14240:52;14324:2;14309:18;;14161:172::o;14338:401::-;14540:2;14522:21;;;14579:2;14559:18;;;14552:30;14618:34;14613:2;14598:18;;14591:62;-1:-1:-1;;;14684:2:1;14669:18;;14662:35;14729:3;14714:19;;14512:227::o;14744:411::-;14946:2;14928:21;;;14985:2;14965:18;;;14958:30;15024:34;15019:2;15004:18;;14997:62;-1:-1:-1;;;15090:2:1;15075:18;;15068:45;15145:3;15130:19;;14918:237::o;15160:355::-;15362:2;15344:21;;;15401:2;15381:18;;;15374:30;15440:33;15435:2;15420:18;;15413:61;15506:2;15491:18;;15334:181::o;15702:184::-;15874:4;15862:17;;;;15844:36;;15832:2;15817:18;;15799:87::o;15891:128::-;;15962:1;15958:6;15955:1;15952:13;15949:2;;;15968:18;;:::i;:::-;-1:-1:-1;16004:9:1;;15939:80::o;16024:120::-;;16090:1;16080:2;;16095:18;;:::i;:::-;-1:-1:-1;16129:9:1;;16070:74::o;16149:168::-;;16255:1;16251;16247:6;16243:14;16240:1;16237:21;16232:1;16225:9;16218:17;16214:45;16211:2;;;16262:18;;:::i;:::-;-1:-1:-1;16302:9:1;;16201:116::o;16322:125::-;;16390:1;16387;16384:8;16381:2;;;16395:18;;:::i;:::-;-1:-1:-1;16432:9:1;;16371:76::o;16452:258::-;16524:1;16534:113;16548:6;16545:1;16542:13;16534:113;;;16624:11;;;16618:18;16605:11;;;16598:39;16570:2;16563:10;16534:113;;;16665:6;16662:1;16659:13;16656:2;;;16700:1;16691:6;16686:3;16682:16;16675:27;16656:2;;16505:205;;;:::o;16715:136::-;;16782:5;16772:2;;16791:18;;:::i;:::-;-1:-1:-1;;;16827:18:1;;16762:89::o;16856:380::-;16941:1;16931:12;;16988:1;16978:12;;;16999:2;;17053:4;17045:6;17041:17;17031:27;;16999:2;17106;17098:6;17095:14;17075:18;17072:38;17069:2;;;17152:10;17147:3;17143:20;17140:1;17133:31;17187:4;17184:1;17177:15;17215:4;17212:1;17205:15;17241:112;;17299:1;17289:2;;17304:18;;:::i;:::-;-1:-1:-1;17338:9:1;;17279:74::o;17358:127::-;17419:10;17414:3;17410:20;17407:1;17400:31;17450:4;17447:1;17440:15;17474:4;17471:1;17464:15;17490:127;17551:10;17546:3;17542:20;17539:1;17532:31;17582:4;17579:1;17572:15;17606:4;17603:1;17596:15
Swarm Source
ipfs://f5372025ee875ef0ed318e75e42cf2c7013cd29298f7ff7861a2d1912ef69dbe
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.