Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
Raccoons
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@amxx/hre/contracts/ENSReverseRegistration.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/MulticallUpgradeable.sol"; import './extensions/ERC721DeckUpgradeable.sol'; import './utils/Whitelisted.sol'; import './utils/WithPayment.sol'; contract Raccoons is OwnableUpgradeable, ERC721Upgradeable, ERC721DeckUpgradeable, MulticallUpgradeable, WithPayment, Whitelisted { uint256 public price; uint256 public limit; string private baseURI; mapping(bytes32 => mapping(address => uint256)) public minted; event Sale(bytes32 whitelistRoot, uint256 price, uint256 amount); /// @custom:oz-upgrades-unsafe-allow constructor constructor() initializer {} function initialize( string memory __name, string memory __symbol, uint256 __length, string memory __baseUri ) public initializer() { __Ownable_init(); __ERC721_init(__name, __symbol); __ERC721Deck_init(__length); baseURI = __baseUri; _setWhitelist(0x000000000000000000000000000000000000000000000000000000000000dead); } /** * Lazy-minting */ function mintAdmin(address to, uint256 count) external onlyRemaining(count) onlyOwner() { for (uint256 i = 0; i < count; ++i) { _mint(to); } } function mint(uint256 count, uint256 quota, bytes32[] calldata proof) external payable onlyRemaining(count + limit) withPayment(count * price, payable(owner())) onlyWhitelisted(keccak256(abi.encodePacked(_msgSender(), quota)), proof) { if (quota > 0) { uint256 amount = minted[getWhitelist()][_msgSender()] += count; require(amount <= quota, 'Whitelist quota reached'); } for (uint256 i = 0; i < count; ++i) { _mint(_msgSender()); } } /** * Admin operations: ens reverse registration */ function startSale(bytes32 whitelistRoot, uint256 amount, uint256 unitPrice) external onlyOwner() { _setWhitelist(whitelistRoot); price = unitPrice; limit = remaining() > amount ? remaining() - amount : 0; emit Sale(whitelistRoot, price, amount); } function setName(address ensRegistry, string calldata ensName) external onlyOwner() { ENSReverseRegistration.setName(ensRegistry, ensName); } function setBaseURI(string calldata newBaseURI) external onlyOwner() { baseURI = newBaseURI; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _burn(uint256 tokenId) internal virtual override(ERC721Upgradeable, ERC721DeckUpgradeable) { super._burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IENS { event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); event Transfer(bytes32 indexed node, address owner); event NewResolver(bytes32 indexed node, address resolver); event NewTTL(bytes32 indexed node, uint64 ttl); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); function setRecord(bytes32, address, address, uint64) external; function setSubnodeRecord(bytes32, bytes32, address, address, uint64) external; function setSubnodeOwner(bytes32, bytes32, address) external returns(bytes32); function setResolver(bytes32, address) external; function setOwner(bytes32, address) external; function setTTL(bytes32, uint64) external; function setApprovalForAll(address, bool) external; function owner(bytes32) external view returns (address); function resolver(bytes32) external view returns (address); function ttl(bytes32) external view returns (uint64); function recordExists(bytes32) external view returns (bool); function isApprovedForAll(address, address) external view returns (bool); } interface IReverseRegistrar { function ADDR_REVERSE_NODE() external view returns (bytes32); function ens() external view returns (IENS); function defaultResolver() external view returns (address); function claim(address) external returns (bytes32); function claimWithResolver(address, address) external returns (bytes32); function setName(string calldata) external returns (bytes32); function node(address) external pure returns (bytes32); } library ENSReverseRegistration { // namehash('addr.reverse') bytes32 internal constant ADDR_REVERSE_NODE = 0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2; function setName(address ensregistry, string calldata ensname) internal { IReverseRegistrar(IENS(ensregistry).owner(ADDR_REVERSE_NODE)).setName(ensname); } }
// SPDX-License-Identifier: MIT 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) { 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 = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal initializer { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal initializer { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721Upgradeable.sol"; import "./IERC721ReceiverUpgradeable.sol"; import "./extensions/IERC721MetadataUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../utils/StringsUpgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable 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. */ function __ERC721_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).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 = ERC721Upgradeable.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721Upgradeable.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); } /** * @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 = ERC721Upgradeable.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Upgradeable.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.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 {} uint256[44] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AddressUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Provides a function to batch together multiple calls in a single external call. * * _Available since v4.1._ */ abstract contract MulticallUpgradeable is Initializable { function __Multicall_init() internal initializer { __Multicall_init_unchained(); } function __Multicall_init_unchained() internal initializer { } /** * @dev Receives and executes a batch of function calls on this contract. */ function multicall(bytes[] calldata data) external returns (bytes[] memory results) { results = new bytes[](data.length); for (uint256 i = 0; i < data.length; i++) { results[i] = _functionDelegateCall(address(this), data[i]); } return results; } /** * @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) private returns (bytes memory) { require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed"); } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@amxx/hre/contracts/Random.sol"; import "../utils/TotalSupply.sol"; contract ERC721DeckUpgradeable is ERC721Upgradeable, TotalSupply { using Random for Random.Manifest; Random.Manifest private _manifest; modifier onlyRemaining(uint256 count) { require (remaining() >= count, 'Not enough tokens remaining'); _; } function __ERC721Deck_init(uint256 __length) internal { _manifest.setup(__length); _setTotalSupply(__length); } function remaining() public view returns (uint256) { return _manifest.remaining(); } function _mint(address account) internal { _mint(account, _manifest.draw()); } function _burn(uint256 tokenId) internal virtual override { _manifest.put(tokenId); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; abstract contract Whitelisted { bytes32 private _whitelistRoot; modifier onlyWhitelisted(bytes32 leaf, bytes32[] memory proof) { require(_whitelistRoot == bytes32(0) || MerkleProof.verify(proof, _whitelistRoot, leaf), "proof is not valid"); _; } function _setWhitelist(bytes32 root) internal { _whitelistRoot = root; } function getWhitelist() public view returns (bytes32) { return _whitelistRoot; } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; abstract contract WithPayment { modifier withPayment(uint256 price, address payable to) { require(msg.value >= price, 'Insufficient payment'); _; if (to != address(0)) { AddressUpgradeable.sendValue(to, msg.value); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @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 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 IERC721ReceiverUpgradeable { /** * @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 pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT 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 IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library Random { function random() internal view returns (bytes32) { return keccak256(abi.encodePacked(blockhash(block.number - 1), block.timestamp, msg.sender)) ; } struct Manifest { uint256[] _data; } function setup(Manifest storage self, uint256 length) internal { uint256[] storage data = self._data; require(data.length == 0, 'cannot-setup-during-active-draw'); assembly { sstore(data.slot, length) } } function draw(Manifest storage self) internal returns (uint256) { return draw(self, random()); } function draw(Manifest storage self, bytes32 seed) internal returns (uint256) { uint256[] storage data = self._data; uint256 l = data.length; uint256 i = uint256(seed) % l; uint256 x = data[i]; uint256 y = data[--l]; if (x == 0) { x = i + 1; } if (y == 0) { y = l + 1; } if (i != l) { data[i] = y; } data.pop(); return x - 1; } function put(Manifest storage self, uint256 i) internal { self._data.push(i + 1); } function remaining(Manifest storage self) internal view returns (uint256) { return self._data.length; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract TotalSupply { uint256 private _totalSupply; function _setTotalSupply(uint256 __totalSupply) internal { _totalSupply = __totalSupply; } function totalSupply() public view returns (uint256) { return _totalSupply; } uint256[49] private __gap; }
{ "optimizer": { "enabled": true, "runs": 999 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"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":false,"internalType":"bytes32","name":"whitelistRoot","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Sale","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":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelist","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"__name","type":"string"},{"internalType":"string","name":"__symbol","type":"string"},{"internalType":"uint256","name":"__length","type":"uint256"},{"internalType":"string","name":"__baseUri","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"quota","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ensRegistry","type":"address"},{"internalType":"string","name":"ensName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"whitelistRoot","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"unitPrice","type":"uint256"}],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50600054610100900460ff16806200002c575060005460ff16155b620000945760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b600054610100900460ff16158015620000b7576000805461ffff19166101011790555b8015620000ca576000805461ff00191690555b506130c880620000db6000396000f3fe6080604052600436106101c25760003560e01c8063715018a6116100f7578063b88d4fde11610095578063e41946ac11610064578063e41946ac146104fe578063e6d37b881461051e578063e985e9c514610531578063f2fde38b1461057a57600080fd5b8063b88d4fde14610488578063c3a71999146104a8578063c87b56dd146104c8578063d01f63f5146104e857600080fd5b8063a035b1fe116100d1578063a035b1fe1461040d578063a22cb46514610424578063a4d66daf14610444578063ac9650d81461045b57600080fd5b8063715018a6146103c55780638da5cb5b146103da57806395d89b41146103f857600080fd5b80633121db1c1161016457806355234ec01161013e57806355234ec01461035057806355f804b3146103655780636352211e1461038557806370a08231146103a557600080fd5b80633121db1c146102f057806342842e0e146103105780634a29c4821461033057600080fd5b8063095ea7b3116101a0578063095ea7b31461025657806318160ddd146102785780631b1827491461029757806323b872dd146102d057600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004612821565b61059a565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610637565b6040516101f39190612896565b34801561022a57600080fd5b5061023e6102393660046128a9565b6106c9565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b506102766102713660046128d7565b610763565b005b34801561028457600080fd5b5060c9545b6040519081526020016101f3565b3480156102a357600080fd5b506102896102b2366004612903565b61019460209081526000928352604080842090915290825290205481565b3480156102dc57600080fd5b506102766102eb366004612933565b610895565b3480156102fc57600080fd5b5061027661030b3660046129bd565b61091c565b34801561031c57600080fd5b5061027661032b366004612933565b610981565b34801561033c57600080fd5b5061027661034b366004612abe565b61099c565b34801561035c57600080fd5b50610289610a8f565b34801561037157600080fd5b50610276610380366004612b50565b610a9f565b34801561039157600080fd5b5061023e6103a03660046128a9565b610b06565b3480156103b157600080fd5b506102896103c0366004612b92565b610b91565b3480156103d157600080fd5b50610276610c2b565b3480156103e657600080fd5b506033546001600160a01b031661023e565b34801561040457600080fd5b50610211610c91565b34801561041957600080fd5b506102896101915481565b34801561043057600080fd5b5061027661043f366004612baf565b610ca0565b34801561045057600080fd5b506102896101925481565b34801561046757600080fd5b5061047b610476366004612c27565b610d65565b6040516101f39190612c5d565b34801561049457600080fd5b506102766104a3366004612cbf565b610e5a565b3480156104b457600080fd5b506102766104c33660046128d7565b610ee8565b3480156104d457600080fd5b506102116104e33660046128a9565b610fbe565b3480156104f457600080fd5b5061015f54610289565b34801561050a57600080fd5b50610276610519366004612d33565b6110a7565b61027661052c366004612d5f565b611187565b34801561053d57600080fd5b506101e761054c366004612db2565b6001600160a01b039182166000908152609c6020908152604080832093909416825291909152205460ff1690565b34801561058657600080fd5b50610276610595366004612b92565b61142c565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806105fd57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061063157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606097805461064690612de0565b80601f016020809104026020016040519081016040528092919081815260200182805461067290612de0565b80156106bf5780601f10610694576101008083540402835291602001916106bf565b820191906000526020600020905b8154815290600101906020018083116106a257829003601f168201915b5050505050905090565b6000818152609960205260408120546001600160a01b03166107475760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152609b60205260409020546001600160a01b031690565b600061076e82610b06565b9050806001600160a01b0316836001600160a01b031614156107f85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161073e565b336001600160a01b03821614806108145750610814813361054c565b6108865760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161073e565b610890838361150e565b505050565b61089f3382611589565b6109115760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161073e565b610890838383611680565b6033546001600160a01b031633146109765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b61089083838361185a565b61089083838360405180602001604052806000815250610e5a565b600054610100900460ff16806109b5575060005460ff16155b610a185760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015610a3a576000805461ffff19166101011790555b610a42611989565b610a4c8585611a4b565b610a5583611b19565b8151610a69906101939060208501906126fe565b50610a7661dead61015f55565b8015610a88576000805461ff00191690555b5050505050565b6000610a9a60fb5490565b905090565b6033546001600160a01b03163314610af95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b6108906101938383612782565b6000818152609960205260408120546001600160a01b0316806106315760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161073e565b60006001600160a01b038216610c0f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161073e565b506001600160a01b03166000908152609a602052604090205490565b6033546001600160a01b03163314610c855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b610c8f6000611b2d565b565b60606098805461064690612de0565b6001600160a01b038216331415610cf95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161073e565b336000818152609c602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60608167ffffffffffffffff811115610d8057610d80612a12565b604051908082528060200260200182016040528015610db357816020015b6060815260200190600190039081610d9e5790505b50905060005b82811015610e5357610e2330858584818110610dd757610dd7612e1b565b9050602002810190610de99190612e31565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b828281518110610e3557610e35612e1b565b60200260200101819052508080610e4b90612e8e565b915050610db9565b5092915050565b610e643383611589565b610ed65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161073e565b610ee284848484611c8e565b50505050565b8080610ef2610a8f565b1015610f405760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e670000000000604482015260640161073e565b6033546001600160a01b03163314610f9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b60005b82811015610ee257610fae84611d17565b610fb781612e8e565b9050610f9d565b6000818152609960205260409020546060906001600160a01b031661104b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161073e565b6000611055611d2a565b9050600081511161107557604051806020016040528060008152506110a0565b8061107f84611d3a565b604051602001611090929190612ea9565b6040516020818303038152906040525b9392505050565b6033546001600160a01b031633146111015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b61110b8361015f55565b6101918190558161111a610a8f565b11611126576000611139565b8161112f610a8f565b6111399190612ed8565b610192556101915460408051858152602081019290925281018390527f5192aa8a20049a3054a8ed6d29f75322c5e5a339d0e58dce199f76c76e8912139060600160405180910390a1505050565b610192546111959085612eef565b8061119e610a8f565b10156111ec5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e670000000000604482015260640161073e565b610191546111fa9086612f07565b6033546001600160a01b0316813410156112565760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e74207061796d656e74000000000000000000000000604482015260640161073e565b6040516bffffffffffffffffffffffff193360601b16602082015260348101879052605401604051602081830303815290604052805190602001208585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505061015f541591508190506112df57506112df8161015f5484611e6c565b61132b5760405162461bcd60e51b815260206004820152601260248201527f70726f6f66206973206e6f742076616c69640000000000000000000000000000604482015260640161073e565b87156113e357600089610194600061134361015f5490565b8152602001908152602001600020600061135a3390565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546113899190612eef565b9250508190559050888111156113e15760405162461bcd60e51b815260206004820152601760248201527f57686974656c6973742071756f74612072656163686564000000000000000000604482015260640161073e565b505b60005b89811015611407576113f733611d17565b61140081612e8e565b90506113e6565b5050506001600160a01b03811615611423576114238134611f1b565b50505050505050565b6033546001600160a01b031633146114865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b6001600160a01b0381166115025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161073e565b61150b81611b2d565b50565b6000818152609b60205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061155082610b06565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609960205260408120546001600160a01b03166116025760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161073e565b600061160d83610b06565b9050806001600160a01b0316846001600160a01b031614806116485750836001600160a01b031661163d846106c9565b6001600160a01b0316145b8061167857506001600160a01b038082166000908152609c602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661169382610b06565b6001600160a01b03161461170f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b03821661178a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161073e565b61179560008261150e565b6001600160a01b0383166000908152609a602052604081208054600192906117be908490612ed8565b90915550506001600160a01b0382166000908152609a602052604081208054600192906117ec908490612eef565b9091555050600081815260996020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040517f02571be30000000000000000000000000000000000000000000000000000000081527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260048201526001600160a01b038416906302571be39060240160206040518083038186803b1580156118d257600080fd5b505afa1580156118e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190a9190612f26565b6001600160a01b031663c47f002783836040518363ffffffff1660e01b8152600401611937929190612f43565b602060405180830381600087803b15801561195157600080fd5b505af1158015611965573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee29190612f72565b600054610100900460ff16806119a2575060005460ff16155b611a055760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015611a27576000805461ffff19166101011790555b611a2f612034565b611a376120e5565b801561150b576000805461ff001916905550565b600054610100900460ff1680611a64575060005460ff16155b611ac75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015611ae9576000805461ffff19166101011790555b611af1612034565b611af9612034565b611b03838361218c565b8015610890576000805461ff0019169055505050565b611b2460fb82612268565b61150b8160c955565b603380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060823b611c025760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e74726163740000000000000000000000000000000000000000000000000000606482015260840161073e565b600080846001600160a01b031684604051611c1d9190612f8b565b600060405180830381855af49150503d8060008114611c58576040519150601f19603f3d011682016040523d82523d6000602084013e611c5d565b606091505b5091509150611c85828260405180606001604052806027815260200161306c602791396122bd565b95945050505050565b611c99848484611680565b611ca5848484846122f6565b610ee25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161073e565b61150b81611d2560fb612459565b61246c565b6060610193805461064690612de0565b606081611d7a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611da45780611d8e81612e8e565b9150611d9d9050600a83612fbd565b9150611d7e565b60008167ffffffffffffffff811115611dbf57611dbf612a12565b6040519080825280601f01601f191660200182016040528015611de9576020820181803683370190505b5090505b841561167857611dfe600183612ed8565b9150611e0b600a86612fd1565b611e16906030612eef565b60f81b818381518110611e2b57611e2b612e1b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e65600a86612fbd565b9450611ded565b600081815b8551811015611f10576000868281518110611e8e57611e8e612e1b565b60200260200101519050808311611ed0576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611efd565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611f0881612e8e565b915050611e71565b509092149392505050565b80471015611f6b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161073e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611fb8576040519150601f19603f3d011682016040523d82523d6000602084013e611fbd565b606091505b50509050806108905760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161073e565b600054610100900460ff168061204d575060005460ff16155b6120b05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015611a37576000805461ffff1916610101179055801561150b576000805461ff001916905550565b600054610100900460ff16806120fe575060005460ff16155b6121615760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015612183576000805461ffff19166101011790555b611a3733611b2d565b600054610100900460ff16806121a5575060005460ff16155b6122085760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff1615801561222a576000805461ffff19166101011790555b825161223d9060979060208601906126fe565b5081516122519060989060208501906126fe565b508015610890576000805461ff0019169055505050565b81548290156122b95760405162461bcd60e51b815260206004820152601f60248201527f63616e6e6f742d73657475702d647572696e672d6163746976652d6472617700604482015260640161073e565b5550565b606083156122cc5750816110a0565b8251156122dc5782518084602001fd5b8160405162461bcd60e51b815260040161073e9190612896565b60006001600160a01b0384163b1561244e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061233a903390899088908890600401612fe5565b602060405180830381600087803b15801561235457600080fd5b505af1925050508015612384575060408051601f3d908101601f1916820190925261238191810190613021565b60015b612434573d8080156123b2576040519150601f19603f3d011682016040523d82523d6000602084013e6123b7565b606091505b50805161242c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161073e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611678565b506001949350505050565b6000610631826124676125bb565b61260f565b6001600160a01b0382166124c25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161073e565b6000818152609960205260409020546001600160a01b0316156125275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161073e565b6001600160a01b0382166000908152609a60205260408120805460019290612550908490612eef565b9091555050600081815260996020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006125c8600143612ed8565b6040805191406020830152429082015233606090811b6bffffffffffffffffffffffff19169082015260740160405160208183030381529060405280519060200120905090565b81546000908390826126218286612fd1565b9050600083828154811061263757612637612e1b565b600091825260208220015491508461264e8561303e565b9450848154811061266157612661612e1b565b90600052602060002001549050816000141561268557612682836001612eef565b91505b8061269857612695846001612eef565b90505b8383146126bf57808584815481106126b2576126b2612e1b565b6000918252602090912001555b848054806126cf576126cf613055565b600190038181906000526020600020016000905590556001826126f29190612ed8565b98975050505050505050565b82805461270a90612de0565b90600052602060002090601f01602090048101928261272c5760008555612772565b82601f1061274557805160ff1916838001178555612772565b82800160010185558215612772579182015b82811115612772578251825591602001919060010190612757565b5061277e9291506127f6565b5090565b82805461278e90612de0565b90600052602060002090601f0160209004810192826127b05760008555612772565b82601f106127c95782800160ff19823516178555612772565b82800160010185558215612772579182015b828111156127725782358255916020019190600101906127db565b5b8082111561277e57600081556001016127f7565b6001600160e01b03198116811461150b57600080fd5b60006020828403121561283357600080fd5b81356110a08161280b565b60005b83811015612859578181015183820152602001612841565b83811115610ee25750506000910152565b6000815180845261288281602086016020860161283e565b601f01601f19169290920160200192915050565b6020815260006110a0602083018461286a565b6000602082840312156128bb57600080fd5b5035919050565b6001600160a01b038116811461150b57600080fd5b600080604083850312156128ea57600080fd5b82356128f5816128c2565b946020939093013593505050565b6000806040838503121561291657600080fd5b823591506020830135612928816128c2565b809150509250929050565b60008060006060848603121561294857600080fd5b8335612953816128c2565b92506020840135612963816128c2565b929592945050506040919091013590565b60008083601f84011261298657600080fd5b50813567ffffffffffffffff81111561299e57600080fd5b6020830191508360208285010111156129b657600080fd5b9250929050565b6000806000604084860312156129d257600080fd5b83356129dd816128c2565b9250602084013567ffffffffffffffff8111156129f957600080fd5b612a0586828701612974565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612a4357612a43612a12565b604051601f8501601f19908116603f01168101908282118183101715612a6b57612a6b612a12565b81604052809350858152868686011115612a8457600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612aaf57600080fd5b6110a083833560208501612a28565b60008060008060808587031215612ad457600080fd5b843567ffffffffffffffff80821115612aec57600080fd5b612af888838901612a9e565b95506020870135915080821115612b0e57600080fd5b612b1a88838901612a9e565b9450604087013593506060870135915080821115612b3757600080fd5b50612b4487828801612a9e565b91505092959194509250565b60008060208385031215612b6357600080fd5b823567ffffffffffffffff811115612b7a57600080fd5b612b8685828601612974565b90969095509350505050565b600060208284031215612ba457600080fd5b81356110a0816128c2565b60008060408385031215612bc257600080fd5b8235612bcd816128c2565b91506020830135801515811461292857600080fd5b60008083601f840112612bf457600080fd5b50813567ffffffffffffffff811115612c0c57600080fd5b6020830191508360208260051b85010111156129b657600080fd5b60008060208385031215612c3a57600080fd5b823567ffffffffffffffff811115612c5157600080fd5b612b8685828601612be2565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612cb257603f19888603018452612ca085835161286a565b94509285019290850190600101612c84565b5092979650505050505050565b60008060008060808587031215612cd557600080fd5b8435612ce0816128c2565b93506020850135612cf0816128c2565b925060408501359150606085013567ffffffffffffffff811115612d1357600080fd5b8501601f81018713612d2457600080fd5b612b4487823560208401612a28565b600080600060608486031215612d4857600080fd5b505081359360208301359350604090920135919050565b60008060008060608587031215612d7557600080fd5b8435935060208501359250604085013567ffffffffffffffff811115612d9a57600080fd5b612da687828801612be2565b95989497509550505050565b60008060408385031215612dc557600080fd5b8235612dd0816128c2565b91506020830135612928816128c2565b600181811c90821680612df457607f821691505b60208210811415612e1557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112612e4857600080fd5b83018035915067ffffffffffffffff821115612e6357600080fd5b6020019150368190038213156129b657600080fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612ea257612ea2612e78565b5060010190565b60008351612ebb81846020880161283e565b835190830190612ecf81836020880161283e565b01949350505050565b600082821015612eea57612eea612e78565b500390565b60008219821115612f0257612f02612e78565b500190565b6000816000190483118215151615612f2157612f21612e78565b500290565b600060208284031215612f3857600080fd5b81516110a0816128c2565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215612f8457600080fd5b5051919050565b60008251612f9d81846020870161283e565b9190910192915050565b634e487b7160e01b600052601260045260246000fd5b600082612fcc57612fcc612fa7565b500490565b600082612fe057612fe0612fa7565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613017608083018461286a565b9695505050505050565b60006020828403121561303357600080fd5b81516110a08161280b565b60008161304d5761304d612e78565b506000190190565b634e487b7160e01b600052603160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220461bdd73d9145493bc292d638851b555096e2ceb14a38f99b29d83c7b067081e64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101c25760003560e01c8063715018a6116100f7578063b88d4fde11610095578063e41946ac11610064578063e41946ac146104fe578063e6d37b881461051e578063e985e9c514610531578063f2fde38b1461057a57600080fd5b8063b88d4fde14610488578063c3a71999146104a8578063c87b56dd146104c8578063d01f63f5146104e857600080fd5b8063a035b1fe116100d1578063a035b1fe1461040d578063a22cb46514610424578063a4d66daf14610444578063ac9650d81461045b57600080fd5b8063715018a6146103c55780638da5cb5b146103da57806395d89b41146103f857600080fd5b80633121db1c1161016457806355234ec01161013e57806355234ec01461035057806355f804b3146103655780636352211e1461038557806370a08231146103a557600080fd5b80633121db1c146102f057806342842e0e146103105780634a29c4821461033057600080fd5b8063095ea7b3116101a0578063095ea7b31461025657806318160ddd146102785780631b1827491461029757806323b872dd146102d057600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004612821565b61059a565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610637565b6040516101f39190612896565b34801561022a57600080fd5b5061023e6102393660046128a9565b6106c9565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b506102766102713660046128d7565b610763565b005b34801561028457600080fd5b5060c9545b6040519081526020016101f3565b3480156102a357600080fd5b506102896102b2366004612903565b61019460209081526000928352604080842090915290825290205481565b3480156102dc57600080fd5b506102766102eb366004612933565b610895565b3480156102fc57600080fd5b5061027661030b3660046129bd565b61091c565b34801561031c57600080fd5b5061027661032b366004612933565b610981565b34801561033c57600080fd5b5061027661034b366004612abe565b61099c565b34801561035c57600080fd5b50610289610a8f565b34801561037157600080fd5b50610276610380366004612b50565b610a9f565b34801561039157600080fd5b5061023e6103a03660046128a9565b610b06565b3480156103b157600080fd5b506102896103c0366004612b92565b610b91565b3480156103d157600080fd5b50610276610c2b565b3480156103e657600080fd5b506033546001600160a01b031661023e565b34801561040457600080fd5b50610211610c91565b34801561041957600080fd5b506102896101915481565b34801561043057600080fd5b5061027661043f366004612baf565b610ca0565b34801561045057600080fd5b506102896101925481565b34801561046757600080fd5b5061047b610476366004612c27565b610d65565b6040516101f39190612c5d565b34801561049457600080fd5b506102766104a3366004612cbf565b610e5a565b3480156104b457600080fd5b506102766104c33660046128d7565b610ee8565b3480156104d457600080fd5b506102116104e33660046128a9565b610fbe565b3480156104f457600080fd5b5061015f54610289565b34801561050a57600080fd5b50610276610519366004612d33565b6110a7565b61027661052c366004612d5f565b611187565b34801561053d57600080fd5b506101e761054c366004612db2565b6001600160a01b039182166000908152609c6020908152604080832093909416825291909152205460ff1690565b34801561058657600080fd5b50610276610595366004612b92565b61142c565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806105fd57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061063157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606097805461064690612de0565b80601f016020809104026020016040519081016040528092919081815260200182805461067290612de0565b80156106bf5780601f10610694576101008083540402835291602001916106bf565b820191906000526020600020905b8154815290600101906020018083116106a257829003601f168201915b5050505050905090565b6000818152609960205260408120546001600160a01b03166107475760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152609b60205260409020546001600160a01b031690565b600061076e82610b06565b9050806001600160a01b0316836001600160a01b031614156107f85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161073e565b336001600160a01b03821614806108145750610814813361054c565b6108865760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161073e565b610890838361150e565b505050565b61089f3382611589565b6109115760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161073e565b610890838383611680565b6033546001600160a01b031633146109765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b61089083838361185a565b61089083838360405180602001604052806000815250610e5a565b600054610100900460ff16806109b5575060005460ff16155b610a185760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015610a3a576000805461ffff19166101011790555b610a42611989565b610a4c8585611a4b565b610a5583611b19565b8151610a69906101939060208501906126fe565b50610a7661dead61015f55565b8015610a88576000805461ff00191690555b5050505050565b6000610a9a60fb5490565b905090565b6033546001600160a01b03163314610af95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b6108906101938383612782565b6000818152609960205260408120546001600160a01b0316806106315760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161073e565b60006001600160a01b038216610c0f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161073e565b506001600160a01b03166000908152609a602052604090205490565b6033546001600160a01b03163314610c855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b610c8f6000611b2d565b565b60606098805461064690612de0565b6001600160a01b038216331415610cf95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161073e565b336000818152609c602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60608167ffffffffffffffff811115610d8057610d80612a12565b604051908082528060200260200182016040528015610db357816020015b6060815260200190600190039081610d9e5790505b50905060005b82811015610e5357610e2330858584818110610dd757610dd7612e1b565b9050602002810190610de99190612e31565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b8c92505050565b828281518110610e3557610e35612e1b565b60200260200101819052508080610e4b90612e8e565b915050610db9565b5092915050565b610e643383611589565b610ed65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161073e565b610ee284848484611c8e565b50505050565b8080610ef2610a8f565b1015610f405760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e670000000000604482015260640161073e565b6033546001600160a01b03163314610f9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b60005b82811015610ee257610fae84611d17565b610fb781612e8e565b9050610f9d565b6000818152609960205260409020546060906001600160a01b031661104b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161073e565b6000611055611d2a565b9050600081511161107557604051806020016040528060008152506110a0565b8061107f84611d3a565b604051602001611090929190612ea9565b6040516020818303038152906040525b9392505050565b6033546001600160a01b031633146111015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b61110b8361015f55565b6101918190558161111a610a8f565b11611126576000611139565b8161112f610a8f565b6111399190612ed8565b610192556101915460408051858152602081019290925281018390527f5192aa8a20049a3054a8ed6d29f75322c5e5a339d0e58dce199f76c76e8912139060600160405180910390a1505050565b610192546111959085612eef565b8061119e610a8f565b10156111ec5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e670000000000604482015260640161073e565b610191546111fa9086612f07565b6033546001600160a01b0316813410156112565760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e74207061796d656e74000000000000000000000000604482015260640161073e565b6040516bffffffffffffffffffffffff193360601b16602082015260348101879052605401604051602081830303815290604052805190602001208585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505061015f541591508190506112df57506112df8161015f5484611e6c565b61132b5760405162461bcd60e51b815260206004820152601260248201527f70726f6f66206973206e6f742076616c69640000000000000000000000000000604482015260640161073e565b87156113e357600089610194600061134361015f5490565b8152602001908152602001600020600061135a3390565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546113899190612eef565b9250508190559050888111156113e15760405162461bcd60e51b815260206004820152601760248201527f57686974656c6973742071756f74612072656163686564000000000000000000604482015260640161073e565b505b60005b89811015611407576113f733611d17565b61140081612e8e565b90506113e6565b5050506001600160a01b03811615611423576114238134611f1b565b50505050505050565b6033546001600160a01b031633146114865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b6001600160a01b0381166115025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161073e565b61150b81611b2d565b50565b6000818152609b60205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061155082610b06565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609960205260408120546001600160a01b03166116025760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161073e565b600061160d83610b06565b9050806001600160a01b0316846001600160a01b031614806116485750836001600160a01b031661163d846106c9565b6001600160a01b0316145b8061167857506001600160a01b038082166000908152609c602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661169382610b06565b6001600160a01b03161461170f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b03821661178a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161073e565b61179560008261150e565b6001600160a01b0383166000908152609a602052604081208054600192906117be908490612ed8565b90915550506001600160a01b0382166000908152609a602052604081208054600192906117ec908490612eef565b9091555050600081815260996020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040517f02571be30000000000000000000000000000000000000000000000000000000081527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260048201526001600160a01b038416906302571be39060240160206040518083038186803b1580156118d257600080fd5b505afa1580156118e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190a9190612f26565b6001600160a01b031663c47f002783836040518363ffffffff1660e01b8152600401611937929190612f43565b602060405180830381600087803b15801561195157600080fd5b505af1158015611965573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee29190612f72565b600054610100900460ff16806119a2575060005460ff16155b611a055760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015611a27576000805461ffff19166101011790555b611a2f612034565b611a376120e5565b801561150b576000805461ff001916905550565b600054610100900460ff1680611a64575060005460ff16155b611ac75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015611ae9576000805461ffff19166101011790555b611af1612034565b611af9612034565b611b03838361218c565b8015610890576000805461ff0019169055505050565b611b2460fb82612268565b61150b8160c955565b603380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060823b611c025760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e74726163740000000000000000000000000000000000000000000000000000606482015260840161073e565b600080846001600160a01b031684604051611c1d9190612f8b565b600060405180830381855af49150503d8060008114611c58576040519150601f19603f3d011682016040523d82523d6000602084013e611c5d565b606091505b5091509150611c85828260405180606001604052806027815260200161306c602791396122bd565b95945050505050565b611c99848484611680565b611ca5848484846122f6565b610ee25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161073e565b61150b81611d2560fb612459565b61246c565b6060610193805461064690612de0565b606081611d7a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611da45780611d8e81612e8e565b9150611d9d9050600a83612fbd565b9150611d7e565b60008167ffffffffffffffff811115611dbf57611dbf612a12565b6040519080825280601f01601f191660200182016040528015611de9576020820181803683370190505b5090505b841561167857611dfe600183612ed8565b9150611e0b600a86612fd1565b611e16906030612eef565b60f81b818381518110611e2b57611e2b612e1b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e65600a86612fbd565b9450611ded565b600081815b8551811015611f10576000868281518110611e8e57611e8e612e1b565b60200260200101519050808311611ed0576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611efd565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611f0881612e8e565b915050611e71565b509092149392505050565b80471015611f6b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161073e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611fb8576040519150601f19603f3d011682016040523d82523d6000602084013e611fbd565b606091505b50509050806108905760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161073e565b600054610100900460ff168061204d575060005460ff16155b6120b05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015611a37576000805461ffff1916610101179055801561150b576000805461ff001916905550565b600054610100900460ff16806120fe575060005460ff16155b6121615760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff16158015612183576000805461ffff19166101011790555b611a3733611b2d565b600054610100900460ff16806121a5575060005460ff16155b6122085760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161073e565b600054610100900460ff1615801561222a576000805461ffff19166101011790555b825161223d9060979060208601906126fe565b5081516122519060989060208501906126fe565b508015610890576000805461ff0019169055505050565b81548290156122b95760405162461bcd60e51b815260206004820152601f60248201527f63616e6e6f742d73657475702d647572696e672d6163746976652d6472617700604482015260640161073e565b5550565b606083156122cc5750816110a0565b8251156122dc5782518084602001fd5b8160405162461bcd60e51b815260040161073e9190612896565b60006001600160a01b0384163b1561244e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061233a903390899088908890600401612fe5565b602060405180830381600087803b15801561235457600080fd5b505af1925050508015612384575060408051601f3d908101601f1916820190925261238191810190613021565b60015b612434573d8080156123b2576040519150601f19603f3d011682016040523d82523d6000602084013e6123b7565b606091505b50805161242c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161073e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611678565b506001949350505050565b6000610631826124676125bb565b61260f565b6001600160a01b0382166124c25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161073e565b6000818152609960205260409020546001600160a01b0316156125275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161073e565b6001600160a01b0382166000908152609a60205260408120805460019290612550908490612eef565b9091555050600081815260996020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006125c8600143612ed8565b6040805191406020830152429082015233606090811b6bffffffffffffffffffffffff19169082015260740160405160208183030381529060405280519060200120905090565b81546000908390826126218286612fd1565b9050600083828154811061263757612637612e1b565b600091825260208220015491508461264e8561303e565b9450848154811061266157612661612e1b565b90600052602060002001549050816000141561268557612682836001612eef565b91505b8061269857612695846001612eef565b90505b8383146126bf57808584815481106126b2576126b2612e1b565b6000918252602090912001555b848054806126cf576126cf613055565b600190038181906000526020600020016000905590556001826126f29190612ed8565b98975050505050505050565b82805461270a90612de0565b90600052602060002090601f01602090048101928261272c5760008555612772565b82601f1061274557805160ff1916838001178555612772565b82800160010185558215612772579182015b82811115612772578251825591602001919060010190612757565b5061277e9291506127f6565b5090565b82805461278e90612de0565b90600052602060002090601f0160209004810192826127b05760008555612772565b82601f106127c95782800160ff19823516178555612772565b82800160010185558215612772579182015b828111156127725782358255916020019190600101906127db565b5b8082111561277e57600081556001016127f7565b6001600160e01b03198116811461150b57600080fd5b60006020828403121561283357600080fd5b81356110a08161280b565b60005b83811015612859578181015183820152602001612841565b83811115610ee25750506000910152565b6000815180845261288281602086016020860161283e565b601f01601f19169290920160200192915050565b6020815260006110a0602083018461286a565b6000602082840312156128bb57600080fd5b5035919050565b6001600160a01b038116811461150b57600080fd5b600080604083850312156128ea57600080fd5b82356128f5816128c2565b946020939093013593505050565b6000806040838503121561291657600080fd5b823591506020830135612928816128c2565b809150509250929050565b60008060006060848603121561294857600080fd5b8335612953816128c2565b92506020840135612963816128c2565b929592945050506040919091013590565b60008083601f84011261298657600080fd5b50813567ffffffffffffffff81111561299e57600080fd5b6020830191508360208285010111156129b657600080fd5b9250929050565b6000806000604084860312156129d257600080fd5b83356129dd816128c2565b9250602084013567ffffffffffffffff8111156129f957600080fd5b612a0586828701612974565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612a4357612a43612a12565b604051601f8501601f19908116603f01168101908282118183101715612a6b57612a6b612a12565b81604052809350858152868686011115612a8457600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612aaf57600080fd5b6110a083833560208501612a28565b60008060008060808587031215612ad457600080fd5b843567ffffffffffffffff80821115612aec57600080fd5b612af888838901612a9e565b95506020870135915080821115612b0e57600080fd5b612b1a88838901612a9e565b9450604087013593506060870135915080821115612b3757600080fd5b50612b4487828801612a9e565b91505092959194509250565b60008060208385031215612b6357600080fd5b823567ffffffffffffffff811115612b7a57600080fd5b612b8685828601612974565b90969095509350505050565b600060208284031215612ba457600080fd5b81356110a0816128c2565b60008060408385031215612bc257600080fd5b8235612bcd816128c2565b91506020830135801515811461292857600080fd5b60008083601f840112612bf457600080fd5b50813567ffffffffffffffff811115612c0c57600080fd5b6020830191508360208260051b85010111156129b657600080fd5b60008060208385031215612c3a57600080fd5b823567ffffffffffffffff811115612c5157600080fd5b612b8685828601612be2565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612cb257603f19888603018452612ca085835161286a565b94509285019290850190600101612c84565b5092979650505050505050565b60008060008060808587031215612cd557600080fd5b8435612ce0816128c2565b93506020850135612cf0816128c2565b925060408501359150606085013567ffffffffffffffff811115612d1357600080fd5b8501601f81018713612d2457600080fd5b612b4487823560208401612a28565b600080600060608486031215612d4857600080fd5b505081359360208301359350604090920135919050565b60008060008060608587031215612d7557600080fd5b8435935060208501359250604085013567ffffffffffffffff811115612d9a57600080fd5b612da687828801612be2565b95989497509550505050565b60008060408385031215612dc557600080fd5b8235612dd0816128c2565b91506020830135612928816128c2565b600181811c90821680612df457607f821691505b60208210811415612e1557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112612e4857600080fd5b83018035915067ffffffffffffffff821115612e6357600080fd5b6020019150368190038213156129b657600080fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612ea257612ea2612e78565b5060010190565b60008351612ebb81846020880161283e565b835190830190612ecf81836020880161283e565b01949350505050565b600082821015612eea57612eea612e78565b500390565b60008219821115612f0257612f02612e78565b500190565b6000816000190483118215151615612f2157612f21612e78565b500290565b600060208284031215612f3857600080fd5b81516110a0816128c2565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215612f8457600080fd5b5051919050565b60008251612f9d81846020870161283e565b9190910192915050565b634e487b7160e01b600052601260045260246000fd5b600082612fcc57612fcc612fa7565b500490565b600082612fe057612fe0612fa7565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613017608083018461286a565b9695505050505050565b60006020828403121561303357600080fd5b81516110a08161280b565b60008161304d5761304d612e78565b506000190190565b634e487b7160e01b600052603160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220461bdd73d9145493bc292d638851b555096e2ceb14a38f99b29d83c7b067081e64736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.