ETH Price: $3,360.58 (-1.62%)
Gas: 8 Gwei

Token

Pork1984 (PORK1984)
 

Overview

Max Total Supply

7,004 PORK1984

Holders

2,324

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 PORK1984
0xd83c7bced50ba86f1c1fbf29abba278e3659f72a
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

PORK 1984 is a NFT Story of 9840 PORKS divided in 3 chapters.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Pork1984

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 20 runs

Other Settings:
default evmVersion
File 1 of 19 : ClaimableWithSvin.sol
pragma solidity ^0.8.0;

import "openzeppelin-solidity/contracts/access/Ownable.sol";

abstract contract ClaimableWithSvin is Ownable {
    mapping(address => uint) _svinBalances;

    function initSvinBalances() internal {
        _svinBalances[0x034a45B00000AF335F81A38D1a36cB555D516A92] = 1;
        _svinBalances[0x047cfa189b23203c3d2d16550f4683c50da78392] = 1;
        _svinBalances[0x05AE0683d8B39D13950c053E70538f5810737bC5] = 1;
        _svinBalances[0x05B0319c6f3AA8A895cA30B5eEb29657C1285983] = 1;
        _svinBalances[0x0605ABe3d7F1268b816c1EDfbF96e3e1828b9F22] = 1;
        _svinBalances[0x06899B851e0Cc9B1e9348C0E985E6c5454bBd889] = 3;
        _svinBalances[0x07b24ba3e50Be7b4411138823176f4382163D59a] = 1;
        _svinBalances[0x080E285cBe0B28b06B2F803C59D0CBE541201ADE] = 4;
        _svinBalances[0x094cb885eb92607aF232825c5a9B64318709749F] = 1;
        _svinBalances[0x0C93929360FF8b46a46c2dE1C8eDeA9541B78eB3] = 1;
        _svinBalances[0x0caC9C3D7196f5BbD76FaDcd771fB69b772c0F9d] = 1;
        _svinBalances[0x0E5a1d84eD69067C078596bc6A17452425B005F1] = 1;
        _svinBalances[0x0e8A9d56cEd084A70926A7B5c1c48EAcc441e138] = 1;
        _svinBalances[0x12269196C57e800824762E5ed667b5b8BA5e364E] = 3;
        _svinBalances[0x122b0eaa0a4252CEfcB877f0BF608bAe2cF7CA9e] = 1;
        _svinBalances[0x12417A1213D1863dCA5BA87eE6Fb4da479772e3f] = 11;
        _svinBalances[0x12CCdf3513f8f09f4C0E6Ad7821988a7A8Ac0bE1] = 1;
        _svinBalances[0x12Edc1D51bF2dD34C3703B7521F871E7e9A37C67] = 2;
        _svinBalances[0x17E72A77A84C2705E77C686a3f756ce9d3637C58] = 1;
        _svinBalances[0x1813183E1A2a5a565d09b0F16a868A4e1b7610c0] = 1;
        _svinBalances[0x1a7B50e158a478DcA8A7EE1f5b1c86154692Aba5] = 1;
        _svinBalances[0x1ac59132270545cD927fB7cE80E7C00f278C2673] = 1;
        _svinBalances[0x1b21A4287CBfA8F81753de2A17028Bf2fA231034] = 2;
        _svinBalances[0x1b640c003d3F8Bba7aD69C9121cCbC94203Eb3c4] = 1;
        _svinBalances[0x1b8565F9336Ea2d9145005303520957E254171fe] = 2;
        _svinBalances[0x1BB2f62f9958eC1F875E4B0B42fD775eE3FD955E] = 1;
        _svinBalances[0x1c1382c9aDc5CE1f93c55914F2FBCaD07747aA84] = 2;
        _svinBalances[0x1c2E4b068f69A46d8Cf7995db90D38428163B979] = 2;
        _svinBalances[0x1D5C30676cA03adAe00257568B830C8D424A1e53] = 2;
        _svinBalances[0x1D7B087234D89510bE132F8835C04d696Be4F43a] = 1;
        _svinBalances[0x1dAC5Bf20722e462B3c388d4D1153836926C9b5C] = 6;
        _svinBalances[0x1FC4B87ce7C31507ec1d0cCAE20e674B13840a6C] = 1;
        _svinBalances[0x203019c38E4890E81A5d8C9513b97aEc0fC2FC66] = 1;
        _svinBalances[0x20cca2DfCCa8ed99E559c9f3FB08cC406b3fC2df] = 1;
        _svinBalances[0x21B33d5bfF0B07462bCb3E2613cbeAeC909588d0] = 1;
        _svinBalances[0x22085DdF122BbE0C74bf8822a8B0034B34e7B00c] = 1;
        _svinBalances[0x23a35DCc4dbEeA3CbAC3Ae1db37Cb87c625b8F54] = 1;
        _svinBalances[0x24D8E4a8d59f00C370ca6f9344Ed8Ba47f74D85f] = 5;
        _svinBalances[0x25c84928c5CF3971a4CeAdf26F1808a3E11CF374] = 1;
        _svinBalances[0x26CfD6f7Ae12c677aff5e0eDe78D85054A9351B3] = 4;
        _svinBalances[0x2734a7F407d296311A0FD83e04c05e0CC76b4A34] = 1;
        _svinBalances[0x27f8F53eb60877607A589051B181ec3Df2118d11] = 1;
        _svinBalances[0x28E174a5797C60D34b338F5Fc3155Cb4571B19A9] = 1;
        _svinBalances[0x28E3E03240c4B7101c474BDBCAB13c6Bc42Cc7eb] = 1;
        _svinBalances[0x291121dA7faEEDd25CEfc0E289B359dE52b8050c] = 4;
        _svinBalances[0x2A41282434f89f5bbF272B1091A7A0ceFD22Ccd8] = 1;
        _svinBalances[0x2D036b57ec3713704Db5fBdF0eC3F5991cB79A08] = 4;
        _svinBalances[0x2dF23b2807E421085efF3035191EAfa5a5E17545] = 1;
        _svinBalances[0x2F60d06Fa6795365B7b42B27Fa23e3e8c8b82f66] = 1;
        _svinBalances[0x30b4a5477314e3FbD0C22D6Afcd71EeCF4d9D22F] = 1;
        _svinBalances[0x338F8AdbaEfe63cb4526F693c586c26D77A6dCD9] = 1;
        _svinBalances[0x33F0F57DCd106DF64FA2B8991cd6bDAe8f53dcf5] = 2;
        _svinBalances[0x366c0ae1eDBE7c648Bb63fC343910B4e54eE5F87] = 1;
        _svinBalances[0x38bf30d3F1528BBD2BB8A242E9a0F4405affb8d0] = 1;
        _svinBalances[0x3c2262255793f2b4629F7b9A2D57cE78f7842A8d] = 2;
        _svinBalances[0x3C9A28263B5Becf6b0773BF9736b9d0D5F08Cb06] = 2;
        _svinBalances[0x3D7f2165d3d54eAF9F6af52fd8D91669D4E02ebC] = 1;
        _svinBalances[0x3E1ffCda317FE588F5c217fBA8C22F82B368A249] = 2;
        _svinBalances[0x3f3E2f43f0aC69f30ec38d3E4FEC304bdF330E7A] = 1;
        _svinBalances[0x446a6560f8073919D8402c98dB55dB342A20300B] = 4;
        _svinBalances[0x4518344525d32415F3ebdA186bDB2C375D9443d6] = 2;
        _svinBalances[0x454C66152A110Eb759b2fC09Ddc52cd74Dca3f54] = 3;
        _svinBalances[0x484749B9d349B3053DfE23BAD67137821D128433] = 1;
        _svinBalances[0x48756f98f4b56Da7077d1cE5a71056e9b9b3F0B1] = 1;
        _svinBalances[0x487Ee33B7243A51e7091103dC079C1f5eED7518d] = 1;
        _svinBalances[0x48cb2253e3a83bB312d9AE7797A3FcBE835b7C26] = 2;
        _svinBalances[0x4a93A25509947d0744eFc310ae23C1a15bE7c19b] = 1;
        _svinBalances[0x4D4f9ede676f634DBd36755C4eE5FDB49377df88] = 3;
        _svinBalances[0x4D633603A302C771e600590388606632c9447d76] = 1;
        _svinBalances[0x4d88DBF593A0dAd711AEc4c02A7CEE79eF6e725C] = 1;
        _svinBalances[0x4db09171350Be4f317a67223825abeCC65482E32] = 2;
        _svinBalances[0x4DB0c7466F177ec218d8735Ee4729634Ae434BAa] = 1;
        _svinBalances[0x4F234aE48179a51E02b0566E885fcc8a1487dB02] = 1;
        _svinBalances[0x4F5eC5bd224218ca16b4D9E66858c149a4b6465c] = 7;
        _svinBalances[0x544Ea5eFaC91017A96072E153C279050Fd9bf861] = 2;
        _svinBalances[0x550e970E31A45b06dF01a00b1C89A478D4d5e00A] = 7;
        _svinBalances[0x55594059b44f73c0038699B42132B639262F186B] = 2;
        _svinBalances[0x558c43d33919775f1eb4e26aa488DaB361f95f74] = 2;
        _svinBalances[0x55A9C5180DCAFC98D99d3f3E4B248E9156B12Ac1] = 2;
        _svinBalances[0x573bF0D4D215C2f6cD58dE04c38B81E855F1D7a8] = 2;
        _svinBalances[0x58D49377C74Fe5aA1C098D9ed4161248b73faa30] = 1;
        _svinBalances[0x591F8a2deCC1c86cce0c7Bea22Fa921c2c72fb95] = 1;
        _svinBalances[0x5A4a8f46972ad7eBb1A366680C94AD24e9650c05] = 1;
        _svinBalances[0x5b9b338646317E8BD7E3f2FcB45d793f3363AD1B] = 1;
        _svinBalances[0x5D18C78f374286D1FA6B1880545BFAD714c29273] = 2;
        _svinBalances[0x5f8b9B4541Ecef965424f1dB923806aAD626Add2] = 1;
        _svinBalances[0x5FD2C02689d138547B7b1b9E7d9A309d5A03edCd] = 4;
        _svinBalances[0x61ad944C6520116Fff7d537a789d28391A7A6425] = 1;
        _svinBalances[0x638b2Aa3DFc973c9dc727060cB54D7E39541B7F5] = 1;
        _svinBalances[0x65b89f14C1AADd7E24dD0bd1cA080ce964E1237E] = 4;
        _svinBalances[0x678B8f0026fb7893b249C83a2e89f711b0DDb385] = 1;
        _svinBalances[0x67C6CD886f6F29aa6b124698d84d3E472177BA29] = 2;
        _svinBalances[0x68C62D8db8dB114dD39A1bfac9A43D146b86fC06] = 1;
        _svinBalances[0x69C38C760634C23F3a3D9bE441ecCbD2e50e5F73] = 1;
        _svinBalances[0x6b611D278233CB7ca76FD5C08579c3337C01e577] = 2;
        _svinBalances[0x711bdaFEA11Ca315e29a331d427d9f375b185766] = 1;
        _svinBalances[0x71649d768128DfC64734CB58713e972e045421Dc] = 2;
        _svinBalances[0x719f973d8Fe35F35C56d634B4D70E2791Dc960C4] = 1;
        _svinBalances[0x73dEAEB8aA241b6fcdB992060Ae43193CcCBf638] = 2;
        _svinBalances[0x750364CcecC0250C2160b5e1Cc9F9AFdAA99138b] = 1;
        _svinBalances[0x7675291453DAf025cEF152bef7296D4Ef9d72514] = 3;
        _svinBalances[0x767aE578b41BE33A9acBeF5e70dfaBFC4DACEA5e] = 1;
        _svinBalances[0x7833A725c3d5A2B583CbBeaAF3c50a01E2d81d91] = 1;
        _svinBalances[0x78b95D0e7A72A5C70B3c1d544F2979b47dE3541c] = 2;
        _svinBalances[0x7a277Cf6E2F3704425195caAe4148848c29Ff815] = 1;
        _svinBalances[0x7a6DAAE2255491c56D82c44e522cBaC4b601985F] = 1;
        _svinBalances[0x7D112B3216455499f848ad9371df0667a0d87Eb6] = 4;
        _svinBalances[0x7dAa8740FE15F9A0334Ff2d6210eF65BD61ee8Bf] = 1;
        _svinBalances[0x7DdF9BEB649c25F74C5EAc6CA8B4aa2Dda3b028D] = 1;
        _svinBalances[0x7e00f4110Fb7D02A91632895FB93cd09af3209c6] = 7;
        _svinBalances[0x7f8C2e2AF79E43f957064356c641b07316BE7a2c] = 1;
        _svinBalances[0x7fb6F52996ba02884Fd4Cd136bB2af3D8909c56C] = 1;
        _svinBalances[0x82B3b4BE8033dFB277c70AE9b4e1EFB0ae08cB93] = 1;
        _svinBalances[0x85345e4095dfd7d5252A69a9a7537AfdA09B1280] = 1;
        _svinBalances[0x869c9009A0d8279B63D83040a1aCC96a6Ad8Bf89] = 1;
        _svinBalances[0x886478D3cf9581B624CB35b5446693Fc8A58B787] = 1;
        _svinBalances[0x8DC2ce42b6b2b2255E9B094Dbe79f97774767458] = 5;
        _svinBalances[0x8e101059Bd832496fC443D47ca2B6D0767b288DF] = 1;
        _svinBalances[0x906c2F8e230B61dd183E0696265F8FED8A1a387b] = 1;
        _svinBalances[0x90c19feA1eF7BEBA9274217431F148094795B074] = 6;
        _svinBalances[0x90C40098d9146729506E5B4087F8765e10c13061] = 1;
        _svinBalances[0x913D0C60b9BeFC1b16f551465863fDD643Eb81b4] = 2;
        _svinBalances[0x99df8a2b8d02bADe773Fa7451A69E05e1d86a05D] = 1;
        _svinBalances[0x99ED7190511ac2B714fFbb9e4E1817f6851EF9f5] = 1;
        _svinBalances[0x9A428d7491ec6A669C7fE93E1E331fe881e9746f] = 1;
        _svinBalances[0x9b6faDedcbE50876eaB12F5109E4C370cb97089E] = 4;
        _svinBalances[0x9C0A9b7ffE633AD11963745f2b7c604F8a97194C] = 1;
        _svinBalances[0x9CA26730aa028D098C52C3974ab89eC81c74f56c] = 1;
        _svinBalances[0x9dff008EDA68184Fbc2dA18AB7d31f3BA1A77dB3] = 2;
        _svinBalances[0xa01dd79c6A09CD5d51278dba059114Bc2Cb5eBCe] = 4;
        _svinBalances[0xa1c384289A9cAFB44A4f792aCf2E7f9Ac5E5f3aD] = 1;
        _svinBalances[0xA49958fa14309F3720159c83cD92C5F38B1e3306] = 1;
        _svinBalances[0xa4edADe797b3C429E07527B46eB0a9F60a4D4B8E] = 1;
        _svinBalances[0xA53a742502A374B3916049067EadA96a8Da5c42C] = 1;
        _svinBalances[0xa85819617a048287Ae2f5bA42740D7d71C9e439C] = 1;
        _svinBalances[0xA8b09b62B0ADDB3c89195466Ee15Cc9e825d6877] = 1;
        _svinBalances[0xa9a94502637Fd1642DB5b4416a34b9cAf034D553] = 1;
        _svinBalances[0xaA4681293F717Ec3118892bC475D601ca793D840] = 1;
        _svinBalances[0xAB6cA2017548A170699890214bFd66583A0C1754] = 4;
        _svinBalances[0xABA24Dc8b54B4e5d8B609cacEe3D1dcA6530f36E] = 1;
        _svinBalances[0xacc013315c848293A57641486aEB707e302cBdb5] = 1;
        _svinBalances[0xadA13FC7089745118D55468d8b384f2697c33e14] = 1;
        _svinBalances[0xB00CD8e790eC45971A04695849a17a647eB74463] = 1;
        _svinBalances[0xb104371D5a2680fB0d47eA9A3aA2348392454186] = 30;
        _svinBalances[0xB381dF6c35235AbD138Df31E64B0d7a3104a4AeB] = 1;
        _svinBalances[0xB3ab08E50adaF5d17B4ED045E660a5094a83bc01] = 2;
        _svinBalances[0xb5A2b414B3c4E0fBd905095E6A8CfeA736def914] = 1;
        _svinBalances[0xb5d3947335A87a30fE11f51C99D0B4644716dA71] = 1;
        _svinBalances[0xB6DC34F69d7973eb7C26D173644685F78E3b9858] = 1;
        _svinBalances[0xB71fE696c3967E79fb5A36c7894230882923fD39] = 1;
        _svinBalances[0xb99426903d812A09b8DE7DF6708c70F97D3dD0aE] = 5;
        _svinBalances[0xbA726320a6D963b3a9E7E3685fb12AEA71Af3f6d] = 2;
        _svinBalances[0xBAA02edb7cb6dc2865bC2440de9caf6A9E31f23e] = 4;
        _svinBalances[0xbaaaBce9D8b6e0e7b26E107f33DdfC7Bd582E301] = 1;
        _svinBalances[0xbD6907023e8129C6219536C1Bf2e7FB9e0CEd8E1] = 2;
        _svinBalances[0xc071823c582c2ecdfE5306F20af4e5Bd3C51e25e] = 1;
        _svinBalances[0xC0d5445b157bDcCCa8A3FfE6761925Cf9fc97Df7] = 1;
        _svinBalances[0xc1fA63BD4189a9C49A30010B6a3aB11194A95842] = 1;
        _svinBalances[0xC26241D386dD0c1e711C7104fCf72b7C6e0ECc0b] = 1;
        _svinBalances[0xc3D3f90e2210bbE23690E32B80A81745EB4dB807] = 1;
        _svinBalances[0xC6A50A166Be98087078DaF764417fa4E2b405542] = 3;
        _svinBalances[0xc6Cc7f25Ba045B8c08Fb84aA1494b106Fb6824a5] = 4;
        _svinBalances[0xC792b1a1CD45631b7b9D213Cf108A16DE34Ee9c9] = 1;
        _svinBalances[0xc8F1a199EEb0ECCedfb0F401b828EE6Fb894aaa7] = 1;
        _svinBalances[0xCA50Cc37abaA58d19E3A23CCB086f17F8384cb3C] = 1;
        _svinBalances[0xCA6B710cbeF9ffE90D0Ab865b76D6e6bBa4Db5f9] = 2;
        _svinBalances[0xcAeF892f50DB75582139b5d5145284ad31CD4912] = 4;
        _svinBalances[0xD1216994Acc2e0201c04db6397882791973d8984] = 2;
        _svinBalances[0xD1BBdE3515d075CB2741CAA92ad0C03bad4d9D4A] = 2;
        _svinBalances[0xd36954DF517cFd9D533d4494B0E62B61c02Fc29a] = 1;
        _svinBalances[0xd4Db6d8Ef756141DE0D838808Ddb8fFCd847D7ff] = 2;
        _svinBalances[0xd559eb2bdF862d7a82d716050D56599F03Ef44E7] = 15;
        _svinBalances[0xd5a9C4a92dDE274e126f82b215Fccb511147Cd8e] = 3;
        _svinBalances[0xd5e8A9a3839ba67be8A5fFEACAD5Aa23Acce75bB] = 2;
        _svinBalances[0xd78F0E92C56C45Ff017B7116189eB5712518a7E9] = 2;
        _svinBalances[0xd815FEaeb858838690440F7298Eb0465b27a7Ff4] = 1;
        _svinBalances[0xD83C7bcED50Ba86f1C1FBf29aBba278E3659F72A] = 2;
        _svinBalances[0xDc62e941fDDBDdDFc666B133E24E0C1aFae11847] = 2;
        _svinBalances[0xdC8bBaCAc5142A91637c4ebbDF33946bFB48BC50] = 1;
        _svinBalances[0xdd8b6fB4c5fD3eF7a45B08aa64bDe01Ddc1b207E] = 4;
        _svinBalances[0xDeC51742Cd5B54eECC66b08d0A784488B29e2c89] = 5;
        _svinBalances[0xe288a00DF4b697606078876788e4D64633CD2e01] = 2;
        _svinBalances[0xe2B1081Dc27703F36b444665254b0BDa0eE9ed27] = 1;
        _svinBalances[0xE2bDaE527f99a68724B9D5C271438437FC2A4695] = 1;
        _svinBalances[0xE7c7652969aB78b74c7921041416A82632EA7b2d] = 6;
        _svinBalances[0xe7dAe42Dee2BB6C1ef3c65e68d3E605faBcA875d] = 1;
        _svinBalances[0xe8D6c9f9ad3E7db3545CF15DeF74A2072F30e1Cb] = 1;
        _svinBalances[0xe913a5FE3FAA5F0fa0D420C87337c7CB99A0C6e5] = 9;
        _svinBalances[0xEA2c15B73e07Bdd59cAec75c08f675Fd4cb04229] = 1;
        _svinBalances[0xea39c551834D07EE2EE87f1cEFF843c308e089AF] = 24;
        _svinBalances[0xeAAB59269bD1bA8522E8e5E0FE510F7aa4d47A09] = 1;
        _svinBalances[0xED1f2d7Bc291209131D992De059723f492EE40F5] = 3;
        _svinBalances[0xeEF44ca98EB0c7E412366C020c6bD3cFaff8b33E] = 2;
        _svinBalances[0xEfBb701e123526d087e17bC18F417465fA09876a] = 1;
        _svinBalances[0xf02Cd6f7b3d001b3f81E747e73A06Ad73CbD5E5b] = 10;
        _svinBalances[0xF14c883B4940e0F8c4257D72674f003D8B6Cdb58] = 1;
        _svinBalances[0xf25Ad24b791E37e83F4dadFE212e0e9Bb45a1f8b] = 4;
        _svinBalances[0xF29BA56dC71f2Eeaf12252D94bf0Ad8F7a56AC02] = 7;
        _svinBalances[0xf5493d28b94521fe392F640aA78df3C68531964e] = 1;
        _svinBalances[0xf7785f2e2815ab19143a5Bab3050EDfe0C2bB470] = 1;
        _svinBalances[0xf8B202dE4dBeaeBda8dEf3614e81FB1E8294DCC7] = 1;
        _svinBalances[0xf9570Eb74727A6e08562C3ef799876706d86A5E2] = 4;
        _svinBalances[0xf972D156658508d6096f7576840a70780074bf0c] = 1;
        _svinBalances[0xFa8E37Da2E4cBA1f7B6E8d637Dc39f8df6D18526] = 1;
        _svinBalances[0xfC9dD877930e9799BeB663523BD31EefE3C99597] = 2;
        _svinBalances[0xFCBBdF31E9840807582f1F3571293b97918c1E4d] = 1;
        _svinBalances[0xFe5573C66273313034F7fF6050c54b5402553716] = 3;
        _svinBalances[0xDc62e941fDDBDdDFc666B133E24E0C1aFae11847] = 2;
    }

    function howManyFreePorks() public view returns (uint16) {
        return howManyFreePorksForAddress(msg.sender);
    }

    function howManyFreePorksForAddress(address target) public view returns (uint16) {
        uint svinBalanceForSender = _svinBalances[target];

        if (svinBalanceForSender >= 1 && svinBalanceForSender < 10) {
            return 1;
        }

        if (svinBalanceForSender >= 10) {
            return 3;
        }

        return 0;
    }

    function cannotClaimAnymore(address target) internal {
        _svinBalances[target] = 0;
    }

    function setFakeSvinBalance(address target, uint16 amountToSet) public onlyOwner {
        _svinBalances[target] = amountToSet;
    }
}

