ERC-721
Overview
Max Total Supply
16 SaFT
Holders
11
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SaFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SaFT
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT // ███████╗ █████╗ ███████╗██╗ ██╗ // ██╔════╝██╔══██╗██╔════╝██║ ██║ // ███████╗███████║█████╗ ██║ ██║ // ╚════██║██╔══██║██╔══╝ ██║ ██║ // ███████║██║ ██║██║ ╚██████╔╝ // ╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝ // /~______________________~\ // .------------------------. // (|https://safuchain.live|) // '------------------------' // \_~~~~~~~~~~~~~~~~~~~~~~_/ pragma solidity ^0.8.7; import { Ownable } from './Ownable.sol'; import "./ReentrancyGuard.sol"; import "./Counters.sol"; import "./ERC721BurningERC20OnMint.sol"; contract SaFT is ERC721BurningERC20OnMint, ReentrancyGuard { using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint public MAX_SUPPLY = 1000; string private _baseURIBackingField; string private _contractURIBackingField; constructor() ERC721("SafuChain SaFTs", "SaFT") { _baseURIBackingField = "ipfs://QmS31KcduBjXpBxnPrbNdZbDVLYkee692hLQht7Qc9hwxn/"; _contractURIBackingField = "ipfs://QmVMcMUyL6WM64yAifN6tEmRytr5MZCGT6QKXNdUAaNzQZ"; } function mint() public nonReentrant override returns (uint256) { require(totalSupply() < MAX_SUPPLY, 'Fully minted out.'); uint256 tokenId = _tokenIds.current(); _mint(address(this), _msgSender(), tokenId); _tokenIds.increment(); return tokenId; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIBackingField; } function setBaseURI(string memory newURI) external onlyOwner() { _baseURIBackingField = newURI; } function contractURI() public view returns (string memory) { return _contractURIBackingField; } function setContractURI(string memory newURI) external onlyOwner() { _contractURIBackingField = newURI; } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./IERC20.sol"; import "./ERC20Burnable.sol"; import "./Ownable.sol"; import "./IErc721BurningErc20OnMint.sol"; import "./ERC721Checkpointable.sol"; abstract contract ERC721BurningERC20OnMint is ERC721Checkpointable, IErc721BurningErc20OnMint, Ownable { address public erc20TokenAddress; function setErc20TokenAddress(address erc20TokenAddress_) public override onlyOwner { erc20TokenAddress = erc20TokenAddress_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable) returns (bool) { return interfaceId == type(IErc721BurningErc20OnMint).interfaceId || super.supportsInterface(interfaceId); } /** * @dev this method hooks into ERC721's internal transfers mechanism (mint, burn, transfer) - see https://docs.openzeppelin.com/contracts/4.x/api/token/erc721#ERC721-_beforeTokenTransfer-address-address-uint256- * - When from and to are both non-zero, from's amount will be transferred to to. * - When from is zero, amount will be minted for to. * - When to is zero, from's amount will be burned. * from and to are never both zero. * This function checks that the "to" address has at least a balance of 1, in order for them to qualify for * minting an NFT, and if they do, we burn one token * the above logic only applies to minting, other transfer operations are ignored */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { ERC721Checkpointable._beforeTokenTransfer(from, to, amount); //check if it's a mint if (from == address(0) && to != address(0)) { require( erc20TokenAddress != address(0), "erc20TokenAddress undefined" ); uint256 balanceOfAddress = IERC20(erc20TokenAddress).balanceOf(to); require(balanceOfAddress >= 1, "user does not hold a token"); ERC20Burnable(erc20TokenAddress).burnFrom(to, 1); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: BSD-3-Clause /// @title Vote checkpointing for an ERC-721 token // LICENSE // ERC721Checkpointable.sol uses and modifies part of Compound Lab's Comp.sol: // https://github.com/compound-finance/compound-protocol/blob/ae4388e780a8d596d97619d9704a931a2752c2bc/contracts/Governance/Comp.sol // // Comp.sol source code Copyright 2020 Compound Labs, Inc. licensed under the BSD-3-Clause license. // With modifications by Nounders DAO. // // Additional conditions of BSD-3-Clause can be found here: https://opensource.org/licenses/BSD-3-Clause // // MODIFICATIONS // Checkpointing logic from Comp.sol has been used with the following modifications: // - `delegates` is renamed to `_delegates` and is set to private // - `delegates` is a public function that uses the `_delegates` mapping look-up, but unlike // Comp.sol, returns the delegator's own address if there is no delegate. // This avoids the delegator needing to "delegate to self" with an additional transaction // - `_transferTokens()` is renamed `_beforeTokenTransfer()` and adapted to hook into OpenZeppelin's ERC721 hooks. pragma solidity ^0.8.6; import './ERC721Enumerable.sol'; abstract contract ERC721Checkpointable is ERC721Enumerable { /// @notice Defines decimals as per ERC-20 convention to make integrations with 3rd party governance platforms easier uint8 public constant decimals = 0; /// @notice A record of each accounts delegate mapping(address => address) private _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint96 votes; } /// @notice A record of votes checkpoints for each account, by index mapping(address => mapping(uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping(address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256('EIP712Domain(string name,uint256 chainId,address verifyingContract)'); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256('Delegation(address delegatee,uint256 nonce,uint256 expiry)'); /// @notice A record of states for signing / validating signatures mapping(address => uint256) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance); /** * @notice The votes a delegator can delegate, which is the current balance of the delegator. * @dev Used when calling `_delegate()` */ function votesToDelegate(address delegator) public view returns (uint96) { return safe96(balanceOf(delegator), 'ERC721Checkpointable::votesToDelegate: amount exceeds 96 bits'); } /** * @notice Overrides the standard `Comp.sol` delegates mapping to return * the delegator's own address if they haven't delegated. * This avoids having to delegate to oneself. */ function delegates(address delegator) public view returns (address) { address current = _delegates[delegator]; return current == address(0) ? delegator : current; } /** * @notice Adapted from `_transferTokens()` in `Comp.sol` to update delegate votes. * @dev hooks into OpenZeppelin's `ERC721._transfer` */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); /// @notice Differs from `_transferTokens()` to use `delegates` override method to simulate auto-delegation _moveDelegates(delegates(from), delegates(to), 1); } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) public { if (delegatee == address(0)) delegatee = msg.sender; return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s ) public { bytes32 domainSeparator = keccak256( abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this)) ); bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)); bytes32 digest = keccak256(abi.encodePacked('\x19\x01', domainSeparator, structHash)); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), 'ERC721Checkpointable::delegateBySig: invalid signature'); require(nonce == nonces[signatory]++, 'ERC721Checkpointable::delegateBySig: invalid nonce'); require(block.timestamp <= expiry, 'ERC721Checkpointable::delegateBySig: signature expired'); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint96) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint256 blockNumber) public view returns (uint96) { require(blockNumber < block.number, 'ERC721Checkpointable::getPriorVotes: not yet determined'); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { /// @notice differs from `_delegate()` in `Comp.sol` to use `delegates` override method to simulate auto-delegation address currentDelegate = delegates(delegator); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); uint96 amount = votesToDelegate(delegator); _moveDelegates(currentDelegate, delegatee, amount); } function _moveDelegates( address srcRep, address dstRep, uint96 amount ) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { uint32 srcRepNum = numCheckpoints[srcRep]; uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint96 srcRepNew = sub96(srcRepOld, amount, 'ERC721Checkpointable::_moveDelegates: amount underflows'); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { uint32 dstRepNum = numCheckpoints[dstRep]; uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint96 dstRepNew = add96(dstRepOld, amount, 'ERC721Checkpointable::_moveDelegates: amount overflows'); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes ) internal { uint32 blockNumber = safe32( block.number, 'ERC721Checkpointable::_writeCheckpoint: block number exceeds 32 bits' ); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint256 n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function safe96(uint256 n, string memory errorMessage) internal pure returns (uint96) { require(n < 2**96, errorMessage); return uint96(n); } function add96( uint96 a, uint96 b, string memory errorMessage ) internal pure returns (uint96) { uint96 c = a + b; require(c >= a, errorMessage); return c; } function sub96( uint96 a, uint96 b, string memory errorMessage ) internal pure returns (uint96) { require(b <= a, errorMessage); return a - b; } function getChainId() internal view returns (uint256) { uint256 chainId; assembly { chainId := chainid() } return chainId; } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7; interface IErc721BurningErc20OnMint { function setErc20TokenAddress(address erc20TokenAddress_) external; // Input: address to mint ERC721 to, and returns the token ID minted function mint() external returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "./ERC20.sol"; import "./Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT /// @title ERC721 Enumerable Extension // LICENSE // ERC721.sol modifies OpenZeppelin's ERC721Enumerable.sol: // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/6618f9f18424ade44116d0221719f4c93be6a078/contracts/token/ERC721/extensions/ERC721Enumerable.sol // // ERC721Enumerable.sol source code copyright OpenZeppelin licensed under the MIT License. // With modifications by Nounders DAO. // // MODIFICATIONS: // Consumes modified `ERC721` contract. See notes in `ERC721.sol`. pragma solidity ^0.8.0; import './ERC721.sol'; import './IERC721Enumerable.sol'; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), 'ERC721Enumerable: owner index out of bounds'); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), 'ERC721Enumerable: global index out of bounds'); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT /// @title ERC721 Token Implementation // LICENSE // ERC721.sol modifies OpenZeppelin's ERC721.sol: // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/6618f9f18424ade44116d0221719f4c93be6a078/contracts/token/ERC721/ERC721.sol // // ERC721.sol source code copyright OpenZeppelin licensed under the MIT License. // With modifications by Nounders DAO. // // // MODIFICATIONS: // `_safeMint` and `_mint` contain an additional `creator` argument and // emit two `Transfer` logs, rather than one. The first log displays the // transfer (mint) from `address(0)` to the `creator`. The second displays the // transfer from the `creator` to the `to` address. This enables correct // attribution on various NFT marketplaces. pragma solidity ^0.8.6; import './IERC721.sol'; import './IERC721Receiver.sol'; import './IERC721Metadata.sol'; import './Address.sol'; import './Context.sol'; import './Strings.sol'; import './ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), 'ERC721: balance query for the zero address'); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), 'ERC721: owner query for nonexistent token'); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, 'ERC721: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721: approve caller is not owner nor approved for all' ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), 'ERC721: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), 'ERC721: approve to caller'); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), 'ERC721: transfer caller is not owner nor approved'); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), 'ERC721: transfer caller is not owner nor approved'); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), 'ERC721: transfer to non ERC721Receiver implementer'); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), 'ERC721: operator query for nonexistent token'); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId`, transfers it to `to`, and emits two log events - * 1. Credits the `minter` with the mint. * 2. Shows transfer from the `minter` to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint( address creator, address to, uint256 tokenId ) internal virtual { _safeMint(creator, to, tokenId, ''); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address creator, address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(creator, to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), 'ERC721: transfer to non ERC721Receiver implementer' ); } /** * @dev Mints `tokenId`, transfers it to `to`, and emits two log events - * 1. Credits the `creator` with the mint. * 2. Shows transfer from the `creator` to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint( address creator, address to, uint256 tokenId ) internal virtual { require(to != address(0), 'ERC721: mint to the zero address'); require(!_exists(tokenId), 'ERC721: token already minted'); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), creator, tokenId); emit Transfer(creator, to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, 'ERC721: transfer of token that is not own'); require(to != address(0), 'ERC721: transfer to the zero address'); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` 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 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.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 ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20TokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc20TokenAddress_","type":"address"}],"name":"setErc20TokenAddress","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"votesToDelegate","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526103e86012553480156200001757600080fd5b506040518060400160405280600f81526020017f53616675436861696e20536146547300000000000000000000000000000000008152506040518060400160405280600481526020017f536146540000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009c92919062000218565b508060019080519060200190620000b592919062000218565b505050620000d8620000cc6200014a60201b60201c565b6200015260201b60201c565b600160108190555060405180606001604052806036815260200162005e1960369139601390805190602001906200011192919062000218565b5060405180606001604052806035815260200162005de460359139601490805190602001906200014392919062000218565b506200032d565b600033905090565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022690620002c8565b90600052602060002090601f0160209004810192826200024a576000855562000296565b82601f106200026557805160ff191683800117855562000296565b8280016001018555821562000296579182015b828111156200029557825182559160200191906001019062000278565b5b509050620002a59190620002a9565b5090565b5b80821115620002c4576000816000905550600101620002aa565b5090565b60006002820490506001821680620002e157607f821691505b60208210811415620002f857620002f7620002fe565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615aa7806200033d6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c8063715018a611610130578063c3cda520116100b8578063e985e9c51161007c578063e985e9c5146106d9578063eb107e2014610709578063f1127ed814610725578063f2fde38b14610756578063f835cd3c1461077257610232565b8063c3cda52014610621578063c87b56dd1461063d578063e7a324dc1461066d578063e8a3d4851461068b578063e9580e91146106a957610232565b8063938e3d7b116100ff578063938e3d7b1461057f57806395d89b411461059b578063a22cb465146105b9578063b4b5ea57146105d5578063b88d4fde1461060557610232565b8063715018a6146104f7578063782d6fe1146105015780637ecebe00146105315780638da5cb5b1461056157610232565b8063313ce567116101be578063587cde1e11610182578063587cde1e1461041b5780635c19a95c1461044b5780636352211e146104675780636fcfff451461049757806370a08231146104c757610232565b8063313ce5671461037757806332cb6b0c1461039557806342842e0e146103b35780634f6ccce7146103cf57806355f804b3146103ff57610232565b80631249c58b116102055780631249c58b146102d157806318160ddd146102ef57806320606b701461030d57806323b872dd1461032b5780632f745c591461034757610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c919061400b565b610790565b60405161025e91906146e5565b60405180910390f35b61026f61080a565b60405161027c91906147ea565b60405180910390f35b61029f600480360381019061029a91906140ae565b61089c565b6040516102ac9190614655565b60405180910390f35b6102cf60048036038101906102ca9190613efe565b610921565b005b6102d9610a39565b6040516102e69190614b4c565b60405180910390f35b6102f7610b0d565b6040516103049190614b4c565b60405180910390f35b610315610b1a565b6040516103229190614700565b60405180910390f35b61034560048036038101906103409190613de8565b610b3e565b005b610361600480360381019061035c9190613efe565b610b9e565b60405161036e9190614b4c565b60405180910390f35b61037f610c43565b60405161038c9190614bab565b60405180910390f35b61039d610c48565b6040516103aa9190614b4c565b60405180910390f35b6103cd60048036038101906103c89190613de8565b610c4e565b005b6103e960048036038101906103e491906140ae565b610c6e565b6040516103f69190614b4c565b60405180910390f35b61041960048036038101906104149190614065565b610cdf565b005b61043560048036038101906104309190613d7b565b610d01565b6040516104429190614655565b60405180910390f35b61046560048036038101906104609190613d7b565b610daa565b005b610481600480360381019061047c91906140ae565b610df0565b60405161048e9190614655565b60405180910390f35b6104b160048036038101906104ac9190613d7b565b610ea2565b6040516104be9190614b67565b60405180910390f35b6104e160048036038101906104dc9190613d7b565b610ec5565b6040516104ee9190614b4c565b60405180910390f35b6104ff610f7d565b005b61051b60048036038101906105169190613efe565b610f91565b6040516105289190614bc6565b60405180910390f35b61054b60048036038101906105469190613d7b565b6113cc565b6040516105589190614b4c565b60405180910390f35b6105696113e4565b6040516105769190614655565b60405180910390f35b61059960048036038101906105949190614065565b61140e565b005b6105a3611430565b6040516105b091906147ea565b60405180910390f35b6105d360048036038101906105ce9190613ebe565b6114c2565b005b6105ef60048036038101906105ea9190613d7b565b611643565b6040516105fc9190614bc6565b60405180910390f35b61061f600480360381019061061a9190613e3b565b61173a565b005b61063b60048036038101906106369190613f3e565b61179c565b005b610657600480360381019061065291906140ae565b611a31565b60405161066491906147ea565b60405180910390f35b610675611ad8565b6040516106829190614700565b60405180910390f35b610693611afc565b6040516106a091906147ea565b60405180910390f35b6106c360048036038101906106be9190613d7b565b611b8e565b6040516106d09190614bc6565b60405180910390f35b6106f360048036038101906106ee9190613da8565b611bc1565b60405161070091906146e5565b60405180910390f35b610723600480360381019061071e9190613d7b565b611c55565b005b61073f600480360381019061073a9190613fcb565b611ca1565b60405161074d929190614b82565b60405180910390f35b610770600480360381019061076b9190613d7b565b611cfa565b005b61077a611d7e565b6040516107879190614655565b60405180910390f35b60007ff959bbab000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610803575061080282611da4565b5b9050919050565b60606000805461081990614fbd565b80601f016020809104026020016040519081016040528092919081815260200182805461084590614fbd565b80156108925780601f1061086757610100808354040283529160200191610892565b820191906000526020600020905b81548152906001019060200180831161087557829003601f168201915b5050505050905090565b60006108a782611e1e565b6108e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108dd90614a2c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092c82610df0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490614aac565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109bc611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614806109eb57506109ea816109e5611e8a565b611bc1565b5b610a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a21906149ac565b60405180910390fd5b610a348383611e92565b505050565b600060026010541415610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890614b2c565b60405180910390fd5b6002601081905550601254610a94610b0d565b10610ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acb9061480c565b60405180910390fd5b6000610ae06011611f4b565b9050610af430610aee611e8a565b83611f59565b610afe6011612183565b80915050600160108190555090565b6000600880549050905090565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610b4f610b49611e8a565b82612199565b610b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8590614acc565b60405180910390fd5b610b99838383612277565b505050565b6000610ba983610ec5565b8210610bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be19061484c565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600081565b60125481565b610c698383836040518060200160405280600081525061173a565b505050565b6000610c78610b0d565b8210610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb090614b0c565b60405180910390fd5b60088281548110610ccd57610ccc615160565b5b90600052602060002001549050919050565b610ce76124d3565b8060139080519060200190610cfd929190613b3b565b5050565b600080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610da05780610da2565b825b915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610de3573390505b610ded3382612551565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e90906149ec565b60405180910390fd5b80915050919050565b600c6020528060005260406000206000915054906101000a900463ffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d906149cc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f856124d3565b610f8f600061266b565b565b6000438210610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90614aec565b60405180910390fd5b6000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff1614156110425760009150506113c6565b82600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001846110919190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff161161115657600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001836111189190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff169150506113c6565b82600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008063ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff1611156111d75760009150506113c6565b6000806001836111e79190614e3c565b90505b8163ffffffff168163ffffffff1611156113485760006002838361120e9190614e3c565b6112189190614dd7565b826112239190614e3c565b90506000600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681525050905086816000015163ffffffff161415611317578060200151955050505050506113c6565b86816000015163ffffffff16101561133157819350611341565b60018261133e9190614e3c565b92505b50506111ea565b600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff1693505050505b92915050565b600d6020528060005260406000206000915090505481565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114166124d3565b806014908051906020019061142c929190613b3b565b5050565b60606001805461143f90614fbd565b80601f016020809104026020016040519081016040528092919081815260200182805461146b90614fbd565b80156114b85780601f1061148d576101008083540402835291602001916114b8565b820191906000526020600020905b81548152906001019060200180831161149b57829003601f168201915b5050505050905090565b6114ca611e8a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f9061490c565b60405180910390fd5b8060056000611545611e8a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115f2611e8a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161163791906146e5565b60405180910390a35050565b600080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff16116116ad576000611732565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001836116fb9190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff165b915050919050565b61174b611745611e8a565b83612199565b61178a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178190614acc565b60405180910390fd5b61179684848484612731565b50505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666117c761080a565b805190602001206117d661278d565b306040516020016117ea9493929190614760565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf88888860405160200161183b949392919061471b565b6040516020818303038152906040528051906020012090506000828260405160200161186892919061461e565b6040516020818303038152906040528051906020012090506000600182888888604051600081526020016040526040516118a594939291906147a5565b6020604051602081039080840390855afa1580156118c7573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a9061492c565b60405180910390fd5b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061199390615020565b9190505589146119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf906148cc565b60405180910390fd5b87421115611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a129061482c565b60405180910390fd5b611a25818b612551565b50505050505050505050565b6060611a3c82611e1e565b611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7290614a8c565b60405180910390fd5b6000611a8561279a565b90506000815111611aa55760405180602001604052806000815250611ad0565b80611aaf8461282c565b604051602001611ac09291906145fa565b6040516020818303038152906040525b915050919050565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b606060148054611b0b90614fbd565b80601f0160208091040260200160405190810160405280929190818152602001828054611b3790614fbd565b8015611b845780601f10611b5957610100808354040283529160200191611b84565b820191906000526020600020905b815481529060010190602001808311611b6757829003601f168201915b5050505050905090565b6000611bba611b9c83610ec5565b6040518060600160405280603d81526020016159fe603d913961298d565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c5d6124d3565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900463ffffffff16908060000160049054906101000a90046bffffffffffffffffffffffff16905082565b611d026124d3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d699061488c565b60405180910390fd5b611d7b8161266b565b50565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e175750611e16826129eb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f0583610df0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc090614a0c565b60405180910390fd5b611fd281611e1e565b15612012576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612009906148ac565b60405180910390fd5b61201e60008383612acd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461206e9190614cd4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b60006121a482611e1e565b6121e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121da9061498c565b60405180910390fd5b60006121ee83610df0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061225d57508373ffffffffffffffffffffffffffffffffffffffff166122458461089c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061226e575061226d8185611bc1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661229782610df0565b73ffffffffffffffffffffffffffffffffffffffff16146122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e490614a6c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561235d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612354906148ec565b60405180910390fd5b612368838383612acd565b612373600082611e92565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c39190614e08565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461241a9190614cd4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6124db611e8a565b73ffffffffffffffffffffffffffffffffffffffff166124f96113e4565b73ffffffffffffffffffffffffffffffffffffffff161461254f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254690614a4c565b60405180910390fd5b565b600061255c83610d01565b905081600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a4600061265884611b8e565b9050612665828483612d62565b50505050565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61273c848484612277565b6127488484848461306f565b612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e9061486c565b60405180910390fd5b50505050565b6000804690508091505090565b6060601380546127a990614fbd565b80601f01602080910402602001604051908101604052809291908181526020018280546127d590614fbd565b80156128225780601f106127f757610100808354040283529160200191612822565b820191906000526020600020905b81548152906001019060200180831161280557829003601f168201915b5050505050905090565b60606000821415612874576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612988565b600082905060005b600082146128a657808061288f90615020565b915050600a8261289f9190614da6565b915061287c565b60008167ffffffffffffffff8111156128c2576128c161518f565b5b6040519080825280601f01601f1916602001820160405280156128f45781602001600182028036833780820191505090505b5090505b600085146129815760018261290d9190614e08565b9150600a8561291c9190615073565b60306129289190614cd4565b60f81b81838151811061293e5761293d615160565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561297a9190614da6565b94506128f8565b8093505050505b919050565b60006c01000000000000000000000000831082906129e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d891906147ea565b60405180910390fd5b5082905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ab657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ac65750612ac582613206565b5b9050919050565b612ad8838383613270565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015612b415750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612d5d57600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcf9061494c565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401612c359190614655565b60206040518083038186803b158015612c4d57600080fd5b505afa158015612c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c8591906140db565b90506001811015612ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc29061496c565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc67908460016040518363ffffffff1660e01b8152600401612d299291906146bc565b600060405180830381600087803b158015612d4357600080fd5b505af1158015612d57573d6000803e3d6000fd5b50505050505b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612dac57506000816bffffffffffffffffffffffff16115b1561306a57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f0d576000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff1611612e4f576000612ed4565b600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600184612e9d9190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff165b90506000612efb8285604051806060016040528060378152602001615a3b6037913961329c565b9050612f0986848484613316565b5050505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613069576000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff1611612fab576000613030565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600184612ff99190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff165b90506000613057828560405180606001604052806036815260200161598460369139613624565b905061306585848484613316565b5050505b5b505050565b60006130908473ffffffffffffffffffffffffffffffffffffffff166136a3565b156131f9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130b9611e8a565b8786866040518563ffffffff1660e01b81526004016130db9493929190614670565b602060405180830381600087803b1580156130f557600080fd5b505af192505050801561312657506040513d601f19601f820116820180604052508101906131239190614038565b60015b6131a9573d8060008114613156576040519150601f19603f3d011682016040523d82523d6000602084013e61315b565b606091505b506000815114156131a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131989061486c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131fe565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61327b8383836136c6565b61329761328784610d01565b61329084610d01565b6001612d62565b505050565b6000836bffffffffffffffffffffffff16836bffffffffffffffffffffffff1611158290613300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f791906147ea565b60405180910390fd5b50828461330d9190614e70565b90509392505050565b600061333a436040518060800160405280604481526020016159ba604491396137da565b905060008463ffffffff161180156133d857508063ffffffff16600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001876133a29190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff16145b1561347c5781600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018761342c9190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160046101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506135cd565b60405180604001604052808263ffffffff168152602001836bffffffffffffffffffffffff16815250600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008663ffffffff1663ffffffff16815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555090505060018461356f9190614d2a565b600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff1602179055505b8473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051613615929190614be1565b60405180910390a25050505050565b60008083856136339190614d64565b9050846bffffffffffffffffffffffff16816bffffffffffffffffffffffff1610158390613697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368e91906147ea565b60405180910390fd5b50809150509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6136d1838383613830565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137145761370f81613835565b613753565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461375257613751838261387e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561379657613791816139eb565b6137d5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146137d4576137d38282613abc565b5b5b505050565b600064010000000083108290613826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161381d91906147ea565b60405180910390fd5b5082905092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161388b84610ec5565b6138959190614e08565b905060006007600084815260200190815260200160002054905081811461397a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139ff9190614e08565b9050600060096000848152602001908152602001600020549050600060088381548110613a2f57613a2e615160565b5b906000526020600020015490508060088381548110613a5157613a50615160565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613aa057613a9f615131565b5b6001900381819060005260206000200160009055905550505050565b6000613ac783610ec5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613b4790614fbd565b90600052602060002090601f016020900481019282613b695760008555613bb0565b82601f10613b8257805160ff1916838001178555613bb0565b82800160010185558215613bb0579182015b82811115613baf578251825591602001919060010190613b94565b5b509050613bbd9190613bc1565b5090565b5b80821115613bda576000816000905550600101613bc2565b5090565b6000613bf1613bec84614c2f565b614c0a565b905082815260208101848484011115613c0d57613c0c6151c3565b5b613c18848285614f7b565b509392505050565b6000613c33613c2e84614c60565b614c0a565b905082815260208101848484011115613c4f57613c4e6151c3565b5b613c5a848285614f7b565b509392505050565b600081359050613c71816158e2565b92915050565b600081359050613c86816158f9565b92915050565b600081359050613c9b81615910565b92915050565b600081359050613cb081615927565b92915050565b600081519050613cc581615927565b92915050565b600082601f830112613ce057613cdf6151be565b5b8135613cf0848260208601613bde565b91505092915050565b600082601f830112613d0e57613d0d6151be565b5b8135613d1e848260208601613c20565b91505092915050565b600081359050613d368161593e565b92915050565b600081519050613d4b8161593e565b92915050565b600081359050613d6081615955565b92915050565b600081359050613d758161596c565b92915050565b600060208284031215613d9157613d906151cd565b5b6000613d9f84828501613c62565b91505092915050565b60008060408385031215613dbf57613dbe6151cd565b5b6000613dcd85828601613c62565b9250506020613dde85828601613c62565b9150509250929050565b600080600060608486031215613e0157613e006151cd565b5b6000613e0f86828701613c62565b9350506020613e2086828701613c62565b9250506040613e3186828701613d27565b9150509250925092565b60008060008060808587031215613e5557613e546151cd565b5b6000613e6387828801613c62565b9450506020613e7487828801613c62565b9350506040613e8587828801613d27565b925050606085013567ffffffffffffffff811115613ea657613ea56151c8565b5b613eb287828801613ccb565b91505092959194509250565b60008060408385031215613ed557613ed46151cd565b5b6000613ee385828601613c62565b9250506020613ef485828601613c77565b9150509250929050565b60008060408385031215613f1557613f146151cd565b5b6000613f2385828601613c62565b9250506020613f3485828601613d27565b9150509250929050565b60008060008060008060c08789031215613f5b57613f5a6151cd565b5b6000613f6989828a01613c62565b9650506020613f7a89828a01613d27565b9550506040613f8b89828a01613d27565b9450506060613f9c89828a01613d66565b9350506080613fad89828a01613c8c565b92505060a0613fbe89828a01613c8c565b9150509295509295509295565b60008060408385031215613fe257613fe16151cd565b5b6000613ff085828601613c62565b925050602061400185828601613d51565b9150509250929050565b600060208284031215614021576140206151cd565b5b600061402f84828501613ca1565b91505092915050565b60006020828403121561404e5761404d6151cd565b5b600061405c84828501613cb6565b91505092915050565b60006020828403121561407b5761407a6151cd565b5b600082013567ffffffffffffffff811115614099576140986151c8565b5b6140a584828501613cf9565b91505092915050565b6000602082840312156140c4576140c36151cd565b5b60006140d284828501613d27565b91505092915050565b6000602082840312156140f1576140f06151cd565b5b60006140ff84828501613d3c565b91505092915050565b61411181614ea4565b82525050565b61412081614eb6565b82525050565b61412f81614ec2565b82525050565b61414661414182614ec2565b615069565b82525050565b600061415782614c91565b6141618185614ca7565b9350614171818560208601614f8a565b61417a816151d2565b840191505092915050565b61418e81614f57565b82525050565b600061419f82614c9c565b6141a98185614cb8565b93506141b9818560208601614f8a565b6141c2816151d2565b840191505092915050565b60006141d882614c9c565b6141e28185614cc9565b93506141f2818560208601614f8a565b80840191505092915050565b600061420b601183614cb8565b9150614216826151e3565b602082019050919050565b600061422e603683614cb8565b91506142398261520c565b604082019050919050565b6000614251602b83614cb8565b915061425c8261525b565b604082019050919050565b6000614274603283614cb8565b915061427f826152aa565b604082019050919050565b6000614297602683614cb8565b91506142a2826152f9565b604082019050919050565b60006142ba601c83614cb8565b91506142c582615348565b602082019050919050565b60006142dd600283614cc9565b91506142e882615371565b600282019050919050565b6000614300603283614cb8565b915061430b8261539a565b604082019050919050565b6000614323602483614cb8565b915061432e826153e9565b604082019050919050565b6000614346601983614cb8565b915061435182615438565b602082019050919050565b6000614369603683614cb8565b915061437482615461565b604082019050919050565b600061438c601b83614cb8565b9150614397826154b0565b602082019050919050565b60006143af601a83614cb8565b91506143ba826154d9565b602082019050919050565b60006143d2602c83614cb8565b91506143dd82615502565b604082019050919050565b60006143f5603883614cb8565b915061440082615551565b604082019050919050565b6000614418602a83614cb8565b9150614423826155a0565b604082019050919050565b600061443b602983614cb8565b9150614446826155ef565b604082019050919050565b600061445e602083614cb8565b91506144698261563e565b602082019050919050565b6000614481602c83614cb8565b915061448c82615667565b604082019050919050565b60006144a4602083614cb8565b91506144af826156b6565b602082019050919050565b60006144c7602983614cb8565b91506144d2826156df565b604082019050919050565b60006144ea602f83614cb8565b91506144f58261572e565b604082019050919050565b600061450d602183614cb8565b91506145188261577d565b604082019050919050565b6000614530603183614cb8565b915061453b826157cc565b604082019050919050565b6000614553603783614cb8565b915061455e8261581b565b604082019050919050565b6000614576602c83614cb8565b91506145818261586a565b604082019050919050565b6000614599601f83614cb8565b91506145a4826158b9565b602082019050919050565b6145b881614f18565b82525050565b6145c781614f22565b82525050565b6145d681614f32565b82525050565b6145e581614f69565b82525050565b6145f481614f3f565b82525050565b600061460682856141cd565b915061461282846141cd565b91508190509392505050565b6000614629826142d0565b91506146358285614135565b6020820191506146458284614135565b6020820191508190509392505050565b600060208201905061466a6000830184614108565b92915050565b60006080820190506146856000830187614108565b6146926020830186614108565b61469f60408301856145af565b81810360608301526146b1818461414c565b905095945050505050565b60006040820190506146d16000830185614108565b6146de6020830184614185565b9392505050565b60006020820190506146fa6000830184614117565b92915050565b60006020820190506147156000830184614126565b92915050565b60006080820190506147306000830187614126565b61473d6020830186614108565b61474a60408301856145af565b61475760608301846145af565b95945050505050565b60006080820190506147756000830187614126565b6147826020830186614126565b61478f60408301856145af565b61479c6060830184614108565b95945050505050565b60006080820190506147ba6000830187614126565b6147c760208301866145cd565b6147d46040830185614126565b6147e16060830184614126565b95945050505050565b600060208201905081810360008301526148048184614194565b905092915050565b60006020820190508181036000830152614825816141fe565b9050919050565b6000602082019050818103600083015261484581614221565b9050919050565b6000602082019050818103600083015261486581614244565b9050919050565b6000602082019050818103600083015261488581614267565b9050919050565b600060208201905081810360008301526148a58161428a565b9050919050565b600060208201905081810360008301526148c5816142ad565b9050919050565b600060208201905081810360008301526148e5816142f3565b9050919050565b6000602082019050818103600083015261490581614316565b9050919050565b6000602082019050818103600083015261492581614339565b9050919050565b600060208201905081810360008301526149458161435c565b9050919050565b600060208201905081810360008301526149658161437f565b9050919050565b60006020820190508181036000830152614985816143a2565b9050919050565b600060208201905081810360008301526149a5816143c5565b9050919050565b600060208201905081810360008301526149c5816143e8565b9050919050565b600060208201905081810360008301526149e58161440b565b9050919050565b60006020820190508181036000830152614a058161442e565b9050919050565b60006020820190508181036000830152614a2581614451565b9050919050565b60006020820190508181036000830152614a4581614474565b9050919050565b60006020820190508181036000830152614a6581614497565b9050919050565b60006020820190508181036000830152614a85816144ba565b9050919050565b60006020820190508181036000830152614aa5816144dd565b9050919050565b60006020820190508181036000830152614ac581614500565b9050919050565b60006020820190508181036000830152614ae581614523565b9050919050565b60006020820190508181036000830152614b0581614546565b9050919050565b60006020820190508181036000830152614b2581614569565b9050919050565b60006020820190508181036000830152614b458161458c565b9050919050565b6000602082019050614b6160008301846145af565b92915050565b6000602082019050614b7c60008301846145be565b92915050565b6000604082019050614b9760008301856145be565b614ba460208301846145eb565b9392505050565b6000602082019050614bc060008301846145cd565b92915050565b6000602082019050614bdb60008301846145eb565b92915050565b6000604082019050614bf660008301856145dc565b614c0360208301846145dc565b9392505050565b6000614c14614c25565b9050614c208282614fef565b919050565b6000604051905090565b600067ffffffffffffffff821115614c4a57614c4961518f565b5b614c53826151d2565b9050602081019050919050565b600067ffffffffffffffff821115614c7b57614c7a61518f565b5b614c84826151d2565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614cdf82614f18565b9150614cea83614f18565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d1f57614d1e6150a4565b5b828201905092915050565b6000614d3582614f22565b9150614d4083614f22565b92508263ffffffff03821115614d5957614d586150a4565b5b828201905092915050565b6000614d6f82614f3f565b9150614d7a83614f3f565b9250826bffffffffffffffffffffffff03821115614d9b57614d9a6150a4565b5b828201905092915050565b6000614db182614f18565b9150614dbc83614f18565b925082614dcc57614dcb6150d3565b5b828204905092915050565b6000614de282614f22565b9150614ded83614f22565b925082614dfd57614dfc6150d3565b5b828204905092915050565b6000614e1382614f18565b9150614e1e83614f18565b925082821015614e3157614e306150a4565b5b828203905092915050565b6000614e4782614f22565b9150614e5283614f22565b925082821015614e6557614e646150a4565b5b828203905092915050565b6000614e7b82614f3f565b9150614e8683614f3f565b925082821015614e9957614e986150a4565b5b828203905092915050565b6000614eaf82614ef8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b6000614f6282614f18565b9050919050565b6000614f7482614f3f565b9050919050565b82818337600083830152505050565b60005b83811015614fa8578082015181840152602081019050614f8d565b83811115614fb7576000848401525b50505050565b60006002820490506001821680614fd557607f821691505b60208210811415614fe957614fe8615102565b5b50919050565b614ff8826151d2565b810181811067ffffffffffffffff821117156150175761501661518f565b5b80604052505050565b600061502b82614f18565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561505e5761505d6150a4565b5b600182019050919050565b6000819050919050565b600061507e82614f18565b915061508983614f18565b925082615099576150986150d3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f46756c6c79206d696e746564206f75742e000000000000000000000000000000600082015250565b7f455243373231436865636b706f696e7461626c653a3a64656c6567617465427960008201527f5369673a207369676e6174757265206578706972656400000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231436865636b706f696e7461626c653a3a64656c6567617465427960008201527f5369673a20696e76616c6964206e6f6e63650000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f455243373231436865636b706f696e7461626c653a3a64656c6567617465427960008201527f5369673a20696e76616c6964207369676e617475726500000000000000000000602082015250565b7f6572633230546f6b656e4164647265737320756e646566696e65640000000000600082015250565b7f7573657220646f6573206e6f7420686f6c64206120746f6b656e000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231436865636b706f696e7461626c653a3a6765745072696f72566f60008201527f7465733a206e6f74207965742064657465726d696e6564000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6158eb81614ea4565b81146158f657600080fd5b50565b61590281614eb6565b811461590d57600080fd5b50565b61591981614ec2565b811461592457600080fd5b50565b61593081614ecc565b811461593b57600080fd5b50565b61594781614f18565b811461595257600080fd5b50565b61595e81614f22565b811461596957600080fd5b50565b61597581614f32565b811461598057600080fd5b5056fe455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e74206f766572666c6f7773455243373231436865636b706f696e7461626c653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473455243373231436865636b706f696e7461626c653a3a766f746573546f44656c65676174653a20616d6f756e7420657863656564732039362062697473455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e7420756e646572666c6f7773a26469706673582212205086dd44c38fe16c80bf39a3fa6cc2276ef2e81e69025f2d55d0b15dc7a759c564736f6c63430008070033697066733a2f2f516d564d634d55794c36574d3634794169664e3674456d52797472354d5a43475436514b584e645541614e7a515a697066733a2f2f516d5333314b636475426a587042786e5072624e645a6244564c596b6565363932684c516874375163396877786e2f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c8063715018a611610130578063c3cda520116100b8578063e985e9c51161007c578063e985e9c5146106d9578063eb107e2014610709578063f1127ed814610725578063f2fde38b14610756578063f835cd3c1461077257610232565b8063c3cda52014610621578063c87b56dd1461063d578063e7a324dc1461066d578063e8a3d4851461068b578063e9580e91146106a957610232565b8063938e3d7b116100ff578063938e3d7b1461057f57806395d89b411461059b578063a22cb465146105b9578063b4b5ea57146105d5578063b88d4fde1461060557610232565b8063715018a6146104f7578063782d6fe1146105015780637ecebe00146105315780638da5cb5b1461056157610232565b8063313ce567116101be578063587cde1e11610182578063587cde1e1461041b5780635c19a95c1461044b5780636352211e146104675780636fcfff451461049757806370a08231146104c757610232565b8063313ce5671461037757806332cb6b0c1461039557806342842e0e146103b35780634f6ccce7146103cf57806355f804b3146103ff57610232565b80631249c58b116102055780631249c58b146102d157806318160ddd146102ef57806320606b701461030d57806323b872dd1461032b5780632f745c591461034757610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c919061400b565b610790565b60405161025e91906146e5565b60405180910390f35b61026f61080a565b60405161027c91906147ea565b60405180910390f35b61029f600480360381019061029a91906140ae565b61089c565b6040516102ac9190614655565b60405180910390f35b6102cf60048036038101906102ca9190613efe565b610921565b005b6102d9610a39565b6040516102e69190614b4c565b60405180910390f35b6102f7610b0d565b6040516103049190614b4c565b60405180910390f35b610315610b1a565b6040516103229190614700565b60405180910390f35b61034560048036038101906103409190613de8565b610b3e565b005b610361600480360381019061035c9190613efe565b610b9e565b60405161036e9190614b4c565b60405180910390f35b61037f610c43565b60405161038c9190614bab565b60405180910390f35b61039d610c48565b6040516103aa9190614b4c565b60405180910390f35b6103cd60048036038101906103c89190613de8565b610c4e565b005b6103e960048036038101906103e491906140ae565b610c6e565b6040516103f69190614b4c565b60405180910390f35b61041960048036038101906104149190614065565b610cdf565b005b61043560048036038101906104309190613d7b565b610d01565b6040516104429190614655565b60405180910390f35b61046560048036038101906104609190613d7b565b610daa565b005b610481600480360381019061047c91906140ae565b610df0565b60405161048e9190614655565b60405180910390f35b6104b160048036038101906104ac9190613d7b565b610ea2565b6040516104be9190614b67565b60405180910390f35b6104e160048036038101906104dc9190613d7b565b610ec5565b6040516104ee9190614b4c565b60405180910390f35b6104ff610f7d565b005b61051b60048036038101906105169190613efe565b610f91565b6040516105289190614bc6565b60405180910390f35b61054b60048036038101906105469190613d7b565b6113cc565b6040516105589190614b4c565b60405180910390f35b6105696113e4565b6040516105769190614655565b60405180910390f35b61059960048036038101906105949190614065565b61140e565b005b6105a3611430565b6040516105b091906147ea565b60405180910390f35b6105d360048036038101906105ce9190613ebe565b6114c2565b005b6105ef60048036038101906105ea9190613d7b565b611643565b6040516105fc9190614bc6565b60405180910390f35b61061f600480360381019061061a9190613e3b565b61173a565b005b61063b60048036038101906106369190613f3e565b61179c565b005b610657600480360381019061065291906140ae565b611a31565b60405161066491906147ea565b60405180910390f35b610675611ad8565b6040516106829190614700565b60405180910390f35b610693611afc565b6040516106a091906147ea565b60405180910390f35b6106c360048036038101906106be9190613d7b565b611b8e565b6040516106d09190614bc6565b60405180910390f35b6106f360048036038101906106ee9190613da8565b611bc1565b60405161070091906146e5565b60405180910390f35b610723600480360381019061071e9190613d7b565b611c55565b005b61073f600480360381019061073a9190613fcb565b611ca1565b60405161074d929190614b82565b60405180910390f35b610770600480360381019061076b9190613d7b565b611cfa565b005b61077a611d7e565b6040516107879190614655565b60405180910390f35b60007ff959bbab000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610803575061080282611da4565b5b9050919050565b60606000805461081990614fbd565b80601f016020809104026020016040519081016040528092919081815260200182805461084590614fbd565b80156108925780601f1061086757610100808354040283529160200191610892565b820191906000526020600020905b81548152906001019060200180831161087557829003601f168201915b5050505050905090565b60006108a782611e1e565b6108e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108dd90614a2c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092c82610df0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561099d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099490614aac565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109bc611e8a565b73ffffffffffffffffffffffffffffffffffffffff1614806109eb57506109ea816109e5611e8a565b611bc1565b5b610a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a21906149ac565b60405180910390fd5b610a348383611e92565b505050565b600060026010541415610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890614b2c565b60405180910390fd5b6002601081905550601254610a94610b0d565b10610ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acb9061480c565b60405180910390fd5b6000610ae06011611f4b565b9050610af430610aee611e8a565b83611f59565b610afe6011612183565b80915050600160108190555090565b6000600880549050905090565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610b4f610b49611e8a565b82612199565b610b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8590614acc565b60405180910390fd5b610b99838383612277565b505050565b6000610ba983610ec5565b8210610bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be19061484c565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600081565b60125481565b610c698383836040518060200160405280600081525061173a565b505050565b6000610c78610b0d565b8210610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb090614b0c565b60405180910390fd5b60088281548110610ccd57610ccc615160565b5b90600052602060002001549050919050565b610ce76124d3565b8060139080519060200190610cfd929190613b3b565b5050565b600080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610da05780610da2565b825b915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610de3573390505b610ded3382612551565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e90906149ec565b60405180910390fd5b80915050919050565b600c6020528060005260406000206000915054906101000a900463ffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d906149cc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f856124d3565b610f8f600061266b565b565b6000438210610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90614aec565b60405180910390fd5b6000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff1614156110425760009150506113c6565b82600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001846110919190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff161161115657600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001836111189190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff169150506113c6565b82600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008063ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff1611156111d75760009150506113c6565b6000806001836111e79190614e3c565b90505b8163ffffffff168163ffffffff1611156113485760006002838361120e9190614e3c565b6112189190614dd7565b826112239190614e3c565b90506000600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681525050905086816000015163ffffffff161415611317578060200151955050505050506113c6565b86816000015163ffffffff16101561133157819350611341565b60018261133e9190614e3c565b92505b50506111ea565b600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff1693505050505b92915050565b600d6020528060005260406000206000915090505481565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114166124d3565b806014908051906020019061142c929190613b3b565b5050565b60606001805461143f90614fbd565b80601f016020809104026020016040519081016040528092919081815260200182805461146b90614fbd565b80156114b85780601f1061148d576101008083540402835291602001916114b8565b820191906000526020600020905b81548152906001019060200180831161149b57829003601f168201915b5050505050905090565b6114ca611e8a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f9061490c565b60405180910390fd5b8060056000611545611e8a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115f2611e8a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161163791906146e5565b60405180910390a35050565b600080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff16116116ad576000611732565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001836116fb9190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff165b915050919050565b61174b611745611e8a565b83612199565b61178a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178190614acc565b60405180910390fd5b61179684848484612731565b50505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666117c761080a565b805190602001206117d661278d565b306040516020016117ea9493929190614760565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf88888860405160200161183b949392919061471b565b6040516020818303038152906040528051906020012090506000828260405160200161186892919061461e565b6040516020818303038152906040528051906020012090506000600182888888604051600081526020016040526040516118a594939291906147a5565b6020604051602081039080840390855afa1580156118c7573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a9061492c565b60405180910390fd5b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061199390615020565b9190505589146119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf906148cc565b60405180910390fd5b87421115611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a129061482c565b60405180910390fd5b611a25818b612551565b50505050505050505050565b6060611a3c82611e1e565b611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7290614a8c565b60405180910390fd5b6000611a8561279a565b90506000815111611aa55760405180602001604052806000815250611ad0565b80611aaf8461282c565b604051602001611ac09291906145fa565b6040516020818303038152906040525b915050919050565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b606060148054611b0b90614fbd565b80601f0160208091040260200160405190810160405280929190818152602001828054611b3790614fbd565b8015611b845780601f10611b5957610100808354040283529160200191611b84565b820191906000526020600020905b815481529060010190602001808311611b6757829003601f168201915b5050505050905090565b6000611bba611b9c83610ec5565b6040518060600160405280603d81526020016159fe603d913961298d565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c5d6124d3565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900463ffffffff16908060000160049054906101000a90046bffffffffffffffffffffffff16905082565b611d026124d3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d699061488c565b60405180910390fd5b611d7b8161266b565b50565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e175750611e16826129eb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f0583610df0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc090614a0c565b60405180910390fd5b611fd281611e1e565b15612012576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612009906148ac565b60405180910390fd5b61201e60008383612acd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461206e9190614cd4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b60006121a482611e1e565b6121e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121da9061498c565b60405180910390fd5b60006121ee83610df0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061225d57508373ffffffffffffffffffffffffffffffffffffffff166122458461089c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061226e575061226d8185611bc1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661229782610df0565b73ffffffffffffffffffffffffffffffffffffffff16146122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e490614a6c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561235d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612354906148ec565b60405180910390fd5b612368838383612acd565b612373600082611e92565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c39190614e08565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461241a9190614cd4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6124db611e8a565b73ffffffffffffffffffffffffffffffffffffffff166124f96113e4565b73ffffffffffffffffffffffffffffffffffffffff161461254f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254690614a4c565b60405180910390fd5b565b600061255c83610d01565b905081600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a4600061265884611b8e565b9050612665828483612d62565b50505050565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61273c848484612277565b6127488484848461306f565b612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e9061486c565b60405180910390fd5b50505050565b6000804690508091505090565b6060601380546127a990614fbd565b80601f01602080910402602001604051908101604052809291908181526020018280546127d590614fbd565b80156128225780601f106127f757610100808354040283529160200191612822565b820191906000526020600020905b81548152906001019060200180831161280557829003601f168201915b5050505050905090565b60606000821415612874576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612988565b600082905060005b600082146128a657808061288f90615020565b915050600a8261289f9190614da6565b915061287c565b60008167ffffffffffffffff8111156128c2576128c161518f565b5b6040519080825280601f01601f1916602001820160405280156128f45781602001600182028036833780820191505090505b5090505b600085146129815760018261290d9190614e08565b9150600a8561291c9190615073565b60306129289190614cd4565b60f81b81838151811061293e5761293d615160565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561297a9190614da6565b94506128f8565b8093505050505b919050565b60006c01000000000000000000000000831082906129e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d891906147ea565b60405180910390fd5b5082905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ab657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ac65750612ac582613206565b5b9050919050565b612ad8838383613270565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015612b415750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612d5d57600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcf9061494c565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401612c359190614655565b60206040518083038186803b158015612c4d57600080fd5b505afa158015612c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c8591906140db565b90506001811015612ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc29061496c565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc67908460016040518363ffffffff1660e01b8152600401612d299291906146bc565b600060405180830381600087803b158015612d4357600080fd5b505af1158015612d57573d6000803e3d6000fd5b50505050505b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612dac57506000816bffffffffffffffffffffffff16115b1561306a57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f0d576000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff1611612e4f576000612ed4565b600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600184612e9d9190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff165b90506000612efb8285604051806060016040528060378152602001615a3b6037913961329c565b9050612f0986848484613316565b5050505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613069576000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff1611612fab576000613030565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600184612ff99190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160049054906101000a90046bffffffffffffffffffffffff165b90506000613057828560405180606001604052806036815260200161598460369139613624565b905061306585848484613316565b5050505b5b505050565b60006130908473ffffffffffffffffffffffffffffffffffffffff166136a3565b156131f9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130b9611e8a565b8786866040518563ffffffff1660e01b81526004016130db9493929190614670565b602060405180830381600087803b1580156130f557600080fd5b505af192505050801561312657506040513d601f19601f820116820180604052508101906131239190614038565b60015b6131a9573d8060008114613156576040519150601f19603f3d011682016040523d82523d6000602084013e61315b565b606091505b506000815114156131a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131989061486c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131fe565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61327b8383836136c6565b61329761328784610d01565b61329084610d01565b6001612d62565b505050565b6000836bffffffffffffffffffffffff16836bffffffffffffffffffffffff1611158290613300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f791906147ea565b60405180910390fd5b50828461330d9190614e70565b90509392505050565b600061333a436040518060800160405280604481526020016159ba604491396137da565b905060008463ffffffff161180156133d857508063ffffffff16600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001876133a29190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff16145b1561347c5781600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018761342c9190614e3c565b63ffffffff1663ffffffff16815260200190815260200160002060000160046101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506135cd565b60405180604001604052808263ffffffff168152602001836bffffffffffffffffffffffff16815250600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008663ffffffff1663ffffffff16815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555090505060018461356f9190614d2a565b600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff1602179055505b8473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051613615929190614be1565b60405180910390a25050505050565b60008083856136339190614d64565b9050846bffffffffffffffffffffffff16816bffffffffffffffffffffffff1610158390613697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368e91906147ea565b60405180910390fd5b50809150509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6136d1838383613830565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137145761370f81613835565b613753565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461375257613751838261387e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561379657613791816139eb565b6137d5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146137d4576137d38282613abc565b5b5b505050565b600064010000000083108290613826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161381d91906147ea565b60405180910390fd5b5082905092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161388b84610ec5565b6138959190614e08565b905060006007600084815260200190815260200160002054905081811461397a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139ff9190614e08565b9050600060096000848152602001908152602001600020549050600060088381548110613a2f57613a2e615160565b5b906000526020600020015490508060088381548110613a5157613a50615160565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613aa057613a9f615131565b5b6001900381819060005260206000200160009055905550505050565b6000613ac783610ec5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613b4790614fbd565b90600052602060002090601f016020900481019282613b695760008555613bb0565b82601f10613b8257805160ff1916838001178555613bb0565b82800160010185558215613bb0579182015b82811115613baf578251825591602001919060010190613b94565b5b509050613bbd9190613bc1565b5090565b5b80821115613bda576000816000905550600101613bc2565b5090565b6000613bf1613bec84614c2f565b614c0a565b905082815260208101848484011115613c0d57613c0c6151c3565b5b613c18848285614f7b565b509392505050565b6000613c33613c2e84614c60565b614c0a565b905082815260208101848484011115613c4f57613c4e6151c3565b5b613c5a848285614f7b565b509392505050565b600081359050613c71816158e2565b92915050565b600081359050613c86816158f9565b92915050565b600081359050613c9b81615910565b92915050565b600081359050613cb081615927565b92915050565b600081519050613cc581615927565b92915050565b600082601f830112613ce057613cdf6151be565b5b8135613cf0848260208601613bde565b91505092915050565b600082601f830112613d0e57613d0d6151be565b5b8135613d1e848260208601613c20565b91505092915050565b600081359050613d368161593e565b92915050565b600081519050613d4b8161593e565b92915050565b600081359050613d6081615955565b92915050565b600081359050613d758161596c565b92915050565b600060208284031215613d9157613d906151cd565b5b6000613d9f84828501613c62565b91505092915050565b60008060408385031215613dbf57613dbe6151cd565b5b6000613dcd85828601613c62565b9250506020613dde85828601613c62565b9150509250929050565b600080600060608486031215613e0157613e006151cd565b5b6000613e0f86828701613c62565b9350506020613e2086828701613c62565b9250506040613e3186828701613d27565b9150509250925092565b60008060008060808587031215613e5557613e546151cd565b5b6000613e6387828801613c62565b9450506020613e7487828801613c62565b9350506040613e8587828801613d27565b925050606085013567ffffffffffffffff811115613ea657613ea56151c8565b5b613eb287828801613ccb565b91505092959194509250565b60008060408385031215613ed557613ed46151cd565b5b6000613ee385828601613c62565b9250506020613ef485828601613c77565b9150509250929050565b60008060408385031215613f1557613f146151cd565b5b6000613f2385828601613c62565b9250506020613f3485828601613d27565b9150509250929050565b60008060008060008060c08789031215613f5b57613f5a6151cd565b5b6000613f6989828a01613c62565b9650506020613f7a89828a01613d27565b9550506040613f8b89828a01613d27565b9450506060613f9c89828a01613d66565b9350506080613fad89828a01613c8c565b92505060a0613fbe89828a01613c8c565b9150509295509295509295565b60008060408385031215613fe257613fe16151cd565b5b6000613ff085828601613c62565b925050602061400185828601613d51565b9150509250929050565b600060208284031215614021576140206151cd565b5b600061402f84828501613ca1565b91505092915050565b60006020828403121561404e5761404d6151cd565b5b600061405c84828501613cb6565b91505092915050565b60006020828403121561407b5761407a6151cd565b5b600082013567ffffffffffffffff811115614099576140986151c8565b5b6140a584828501613cf9565b91505092915050565b6000602082840312156140c4576140c36151cd565b5b60006140d284828501613d27565b91505092915050565b6000602082840312156140f1576140f06151cd565b5b60006140ff84828501613d3c565b91505092915050565b61411181614ea4565b82525050565b61412081614eb6565b82525050565b61412f81614ec2565b82525050565b61414661414182614ec2565b615069565b82525050565b600061415782614c91565b6141618185614ca7565b9350614171818560208601614f8a565b61417a816151d2565b840191505092915050565b61418e81614f57565b82525050565b600061419f82614c9c565b6141a98185614cb8565b93506141b9818560208601614f8a565b6141c2816151d2565b840191505092915050565b60006141d882614c9c565b6141e28185614cc9565b93506141f2818560208601614f8a565b80840191505092915050565b600061420b601183614cb8565b9150614216826151e3565b602082019050919050565b600061422e603683614cb8565b91506142398261520c565b604082019050919050565b6000614251602b83614cb8565b915061425c8261525b565b604082019050919050565b6000614274603283614cb8565b915061427f826152aa565b604082019050919050565b6000614297602683614cb8565b91506142a2826152f9565b604082019050919050565b60006142ba601c83614cb8565b91506142c582615348565b602082019050919050565b60006142dd600283614cc9565b91506142e882615371565b600282019050919050565b6000614300603283614cb8565b915061430b8261539a565b604082019050919050565b6000614323602483614cb8565b915061432e826153e9565b604082019050919050565b6000614346601983614cb8565b915061435182615438565b602082019050919050565b6000614369603683614cb8565b915061437482615461565b604082019050919050565b600061438c601b83614cb8565b9150614397826154b0565b602082019050919050565b60006143af601a83614cb8565b91506143ba826154d9565b602082019050919050565b60006143d2602c83614cb8565b91506143dd82615502565b604082019050919050565b60006143f5603883614cb8565b915061440082615551565b604082019050919050565b6000614418602a83614cb8565b9150614423826155a0565b604082019050919050565b600061443b602983614cb8565b9150614446826155ef565b604082019050919050565b600061445e602083614cb8565b91506144698261563e565b602082019050919050565b6000614481602c83614cb8565b915061448c82615667565b604082019050919050565b60006144a4602083614cb8565b91506144af826156b6565b602082019050919050565b60006144c7602983614cb8565b91506144d2826156df565b604082019050919050565b60006144ea602f83614cb8565b91506144f58261572e565b604082019050919050565b600061450d602183614cb8565b91506145188261577d565b604082019050919050565b6000614530603183614cb8565b915061453b826157cc565b604082019050919050565b6000614553603783614cb8565b915061455e8261581b565b604082019050919050565b6000614576602c83614cb8565b91506145818261586a565b604082019050919050565b6000614599601f83614cb8565b91506145a4826158b9565b602082019050919050565b6145b881614f18565b82525050565b6145c781614f22565b82525050565b6145d681614f32565b82525050565b6145e581614f69565b82525050565b6145f481614f3f565b82525050565b600061460682856141cd565b915061461282846141cd565b91508190509392505050565b6000614629826142d0565b91506146358285614135565b6020820191506146458284614135565b6020820191508190509392505050565b600060208201905061466a6000830184614108565b92915050565b60006080820190506146856000830187614108565b6146926020830186614108565b61469f60408301856145af565b81810360608301526146b1818461414c565b905095945050505050565b60006040820190506146d16000830185614108565b6146de6020830184614185565b9392505050565b60006020820190506146fa6000830184614117565b92915050565b60006020820190506147156000830184614126565b92915050565b60006080820190506147306000830187614126565b61473d6020830186614108565b61474a60408301856145af565b61475760608301846145af565b95945050505050565b60006080820190506147756000830187614126565b6147826020830186614126565b61478f60408301856145af565b61479c6060830184614108565b95945050505050565b60006080820190506147ba6000830187614126565b6147c760208301866145cd565b6147d46040830185614126565b6147e16060830184614126565b95945050505050565b600060208201905081810360008301526148048184614194565b905092915050565b60006020820190508181036000830152614825816141fe565b9050919050565b6000602082019050818103600083015261484581614221565b9050919050565b6000602082019050818103600083015261486581614244565b9050919050565b6000602082019050818103600083015261488581614267565b9050919050565b600060208201905081810360008301526148a58161428a565b9050919050565b600060208201905081810360008301526148c5816142ad565b9050919050565b600060208201905081810360008301526148e5816142f3565b9050919050565b6000602082019050818103600083015261490581614316565b9050919050565b6000602082019050818103600083015261492581614339565b9050919050565b600060208201905081810360008301526149458161435c565b9050919050565b600060208201905081810360008301526149658161437f565b9050919050565b60006020820190508181036000830152614985816143a2565b9050919050565b600060208201905081810360008301526149a5816143c5565b9050919050565b600060208201905081810360008301526149c5816143e8565b9050919050565b600060208201905081810360008301526149e58161440b565b9050919050565b60006020820190508181036000830152614a058161442e565b9050919050565b60006020820190508181036000830152614a2581614451565b9050919050565b60006020820190508181036000830152614a4581614474565b9050919050565b60006020820190508181036000830152614a6581614497565b9050919050565b60006020820190508181036000830152614a85816144ba565b9050919050565b60006020820190508181036000830152614aa5816144dd565b9050919050565b60006020820190508181036000830152614ac581614500565b9050919050565b60006020820190508181036000830152614ae581614523565b9050919050565b60006020820190508181036000830152614b0581614546565b9050919050565b60006020820190508181036000830152614b2581614569565b9050919050565b60006020820190508181036000830152614b458161458c565b9050919050565b6000602082019050614b6160008301846145af565b92915050565b6000602082019050614b7c60008301846145be565b92915050565b6000604082019050614b9760008301856145be565b614ba460208301846145eb565b9392505050565b6000602082019050614bc060008301846145cd565b92915050565b6000602082019050614bdb60008301846145eb565b92915050565b6000604082019050614bf660008301856145dc565b614c0360208301846145dc565b9392505050565b6000614c14614c25565b9050614c208282614fef565b919050565b6000604051905090565b600067ffffffffffffffff821115614c4a57614c4961518f565b5b614c53826151d2565b9050602081019050919050565b600067ffffffffffffffff821115614c7b57614c7a61518f565b5b614c84826151d2565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614cdf82614f18565b9150614cea83614f18565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d1f57614d1e6150a4565b5b828201905092915050565b6000614d3582614f22565b9150614d4083614f22565b92508263ffffffff03821115614d5957614d586150a4565b5b828201905092915050565b6000614d6f82614f3f565b9150614d7a83614f3f565b9250826bffffffffffffffffffffffff03821115614d9b57614d9a6150a4565b5b828201905092915050565b6000614db182614f18565b9150614dbc83614f18565b925082614dcc57614dcb6150d3565b5b828204905092915050565b6000614de282614f22565b9150614ded83614f22565b925082614dfd57614dfc6150d3565b5b828204905092915050565b6000614e1382614f18565b9150614e1e83614f18565b925082821015614e3157614e306150a4565b5b828203905092915050565b6000614e4782614f22565b9150614e5283614f22565b925082821015614e6557614e646150a4565b5b828203905092915050565b6000614e7b82614f3f565b9150614e8683614f3f565b925082821015614e9957614e986150a4565b5b828203905092915050565b6000614eaf82614ef8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b6000614f6282614f18565b9050919050565b6000614f7482614f3f565b9050919050565b82818337600083830152505050565b60005b83811015614fa8578082015181840152602081019050614f8d565b83811115614fb7576000848401525b50505050565b60006002820490506001821680614fd557607f821691505b60208210811415614fe957614fe8615102565b5b50919050565b614ff8826151d2565b810181811067ffffffffffffffff821117156150175761501661518f565b5b80604052505050565b600061502b82614f18565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561505e5761505d6150a4565b5b600182019050919050565b6000819050919050565b600061507e82614f18565b915061508983614f18565b925082615099576150986150d3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f46756c6c79206d696e746564206f75742e000000000000000000000000000000600082015250565b7f455243373231436865636b706f696e7461626c653a3a64656c6567617465427960008201527f5369673a207369676e6174757265206578706972656400000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231436865636b706f696e7461626c653a3a64656c6567617465427960008201527f5369673a20696e76616c6964206e6f6e63650000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f455243373231436865636b706f696e7461626c653a3a64656c6567617465427960008201527f5369673a20696e76616c6964207369676e617475726500000000000000000000602082015250565b7f6572633230546f6b656e4164647265737320756e646566696e65640000000000600082015250565b7f7573657220646f6573206e6f7420686f6c64206120746f6b656e000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231436865636b706f696e7461626c653a3a6765745072696f72566f60008201527f7465733a206e6f74207965742064657465726d696e6564000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6158eb81614ea4565b81146158f657600080fd5b50565b61590281614eb6565b811461590d57600080fd5b50565b61591981614ec2565b811461592457600080fd5b50565b61593081614ecc565b811461593b57600080fd5b50565b61594781614f18565b811461595257600080fd5b50565b61595e81614f22565b811461596957600080fd5b50565b61597581614f32565b811461598057600080fd5b5056fe455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e74206f766572666c6f7773455243373231436865636b706f696e7461626c653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473455243373231436865636b706f696e7461626c653a3a766f746573546f44656c65676174653a20616d6f756e7420657863656564732039362062697473455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e7420756e646572666c6f7773a26469706673582212205086dd44c38fe16c80bf39a3fa6cc2276ef2e81e69025f2d55d0b15dc7a759c564736f6c63430008070033
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.