Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,304 MTT
Holders
2,196
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MTTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MignonTrainTickets
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNK0kxooooodddxk0NWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWN0kxolc:;;;;;;;;;,''';lkKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0kdl::cloooddoooodddoolc;,.,dXMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNKOxoccllllloddol:,,:odxxdddxddl,'oOOkkkkOOOO0KXWMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0dlccloodddodddxxl' 'clldxxdlc::;;ldxOOO00OOkxxxkOO0NWMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOoccoooc:ldxxdddxxdl;',;,...;lccccldoloxddodk0000OkddxkxxkKWMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0oclooc;'...lxxxdxdoodkxdo;..,;coxxxxkdll:....;d00x:'...:k0kdOWMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKdcclloo;.....cddddoldkkdoccllodolodxxxxxo;......l00c......okdllOWMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXd:::clooc::cllooollloxxoc:cloxxxc...;oxxdol;....'ck0xl;'.'';:...,lOWMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOc;;...:oc:;,;cdolcclool::cldol:cc' ..lxdc;lxdlodkkdodO0Okkd:,..'lxo0MMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxc:l:'',:ll;...colloolc:::ldo:.....,;;codl::oxkkkkdlodxkkkkxdl::::cdOddXMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXd:colcolcclccclllloooc::lodxx:. ....;cclc::oxddxxdodxOOOkdloxO0kdllodOko0MMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWk:colcllcllldolllddoc;;coxxdoo:,,'',c;...':odddolldkOOOkdoodk0Oxoooodddoo0MMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKlcolclllloddoloddoc:'.'lddxdl:cdxxxdl'...'lxxdlodkkkxolldxdodo,....:oddclKMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMWNX0Oxdoooooodk0XWMMMMMNkccc:;;::col:llc:;;;'....:xkolldoooo::c:;cdddooxkkkdooodxxxdd:. ....cddcdNMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMN0kdl:,. ..;dO0kddl;,,,,',,;;,',,'....'.....:oc:looooolokxlodoodxkOkdlldkkkkxxxkc. ...'ldooKMMMMMMMM // MMMMMMMMMMMMMMMMMMWXxlldxO0K0o. .',,;,''',,''',;cooodollooooc;''',,;::;,,;:::;,,;odxxdlldkkkxooodxdxkkOkxddlc:;;:codoo0WMMMMMMMM // MMMMMMMMMMMMMMMMW0l''dXWMMMWNx. .';;::;,,,,,;;:c:coxkkkOkxxxxxxd:'';;,:loc;:odo:,',;::c:;,,coollooxxdoloxkkdooxkOOkxxxoloKWMMMMMMMMW // MMMMMMMMMMMMMMWOc. cXWWX0xc,.,:::c::cc:::;;;:cloxkkOOOkxkkxoddc,;:;;:c:::lxkd:;:lxxolc:;,;;,,,;cddodooollloxOOkkkxdoc:dXMMMMMMMMMMW // MMMMMMMMMMMMMWx. ..':c;'. .:c:;:cllccc::::;;:coxxddxxxddxdooo:',;,:l:;:ldkko;';odolcllc:;;;;,',colc:;;:cloxkOOOOkxo::xNMMMMMMMMMMMM // MMMMMMMMMMMMMWOc;,''... ',',cllc::::::;,,;codddddxddxddddo:',;;cc;;clolc:;,',c:,:ooc:::::;'':dolllcc:,'';dkkkkkd:l0WMMMMMMMMMMMMM // MMMMMMMMMMWXkc'. ..,;;::;;;;,,:loooddxddkkxxxd:.'',:;,',ll:;;:clcc:..;lc:c::c:clllllooooo,. ..;dxxdcckNMMMMMMMMMMMMMMM // MMMMMMMMWKl' .;cooc' ..;::;,,,;ldxxkOO00KKKOOKk;',,'.....,;;:lodoccc::cc:ccc:cloolloodollc,...',clclxXMMMMMMMMMMMMMMMMM // MMMMMMMXo. .cOXWMMMMXx, .,c:;,;cdOKKKKXXXXXXKK0c'','.'','';ccccoolllll:colllc:clododolllllddoooc''',dNWMMMMMMMMMMMMMMMMM // MMMMMM0; .cKWMMMMMMMMM0' .,;;:lddk0KK00XXXXXXKd,.''';c;,,:cc:ccccclccllodol:;coollll:::,;oxolo:;:oo:;dXMMMMMMMMMMMMMMMMM // MMMMM0; .dNMMMMMMMMMMMX: ':lkkxxOKKKKXXX00XKd,..',;;,;c::ccc:::loooooo:,;;;clcclcc:c;.'clc:::okOkd::kWMMMMMMMMMMMMMMMM // MMMMNc oWMMMMMMMMMMMM0' .;xOkxkO0KKXXXXKKXOdc',,';::::::::::colldoooc,..':llcclloddoc:;;codxkOOxxd:c0WMMMMMMMMMMMMMMM // MMMMk. .OMMMMMMMMMMMW0; 'odoook00KXXXXXXXOo:;c:;:,',;,',;cclolcol;;::;;;::'..:dxdc:cookK0OOkkkOOxl;dNMMMMMMMMMMMMMMM // MMMWd .lNMMMMMMMMWKo. .cdoook0KKXXXXXX0xl;;::lolc:,'';clcclc:clccc:;;::;;;:::llldKXXKXK0K0xdkOkdcoXMMMMMMMMMMMMMMM // MMMWo ,oOKNNX0x:. .lxkxdOKKK0000XXKxc,,:ldxxxdllc:c:,;cccc:::::::cooldxdx0K0KXXXXXXXXX0kxxkxcl0WMMMMMMMMMMMMMM // MMMMx. ..... ,xOkdx00OOOkxxOOOo,,;:ldddxddxdl:,,;;:lc:c:'..,lddk0XXXXXXXK00000KK000xddo::OWMMMMMMMMMMMMMM // MMMMK; .cOkxddxkOOOxdllcol;:lccoodxxxxdxdlc:;:c:;;;,,;ckOOKKKXXX0OOOxkOkxkkddkOxooccOWMMMMMMMMMMMMMM // MMMMWk. .:xxc. ,x0OOkxkO00Oxddool::clcldddxdddoxxddl:::cc:cdoclk0xxxxO0OxkO000K0000OkOkkdlccOWMMMMMMMMMMMMMM // MMMMMWx. .xWMMWk. .lO0OO0OOOOOOkxkkxxoccodxxxkOkxdodxodxxxxdddxkoldxddkkxkxdk0000KK00KKKKKOkdcclOWMMMMMMMMMMMMMM // MMMMMMWO, .xNMMNx. .;d00OOOOxxOkkkxkOxxxlloxkkO00OOkddddxxxkkxdxxxdxOkdxO000OkO00Ok0KOkKK000Oko::o0WMMMMMMMMMMMMMM // MMMMMMMMXd' .,::,. .;oloO0kOOOOOOOOOOOOkkxldxxOOO0OkxxddddxxkkxxxxdddxOkxk00000000KOO0KKKK0kO0kxo:lONMMMMMMMMMMMMMMM // MMMMMMMMMMXx:. .;lodooOK000000000000000kodddkOO0KOkkddxxkxxkxxxxdolldkOOOkk0OOO000KKKKKKK0000d::kNMMMMMMMMMMMMMMMM // MMMMMMMMMMMMWKkl;'. ...;lodoc:ckKKKKKK0KKKOk0K00kdxOkkOO00OOkddkxkxkxolccc:;,;lxkOxk0kxk0Ok0KKK0KK0kOOl;oXMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMWNKOo;'..'',;:;;coldl;,;oO00K0OOKKKK0KKOkxoxOxdddxkkkkddxxkkxxl,'''',;;coxOOO0Oxk0OO0KKOk00Oxxo;lKWMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMWO:.,:c::c:;:;;cc;;;cxkOKK00KKKKKK0kdoccloxxoodooddoddxxddl;',,,;::ldkOOOOOOO00000KK0000klcdKWMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMNd'.,::;::cc:::c:::cokOKKK00KKKK00Oxo:'',lxoloodxdodooocc:::::;:clodxkkO0K0KKK0kOKXK000ocdKMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMXo,';:;:cclllllccc:ldkO00OO0000OOkdxo;,'':lloolddl::cclolllll:::cddxOOdd0XKKXX0OKXKOxl;dXMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMKo:,,;;cclllolc::;:ldk00OkOKKOkOOodxlc;;:llclloocllododoccloc:c:lllol:;xX0OKXKKKKKOc;oKWMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMNkc;,;::::;,,;;;,':oxkkkk0XKOkkkdkkc:::cooloooolodxxdooloooc:c::::ll:;kXXXKKXXKkdc;l0WMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMWKxl:;:c;',lool:'.;oxkO0OKX00kxOK0l;:::cc::;;;;cxxxoclooool;,;:ccll:,o0XXK0KX0l':kXWMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMWKl'',.':lllc'.':dk0XXKKXXK0O0K0d:c:,;:::c:'';dkxdllllddl:'.;cccl:,ckKXK0kxl''xWMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMKd:',clll;.';:;cx0XXXXXXXXXXX0kol;'coooo;',:dkdolloloolc;'',:lc:';kKX0dc,.',kMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMO;':cl:,.,::::;:ok0KXK0KXXXXX0dc,,loooc'':cdkxddoddlllc:;,'':lc,,ok0d,..,;;kMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMM0:,clc:,',;c;;::;,:okKKKXXXX00Od:',llol,.;ccclolooodoool:::c;';l;.:c;;ll;:c;dWMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMKc,cc:oOK0Okdl,.,;,',cxO0K00XXK0Ol',lll;.,ccc::llldoodlcllcccc,.,,..;oONWKl;,cXMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMNo';:cxNMMMMWNO;......,:oxOO00KK00d''c:;'':llcc::cccllll::c:;;,'''...cXMMMMXl.'kWMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMWk;,;lKMMMMMMMMk,,;'.,ll::clddxxdkOo'':,.';:ll::c;:c;:c:,,;;,:oookOo'.:XMMMMM0;.oWMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMK:';xNMMMMMMMMWd,:;'lKWX0Okxddocclo:.';'.';,::.....',:::lokOOKNWMMMWk';KMMMMMW0okWMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMNl.:0WMMMMMMMMMNl'',xNMMMMMMWNNXXK00x,.,cdk0O00kc.'';OXKXNWWMMMMMMMMMWOkNMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMWx,lXMMMMMMMMMMMK;.,kWMMMMMMMMMMMMMMMXc.;0WMMMMMMXo',dWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMWOkNMMMMMMMMMMMM0,,OWMMMMMMMMMMMMMMMMWx'cXMMMMMMMMXl'xWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxOWMMMMMMMMMMMMMMMMMMNxkWMMMMMMMMMXdkWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // The team is ready and the 17 rockets are about to blast off, embarking with them 777 passengers. // After months of decrypting the mystery of the 1875 Telescope and following the path of // a victorian astronomer, we are ready to join the Launch Pad - Are you ready? // This Train Ticket is your first step into the Mignonverse // Arist: Lapin Mignon - https://twitter.com/Lelapinmignon // Coder: Tagachi - https://twitter.com/TagachiStudio pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract MignonTrainTickets is ERC721, Ownable { uint256 public totalSupply; uint256 public totalClaimed; uint256 public claimSupply; uint256 public maxSupply; bool public claimingPaused; bool public mintingPaused; string internal baseTokenUri; string public hiddenMetadataUri; bool public isEmbarked; uint256 public mintCost; address public withdrawWallet; uint256 public maxClaimsPerWallet; mapping(address => uint256) public WalletMints; mapping(address => uint256) public AllowList; mapping(address => uint256) public DevList; constructor() payable ERC721('Mignon Train Tickets', 'MTT') { totalSupply = 0; totalClaimed = 0; claimSupply = 777; maxSupply = 7675; mintingPaused = true; claimingPaused = true; setHiddenMetadataUri("https://orion.mypinata.cloud/ipfs/QmXc1QEbEeAE998e8CjuEtmZNWWftwS1yoVbgLHy9neGhQ"); isEmbarked = false; mintCost = 0.017 ether; withdrawWallet = 0xEF247Fb4A0bb76398472af7729d9819bB446e4BB; maxClaimsPerWallet = 1; } modifier callerIsAWallet() { require(tx.origin ==msg.sender, "Another contract detected"); _; } // Futureproofing Minting Cost function changeMintCost(uint256 mintCost_) public onlyOwner() { mintCost = mintCost_; } // Increase Claim Supply function addMoreToClaimSupply(uint256 quantity_) public onlyOwner() { claimSupply = claimSupply + quantity_; } //Change Wallets - Failsafe function changeWithdrawWallet(address withdrawWallet_) external onlyOwner { withdrawWallet = withdrawWallet_; } //Add Addresses for Allowlist Mint function addToAllowList(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { AllowList[addresses[i]] = numAllowedToMint; } } //Add Addresses for Dev Mint function addToDevList(address[] memory addresses, uint256[] memory numOfSlots) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { DevList[addresses[i]] = numOfSlots[i]; } } //Update Hidden Metadata URI function setHiddenMetadataUri(string memory hiddenMetadataUri_) public onlyOwner { hiddenMetadataUri = hiddenMetadataUri_; } //Token URI change - More utility is coming! function setBaseTokenUri(string calldata baseTokenUri_) external onlyOwner { baseTokenUri = baseTokenUri_; } function tokenURI(uint256 tokenId_) public view override returns (string memory) { if (isEmbarked == false) { return hiddenMetadataUri; } require(_exists(tokenId_), 'Token does not exist!'); return string(abi.encodePacked(baseTokenUri, Strings.toString(tokenId_), ".json")); } string private customContractURI = "https://orion.mypinata.cloud/ipfs/QmXc1QEbEeAE998e8CjuEtmZNWWftwS1yoVbgLHy9neGhQ"; function setContractURI(string memory customContractURI_) external onlyOwner { customContractURI = customContractURI_; } function contractURI() public view returns (string memory) { return customContractURI; } //NFT London Free Claim function claim() public callerIsAWallet { uint256 quantity = maxClaimsPerWallet; uint256 newTokenId = totalSupply + quantity; require(!claimingPaused, 'claiming is paused'); require(totalClaimed + quantity <= claimSupply, 'no more to claim!'); require(WalletMints[msg.sender] < quantity, 'exceed max wallet'); WalletMints[msg.sender]++; totalSupply++; _safeMint(msg.sender,newTokenId); } //Train Ticket Mint function mint(uint256 quantity_) public payable callerIsAWallet { require(!mintingPaused, 'minting is paused'); require(msg.value >= quantity_ * mintCost, 'wrong mint value'); require(totalSupply + quantity_ <= maxSupply, 'sold out'); for(uint256 i = 0; i < quantity_; i++) { uint256 newTokenId = totalSupply + 1; WalletMints[msg.sender]++; totalSupply++; _safeMint(msg.sender, newTokenId); } } //Mignon Dao Mint function DevListMint(uint256 quantity_) public callerIsAWallet { require(totalSupply + quantity_ <= maxSupply, 'sold out'); require(DevList[msg.sender] > 0, "not eligible for DevList mint"); for(uint256 i = 0; i < quantity_; i++) { uint256 newTokenId = totalSupply + 1; WalletMints[msg.sender]++; DevList[msg.sender]--; totalSupply++; _safeMint(msg.sender, newTokenId); } } function pauseClaiming() public onlyOwner { claimingPaused = !claimingPaused; } function pauseMinting() public onlyOwner { mintingPaused = !mintingPaused; } function embarkTrain() public onlyOwner { isEmbarked = true; } function withdraw() external onlyOwner { (bool success, ) = withdrawWallet.call{ value: address(this).balance }(''); require(success, 'withdraw failed'); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"AllowList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"DevList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"DevListMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WalletMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"addMoreToClaimSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"addToAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"numOfSlots","type":"uint256[]"}],"name":"addToDevList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintCost_","type":"uint256"}],"name":"changeMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"withdrawWallet_","type":"address"}],"name":"changeWithdrawWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimingPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"embarkTrain","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":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isEmbarked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxClaimsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"pauseClaiming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenUri_","type":"string"}],"name":"setBaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"customContractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"hiddenMetadataUri_","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052604051806080016040528060508152602001620050b260509139601590816200002e919062000617565b506040518060400160405280601481526020017f4d69676e6f6e20547261696e205469636b6574730000000000000000000000008152506040518060400160405280600381526020017f4d545400000000000000000000000000000000000000000000000000000000008152508160009081620000ac919062000617565b508060019081620000be919062000617565b505050620000e1620000d5620001ef60201b60201c565b620001f760201b60201c565b60006007819055506000600881905550610309600981905550611dfb600a819055506001600b60016101000a81548160ff0219169083151502179055506001600b60006101000a81548160ff02191690831515021790555062000163604051806080016040528060508152602001620050b260509139620002bd60201b60201c565b6000600e60006101000a81548160ff021916908315150217905550663c6568f12e8000600f8190555073ef247fb4a0bb76398472af7729d9819bb446e4bb601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160118190555062000781565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002cd620002e260201b60201c565b80600d9081620002de919062000617565b5050565b620002f2620001ef60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003186200037360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000371576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000368906200075f565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200041f57607f821691505b602082108103620004355762000434620003d7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200049f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000460565b620004ab868362000460565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004f8620004f2620004ec84620004c3565b620004cd565b620004c3565b9050919050565b6000819050919050565b6200051483620004d7565b6200052c6200052382620004ff565b8484546200046d565b825550505050565b600090565b6200054362000534565b6200055081848462000509565b505050565b5b8181101562000578576200056c60008262000539565b60018101905062000556565b5050565b601f821115620005c75762000591816200043b565b6200059c8462000450565b81016020851015620005ac578190505b620005c4620005bb8562000450565b83018262000555565b50505b505050565b600082821c905092915050565b6000620005ec60001984600802620005cc565b1980831691505092915050565b6000620006078383620005d9565b9150826002028217905092915050565b62000622826200039d565b67ffffffffffffffff8111156200063e576200063d620003a8565b5b6200064a825462000406565b620006578282856200057c565b600060209050601f8311600181146200068f57600084156200067a578287015190505b620006868582620005f9565b865550620006f6565b601f1984166200069f866200043b565b60005b82811015620006c957848901518255600182019150602085019450602081019050620006a2565b86831015620006e95784890151620006e5601f891682620005d9565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000747602083620006fe565b915062000754826200070f565b602082019050919050565b600060208201905081810360008301526200077a8162000738565b9050919050565b61492180620007916000396000f3fe60806040526004361061027d5760003560e01c80637f1921ef1161014f578063b4150eb0116100c1578063d5abeb011161007a578063d5abeb011461093b578063da8fbf2a14610966578063e1a283d61461097d578063e8a3d485146109a8578063e985e9c5146109d3578063f2fde38b14610a105761027d565b8063b4150eb01461082b578063b88d4fde14610856578063bdb4b8481461087f578063c87b56dd146108aa578063d3b40692146108e7578063d54ad2a1146109105761027d565b806395d89b411161011357806395d89b411461074e57806397b8401114610779578063a0712d68146107a4578063a22cb465146107c0578063a45ba8e7146107e9578063aad2816e146108145761027d565b80637f1921ef1461067d57806385d178f4146106a65780638da5cb5b146106d1578063938e3d7b146106fc57806395652cfa146107255761027d565b8063208a6632116101f35780634fdd43cb116101ac5780634fdd43cb146105835780635ede942f146105ac5780636352211e146105d557806370a0823114610612578063715018a61461064f578063797871ff146106665761027d565b8063208a66321461049d57806323b872dd146104c65780633ccfd60b146104ef57806342842e0e1461050657806346ea529c1461052f5780634e71d92d1461056c5761027d565b8063095ea7b311610245578063095ea7b31461037b5780630ad29ec3146103a457806318160ddd146103cf578063182500b7146103fa5780631b22020a146104235780631dafeec5146104605761027d565b8063015963091461028257806301ffc9a7146102ab57806306fdde03146102e8578063081812fc1461031357806308c84b7414610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190612c55565b610a39565b005b3480156102b757600080fd5b506102d260048036038101906102cd9190612d0d565b610ad6565b6040516102df9190612d55565b60405180910390f35b3480156102f457600080fd5b506102fd610bb8565b60405161030a9190612e00565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612e58565b610c4a565b6040516103479190612ec6565b60405180910390f35b34801561035c57600080fd5b50610365610c90565b6040516103729190612ef0565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190612f37565b610c96565b005b3480156103b057600080fd5b506103b9610dad565b6040516103c69190612ef0565b60405180910390f35b3480156103db57600080fd5b506103e4610db3565b6040516103f19190612ef0565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c9190612e58565b610db9565b005b34801561042f57600080fd5b5061044a60048036038101906104459190612f77565b610ffd565b6040516104579190612ef0565b60405180910390f35b34801561046c57600080fd5b5061048760048036038101906104829190612f77565b611015565b6040516104949190612ef0565b60405180910390f35b3480156104a957600080fd5b506104c460048036038101906104bf9190612e58565b61102d565b005b3480156104d257600080fd5b506104ed60048036038101906104e89190612fa4565b61104c565b005b3480156104fb57600080fd5b506105046110ac565b005b34801561051257600080fd5b5061052d60048036038101906105289190612fa4565b611185565b005b34801561053b57600080fd5b5061055660048036038101906105519190612f77565b6111a5565b6040516105639190612ef0565b60405180910390f35b34801561057857600080fd5b506105816111bd565b005b34801561058f57600080fd5b506105aa60048036038101906105a59190613127565b6113e2565b005b3480156105b857600080fd5b506105d360048036038101906105ce9190612f77565b6113fd565b005b3480156105e157600080fd5b506105fc60048036038101906105f79190612e58565b611449565b6040516106099190612ec6565b60405180910390f35b34801561061e57600080fd5b5061063960048036038101906106349190612f77565b6114fa565b6040516106469190612ef0565b60405180910390f35b34801561065b57600080fd5b506106646115b1565b005b34801561067257600080fd5b5061067b6115c5565b005b34801561068957600080fd5b506106a4600480360381019061069f9190612e58565b6115ea565b005b3480156106b257600080fd5b506106bb6115fc565b6040516106c89190612ec6565b60405180910390f35b3480156106dd57600080fd5b506106e6611622565b6040516106f39190612ec6565b60405180910390f35b34801561070857600080fd5b50610723600480360381019061071e9190613127565b61164c565b005b34801561073157600080fd5b5061074c600480360381019061074791906131c6565b611667565b005b34801561075a57600080fd5b50610763611685565b6040516107709190612e00565b60405180910390f35b34801561078557600080fd5b5061078e611717565b60405161079b9190612d55565b60405180910390f35b6107be60048036038101906107b99190612e58565b61172a565b005b3480156107cc57600080fd5b506107e760048036038101906107e2919061323f565b611937565b005b3480156107f557600080fd5b506107fe61194d565b60405161080b9190612e00565b60405180910390f35b34801561082057600080fd5b506108296119db565b005b34801561083757600080fd5b50610840611a0f565b60405161084d9190612d55565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190613320565b611a22565b005b34801561088b57600080fd5b50610894611a84565b6040516108a19190612ef0565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190612e58565b611a8a565b6040516108de9190612e00565b60405180910390f35b3480156108f357600080fd5b5061090e60048036038101906109099190613529565b611bb4565b005b34801561091c57600080fd5b50610925611c58565b6040516109329190612ef0565b60405180910390f35b34801561094757600080fd5b50610950611c5e565b60405161095d9190612ef0565b60405180910390f35b34801561097257600080fd5b5061097b611c64565b005b34801561098957600080fd5b50610992611c98565b60405161099f9190612d55565b60405180910390f35b3480156109b457600080fd5b506109bd611cab565b6040516109ca9190612e00565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f591906135a1565b611d3d565b604051610a079190612d55565b60405180910390f35b348015610a1c57600080fd5b50610a376004803603810190610a329190612f77565b611dd1565b005b610a41611e54565b60005b83839050811015610ad0578160ff1660136000868685818110610a6a57610a696135e1565b5b9050602002016020810190610a7f9190612f77565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080610ac89061363f565b915050610a44565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ba157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb15750610bb082611ed2565b5b9050919050565b606060008054610bc7906136b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf3906136b6565b8015610c405780601f10610c1557610100808354040283529160200191610c40565b820191906000526020600020905b815481529060010190602001808311610c2357829003601f168201915b5050505050905090565b6000610c5582611f3c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60115481565b6000610ca182611449565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0890613759565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d30611f87565b73ffffffffffffffffffffffffffffffffffffffff161480610d5f5750610d5e81610d59611f87565b611d3d565b5b610d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d95906137eb565b60405180910390fd5b610da88383611f8f565b505050565b60095481565b60075481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1e90613857565b60405180910390fd5b600a5481600754610e389190613877565b1115610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e70906138f7565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef290613963565b60405180910390fd5b60005b81811015610ff95760006001600754610f179190613877565b9050601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f699061363f565b9190505550601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610fbe90613983565b919050555060076000815480929190610fd69061363f565b9190505550610fe53382612048565b508080610ff19061363f565b915050610efe565b5050565b60126020528060005260406000206000915090505481565b60136020528060005260406000206000915090505481565b611035611e54565b806009546110439190613877565b60098190555050565b61105d611057611f87565b82612066565b61109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390613a1e565b60405180910390fd5b6110a78383836120fb565b505050565b6110b4611e54565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516110fc90613a6f565b60006040518083038185875af1925050503d8060008114611139576040519150601f19603f3d011682016040523d82523d6000602084013e61113e565b606091505b5050905080611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117990613ad0565b60405180910390fd5b50565b6111a083838360405180602001604052806000815250611a22565b505050565b60146020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461122b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122290613857565b60405180910390fd5b600060115490506000816007546112429190613877565b9050600b60009054906101000a900460ff1615611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90613b3c565b60405180910390fd5b600954826008546112a59190613877565b11156112e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dd90613ba8565b60405180910390fd5b81601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135e90613c14565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906113b79061363f565b9190505550600760008154809291906113cf9061363f565b91905055506113de3382612048565b5050565b6113ea611e54565b80600d90816113f99190613de0565b5050565b611405611e54565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e890613efe565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361156a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156190613f90565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115b9611e54565b6115c36000612361565b565b6115cd611e54565b6001600e60006101000a81548160ff021916908315150217905550565b6115f2611e54565b80600f8190555050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611654611e54565b80601590816116639190613de0565b5050565b61166f611e54565b8181600c9182611680929190613fbb565b505050565b606060018054611694906136b6565b80601f01602080910402602001604051908101604052809291908181526020018280546116c0906136b6565b801561170d5780601f106116e25761010080835404028352916020019161170d565b820191906000526020600020905b8154815290600101906020018083116116f057829003601f168201915b5050505050905090565b600b60009054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f90613857565b60405180910390fd5b600b60019054906101000a900460ff16156117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df906140d7565b60405180910390fd5b600f54816117f691906140f7565b341015611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f90614185565b60405180910390fd5b600a54816007546118499190613877565b111561188a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611881906138f7565b60405180910390fd5b60005b8181101561193357600060016007546118a69190613877565b9050601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906118f89061363f565b9190505550600760008154809291906119109061363f565b919050555061191f3382612048565b50808061192b9061363f565b91505061188d565b5050565b611949611942611f87565b8383612427565b5050565b600d805461195a906136b6565b80601f0160208091040260200160405190810160405280929190818152602001828054611986906136b6565b80156119d35780601f106119a8576101008083540402835291602001916119d3565b820191906000526020600020905b8154815290600101906020018083116119b657829003601f168201915b505050505081565b6119e3611e54565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b600e60009054906101000a900460ff1681565b611a33611a2d611f87565b83612066565b611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6990613a1e565b60405180910390fd5b611a7e84848484612593565b50505050565b600f5481565b606060001515600e60009054906101000a900460ff16151503611b3957600d8054611ab4906136b6565b80601f0160208091040260200160405190810160405280929190818152602001828054611ae0906136b6565b8015611b2d5780601f10611b0257610100808354040283529160200191611b2d565b820191906000526020600020905b815481529060010190602001808311611b1057829003601f168201915b50505050509050611baf565b611b42826125ef565b611b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b78906141f1565b60405180910390fd5b600c611b8c8361265b565b604051602001611b9d92919061431c565b60405160208183030381529060405290505b919050565b611bbc611e54565b60005b8251811015611c5357818181518110611bdb57611bda6135e1565b5b602002602001015160146000858481518110611bfa57611bf96135e1565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611c4b9061363f565b915050611bbf565b505050565b60085481565b600a5481565b611c6c611e54565b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b600b60019054906101000a900460ff1681565b606060158054611cba906136b6565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce6906136b6565b8015611d335780601f10611d0857610100808354040283529160200191611d33565b820191906000526020600020905b815481529060010190602001808311611d1657829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611dd9611e54565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3f906143bd565b60405180910390fd5b611e5181612361565b50565b611e5c611f87565b73ffffffffffffffffffffffffffffffffffffffff16611e7a611622565b73ffffffffffffffffffffffffffffffffffffffff1614611ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec790614429565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611f45816125ef565b611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b90613efe565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661200283611449565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6120628282604051806020016040528060008152506127bb565b5050565b60008061207283611449565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120b457506120b38185611d3d565b5b806120f257508373ffffffffffffffffffffffffffffffffffffffff166120da84610c4a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661211b82611449565b73ffffffffffffffffffffffffffffffffffffffff1614612171576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612168906144bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d79061454d565b60405180910390fd5b6121eb838383612816565b6121f6600082611f8f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612246919061456d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461229d9190613877565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461235c83838361281b565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c906145ed565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125869190612d55565b60405180910390a3505050565b61259e8484846120fb565b6125aa84848484612820565b6125e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e09061467f565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600082036126a2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127b6565b600082905060005b600082146126d45780806126bd9061363f565b915050600a826126cd91906146ce565b91506126aa565b60008167ffffffffffffffff8111156126f0576126ef612ffc565b5b6040519080825280601f01601f1916602001820160405280156127225781602001600182028036833780820191505090505b5090505b600085146127af5760018261273b919061456d565b9150600a8561274a91906146ff565b60306127569190613877565b60f81b81838151811061276c5761276b6135e1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127a891906146ce565b9450612726565b8093505050505b919050565b6127c583836129a7565b6127d26000848484612820565b612811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128089061467f565b60405180910390fd5b505050565b505050565b505050565b60006128418473ffffffffffffffffffffffffffffffffffffffff16612b80565b1561299a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261286a611f87565b8786866040518563ffffffff1660e01b815260040161288c9493929190614785565b6020604051808303816000875af19250505080156128c857506040513d601f19601f820116820180604052508101906128c591906147e6565b60015b61294a573d80600081146128f8576040519150601f19603f3d011682016040523d82523d6000602084013e6128fd565b606091505b506000815103612942576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129399061467f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061299f565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0d9061485f565b60405180910390fd5b612a1f816125ef565b15612a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a56906148cb565b60405180910390fd5b612a6b60008383612816565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612abb9190613877565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b7c6000838361281b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112612bdc57612bdb612bb7565b5b8235905067ffffffffffffffff811115612bf957612bf8612bbc565b5b602083019150836020820283011115612c1557612c14612bc1565b5b9250929050565b600060ff82169050919050565b612c3281612c1c565b8114612c3d57600080fd5b50565b600081359050612c4f81612c29565b92915050565b600080600060408486031215612c6e57612c6d612bad565b5b600084013567ffffffffffffffff811115612c8c57612c8b612bb2565b5b612c9886828701612bc6565b93509350506020612cab86828701612c40565b9150509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612cea81612cb5565b8114612cf557600080fd5b50565b600081359050612d0781612ce1565b92915050565b600060208284031215612d2357612d22612bad565b5b6000612d3184828501612cf8565b91505092915050565b60008115159050919050565b612d4f81612d3a565b82525050565b6000602082019050612d6a6000830184612d46565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612daa578082015181840152602081019050612d8f565b60008484015250505050565b6000601f19601f8301169050919050565b6000612dd282612d70565b612ddc8185612d7b565b9350612dec818560208601612d8c565b612df581612db6565b840191505092915050565b60006020820190508181036000830152612e1a8184612dc7565b905092915050565b6000819050919050565b612e3581612e22565b8114612e4057600080fd5b50565b600081359050612e5281612e2c565b92915050565b600060208284031215612e6e57612e6d612bad565b5b6000612e7c84828501612e43565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612eb082612e85565b9050919050565b612ec081612ea5565b82525050565b6000602082019050612edb6000830184612eb7565b92915050565b612eea81612e22565b82525050565b6000602082019050612f056000830184612ee1565b92915050565b612f1481612ea5565b8114612f1f57600080fd5b50565b600081359050612f3181612f0b565b92915050565b60008060408385031215612f4e57612f4d612bad565b5b6000612f5c85828601612f22565b9250506020612f6d85828601612e43565b9150509250929050565b600060208284031215612f8d57612f8c612bad565b5b6000612f9b84828501612f22565b91505092915050565b600080600060608486031215612fbd57612fbc612bad565b5b6000612fcb86828701612f22565b9350506020612fdc86828701612f22565b9250506040612fed86828701612e43565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61303482612db6565b810181811067ffffffffffffffff8211171561305357613052612ffc565b5b80604052505050565b6000613066612ba3565b9050613072828261302b565b919050565b600067ffffffffffffffff82111561309257613091612ffc565b5b61309b82612db6565b9050602081019050919050565b82818337600083830152505050565b60006130ca6130c584613077565b61305c565b9050828152602081018484840111156130e6576130e5612ff7565b5b6130f18482856130a8565b509392505050565b600082601f83011261310e5761310d612bb7565b5b813561311e8482602086016130b7565b91505092915050565b60006020828403121561313d5761313c612bad565b5b600082013567ffffffffffffffff81111561315b5761315a612bb2565b5b613167848285016130f9565b91505092915050565b60008083601f84011261318657613185612bb7565b5b8235905067ffffffffffffffff8111156131a3576131a2612bbc565b5b6020830191508360018202830111156131bf576131be612bc1565b5b9250929050565b600080602083850312156131dd576131dc612bad565b5b600083013567ffffffffffffffff8111156131fb576131fa612bb2565b5b61320785828601613170565b92509250509250929050565b61321c81612d3a565b811461322757600080fd5b50565b60008135905061323981613213565b92915050565b6000806040838503121561325657613255612bad565b5b600061326485828601612f22565b92505060206132758582860161322a565b9150509250929050565b600067ffffffffffffffff82111561329a57613299612ffc565b5b6132a382612db6565b9050602081019050919050565b60006132c36132be8461327f565b61305c565b9050828152602081018484840111156132df576132de612ff7565b5b6132ea8482856130a8565b509392505050565b600082601f83011261330757613306612bb7565b5b81356133178482602086016132b0565b91505092915050565b6000806000806080858703121561333a57613339612bad565b5b600061334887828801612f22565b945050602061335987828801612f22565b935050604061336a87828801612e43565b925050606085013567ffffffffffffffff81111561338b5761338a612bb2565b5b613397878288016132f2565b91505092959194509250565b600067ffffffffffffffff8211156133be576133bd612ffc565b5b602082029050602081019050919050565b60006133e26133dd846133a3565b61305c565b9050808382526020820190506020840283018581111561340557613404612bc1565b5b835b8181101561342e578061341a8882612f22565b845260208401935050602081019050613407565b5050509392505050565b600082601f83011261344d5761344c612bb7565b5b813561345d8482602086016133cf565b91505092915050565b600067ffffffffffffffff82111561348157613480612ffc565b5b602082029050602081019050919050565b60006134a56134a084613466565b61305c565b905080838252602082019050602084028301858111156134c8576134c7612bc1565b5b835b818110156134f157806134dd8882612e43565b8452602084019350506020810190506134ca565b5050509392505050565b600082601f8301126135105761350f612bb7565b5b8135613520848260208601613492565b91505092915050565b600080604083850312156135405761353f612bad565b5b600083013567ffffffffffffffff81111561355e5761355d612bb2565b5b61356a85828601613438565b925050602083013567ffffffffffffffff81111561358b5761358a612bb2565b5b613597858286016134fb565b9150509250929050565b600080604083850312156135b8576135b7612bad565b5b60006135c685828601612f22565b92505060206135d785828601612f22565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061364a82612e22565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361367c5761367b613610565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806136ce57607f821691505b6020821081036136e1576136e0613687565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613743602183612d7b565b915061374e826136e7565b604082019050919050565b6000602082019050818103600083015261377281613736565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006137d5603e83612d7b565b91506137e082613779565b604082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b7f416e6f7468657220636f6e747261637420646574656374656400000000000000600082015250565b6000613841601983612d7b565b915061384c8261380b565b602082019050919050565b6000602082019050818103600083015261387081613834565b9050919050565b600061388282612e22565b915061388d83612e22565b92508282019050808211156138a5576138a4613610565b5b92915050565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b60006138e1600883612d7b565b91506138ec826138ab565b602082019050919050565b60006020820190508181036000830152613910816138d4565b9050919050565b7f6e6f7420656c696769626c6520666f72204465764c697374206d696e74000000600082015250565b600061394d601d83612d7b565b915061395882613917565b602082019050919050565b6000602082019050818103600083015261397c81613940565b9050919050565b600061398e82612e22565b9150600082036139a1576139a0613610565b5b600182039050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613a08602e83612d7b565b9150613a13826139ac565b604082019050919050565b60006020820190508181036000830152613a37816139fb565b9050919050565b600081905092915050565b50565b6000613a59600083613a3e565b9150613a6482613a49565b600082019050919050565b6000613a7a82613a4c565b9150819050919050565b7f7769746864726177206661696c65640000000000000000000000000000000000600082015250565b6000613aba600f83612d7b565b9150613ac582613a84565b602082019050919050565b60006020820190508181036000830152613ae981613aad565b9050919050565b7f636c61696d696e67206973207061757365640000000000000000000000000000600082015250565b6000613b26601283612d7b565b9150613b3182613af0565b602082019050919050565b60006020820190508181036000830152613b5581613b19565b9050919050565b7f6e6f206d6f726520746f20636c61696d21000000000000000000000000000000600082015250565b6000613b92601183612d7b565b9150613b9d82613b5c565b602082019050919050565b60006020820190508181036000830152613bc181613b85565b9050919050565b7f657863656564206d61782077616c6c6574000000000000000000000000000000600082015250565b6000613bfe601183612d7b565b9150613c0982613bc8565b602082019050919050565b60006020820190508181036000830152613c2d81613bf1565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613c967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613c59565b613ca08683613c59565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613cdd613cd8613cd384612e22565b613cb8565b612e22565b9050919050565b6000819050919050565b613cf783613cc2565b613d0b613d0382613ce4565b848454613c66565b825550505050565b600090565b613d20613d13565b613d2b818484613cee565b505050565b5b81811015613d4f57613d44600082613d18565b600181019050613d31565b5050565b601f821115613d9457613d6581613c34565b613d6e84613c49565b81016020851015613d7d578190505b613d91613d8985613c49565b830182613d30565b50505b505050565b600082821c905092915050565b6000613db760001984600802613d99565b1980831691505092915050565b6000613dd08383613da6565b9150826002028217905092915050565b613de982612d70565b67ffffffffffffffff811115613e0257613e01612ffc565b5b613e0c82546136b6565b613e17828285613d53565b600060209050601f831160018114613e4a5760008415613e38578287015190505b613e428582613dc4565b865550613eaa565b601f198416613e5886613c34565b60005b82811015613e8057848901518255600182019150602085019450602081019050613e5b565b86831015613e9d5784890151613e99601f891682613da6565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613ee8601883612d7b565b9150613ef382613eb2565b602082019050919050565b60006020820190508181036000830152613f1781613edb565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613f7a602983612d7b565b9150613f8582613f1e565b604082019050919050565b60006020820190508181036000830152613fa981613f6d565b9050919050565b600082905092915050565b613fc58383613fb0565b67ffffffffffffffff811115613fde57613fdd612ffc565b5b613fe882546136b6565b613ff3828285613d53565b6000601f8311600181146140225760008415614010578287013590505b61401a8582613dc4565b865550614082565b601f19841661403086613c34565b60005b8281101561405857848901358255600182019150602085019450602081019050614033565b868310156140755784890135614071601f891682613da6565b8355505b6001600288020188555050505b50505050505050565b7f6d696e74696e6720697320706175736564000000000000000000000000000000600082015250565b60006140c1601183612d7b565b91506140cc8261408b565b602082019050919050565b600060208201905081810360008301526140f0816140b4565b9050919050565b600061410282612e22565b915061410d83612e22565b925082820261411b81612e22565b9150828204841483151761413257614131613610565b5b5092915050565b7f77726f6e67206d696e742076616c756500000000000000000000000000000000600082015250565b600061416f601083612d7b565b915061417a82614139565b602082019050919050565b6000602082019050818103600083015261419e81614162565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374210000000000000000000000600082015250565b60006141db601583612d7b565b91506141e6826141a5565b602082019050919050565b6000602082019050818103600083015261420a816141ce565b9050919050565b600081905092915050565b60008154614229816136b6565b6142338186614211565b9450600182166000811461424e576001811461426357614296565b60ff1983168652811515820286019350614296565b61426c85613c34565b60005b8381101561428e5781548189015260018201915060208101905061426f565b838801955050505b50505092915050565b60006142aa82612d70565b6142b48185614211565b93506142c4818560208601612d8c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614306600583614211565b9150614311826142d0565b600582019050919050565b6000614328828561421c565b9150614334828461429f565b915061433f826142f9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143a7602683612d7b565b91506143b28261434b565b604082019050919050565b600060208201905081810360008301526143d68161439a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614413602083612d7b565b915061441e826143dd565b602082019050919050565b6000602082019050818103600083015261444281614406565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006144a5602583612d7b565b91506144b082614449565b604082019050919050565b600060208201905081810360008301526144d481614498565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614537602483612d7b565b9150614542826144db565b604082019050919050565b600060208201905081810360008301526145668161452a565b9050919050565b600061457882612e22565b915061458383612e22565b925082820390508181111561459b5761459a613610565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006145d7601983612d7b565b91506145e2826145a1565b602082019050919050565b60006020820190508181036000830152614606816145ca565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614669603283612d7b565b91506146748261460d565b604082019050919050565b600060208201905081810360008301526146988161465c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146d982612e22565b91506146e483612e22565b9250826146f4576146f361469f565b5b828204905092915050565b600061470a82612e22565b915061471583612e22565b9250826147255761472461469f565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061475782614730565b614761818561473b565b9350614771818560208601612d8c565b61477a81612db6565b840191505092915050565b600060808201905061479a6000830187612eb7565b6147a76020830186612eb7565b6147b46040830185612ee1565b81810360608301526147c6818461474c565b905095945050505050565b6000815190506147e081612ce1565b92915050565b6000602082840312156147fc576147fb612bad565b5b600061480a848285016147d1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614849602083612d7b565b915061485482614813565b602082019050919050565b600060208201905081810360008301526148788161483c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006148b5601c83612d7b565b91506148c08261487f565b602082019050919050565b600060208201905081810360008301526148e4816148a8565b905091905056fea264697066735822122004f526f8ddf6ce7d513131e95983c1974385640ed9cc85751e8ecb7dc3b1506264736f6c6343000811003368747470733a2f2f6f72696f6e2e6d7970696e6174612e636c6f75642f697066732f516d586331514562456541453939386538436a7545746d5a4e57576674775331796f5662674c4879396e65476851
Deployed Bytecode
0x60806040526004361061027d5760003560e01c80637f1921ef1161014f578063b4150eb0116100c1578063d5abeb011161007a578063d5abeb011461093b578063da8fbf2a14610966578063e1a283d61461097d578063e8a3d485146109a8578063e985e9c5146109d3578063f2fde38b14610a105761027d565b8063b4150eb01461082b578063b88d4fde14610856578063bdb4b8481461087f578063c87b56dd146108aa578063d3b40692146108e7578063d54ad2a1146109105761027d565b806395d89b411161011357806395d89b411461074e57806397b8401114610779578063a0712d68146107a4578063a22cb465146107c0578063a45ba8e7146107e9578063aad2816e146108145761027d565b80637f1921ef1461067d57806385d178f4146106a65780638da5cb5b146106d1578063938e3d7b146106fc57806395652cfa146107255761027d565b8063208a6632116101f35780634fdd43cb116101ac5780634fdd43cb146105835780635ede942f146105ac5780636352211e146105d557806370a0823114610612578063715018a61461064f578063797871ff146106665761027d565b8063208a66321461049d57806323b872dd146104c65780633ccfd60b146104ef57806342842e0e1461050657806346ea529c1461052f5780634e71d92d1461056c5761027d565b8063095ea7b311610245578063095ea7b31461037b5780630ad29ec3146103a457806318160ddd146103cf578063182500b7146103fa5780631b22020a146104235780631dafeec5146104605761027d565b8063015963091461028257806301ffc9a7146102ab57806306fdde03146102e8578063081812fc1461031357806308c84b7414610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190612c55565b610a39565b005b3480156102b757600080fd5b506102d260048036038101906102cd9190612d0d565b610ad6565b6040516102df9190612d55565b60405180910390f35b3480156102f457600080fd5b506102fd610bb8565b60405161030a9190612e00565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612e58565b610c4a565b6040516103479190612ec6565b60405180910390f35b34801561035c57600080fd5b50610365610c90565b6040516103729190612ef0565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190612f37565b610c96565b005b3480156103b057600080fd5b506103b9610dad565b6040516103c69190612ef0565b60405180910390f35b3480156103db57600080fd5b506103e4610db3565b6040516103f19190612ef0565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c9190612e58565b610db9565b005b34801561042f57600080fd5b5061044a60048036038101906104459190612f77565b610ffd565b6040516104579190612ef0565b60405180910390f35b34801561046c57600080fd5b5061048760048036038101906104829190612f77565b611015565b6040516104949190612ef0565b60405180910390f35b3480156104a957600080fd5b506104c460048036038101906104bf9190612e58565b61102d565b005b3480156104d257600080fd5b506104ed60048036038101906104e89190612fa4565b61104c565b005b3480156104fb57600080fd5b506105046110ac565b005b34801561051257600080fd5b5061052d60048036038101906105289190612fa4565b611185565b005b34801561053b57600080fd5b5061055660048036038101906105519190612f77565b6111a5565b6040516105639190612ef0565b60405180910390f35b34801561057857600080fd5b506105816111bd565b005b34801561058f57600080fd5b506105aa60048036038101906105a59190613127565b6113e2565b005b3480156105b857600080fd5b506105d360048036038101906105ce9190612f77565b6113fd565b005b3480156105e157600080fd5b506105fc60048036038101906105f79190612e58565b611449565b6040516106099190612ec6565b60405180910390f35b34801561061e57600080fd5b5061063960048036038101906106349190612f77565b6114fa565b6040516106469190612ef0565b60405180910390f35b34801561065b57600080fd5b506106646115b1565b005b34801561067257600080fd5b5061067b6115c5565b005b34801561068957600080fd5b506106a4600480360381019061069f9190612e58565b6115ea565b005b3480156106b257600080fd5b506106bb6115fc565b6040516106c89190612ec6565b60405180910390f35b3480156106dd57600080fd5b506106e6611622565b6040516106f39190612ec6565b60405180910390f35b34801561070857600080fd5b50610723600480360381019061071e9190613127565b61164c565b005b34801561073157600080fd5b5061074c600480360381019061074791906131c6565b611667565b005b34801561075a57600080fd5b50610763611685565b6040516107709190612e00565b60405180910390f35b34801561078557600080fd5b5061078e611717565b60405161079b9190612d55565b60405180910390f35b6107be60048036038101906107b99190612e58565b61172a565b005b3480156107cc57600080fd5b506107e760048036038101906107e2919061323f565b611937565b005b3480156107f557600080fd5b506107fe61194d565b60405161080b9190612e00565b60405180910390f35b34801561082057600080fd5b506108296119db565b005b34801561083757600080fd5b50610840611a0f565b60405161084d9190612d55565b60405180910390f35b34801561086257600080fd5b5061087d60048036038101906108789190613320565b611a22565b005b34801561088b57600080fd5b50610894611a84565b6040516108a19190612ef0565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190612e58565b611a8a565b6040516108de9190612e00565b60405180910390f35b3480156108f357600080fd5b5061090e60048036038101906109099190613529565b611bb4565b005b34801561091c57600080fd5b50610925611c58565b6040516109329190612ef0565b60405180910390f35b34801561094757600080fd5b50610950611c5e565b60405161095d9190612ef0565b60405180910390f35b34801561097257600080fd5b5061097b611c64565b005b34801561098957600080fd5b50610992611c98565b60405161099f9190612d55565b60405180910390f35b3480156109b457600080fd5b506109bd611cab565b6040516109ca9190612e00565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f591906135a1565b611d3d565b604051610a079190612d55565b60405180910390f35b348015610a1c57600080fd5b50610a376004803603810190610a329190612f77565b611dd1565b005b610a41611e54565b60005b83839050811015610ad0578160ff1660136000868685818110610a6a57610a696135e1565b5b9050602002016020810190610a7f9190612f77565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080610ac89061363f565b915050610a44565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ba157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb15750610bb082611ed2565b5b9050919050565b606060008054610bc7906136b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf3906136b6565b8015610c405780601f10610c1557610100808354040283529160200191610c40565b820191906000526020600020905b815481529060010190602001808311610c2357829003601f168201915b5050505050905090565b6000610c5582611f3c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60115481565b6000610ca182611449565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0890613759565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d30611f87565b73ffffffffffffffffffffffffffffffffffffffff161480610d5f5750610d5e81610d59611f87565b611d3d565b5b610d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d95906137eb565b60405180910390fd5b610da88383611f8f565b505050565b60095481565b60075481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1e90613857565b60405180910390fd5b600a5481600754610e389190613877565b1115610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e70906138f7565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef290613963565b60405180910390fd5b60005b81811015610ff95760006001600754610f179190613877565b9050601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f699061363f565b9190505550601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610fbe90613983565b919050555060076000815480929190610fd69061363f565b9190505550610fe53382612048565b508080610ff19061363f565b915050610efe565b5050565b60126020528060005260406000206000915090505481565b60136020528060005260406000206000915090505481565b611035611e54565b806009546110439190613877565b60098190555050565b61105d611057611f87565b82612066565b61109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390613a1e565b60405180910390fd5b6110a78383836120fb565b505050565b6110b4611e54565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516110fc90613a6f565b60006040518083038185875af1925050503d8060008114611139576040519150601f19603f3d011682016040523d82523d6000602084013e61113e565b606091505b5050905080611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117990613ad0565b60405180910390fd5b50565b6111a083838360405180602001604052806000815250611a22565b505050565b60146020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461122b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122290613857565b60405180910390fd5b600060115490506000816007546112429190613877565b9050600b60009054906101000a900460ff1615611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90613b3c565b60405180910390fd5b600954826008546112a59190613877565b11156112e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dd90613ba8565b60405180910390fd5b81601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135e90613c14565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906113b79061363f565b9190505550600760008154809291906113cf9061363f565b91905055506113de3382612048565b5050565b6113ea611e54565b80600d90816113f99190613de0565b5050565b611405611e54565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e890613efe565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361156a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156190613f90565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115b9611e54565b6115c36000612361565b565b6115cd611e54565b6001600e60006101000a81548160ff021916908315150217905550565b6115f2611e54565b80600f8190555050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611654611e54565b80601590816116639190613de0565b5050565b61166f611e54565b8181600c9182611680929190613fbb565b505050565b606060018054611694906136b6565b80601f01602080910402602001604051908101604052809291908181526020018280546116c0906136b6565b801561170d5780601f106116e25761010080835404028352916020019161170d565b820191906000526020600020905b8154815290600101906020018083116116f057829003601f168201915b5050505050905090565b600b60009054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f90613857565b60405180910390fd5b600b60019054906101000a900460ff16156117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df906140d7565b60405180910390fd5b600f54816117f691906140f7565b341015611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f90614185565b60405180910390fd5b600a54816007546118499190613877565b111561188a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611881906138f7565b60405180910390fd5b60005b8181101561193357600060016007546118a69190613877565b9050601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906118f89061363f565b9190505550600760008154809291906119109061363f565b919050555061191f3382612048565b50808061192b9061363f565b91505061188d565b5050565b611949611942611f87565b8383612427565b5050565b600d805461195a906136b6565b80601f0160208091040260200160405190810160405280929190818152602001828054611986906136b6565b80156119d35780601f106119a8576101008083540402835291602001916119d3565b820191906000526020600020905b8154815290600101906020018083116119b657829003601f168201915b505050505081565b6119e3611e54565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b600e60009054906101000a900460ff1681565b611a33611a2d611f87565b83612066565b611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6990613a1e565b60405180910390fd5b611a7e84848484612593565b50505050565b600f5481565b606060001515600e60009054906101000a900460ff16151503611b3957600d8054611ab4906136b6565b80601f0160208091040260200160405190810160405280929190818152602001828054611ae0906136b6565b8015611b2d5780601f10611b0257610100808354040283529160200191611b2d565b820191906000526020600020905b815481529060010190602001808311611b1057829003601f168201915b50505050509050611baf565b611b42826125ef565b611b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b78906141f1565b60405180910390fd5b600c611b8c8361265b565b604051602001611b9d92919061431c565b60405160208183030381529060405290505b919050565b611bbc611e54565b60005b8251811015611c5357818181518110611bdb57611bda6135e1565b5b602002602001015160146000858481518110611bfa57611bf96135e1565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611c4b9061363f565b915050611bbf565b505050565b60085481565b600a5481565b611c6c611e54565b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b600b60019054906101000a900460ff1681565b606060158054611cba906136b6565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce6906136b6565b8015611d335780601f10611d0857610100808354040283529160200191611d33565b820191906000526020600020905b815481529060010190602001808311611d1657829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611dd9611e54565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3f906143bd565b60405180910390fd5b611e5181612361565b50565b611e5c611f87565b73ffffffffffffffffffffffffffffffffffffffff16611e7a611622565b73ffffffffffffffffffffffffffffffffffffffff1614611ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec790614429565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611f45816125ef565b611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b90613efe565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661200283611449565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6120628282604051806020016040528060008152506127bb565b5050565b60008061207283611449565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120b457506120b38185611d3d565b5b806120f257508373ffffffffffffffffffffffffffffffffffffffff166120da84610c4a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661211b82611449565b73ffffffffffffffffffffffffffffffffffffffff1614612171576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612168906144bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d79061454d565b60405180910390fd5b6121eb838383612816565b6121f6600082611f8f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612246919061456d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461229d9190613877565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461235c83838361281b565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c906145ed565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125869190612d55565b60405180910390a3505050565b61259e8484846120fb565b6125aa84848484612820565b6125e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e09061467f565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600082036126a2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127b6565b600082905060005b600082146126d45780806126bd9061363f565b915050600a826126cd91906146ce565b91506126aa565b60008167ffffffffffffffff8111156126f0576126ef612ffc565b5b6040519080825280601f01601f1916602001820160405280156127225781602001600182028036833780820191505090505b5090505b600085146127af5760018261273b919061456d565b9150600a8561274a91906146ff565b60306127569190613877565b60f81b81838151811061276c5761276b6135e1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127a891906146ce565b9450612726565b8093505050505b919050565b6127c583836129a7565b6127d26000848484612820565b612811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128089061467f565b60405180910390fd5b505050565b505050565b505050565b60006128418473ffffffffffffffffffffffffffffffffffffffff16612b80565b1561299a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261286a611f87565b8786866040518563ffffffff1660e01b815260040161288c9493929190614785565b6020604051808303816000875af19250505080156128c857506040513d601f19601f820116820180604052508101906128c591906147e6565b60015b61294a573d80600081146128f8576040519150601f19603f3d011682016040523d82523d6000602084013e6128fd565b606091505b506000815103612942576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129399061467f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061299f565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0d9061485f565b60405180910390fd5b612a1f816125ef565b15612a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a56906148cb565b60405180910390fd5b612a6b60008383612816565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612abb9190613877565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b7c6000838361281b565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112612bdc57612bdb612bb7565b5b8235905067ffffffffffffffff811115612bf957612bf8612bbc565b5b602083019150836020820283011115612c1557612c14612bc1565b5b9250929050565b600060ff82169050919050565b612c3281612c1c565b8114612c3d57600080fd5b50565b600081359050612c4f81612c29565b92915050565b600080600060408486031215612c6e57612c6d612bad565b5b600084013567ffffffffffffffff811115612c8c57612c8b612bb2565b5b612c9886828701612bc6565b93509350506020612cab86828701612c40565b9150509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612cea81612cb5565b8114612cf557600080fd5b50565b600081359050612d0781612ce1565b92915050565b600060208284031215612d2357612d22612bad565b5b6000612d3184828501612cf8565b91505092915050565b60008115159050919050565b612d4f81612d3a565b82525050565b6000602082019050612d6a6000830184612d46565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612daa578082015181840152602081019050612d8f565b60008484015250505050565b6000601f19601f8301169050919050565b6000612dd282612d70565b612ddc8185612d7b565b9350612dec818560208601612d8c565b612df581612db6565b840191505092915050565b60006020820190508181036000830152612e1a8184612dc7565b905092915050565b6000819050919050565b612e3581612e22565b8114612e4057600080fd5b50565b600081359050612e5281612e2c565b92915050565b600060208284031215612e6e57612e6d612bad565b5b6000612e7c84828501612e43565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612eb082612e85565b9050919050565b612ec081612ea5565b82525050565b6000602082019050612edb6000830184612eb7565b92915050565b612eea81612e22565b82525050565b6000602082019050612f056000830184612ee1565b92915050565b612f1481612ea5565b8114612f1f57600080fd5b50565b600081359050612f3181612f0b565b92915050565b60008060408385031215612f4e57612f4d612bad565b5b6000612f5c85828601612f22565b9250506020612f6d85828601612e43565b9150509250929050565b600060208284031215612f8d57612f8c612bad565b5b6000612f9b84828501612f22565b91505092915050565b600080600060608486031215612fbd57612fbc612bad565b5b6000612fcb86828701612f22565b9350506020612fdc86828701612f22565b9250506040612fed86828701612e43565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61303482612db6565b810181811067ffffffffffffffff8211171561305357613052612ffc565b5b80604052505050565b6000613066612ba3565b9050613072828261302b565b919050565b600067ffffffffffffffff82111561309257613091612ffc565b5b61309b82612db6565b9050602081019050919050565b82818337600083830152505050565b60006130ca6130c584613077565b61305c565b9050828152602081018484840111156130e6576130e5612ff7565b5b6130f18482856130a8565b509392505050565b600082601f83011261310e5761310d612bb7565b5b813561311e8482602086016130b7565b91505092915050565b60006020828403121561313d5761313c612bad565b5b600082013567ffffffffffffffff81111561315b5761315a612bb2565b5b613167848285016130f9565b91505092915050565b60008083601f84011261318657613185612bb7565b5b8235905067ffffffffffffffff8111156131a3576131a2612bbc565b5b6020830191508360018202830111156131bf576131be612bc1565b5b9250929050565b600080602083850312156131dd576131dc612bad565b5b600083013567ffffffffffffffff8111156131fb576131fa612bb2565b5b61320785828601613170565b92509250509250929050565b61321c81612d3a565b811461322757600080fd5b50565b60008135905061323981613213565b92915050565b6000806040838503121561325657613255612bad565b5b600061326485828601612f22565b92505060206132758582860161322a565b9150509250929050565b600067ffffffffffffffff82111561329a57613299612ffc565b5b6132a382612db6565b9050602081019050919050565b60006132c36132be8461327f565b61305c565b9050828152602081018484840111156132df576132de612ff7565b5b6132ea8482856130a8565b509392505050565b600082601f83011261330757613306612bb7565b5b81356133178482602086016132b0565b91505092915050565b6000806000806080858703121561333a57613339612bad565b5b600061334887828801612f22565b945050602061335987828801612f22565b935050604061336a87828801612e43565b925050606085013567ffffffffffffffff81111561338b5761338a612bb2565b5b613397878288016132f2565b91505092959194509250565b600067ffffffffffffffff8211156133be576133bd612ffc565b5b602082029050602081019050919050565b60006133e26133dd846133a3565b61305c565b9050808382526020820190506020840283018581111561340557613404612bc1565b5b835b8181101561342e578061341a8882612f22565b845260208401935050602081019050613407565b5050509392505050565b600082601f83011261344d5761344c612bb7565b5b813561345d8482602086016133cf565b91505092915050565b600067ffffffffffffffff82111561348157613480612ffc565b5b602082029050602081019050919050565b60006134a56134a084613466565b61305c565b905080838252602082019050602084028301858111156134c8576134c7612bc1565b5b835b818110156134f157806134dd8882612e43565b8452602084019350506020810190506134ca565b5050509392505050565b600082601f8301126135105761350f612bb7565b5b8135613520848260208601613492565b91505092915050565b600080604083850312156135405761353f612bad565b5b600083013567ffffffffffffffff81111561355e5761355d612bb2565b5b61356a85828601613438565b925050602083013567ffffffffffffffff81111561358b5761358a612bb2565b5b613597858286016134fb565b9150509250929050565b600080604083850312156135b8576135b7612bad565b5b60006135c685828601612f22565b92505060206135d785828601612f22565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061364a82612e22565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361367c5761367b613610565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806136ce57607f821691505b6020821081036136e1576136e0613687565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613743602183612d7b565b915061374e826136e7565b604082019050919050565b6000602082019050818103600083015261377281613736565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006137d5603e83612d7b565b91506137e082613779565b604082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b7f416e6f7468657220636f6e747261637420646574656374656400000000000000600082015250565b6000613841601983612d7b565b915061384c8261380b565b602082019050919050565b6000602082019050818103600083015261387081613834565b9050919050565b600061388282612e22565b915061388d83612e22565b92508282019050808211156138a5576138a4613610565b5b92915050565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b60006138e1600883612d7b565b91506138ec826138ab565b602082019050919050565b60006020820190508181036000830152613910816138d4565b9050919050565b7f6e6f7420656c696769626c6520666f72204465764c697374206d696e74000000600082015250565b600061394d601d83612d7b565b915061395882613917565b602082019050919050565b6000602082019050818103600083015261397c81613940565b9050919050565b600061398e82612e22565b9150600082036139a1576139a0613610565b5b600182039050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613a08602e83612d7b565b9150613a13826139ac565b604082019050919050565b60006020820190508181036000830152613a37816139fb565b9050919050565b600081905092915050565b50565b6000613a59600083613a3e565b9150613a6482613a49565b600082019050919050565b6000613a7a82613a4c565b9150819050919050565b7f7769746864726177206661696c65640000000000000000000000000000000000600082015250565b6000613aba600f83612d7b565b9150613ac582613a84565b602082019050919050565b60006020820190508181036000830152613ae981613aad565b9050919050565b7f636c61696d696e67206973207061757365640000000000000000000000000000600082015250565b6000613b26601283612d7b565b9150613b3182613af0565b602082019050919050565b60006020820190508181036000830152613b5581613b19565b9050919050565b7f6e6f206d6f726520746f20636c61696d21000000000000000000000000000000600082015250565b6000613b92601183612d7b565b9150613b9d82613b5c565b602082019050919050565b60006020820190508181036000830152613bc181613b85565b9050919050565b7f657863656564206d61782077616c6c6574000000000000000000000000000000600082015250565b6000613bfe601183612d7b565b9150613c0982613bc8565b602082019050919050565b60006020820190508181036000830152613c2d81613bf1565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613c967fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613c59565b613ca08683613c59565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613cdd613cd8613cd384612e22565b613cb8565b612e22565b9050919050565b6000819050919050565b613cf783613cc2565b613d0b613d0382613ce4565b848454613c66565b825550505050565b600090565b613d20613d13565b613d2b818484613cee565b505050565b5b81811015613d4f57613d44600082613d18565b600181019050613d31565b5050565b601f821115613d9457613d6581613c34565b613d6e84613c49565b81016020851015613d7d578190505b613d91613d8985613c49565b830182613d30565b50505b505050565b600082821c905092915050565b6000613db760001984600802613d99565b1980831691505092915050565b6000613dd08383613da6565b9150826002028217905092915050565b613de982612d70565b67ffffffffffffffff811115613e0257613e01612ffc565b5b613e0c82546136b6565b613e17828285613d53565b600060209050601f831160018114613e4a5760008415613e38578287015190505b613e428582613dc4565b865550613eaa565b601f198416613e5886613c34565b60005b82811015613e8057848901518255600182019150602085019450602081019050613e5b565b86831015613e9d5784890151613e99601f891682613da6565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613ee8601883612d7b565b9150613ef382613eb2565b602082019050919050565b60006020820190508181036000830152613f1781613edb565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613f7a602983612d7b565b9150613f8582613f1e565b604082019050919050565b60006020820190508181036000830152613fa981613f6d565b9050919050565b600082905092915050565b613fc58383613fb0565b67ffffffffffffffff811115613fde57613fdd612ffc565b5b613fe882546136b6565b613ff3828285613d53565b6000601f8311600181146140225760008415614010578287013590505b61401a8582613dc4565b865550614082565b601f19841661403086613c34565b60005b8281101561405857848901358255600182019150602085019450602081019050614033565b868310156140755784890135614071601f891682613da6565b8355505b6001600288020188555050505b50505050505050565b7f6d696e74696e6720697320706175736564000000000000000000000000000000600082015250565b60006140c1601183612d7b565b91506140cc8261408b565b602082019050919050565b600060208201905081810360008301526140f0816140b4565b9050919050565b600061410282612e22565b915061410d83612e22565b925082820261411b81612e22565b9150828204841483151761413257614131613610565b5b5092915050565b7f77726f6e67206d696e742076616c756500000000000000000000000000000000600082015250565b600061416f601083612d7b565b915061417a82614139565b602082019050919050565b6000602082019050818103600083015261419e81614162565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374210000000000000000000000600082015250565b60006141db601583612d7b565b91506141e6826141a5565b602082019050919050565b6000602082019050818103600083015261420a816141ce565b9050919050565b600081905092915050565b60008154614229816136b6565b6142338186614211565b9450600182166000811461424e576001811461426357614296565b60ff1983168652811515820286019350614296565b61426c85613c34565b60005b8381101561428e5781548189015260018201915060208101905061426f565b838801955050505b50505092915050565b60006142aa82612d70565b6142b48185614211565b93506142c4818560208601612d8c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614306600583614211565b9150614311826142d0565b600582019050919050565b6000614328828561421c565b9150614334828461429f565b915061433f826142f9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006143a7602683612d7b565b91506143b28261434b565b604082019050919050565b600060208201905081810360008301526143d68161439a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614413602083612d7b565b915061441e826143dd565b602082019050919050565b6000602082019050818103600083015261444281614406565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006144a5602583612d7b565b91506144b082614449565b604082019050919050565b600060208201905081810360008301526144d481614498565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614537602483612d7b565b9150614542826144db565b604082019050919050565b600060208201905081810360008301526145668161452a565b9050919050565b600061457882612e22565b915061458383612e22565b925082820390508181111561459b5761459a613610565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006145d7601983612d7b565b91506145e2826145a1565b602082019050919050565b60006020820190508181036000830152614606816145ca565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614669603283612d7b565b91506146748261460d565b604082019050919050565b600060208201905081810360008301526146988161465c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146d982612e22565b91506146e483612e22565b9250826146f4576146f361469f565b5b828204905092915050565b600061470a82612e22565b915061471583612e22565b9250826147255761472461469f565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061475782614730565b614761818561473b565b9350614771818560208601612d8c565b61477a81612db6565b840191505092915050565b600060808201905061479a6000830187612eb7565b6147a76020830186612eb7565b6147b46040830185612ee1565b81810360608301526147c6818461474c565b905095945050505050565b6000815190506147e081612ce1565b92915050565b6000602082840312156147fc576147fb612bad565b5b600061480a848285016147d1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614849602083612d7b565b915061485482614813565b602082019050919050565b600060208201905081810360008301526148788161483c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006148b5601c83612d7b565b91506148c08261487f565b602082019050919050565b600060208201905081810360008301526148e4816148a8565b905091905056fea264697066735822122004f526f8ddf6ce7d513131e95983c1974385640ed9cc85751e8ecb7dc3b1506264736f6c63430008110033
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.