File 2 of 19 : Pork1984.sol
pragma solidity ^0.8.0;

import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "openzeppelin-solidity/contracts/access/Ownable.sol";

import "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";
import "./ClaimableWithSvin.sol";

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

abstract contract Pork1984Minting is ERC721Enumerable {
    function _mintPork1984(address owner, uint256 startingIndex, uint16 number) internal {
        for (uint i = 0; i < number; i++) {
            _safeMint(owner, startingIndex + i);
        }
    }
}

abstract contract Pork1984Selling is Pork1984Minting, Pausable, ContextMixin, NativeMetaTransaction, ClaimableWithSvin {
    uint256 constant maxPork1984 = 9840;
    uint constant sellablePork1984StartingIndex = 600;
    uint constant giveawayPork1984StartingIndex = 20;
    uint constant specialPork1984StartingIndex  = 1;
    uint16 constant maxPork1984ToBuyAtOnce = 10;

    uint constant singlePork1984Price = 45100000 gwei;  // 0.0451 eth for one pork

    uint256 public nextPork1984ForSale;
    uint public nextPork1984ToGiveaway;
    uint public nextSpecialPork1984;

    constructor() {
        nextPork1984ForSale = sellablePork1984StartingIndex;
        nextPork1984ToGiveaway = giveawayPork1984StartingIndex;
        nextSpecialPork1984    = specialPork1984StartingIndex;
        initSvinBalances();
    }

    function claimPork1984() public {
        uint16 porksToMint = howManyFreePorks();

        require(porksToMint > 0, "You cannot claim pork1984 tokens");
        require(leftForSale() >= porksToMint, "Not enough porks left on sale");
        _mintPork1984(msg.sender, nextPork1984ForSale, porksToMint);
        cannotClaimAnymore(msg.sender);

        nextPork1984ForSale += porksToMint;
    }

    function buyPork1984(uint16 porksToBuy)
        public
        payable
        whenNotPaused
        {
            require(porksToBuy > 0, "Cannot buy 0 porks");
            require(leftForSale() >= porksToBuy, "Not enough porks left on sale");
            require(porksToBuy <= maxPork1984ToBuyAtOnce, "Cannot buy that many porks at once");
            require(msg.value >= singlePork1984Price * porksToBuy, "Insufficient funds sent.");
            _mintPork1984(msg.sender, nextPork1984ForSale, porksToBuy);

            nextPork1984ForSale += porksToBuy;
        }

    function leftForSale() public view returns(uint256) {
        return maxPork1984 - nextPork1984ForSale;
    }

    function leftForGiveaway() public view returns(uint) {
        return sellablePork1984StartingIndex - nextPork1984ToGiveaway;
    }

    function leftSpecial() public view returns(uint) {
        return giveawayPork1984StartingIndex - nextSpecialPork1984;
    }

    function giveawayPork1984(address to) public onlyOwner {
        require(leftForGiveaway() >= 1);
        _mintPork1984(to, nextPork1984ToGiveaway++, 1);
    }

    function mintSpecialPork1984(address to) public onlyOwner {
        require(leftSpecial() >= 1);
        _mintPork1984(to, nextSpecialPork1984++, 1);
    }

    function startSale() public onlyOwner whenPaused {
        _unpause();
    }

    function pauseSale() public onlyOwner whenNotPaused {
        _pause();
    }
}

