ERC-721
Overview
Max Total Supply
3,000 MBB
Holders
714
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 MBBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MoonbirdsBatz
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* βββββ βββββ βββββ β βββ ββ βββββ βββ βββββ βββ ββ βββββ ββββββ β β β β β β β β β β ββ β ββ β β β ββ β β β β βββ β β βββ β β β β β β β ββ β β β β ββ ββββ β β β βββββ β β β ββββ β βββ ββ β β βββββ βββββ β β β β ββ ββ β β β β ββββββ β ββ β β β ββββββ β β β β βββ β β ββββ βββ β β β β ββ β β β */ pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; // @author neek contract MoonbirdsBatz is ERC721, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; uint256 public maxSupply = 3000; //change to normal address for mainnet address proxyRegistryAddress; string public baseURI; string public notRevealedUri = "ipfs://QmUAYJu8dc16t8tPH9ZDffxkLE7UdYwBQ7MZK23UZiVgbw"; bool public paused = false; bool public revealed = false; bool public presaleM = false; bool public publicM = false; bool public freesaleM = true; uint256 freeAmountLimit = 2; mapping(address => uint256) public _presaleClaimed; mapping(address => uint256) public _freeClaimed; uint256 _price = 10000000000000000; uint256 _freePrice = 0; Counters.Counter private _tokenIds; constructor() ERC721("MoonbirdsBatz", "MBB") ReentrancyGuard() // A modifier that can prevent reentrancy during certain functions { } function setBaseURI(string memory _tokenBaseURI) public onlyOwner { baseURI = _tokenBaseURI; } function setProxyRegistry(address _proxyRegistryAddress) public onlyOwner { proxyRegistryAddress = _proxyRegistryAddress; } function _baseURI() internal view override returns (string memory) { return baseURI; } function reveal() public onlyOwner { revealed = true; } modifier onlyAccounts () { require(msg.sender == tx.origin, "Not allowed origin"); _; } function togglePublicSale() public onlyOwner { publicM = !publicM; } function freeSaleMint(uint256 _amount) external payable onlyAccounts { require(!paused, "MoonbirdsBatz: Contract is paused"); require(_amount < 5, "MoonbirdsBatz: zero amount"); uint current = _tokenIds.current(); require( current + _amount <= 100, "MoonbirdsBatz: Max supply exceeded" ); require( _freePrice * _amount <= msg.value, "MoonbirdsBatz: Not enough ethers sent" ); for (uint i = 0; i < _amount; i++) { mintInternal(); } } function publicSaleMint(uint256 _amount) external payable onlyAccounts { require(publicM, "MoonbirdsBatz: PublicSale is OFF"); require(!paused, "MoonbirdsBatz: Contract is paused"); require(_amount > 0, "MoonbirdsBatz: zero amount"); uint current = _tokenIds.current(); require( current + _amount <= maxSupply, "MoonbirdsBatz: Max supply exceeded" ); require( _price * _amount <= msg.value, "MoonbirdsBatz: Not enough ethers sent" ); for (uint i = 0; i < _amount; i++) { mintInternal(); } } function mintInternal() internal nonReentrant { _tokenIds.increment(); uint256 tokenId = _tokenIds.current(); _safeMint(msg.sender, tokenId); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString() ) ) : ""; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function totalSupply() public view returns (uint) { return _tokenIds.current(); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) override public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } function withdraw_all() public onlyOwner{ uint balance = address(this).balance; require(payable(msg.sender).send(balance)); } } /** @title An OpenSea delegate proxy contract which we include for whitelisting. @author OpenSea */ contract OwnableDelegateProxy {} /** @title An OpenSea proxy registry contract which we include for whitelisting. @author OpenSea */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // 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 (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment(account, totalReceived, released(account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment(account, totalReceived, released(token, account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// 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 v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/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 { _setApprovalForAll(_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` and transfers it 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 to, uint256 tokenId) internal virtual { _safeMint(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 to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it 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 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), to, tokenId); _afterTokenTransfer(address(0), 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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.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 {} /** * @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. * - `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 tokenId ) internal virtual {} }
// 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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 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 v4.4.1 (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 `IERC721.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 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/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`, 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 be 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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); /** * @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); }
{ "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":"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":[{"internalType":"address","name":"","type":"address"}],"name":"_freeClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_presaleClaimed","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"freeSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"freesaleM","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleM","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicM","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_tokenBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","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":[],"name":"withdraw_all","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610bb86008556040518060600160405280603581526020016200457560359139600b90805190602001906200003b92919062000282565b506000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506000600c60026101000a81548160ff0219169083151502179055506000600c60036101000a81548160ff0219169083151502179055506001600c60046101000a81548160ff0219169083151502179055506002600d55662386f26fc100006010556000601155348015620000e557600080fd5b506040518060400160405280600d81526020017f4d6f6f6e62697264734261747a000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d4242000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200016a92919062000282565b5080600190805190602001906200018392919062000282565b505050620001a66200019a620001b460201b60201c565b620001bc60201b60201c565b600160078190555062000396565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002909062000361565b90600052602060002090601f016020900481019282620002b4576000855562000300565b82601f10620002cf57805160ff191683800117855562000300565b8280016001018555821562000300579182015b82811115620002ff578251825591602001919060010190620002e2565b5b5090506200030f919062000313565b5090565b5b808211156200032e57600081600090555060010162000314565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200037a57607f821691505b60208210810362000390576200038f62000332565b5b50919050565b6141cf80620003a66000396000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063b3ab66b0116100a0578063dd473d2b1161006f578063dd473d2b1461073d578063e222c7f914610754578063e985e9c51461076b578063f2c4ce1e146107a8578063f2fde38b146107d157610204565b8063b3ab66b014610690578063b88d4fde146106ac578063c87b56dd146106d5578063d5abeb011461071257610204565b806395d89b41116100e757806395d89b41146105d1578063a22cb465146105fc578063a45063c014610625578063a475b5dd14610650578063adfdeef91461066757610204565b8063715018a6146105155780637857ee421461052c5780638cc4de19146105695780638da5cb5b146105a657610204565b8063257ea0691161019b57806355f804b31161016a57806355f804b31461041c5780635c975abb146104455780636352211e146104705780636c0360eb146104ad57806370a08231146104d857610204565b8063257ea0691461038157806334d53b151461039d57806342842e0e146103c857806351830227146103f157610204565b8063095ea7b3116101d7578063095ea7b3146102d95780631798d58b1461030257806318160ddd1461032d57806323b872dd1461035857610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063081c8c44146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612b41565b6107fa565b60405161023d9190612b89565b60405180910390f35b34801561025257600080fd5b5061025b6108dc565b6040516102689190612c3d565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612c95565b61096e565b6040516102a59190612d03565b60405180910390f35b3480156102ba57600080fd5b506102c36109f3565b6040516102d09190612c3d565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190612d4a565b610a81565b005b34801561030e57600080fd5b50610317610b98565b6040516103249190612b89565b60405180910390f35b34801561033957600080fd5b50610342610bab565b60405161034f9190612d99565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190612db4565b610bbc565b005b61039b60048036038101906103969190612c95565b610c1c565b005b3480156103a957600080fd5b506103b2610df5565b6040516103bf9190612b89565b60405180910390f35b3480156103d457600080fd5b506103ef60048036038101906103ea9190612db4565b610e08565b005b3480156103fd57600080fd5b50610406610e28565b6040516104139190612b89565b60405180910390f35b34801561042857600080fd5b50610443600480360381019061043e9190612f3c565b610e3b565b005b34801561045157600080fd5b5061045a610ed1565b6040516104679190612b89565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190612c95565b610ee4565b6040516104a49190612d03565b60405180910390f35b3480156104b957600080fd5b506104c2610f95565b6040516104cf9190612c3d565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa9190612f85565b611023565b60405161050c9190612d99565b60405180910390f35b34801561052157600080fd5b5061052a6110da565b005b34801561053857600080fd5b50610553600480360381019061054e9190612f85565b611162565b6040516105609190612d99565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190612f85565b61117a565b60405161059d9190612d99565b60405180910390f35b3480156105b257600080fd5b506105bb611192565b6040516105c89190612d03565b60405180910390f35b3480156105dd57600080fd5b506105e66111bc565b6040516105f39190612c3d565b60405180910390f35b34801561060857600080fd5b50610623600480360381019061061e9190612fde565b61124e565b005b34801561063157600080fd5b5061063a611264565b6040516106479190612b89565b60405180910390f35b34801561065c57600080fd5b50610665611277565b005b34801561067357600080fd5b5061068e60048036038101906106899190612f85565b611310565b005b6106aa60048036038101906106a59190612c95565b6113d0565b005b3480156106b857600080fd5b506106d360048036038101906106ce91906130bf565b6115f9565b005b3480156106e157600080fd5b506106fc60048036038101906106f79190612c95565b61165b565b6040516107099190612c3d565b60405180910390f35b34801561071e57600080fd5b506107276117b0565b6040516107349190612d99565b60405180910390f35b34801561074957600080fd5b506107526117b6565b005b34801561076057600080fd5b50610769611878565b005b34801561077757600080fd5b50610792600480360381019061078d9190613142565b611920565b60405161079f9190612b89565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca9190612f3c565b611a12565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190612f85565b611aa8565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108d557506108d482611b9f565b5b9050919050565b6060600080546108eb906131b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610917906131b1565b80156109645780601f1061093957610100808354040283529160200191610964565b820191906000526020600020905b81548152906001019060200180831161094757829003601f168201915b5050505050905090565b600061097982611c09565b6109b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109af90613254565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b8054610a00906131b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2c906131b1565b8015610a795780601f10610a4e57610100808354040283529160200191610a79565b820191906000526020600020905b815481529060010190602001808311610a5c57829003601f168201915b505050505081565b6000610a8c82610ee4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af3906132e6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1b611c75565b73ffffffffffffffffffffffffffffffffffffffff161480610b4a5750610b4981610b44611c75565b611920565b5b610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8090613378565b60405180910390fd5b610b938383611c7d565b505050565b600c60029054906101000a900460ff1681565b6000610bb76012611d36565b905090565b610bcd610bc7611c75565b82611d44565b610c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c039061340a565b60405180910390fd5b610c17838383611e22565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8190613476565b60405180910390fd5b600c60009054906101000a900460ff1615610cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd190613508565b60405180910390fd5b60058110610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490613574565b60405180910390fd5b6000610d296012611d36565b905060648282610d3991906135c3565b1115610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d719061368b565b60405180910390fd5b3482601154610d8991906136ab565b1115610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc190613777565b60405180910390fd5b60005b82811015610df057610ddd612088565b8080610de890613797565b915050610dcd565b505050565b600c60049054906101000a900460ff1681565b610e23838383604051806020016040528060008152506115f9565b505050565b600c60019054906101000a900460ff1681565b610e43611c75565b73ffffffffffffffffffffffffffffffffffffffff16610e61611192565b73ffffffffffffffffffffffffffffffffffffffff1614610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae9061382b565b60405180910390fd5b80600a9080519060200190610ecd929190612a32565b5050565b600c60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906138bd565b60405180910390fd5b80915050919050565b600a8054610fa2906131b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610fce906131b1565b801561101b5780601f10610ff05761010080835404028352916020019161101b565b820191906000526020600020905b815481529060010190602001808311610ffe57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108a9061394f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110e2611c75565b73ffffffffffffffffffffffffffffffffffffffff16611100611192565b73ffffffffffffffffffffffffffffffffffffffff1614611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d9061382b565b60405180910390fd5b6111606000612102565b565b600f6020528060005260406000206000915090505481565b600e6020528060005260406000206000915090505481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111cb906131b1565b80601f01602080910402602001604051908101604052809291908181526020018280546111f7906131b1565b80156112445780601f1061121957610100808354040283529160200191611244565b820191906000526020600020905b81548152906001019060200180831161122757829003601f168201915b5050505050905090565b611260611259611c75565b83836121c8565b5050565b600c60039054906101000a900460ff1681565b61127f611c75565b73ffffffffffffffffffffffffffffffffffffffff1661129d611192565b73ffffffffffffffffffffffffffffffffffffffff16146112f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ea9061382b565b60405180910390fd5b6001600c60016101000a81548160ff021916908315150217905550565b611318611c75565b73ffffffffffffffffffffffffffffffffffffffff16611336611192565b73ffffffffffffffffffffffffffffffffffffffff161461138c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113839061382b565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590613476565b60405180910390fd5b600c60039054906101000a900460ff1661148d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611484906139bb565b60405180910390fd5b600c60009054906101000a900460ff16156114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490613508565b60405180910390fd5b60008111611520576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151790613574565b60405180910390fd5b600061152c6012611d36565b9050600854828261153d91906135c3565b111561157e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115759061368b565b60405180910390fd5b348260105461158d91906136ab565b11156115ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c590613777565b60405180910390fd5b60005b828110156115f4576115e1612088565b80806115ec90613797565b9150506115d1565b505050565b61160a611604611c75565b83611d44565b611649576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116409061340a565b60405180910390fd5b61165584848484612334565b50505050565b606061166682611c09565b6116a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169c90613a4d565b60405180910390fd5b60001515600c60019054906101000a900460ff1615150361175257600b80546116cd906131b1565b80601f01602080910402602001604051908101604052809291908181526020018280546116f9906131b1565b80156117465780601f1061171b57610100808354040283529160200191611746565b820191906000526020600020905b81548152906001019060200180831161172957829003601f168201915b505050505090506117ab565b600061175c612390565b9050600081511161177c57604051806020016040528060008152506117a7565b8061178684612422565b604051602001611797929190613aa9565b6040516020818303038152906040525b9150505b919050565b60085481565b6117be611c75565b73ffffffffffffffffffffffffffffffffffffffff166117dc611192565b73ffffffffffffffffffffffffffffffffffffffff1614611832576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118299061382b565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061187557600080fd5b50565b611880611c75565b73ffffffffffffffffffffffffffffffffffffffff1661189e611192565b73ffffffffffffffffffffffffffffffffffffffff16146118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb9061382b565b60405180910390fd5b600c60039054906101000a900460ff1615600c60036101000a81548160ff021916908315150217905550565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016119989190612d03565b602060405180830381865afa1580156119b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d99190613b0b565b73ffffffffffffffffffffffffffffffffffffffff16036119fe576001915050611a0c565b611a088484612582565b9150505b92915050565b611a1a611c75565b73ffffffffffffffffffffffffffffffffffffffff16611a38611192565b73ffffffffffffffffffffffffffffffffffffffff1614611a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a859061382b565b60405180910390fd5b80600b9080519060200190611aa4929190612a32565b5050565b611ab0611c75565b73ffffffffffffffffffffffffffffffffffffffff16611ace611192565b73ffffffffffffffffffffffffffffffffffffffff1614611b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1b9061382b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8a90613baa565b60405180910390fd5b611b9c81612102565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cf083610ee4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611d4f82611c09565b611d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8590613c3c565b60405180910390fd5b6000611d9983610ee4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e0857508373ffffffffffffffffffffffffffffffffffffffff16611df08461096e565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e195750611e188185611920565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e4282610ee4565b73ffffffffffffffffffffffffffffffffffffffff1614611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f90613cce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe90613d60565b60405180910390fd5b611f12838383612616565b611f1d600082611c7d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f6d9190613d80565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc491906135c3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461208383838361261b565b505050565b6002600754036120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490613e00565b60405180910390fd5b60026007819055506120df6012612620565b60006120eb6012611d36565b90506120f73382612636565b506001600781905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222d90613e6c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123279190612b89565b60405180910390a3505050565b61233f848484611e22565b61234b84848484612654565b61238a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238190613efe565b60405180910390fd5b50505050565b6060600a805461239f906131b1565b80601f01602080910402602001604051908101604052809291908181526020018280546123cb906131b1565b80156124185780601f106123ed57610100808354040283529160200191612418565b820191906000526020600020905b8154815290600101906020018083116123fb57829003601f168201915b5050505050905090565b606060008203612469576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061257d565b600082905060005b6000821461249b57808061248490613797565b915050600a826124949190613f4d565b9150612471565b60008167ffffffffffffffff8111156124b7576124b6612e11565b5b6040519080825280601f01601f1916602001820160405280156124e95781602001600182028036833780820191505090505b5090505b60008514612576576001826125029190613d80565b9150600a856125119190613f7e565b603061251d91906135c3565b60f81b81838151811061253357612532613faf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561256f9190613f4d565b94506124ed565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b505050565b6001816000016000828254019250508190555050565b6126508282604051806020016040528060008152506127db565b5050565b60006126758473ffffffffffffffffffffffffffffffffffffffff16612836565b156127ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261269e611c75565b8786866040518563ffffffff1660e01b81526004016126c09493929190614033565b6020604051808303816000875af19250505080156126fc57506040513d601f19601f820116820180604052508101906126f99190614094565b60015b61277e573d806000811461272c576040519150601f19603f3d011682016040523d82523d6000602084013e612731565b606091505b506000815103612776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276d90613efe565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127d3565b600190505b949350505050565b6127e58383612859565b6127f26000848484612654565b612831576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282890613efe565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bf9061410d565b60405180910390fd5b6128d181611c09565b15612911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290890614179565b60405180910390fd5b61291d60008383612616565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461296d91906135c3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a2e6000838361261b565b5050565b828054612a3e906131b1565b90600052602060002090601f016020900481019282612a605760008555612aa7565b82601f10612a7957805160ff1916838001178555612aa7565b82800160010185558215612aa7579182015b82811115612aa6578251825591602001919060010190612a8b565b5b509050612ab49190612ab8565b5090565b5b80821115612ad1576000816000905550600101612ab9565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b1e81612ae9565b8114612b2957600080fd5b50565b600081359050612b3b81612b15565b92915050565b600060208284031215612b5757612b56612adf565b5b6000612b6584828501612b2c565b91505092915050565b60008115159050919050565b612b8381612b6e565b82525050565b6000602082019050612b9e6000830184612b7a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bde578082015181840152602081019050612bc3565b83811115612bed576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c0f82612ba4565b612c198185612baf565b9350612c29818560208601612bc0565b612c3281612bf3565b840191505092915050565b60006020820190508181036000830152612c578184612c04565b905092915050565b6000819050919050565b612c7281612c5f565b8114612c7d57600080fd5b50565b600081359050612c8f81612c69565b92915050565b600060208284031215612cab57612caa612adf565b5b6000612cb984828501612c80565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ced82612cc2565b9050919050565b612cfd81612ce2565b82525050565b6000602082019050612d186000830184612cf4565b92915050565b612d2781612ce2565b8114612d3257600080fd5b50565b600081359050612d4481612d1e565b92915050565b60008060408385031215612d6157612d60612adf565b5b6000612d6f85828601612d35565b9250506020612d8085828601612c80565b9150509250929050565b612d9381612c5f565b82525050565b6000602082019050612dae6000830184612d8a565b92915050565b600080600060608486031215612dcd57612dcc612adf565b5b6000612ddb86828701612d35565b9350506020612dec86828701612d35565b9250506040612dfd86828701612c80565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e4982612bf3565b810181811067ffffffffffffffff82111715612e6857612e67612e11565b5b80604052505050565b6000612e7b612ad5565b9050612e878282612e40565b919050565b600067ffffffffffffffff821115612ea757612ea6612e11565b5b612eb082612bf3565b9050602081019050919050565b82818337600083830152505050565b6000612edf612eda84612e8c565b612e71565b905082815260208101848484011115612efb57612efa612e0c565b5b612f06848285612ebd565b509392505050565b600082601f830112612f2357612f22612e07565b5b8135612f33848260208601612ecc565b91505092915050565b600060208284031215612f5257612f51612adf565b5b600082013567ffffffffffffffff811115612f7057612f6f612ae4565b5b612f7c84828501612f0e565b91505092915050565b600060208284031215612f9b57612f9a612adf565b5b6000612fa984828501612d35565b91505092915050565b612fbb81612b6e565b8114612fc657600080fd5b50565b600081359050612fd881612fb2565b92915050565b60008060408385031215612ff557612ff4612adf565b5b600061300385828601612d35565b925050602061301485828601612fc9565b9150509250929050565b600067ffffffffffffffff82111561303957613038612e11565b5b61304282612bf3565b9050602081019050919050565b600061306261305d8461301e565b612e71565b90508281526020810184848401111561307e5761307d612e0c565b5b613089848285612ebd565b509392505050565b600082601f8301126130a6576130a5612e07565b5b81356130b684826020860161304f565b91505092915050565b600080600080608085870312156130d9576130d8612adf565b5b60006130e787828801612d35565b94505060206130f887828801612d35565b935050604061310987828801612c80565b925050606085013567ffffffffffffffff81111561312a57613129612ae4565b5b61313687828801613091565b91505092959194509250565b6000806040838503121561315957613158612adf565b5b600061316785828601612d35565b925050602061317885828601612d35565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131c957607f821691505b6020821081036131dc576131db613182565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061323e602c83612baf565b9150613249826131e2565b604082019050919050565b6000602082019050818103600083015261326d81613231565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006132d0602183612baf565b91506132db82613274565b604082019050919050565b600060208201905081810360008301526132ff816132c3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613362603883612baf565b915061336d82613306565b604082019050919050565b6000602082019050818103600083015261339181613355565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006133f4603183612baf565b91506133ff82613398565b604082019050919050565b60006020820190508181036000830152613423816133e7565b9050919050565b7f4e6f7420616c6c6f776564206f726967696e0000000000000000000000000000600082015250565b6000613460601283612baf565b915061346b8261342a565b602082019050919050565b6000602082019050818103600083015261348f81613453565b9050919050565b7f4d6f6f6e62697264734261747a3a20436f6e747261637420697320706175736560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b60006134f2602183612baf565b91506134fd82613496565b604082019050919050565b60006020820190508181036000830152613521816134e5565b9050919050565b7f4d6f6f6e62697264734261747a3a207a65726f20616d6f756e74000000000000600082015250565b600061355e601a83612baf565b915061356982613528565b602082019050919050565b6000602082019050818103600083015261358d81613551565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135ce82612c5f565b91506135d983612c5f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561360e5761360d613594565b5b828201905092915050565b7f4d6f6f6e62697264734261747a3a204d617820737570706c792065786365656460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000613675602283612baf565b915061368082613619565b604082019050919050565b600060208201905081810360008301526136a481613668565b9050919050565b60006136b682612c5f565b91506136c183612c5f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136fa576136f9613594565b5b828202905092915050565b7f4d6f6f6e62697264734261747a3a204e6f7420656e6f7567682065746865727360008201527f2073656e74000000000000000000000000000000000000000000000000000000602082015250565b6000613761602583612baf565b915061376c82613705565b604082019050919050565b6000602082019050818103600083015261379081613754565b9050919050565b60006137a282612c5f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137d4576137d3613594565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613815602083612baf565b9150613820826137df565b602082019050919050565b6000602082019050818103600083015261384481613808565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006138a7602983612baf565b91506138b28261384b565b604082019050919050565b600060208201905081810360008301526138d68161389a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613939602a83612baf565b9150613944826138dd565b604082019050919050565b600060208201905081810360008301526139688161392c565b9050919050565b7f4d6f6f6e62697264734261747a3a205075626c696353616c65206973204f4646600082015250565b60006139a5602083612baf565b91506139b08261396f565b602082019050919050565b600060208201905081810360008301526139d481613998565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613a37602f83612baf565b9150613a42826139db565b604082019050919050565b60006020820190508181036000830152613a6681613a2a565b9050919050565b600081905092915050565b6000613a8382612ba4565b613a8d8185613a6d565b9350613a9d818560208601612bc0565b80840191505092915050565b6000613ab58285613a78565b9150613ac18284613a78565b91508190509392505050565b6000613ad882612ce2565b9050919050565b613ae881613acd565b8114613af357600080fd5b50565b600081519050613b0581613adf565b92915050565b600060208284031215613b2157613b20612adf565b5b6000613b2f84828501613af6565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b94602683612baf565b9150613b9f82613b38565b604082019050919050565b60006020820190508181036000830152613bc381613b87565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613c26602c83612baf565b9150613c3182613bca565b604082019050919050565b60006020820190508181036000830152613c5581613c19565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613cb8602583612baf565b9150613cc382613c5c565b604082019050919050565b60006020820190508181036000830152613ce781613cab565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613d4a602483612baf565b9150613d5582613cee565b604082019050919050565b60006020820190508181036000830152613d7981613d3d565b9050919050565b6000613d8b82612c5f565b9150613d9683612c5f565b925082821015613da957613da8613594565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613dea601f83612baf565b9150613df582613db4565b602082019050919050565b60006020820190508181036000830152613e1981613ddd565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613e56601983612baf565b9150613e6182613e20565b602082019050919050565b60006020820190508181036000830152613e8581613e49565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613ee8603283612baf565b9150613ef382613e8c565b604082019050919050565b60006020820190508181036000830152613f1781613edb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f5882612c5f565b9150613f6383612c5f565b925082613f7357613f72613f1e565b5b828204905092915050565b6000613f8982612c5f565b9150613f9483612c5f565b925082613fa457613fa3613f1e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061400582613fde565b61400f8185613fe9565b935061401f818560208601612bc0565b61402881612bf3565b840191505092915050565b60006080820190506140486000830187612cf4565b6140556020830186612cf4565b6140626040830185612d8a565b81810360608301526140748184613ffa565b905095945050505050565b60008151905061408e81612b15565b92915050565b6000602082840312156140aa576140a9612adf565b5b60006140b88482850161407f565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006140f7602083612baf565b9150614102826140c1565b602082019050919050565b60006020820190508181036000830152614126816140ea565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614163601c83612baf565b915061416e8261412d565b602082019050919050565b6000602082019050818103600083015261419281614156565b905091905056fea26469706673582212205391142a048b0f1f634a5c27dbfa9419815bfad7bc8a962557c7ddefac5b74ef64736f6c634300080d0033697066733a2f2f516d5541594a7538646331367438745048395a446666786b4c4537556459774251374d5a4b3233555a6956676277
Deployed Bytecode
0x6080604052600436106102045760003560e01c8063715018a611610118578063b3ab66b0116100a0578063dd473d2b1161006f578063dd473d2b1461073d578063e222c7f914610754578063e985e9c51461076b578063f2c4ce1e146107a8578063f2fde38b146107d157610204565b8063b3ab66b014610690578063b88d4fde146106ac578063c87b56dd146106d5578063d5abeb011461071257610204565b806395d89b41116100e757806395d89b41146105d1578063a22cb465146105fc578063a45063c014610625578063a475b5dd14610650578063adfdeef91461066757610204565b8063715018a6146105155780637857ee421461052c5780638cc4de19146105695780638da5cb5b146105a657610204565b8063257ea0691161019b57806355f804b31161016a57806355f804b31461041c5780635c975abb146104455780636352211e146104705780636c0360eb146104ad57806370a08231146104d857610204565b8063257ea0691461038157806334d53b151461039d57806342842e0e146103c857806351830227146103f157610204565b8063095ea7b3116101d7578063095ea7b3146102d95780631798d58b1461030257806318160ddd1461032d57806323b872dd1461035857610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063081c8c44146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612b41565b6107fa565b60405161023d9190612b89565b60405180910390f35b34801561025257600080fd5b5061025b6108dc565b6040516102689190612c3d565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612c95565b61096e565b6040516102a59190612d03565b60405180910390f35b3480156102ba57600080fd5b506102c36109f3565b6040516102d09190612c3d565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190612d4a565b610a81565b005b34801561030e57600080fd5b50610317610b98565b6040516103249190612b89565b60405180910390f35b34801561033957600080fd5b50610342610bab565b60405161034f9190612d99565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190612db4565b610bbc565b005b61039b60048036038101906103969190612c95565b610c1c565b005b3480156103a957600080fd5b506103b2610df5565b6040516103bf9190612b89565b60405180910390f35b3480156103d457600080fd5b506103ef60048036038101906103ea9190612db4565b610e08565b005b3480156103fd57600080fd5b50610406610e28565b6040516104139190612b89565b60405180910390f35b34801561042857600080fd5b50610443600480360381019061043e9190612f3c565b610e3b565b005b34801561045157600080fd5b5061045a610ed1565b6040516104679190612b89565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190612c95565b610ee4565b6040516104a49190612d03565b60405180910390f35b3480156104b957600080fd5b506104c2610f95565b6040516104cf9190612c3d565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa9190612f85565b611023565b60405161050c9190612d99565b60405180910390f35b34801561052157600080fd5b5061052a6110da565b005b34801561053857600080fd5b50610553600480360381019061054e9190612f85565b611162565b6040516105609190612d99565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190612f85565b61117a565b60405161059d9190612d99565b60405180910390f35b3480156105b257600080fd5b506105bb611192565b6040516105c89190612d03565b60405180910390f35b3480156105dd57600080fd5b506105e66111bc565b6040516105f39190612c3d565b60405180910390f35b34801561060857600080fd5b50610623600480360381019061061e9190612fde565b61124e565b005b34801561063157600080fd5b5061063a611264565b6040516106479190612b89565b60405180910390f35b34801561065c57600080fd5b50610665611277565b005b34801561067357600080fd5b5061068e60048036038101906106899190612f85565b611310565b005b6106aa60048036038101906106a59190612c95565b6113d0565b005b3480156106b857600080fd5b506106d360048036038101906106ce91906130bf565b6115f9565b005b3480156106e157600080fd5b506106fc60048036038101906106f79190612c95565b61165b565b6040516107099190612c3d565b60405180910390f35b34801561071e57600080fd5b506107276117b0565b6040516107349190612d99565b60405180910390f35b34801561074957600080fd5b506107526117b6565b005b34801561076057600080fd5b50610769611878565b005b34801561077757600080fd5b50610792600480360381019061078d9190613142565b611920565b60405161079f9190612b89565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca9190612f3c565b611a12565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190612f85565b611aa8565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108d557506108d482611b9f565b5b9050919050565b6060600080546108eb906131b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610917906131b1565b80156109645780601f1061093957610100808354040283529160200191610964565b820191906000526020600020905b81548152906001019060200180831161094757829003601f168201915b5050505050905090565b600061097982611c09565b6109b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109af90613254565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b8054610a00906131b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2c906131b1565b8015610a795780601f10610a4e57610100808354040283529160200191610a79565b820191906000526020600020905b815481529060010190602001808311610a5c57829003601f168201915b505050505081565b6000610a8c82610ee4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af3906132e6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1b611c75565b73ffffffffffffffffffffffffffffffffffffffff161480610b4a5750610b4981610b44611c75565b611920565b5b610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8090613378565b60405180910390fd5b610b938383611c7d565b505050565b600c60029054906101000a900460ff1681565b6000610bb76012611d36565b905090565b610bcd610bc7611c75565b82611d44565b610c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c039061340a565b60405180910390fd5b610c17838383611e22565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8190613476565b60405180910390fd5b600c60009054906101000a900460ff1615610cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd190613508565b60405180910390fd5b60058110610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490613574565b60405180910390fd5b6000610d296012611d36565b905060648282610d3991906135c3565b1115610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d719061368b565b60405180910390fd5b3482601154610d8991906136ab565b1115610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc190613777565b60405180910390fd5b60005b82811015610df057610ddd612088565b8080610de890613797565b915050610dcd565b505050565b600c60049054906101000a900460ff1681565b610e23838383604051806020016040528060008152506115f9565b505050565b600c60019054906101000a900460ff1681565b610e43611c75565b73ffffffffffffffffffffffffffffffffffffffff16610e61611192565b73ffffffffffffffffffffffffffffffffffffffff1614610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae9061382b565b60405180910390fd5b80600a9080519060200190610ecd929190612a32565b5050565b600c60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906138bd565b60405180910390fd5b80915050919050565b600a8054610fa2906131b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610fce906131b1565b801561101b5780601f10610ff05761010080835404028352916020019161101b565b820191906000526020600020905b815481529060010190602001808311610ffe57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108a9061394f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110e2611c75565b73ffffffffffffffffffffffffffffffffffffffff16611100611192565b73ffffffffffffffffffffffffffffffffffffffff1614611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d9061382b565b60405180910390fd5b6111606000612102565b565b600f6020528060005260406000206000915090505481565b600e6020528060005260406000206000915090505481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111cb906131b1565b80601f01602080910402602001604051908101604052809291908181526020018280546111f7906131b1565b80156112445780601f1061121957610100808354040283529160200191611244565b820191906000526020600020905b81548152906001019060200180831161122757829003601f168201915b5050505050905090565b611260611259611c75565b83836121c8565b5050565b600c60039054906101000a900460ff1681565b61127f611c75565b73ffffffffffffffffffffffffffffffffffffffff1661129d611192565b73ffffffffffffffffffffffffffffffffffffffff16146112f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ea9061382b565b60405180910390fd5b6001600c60016101000a81548160ff021916908315150217905550565b611318611c75565b73ffffffffffffffffffffffffffffffffffffffff16611336611192565b73ffffffffffffffffffffffffffffffffffffffff161461138c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113839061382b565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590613476565b60405180910390fd5b600c60039054906101000a900460ff1661148d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611484906139bb565b60405180910390fd5b600c60009054906101000a900460ff16156114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490613508565b60405180910390fd5b60008111611520576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151790613574565b60405180910390fd5b600061152c6012611d36565b9050600854828261153d91906135c3565b111561157e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115759061368b565b60405180910390fd5b348260105461158d91906136ab565b11156115ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c590613777565b60405180910390fd5b60005b828110156115f4576115e1612088565b80806115ec90613797565b9150506115d1565b505050565b61160a611604611c75565b83611d44565b611649576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116409061340a565b60405180910390fd5b61165584848484612334565b50505050565b606061166682611c09565b6116a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169c90613a4d565b60405180910390fd5b60001515600c60019054906101000a900460ff1615150361175257600b80546116cd906131b1565b80601f01602080910402602001604051908101604052809291908181526020018280546116f9906131b1565b80156117465780601f1061171b57610100808354040283529160200191611746565b820191906000526020600020905b81548152906001019060200180831161172957829003601f168201915b505050505090506117ab565b600061175c612390565b9050600081511161177c57604051806020016040528060008152506117a7565b8061178684612422565b604051602001611797929190613aa9565b6040516020818303038152906040525b9150505b919050565b60085481565b6117be611c75565b73ffffffffffffffffffffffffffffffffffffffff166117dc611192565b73ffffffffffffffffffffffffffffffffffffffff1614611832576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118299061382b565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061187557600080fd5b50565b611880611c75565b73ffffffffffffffffffffffffffffffffffffffff1661189e611192565b73ffffffffffffffffffffffffffffffffffffffff16146118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb9061382b565b60405180910390fd5b600c60039054906101000a900460ff1615600c60036101000a81548160ff021916908315150217905550565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016119989190612d03565b602060405180830381865afa1580156119b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d99190613b0b565b73ffffffffffffffffffffffffffffffffffffffff16036119fe576001915050611a0c565b611a088484612582565b9150505b92915050565b611a1a611c75565b73ffffffffffffffffffffffffffffffffffffffff16611a38611192565b73ffffffffffffffffffffffffffffffffffffffff1614611a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a859061382b565b60405180910390fd5b80600b9080519060200190611aa4929190612a32565b5050565b611ab0611c75565b73ffffffffffffffffffffffffffffffffffffffff16611ace611192565b73ffffffffffffffffffffffffffffffffffffffff1614611b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1b9061382b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8a90613baa565b60405180910390fd5b611b9c81612102565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cf083610ee4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611d4f82611c09565b611d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8590613c3c565b60405180910390fd5b6000611d9983610ee4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e0857508373ffffffffffffffffffffffffffffffffffffffff16611df08461096e565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e195750611e188185611920565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e4282610ee4565b73ffffffffffffffffffffffffffffffffffffffff1614611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f90613cce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe90613d60565b60405180910390fd5b611f12838383612616565b611f1d600082611c7d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f6d9190613d80565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc491906135c3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461208383838361261b565b505050565b6002600754036120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490613e00565b60405180910390fd5b60026007819055506120df6012612620565b60006120eb6012611d36565b90506120f73382612636565b506001600781905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222d90613e6c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123279190612b89565b60405180910390a3505050565b61233f848484611e22565b61234b84848484612654565b61238a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238190613efe565b60405180910390fd5b50505050565b6060600a805461239f906131b1565b80601f01602080910402602001604051908101604052809291908181526020018280546123cb906131b1565b80156124185780601f106123ed57610100808354040283529160200191612418565b820191906000526020600020905b8154815290600101906020018083116123fb57829003601f168201915b5050505050905090565b606060008203612469576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061257d565b600082905060005b6000821461249b57808061248490613797565b915050600a826124949190613f4d565b9150612471565b60008167ffffffffffffffff8111156124b7576124b6612e11565b5b6040519080825280601f01601f1916602001820160405280156124e95781602001600182028036833780820191505090505b5090505b60008514612576576001826125029190613d80565b9150600a856125119190613f7e565b603061251d91906135c3565b60f81b81838151811061253357612532613faf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561256f9190613f4d565b94506124ed565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b505050565b6001816000016000828254019250508190555050565b6126508282604051806020016040528060008152506127db565b5050565b60006126758473ffffffffffffffffffffffffffffffffffffffff16612836565b156127ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261269e611c75565b8786866040518563ffffffff1660e01b81526004016126c09493929190614033565b6020604051808303816000875af19250505080156126fc57506040513d601f19601f820116820180604052508101906126f99190614094565b60015b61277e573d806000811461272c576040519150601f19603f3d011682016040523d82523d6000602084013e612731565b606091505b506000815103612776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276d90613efe565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127d3565b600190505b949350505050565b6127e58383612859565b6127f26000848484612654565b612831576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282890613efe565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bf9061410d565b60405180910390fd5b6128d181611c09565b15612911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290890614179565b60405180910390fd5b61291d60008383612616565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461296d91906135c3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a2e6000838361261b565b5050565b828054612a3e906131b1565b90600052602060002090601f016020900481019282612a605760008555612aa7565b82601f10612a7957805160ff1916838001178555612aa7565b82800160010185558215612aa7579182015b82811115612aa6578251825591602001919060010190612a8b565b5b509050612ab49190612ab8565b5090565b5b80821115612ad1576000816000905550600101612ab9565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b1e81612ae9565b8114612b2957600080fd5b50565b600081359050612b3b81612b15565b92915050565b600060208284031215612b5757612b56612adf565b5b6000612b6584828501612b2c565b91505092915050565b60008115159050919050565b612b8381612b6e565b82525050565b6000602082019050612b9e6000830184612b7a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bde578082015181840152602081019050612bc3565b83811115612bed576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c0f82612ba4565b612c198185612baf565b9350612c29818560208601612bc0565b612c3281612bf3565b840191505092915050565b60006020820190508181036000830152612c578184612c04565b905092915050565b6000819050919050565b612c7281612c5f565b8114612c7d57600080fd5b50565b600081359050612c8f81612c69565b92915050565b600060208284031215612cab57612caa612adf565b5b6000612cb984828501612c80565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ced82612cc2565b9050919050565b612cfd81612ce2565b82525050565b6000602082019050612d186000830184612cf4565b92915050565b612d2781612ce2565b8114612d3257600080fd5b50565b600081359050612d4481612d1e565b92915050565b60008060408385031215612d6157612d60612adf565b5b6000612d6f85828601612d35565b9250506020612d8085828601612c80565b9150509250929050565b612d9381612c5f565b82525050565b6000602082019050612dae6000830184612d8a565b92915050565b600080600060608486031215612dcd57612dcc612adf565b5b6000612ddb86828701612d35565b9350506020612dec86828701612d35565b9250506040612dfd86828701612c80565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e4982612bf3565b810181811067ffffffffffffffff82111715612e6857612e67612e11565b5b80604052505050565b6000612e7b612ad5565b9050612e878282612e40565b919050565b600067ffffffffffffffff821115612ea757612ea6612e11565b5b612eb082612bf3565b9050602081019050919050565b82818337600083830152505050565b6000612edf612eda84612e8c565b612e71565b905082815260208101848484011115612efb57612efa612e0c565b5b612f06848285612ebd565b509392505050565b600082601f830112612f2357612f22612e07565b5b8135612f33848260208601612ecc565b91505092915050565b600060208284031215612f5257612f51612adf565b5b600082013567ffffffffffffffff811115612f7057612f6f612ae4565b5b612f7c84828501612f0e565b91505092915050565b600060208284031215612f9b57612f9a612adf565b5b6000612fa984828501612d35565b91505092915050565b612fbb81612b6e565b8114612fc657600080fd5b50565b600081359050612fd881612fb2565b92915050565b60008060408385031215612ff557612ff4612adf565b5b600061300385828601612d35565b925050602061301485828601612fc9565b9150509250929050565b600067ffffffffffffffff82111561303957613038612e11565b5b61304282612bf3565b9050602081019050919050565b600061306261305d8461301e565b612e71565b90508281526020810184848401111561307e5761307d612e0c565b5b613089848285612ebd565b509392505050565b600082601f8301126130a6576130a5612e07565b5b81356130b684826020860161304f565b91505092915050565b600080600080608085870312156130d9576130d8612adf565b5b60006130e787828801612d35565b94505060206130f887828801612d35565b935050604061310987828801612c80565b925050606085013567ffffffffffffffff81111561312a57613129612ae4565b5b61313687828801613091565b91505092959194509250565b6000806040838503121561315957613158612adf565b5b600061316785828601612d35565b925050602061317885828601612d35565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131c957607f821691505b6020821081036131dc576131db613182565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061323e602c83612baf565b9150613249826131e2565b604082019050919050565b6000602082019050818103600083015261326d81613231565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006132d0602183612baf565b91506132db82613274565b604082019050919050565b600060208201905081810360008301526132ff816132c3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613362603883612baf565b915061336d82613306565b604082019050919050565b6000602082019050818103600083015261339181613355565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006133f4603183612baf565b91506133ff82613398565b604082019050919050565b60006020820190508181036000830152613423816133e7565b9050919050565b7f4e6f7420616c6c6f776564206f726967696e0000000000000000000000000000600082015250565b6000613460601283612baf565b915061346b8261342a565b602082019050919050565b6000602082019050818103600083015261348f81613453565b9050919050565b7f4d6f6f6e62697264734261747a3a20436f6e747261637420697320706175736560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b60006134f2602183612baf565b91506134fd82613496565b604082019050919050565b60006020820190508181036000830152613521816134e5565b9050919050565b7f4d6f6f6e62697264734261747a3a207a65726f20616d6f756e74000000000000600082015250565b600061355e601a83612baf565b915061356982613528565b602082019050919050565b6000602082019050818103600083015261358d81613551565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135ce82612c5f565b91506135d983612c5f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561360e5761360d613594565b5b828201905092915050565b7f4d6f6f6e62697264734261747a3a204d617820737570706c792065786365656460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000613675602283612baf565b915061368082613619565b604082019050919050565b600060208201905081810360008301526136a481613668565b9050919050565b60006136b682612c5f565b91506136c183612c5f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136fa576136f9613594565b5b828202905092915050565b7f4d6f6f6e62697264734261747a3a204e6f7420656e6f7567682065746865727360008201527f2073656e74000000000000000000000000000000000000000000000000000000602082015250565b6000613761602583612baf565b915061376c82613705565b604082019050919050565b6000602082019050818103600083015261379081613754565b9050919050565b60006137a282612c5f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137d4576137d3613594565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613815602083612baf565b9150613820826137df565b602082019050919050565b6000602082019050818103600083015261384481613808565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006138a7602983612baf565b91506138b28261384b565b604082019050919050565b600060208201905081810360008301526138d68161389a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613939602a83612baf565b9150613944826138dd565b604082019050919050565b600060208201905081810360008301526139688161392c565b9050919050565b7f4d6f6f6e62697264734261747a3a205075626c696353616c65206973204f4646600082015250565b60006139a5602083612baf565b91506139b08261396f565b602082019050919050565b600060208201905081810360008301526139d481613998565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613a37602f83612baf565b9150613a42826139db565b604082019050919050565b60006020820190508181036000830152613a6681613a2a565b9050919050565b600081905092915050565b6000613a8382612ba4565b613a8d8185613a6d565b9350613a9d818560208601612bc0565b80840191505092915050565b6000613ab58285613a78565b9150613ac18284613a78565b91508190509392505050565b6000613ad882612ce2565b9050919050565b613ae881613acd565b8114613af357600080fd5b50565b600081519050613b0581613adf565b92915050565b600060208284031215613b2157613b20612adf565b5b6000613b2f84828501613af6565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b94602683612baf565b9150613b9f82613b38565b604082019050919050565b60006020820190508181036000830152613bc381613b87565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613c26602c83612baf565b9150613c3182613bca565b604082019050919050565b60006020820190508181036000830152613c5581613c19565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613cb8602583612baf565b9150613cc382613c5c565b604082019050919050565b60006020820190508181036000830152613ce781613cab565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613d4a602483612baf565b9150613d5582613cee565b604082019050919050565b60006020820190508181036000830152613d7981613d3d565b9050919050565b6000613d8b82612c5f565b9150613d9683612c5f565b925082821015613da957613da8613594565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613dea601f83612baf565b9150613df582613db4565b602082019050919050565b60006020820190508181036000830152613e1981613ddd565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613e56601983612baf565b9150613e6182613e20565b602082019050919050565b60006020820190508181036000830152613e8581613e49565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613ee8603283612baf565b9150613ef382613e8c565b604082019050919050565b60006020820190508181036000830152613f1781613edb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f5882612c5f565b9150613f6383612c5f565b925082613f7357613f72613f1e565b5b828204905092915050565b6000613f8982612c5f565b9150613f9483612c5f565b925082613fa457613fa3613f1e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061400582613fde565b61400f8185613fe9565b935061401f818560208601612bc0565b61402881612bf3565b840191505092915050565b60006080820190506140486000830187612cf4565b6140556020830186612cf4565b6140626040830185612d8a565b81810360608301526140748184613ffa565b905095945050505050565b60008151905061408e81612b15565b92915050565b6000602082840312156140aa576140a9612adf565b5b60006140b88482850161407f565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006140f7602083612baf565b9150614102826140c1565b602082019050919050565b60006020820190508181036000830152614126816140ea565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614163601c83612baf565b915061416e8261412d565b602082019050919050565b6000602082019050818103600083015261419281614156565b905091905056fea26469706673582212205391142a048b0f1f634a5c27dbfa9419815bfad7bc8a962557c7ddefac5b74ef64736f6c634300080d0033
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.