ERC-721
Overview
Max Total Supply
0 GIFT
Holders
354
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GIFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LondonGift
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC20Mintable.sol"; import "./Erc721.sol"; import "./Ownable.sol"; import "./utils/Strings.sol"; contract LondonGift is Ownable, ERC721 { using Strings for uint256; uint256 constant MAX_MINT_PER_TX = 10; uint256 constant MAX_MINT_BEFORE_UNLOCKED = 1; ERC20Mintable public immutable payableErc20; uint256 public immutable mintPrice; // uint256 public immutable maxMintPerAddress; uint256 public immutable maxSupply; bytes32 public immutable provenance; uint256 public startingIndex = 0; uint256 public mintStartAtBlockNum; uint256 public unlockStartAtBlockNum; uint256 public revealStartAtBlockNum; address public treasury; string public baseMetadataURI; string public contractURI; uint256 public tokenIndex; mapping(address => uint256) public mintedAmounts; constructor ( string memory name_, string memory symbol_, address _payableErc20, uint256 _mintPrice, // uint256 _maxMintPerAddress, uint256 _maxSupply, bytes32 _provenance ) ERC721(name_, symbol_) { payableErc20 = ERC20Mintable(_payableErc20); mintPrice = _mintPrice; // maxMintPerAddress = _maxMintPerAddress; maxSupply = _maxSupply; provenance = _provenance; } function setTreasury(address _treasury) public onlyOwner { treasury = _treasury; } function setBaseMetadataURI(string memory _baseMetadataURI) public onlyOwner { baseMetadataURI = _baseMetadataURI; } function setContractURI(string calldata newContractURI) external onlyOwner { contractURI = newContractURI; } function setRevealStartAtBlockNum(uint256 _revealStartAtBlockNum) public onlyOwner { revealStartAtBlockNum = _revealStartAtBlockNum; } function setMintStartAtBlockNum(uint256 _mintStartAtBlockNum) public onlyOwner { mintStartAtBlockNum = _mintStartAtBlockNum; } function setUnlockStartAtBlockNum(uint256 _unlockStartAtBlockNum) public onlyOwner { unlockStartAtBlockNum = _unlockStartAtBlockNum; } function emergencySetStartingIndex(uint256 _startingIndex) public onlyOwner { require(_startingIndex != 0, 'starting index can not be zero'); require(startingIndex == 0, 'starting index already set'); startingIndex = _startingIndex; } modifier onlyUnderMaxSupply(uint mintAmount) { require(tokenIndex + mintAmount <= maxSupply, 'max supply minted'); _; } modifier onlyUnderMaxMintPerAddressWhenNotUnlocked(uint mintAmount) { require(unlockStartAtBlockNum != 0, 'unlockStartAtBlockNum not set'); require(block.number > unlockStartAtBlockNum || mintedAmounts[_msgSender()] + mintAmount <= MAX_MINT_BEFORE_UNLOCKED, 'Max supply per address minted'); _; } modifier onlyMintUnderMaxPerTx(uint256 mintAmount) { require(mintAmount <= MAX_MINT_PER_TX, 'too many mints in one go'); _; } modifier onlyAfterMintStartAtBlockNum() { require(mintStartAtBlockNum != 0 && block.number > mintStartAtBlockNum, 'too early'); _; } function _baseURI() override internal view virtual returns (string memory) { if (startingIndex == 0) { return ""; } return baseMetadataURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); uint256 id = tokenId + startingIndex % maxSupply; string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, id.toString())) : ""; } function mint(uint mintAmount) onlyAfterMintStartAtBlockNum() onlyUnderMaxSupply(mintAmount) onlyMintUnderMaxPerTx(mintAmount) onlyUnderMaxMintPerAddressWhenNotUnlocked(mintAmount) public { // ensure approval is met require(payableErc20.allowance(_msgSender(), address(this)) >= (mintPrice * mintAmount), "Allowance not set to mint"); require(payableErc20.balanceOf(_msgSender()) >= (mintPrice * mintAmount), "Not enough token to mint"); // transfer payableERC20 payableErc20.transferFrom(_msgSender(), treasury, (mintPrice * mintAmount)); for (uint i = 0; i < mintAmount; ++i) { // mint token _safeMint(_msgSender(), tokenIndex); // increment tokenIndex++; } mintedAmounts[_msgSender()] += mintAmount; if (startingIndex == 0 && (tokenIndex == maxSupply || (block.number > revealStartAtBlockNum && revealStartAtBlockNum != 0))) { startingIndex = uint(blockhash(block.number - 1)) % maxSupply; if (startingIndex == 0) { startingIndex += 1; } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC20.sol"; import "./Ownable.sol"; contract ERC20Mintable is Ownable, ERC20 { address public minter; constructor (address minter_, string memory name_, string memory symbol_) ERC20(name_, symbol_) { minter = minter_; } function setMinter(address _minter) public onlyOwner { minter = _minter; } modifier onlyMinter() { require(minter == _msgSender(), "Only minter can call."); _; } function mint(address account, uint256 amount) onlyMinter public { _mint(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interface/IERC721.sol"; import "./interface/IERC721Receiver.sol"; import "./interface/IERC721Metadata.sol"; import "./utils/Address.sol"; import "./utils/Context.sol"; import "./utils/Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` 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 = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view 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 onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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 onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interface/IERC20.sol"; import "./interface/IERC20Metadata.sol"; import "./utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ 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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interface/IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"_payableErc20","type":"address"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"bytes32","name":"_provenance","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseMetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startingIndex","type":"uint256"}],"name":"emergencySetStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStartAtBlockNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"payableErc20","outputs":[{"internalType":"contract ERC20Mintable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealStartAtBlockNum","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":"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":"_baseMetadataURI","type":"string"}],"name":"setBaseMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintStartAtBlockNum","type":"uint256"}],"name":"setMintStartAtBlockNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revealStartAtBlockNum","type":"uint256"}],"name":"setRevealStartAtBlockNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unlockStartAtBlockNum","type":"uint256"}],"name":"setUnlockStartAtBlockNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockStartAtBlockNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
61010060405260006007553480156200001757600080fd5b5060405162004c1c38038062004c1c83398181016040528101906200003d9190620002ed565b85856000620000516200017e60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200010792919062000186565b5080600290805190602001906200012092919062000186565b5050508373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508260a081815250508160c081815250508060e08181525050505050505050620005bb565b600033905090565b828054620001949062000492565b90600052602060002090601f016020900481019282620001b8576000855562000204565b82601f10620001d357805160ff191683800117855562000204565b8280016001018555821562000204579182015b8281111562000203578251825591602001919060010190620001e6565b5b50905062000213919062000217565b5090565b5b808211156200023257600081600090555060010162000218565b5090565b60006200024d6200024784620003de565b620003b5565b9050828152602081018484840111156200026657600080fd5b620002738482856200045c565b509392505050565b6000815190506200028c816200056d565b92915050565b600081519050620002a38162000587565b92915050565b600082601f830112620002bb57600080fd5b8151620002cd84826020860162000236565b91505092915050565b600081519050620002e781620005a1565b92915050565b60008060008060008060c087890312156200030757600080fd5b600087015167ffffffffffffffff8111156200032257600080fd5b6200033089828a01620002a9565b965050602087015167ffffffffffffffff8111156200034e57600080fd5b6200035c89828a01620002a9565b95505060406200036f89828a016200027b565b94505060606200038289828a01620002d6565b93505060806200039589828a01620002d6565b92505060a0620003a889828a0162000292565b9150509295509295509295565b6000620003c1620003d4565b9050620003cf8282620004c8565b919050565b6000604051905090565b600067ffffffffffffffff821115620003fc57620003fb6200052d565b5b62000407826200055c565b9050602081019050919050565b6000620004218262000432565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200047c5780820151818401526020810190506200045f565b838111156200048c576000848401525b50505050565b60006002820490506001821680620004ab57607f821691505b60208210811415620004c257620004c1620004fe565b5b50919050565b620004d3826200055c565b810181811067ffffffffffffffff82111715620004f557620004f46200052d565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005788162000414565b81146200058457600080fd5b50565b620005928162000428565b81146200059e57600080fd5b50565b620005ac8162000452565b8114620005b857600080fd5b50565b60805160601c60a05160c05160e0516145de6200063e6000396000610a82015260008181611333015281816118c20152818161190801528181611ba60152611c4b015260008181610e83015281816114d1015281816115f00152611774015260008181610d87015281816114fc0152818161161b015261170c01526145de6000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c806370a0823111610130578063c87b56dd116100b8578063e985e9c51161007c578063e985e9c51461062e578063ef6f3db21461065e578063f0f442601461067a578063f2fde38b14610696578063f6b9027c146106b257610227565b8063c87b56dd14610586578063cb774d47146105b6578063d55f9273146105d4578063d5abeb01146105f2578063e8a3d4851461061057610227565b8063938e3d7b116100ff578063938e3d7b146104f857806395d89b4114610514578063a0712d6814610532578063a22cb4651461054e578063b88d4fde1461056a57610227565b806370a0823114610484578063715018a6146104b45780637e518ec8146104be5780638da5cb5b146104da57610227565b806342842e0e116101b35780635cc02ee9116101825780635cc02ee9146103ca57806361d027b3146103e85780636352211e146104065780636817c76c146104365780636ef0d8551461045457610227565b806342842e0e14610356578063511c79321461037257806355339347146103905780635b2bd79e146103ac57610227565b8063095ea7b3116101fa578063095ea7b3146102c65780630f7309e8146102e25780631aaa4c021461030057806323b872dd1461031c5780632c37b5791461033857610227565b806301ffc9a71461022c578063037b9b451461025c57806306fdde0314610278578063081812fc14610296575b600080fd5b610246600480360381019061024191906130fa565b6106d0565b6040516102539190613768565b60405180910390f35b610276600480360381019061027191906131d2565b6107b2565b005b610280610851565b60405161028d91906137b9565b60405180910390f35b6102b060048036038101906102ab91906131d2565b6108e3565b6040516102bd91906136a1565b60405180910390f35b6102e060048036038101906102db9190613095565b610968565b005b6102ea610a80565b6040516102f79190613783565b60405180910390f35b61031a600480360381019061031591906131d2565b610aa4565b005b61033660048036038101906103319190612f8f565b610b43565b005b610340610ba3565b60405161034d9190613afb565b60405180910390f35b610370600480360381019061036b9190612f8f565b610ba9565b005b61037a610bc9565b6040516103879190613afb565b60405180910390f35b6103aa60048036038101906103a591906131d2565b610bcf565b005b6103b4610cf7565b6040516103c191906137b9565b60405180910390f35b6103d2610d85565b6040516103df919061379e565b60405180910390f35b6103f0610da9565b6040516103fd91906136a1565b60405180910390f35b610420600480360381019061041b91906131d2565b610dcf565b60405161042d91906136a1565b60405180910390f35b61043e610e81565b60405161044b9190613afb565b60405180910390f35b61046e60048036038101906104699190612f2a565b610ea5565b60405161047b9190613afb565b60405180910390f35b61049e60048036038101906104999190612f2a565b610ebd565b6040516104ab9190613afb565b60405180910390f35b6104bc610f75565b005b6104d860048036038101906104d39190613191565b6110c8565b005b6104e2611177565b6040516104ef91906136a1565b60405180910390f35b610512600480360381019061050d919061314c565b6111a0565b005b61051c61124b565b60405161052991906137b9565b60405180910390f35b61054c600480360381019061054791906131d2565b6112dd565b005b61056860048036038101906105639190613059565b611975565b005b610584600480360381019061057f9190612fde565b611af6565b005b6105a0600480360381019061059b91906131d2565b611b58565b6040516105ad91906137b9565b60405180910390f35b6105be611c3d565b6040516105cb9190613afb565b60405180910390f35b6105dc611c43565b6040516105e99190613afb565b60405180910390f35b6105fa611c49565b6040516106079190613afb565b60405180910390f35b610618611c6d565b60405161062591906137b9565b60405180910390f35b61064860048036038101906106439190612f53565b611cfb565b6040516106559190613768565b60405180910390f35b610678600480360381019061067391906131d2565b611d8f565b005b610694600480360381019061068f9190612f2a565b611e2e565b005b6106b060048036038101906106ab9190612f2a565b611f07565b005b6106ba6120c9565b6040516106c79190613afb565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107ab57506107aa826120cf565b5b9050919050565b6107ba612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083e906139fb565b60405180910390fd5b8060098190555050565b60606001805461086090613dd9565b80601f016020809104026020016040519081016040528092919081815260200182805461088c90613dd9565b80156108d95780601f106108ae576101008083540402835291602001916108d9565b820191906000526020600020905b8154815290600101906020018083116108bc57829003601f168201915b5050505050905090565b60006108ee82612141565b61092d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610924906139db565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097382610dcf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90613a7b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a03612139565b73ffffffffffffffffffffffffffffffffffffffff161480610a325750610a3181610a2c612139565b611cfb565b5b610a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a68906138fb565b60405180910390fd5b610a7b83836121ad565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610aac612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b30906139fb565b60405180910390fd5b80600a8190555050565b610b54610b4e612139565b82612266565b610b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8a90613a9b565b60405180910390fd5b610b9e838383612344565b505050565b60095481565b610bc483838360405180602001604052806000815250611af6565b505050565b600a5481565b610bd7612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5b906139fb565b60405180910390fd5b6000811415610ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9f9061397b565b60405180910390fd5b600060075414610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490613a5b565b60405180910390fd5b8060078190555050565b600c8054610d0490613dd9565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3090613dd9565b8015610d7d5780601f10610d5257610100808354040283529160200191610d7d565b820191906000526020600020905b815481529060010190602001808311610d6057829003601f168201915b505050505081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f9061393b565b60405180910390fd5b80915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600f6020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f259061391b565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f7d612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611001906139fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6110d0612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461115d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611154906139fb565b60405180910390fd5b80600c9080519060200190611173929190612c54565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111a8612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122c906139fb565b60405180910390fd5b8181600d9190611246929190612cda565b505050565b60606002805461125a90613dd9565b80601f016020809104026020016040519081016040528092919081815260200182805461128690613dd9565b80156112d35780601f106112a8576101008083540402835291602001916112d3565b820191906000526020600020905b8154815290600101906020018083116112b657829003601f168201915b5050505050905090565b6000600854141580156112f1575060085443115b611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790613abb565b60405180910390fd5b807f000000000000000000000000000000000000000000000000000000000000000081600e546113609190613be0565b11156113a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611398906139bb565b60405180910390fd5b81600a8111156113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd906138db565b60405180910390fd5b826000600954141561142d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114249061395b565b60405180910390fd5b60095443118061148f5750600181600f6000611447612139565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461148c9190613be0565b11155b6114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c590613adb565b60405180910390fd5b837f00000000000000000000000000000000000000000000000000000000000000006114fa9190613c67565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e61153e612139565b306040518363ffffffff1660e01b815260040161155c9291906136bc565b60206040518083038186803b15801561157457600080fd5b505afa158015611588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ac91906131fb565b10156115ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e49061385b565b60405180910390fd5b837f00000000000000000000000000000000000000000000000000000000000000006116199190613c67565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a0823161165d612139565b6040518263ffffffff1660e01b815260040161167991906136a1565b60206040518083038186803b15801561169157600080fd5b505afa1580156116a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c991906131fb565b101561170a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611701906137db565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd61174e612139565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16877f000000000000000000000000000000000000000000000000000000000000000061179d9190613c67565b6040518463ffffffff1660e01b81526004016117bb939291906136e5565b602060405180830381600087803b1580156117d557600080fd5b505af11580156117e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180d91906130d1565b5060005b848110156118555761182c611824612139565b600e546125a0565b600e600081548092919061183f90613e3c565b91905055508061184e90613e3c565b9050611811565b5083600f6000611863612139565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ac9190613be0565b92505081905550600060075414801561190157507f0000000000000000000000000000000000000000000000000000000000000000600e5414806119005750600a54431180156118ff57506000600a5414155b5b5b1561196f577f00000000000000000000000000000000000000000000000000000000000000006001436119349190613cc1565b4060001c6119429190613e85565b6007819055506000600754141561196e576001600760008282546119669190613be0565b925050819055505b5b50505050565b61197d612139565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e29061389b565b60405180910390fd5b80600660006119f8612139565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aa5612139565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aea9190613768565b60405180910390a35050565b611b07611b01612139565b83612266565b611b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3d90613a9b565b60405180910390fd5b611b52848484846125be565b50505050565b6060611b6382612141565b611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9990613a3b565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000600754611bd29190613e85565b83611bdd9190613be0565b90506000611be961261a565b90506000815111611c095760405180602001604052806000815250611c34565b80611c13836126cf565b604051602001611c2492919061367d565b6040516020818303038152906040525b92505050919050565b60075481565b600e5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600d8054611c7a90613dd9565b80601f0160208091040260200160405190810160405280929190818152602001828054611ca690613dd9565b8015611cf35780601f10611cc857610100808354040283529160200191611cf3565b820191906000526020600020905b815481529060010190602001808311611cd657829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d97612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1b906139fb565b60405180910390fd5b8060088190555050565b611e36612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eba906139fb565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611f0f612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f93906139fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561200c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120039061381b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60085481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661222083610dcf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061227182612141565b6122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a7906138bb565b60405180910390fd5b60006122bb83610dcf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061232a57508373ffffffffffffffffffffffffffffffffffffffff16612312846108e3565b73ffffffffffffffffffffffffffffffffffffffff16145b8061233b575061233a8185611cfb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661236482610dcf565b73ffffffffffffffffffffffffffffffffffffffff16146123ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b190613a1b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561242a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124219061387b565b60405180910390fd5b61243583838361287c565b6124406000826121ad565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124909190613cc1565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e79190613be0565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6125ba828260405180602001604052806000815250612881565b5050565b6125c9848484612344565b6125d5848484846128dc565b612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b906137fb565b60405180910390fd5b50505050565b60606000600754141561263e576040518060200160405280600081525090506126cc565b600c805461264b90613dd9565b80601f016020809104026020016040519081016040528092919081815260200182805461267790613dd9565b80156126c45780601f10612699576101008083540402835291602001916126c4565b820191906000526020600020905b8154815290600101906020018083116126a757829003601f168201915b505050505090505b90565b60606000821415612717576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612877565b600082905060005b6000821461274957808061273290613e3c565b915050600a826127429190613c36565b915061271f565b60008167ffffffffffffffff81111561278b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127bd5781602001600182028036833780820191505090505b5090505b60008514612870576001826127d69190613cc1565b9150600a856127e59190613e85565b60306127f19190613be0565b60f81b81838151811061282d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128699190613c36565b94506127c1565b8093505050505b919050565b505050565b61288b8383612a73565b61289860008484846128dc565b6128d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ce906137fb565b60405180910390fd5b505050565b60006128fd8473ffffffffffffffffffffffffffffffffffffffff16612c41565b15612a66578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612926612139565b8786866040518563ffffffff1660e01b8152600401612948949392919061371c565b602060405180830381600087803b15801561296257600080fd5b505af192505050801561299357506040513d601f19601f820116820180604052508101906129909190613123565b60015b612a16573d80600081146129c3576040519150601f19603f3d011682016040523d82523d6000602084013e6129c8565b606091505b50600081511415612a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a05906137fb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a6b565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ada9061399b565b60405180910390fd5b612aec81612141565b15612b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b239061383b565b60405180910390fd5b612b386000838361287c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b889190613be0565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612c6090613dd9565b90600052602060002090601f016020900481019282612c825760008555612cc9565b82601f10612c9b57805160ff1916838001178555612cc9565b82800160010185558215612cc9579182015b82811115612cc8578251825591602001919060010190612cad565b5b509050612cd69190612d60565b5090565b828054612ce690613dd9565b90600052602060002090601f016020900481019282612d085760008555612d4f565b82601f10612d2157803560ff1916838001178555612d4f565b82800160010185558215612d4f579182015b82811115612d4e578235825591602001919060010190612d33565b5b509050612d5c9190612d60565b5090565b5b80821115612d79576000816000905550600101612d61565b5090565b6000612d90612d8b84613b3b565b613b16565b905082815260208101848484011115612da857600080fd5b612db3848285613d97565b509392505050565b6000612dce612dc984613b6c565b613b16565b905082815260208101848484011115612de657600080fd5b612df1848285613d97565b509392505050565b600081359050612e088161454c565b92915050565b600081359050612e1d81614563565b92915050565b600081519050612e3281614563565b92915050565b600081359050612e478161457a565b92915050565b600081519050612e5c8161457a565b92915050565b600082601f830112612e7357600080fd5b8135612e83848260208601612d7d565b91505092915050565b60008083601f840112612e9e57600080fd5b8235905067ffffffffffffffff811115612eb757600080fd5b602083019150836001820283011115612ecf57600080fd5b9250929050565b600082601f830112612ee757600080fd5b8135612ef7848260208601612dbb565b91505092915050565b600081359050612f0f81614591565b92915050565b600081519050612f2481614591565b92915050565b600060208284031215612f3c57600080fd5b6000612f4a84828501612df9565b91505092915050565b60008060408385031215612f6657600080fd5b6000612f7485828601612df9565b9250506020612f8585828601612df9565b9150509250929050565b600080600060608486031215612fa457600080fd5b6000612fb286828701612df9565b9350506020612fc386828701612df9565b9250506040612fd486828701612f00565b9150509250925092565b60008060008060808587031215612ff457600080fd5b600061300287828801612df9565b945050602061301387828801612df9565b935050604061302487828801612f00565b925050606085013567ffffffffffffffff81111561304157600080fd5b61304d87828801612e62565b91505092959194509250565b6000806040838503121561306c57600080fd5b600061307a85828601612df9565b925050602061308b85828601612e0e565b9150509250929050565b600080604083850312156130a857600080fd5b60006130b685828601612df9565b92505060206130c785828601612f00565b9150509250929050565b6000602082840312156130e357600080fd5b60006130f184828501612e23565b91505092915050565b60006020828403121561310c57600080fd5b600061311a84828501612e38565b91505092915050565b60006020828403121561313557600080fd5b600061314384828501612e4d565b91505092915050565b6000806020838503121561315f57600080fd5b600083013567ffffffffffffffff81111561317957600080fd5b61318585828601612e8c565b92509250509250929050565b6000602082840312156131a357600080fd5b600082013567ffffffffffffffff8111156131bd57600080fd5b6131c984828501612ed6565b91505092915050565b6000602082840312156131e457600080fd5b60006131f284828501612f00565b91505092915050565b60006020828403121561320d57600080fd5b600061321b84828501612f15565b91505092915050565b61322d81613cf5565b82525050565b61323c81613d07565b82525050565b61324b81613d13565b82525050565b600061325c82613b9d565b6132668185613bb3565b9350613276818560208601613da6565b61327f81613f72565b840191505092915050565b61329381613d73565b82525050565b60006132a482613ba8565b6132ae8185613bc4565b93506132be818560208601613da6565b6132c781613f72565b840191505092915050565b60006132dd82613ba8565b6132e78185613bd5565b93506132f7818560208601613da6565b80840191505092915050565b6000613310601883613bc4565b915061331b82613f83565b602082019050919050565b6000613333603283613bc4565b915061333e82613fac565b604082019050919050565b6000613356602683613bc4565b915061336182613ffb565b604082019050919050565b6000613379601c83613bc4565b91506133848261404a565b602082019050919050565b600061339c601983613bc4565b91506133a782614073565b602082019050919050565b60006133bf602483613bc4565b91506133ca8261409c565b604082019050919050565b60006133e2601983613bc4565b91506133ed826140eb565b602082019050919050565b6000613405602c83613bc4565b915061341082614114565b604082019050919050565b6000613428601883613bc4565b915061343382614163565b602082019050919050565b600061344b603883613bc4565b91506134568261418c565b604082019050919050565b600061346e602a83613bc4565b9150613479826141db565b604082019050919050565b6000613491602983613bc4565b915061349c8261422a565b604082019050919050565b60006134b4601d83613bc4565b91506134bf82614279565b602082019050919050565b60006134d7601e83613bc4565b91506134e2826142a2565b602082019050919050565b60006134fa602083613bc4565b9150613505826142cb565b602082019050919050565b600061351d601183613bc4565b9150613528826142f4565b602082019050919050565b6000613540602c83613bc4565b915061354b8261431d565b604082019050919050565b6000613563602083613bc4565b915061356e8261436c565b602082019050919050565b6000613586602983613bc4565b915061359182614395565b604082019050919050565b60006135a9602f83613bc4565b91506135b4826143e4565b604082019050919050565b60006135cc601a83613bc4565b91506135d782614433565b602082019050919050565b60006135ef602183613bc4565b91506135fa8261445c565b604082019050919050565b6000613612603183613bc4565b915061361d826144ab565b604082019050919050565b6000613635600983613bc4565b9150613640826144fa565b602082019050919050565b6000613658601d83613bc4565b915061366382614523565b602082019050919050565b61367781613d69565b82525050565b600061368982856132d2565b915061369582846132d2565b91508190509392505050565b60006020820190506136b66000830184613224565b92915050565b60006040820190506136d16000830185613224565b6136de6020830184613224565b9392505050565b60006060820190506136fa6000830186613224565b6137076020830185613224565b613714604083018461366e565b949350505050565b60006080820190506137316000830187613224565b61373e6020830186613224565b61374b604083018561366e565b818103606083015261375d8184613251565b905095945050505050565b600060208201905061377d6000830184613233565b92915050565b60006020820190506137986000830184613242565b92915050565b60006020820190506137b3600083018461328a565b92915050565b600060208201905081810360008301526137d38184613299565b905092915050565b600060208201905081810360008301526137f481613303565b9050919050565b6000602082019050818103600083015261381481613326565b9050919050565b6000602082019050818103600083015261383481613349565b9050919050565b600060208201905081810360008301526138548161336c565b9050919050565b600060208201905081810360008301526138748161338f565b9050919050565b60006020820190508181036000830152613894816133b2565b9050919050565b600060208201905081810360008301526138b4816133d5565b9050919050565b600060208201905081810360008301526138d4816133f8565b9050919050565b600060208201905081810360008301526138f48161341b565b9050919050565b600060208201905081810360008301526139148161343e565b9050919050565b6000602082019050818103600083015261393481613461565b9050919050565b6000602082019050818103600083015261395481613484565b9050919050565b60006020820190508181036000830152613974816134a7565b9050919050565b60006020820190508181036000830152613994816134ca565b9050919050565b600060208201905081810360008301526139b4816134ed565b9050919050565b600060208201905081810360008301526139d481613510565b9050919050565b600060208201905081810360008301526139f481613533565b9050919050565b60006020820190508181036000830152613a1481613556565b9050919050565b60006020820190508181036000830152613a3481613579565b9050919050565b60006020820190508181036000830152613a548161359c565b9050919050565b60006020820190508181036000830152613a74816135bf565b9050919050565b60006020820190508181036000830152613a94816135e2565b9050919050565b60006020820190508181036000830152613ab481613605565b9050919050565b60006020820190508181036000830152613ad481613628565b9050919050565b60006020820190508181036000830152613af48161364b565b9050919050565b6000602082019050613b10600083018461366e565b92915050565b6000613b20613b31565b9050613b2c8282613e0b565b919050565b6000604051905090565b600067ffffffffffffffff821115613b5657613b55613f43565b5b613b5f82613f72565b9050602081019050919050565b600067ffffffffffffffff821115613b8757613b86613f43565b5b613b9082613f72565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613beb82613d69565b9150613bf683613d69565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c2b57613c2a613eb6565b5b828201905092915050565b6000613c4182613d69565b9150613c4c83613d69565b925082613c5c57613c5b613ee5565b5b828204905092915050565b6000613c7282613d69565b9150613c7d83613d69565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cb657613cb5613eb6565b5b828202905092915050565b6000613ccc82613d69565b9150613cd783613d69565b925082821015613cea57613ce9613eb6565b5b828203905092915050565b6000613d0082613d49565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613d7e82613d85565b9050919050565b6000613d9082613d49565b9050919050565b82818337600083830152505050565b60005b83811015613dc4578082015181840152602081019050613da9565b83811115613dd3576000848401525b50505050565b60006002820490506001821680613df157607f821691505b60208210811415613e0557613e04613f14565b5b50919050565b613e1482613f72565b810181811067ffffffffffffffff82111715613e3357613e32613f43565b5b80604052505050565b6000613e4782613d69565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e7a57613e79613eb6565b5b600182019050919050565b6000613e9082613d69565b9150613e9b83613d69565b925082613eab57613eaa613ee5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f75676820746f6b656e20746f206d696e740000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416c6c6f77616e6365206e6f742073657420746f206d696e7400000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f746f6f206d616e79206d696e747320696e206f6e6520676f0000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f756e6c6f636b53746172744174426c6f636b4e756d206e6f7420736574000000600082015250565b7f7374617274696e6720696e6465782063616e206e6f74206265207a65726f0000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f6d617820737570706c79206d696e746564000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f7374617274696e6720696e64657820616c726561647920736574000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f746f6f206561726c790000000000000000000000000000000000000000000000600082015250565b7f4d617820737570706c79207065722061646472657373206d696e746564000000600082015250565b61455581613cf5565b811461456057600080fd5b50565b61456c81613d07565b811461457757600080fd5b50565b61458381613d1d565b811461458e57600080fd5b50565b61459a81613d69565b81146145a557600080fd5b5056fea2646970667358221220be8f10783aaf45957ab2ffb19c6b4af197ab443bf9d88d94a8cef8e92abeea1264736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000491d6b7d6822d5d4bc88a1264e1b47791fd8e9040000000000000000000000000000000000000000000000548378a01061fc0000000000000000000000000000000000000000000000000000000000000000185c114a591573bb8462490294a28611e70d7886363a4b3080f3084a9c0d3af0c516000000000000000000000000000000000000000000000000000000000000000c244c4f4e444f4e2047696674000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044749465400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c806370a0823111610130578063c87b56dd116100b8578063e985e9c51161007c578063e985e9c51461062e578063ef6f3db21461065e578063f0f442601461067a578063f2fde38b14610696578063f6b9027c146106b257610227565b8063c87b56dd14610586578063cb774d47146105b6578063d55f9273146105d4578063d5abeb01146105f2578063e8a3d4851461061057610227565b8063938e3d7b116100ff578063938e3d7b146104f857806395d89b4114610514578063a0712d6814610532578063a22cb4651461054e578063b88d4fde1461056a57610227565b806370a0823114610484578063715018a6146104b45780637e518ec8146104be5780638da5cb5b146104da57610227565b806342842e0e116101b35780635cc02ee9116101825780635cc02ee9146103ca57806361d027b3146103e85780636352211e146104065780636817c76c146104365780636ef0d8551461045457610227565b806342842e0e14610356578063511c79321461037257806355339347146103905780635b2bd79e146103ac57610227565b8063095ea7b3116101fa578063095ea7b3146102c65780630f7309e8146102e25780631aaa4c021461030057806323b872dd1461031c5780632c37b5791461033857610227565b806301ffc9a71461022c578063037b9b451461025c57806306fdde0314610278578063081812fc14610296575b600080fd5b610246600480360381019061024191906130fa565b6106d0565b6040516102539190613768565b60405180910390f35b610276600480360381019061027191906131d2565b6107b2565b005b610280610851565b60405161028d91906137b9565b60405180910390f35b6102b060048036038101906102ab91906131d2565b6108e3565b6040516102bd91906136a1565b60405180910390f35b6102e060048036038101906102db9190613095565b610968565b005b6102ea610a80565b6040516102f79190613783565b60405180910390f35b61031a600480360381019061031591906131d2565b610aa4565b005b61033660048036038101906103319190612f8f565b610b43565b005b610340610ba3565b60405161034d9190613afb565b60405180910390f35b610370600480360381019061036b9190612f8f565b610ba9565b005b61037a610bc9565b6040516103879190613afb565b60405180910390f35b6103aa60048036038101906103a591906131d2565b610bcf565b005b6103b4610cf7565b6040516103c191906137b9565b60405180910390f35b6103d2610d85565b6040516103df919061379e565b60405180910390f35b6103f0610da9565b6040516103fd91906136a1565b60405180910390f35b610420600480360381019061041b91906131d2565b610dcf565b60405161042d91906136a1565b60405180910390f35b61043e610e81565b60405161044b9190613afb565b60405180910390f35b61046e60048036038101906104699190612f2a565b610ea5565b60405161047b9190613afb565b60405180910390f35b61049e60048036038101906104999190612f2a565b610ebd565b6040516104ab9190613afb565b60405180910390f35b6104bc610f75565b005b6104d860048036038101906104d39190613191565b6110c8565b005b6104e2611177565b6040516104ef91906136a1565b60405180910390f35b610512600480360381019061050d919061314c565b6111a0565b005b61051c61124b565b60405161052991906137b9565b60405180910390f35b61054c600480360381019061054791906131d2565b6112dd565b005b61056860048036038101906105639190613059565b611975565b005b610584600480360381019061057f9190612fde565b611af6565b005b6105a0600480360381019061059b91906131d2565b611b58565b6040516105ad91906137b9565b60405180910390f35b6105be611c3d565b6040516105cb9190613afb565b60405180910390f35b6105dc611c43565b6040516105e99190613afb565b60405180910390f35b6105fa611c49565b6040516106079190613afb565b60405180910390f35b610618611c6d565b60405161062591906137b9565b60405180910390f35b61064860048036038101906106439190612f53565b611cfb565b6040516106559190613768565b60405180910390f35b610678600480360381019061067391906131d2565b611d8f565b005b610694600480360381019061068f9190612f2a565b611e2e565b005b6106b060048036038101906106ab9190612f2a565b611f07565b005b6106ba6120c9565b6040516106c79190613afb565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107ab57506107aa826120cf565b5b9050919050565b6107ba612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083e906139fb565b60405180910390fd5b8060098190555050565b60606001805461086090613dd9565b80601f016020809104026020016040519081016040528092919081815260200182805461088c90613dd9565b80156108d95780601f106108ae576101008083540402835291602001916108d9565b820191906000526020600020905b8154815290600101906020018083116108bc57829003601f168201915b5050505050905090565b60006108ee82612141565b61092d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610924906139db565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097382610dcf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90613a7b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a03612139565b73ffffffffffffffffffffffffffffffffffffffff161480610a325750610a3181610a2c612139565b611cfb565b5b610a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a68906138fb565b60405180910390fd5b610a7b83836121ad565b505050565b7f114a591573bb8462490294a28611e70d7886363a4b3080f3084a9c0d3af0c51681565b610aac612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b30906139fb565b60405180910390fd5b80600a8190555050565b610b54610b4e612139565b82612266565b610b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8a90613a9b565b60405180910390fd5b610b9e838383612344565b505050565b60095481565b610bc483838360405180602001604052806000815250611af6565b505050565b600a5481565b610bd7612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5b906139fb565b60405180910390fd5b6000811415610ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9f9061397b565b60405180910390fd5b600060075414610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490613a5b565b60405180910390fd5b8060078190555050565b600c8054610d0490613dd9565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3090613dd9565b8015610d7d5780601f10610d5257610100808354040283529160200191610d7d565b820191906000526020600020905b815481529060010190602001808311610d6057829003601f168201915b505050505081565b7f000000000000000000000000491d6b7d6822d5d4bc88a1264e1b47791fd8e90481565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f9061393b565b60405180910390fd5b80915050919050565b7f0000000000000000000000000000000000000000000000548378a01061fc000081565b600f6020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f259061391b565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f7d612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611001906139fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6110d0612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461115d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611154906139fb565b60405180910390fd5b80600c9080519060200190611173929190612c54565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111a8612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122c906139fb565b60405180910390fd5b8181600d9190611246929190612cda565b505050565b60606002805461125a90613dd9565b80601f016020809104026020016040519081016040528092919081815260200182805461128690613dd9565b80156112d35780601f106112a8576101008083540402835291602001916112d3565b820191906000526020600020905b8154815290600101906020018083116112b657829003601f168201915b5050505050905090565b6000600854141580156112f1575060085443115b611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790613abb565b60405180910390fd5b807f000000000000000000000000000000000000000000000000000000000000185c81600e546113609190613be0565b11156113a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611398906139bb565b60405180910390fd5b81600a8111156113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd906138db565b60405180910390fd5b826000600954141561142d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114249061395b565b60405180910390fd5b60095443118061148f5750600181600f6000611447612139565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461148c9190613be0565b11155b6114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c590613adb565b60405180910390fd5b837f0000000000000000000000000000000000000000000000548378a01061fc00006114fa9190613c67565b7f000000000000000000000000491d6b7d6822d5d4bc88a1264e1b47791fd8e90473ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e61153e612139565b306040518363ffffffff1660e01b815260040161155c9291906136bc565b60206040518083038186803b15801561157457600080fd5b505afa158015611588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ac91906131fb565b10156115ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e49061385b565b60405180910390fd5b837f0000000000000000000000000000000000000000000000548378a01061fc00006116199190613c67565b7f000000000000000000000000491d6b7d6822d5d4bc88a1264e1b47791fd8e90473ffffffffffffffffffffffffffffffffffffffff166370a0823161165d612139565b6040518263ffffffff1660e01b815260040161167991906136a1565b60206040518083038186803b15801561169157600080fd5b505afa1580156116a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c991906131fb565b101561170a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611701906137db565b60405180910390fd5b7f000000000000000000000000491d6b7d6822d5d4bc88a1264e1b47791fd8e90473ffffffffffffffffffffffffffffffffffffffff166323b872dd61174e612139565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16877f0000000000000000000000000000000000000000000000548378a01061fc000061179d9190613c67565b6040518463ffffffff1660e01b81526004016117bb939291906136e5565b602060405180830381600087803b1580156117d557600080fd5b505af11580156117e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180d91906130d1565b5060005b848110156118555761182c611824612139565b600e546125a0565b600e600081548092919061183f90613e3c565b91905055508061184e90613e3c565b9050611811565b5083600f6000611863612139565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ac9190613be0565b92505081905550600060075414801561190157507f000000000000000000000000000000000000000000000000000000000000185c600e5414806119005750600a54431180156118ff57506000600a5414155b5b5b1561196f577f000000000000000000000000000000000000000000000000000000000000185c6001436119349190613cc1565b4060001c6119429190613e85565b6007819055506000600754141561196e576001600760008282546119669190613be0565b925050819055505b5b50505050565b61197d612139565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e29061389b565b60405180910390fd5b80600660006119f8612139565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aa5612139565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aea9190613768565b60405180910390a35050565b611b07611b01612139565b83612266565b611b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3d90613a9b565b60405180910390fd5b611b52848484846125be565b50505050565b6060611b6382612141565b611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9990613a3b565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000185c600754611bd29190613e85565b83611bdd9190613be0565b90506000611be961261a565b90506000815111611c095760405180602001604052806000815250611c34565b80611c13836126cf565b604051602001611c2492919061367d565b6040516020818303038152906040525b92505050919050565b60075481565b600e5481565b7f000000000000000000000000000000000000000000000000000000000000185c81565b600d8054611c7a90613dd9565b80601f0160208091040260200160405190810160405280929190818152602001828054611ca690613dd9565b8015611cf35780601f10611cc857610100808354040283529160200191611cf3565b820191906000526020600020905b815481529060010190602001808311611cd657829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d97612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1b906139fb565b60405180910390fd5b8060088190555050565b611e36612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eba906139fb565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611f0f612139565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f93906139fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561200c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120039061381b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60085481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661222083610dcf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061227182612141565b6122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a7906138bb565b60405180910390fd5b60006122bb83610dcf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061232a57508373ffffffffffffffffffffffffffffffffffffffff16612312846108e3565b73ffffffffffffffffffffffffffffffffffffffff16145b8061233b575061233a8185611cfb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661236482610dcf565b73ffffffffffffffffffffffffffffffffffffffff16146123ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b190613a1b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561242a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124219061387b565b60405180910390fd5b61243583838361287c565b6124406000826121ad565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124909190613cc1565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e79190613be0565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6125ba828260405180602001604052806000815250612881565b5050565b6125c9848484612344565b6125d5848484846128dc565b612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b906137fb565b60405180910390fd5b50505050565b60606000600754141561263e576040518060200160405280600081525090506126cc565b600c805461264b90613dd9565b80601f016020809104026020016040519081016040528092919081815260200182805461267790613dd9565b80156126c45780601f10612699576101008083540402835291602001916126c4565b820191906000526020600020905b8154815290600101906020018083116126a757829003601f168201915b505050505090505b90565b60606000821415612717576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612877565b600082905060005b6000821461274957808061273290613e3c565b915050600a826127429190613c36565b915061271f565b60008167ffffffffffffffff81111561278b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127bd5781602001600182028036833780820191505090505b5090505b60008514612870576001826127d69190613cc1565b9150600a856127e59190613e85565b60306127f19190613be0565b60f81b81838151811061282d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128699190613c36565b94506127c1565b8093505050505b919050565b505050565b61288b8383612a73565b61289860008484846128dc565b6128d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ce906137fb565b60405180910390fd5b505050565b60006128fd8473ffffffffffffffffffffffffffffffffffffffff16612c41565b15612a66578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612926612139565b8786866040518563ffffffff1660e01b8152600401612948949392919061371c565b602060405180830381600087803b15801561296257600080fd5b505af192505050801561299357506040513d601f19601f820116820180604052508101906129909190613123565b60015b612a16573d80600081146129c3576040519150601f19603f3d011682016040523d82523d6000602084013e6129c8565b606091505b50600081511415612a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a05906137fb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a6b565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ada9061399b565b60405180910390fd5b612aec81612141565b15612b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b239061383b565b60405180910390fd5b612b386000838361287c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b889190613be0565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612c6090613dd9565b90600052602060002090601f016020900481019282612c825760008555612cc9565b82601f10612c9b57805160ff1916838001178555612cc9565b82800160010185558215612cc9579182015b82811115612cc8578251825591602001919060010190612cad565b5b509050612cd69190612d60565b5090565b828054612ce690613dd9565b90600052602060002090601f016020900481019282612d085760008555612d4f565b82601f10612d2157803560ff1916838001178555612d4f565b82800160010185558215612d4f579182015b82811115612d4e578235825591602001919060010190612d33565b5b509050612d5c9190612d60565b5090565b5b80821115612d79576000816000905550600101612d61565b5090565b6000612d90612d8b84613b3b565b613b16565b905082815260208101848484011115612da857600080fd5b612db3848285613d97565b509392505050565b6000612dce612dc984613b6c565b613b16565b905082815260208101848484011115612de657600080fd5b612df1848285613d97565b509392505050565b600081359050612e088161454c565b92915050565b600081359050612e1d81614563565b92915050565b600081519050612e3281614563565b92915050565b600081359050612e478161457a565b92915050565b600081519050612e5c8161457a565b92915050565b600082601f830112612e7357600080fd5b8135612e83848260208601612d7d565b91505092915050565b60008083601f840112612e9e57600080fd5b8235905067ffffffffffffffff811115612eb757600080fd5b602083019150836001820283011115612ecf57600080fd5b9250929050565b600082601f830112612ee757600080fd5b8135612ef7848260208601612dbb565b91505092915050565b600081359050612f0f81614591565b92915050565b600081519050612f2481614591565b92915050565b600060208284031215612f3c57600080fd5b6000612f4a84828501612df9565b91505092915050565b60008060408385031215612f6657600080fd5b6000612f7485828601612df9565b9250506020612f8585828601612df9565b9150509250929050565b600080600060608486031215612fa457600080fd5b6000612fb286828701612df9565b9350506020612fc386828701612df9565b9250506040612fd486828701612f00565b9150509250925092565b60008060008060808587031215612ff457600080fd5b600061300287828801612df9565b945050602061301387828801612df9565b935050604061302487828801612f00565b925050606085013567ffffffffffffffff81111561304157600080fd5b61304d87828801612e62565b91505092959194509250565b6000806040838503121561306c57600080fd5b600061307a85828601612df9565b925050602061308b85828601612e0e565b9150509250929050565b600080604083850312156130a857600080fd5b60006130b685828601612df9565b92505060206130c785828601612f00565b9150509250929050565b6000602082840312156130e357600080fd5b60006130f184828501612e23565b91505092915050565b60006020828403121561310c57600080fd5b600061311a84828501612e38565b91505092915050565b60006020828403121561313557600080fd5b600061314384828501612e4d565b91505092915050565b6000806020838503121561315f57600080fd5b600083013567ffffffffffffffff81111561317957600080fd5b61318585828601612e8c565b92509250509250929050565b6000602082840312156131a357600080fd5b600082013567ffffffffffffffff8111156131bd57600080fd5b6131c984828501612ed6565b91505092915050565b6000602082840312156131e457600080fd5b60006131f284828501612f00565b91505092915050565b60006020828403121561320d57600080fd5b600061321b84828501612f15565b91505092915050565b61322d81613cf5565b82525050565b61323c81613d07565b82525050565b61324b81613d13565b82525050565b600061325c82613b9d565b6132668185613bb3565b9350613276818560208601613da6565b61327f81613f72565b840191505092915050565b61329381613d73565b82525050565b60006132a482613ba8565b6132ae8185613bc4565b93506132be818560208601613da6565b6132c781613f72565b840191505092915050565b60006132dd82613ba8565b6132e78185613bd5565b93506132f7818560208601613da6565b80840191505092915050565b6000613310601883613bc4565b915061331b82613f83565b602082019050919050565b6000613333603283613bc4565b915061333e82613fac565b604082019050919050565b6000613356602683613bc4565b915061336182613ffb565b604082019050919050565b6000613379601c83613bc4565b91506133848261404a565b602082019050919050565b600061339c601983613bc4565b91506133a782614073565b602082019050919050565b60006133bf602483613bc4565b91506133ca8261409c565b604082019050919050565b60006133e2601983613bc4565b91506133ed826140eb565b602082019050919050565b6000613405602c83613bc4565b915061341082614114565b604082019050919050565b6000613428601883613bc4565b915061343382614163565b602082019050919050565b600061344b603883613bc4565b91506134568261418c565b604082019050919050565b600061346e602a83613bc4565b9150613479826141db565b604082019050919050565b6000613491602983613bc4565b915061349c8261422a565b604082019050919050565b60006134b4601d83613bc4565b91506134bf82614279565b602082019050919050565b60006134d7601e83613bc4565b91506134e2826142a2565b602082019050919050565b60006134fa602083613bc4565b9150613505826142cb565b602082019050919050565b600061351d601183613bc4565b9150613528826142f4565b602082019050919050565b6000613540602c83613bc4565b915061354b8261431d565b604082019050919050565b6000613563602083613bc4565b915061356e8261436c565b602082019050919050565b6000613586602983613bc4565b915061359182614395565b604082019050919050565b60006135a9602f83613bc4565b91506135b4826143e4565b604082019050919050565b60006135cc601a83613bc4565b91506135d782614433565b602082019050919050565b60006135ef602183613bc4565b91506135fa8261445c565b604082019050919050565b6000613612603183613bc4565b915061361d826144ab565b604082019050919050565b6000613635600983613bc4565b9150613640826144fa565b602082019050919050565b6000613658601d83613bc4565b915061366382614523565b602082019050919050565b61367781613d69565b82525050565b600061368982856132d2565b915061369582846132d2565b91508190509392505050565b60006020820190506136b66000830184613224565b92915050565b60006040820190506136d16000830185613224565b6136de6020830184613224565b9392505050565b60006060820190506136fa6000830186613224565b6137076020830185613224565b613714604083018461366e565b949350505050565b60006080820190506137316000830187613224565b61373e6020830186613224565b61374b604083018561366e565b818103606083015261375d8184613251565b905095945050505050565b600060208201905061377d6000830184613233565b92915050565b60006020820190506137986000830184613242565b92915050565b60006020820190506137b3600083018461328a565b92915050565b600060208201905081810360008301526137d38184613299565b905092915050565b600060208201905081810360008301526137f481613303565b9050919050565b6000602082019050818103600083015261381481613326565b9050919050565b6000602082019050818103600083015261383481613349565b9050919050565b600060208201905081810360008301526138548161336c565b9050919050565b600060208201905081810360008301526138748161338f565b9050919050565b60006020820190508181036000830152613894816133b2565b9050919050565b600060208201905081810360008301526138b4816133d5565b9050919050565b600060208201905081810360008301526138d4816133f8565b9050919050565b600060208201905081810360008301526138f48161341b565b9050919050565b600060208201905081810360008301526139148161343e565b9050919050565b6000602082019050818103600083015261393481613461565b9050919050565b6000602082019050818103600083015261395481613484565b9050919050565b60006020820190508181036000830152613974816134a7565b9050919050565b60006020820190508181036000830152613994816134ca565b9050919050565b600060208201905081810360008301526139b4816134ed565b9050919050565b600060208201905081810360008301526139d481613510565b9050919050565b600060208201905081810360008301526139f481613533565b9050919050565b60006020820190508181036000830152613a1481613556565b9050919050565b60006020820190508181036000830152613a3481613579565b9050919050565b60006020820190508181036000830152613a548161359c565b9050919050565b60006020820190508181036000830152613a74816135bf565b9050919050565b60006020820190508181036000830152613a94816135e2565b9050919050565b60006020820190508181036000830152613ab481613605565b9050919050565b60006020820190508181036000830152613ad481613628565b9050919050565b60006020820190508181036000830152613af48161364b565b9050919050565b6000602082019050613b10600083018461366e565b92915050565b6000613b20613b31565b9050613b2c8282613e0b565b919050565b6000604051905090565b600067ffffffffffffffff821115613b5657613b55613f43565b5b613b5f82613f72565b9050602081019050919050565b600067ffffffffffffffff821115613b8757613b86613f43565b5b613b9082613f72565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613beb82613d69565b9150613bf683613d69565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c2b57613c2a613eb6565b5b828201905092915050565b6000613c4182613d69565b9150613c4c83613d69565b925082613c5c57613c5b613ee5565b5b828204905092915050565b6000613c7282613d69565b9150613c7d83613d69565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cb657613cb5613eb6565b5b828202905092915050565b6000613ccc82613d69565b9150613cd783613d69565b925082821015613cea57613ce9613eb6565b5b828203905092915050565b6000613d0082613d49565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613d7e82613d85565b9050919050565b6000613d9082613d49565b9050919050565b82818337600083830152505050565b60005b83811015613dc4578082015181840152602081019050613da9565b83811115613dd3576000848401525b50505050565b60006002820490506001821680613df157607f821691505b60208210811415613e0557613e04613f14565b5b50919050565b613e1482613f72565b810181811067ffffffffffffffff82111715613e3357613e32613f43565b5b80604052505050565b6000613e4782613d69565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e7a57613e79613eb6565b5b600182019050919050565b6000613e9082613d69565b9150613e9b83613d69565b925082613eab57613eaa613ee5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f75676820746f6b656e20746f206d696e740000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416c6c6f77616e6365206e6f742073657420746f206d696e7400000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f746f6f206d616e79206d696e747320696e206f6e6520676f0000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f756e6c6f636b53746172744174426c6f636b4e756d206e6f7420736574000000600082015250565b7f7374617274696e6720696e6465782063616e206e6f74206265207a65726f0000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f6d617820737570706c79206d696e746564000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f7374617274696e6720696e64657820616c726561647920736574000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f746f6f206561726c790000000000000000000000000000000000000000000000600082015250565b7f4d617820737570706c79207065722061646472657373206d696e746564000000600082015250565b61455581613cf5565b811461456057600080fd5b50565b61456c81613d07565b811461457757600080fd5b50565b61458381613d1d565b811461458e57600080fd5b50565b61459a81613d69565b81146145a557600080fd5b5056fea2646970667358221220be8f10783aaf45957ab2ffb19c6b4af197ab443bf9d88d94a8cef8e92abeea1264736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000491d6b7d6822d5d4bc88a1264e1b47791fd8e9040000000000000000000000000000000000000000000000548378a01061fc0000000000000000000000000000000000000000000000000000000000000000185c114a591573bb8462490294a28611e70d7886363a4b3080f3084a9c0d3af0c516000000000000000000000000000000000000000000000000000000000000000c244c4f4e444f4e2047696674000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044749465400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): $LONDON Gift
Arg [1] : symbol_ (string): GIFT
Arg [2] : _payableErc20 (address): 0x491D6b7D6822d5d4BC88a1264E1b47791Fd8E904
Arg [3] : _mintPrice (uint256): 1559000000000000000000
Arg [4] : _maxSupply (uint256): 6236
Arg [5] : _provenance (bytes32): 0x114a591573bb8462490294a28611e70d7886363a4b3080f3084a9c0d3af0c516
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000491d6b7d6822d5d4bc88a1264e1b47791fd8e904
Arg [3] : 0000000000000000000000000000000000000000000000548378a01061fc0000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000185c
Arg [5] : 114a591573bb8462490294a28611e70d7886363a4b3080f3084a9c0d3af0c516
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [7] : 244c4f4e444f4e20476966740000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4749465400000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.