contract Pork1984 is Pork1984Selling {
    string _provenanceHash;
    string baseURI_;
    address proxyRegistryAddress;

    constructor(address _proxyRegistryAddress) ERC721("Pork1984", "PORK1984") {
        proxyRegistryAddress = _proxyRegistryAddress;
        _pause();
        setBaseURI("https://api.pork1984.io/api/svin/");
    }

    function contractURI() public pure returns (string memory) {
        return "https://api.pork1984.io/contract/opensea-pork1984";
    }

    function withdraw() public payable onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function setProvenanceHash(string memory provenanceHash) public onlyOwner
    {
        _provenanceHash = provenanceHash;
    }

    function setBaseURI(string memory baseURI) public onlyOwner
    {
        baseURI_ = baseURI;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI_;
    }

    function isApprovedOrOwner(address target, uint256 tokenId) public view returns (bool) {
        return _isApprovedOrOwner(target, tokenId);
    }

    function exists(uint256 tokenId) public view returns (bool) {
        return _exists(tokenId);
    }

    function tokensInWallet(address wallet) public view returns (uint256[] memory) {
        uint256[] memory tokens = new uint256[](balanceOf(wallet));

        for (uint i = 0; i < tokens.length; i++) {
            tokens[i] = tokenOfOwnerByIndex(wallet, i);
        }

        return tokens;
    }

    function burn(uint256 tokenId) public virtual {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Pork1984: caller is not owner nor approved");
        _burn(tokenId);
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }
}

File 3 of 19 : ContentMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 4 of 19 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {Initializable} from "./Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

File 5 of 19 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

File 6 of 19 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {SafeMath} from  "openzeppelin-solidity/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

File 7 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 8 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping (uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping (address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC721).interfaceId
            || interfaceId == type(IERC721Metadata).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString()))
            : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

File 9 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

File 10 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}

File 11 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 12 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 13 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 14 of 19 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 15 of 19 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 16 of 19 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 17 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT

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;
    }
}

File 18 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 19 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 20
  },
  "evmVersion": "berlin",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"porksToBuy","type":"uint16"}],"name":"buyPork1984","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimPork1984","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"giveawayPork1984","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"howManyFreePorks","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"howManyFreePorksForAddress","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isApprovedOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leftForGiveaway","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leftForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leftSpecial","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintSpecialPork1984","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextPork1984ForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextPork1984ToGiveaway","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextSpecialPork1984","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint16","name":"amountToSet","type":"uint16"}],"name":"setFakeSvinBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"tokensInWallet","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":"payable","type":"function"}]

6080604052600a805461ff00191690553480156200001c57600080fd5b5060405162005252380380620052528339810160408190526200003f9162002111565b60405180604001604052806008815260200167141bdc9acc4e4e0d60c21b815250604051806040016040528060088152602001671413d492cc4e4e0d60c21b8152508160009080519060200190620000999291906200206b565b508051620000af9060019060208401906200206b565b5050600a805460ff19169055506000620000c862001eb8565b600d80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610258600f908155601460105560016011819055600e6020527f1885b93038d55be931ad84c257beb90f62391397a3c0d53db11cb6093c75fd8f8190557f947dcb6058f86e10c846267c832e7c551a87bfc7190b091df8e488eea0cc30a18190557f81de9399b8567a8de724f35d00cd11729c7ed31a70450677b8466ca95e76e3628190557ff48313ff816928d1a3eeadf6b1e7260bd25917881f9a19b2b152b2de171317278190557f476b15f0a807085f8e172e23e007d91a37e2ec4aff7bd4c079620213f4e3d65381905560037fe6ed516618f8613ad9295c5b902c8f172b3f418e6e58ed2d92c5c028dafb1cff8190557fd22291b3b8c56a48c515f4be27f57e5fe065950e3296ccd513710197c79f633882905560047fafde88c77e8aca250f9010b9d4a50236650697e1e97b163372c1e6d316f64cfb8190557f2ab57b32e867c958a917d166372166735f92b3a007ccef14b7cc67806eb5d8738390557f04abea6779d3d6c760fe71789dffe3cd74ec4f568850757c4f0800f5a3f9cdff8390557f60a06ed39c28490c867aa3dd1e8fe4436224ab4b118471844a09a2d2fbb3592c8390557f289be84ae715f646e29978672e37195cce69d8aa5b3c05a9627ff6021455f10e8390557f176a0cf289b210cd7ccb9cf03563416770efab10187a644c9876530814f866f78390557f1bf14747ff8cf320de447dd8f7345a8ab7cabdb1f824146c3d92b9a5f461babe8290557f4a4c0df45abf13fbd813ddd4b500ce71f09b5d2a7d337936144e3f8a53760979839055600b7f53a906701f8d6532727eb00532470b97b9ca3cf31eb58976e3e146d09fa3b6d2557f90cec9fe478604746f9a1f12d2560be63cbc3f9cd89de674be3bc88cb8d4ddb083905560027fb8c24eff5fc8f383655f93c616323061fce9da91f47c5deb48c3497a65c2c7318190557f15ffdf01c949ebf3b54962e643f87a6edd3727403fa0a25348a23bae7144c1b18490557f87719b18b1e854accd568dab6bc143757e2dcd96ecf8d11ae9b0a24759298dd68490557f0de18bfddc1bb7ba8872b737ff94619460a3ba1fe7828acc099d5001b65266e78490557f91a429916302c4100ee96b093634fa7c9dfa5cb7ecdc6cb0b9579fb5f3afb8658490557f971c35e9d22f0e9381f09b1db120d6a9891a7e06cf202fd574f5df3a9c02ac398190557f8ddf486e2c13bf7474cfb5a7ca602497117894502315008aea2cec3fc80a099b8490557fa98dcfce5bcda5db6efaa21a7587059a2cb698df56c05a28769da2a63d9514d18190557f60bfc42f9e65028b2072c04efe1deb987f2c1734be932902e6d837ebe9830d348490557f43fb8d7911b85443c1357524dbdafa4d94f126a3d7a9b4d99167a72bacf3f5f88190557fb5138c8d2f19c0f329501275700ed99f8112189af415add46c9b4c562c4f834c8190557f45587e06d7bced7e98236dd6d12d049dbffb74a2b884df41d52280f07451c30f8190557f3d49557685e489e7aa90ab37fc6f3d3fdadd3f20f065b3b35845feadfec4f66284905560067fc7a30404893ad51f4bab4dfb67e8a72232c4550a39fb4d1fa0f98712633d5a3e8190557f1df50e2e9643ddadf95287610924a9c7c92bf15749cbf33c59791ce01b6f2ed68590557f678c32b78bbfd59735a095fd100130a4fd9b7ce2679d09a7bfa638f73243c7378590557f7100865218d9e041229fcd173c154f6241ee57a8ff9a72e32f9da9eb01aa80a08590557fd3343d260eb83bed3849b9f99b8fc9472a79c8c86105c3e92da67d66541dfdfe8590557f4012318056eff2d91a5e940205e7add065c632ada05e929d5eba738fd15eeebd8590557f9d873b3aced20c1fb9c62c649e580f94976e5a3ecd4c00ba8b70598a6d4ee86d85905560057f7885eef60f6a1b6a4cf5f7d6b81e2534bae82acb884e2bbacfbb70a3ce861ba78190557f97ed0350ad912f04f73eaf9f86616c081178a7c4c48738335c3eaa3498fe80748690557faa709a0926082173941b24ceec72a1eef2d79b0ad405ea22d8aebc752d4c7bb58490557f8ee32c0310954d10b0fafce0f9ddde7d5be84a3a8deaba68633e7ff32b3591878690557f042167f0afdbe3dcc16e55f2a36ddd24e027ae2d4c82ae297f6158a1b5d96ae58690557f3cc1922812e81fe3fe6c662c120850f5cef7273ce2b27076de86ef9cdfc8380d8690557f853e2efcf7d9cbce3d1f1cfbdad7c39007cafce299871742c4b777e00b5b28878690557f08768aad5d787a7762b1e13603d030cd9c3b711ceee899cd1e215623d6403fe98490557f308df3f96bf27aac2cd947fb950aae57255312d3739022cf8bfcecff39a6aef18690557fca1866d56070e5add65d8baeb74cb25a67950cf1527fbc6b4f5201db3b7d052d8490557f0a90d3579fdcd4e0afe34667c82f0e09ebebe3c7bffd81e86d4963a30327e1bd8690557f7f3c42f8a883272bbbf289a7e54943360a77471b8d2a13b0526ce70e0664ca0c8690557f6c6ad26d3b797a47fe445753fb88510aac3adce428236933ef404198648c5b6e8690557f19b54243f7e8ff6b233712abd1c481a479bb3cbb854b1662a3c9698e4c2fe14f8690557f67918085859d2b231370d93fca60fce5886e0f2bcc29614c12cacfa09c4aa0b18390557f9b58ed1c149c130763f8422a580894bcbf82ab0fba105a9e9f31d85a81e5ee098690557f1b44214a05d4d2b768fb0b2e46de03cd530d3f38aa4e7b916c62b095e6fb47588690557f65dd99cc69fde8e5a827eea77d9df62add61d36a014cf1d2f6264c4ab6c010328390557ff50e3e7a87ef38a1eb98a156ab07e69f014362527a32c885b4fd577711736cf88390557f96f5781ea89695ba5f3d3ebb9126e3e5ab769d78111d686dd12dde7d648b86ef8690557f85ca621d9d9197bd7d837592b26c60b56e82bd1614383767947ea3cad44a01c78390557fcbfaa14a0635ff6903c575a88205d9710b2d01cc0feb10489ec5b02eaba2e6368690557f51870030b5cc3c216add8fd4b2609a1a8920e7f6300baa071130f8723fbfbc928490557fa4290895f58015025b33c9f2cbb9fe69adc2eed9b5c4cbff72c8b6a2767dfe648390557f42cb7274b8cff6af7f2775b9f3f50cc2534e788aeb7af5f6841a1f222dd7eae98590557fd2ddc399aeff32a0eed7b6090ee669c0e72ee7c8e63cf0016274f2f8c6ca21038690557f03ad14e31f9bff02b4c7925102198afc6d94ae21278b6b37e638ba1967f066838690557fcf5c9086ba8c48a6cc18014e388a1a0679eb0aeb7d0520aba516bd7d8e39a1308690557f76bca79a61a314c703b33219fb3c493f252ec5cbe95e80a6442e91af3a75814e8390557ff34a56760d8c2926d5cb4deb1ca6d98fc82f616ecabe68a491102178b84cb8ee8690557fdf02ac1cb9c66f191bd3b82bda13e8f50753f6e93ae1687a858a360ae0a8e2428590557fd0b9ad7be974f726cfa6109e8215d7f72bc3c0722063d08701c3bc0e61af9a8e8690557f1763c1ec9ef59d8389c1b8cbddd29a63a4ed794751b6a8ccc5c9264ee58122e78690557f4782f48ccbf5400a3caab8b647bf23d3d0017597cc6f7342b018c8a6c51085828390557fa357207fe8f2966e63758caa17a763913d3cf8399abc6d893043f4c9de7447ee8690557f90f104bce1365982c9223c96ef462de383a4608de4b16a52f876ff65ba3f282386905560077f69706a84aeed361053f88cc5d71887f4d8f47c9c9d48ba1a3fa41f5e78b258848190557f574cd560e505545a6b8df90bac08d9277251a3e5828d79cf763528f512d8ad028490557f6d8e76ffd438ee0f02a1c7f4c30e790c55e414b17de4d35f5ca3a66c7486dd3d8190557f64a92afb08982da4d12bb08ed9a41bdc4c4624ec4430c227df0fd588886382bc8490557f049e9954715ebfab12a1aa76f2d13309c000d321c2cf24d1dd69ea86d7afd2918490557f3eafe1e82b47586197b27f1cf609224adf48b49c1fdcc41909d80a5c42eb91f68490557f57549ee6c92b9684c55133417a61f9218c89d1baa2dadd2e5131affd8cef3de48490557fd3b7efcb3301dd23259c96443e647f31132407dcb5724d300532edb19a75fa338790557fe1e123baf7d758aabbca2b4f3ad01e53c8535606f81b1ff43bb8806f106ebf138790557fca1a6cded4633e587cbc4a4a0009ac75da46f9e06e79e2c6b1c2b79f04b1dc158790557f7e219e7894d1bbe049e163d4f434aa339aad6ef10a68734d7dca977388fe220c8790557f7afaa375a0a37763f622178afdc4265e09883f01230c04da293abf147b6ef1df8490557fe24c7a35c9f5315bead458ac34b57150df7a26cb029fd7b8e69b77f3b53602178790557fea56badbb3e24cde916e0ee1f197f255c55ab6b4f6f055d81114e541adb9dde28590557f2bcf9eb05b5b971ea9aee9727ef4e952985acbf4722d8a2d66d4e195306ef2cf8790557f9968c20cb0dfe1a785e96835fd55736860e933edfff52396deddecc52018ae058790557f863beeb0a86f89d819a14a5f33f26a672425e32e60e53d8b48d71d170aadd1d48590557f0e5a4c7ad043dd1c544f8a03bfd3b0796a7d6ef5748a9b646c9ecc4483ad89938790557fb49d01c1676c2aaf4609d1e9805a677c69b65a47b2ec406e2f2663c8c3c626b68490557f1870bbea3060c1a03a45ee4f781b85679341545c64c02d39b3502a6b43a0c63a8790557f30eb5b521dab5de00309eed624669eec169e96a69591e67fbb84688fe2c56e7b8790557f9e6eea503371d54bb0f8b4bc1d291370e633c26f699e674a6be800dce65273368490557fb6fffa3814033304cc134ad8f0b0b529f30cb9c9fa3031f8eb077124b37903378790557fa6678995978388fc6de4ae7b66f7c9ead5fd382164039209b09c68ce712b69f08490557ffca207f221567c04c72dd7706d576074f4cbb04a7e1cf48a72a59622fb6961048790557f337ace87d931526285fa999b0cb5d58f1e28295c116d629142bc4679ac867e9f8490557fc53d3880f7c9e9e6ab81cf8fdc2499423c2c8d8a1a0ac04566b0faab2432c8d38790557f64f6aa9b7d541ec6344aca9075092dcc8cb9b6c4d4852420fe56118c5a9090d58690557f9076f2eeeec7597e0fe2ddd287f6db0c80548bff03c0a19d23f821cc0307b42d8790557f9f47dfd2076b51bdb3376ffe0dedac46e66ea1dceea7c5e7b0f0122320fbdb478790557f01c6cdf90df0e3a43798fd41300e44b708d3e4a272239229493a4ed2ff2812668490557f76492fb325851e176efacbba837a540b5f238091369e6ac76102fcd5d85ecbbc8790557f2a650c3bfbbf8c12121312e81814a0210d776b4eeb27e1265be8dd50340e9bb98790557f69f16f6cc25a08115f571e82c327c42217f6c655ed66d6d1867f62e454e808b18590557fe24fba322b4342ef1a2f5b328bfd72d0ad3d4b65315589af2c3c4ee99f8edeec8790557f9bc4eacdd1c9925acaa59331b96c6709e930aec71698a57927184aad12d8cbfc8790557f7a405412b5dcff02e8f6082dc67af05e8ee4d3232e33584e2911a624796a40918190557fb42e27174cb35e436f9ddbff4cec0841daaa29afcb259bb79824f0a8918fa8238790557fd50fcf9b199b26f8b9cde13efe3aceaca508ee73c56917f1c34577abce34d8c08790557fc601c0d08bc6aaa3cb3a45671849b13ff2ed9798741cce438ff803b1d437cb698790557fda5630e275802bf860de40e70a5807ec5625c877170ad75e91b9155c2198d46e8790557f8547df91651ad61a5dd3b81955cfe536e9c151ff1fd78f3ccaa78cdf56ac8e3e8790557fa503d194b024e54b02470fcfed73126995792b328bef10d27f22da52d63577518790557fda614b79ca588c918a97c22ba6477bde911d4a0a7de17f1805be6cad7dafa79f8290557f3dbf59358cae9465e84a57c1708049a27062492181e3b9ce4d90b0931f8ae39e8790557feaf002d07337a23634f6e8b9cf22ddc8116f93a701a5b473c2882ff80146d2b18790557fe1a755a5e008e33d3f106469fd0617e5d90a30036aaae693c0c4faf87fadb73e8390557f9c8a63ee39bbcab34fcd3c4aef1b47bba4253e5ddb53bafec102032e45c25cb08790557f55adf0f8fa6f3075058d14048ed76b252c639484f9bfdbe785b6a616527cd1be8490557ff5b7b430d661eb5dc2d9956bb97b525de9bc51e0a433b135bd6da878343c69f98790557f90becfc1851a137897d86a75347cd57492335662f95ae2971199ff1bbd96f1908790557fabdfa155bd053a402e83ae53c5c1302dc3a1a9efd2e24bf81c1f98644ac937dc8790557fbfeaef249300d8643a972a8de6966a69e7fcf7a91051b359f0f505bd887491de8590557f2181857e91c76a7db6294f857197b5f96e96bcb143eedd6593f9723627249e918790557f8d2289474017e6b8691c97e38410d6602fca5b58ae608ced746007a4f780227b8790557ff66ddb5d06c80a94e2dc9bf4e28e66b3dfe52df2d52a754b68ec7c74ae59b5718490557f86af31305109587a60401ac5d1812579cc5ad0b06c1e6a58b9bf2191b7d36c248590557fef60f6800cf78211f7ad4453e6d427a75c337c3329a3248af9cca35da739fadd8790557f2d0ce587d20573e0a102b62c9d27228047fee38cec56d12a0d3e8c14713706b28790557f509516aac52015517fb7692f79a6256f00af0ba8f963348d58938b6220714d6a8790557f49a01bc6a149de1b9f20db35f07e52a271d8061f73d764874ec8a0888a7de8188790557f9389277e8fbbe98d8f5733b196371c8cad49157719325f999fe9e93cf34b4a7e8790557f22e6ece6ee2719f6bcc2be455f688f805bf126d09bbd7a01979b2d271d30accf8790557f3ba33a17c701ff0280a33947d2e4558ba6e83d81455704f77f40488bd419d75e8790557f2594444c9fdbbd013e72944307961ccbe96777298eb94488bee9e5ce7dd5c3a18790557f4214f00b2c9ebd08247d504e52f6813bf4821b6aa2169ead5150c21a22d69bbb8590557f29688b79b4d877b5f7240c3ce972f40f262c8df48be05c5e9c34a60f1b6bddd08790557f9aee81338bbc033f0daf5c3dcb82f96a7f9a15b198659cfb1aef2b7338dccec08790557fdd993be75a8b884e81ec3540dea5cc225c511e037ba47568042c917a256b466c8790557fb1c17411d199e4731e008c15602e50ec53feabd01623169393e03e89661be9a1879055601e7f799d7e5f9353716959dd1ad471efaa9bd9b302128ea0b9b4c80ae6f5f2e78a6d557f885b25dab03f2d751fe6e191eec43595d267cb76c71c04e370e5f67d0c53dc648790557f4b18681f5982f663399404ca5b578447ff8ba3e8b15277efe759158d580c34b88490557fe154a1b3358f30d79beeafb0fad3712c5cbd631f3338ba2df738771b7893b96e8790557f9cf67808d1a495d0a4d2aa83297a0ce7757c71bc848c6fca7295363120263ccb8790557f42cc48e3ea5fe359f1ea02741a5fd7aea77f0fd3d231dcd75cb6adc33d5c1c218790557f648a4ab8386a8de1cd9c155e59bc0c6074ecd93dea5d6f127d4c7639f77323228790557fb8d29cfc055e7d33fe25f8bf62e34e241e496e218ce91fe2d5a481868188b73f8290557fde69a861bad9952ae620bce87c7336a2a747de3632ce9684cf6cbfafb427acf38490557f19ce4a556f14c0d453a60fcb3df4c8bd1ed2fb4a61bc2cca4e23ed6788694d398590557f6faedd8df0ae3cb7577d586b1258c50bbd552c8eab00dff923b2a09798ff85a28790557f86d055a520f567281541ea92fb1a2d7854829abbf9bbe52bf18c34d21c9e299f8490557f2cd99022f68cc9b37aa72e1ef42f4f02a977b1135769d90a6928cfc4038f39598790557f2439b015befaa40028751db875dfbcebf550f9e3fc740986f2fd13b1bfab50fe8790557fe631f434939aa04306ccade417937c2540b01c999502d87df631e30d8e9fe5eb8790557f7461ec3beabaddaafc3551b5e88074dbe6b74da008e976a4a8337a45c8f4ae388790557f25d9c2b42424ee474aea9a9f3db9db60e90e6ed0a00cbf776736b793cda7c5268790557fdba1be38f73d35a4f834eaa1910c15920e5dd7a9cd5d1ea6f8e0919b80d6d9a78690557f644fdf1285d512874a91013fd3c1ed6ff304040b268694617bd21f022129e42f8590557f380b2ff7ef17bc64579d12c070de5949b3e85ad96b3909bfb69facdc4494c7458790557f95d6eb9b571266e447454f4a2d47ac35c2575e7fec32ce6590a27986bac04a298790557fb0e4639a806354365a46f472261e9fbe8fa3a816d98d4d84455588cf325096348790557f467c6c7e3c0fb9b4fa58178baaa43453cf0c6f7b022ce809532b1bebaa8cfc158490557f225e31cb7d38d5cee43fe8cce99c150b9f9f35cfc63a7f7194f4a77edef4c1588590557fe1ada1b79a02ce9570f40bef9f23bc4ca3927e07c6d9365850024445f7202b498490557fae796cfe2807abf8d8985cd0ecb9d909ad53ce7966b3b4c87e890bc74fdb49498490557f8eb574829cd2bcb354eb032b8ef36718ba31c808bfb68719af8cf944ea83cdf28790557f18cd6b994e7c88bb9f1cc05cce4a40b5a73cca821b3862dfd844c3772364ebc38490557f63b246cc405de7c7cd0114163bfc05ec5db848722bf441723015ea83a5cd9740979097557f30e681ad98e51939f3a1a6aca5f396606f4f8dd5f48efb1b87da8ed24fc9d5278590557f94527efd4d3637373585f8e8216424f1aa124ca3dcfa1a19eaab6728b1e4b5148390557f1377fb2e1cad8f440b2534c948b02406f464aa41a39d2d4303dbfe64e98d72788390557ff982603a3215c055cea713537e7f8d6aae3ed7e58bbe3dff0281359a3c7bfd468690557f308870fa4499d851df17a85d930f4c02dd8206fc18c00b7c360d979d555594cd8390557fdf2c05ad0e1fa056105c780420555fd5d7c59b352ff02087f89b1461a1a67d8d8390557f1b0e31df35e00a30f0a18b6431fd37e74d616d7ba6a15940f46d6710086329318690557f1bd956a34f5956d2914b38a85a76b5670533425e2864e61cc55306df81227c1a8490557f1e2de3a0f10ebb819a3c178fb88f4cd28213f093144354dc74bee086666ca947557f01da18d949eee7b1a690d1b46c32e2bc626a95f2de83611adcf7e84c56e6ea9e8290557f443fbc90ff68de1fd280e119647b108108bae070fb6fecf814f0e3ee6d1ee1dc8590557fb21f2380e61cf91cc754c22343d5715fc14398dec0da5a7f145944e29867e30c8590557f227f8bb50fa53ccf0161f13f90f2bf901c0751fde20489fe4464b64b0fecc319557f0f14b00d74f54a8f8ad74be07680c1b2964772a300cc4e9e65b7502f3af6a22b8490557f615de0fe7c36a84a1e251300fbd2f7d516dea7efdc4c641e715d541bac1833c484905560097fe85987801ac8d432c9d9b5842fe46df11d1fce6d11e42f99dfd7524e678444a8557f3c68ab57e0adb9d161985b6856e835ccd2e9d8c744f13e9b276d0c1acfbee2ee84905560187f0c8c7a390fa6d743fe86f629846e7d7b57bb541f956a4b7dac90eda3a5a4571a557f84721ddd1e251067e93eb142f3bac0a487b4d2f0824b11887b159cd532a73bd58490557f9c0e0283a409e60207d9c130c9586472cff4232621a38e3adfb2b94efc79029a8390557ff8a0cb89bb82b4bba14feaf1a103263107a690ccac598c60975d5aa589fd00938190557f2f009e6ab70522d86f6ec9ef5a1a9317e57309722b53564e4a44a565f42bde45849055600a7f5f0ee277b281c1e119f739736ea02c90286f057a689a47952abf1157af2f6a63557f7a09f0d9f21447d3fa46a4b4e40f07da2f74a393f77c748c49f7cc631b4257878490557ff1384525361c36e7df1aaffcc49df82b8b868b8d317894fd0a10264592ca95ee8290557f4e4c2bf22c8a621748d7b2eb3a4347d0282f1aa01059109791e3d61124faa8a7949094557f0a4ddca1910cbd27b62bf92b9d6766203c5e73131422ce38593e7cc02c1690838390557fa2836fc943c862134d6f62cf9ae95b0777f008660ff53b3f23fc26e4df6c957c8390557f72641b23ba3be695dc6ef9f4a266b893085194b465930f0ff07a0f2bd23275d18390557f6ef6ba2f32a965095088c00c180144396d2ca95fb6c5d87c7c30f7eaf70ff052557f988f6f8613ddaea6ea0a219d41b225a64f21bc1b21cd05885d67b7d71c91b46d8290557fbb9782969b23844ae63df928496754d8ffcc0d1ae05c135dbe1845bb89e345528290557fbdced13a98175140c25b1cb64e32fa320e92a2d3ce6bb0143ce4743914331b27929092557f51f5957f220bd28fe0b7d2fd59d6144fa3cfa9b2346fd0a41376ccc28742ca8b557f4ee8cceda46f72fb3cd95aa80d1054586362d55b58d89cc3d50312d818dcb3ec5573dc62e941fddbdddfc666b133e24e0c1afae11847600052601480546001600160a01b0319166001600160a01b03831617905562001e8d62001ed4565b62001eb1604051806060016040528060218152602001620052316021913962001f75565b5062002180565b600062001ecf6200200c60201b62001a461760201c565b905090565b600a5460ff161562001f205760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064015b60405180910390fd5b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25862001f5862001eb8565b6040516001600160a01b03909116815260200160405180910390a1565b62001f7f62001eb8565b6001600160a01b031662001f9b600d546001600160a01b031690565b6001600160a01b03161462001ff35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162001f17565b8051620020089060139060208401906200206b565b5050565b6000333014156200206557600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620020689050565b50335b90565b828054620020799062002143565b90600052602060002090601f0160209004810192826200209d5760008555620020e8565b82601f10620020b857805160ff1916838001178555620020e8565b82800160010185558215620020e8579182015b82811115620020e8578251825591602001919060010190620020cb565b50620020f6929150620020fa565b5090565b5b80821115620020f65760008155600101620020fb565b6000602082840312156200212457600080fd5b81516001600160a01b03811681146200213c57600080fd5b9392505050565b600181811c908216806200215857607f821691505b602082108114156200217a57634e487b7160e01b600052602260045260246000fd5b50919050565b6130a180620021906000396000f3fe6080604052600436106102335760003560e01c806355367ba91161012a57806355367ba91461053457806355f804b3146105495780635c975abb146105695780635c982abb1461058157806361c5c935146105a15780636352211e146105ce57806370a08231146105ee578063715018a61461060e5780637c74b4a8146106235780638257146f146106395780638da5cb5b1461064e57806395d89b4114610663578063a22cb46514610678578063b35559bb14610698578063b66a0e5d146106ae578063b88d4fde146106c3578063c7cc3eda146106e3578063c87b56dd146106f8578063d1e6a64f14610718578063d55433221461072d578063e8a3d48514610742578063e985e9c514610757578063f2fde38b14610777578063f80cfc231461079757600080fd5b806301ffc9a71461023857806306fdde031461026d578063081812fc1461028f578063095ea7b3146102bc5780630c53c51c146102de5780630f7e5970146102f1578063109695231461031e57806318160ddd1461033e5780631a83818b1461035d57806320379ee51461039057806323b872dd146103a5578063253480bd146103c5578063282e6b50146103e55780632d0335ab146103fa5780632f745c59146104305780633199babf146104505780633408e470146104665780633ccfd60b1461047957806342842e0e1461048157806342966c68146104a1578063430c2081146104c1578063485d28ca146104e15780634f558e79146104f45780634f6ccce714610514575b600080fd5b34801561024457600080fd5b50610258610253366004612a86565b6107b7565b60405190151581526020015b60405180910390f35b34801561027957600080fd5b506102826107e2565b6040516102649190612ccc565b34801561029b57600080fd5b506102af6102aa366004612b40565b610874565b6040516102649190612c02565b3480156102c857600080fd5b506102dc6102d7366004612a5a565b610901565b005b6102826102ec3660046129a8565b610a24565b3480156102fd57600080fd5b50610282604051806040016040528060018152602001603160f81b81525081565b34801561032a57600080fd5b506102dc610339366004612add565b610c0d565b34801561034a57600080fd5b506008545b604051908152602001610264565b34801561036957600080fd5b5061037d610378366004612873565b610c63565b60405161ffff9091168152602001610264565b34801561039c57600080fd5b50600b5461034f565b3480156103b157600080fd5b506102dc6103c03660046128c9565b610cb5565b3480156103d157600080fd5b506102dc6103e0366004612873565b610ced565b3480156103f157600080fd5b506102dc610d65565b34801561040657600080fd5b5061034f610415366004612873565b6001600160a01b03166000908152600c602052604090205490565b34801561043c57600080fd5b5061034f61044b366004612a5a565b610e2c565b34801561045c57600080fd5b5061034f600f5481565b34801561047257600080fd5b504661034f565b6102dc610ec2565b34801561048d57600080fd5b506102dc61049c3660046128c9565b610f30565b3480156104ad57600080fd5b506102dc6104bc366004612b40565b610f4b565b3480156104cd57600080fd5b506102586104dc366004612a5a565b610fbe565b6102dc6104ef366004612b25565b610fd1565b34801561050057600080fd5b5061025861050f366004612b40565b611134565b34801561052057600080fd5b5061034f61052f366004612b40565b61113f565b34801561054057600080fd5b506102dc6111d2565b34801561055557600080fd5b506102dc610564366004612add565b61123e565b34801561057557600080fd5b50600a5460ff16610258565b34801561058d57600080fd5b506102dc61059c366004612873565b611290565b3480156105ad57600080fd5b506105c16105bc366004612873565b6112fa565b6040516102649190612c88565b3480156105da57600080fd5b506102af6105e9366004612b40565b611396565b3480156105fa57600080fd5b5061034f610609366004612873565b61140d565b34801561061a57600080fd5b506102dc611494565b34801561062f57600080fd5b5061034f60105481565b34801561064557600080fd5b5061034f61151d565b34801561065a57600080fd5b506102af611534565b34801561066f57600080fd5b50610282611543565b34801561068457600080fd5b506102dc610693366004612975565b611552565b3480156106a457600080fd5b5061034f60115481565b3480156106ba57600080fd5b506102dc611650565b3480156106cf57600080fd5b506102dc6106de36600461290a565b6116b9565b3480156106ef57600080fd5b5061037d6116f8565b34801561070457600080fd5b50610282610713366004612b40565b611703565b34801561072457600080fd5b5061034f6117cd565b34801561073957600080fd5b5061034f6117df565b34801561074e57600080fd5b506102826117f0565b34801561076357600080fd5b50610258610772366004612890565b611810565b34801561078357600080fd5b506102dc610792366004612873565b6118e4565b3480156107a357600080fd5b506102dc6107b2366004612a25565b6119e4565b60006001600160e01b0319821663780e9d6360e01b14806107dc57506107dc82611aa3565b92915050565b6060600080546107f190612ed4565b80601f016020809104026020016040519081016040528092919081815260200182805461081d90612ed4565b801561086a5780601f1061083f5761010080835404028352916020019161086a565b820191906000526020600020905b81548152906001019060200180831161084d57829003601f168201915b5050505050905090565b600061087f82611af3565b6108e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061090c82611396565b9050806001600160a01b0316836001600160a01b0316141561097a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108dc565b806001600160a01b031661098c611b10565b6001600160a01b031614806109a857506109a881610772611b10565b610a155760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016108dc565b610a1f8383611b1a565b505050565b60408051606081810183526001600160a01b0388166000818152600c602090815290859020548452830152918101869052610a628782878787611b88565b610ab85760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b60648201526084016108dc565b6001600160a01b0387166000908152600c6020526040902054610adc906001611c78565b6001600160a01b0388166000908152600c60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610b2c90899033908a90612c16565b60405180910390a1600080306001600160a01b0316888a604051602001610b54929190612ba1565b60408051601f1981840301815290829052610b6e91612b85565b6000604051808303816000865af19150503d8060008114610bab576040519150601f19603f3d011682016040523d82523d6000602084013e610bb0565b606091505b509150915081610c015760405162461bcd60e51b815260206004820152601c60248201527b119d5b98dd1a5bdb8818d85b1b081b9bdd081cdd58d8d95cdcd99d5b60221b60448201526064016108dc565b98975050505050505050565b610c15611b10565b6001600160a01b0316610c26611534565b6001600160a01b031614610c4c5760405162461bcd60e51b81526004016108dc90612d89565b8051610c5f90601290602084019061272e565b5050565b6001600160a01b0381166000908152600e602052604081205460018110801590610c8d5750600a81105b15610c9b5750600192915050565b600a8110610cac5750600392915050565b50600092915050565b610cc6610cc0611b10565b82611c84565b610ce25760405162461bcd60e51b81526004016108dc90612dbe565b610a1f838383611d46565b610cf5611b10565b6001600160a01b0316610d06611534565b6001600160a01b031614610d2c5760405162461bcd60e51b81526004016108dc90612d89565b6001610d3661151d565b1015610d4157600080fd5b60108054610d62918391906000610d5783612f0f565b919050556001611edf565b50565b6000610d6f6116f8565b905060008161ffff1611610dc55760405162461bcd60e51b815260206004820181905260248201527f596f752063616e6e6f7420636c61696d20706f726b3139383420746f6b656e7360448201526064016108dc565b8061ffff16610dd26117cd565b1015610df05760405162461bcd60e51b81526004016108dc90612e0f565b610dfd33600f5483611edf565b336000908152600e60205260408120555b8061ffff16600f6000828254610e249190612e46565b909155505050565b6000610e378361140d565b8210610e995760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108dc565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610eca611b10565b6001600160a01b0316610edb611534565b6001600160a01b031614610f015760405162461bcd60e51b81526004016108dc90612d89565b6040514790339082156108fc029083906000818181858888f19350505050158015610c5f573d6000803e3d6000fd5b610a1f838383604051806020016040528060008152506116b9565b610f56610cc0611b10565b610fb55760405162461bcd60e51b815260206004820152602a60248201527f506f726b313938343a2063616c6c6572206973206e6f74206f776e6572206e6f6044820152691c88185c1c1c9bdd995960b21b60648201526084016108dc565b610d6281611f13565b6000610fca8383611c84565b9392505050565b600a5460ff1615610ff45760405162461bcd60e51b81526004016108dc90612d5f565b60008161ffff161161103d5760405162461bcd60e51b815260206004820152601260248201527143616e6e6f7420627579203020706f726b7360701b60448201526064016108dc565b8061ffff1661104a6117cd565b10156110685760405162461bcd60e51b81526004016108dc90612e0f565b600a61ffff821611156110c85760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74206275792074686174206d616e7920706f726b73206174206f6e604482015261636560f01b60648201526084016108dc565b6110dd61ffff821666a03a36075ec000612e72565b3410156111275760405162461bcd60e51b815260206004820152601860248201527724b739bab33334b1b4b2b73a10333ab732399039b2b73a1760411b60448201526064016108dc565b610e0e33600f5483611edf565b60006107dc82611af3565b600061114a60085490565b82106111ad5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108dc565b600882815481106111c0576111c0612f80565b90600052602060002001549050919050565b6111da611b10565b6001600160a01b03166111eb611534565b6001600160a01b0316146112115760405162461bcd60e51b81526004016108dc90612d89565b600a5460ff16156112345760405162461bcd60e51b81526004016108dc90612d5f565b61123c611fa8565b565b611246611b10565b6001600160a01b0316611257611534565b6001600160a01b03161461127d5760405162461bcd60e51b81526004016108dc90612d89565b8051610c5f90601390602084019061272e565b611298611b10565b6001600160a01b03166112a9611534565b6001600160a01b0316146112cf5760405162461bcd60e51b81526004016108dc90612d89565b60016112d96117df565b10156112e457600080fd5b60118054610d62918391906000610d5783612f0f565b606060006113078361140d565b6001600160401b0381111561131e5761131e612f96565b604051908082528060200260200182016040528015611347578160200160208202803683370190505b50905060005b815181101561138f576113608482610e2c565b82828151811061137257611372612f80565b60209081029190910101528061138781612f0f565b91505061134d565b5092915050565b6000818152600260205260408120546001600160a01b0316806107dc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108dc565b60006001600160a01b0382166114785760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108dc565b506001600160a01b031660009081526003602052604090205490565b61149c611b10565b6001600160a01b03166114ad611534565b6001600160a01b0316146114d35760405162461bcd60e51b81526004016108dc90612d89565b600d546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d80546001600160a01b0319169055565b600060105461025861152f9190612e91565b905090565b600d546001600160a01b031690565b6060600180546107f190612ed4565b61155a611b10565b6001600160a01b0316826001600160a01b031614156115b75760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016108dc565b80600560006115c4611b10565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611608611b10565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611644911515815260200190565b60405180910390a35050565b611658611b10565b6001600160a01b0316611669611534565b6001600160a01b03161461168f5760405162461bcd60e51b81526004016108dc90612d89565b600a5460ff166116b15760405162461bcd60e51b81526004016108dc90612cdf565b61123c612018565b6116ca6116c4611b10565b83611c84565b6116e65760405162461bcd60e51b81526004016108dc90612dbe565b6116f28484848461206d565b50505050565b600061152f33610c63565b606061170e82611af3565b6117725760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108dc565b600061177c6120a0565b9050600081511161179c5760405180602001604052806000815250610fca565b806117a6846120af565b6040516020016117b7929190612bd3565b6040516020818303038152906040529392505050565b6000600f5461267061152f9190612e91565b6000601154601461152f9190612e91565b606060405180606001604052806031815260200161301b60319139905090565b60145460405163c455279160e01b81526000916001600160a01b039081169190841690829063c455279190611849908890600401612c02565b60206040518083038186803b15801561186157600080fd5b505afa158015611875573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118999190612ac0565b6001600160a01b031614156118b25760019150506107dc565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6118ec611b10565b6001600160a01b03166118fd611534565b6001600160a01b0316146119235760405162461bcd60e51b81526004016108dc90612d89565b6001600160a01b0381166119885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108dc565b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6119ec611b10565b6001600160a01b03166119fd611534565b6001600160a01b031614611a235760405162461bcd60e51b81526004016108dc90612d89565b6001600160a01b039091166000908152600e6020526040902061ffff9091169055565b600033301415611a9d57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150611aa09050565b50335b90565b60006001600160e01b031982166380ac58cd60e01b1480611ad457506001600160e01b03198216635b5e139f60e01b145b806107dc57506301ffc9a760e01b6001600160e01b03198316146107dc565b6000908152600260205260409020546001600160a01b0316151590565b600061152f611a46565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b4f82611396565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b038616611bee5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b60648201526084016108dc565b6001611c01611bfc876121ac565b612229565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611c4f573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000610fca8284612e46565b6000611c8f82611af3565b611cf05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108dc565b6000611cfb83611396565b9050806001600160a01b0316846001600160a01b03161480611d365750836001600160a01b0316611d2b84610874565b6001600160a01b0316145b806118dc57506118dc8185611810565b826001600160a01b0316611d5982611396565b6001600160a01b031614611dc15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108dc565b6001600160a01b038216611e235760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108dc565b611e2e838383612259565b611e39600082611b1a565b6001600160a01b0383166000908152600360205260408120805460019290611e62908490612e91565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e90908490612e46565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061304c83398151915291a4505050565b60005b8161ffff168110156116f257611f0184611efc8386612e46565b612311565b80611f0b81612f0f565b915050611ee2565b6000611f1e82611396565b9050611f2c81600084612259565b611f37600083611b1a565b6001600160a01b0381166000908152600360205260408120805460019290611f60908490612e91565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b0384169060008051602061304c833981519152908390a45050565b600a5460ff1615611fcb5760405162461bcd60e51b81526004016108dc90612d5f565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612001611b10565b60405161200e9190612c02565b60405180910390a1565b600a5460ff1661203a5760405162461bcd60e51b81526004016108dc90612cdf565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612001611b10565b612078848484611d46565b6120848484848461232b565b6116f25760405162461bcd60e51b81526004016108dc90612d0d565b6060601380546107f190612ed4565b6060816120d35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120fd57806120e781612f0f565b91506120f69050600a83612e5e565b91506120d7565b6000816001600160401b0381111561211757612117612f96565b6040519080825280601f01601f191660200182016040528015612141576020820181803683370190505b5090505b84156118dc57612156600183612e91565b9150612163600a86612f2a565b61216e906030612e46565b60f81b81838151811061218357612183612f80565b60200101906001600160f81b031916908160001a9053506121a5600a86612e5e565b9450612145565b6000604051806080016040528060438152602001612fd8604391398051602091820120835184830151604080870151805190860120905161220c950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000612234600b5490565b60405161190160f01b602082015260228101919091526042810183905260620161220c565b6001600160a01b0383166122b4576122af81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6122d7565b816001600160a01b0316836001600160a01b0316146122d7576122d7838261243f565b6001600160a01b0382166122ee57610a1f816124dc565b826001600160a01b0316826001600160a01b031614610a1f57610a1f828261258b565b610c5f8282604051806020016040528060008152506125cf565b60006001600160a01b0384163b1561243457836001600160a01b031663150b7a02612354611b10565b8786866040518563ffffffff1660e01b81526004016123769493929190612c4b565b602060405180830381600087803b15801561239057600080fd5b505af19250505080156123c0575060408051601f3d908101601f191682019092526123bd91810190612aa3565b60015b61241a573d8080156123ee576040519150601f19603f3d011682016040523d82523d6000602084013e6123f3565b606091505b5080516124125760405162461bcd60e51b81526004016108dc90612d0d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118dc565b506001949350505050565b6000600161244c8461140d565b6124569190612e91565b6000838152600760205260409020549091508082146124a9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906124ee90600190612e91565b6000838152600960205260408120546008805493945090928490811061251657612516612f80565b90600052602060002001549050806008838154811061253757612537612f80565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061256f5761256f612f6a565b6001900381819060005260206000200160009055905550505050565b60006125968361140d565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6125d98383612602565b6125e6600084848461232b565b610a1f5760405162461bcd60e51b81526004016108dc90612d0d565b6001600160a01b0382166126585760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108dc565b61266181611af3565b156126ad5760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016108dc565b6126b960008383612259565b6001600160a01b03821660009081526003602052604081208054600192906126e2908490612e46565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038616908117909155905183929060008051602061304c833981519152908290a45050565b82805461273a90612ed4565b90600052602060002090601f01602090048101928261275c57600085556127a2565b82601f1061277557805160ff19168380011785556127a2565b828001600101855582156127a2579182015b828111156127a2578251825591602001919060010190612787565b506127ae9291506127b2565b5090565b5b808211156127ae57600081556001016127b3565b60006001600160401b03808411156127e1576127e1612f96565b604051601f8501601f19908116603f0116810190828211818310171561280957612809612f96565b8160405280935085815286868601111561282257600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261284d57600080fd5b610fca838335602085016127c7565b803561ffff8116811461286e57600080fd5b919050565b60006020828403121561288557600080fd5b8135610fca81612fac565b600080604083850312156128a357600080fd5b82356128ae81612fac565b915060208301356128be81612fac565b809150509250929050565b6000806000606084860312156128de57600080fd5b83356128e981612fac565b925060208401356128f981612fac565b929592945050506040919091013590565b6000806000806080858703121561292057600080fd5b843561292b81612fac565b9350602085013561293b81612fac565b92506040850135915060608501356001600160401b0381111561295d57600080fd5b6129698782880161283c565b91505092959194509250565b6000806040838503121561298857600080fd5b823561299381612fac565b9150602083013580151581146128be57600080fd5b600080600080600060a086880312156129c057600080fd5b85356129cb81612fac565b945060208601356001600160401b038111156129e657600080fd5b6129f28882890161283c565b9450506040860135925060608601359150608086013560ff81168114612a1757600080fd5b809150509295509295909350565b60008060408385031215612a3857600080fd5b8235612a4381612fac565b9150612a516020840161285c565b90509250929050565b60008060408385031215612a6d57600080fd5b8235612a7881612fac565b946020939093013593505050565b600060208284031215612a9857600080fd5b8135610fca81612fc1565b600060208284031215612ab557600080fd5b8151610fca81612fc1565b600060208284031215612ad257600080fd5b8151610fca81612fac565b600060208284031215612aef57600080fd5b81356001600160401b03811115612b0557600080fd5b8201601f81018413612b1657600080fd5b6118dc848235602084016127c7565b600060208284031215612b3757600080fd5b610fca8261285c565b600060208284031215612b5257600080fd5b5035919050565b60008151808452612b71816020860160208601612ea8565b601f01601f19169290920160200192915050565b60008251612b97818460208701612ea8565b9190910192915050565b60008351612bb3818460208801612ea8565b60609390931b6001600160601b0319169190920190815260140192915050565b60008351612be5818460208801612ea8565b835190830190612bf9818360208801612ea8565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b03848116825283166020820152606060408201819052600090612c4290830184612b59565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c7e90830184612b59565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612cc057835183529284019291840191600101612ca4565b50909695505050505050565b602081526000610fca6020830184612b59565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f4e6f7420656e6f75676820706f726b73206c656674206f6e2073616c65000000604082015260600190565b60008219821115612e5957612e59612f3e565b500190565b600082612e6d57612e6d612f54565b500490565b6000816000190483118215151615612e8c57612e8c612f3e565b500290565b600082821015612ea357612ea3612f3e565b500390565b60005b83811015612ec3578181015183820152602001612eab565b838111156116f25750506000910152565b600181811c90821680612ee857607f821691505b60208210811415612f0957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f2357612f23612f3e565b5060010190565b600082612f3957612f39612f54565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d6257600080fd5b6001600160e01b031981168114610d6257600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f6170692e706f726b313938342e696f2f636f6e74726163742f6f70656e7365612d706f726b31393834ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209d9a2def97d3cc54f4e791e7f15c3cd5f0351d1fe2d81451f40d28292ff0630364736f6c6343000806003368747470733a2f2f6170692e706f726b313938342e696f2f6170692f7376696e2f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106102335760003560e01c806355367ba91161012a57806355367ba91461053457806355f804b3146105495780635c975abb146105695780635c982abb1461058157806361c5c935146105a15780636352211e146105ce57806370a08231146105ee578063715018a61461060e5780637c74b4a8146106235780638257146f146106395780638da5cb5b1461064e57806395d89b4114610663578063a22cb46514610678578063b35559bb14610698578063b66a0e5d146106ae578063b88d4fde146106c3578063c7cc3eda146106e3578063c87b56dd146106f8578063d1e6a64f14610718578063d55433221461072d578063e8a3d48514610742578063e985e9c514610757578063f2fde38b14610777578063f80cfc231461079757600080fd5b806301ffc9a71461023857806306fdde031461026d578063081812fc1461028f578063095ea7b3146102bc5780630c53c51c146102de5780630f7e5970146102f1578063109695231461031e57806318160ddd1461033e5780631a83818b1461035d57806320379ee51461039057806323b872dd146103a5578063253480bd146103c5578063282e6b50146103e55780632d0335ab146103fa5780632f745c59146104305780633199babf146104505780633408e470146104665780633ccfd60b1461047957806342842e0e1461048157806342966c68146104a1578063430c2081146104c1578063485d28ca146104e15780634f558e79146104f45780634f6ccce714610514575b600080fd5b34801561024457600080fd5b50610258610253366004612a86565b6107b7565b60405190151581526020015b60405180910390f35b34801561027957600080fd5b506102826107e2565b6040516102649190612ccc565b34801561029b57600080fd5b506102af6102aa366004612b40565b610874565b6040516102649190612c02565b3480156102c857600080fd5b506102dc6102d7366004612a5a565b610901565b005b6102826102ec3660046129a8565b610a24565b3480156102fd57600080fd5b50610282604051806040016040528060018152602001603160f81b81525081565b34801561032a57600080fd5b506102dc610339366004612add565b610c0d565b34801561034a57600080fd5b506008545b604051908152602001610264565b34801561036957600080fd5b5061037d610378366004612873565b610c63565b60405161ffff9091168152602001610264565b34801561039c57600080fd5b50600b5461034f565b3480156103b157600080fd5b506102dc6103c03660046128c9565b610cb5565b3480156103d157600080fd5b506102dc6103e0366004612873565b610ced565b3480156103f157600080fd5b506102dc610d65565b34801561040657600080fd5b5061034f610415366004612873565b6001600160a01b03166000908152600c602052604090205490565b34801561043c57600080fd5b5061034f61044b366004612a5a565b610e2c565b34801561045c57600080fd5b5061034f600f5481565b34801561047257600080fd5b504661034f565b6102dc610ec2565b34801561048d57600080fd5b506102dc61049c3660046128c9565b610f30565b3480156104ad57600080fd5b506102dc6104bc366004612b40565b610f4b565b3480156104cd57600080fd5b506102586104dc366004612a5a565b610fbe565b6102dc6104ef366004612b25565b610fd1565b34801561050057600080fd5b5061025861050f366004612b40565b611134565b34801561052057600080fd5b5061034f61052f366004612b40565b61113f565b34801561054057600080fd5b506102dc6111d2565b34801561055557600080fd5b506102dc610564366004612add565b61123e565b34801561057557600080fd5b50600a5460ff16610258565b34801561058d57600080fd5b506102dc61059c366004612873565b611290565b3480156105ad57600080fd5b506105c16105bc366004612873565b6112fa565b6040516102649190612c88565b3480156105da57600080fd5b506102af6105e9366004612b40565b611396565b3480156105fa57600080fd5b5061034f610609366004612873565b61140d565b34801561061a57600080fd5b506102dc611494565b34801561062f57600080fd5b5061034f60105481565b34801561064557600080fd5b5061034f61151d565b34801561065a57600080fd5b506102af611534565b34801561066f57600080fd5b50610282611543565b34801561068457600080fd5b506102dc610693366004612975565b611552565b3480156106a457600080fd5b5061034f60115481565b3480156106ba57600080fd5b506102dc611650565b3480156106cf57600080fd5b506102dc6106de36600461290a565b6116b9565b3480156106ef57600080fd5b5061037d6116f8565b34801561070457600080fd5b50610282610713366004612b40565b611703565b34801561072457600080fd5b5061034f6117cd565b34801561073957600080fd5b5061034f6117df565b34801561074e57600080fd5b506102826117f0565b34801561076357600080fd5b50610258610772366004612890565b611810565b34801561078357600080fd5b506102dc610792366004612873565b6118e4565b3480156107a357600080fd5b506102dc6107b2366004612a25565b6119e4565b60006001600160e01b0319821663780e9d6360e01b14806107dc57506107dc82611aa3565b92915050565b6060600080546107f190612ed4565b80601f016020809104026020016040519081016040528092919081815260200182805461081d90612ed4565b801561086a5780601f1061083f5761010080835404028352916020019161086a565b820191906000526020600020905b81548152906001019060200180831161084d57829003601f168201915b5050505050905090565b600061087f82611af3565b6108e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061090c82611396565b9050806001600160a01b0316836001600160a01b0316141561097a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108dc565b806001600160a01b031661098c611b10565b6001600160a01b031614806109a857506109a881610772611b10565b610a155760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016108dc565b610a1f8383611b1a565b505050565b60408051606081810183526001600160a01b0388166000818152600c602090815290859020548452830152918101869052610a628782878787611b88565b610ab85760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b60648201526084016108dc565b6001600160a01b0387166000908152600c6020526040902054610adc906001611c78565b6001600160a01b0388166000908152600c60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610b2c90899033908a90612c16565b60405180910390a1600080306001600160a01b0316888a604051602001610b54929190612ba1565b60408051601f1981840301815290829052610b6e91612b85565b6000604051808303816000865af19150503d8060008114610bab576040519150601f19603f3d011682016040523d82523d6000602084013e610bb0565b606091505b509150915081610c015760405162461bcd60e51b815260206004820152601c60248201527b119d5b98dd1a5bdb8818d85b1b081b9bdd081cdd58d8d95cdcd99d5b60221b60448201526064016108dc565b98975050505050505050565b610c15611b10565b6001600160a01b0316610c26611534565b6001600160a01b031614610c4c5760405162461bcd60e51b81526004016108dc90612d89565b8051610c5f90601290602084019061272e565b5050565b6001600160a01b0381166000908152600e602052604081205460018110801590610c8d5750600a81105b15610c9b5750600192915050565b600a8110610cac5750600392915050565b50600092915050565b610cc6610cc0611b10565b82611c84565b610ce25760405162461bcd60e51b81526004016108dc90612dbe565b610a1f838383611d46565b610cf5611b10565b6001600160a01b0316610d06611534565b6001600160a01b031614610d2c5760405162461bcd60e51b81526004016108dc90612d89565b6001610d3661151d565b1015610d4157600080fd5b60108054610d62918391906000610d5783612f0f565b919050556001611edf565b50565b6000610d6f6116f8565b905060008161ffff1611610dc55760405162461bcd60e51b815260206004820181905260248201527f596f752063616e6e6f7420636c61696d20706f726b3139383420746f6b656e7360448201526064016108dc565b8061ffff16610dd26117cd565b1015610df05760405162461bcd60e51b81526004016108dc90612e0f565b610dfd33600f5483611edf565b336000908152600e60205260408120555b8061ffff16600f6000828254610e249190612e46565b909155505050565b6000610e378361140d565b8210610e995760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108dc565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610eca611b10565b6001600160a01b0316610edb611534565b6001600160a01b031614610f015760405162461bcd60e51b81526004016108dc90612d89565b6040514790339082156108fc029083906000818181858888f19350505050158015610c5f573d6000803e3d6000fd5b610a1f838383604051806020016040528060008152506116b9565b610f56610cc0611b10565b610fb55760405162461bcd60e51b815260206004820152602a60248201527f506f726b313938343a2063616c6c6572206973206e6f74206f776e6572206e6f6044820152691c88185c1c1c9bdd995960b21b60648201526084016108dc565b610d6281611f13565b6000610fca8383611c84565b9392505050565b600a5460ff1615610ff45760405162461bcd60e51b81526004016108dc90612d5f565b60008161ffff161161103d5760405162461bcd60e51b815260206004820152601260248201527143616e6e6f7420627579203020706f726b7360701b60448201526064016108dc565b8061ffff1661104a6117cd565b10156110685760405162461bcd60e51b81526004016108dc90612e0f565b600a61ffff821611156110c85760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74206275792074686174206d616e7920706f726b73206174206f6e604482015261636560f01b60648201526084016108dc565b6110dd61ffff821666a03a36075ec000612e72565b3410156111275760405162461bcd60e51b815260206004820152601860248201527724b739bab33334b1b4b2b73a10333ab732399039b2b73a1760411b60448201526064016108dc565b610e0e33600f5483611edf565b60006107dc82611af3565b600061114a60085490565b82106111ad5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108dc565b600882815481106111c0576111c0612f80565b90600052602060002001549050919050565b6111da611b10565b6001600160a01b03166111eb611534565b6001600160a01b0316146112115760405162461bcd60e51b81526004016108dc90612d89565b600a5460ff16156112345760405162461bcd60e51b81526004016108dc90612d5f565b61123c611fa8565b565b611246611b10565b6001600160a01b0316611257611534565b6001600160a01b03161461127d5760405162461bcd60e51b81526004016108dc90612d89565b8051610c5f90601390602084019061272e565b611298611b10565b6001600160a01b03166112a9611534565b6001600160a01b0316146112cf5760405162461bcd60e51b81526004016108dc90612d89565b60016112d96117df565b10156112e457600080fd5b60118054610d62918391906000610d5783612f0f565b606060006113078361140d565b6001600160401b0381111561131e5761131e612f96565b604051908082528060200260200182016040528015611347578160200160208202803683370190505b50905060005b815181101561138f576113608482610e2c565b82828151811061137257611372612f80565b60209081029190910101528061138781612f0f565b91505061134d565b5092915050565b6000818152600260205260408120546001600160a01b0316806107dc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108dc565b60006001600160a01b0382166114785760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108dc565b506001600160a01b031660009081526003602052604090205490565b61149c611b10565b6001600160a01b03166114ad611534565b6001600160a01b0316146114d35760405162461bcd60e51b81526004016108dc90612d89565b600d546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d80546001600160a01b0319169055565b600060105461025861152f9190612e91565b905090565b600d546001600160a01b031690565b6060600180546107f190612ed4565b61155a611b10565b6001600160a01b0316826001600160a01b031614156115b75760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016108dc565b80600560006115c4611b10565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611608611b10565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611644911515815260200190565b60405180910390a35050565b611658611b10565b6001600160a01b0316611669611534565b6001600160a01b03161461168f5760405162461bcd60e51b81526004016108dc90612d89565b600a5460ff166116b15760405162461bcd60e51b81526004016108dc90612cdf565b61123c612018565b6116ca6116c4611b10565b83611c84565b6116e65760405162461bcd60e51b81526004016108dc90612dbe565b6116f28484848461206d565b50505050565b600061152f33610c63565b606061170e82611af3565b6117725760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108dc565b600061177c6120a0565b9050600081511161179c5760405180602001604052806000815250610fca565b806117a6846120af565b6040516020016117b7929190612bd3565b6040516020818303038152906040529392505050565b6000600f5461267061152f9190612e91565b6000601154601461152f9190612e91565b606060405180606001604052806031815260200161301b60319139905090565b60145460405163c455279160e01b81526000916001600160a01b039081169190841690829063c455279190611849908890600401612c02565b60206040518083038186803b15801561186157600080fd5b505afa158015611875573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118999190612ac0565b6001600160a01b031614156118b25760019150506107dc565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6118ec611b10565b6001600160a01b03166118fd611534565b6001600160a01b0316146119235760405162461bcd60e51b81526004016108dc90612d89565b6001600160a01b0381166119885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108dc565b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6119ec611b10565b6001600160a01b03166119fd611534565b6001600160a01b031614611a235760405162461bcd60e51b81526004016108dc90612d89565b6001600160a01b039091166000908152600e6020526040902061ffff9091169055565b600033301415611a9d57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150611aa09050565b50335b90565b60006001600160e01b031982166380ac58cd60e01b1480611ad457506001600160e01b03198216635b5e139f60e01b145b806107dc57506301ffc9a760e01b6001600160e01b03198316146107dc565b6000908152600260205260409020546001600160a01b0316151590565b600061152f611a46565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b4f82611396565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b038616611bee5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b60648201526084016108dc565b6001611c01611bfc876121ac565b612229565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611c4f573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000610fca8284612e46565b6000611c8f82611af3565b611cf05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108dc565b6000611cfb83611396565b9050806001600160a01b0316846001600160a01b03161480611d365750836001600160a01b0316611d2b84610874565b6001600160a01b0316145b806118dc57506118dc8185611810565b826001600160a01b0316611d5982611396565b6001600160a01b031614611dc15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108dc565b6001600160a01b038216611e235760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108dc565b611e2e838383612259565b611e39600082611b1a565b6001600160a01b0383166000908152600360205260408120805460019290611e62908490612e91565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e90908490612e46565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061304c83398151915291a4505050565b60005b8161ffff168110156116f257611f0184611efc8386612e46565b612311565b80611f0b81612f0f565b915050611ee2565b6000611f1e82611396565b9050611f2c81600084612259565b611f37600083611b1a565b6001600160a01b0381166000908152600360205260408120805460019290611f60908490612e91565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b0384169060008051602061304c833981519152908390a45050565b600a5460ff1615611fcb5760405162461bcd60e51b81526004016108dc90612d5f565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612001611b10565b60405161200e9190612c02565b60405180910390a1565b600a5460ff1661203a5760405162461bcd60e51b81526004016108dc90612cdf565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612001611b10565b612078848484611d46565b6120848484848461232b565b6116f25760405162461bcd60e51b81526004016108dc90612d0d565b6060601380546107f190612ed4565b6060816120d35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120fd57806120e781612f0f565b91506120f69050600a83612e5e565b91506120d7565b6000816001600160401b0381111561211757612117612f96565b6040519080825280601f01601f191660200182016040528015612141576020820181803683370190505b5090505b84156118dc57612156600183612e91565b9150612163600a86612f2a565b61216e906030612e46565b60f81b81838151811061218357612183612f80565b60200101906001600160f81b031916908160001a9053506121a5600a86612e5e565b9450612145565b6000604051806080016040528060438152602001612fd8604391398051602091820120835184830151604080870151805190860120905161220c950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000612234600b5490565b60405161190160f01b602082015260228101919091526042810183905260620161220c565b6001600160a01b0383166122b4576122af81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6122d7565b816001600160a01b0316836001600160a01b0316146122d7576122d7838261243f565b6001600160a01b0382166122ee57610a1f816124dc565b826001600160a01b0316826001600160a01b031614610a1f57610a1f828261258b565b610c5f8282604051806020016040528060008152506125cf565b60006001600160a01b0384163b1561243457836001600160a01b031663150b7a02612354611b10565b8786866040518563ffffffff1660e01b81526004016123769493929190612c4b565b602060405180830381600087803b15801561239057600080fd5b505af19250505080156123c0575060408051601f3d908101601f191682019092526123bd91810190612aa3565b60015b61241a573d8080156123ee576040519150601f19603f3d011682016040523d82523d6000602084013e6123f3565b606091505b5080516124125760405162461bcd60e51b81526004016108dc90612d0d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118dc565b506001949350505050565b6000600161244c8461140d565b6124569190612e91565b6000838152600760205260409020549091508082146124a9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906124ee90600190612e91565b6000838152600960205260408120546008805493945090928490811061251657612516612f80565b90600052602060002001549050806008838154811061253757612537612f80565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061256f5761256f612f6a565b6001900381819060005260206000200160009055905550505050565b60006125968361140d565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6125d98383612602565b6125e6600084848461232b565b610a1f5760405162461bcd60e51b81526004016108dc90612d0d565b6001600160a01b0382166126585760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108dc565b61266181611af3565b156126ad5760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016108dc565b6126b960008383612259565b6001600160a01b03821660009081526003602052604081208054600192906126e2908490612e46565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038616908117909155905183929060008051602061304c833981519152908290a45050565b82805461273a90612ed4565b90600052602060002090601f01602090048101928261275c57600085556127a2565b82601f1061277557805160ff19168380011785556127a2565b828001600101855582156127a2579182015b828111156127a2578251825591602001919060010190612787565b506127ae9291506127b2565b5090565b5b808211156127ae57600081556001016127b3565b60006001600160401b03808411156127e1576127e1612f96565b604051601f8501601f19908116603f0116810190828211818310171561280957612809612f96565b8160405280935085815286868601111561282257600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261284d57600080fd5b610fca838335602085016127c7565b803561ffff8116811461286e57600080fd5b919050565b60006020828403121561288557600080fd5b8135610fca81612fac565b600080604083850312156128a357600080fd5b82356128ae81612fac565b915060208301356128be81612fac565b809150509250929050565b6000806000606084860312156128de57600080fd5b83356128e981612fac565b925060208401356128f981612fac565b929592945050506040919091013590565b6000806000806080858703121561292057600080fd5b843561292b81612fac565b9350602085013561293b81612fac565b92506040850135915060608501356001600160401b0381111561295d57600080fd5b6129698782880161283c565b91505092959194509250565b6000806040838503121561298857600080fd5b823561299381612fac565b9150602083013580151581146128be57600080fd5b600080600080600060a086880312156129c057600080fd5b85356129cb81612fac565b945060208601356001600160401b038111156129e657600080fd5b6129f28882890161283c565b9450506040860135925060608601359150608086013560ff81168114612a1757600080fd5b809150509295509295909350565b60008060408385031215612a3857600080fd5b8235612a4381612fac565b9150612a516020840161285c565b90509250929050565b60008060408385031215612a6d57600080fd5b8235612a7881612fac565b946020939093013593505050565b600060208284031215612a9857600080fd5b8135610fca81612fc1565b600060208284031215612ab557600080fd5b8151610fca81612fc1565b600060208284031215612ad257600080fd5b8151610fca81612fac565b600060208284031215612aef57600080fd5b81356001600160401b03811115612b0557600080fd5b8201601f81018413612b1657600080fd5b6118dc848235602084016127c7565b600060208284031215612b3757600080fd5b610fca8261285c565b600060208284031215612b5257600080fd5b5035919050565b60008151808452612b71816020860160208601612ea8565b601f01601f19169290920160200192915050565b60008251612b97818460208701612ea8565b9190910192915050565b60008351612bb3818460208801612ea8565b60609390931b6001600160601b0319169190920190815260140192915050565b60008351612be5818460208801612ea8565b835190830190612bf9818360208801612ea8565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b03848116825283166020820152606060408201819052600090612c4290830184612b59565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c7e90830184612b59565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612cc057835183529284019291840191600101612ca4565b50909695505050505050565b602081526000610fca6020830184612b59565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f4e6f7420656e6f75676820706f726b73206c656674206f6e2073616c65000000604082015260600190565b60008219821115612e5957612e59612f3e565b500190565b600082612e6d57612e6d612f54565b500490565b6000816000190483118215151615612e8c57612e8c612f3e565b500290565b600082821015612ea357612ea3612f3e565b500390565b60005b83811015612ec3578181015183820152602001612eab565b838111156116f25750506000910152565b600181811c90821680612ee857607f821691505b60208210811415612f0957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f2357612f23612f3e565b5060010190565b600082612f3957612f39612f54565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d6257600080fd5b6001600160e01b031981168114610d6257600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f6170692e706f726b313938342e696f2f636f6e74726163742f6f70656e7365612d706f726b31393834ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209d9a2def97d3cc54f4e791e7f15c3cd5f0351d1fe2d81451f40d28292ff0630364736f6c63430008060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


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.