Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 34 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 15075007 | 1335 days ago | IN | 0 ETH | 0.00044207 | ||||
| Safe Transfer Fr... | 14670322 | 1402 days ago | IN | 0 ETH | 0.00192936 | ||||
| Safe Transfer Fr... | 14670318 | 1402 days ago | IN | 0 ETH | 0.00168173 | ||||
| Set Approval For... | 14215080 | 1473 days ago | IN | 0 ETH | 0.00305962 | ||||
| Set Approval For... | 13797043 | 1537 days ago | IN | 0 ETH | 0.0019663 | ||||
| Batch Token Uri ... | 13731115 | 1548 days ago | IN | 0 ETH | 0.07289118 | ||||
| Batch Token Uri ... | 13731086 | 1548 days ago | IN | 0 ETH | 0.17043732 | ||||
| Batch Token Uri ... | 13731022 | 1548 days ago | IN | 0 ETH | 0.10321162 | ||||
| Withdraw | 13730992 | 1548 days ago | IN | 0 ETH | 0.00434204 | ||||
| Batch Token Uri ... | 13730930 | 1548 days ago | IN | 0 ETH | 0.017879 | ||||
| Set Token Uri | 13730898 | 1548 days ago | IN | 0 ETH | 0.01014243 | ||||
| Mint | 13703322 | 1552 days ago | IN | 0.055 ETH | 0.00744996 | ||||
| Set Approval For... | 13701769 | 1552 days ago | IN | 0 ETH | 0.00311544 | ||||
| Mint | 13692743 | 1554 days ago | IN | 0.055 ETH | 0.0108482 | ||||
| Mint | 13691883 | 1554 days ago | IN | 0.055 ETH | 0.00642725 | ||||
| Mint | 13691793 | 1554 days ago | IN | 0.055 ETH | 0.00721989 | ||||
| Mint | 13691782 | 1554 days ago | IN | 0.11 ETH | 0.01047527 | ||||
| Mint | 13691770 | 1554 days ago | IN | 0.055 ETH | 0.00911522 | ||||
| Gift Mint | 13688162 | 1555 days ago | IN | 0 ETH | 0.01174271 | ||||
| Gift Mint | 13687947 | 1555 days ago | IN | 0 ETH | 0.03134204 | ||||
| Gift Mint | 13687902 | 1555 days ago | IN | 0 ETH | 0.01958507 | ||||
| Gift Mint | 13687845 | 1555 days ago | IN | 0 ETH | 0.04424183 | ||||
| Gift Mint | 13687825 | 1555 days ago | IN | 0 ETH | 0.03335757 | ||||
| Presale Mint | 13662455 | 1559 days ago | IN | 0.055 ETH | 0.01409667 | ||||
| Presale Mint | 13662021 | 1559 days ago | IN | 0.055 ETH | 0.0131887 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SecretSantaSociety
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
// @author: wenbali.io
// ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
// ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
// ccccccccccccccccccccccccccccc:::;:::;:::ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
// ccccccccccccccccccccccccccc;............,:ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
// cccccccccccccccccccccccccc;............ .;ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
// cccccccccccccccccccccccccc,..............':::::::::cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
// cccccccccccccccccccccccccc,..............';:::::::::;;;;;;;;::::ccccccccccccccccccccccccccccccccccccccccccccccccccccccc
// cccccccccccccccccccccccccc;. ........';coodddddddddooollccc:::::;;;;;;:cccccccccccccccccccccccccccccccccccccccccccccccc
// cccccccccccccccccccccccccc:'........cdddddddddddddddddddddddddddollcc::;;;;;::ccccccccccccccccccccccccccccccccccccccccc
// ccccccccccccccccccccccccccc:;'.....,oddddddddddddddddddddddddddddddddddoolc::;;;;::cccccccccccccccccccccccccccccccccccc
// ccccccccccccccccccccccccccccccc::::;,coddddddddddddddddddddddddddddddddddddddolc:;;;;:ccccccccccccccccccccccccccccccccc
// cccccccccccccccccccccccccccccccccc;,;clodddddddddddddddddddddddddddddddddddddddddolc:;;;::ccccccccccccccccccccccccccccc
// cccccccccccccccccccccccccccccccc:,,:llloddddddddddddddddddddddddddooolcc::loddooolcc::;,'',:ccccccccccccccccccccccccccc
// cccccccccccccccccccccccccccccc:;;:llllloddddddddddddddddooolc:::;,'........',''.............';:cccccccccccccccccccccccc
// cccccccccccccccccccccccccccc:;;:llllcc:clolclooolcc::;,,''....................................,cccccccccccccccccccccccc
// cccccccccccccccccccccccccc:;;;::;,'..........''................................................,:cccccccccccccccccccccc
// cccccccccccccccccccccccc;'..'....................................................................,:cccccccccccccccccccc
// ccccccccccccccccccccc:;...........................................................................':ccccccccccccccccccc
// cccccccccccccccccccc:'.............................................................................,ccccccccccccccccccc
// cccccccccccccccccccc,. .........................................................................'..':cccccccccccccccccc
// ccccccccccccccccccc;.....................................................................';cldkOKOc,:cccccccccccccccccc
// cccccccccccccccccc;...................................................................:dOKXNWWWWNN0c;cccccccccccccccccc
// ccccccccccccccccc,..............................................'.';:ccloddc,'..,cdkxocdKNNWWWWWWNNO:;ccccccccccccccccc
// cccccccccccccccc;.............'',;:ccllc;..........'',,;::;,..,:occk0000000xxkkxO0000OxllkXNWWWWWWNXx::cccccccccccccccc
// ccccccccccccccc:.......,:coxk0KKXNNNNNWNOoc,,codxkkkOO00000koodxkxxO0000000000000000000kocxKNWWWWWNX0l;:ccccccccccccccc
// ccccccccccccccc,.';cdk0XNWWWWWWWWWWWWWWWNXxlxO000000000000000000000000000000000000000000OdcdKNWWWWNNO:':ccccccccccccccc
// ccccccccccccccc;lOKXNWWWWWWWWWWWWWWWWWWNXkldO000000Oxddxk000000000000000000OkxdxkO0000000OdcdXNWWWWNXd;:ccccccccccccccc
// cccccccccccccc:lOXXNNWWWWWWWWWWWWWWWWWNN0ook0000Od:;;;;,',lk000000OO00000xc,',;;;;:d000000OdcxNWWWWWNKo;:cccccccccccccc
// ccccccccccccc::xXXNNWWWWWWWWWWWWWWWWWWWNxlxO000Ol':xOOOkdc,lO000KOdx0000Oc,cdkO0Od:,o000000OllKWWWWWWN0l;:ccccccccccccc
// ccccccccccccc:l0XXXNNWWWWWWWWWWWWWWWWWNKolk00000xxOkdddxxxxO00000kox00000OxxxxdddOOxx00000Ox::OWWWWWWNNOc;ccccccccccccc
// ccccccccccccc:dXXXXNNWWWWWWWWWWWWWWWWWNOloO0000000xlodxdddodO0K00klx0000Ododxdddook0000000Ol;dXWWWWWWWNXx;:cccccccccccc
// cccccccccccc::lkXXXNWWWWWWWWWWWWWWWWWWNkldO000000OodxddllddlxKK00kld0000xldddolokdo0000000kldXWWWWWWWWWNKo;:ccccccccccc
// cccccccccccc:,,xXXXNWWWWWWWWWWWWWWWWWWNkldO0000000doxdoooxolkKK00Ood0000kloddooxkox0000000xo0WWWWWWWWWWNNOc;ccccccccccc
// ccccccccccccc;cOXXXNWWWWWWWWWWWWWWWWWWNOcldkO000000xddooollx0000K0ooO0000xlloooddx00000000ddXWWWWWWWWWWWNXo;:cccccccccc
// ccccccccccccc;l0XXXNWWWWWWWWWWWWWWWWWWNKo;;lO0000000OxdddkOO000000dlk0000OkxdddkO00000000xoONWWWWWWWWWWWNNOc;cccccccccc
// ccccccccccccc;l0XXXNWWWWWWWWWWWWWWWWWWWNX0kookkkOO0000000000000000kld00000000000000OkxxdocxXWWWWWWWWWWWWWNXd;:ccccccccc
// ccccccccccccc;cOXXXNWWWWWWWWWWWWWWWWWWWWNNN0ocoooddxkO000000000000OooO0000000000OkxdooooclKNWWWWWWWWWWWWWNN0c;ccccccccc
// ccccccccccccc:cOXXNNWWWWWWWWWWWWWWWWWWWWWWWNKocoooooodxO00000000000xlx00000000Okdoooooc:lONWWWWWWWWWWWWWWWNXx;:cccccccc
// ccccccccccccc::kXXNNWWWWWNXXWWWWWWWWWWWWWWWWNKocooooooodxO0000000000olk000000kdoooool:,:ONWWWWWWWWWWWWWWWWNN0c;cccccccc
// ccccccccccccc:;dXXNNWWWWWXkONNWWWWWWWWWWWWWWWNKoclclooooodx000000000kldO000OxdoooooclkOKNWWWWWWWWWWWWWWWWWWNKo;:ccccccc
// cccccccccccccc;oKXXNWWWWW0x0XNNWWWWWWWWWWWWWWWNKd;,:cloooooxO00000000xldO0OxdooooclxKNNNWWWWWWWWWWWWWWWWWWWNXk::ccccccc
// cccccccccccccc;l0XXNWWWWNkxKXXXNWWWWWWWWNXNWWWWWXkx0kolcloodxO00000000xldOxdoolclxKNWWWWWWWWWWWWWWWWWWWWWWWNNOc;ccccccc
// cccccccccccccc;cOXXNWWWWKxxO0KXXNNWWWWWNOxKWWWWWWWWWWN0dc,;;:oO00000000xlllccldOXNWWWWWWWWWN0KNWWWWWWWWWWWWNNKl;ccccccc
// cccccccccccccc::kXXNWWWW0d:,l0XXNNWWX0kkoox0NWWWWWWNKkxxxxkkdoxddk000000x::cloxkKNWWWWWWWWN0olxOKNWWNNNWWWWWNKo;ccccccc
// cccccccccccccc::kXXNWWWWNX0dd0XXNWWKxkxlco:lKWWWWNOddkKNWWWWNK00ocoxkOOxdoONNX0kxdkKNWWWWNOcccldxxKNXOKWWWWWNXd;:cccccc
// cccccccccccccc::kXXNWWWWWWWOxKXXNWXxO0olcl:oXWWWKdoONWWWWWWWWNXOlcdxdl:oOKNWWWWWNKxokXWWWNd;lc;dOkd0NkkNWWWNNXk::cccccc
// cccccccccccccc::kXXNWWWWWWNkxKXXNWOdKOd00kOXNWNOlxXWWWWWWWWN0occxXWWNXxokXWWWWWWWWNKdo0NWWKxddOxxKddX0dONWWNXX0c;cccccc
// cccccccccccccc;cOXXNWWWWWWNkxXXXXN0d00oONWWWWKxlkNWWWWWWWN0ocdkKNNNWWWNOdokXWWWWWWWWXxlONWWWNNNxxXdoOo;oXWNXX0kl;cccccc
// cccccccccccccc;c0XXNNWWWWWNxkXXXXNXkdKOox0KOxoxKNWWWWWNKkl:cxkkxxxkOOOxddoccdKNWWWWWWNOodOXWWNko00olc;lOXNNXx;'';cccccc
// cccccccccccccc;c0XXXNNWWWWNkkXXXXXNXkokOkxxxOXNWWWNX0dlccclkX0dokXKxokK0dO0c':lxKNWWWWWXOddxxdd0OldOdd0XXNNNx,,;:cccccc
// cccccccccccccc;l0XXXXNNWWWNkxXXXXXXNN0doxk0KXXK0kxdol;cOXxokOo:lkOkooxkdoxkooxlcoddkKXNWWNXK0OkdokXKxOXXXNNWKl;cccccccc
// cccccccccccccc;oKXXXXXNNWWNkxXXXXXXXNWNKkxdddddddxOKXKOOOoo0Ol;dKKxlk0kod0OdoxOXNKkxddxxxxxxdddkKNWXxkXXXXNNNd;:ccccccc
// ccccccccccccc::dXXXXXXNWWWNkxKXXXXXXNNWWWWNNNNNNNWWWWWWN0l:c:;;:clc:cllc:cclokNWWWWWNXK0OOO0KNNWWWWXkkXXXXXNWO::ccccccc
// ccccccccccccc:;ldokXXNNWWWWOdKXXXXXXXNNWWWWWWWWWWWWWWWWWKdx0OkkxxxxxxxkkkO0KkkXWWWWWWWWWWWWWWWWWWWWXxkXXXXXNWKc;ccccccc
// ccccccccccccc:;'',dXXNNWWWW0d0XXXXXXXXNNWWWWWWWWWWWWWWWWXxkNWWWWWWWWWWWWWWWNkkXWWWWWWWWWWWWWWWWWWWWXxxXXXNNNWXo;ccccccc
// ccccccccccccccc:;:kXXNNWWWWKxookXXXXXXNNWWWWWWWWWWWWWWWWXxx0XWWWWWWWWWWWWWWNkkNWWWWWWWWWWWWWWWWWWWWXxxXXXNNWWNd;:cccccc
// cccccccccccccccc;l0XXNWWWWWNklcdKXXXXXNNWWWWWWWWWWWWWWWWNk:cONNWWWWWWWWWWN0dokNWWWWWWWWWWWWWWWWWWWWKxkXXXNNWWNk::cccccc
// ccccccccccccccc::xXXXNNWWWWWNXOd0XXXXXXNNWWWWWWWWWWWWWWWWXOdxNWWWWWWWWWWWNxokKWWWWWWWWWWWWWWWWWWWWW0xOXXXXNWWWOc:cccccc
// cccccccccccccc:;oKXXXNWNWWWWWWXxxXXXXXXXNNWWWWWWWWWWWWWWWWNkdKWWWWWWWWWWWXdkNWWWWWWWWWWWWWWWWWWWW0xdd0XXXXNWWW0c;cccccc
// cccccccccccccc;:OXXXNNWWWWWWWWWKdOXXXXXXXNNWWWWWWWWWWWWWWWW0okXNWWWWWWWWWKdONWWWWWWWWWWWWWWWWWWWNklldKXXXXNWWWXl;cccccc
// cccccccccccccc;lKXXXNNWWWWWWWWWNOdOXXXXXXXNNWWWWWWWWWWWWWWWNxokKWWWWWWWWWOd0WWWWWWWWWWWWWWWWWWWWKxOKKXXXXXNWWWXo;cccccc
// ccccccccccccc:;oXXXXNNWWWWWWWWWWKlc0XXXXXXXXNNWWWWWWWWWWWWWWKdcxNWWWWWWWNkdXWWWWWWWWWWWWWWWWWWWNkxKXXXXXXXNWWWNd;:ccccc
// ccccccccccccc:;dXXXXXNNWWWWWWWNOlcco0XXXXXXXXNNWWWWWWWWWWWWWNOooONWWWWWWXxkNWWWWWWWWWWWWWWWWWWW0dOXXXXXXXXNWWWNx;:ccccc
// ccccccccccccc:;dXXXXXXNNWWWNXOo:okklo0XXXXXXXXXNNWWWWWWWWWWWWNXkdKNWWWWW0x0WWWWWWWWWWWWWWWWWWWXo:kXXXXXXXXNWWWNx;:ccccc
// ccccccccccccc:;oKXXXXXXXKOdl:.'oOOOklo0XXXXXXXXXXNNWWWWWWWWWWWWNkdKWWWWXxkNWWWWWWWWWWWWWWWWWWNxllcdKXXXXXNWWWWWk::ccccc
// cccccccccccccc;l0XXX0kdl:;;;',dOOOOOkloOkkKKKXXXXXNNWWWWWWWWWWWWXkdxkKXxdKWWWWWWWWWWWWWWWWWWNklxOd:oKXXXXNWWWWNx;:ccccc
// cccccccccccccc::oxoc:;;::::,'oOOOOOOOkolc:lcl0XXXXXNWWWWWWWWWWNWWN0xdddxKNWWWWWWWWWWWWWWWNWNklxOOOd:l0XXXNNWWWNx;:ccccc
// ccccccccccccc:;'',;:::::::;'cOOOOOOOOOOkkxlolo0XXXXNWWWWWWWWWWWWWWWWNKKXWWWWWWWWWWWWWWXOddxdlxOOOOOd:lKXXXNWWWNd;:ccccc
// cccccccccccc:,',;;;;;;::::';xOOOOOOOOOOOOOOOxlo0XXXNNNWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWKo;coodkOOOOOOOo;oXXXNNWWXl;cccccc
// ccccccccccc;',::;,,,,,',:,,oOOOOOOOOOOOOOOOOOxlo0XXXXNNNWWWWWWWWWWWWWWWWWWWWWWWWWWWWXdlxkOOOOOOOOOOOOc;kXXNNWWOc:cccccc
// cccccccccc:',:::::::::;;;':kOOOOOOOOOOOOOOOOOOxco0XXXXXNNNWWWWWWWWWWWWWWWWWWWWWWWWWXdokOOOOOOOOOOOOOOx;,xXXNWNx;:cccccc
// cccccccccc;';:::::::::::;'cOOOOOOOOOOOOOOOOOOOOkllOXXXXXXNNNWWWWWWWWWWWWWWWWWWWWWWKdokOOOOOOOOOOOOOOOOc.'xXNWKo;ccccccc
// ccccccccc:',::::::::::::;'lOOOOOOOOOOOOOOOOOOOOOkocxKXXXXXXNNNWWWWWWWWWWWWWWWWWWN0ookOOOOOOOOOOOOOOOOOd'.:ONNOc;ccccccc
// ccccccccc;',::::::::::::;':kOOOOOOOOOOOOOOOOOOOOOOdco0K0KXXXXNWWWWWWWWWWWWWWWWWXkodOOOOOOOOOOOOOOOOOOkl..,oXXd;:ccccccc
// ccccccccc,';:::::::::::::,';cldxkkOOOOOOOOOOOOOOOOOklll:lOXXXNNNWWWWWWWWWWWNOOOdokOOOOOOOOOOOOOOOkxoc;..;,:kkc:cccccccc
// cccccccc:'':::::::::::ccc:;,'.'',,;;::loxkOOOOOOOOOOOxodo:o0XXXXNNWWWWWWWWKxcclxOOOOOOOOOOkxdlc:;,'..',;:;',::ccccccccc
// cccccccc:'':::::::::::ccc::::;;;,,,'''..',;ldkOOOOOOOOOOx;.:xKXXXNNWWWWWNklokOOOOOOOOkxoc;,'...'',;;;:::::,.;cccccccccc
// cccccccc:',::::::::::::ccc:::cc::::::::;;,'..,cxOkxkOOOOx;,::cdkXXK0XWNOo';kOOOOOOOkl;'..',;;;::::::::::::;',cccccccccc
// cccccccc;',::::::::::::cccc:::::::::::::::;;,'.';,',:ldOk:,ll:;:oxc,okoc:,ckOOkxxxc,..,,;::::::::::::::::::'':ccccccccc
// cccccccc;',:::::::::::ccccccc:::::::::::;;::;;;,',,,'.'okc,cooolc:::::clc,ckkd;'''..,,',,,,;;::::::::::::::,';ccccccccc
// cccccccc;';:::::::::ccccccccccc::::::::;',:::::::::::;':kl,coooooooooollc,:ko'.'',',,.'::'';;;:::::::::::::;';ccccccccc
// cccccccc,';:::::::::cccccccccccc:::::::;'',,:::::::::c,;xd,:oooooooooooll';kc.';;:'':'.,:,';:::::::::::::::;';ccccccccc
// cccccccc,';::::::::::cccccccc:::::::::::'..;:::::::::c;,dx;;looooooooolll',xl.';::;.';..,;'.;:::;,::::::::c;';ccccccccc
// cccccccc;';::::::::::ccccccccc::::::::::'.';:::::::::c;,ok;,looooooooooll',dl.';:::,.';..,:'.;:;'';::::cccc:',ccccccccc
// cccccccc;';::::::::::ccccccccc::::::::::'.';:::::::::c;,lk:,looooooolooll,'ol.';:;;;'.:;..,,';:,..;cccccccc:',ccccccccc
// cccccccc;';:::::::::::cccccc::c:::::::::,.,::::::::::::,lk:,colloooooolll;'oo.':::;;'';;..,;::c:..;cccccccc:',ccccccccc
// cccccccc;',:::::::::::cccccc::::::::::::,.,::::::::::c:,ckc'cooolllllllll;'lo'.;:::::;,,,;:::cc:'.:cccccccc;';ccccccccc
// cccccccc;',:::::::::::ccccccc::::::::::;'';:::::::::cc:,ckc'cooolllllllll:'lx,.;::::::::::::::c:..:cccccccc,':ccccccccc
// cccccccc:',:::::::::::cccccccc:::::::::;.';:::::::::cc:,ckc':llllllllllll:'cx;.;:::::::::::::cc;..:cccccccc,':ccccccccc
contract SecretSantaSociety is ERC721, Ownable {
using SafeMath for uint256;
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private _nextTokenId;
Counters.Counter private _nextGiftedAmount;
// Provenance - Artwork Sequence Established Beforehand and Untouched
string public constant PROVENANCE_HASH =
"ae7bef7dc7ffab5f1d74ad39232f62f2166369307e3f60809b34a5ec7eb53940";
// Donation Wallet - secretsantasociety.eth
// All outgoing transactions to be monitored for donations
// see withdraw() function - Hardcoded 10%
address public donationWallet = 0x27632f8E0c9951d9E9c97e7AeC18a85d2D5188dc;
// Contract URI
string private _contractURI;
// Unrevealed URI
string private _unrevealedURI;
// Sale
// actual supply qty is one less (gas savings in comparison operations)
uint256 public constant NFT_SUPPLY = 5556; //actually 5555
uint256 public constant MAX_TOKENS_PRESALE = 8; //actually 7
uint256 public constant MAX_TOKENS_PUBLIC_SALE = 16; //actually 15
uint256 public constant MINT_PRICE = 0.055 ether;
// Dates
uint256 public constant PRESALE_START_TIME = 1637524800; // 2:00 pm CST November 21th 2021
uint256 public constant PRESALE_STOP_TIME = 1637784000; // 2:00 pm CST November 24th 2021
uint256 public constant PUBLIC_SALE_START_TIME = 1637956800; // 2:00pm CST November 26th 2021
// Start/pause sale
bool public saleStarted; //defaults to false
// array of nice listed addresses
mapping(address => bool) public niceListedAddresses;
// array of ipfs CIDs mapped to tokenIds
mapping(uint256 => string) private _tokenUriList;
// array of presale minters
mapping(address => uint256) public mintedOnPresale;
// Events
event SaleStateFlipped(bool state);
event PresaleMinted(address indexed _who, uint8 indexed _amount);
event Minted(address indexed _who, uint8 indexed _amount);
event GiftMinted(address recepient);
event FundsWithdrawn(uint256 balance);
event FallbackHit(address indexed _who, uint256 indexed _amount);
constructor() ERC721("Secret Santa Society", "SSS") {
// skip the 0; gas savings
_nextTokenId.increment();
_nextGiftedAmount.increment();
}
function contractURI() public view returns (string memory) {
return _contractURI;
}
function totalSupply() public view returns (uint256) {
return _nextTokenId.current() - 1; // total supply is one less than next id
}
function giftedAmount() public view returns (uint256) {
return _nextGiftedAmount.current() - 1; // actual gifted is one less that next amount
}
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
require(_exists(tokenId), "Nonexistent token");
if (!_hasCID(tokenId)) {
return string(_unrevealedURI);
} else {
return string(_tokenUriList[tokenId]);
}
}
// verify that the CID has been set for the requested token
function _hasCID(uint256 tokenId) private view returns (bool) {
return !(bytes(_tokenUriList[tokenId]).length == 0);
}
function presaleMint(uint8 amountToMint) public payable {
require(saleStarted == true, "Sale not active");
require(block.timestamp > PRESALE_START_TIME, "Presale not started");
require(block.timestamp < PRESALE_STOP_TIME, "Presale ended");
require(niceListedAddresses[msg.sender], "Presale not listed");
require(MINT_PRICE.mul(amountToMint) == msg.value, "Incorrect amount");
require(
mintedOnPresale[msg.sender] + amountToMint < MAX_TOKENS_PRESALE,
"Presale too many"
);
require(
amountToMint > 0 && amountToMint < MAX_TOKENS_PRESALE,
"Presale 1-7 Santas"
);
mintedOnPresale[msg.sender] += amountToMint;
for (uint256 i = 0; i < amountToMint; i++) {
_safeMint(msg.sender, _nextTokenId.current());
_nextTokenId.increment();
}
emit PresaleMinted(msg.sender, amountToMint);
}
function mint(uint8 amountToMint) public payable {
require(
saleStarted && block.timestamp > PUBLIC_SALE_START_TIME,
"Sale not active"
);
require(totalSupply() < NFT_SUPPLY, "Exceeds max supply");
require(totalSupply() + amountToMint < NFT_SUPPLY, "Out of tokens");
require(
amountToMint > 0 && amountToMint < MAX_TOKENS_PUBLIC_SALE,
"Mint: 1-15 per tx"
);
require(MINT_PRICE.mul(amountToMint) == msg.value, "Incorrect amount");
for (uint256 i = 0; i < amountToMint; i++) {
_safeMint(msg.sender, _nextTokenId.current());
_nextTokenId.increment();
}
emit Minted(msg.sender, amountToMint);
}
/*
Owner functions
*/
// start/stop the sell
function flipSaleState() external onlyOwner {
saleStarted = !saleStarted;
emit SaleStateFlipped(saleStarted);
}
// Updates the contract uri; just in case
function setContractUri(string memory contractUri) external onlyOwner {
_contractURI = contractUri;
}
// Updates the reveal uri; just in case
function setUnrevealedUri(string memory unrevealedUri) external onlyOwner {
_unrevealedURI = unrevealedUri;
}
// MFC!
function giftMint(address[] calldata recipients) external onlyOwner {
require(
totalSupply() + recipients.length < NFT_SUPPLY,
"Gifting exceeds max supply"
);
require(recipients.length > 0, "Recipients > 0");
for (uint256 i = 0; i < recipients.length; i++) {
_safeMint(recipients[i], _nextTokenId.current());
_nextGiftedAmount.increment();
_nextTokenId.increment();
emit GiftMinted(recipients[i]);
}
}
function batchTokenUriList(
uint256 startingTokenId,
string[] memory tokenUriList
) external onlyOwner {
uint256 lastToken = startingTokenId + tokenUriList.length - 1;
require(tokenUriList.length > 0, "List > 0");
require(startingTokenId > 0 && _exists(lastToken), "Out of range");
uint256 count;
for (uint256 i = startingTokenId; i < lastToken + 1; i++) {
_tokenUriList[i] = tokenUriList[count++];
}
delete lastToken;
delete count;
}
function setTokenUri(uint256 tokenId, string memory tokenUri)
external
onlyOwner
{
require(_exists(tokenId), "Out of range");
_tokenUriList[tokenId] = tokenUri;
}
// good boys and girls live here
function batchNicelist(address[] memory niceList) external onlyOwner {
for (uint256 i = 0; i < niceList.length; i++) {
niceListedAddresses[niceList[i]] = true;
}
}
// Owner withdraw and fund Donation Wallet
function withdraw() external onlyOwner {
uint256 balance = address(this).balance;
Address.sendValue(
payable(donationWallet),
(address(this).balance * 10) / 100
);
Address.sendValue(payable(msg.sender), address(this).balance);
emit FundsWithdrawn(balance);
}
// A fallback function in case someone sends ETH to the contract
receive() external payable {
emit FallbackHit(msg.sender, msg.value);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// 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. 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;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
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() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// 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}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_who","type":"address"},{"indexed":true,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"FallbackHit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recepient","type":"address"}],"name":"GiftMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_who","type":"address"},{"indexed":true,"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_who","type":"address"},{"indexed":true,"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"PresaleMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"SaleStateFlipped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PUBLIC_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_STOP_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"niceList","type":"address[]"}],"name":"batchNicelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startingTokenId","type":"uint256"},{"internalType":"string[]","name":"tokenUriList","type":"string[]"}],"name":"batchTokenUriList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donationWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"giftMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giftedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint8","name":"amountToMint","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedOnPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"niceListedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint8","name":"amountToMint","type":"uint8"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","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":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"contractUri","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"unrevealedUri","type":"string"}],"name":"setUnrevealedUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040527327632f8e0c9951d9e9c97e7aec18a85d2d5188dc600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006657600080fd5b506040518060400160405280601481526020017f5365637265742053616e746120536f63696574790000000000000000000000008152506040518060400160405280600381526020017f53535300000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000eb9291906200023f565b508060019080519060200190620001049291906200023f565b505050620001276200011b6200015b60201b60201c565b6200016360201b60201c565b6200013e60076200022960201b620025981760201c565b6200015560086200022960201b620025981760201c565b62000354565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b8280546200024d90620002ef565b90600052602060002090601f016020900481019282620002715760008555620002bd565b82601f106200028c57805160ff1916838001178555620002bd565b82800160010185558215620002bd579182015b82811115620002bc5782518255916020019190600101906200029f565b5b509050620002cc9190620002d0565b5090565b5b80821115620002eb576000816000905550600101620002d1565b5090565b600060028204905060018216806200030857607f821691505b602082108114156200031f576200031e62000325565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614c7780620003646000396000f3fe60806040526004361061024a5760003560e01c80638da5cb5b11610139578063c87b56dd116100b6578063e985e9c51161007a578063e985e9c51461089a578063f2fde38b146108d7578063f5953f9114610900578063f617f92014610929578063fd0daa5714610945578063ff1b65561461097057610295565b8063c87b56dd146107b3578063ccb4807b146107f0578063dcefac7f14610819578063e7b94df414610844578063e8a3d4851461086f57610295565b8063a22cb465116100fd578063a22cb465146106e4578063a5fd7bec1461070d578063a6c00ac114610736578063b88d4fde1461075f578063c002d23d1461078857610295565b80638da5cb5b146105fd5780638f1b89be1461062857806390fb5fb91461066557806395d89b411461068e5780639aa4a125146106b957610295565b80633ccfd60b116101c75780635c474f9e1161018b5780635c474f9e146105255780636352211e146105505780636ecd23061461058d57806370a08231146105a9578063715018a6146105e657610295565b80633ccfd60b146104545780633dada7221461046b57806342842e0e1461049657806357f7789e146104bf5780635bc76f28146104e857610295565b806318160ddd1161020e57806318160ddd146103935780631b57190e146103be57806323b872dd146103e957806325102f271461041257806334918dfd1461043d57610295565b806301ffc9a71461029a57806306fdde03146102d7578063081812fc14610302578063095ea7b31461033f57806316a6167d1461036857610295565b3661029557343373ffffffffffffffffffffffffffffffffffffffff167f5d55a1f2a158747e1dae15f7fe657fe36856753b8b5b7a4f96237efdaf31036660405160405180910390a3005b600080fd5b3480156102a657600080fd5b506102c160048036038101906102bc9190613660565b61099b565b6040516102ce91906142ea565b60405180910390f35b3480156102e357600080fd5b506102ec610a7d565b6040516102f99190614305565b60405180910390f35b34801561030e57600080fd5b50610329600480360381019061032491906136f3565b610b0f565b6040516103369190614283565b60405180910390f35b34801561034b57600080fd5b506103666004803603810190610361919061359e565b610b94565b005b34801561037457600080fd5b5061037d610cac565b60405161038a9190614727565b60405180910390f35b34801561039f57600080fd5b506103a8610cb4565b6040516103b59190614727565b60405180910390f35b3480156103ca57600080fd5b506103d3610cd1565b6040516103e09190614727565b60405180910390f35b3480156103f557600080fd5b50610410600480360381019061040b9190613498565b610cee565b005b34801561041e57600080fd5b50610427610d4e565b6040516104349190614727565b60405180910390f35b34801561044957600080fd5b50610452610d56565b005b34801561046057600080fd5b50610469610e44565b005b34801561047757600080fd5b50610480610f4d565b60405161048d9190614727565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190613498565b610f52565b005b3480156104cb57600080fd5b506104e660048036038101906104e19190613770565b610f72565b005b3480156104f457600080fd5b5061050f600480360381019061050a9190613433565b611062565b60405161051c91906142ea565b60405180910390f35b34801561053157600080fd5b5061053a611082565b60405161054791906142ea565b60405180910390f35b34801561055c57600080fd5b50610577600480360381019061057291906136f3565b611095565b6040516105849190614283565b60405180910390f35b6105a760048036038101906105a291906137c4565b611147565b005b3480156105b557600080fd5b506105d060048036038101906105cb9190613433565b611385565b6040516105dd9190614727565b60405180910390f35b3480156105f257600080fd5b506105fb61143d565b005b34801561060957600080fd5b506106126114c5565b60405161061f9190614283565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a9190613433565b6114ef565b60405161065c9190614727565b60405180910390f35b34801561067157600080fd5b5061068c600480360381019061068791906136b2565b611507565b005b34801561069a57600080fd5b506106a361159d565b6040516106b09190614305565b60405180910390f35b3480156106c557600080fd5b506106ce61162f565b6040516106db9190614727565b60405180910390f35b3480156106f057600080fd5b5061070b60048036038101906107069190613562565b611635565b005b34801561071957600080fd5b50610734600480360381019061072f91906135da565b6117b6565b005b34801561074257600080fd5b5061075d6004803603810190610758919061371c565b6119ef565b005b34801561076b57600080fd5b50610786600480360381019061078191906134e7565b611bd1565b005b34801561079457600080fd5b5061079d611c33565b6040516107aa9190614727565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d591906136f3565b611c3e565b6040516107e79190614305565b60405180910390f35b3480156107fc57600080fd5b50610817600480360381019061081291906136b2565b611dcb565b005b34801561082557600080fd5b5061082e611e61565b60405161083b9190614727565b60405180910390f35b34801561085057600080fd5b50610859611e69565b6040516108669190614283565b60405180910390f35b34801561087b57600080fd5b50610884611e8f565b6040516108919190614305565b60405180910390f35b3480156108a657600080fd5b506108c160048036038101906108bc919061345c565b611f21565b6040516108ce91906142ea565b60405180910390f35b3480156108e357600080fd5b506108fe60048036038101906108f99190613433565b611fb5565b005b34801561090c57600080fd5b506109276004803603810190610922919061361f565b6120ad565b005b610943600480360381019061093e91906137c4565b6121e4565b005b34801561095157600080fd5b5061095a612577565b6040516109679190614727565b60405180910390f35b34801561097c57600080fd5b5061098561257c565b6040516109929190614305565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a765750610a75826125ae565b5b9050919050565b606060008054610a8c90614a46565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab890614a46565b8015610b055780601f10610ada57610100808354040283529160200191610b05565b820191906000526020600020905b815481529060010190602001808311610ae857829003601f168201915b5050505050905090565b6000610b1a82612618565b610b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5090614587565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9f82611095565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0790614627565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2f612684565b73ffffffffffffffffffffffffffffffffffffffff161480610c5e5750610c5d81610c58612684565b611f21565b5b610c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9490614487565b60405180910390fd5b610ca7838361268c565b505050565b63619e99c081565b60006001610cc26007612745565b610ccc919061494f565b905090565b60006001610cdf6008612745565b610ce9919061494f565b905090565b610cff610cf9612684565b82612753565b610d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3590614647565b60405180910390fd5b610d49838383612831565b505050565b63619aa54081565b610d5e612684565b73ffffffffffffffffffffffffffffffffffffffff16610d7c6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc9906145a7565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff0219169083151502179055507f710bbf0bcdcb35985b999576c56823590f7fa7a1500e9115f5ee3d13492a5486600c60009054906101000a900460ff16604051610e3a91906142ea565b60405180910390a1565b610e4c612684565b73ffffffffffffffffffffffffffffffffffffffff16610e6a6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb7906145a7565b60405180910390fd5b6000479050610f09600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600a47610efa91906148f5565b610f0491906148c4565b612a8d565b610f133347612a8d565b7f4a37b25aab49761ecf63117fe82b98d750917451133cf797507bc9fb5b96044a81604051610f429190614727565b60405180910390a150565b600881565b610f6d83838360405180602001604052806000815250611bd1565b505050565b610f7a612684565b73ffffffffffffffffffffffffffffffffffffffff16610f986114c5565b73ffffffffffffffffffffffffffffffffffffffff1614610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe5906145a7565b60405180910390fd5b610ff782612618565b611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102d90614687565b60405180910390fd5b80600e6000848152602001908152602001600020908051906020019061105d9291906130db565b505050565b600d6020528060005260406000206000915054906101000a900460ff1681565b600c60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561113e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611135906144e7565b60405180910390fd5b80915050919050565b600c60009054906101000a900460ff16801561116657506361a13cc042115b6111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90614467565b60405180910390fd5b6115b46111b0610cb4565b106111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e790614507565b60405180910390fd5b6115b48160ff166111ff610cb4565b611209919061486e565b10611249576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611240906146a7565b60405180910390fd5b60008160ff1611801561125f575060108160ff16105b61129e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611295906146e7565b60405180910390fd5b346112bc8260ff1666c3663566a58000612b8190919063ffffffff16565b146112fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f390614707565b60405180910390fd5b60005b8160ff1681101561133a5761131d336113186007612745565b612b97565b6113276007612598565b808061133290614a78565b9150506112ff565b508060ff163373ffffffffffffffffffffffffffffffffffffffff167f94e3d3b755fb8272fed036a2000052ce127005b67c47d63b3cb642cb0e74641260405160405180910390a350565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed906144c7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611445612684565b73ffffffffffffffffffffffffffffffffffffffff166114636114c5565b73ffffffffffffffffffffffffffffffffffffffff16146114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b0906145a7565b60405180910390fd5b6114c36000612bb5565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f6020528060005260406000206000915090505481565b61150f612684565b73ffffffffffffffffffffffffffffffffffffffff1661152d6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614611583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157a906145a7565b60405180910390fd5b80600b90805190602001906115999291906130db565b5050565b6060600180546115ac90614a46565b80601f01602080910402602001604051908101604052809291908181526020018280546115d890614a46565b80156116255780601f106115fa57610100808354040283529160200191611625565b820191906000526020600020905b81548152906001019060200180831161160857829003601f168201915b5050505050905090565b6115b481565b61163d612684565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a2906143e7565b60405180910390fd5b80600560006116b8612684565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611765612684565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117aa91906142ea565b60405180910390a35050565b6117be612684565b73ffffffffffffffffffffffffffffffffffffffff166117dc6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614611832576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611829906145a7565b60405180910390fd5b6115b482829050611841610cb4565b61184b919061486e565b1061188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290614367565b60405180910390fd5b600082829050116118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c890614527565b60405180910390fd5b60005b828290508110156119ea5761193f83838381811061191b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119309190613433565b61193a6007612745565b612b97565b6119496008612598565b6119536007612598565b7f52da39d13bf365de5f9c1aabc8eac458764946d91dc209b9c6c13625a5cee3878383838181106119ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119c29190613433565b6040516119cf9190614283565b60405180910390a180806119e290614a78565b9150506118d4565b505050565b6119f7612684565b73ffffffffffffffffffffffffffffffffffffffff16611a156114c5565b73ffffffffffffffffffffffffffffffffffffffff1614611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a62906145a7565b60405180910390fd5b60006001825184611a7c919061486e565b611a86919061494f565b90506000825111611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390614667565b60405180910390fd5b600083118015611ae15750611ae081612618565b5b611b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1790614687565b60405180910390fd5b6000808490505b600183611b34919061486e565b811015611bc257838280611b4790614a78565b935081518110611b80577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600e60008381526020019081526020016000209080519060200190611bae9291906130db565b508080611bba90614a78565b915050611b27565b50600091506000905050505050565b611be2611bdc612684565b83612753565b611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1890614647565b60405180910390fd5b611c2d84848484612c7b565b50505050565b66c3663566a5800081565b6060611c4982612618565b611c88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7f906144a7565b60405180910390fd5b611c9182612cd7565b611d2757600b8054611ca290614a46565b80601f0160208091040260200160405190810160405280929190818152602001828054611cce90614a46565b8015611d1b5780601f10611cf057610100808354040283529160200191611d1b565b820191906000526020600020905b815481529060010190602001808311611cfe57829003601f168201915b50505050509050611dc6565b600e60008381526020019081526020016000208054611d4590614a46565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7190614a46565b8015611dbe5780601f10611d9357610100808354040283529160200191611dbe565b820191906000526020600020905b815481529060010190602001808311611da157829003601f168201915b505050505090505b919050565b611dd3612684565b73ffffffffffffffffffffffffffffffffffffffff16611df16114c5565b73ffffffffffffffffffffffffffffffffffffffff1614611e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3e906145a7565b60405180910390fd5b80600a9080519060200190611e5d9291906130db565b5050565b6361a13cc081565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600a8054611e9e90614a46565b80601f0160208091040260200160405190810160405280929190818152602001828054611eca90614a46565b8015611f175780601f10611eec57610100808354040283529160200191611f17565b820191906000526020600020905b815481529060010190602001808311611efa57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fbd612684565b73ffffffffffffffffffffffffffffffffffffffff16611fdb6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614612031576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612028906145a7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890614387565b60405180910390fd5b6120aa81612bb5565b50565b6120b5612684565b73ffffffffffffffffffffffffffffffffffffffff166120d36114c5565b73ffffffffffffffffffffffffffffffffffffffff1614612129576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612120906145a7565b60405180910390fd5b60005b81518110156121e0576001600d6000848481518110612174577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806121d890614a78565b91505061212c565b5050565b60011515600c60009054906101000a900460ff1615151461223a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223190614467565b60405180910390fd5b63619aa5404211612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227790614547565b60405180910390fd5b63619e99c042106122c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bd906145c7565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234990614607565b60405180910390fd5b346123708260ff1666c3663566a58000612b8190919063ffffffff16565b146123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a790614707565b60405180910390fd5b60088160ff16600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612400919061486e565b10612440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612437906146c7565b60405180910390fd5b60008160ff16118015612456575060088160ff16105b612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c90614327565b60405180910390fd5b8060ff16600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e7919061486e565b9250508190555060005b8160ff1681101561252c5761250f3361250a6007612745565b612b97565b6125196007612598565b808061252490614a78565b9150506124f1565b508060ff163373ffffffffffffffffffffffffffffffffffffffff167f34e46ad0ef9d57665b797d7909e9611919d8f0140dabf03fb1a3bcaf9ac1e2f560405160405180910390a350565b601081565b604051806060016040528060408152602001614c026040913981565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126ff83611095565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600061275e82612618565b61279d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279490614447565b60405180910390fd5b60006127a883611095565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061281757508373ffffffffffffffffffffffffffffffffffffffff166127ff84610b0f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061282857506128278185611f21565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661285182611095565b73ffffffffffffffffffffffffffffffffffffffff16146128a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289e906145e7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e906143c7565b60405180910390fd5b612922838383612d03565b61292d60008261268c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461297d919061494f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129d4919061486e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac790614427565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612af69061426e565b60006040518083038185875af1925050503d8060008114612b33576040519150601f19603f3d011682016040523d82523d6000602084013e612b38565b606091505b5050905080612b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7390614407565b60405180910390fd5b505050565b60008183612b8f91906148f5565b905092915050565b612bb1828260405180602001604052806000815250612d08565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c86848484612831565b612c9284848484612d63565b612cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc890614347565b60405180910390fd5b50505050565b600080600e60008481526020019081526020016000208054612cf890614a46565b905014159050919050565b505050565b612d128383612efa565b612d1f6000848484612d63565b612d5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5590614347565b60405180910390fd5b505050565b6000612d848473ffffffffffffffffffffffffffffffffffffffff166130c8565b15612eed578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dad612684565b8786866040518563ffffffff1660e01b8152600401612dcf949392919061429e565b602060405180830381600087803b158015612de957600080fd5b505af1925050508015612e1a57506040513d601f19601f82011682018060405250810190612e179190613689565b60015b612e9d573d8060008114612e4a576040519150601f19603f3d011682016040523d82523d6000602084013e612e4f565b606091505b50600081511415612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c90614347565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ef2565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6190614567565b60405180910390fd5b612f7381612618565b15612fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faa906143a7565b60405180910390fd5b612fbf60008383612d03565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461300f919061486e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546130e790614a46565b90600052602060002090601f0160209004810192826131095760008555613150565b82601f1061312257805160ff1916838001178555613150565b82800160010185558215613150579182015b8281111561314f578251825591602001919060010190613134565b5b50905061315d9190613161565b5090565b5b8082111561317a576000816000905550600101613162565b5090565b600061319161318c84614773565b614742565b905080838252602082019050828560208602820111156131b057600080fd5b60005b858110156131e057816131c688826132c3565b8452602084019350602083019250506001810190506131b3565b5050509392505050565b60006131fd6131f88461479f565b614742565b9050808382526020820190508260005b8581101561323d578135850161322388826133df565b84526020840193506020830192505060018101905061320d565b5050509392505050565b600061325a613255846147cb565b614742565b90508281526020810184848401111561327257600080fd5b61327d848285614a04565b509392505050565b6000613298613293846147fb565b614742565b9050828152602081018484840111156132b057600080fd5b6132bb848285614a04565b509392505050565b6000813590506132d281614b8e565b92915050565b60008083601f8401126132ea57600080fd5b8235905067ffffffffffffffff81111561330357600080fd5b60208301915083602082028301111561331b57600080fd5b9250929050565b600082601f83011261333357600080fd5b813561334384826020860161317e565b91505092915050565b600082601f83011261335d57600080fd5b813561336d8482602086016131ea565b91505092915050565b60008135905061338581614ba5565b92915050565b60008135905061339a81614bbc565b92915050565b6000815190506133af81614bbc565b92915050565b600082601f8301126133c657600080fd5b81356133d6848260208601613247565b91505092915050565b600082601f8301126133f057600080fd5b8135613400848260208601613285565b91505092915050565b60008135905061341881614bd3565b92915050565b60008135905061342d81614bea565b92915050565b60006020828403121561344557600080fd5b6000613453848285016132c3565b91505092915050565b6000806040838503121561346f57600080fd5b600061347d858286016132c3565b925050602061348e858286016132c3565b9150509250929050565b6000806000606084860312156134ad57600080fd5b60006134bb868287016132c3565b93505060206134cc868287016132c3565b92505060406134dd86828701613409565b9150509250925092565b600080600080608085870312156134fd57600080fd5b600061350b878288016132c3565b945050602061351c878288016132c3565b935050604061352d87828801613409565b925050606085013567ffffffffffffffff81111561354a57600080fd5b613556878288016133b5565b91505092959194509250565b6000806040838503121561357557600080fd5b6000613583858286016132c3565b925050602061359485828601613376565b9150509250929050565b600080604083850312156135b157600080fd5b60006135bf858286016132c3565b92505060206135d085828601613409565b9150509250929050565b600080602083850312156135ed57600080fd5b600083013567ffffffffffffffff81111561360757600080fd5b613613858286016132d8565b92509250509250929050565b60006020828403121561363157600080fd5b600082013567ffffffffffffffff81111561364b57600080fd5b61365784828501613322565b91505092915050565b60006020828403121561367257600080fd5b60006136808482850161338b565b91505092915050565b60006020828403121561369b57600080fd5b60006136a9848285016133a0565b91505092915050565b6000602082840312156136c457600080fd5b600082013567ffffffffffffffff8111156136de57600080fd5b6136ea848285016133df565b91505092915050565b60006020828403121561370557600080fd5b600061371384828501613409565b91505092915050565b6000806040838503121561372f57600080fd5b600061373d85828601613409565b925050602083013567ffffffffffffffff81111561375a57600080fd5b6137668582860161334c565b9150509250929050565b6000806040838503121561378357600080fd5b600061379185828601613409565b925050602083013567ffffffffffffffff8111156137ae57600080fd5b6137ba858286016133df565b9150509250929050565b6000602082840312156137d657600080fd5b60006137e48482850161341e565b91505092915050565b6137f681614983565b82525050565b61380581614995565b82525050565b60006138168261482b565b6138208185614841565b9350613830818560208601614a13565b61383981614b7d565b840191505092915050565b600061384f82614836565b613859818561485d565b9350613869818560208601614a13565b61387281614b7d565b840191505092915050565b600061388a60128361485d565b91507f50726573616c6520312d372053616e74617300000000000000000000000000006000830152602082019050919050565b60006138ca60328361485d565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613930601a8361485d565b91507f47696674696e672065786365656473206d617820737570706c790000000000006000830152602082019050919050565b600061397060268361485d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139d6601c8361485d565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613a1660248361485d565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a7c60198361485d565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613abc603a8361485d565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b6000613b22601d8361485d565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b6000613b62602c8361485d565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613bc8600f8361485d565b91507f53616c65206e6f742061637469766500000000000000000000000000000000006000830152602082019050919050565b6000613c0860388361485d565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613c6e60118361485d565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b6000613cae602a8361485d565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d1460298361485d565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d7a60128361485d565b91507f45786365656473206d617820737570706c7900000000000000000000000000006000830152602082019050919050565b6000613dba600e8361485d565b91507f526563697069656e7473203e20300000000000000000000000000000000000006000830152602082019050919050565b6000613dfa60138361485d565b91507f50726573616c65206e6f742073746172746564000000000000000000000000006000830152602082019050919050565b6000613e3a60208361485d565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613e7a602c8361485d565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ee060208361485d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613f20600d8361485d565b91507f50726573616c6520656e646564000000000000000000000000000000000000006000830152602082019050919050565b6000613f6060298361485d565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fc660128361485d565b91507f50726573616c65206e6f74206c697374656400000000000000000000000000006000830152602082019050919050565b600061400660218361485d565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061406c600083614852565b9150600082019050919050565b600061408660318361485d565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006140ec60088361485d565b91507f4c697374203e20300000000000000000000000000000000000000000000000006000830152602082019050919050565b600061412c600c8361485d565b91507f4f7574206f662072616e676500000000000000000000000000000000000000006000830152602082019050919050565b600061416c600d8361485d565b91507f4f7574206f6620746f6b656e73000000000000000000000000000000000000006000830152602082019050919050565b60006141ac60108361485d565b91507f50726573616c6520746f6f206d616e79000000000000000000000000000000006000830152602082019050919050565b60006141ec60118361485d565b91507f4d696e743a20312d3135207065722074780000000000000000000000000000006000830152602082019050919050565b600061422c60108361485d565b91507f496e636f727265637420616d6f756e74000000000000000000000000000000006000830152602082019050919050565b614268816149ed565b82525050565b60006142798261405f565b9150819050919050565b600060208201905061429860008301846137ed565b92915050565b60006080820190506142b360008301876137ed565b6142c060208301866137ed565b6142cd604083018561425f565b81810360608301526142df818461380b565b905095945050505050565b60006020820190506142ff60008301846137fc565b92915050565b6000602082019050818103600083015261431f8184613844565b905092915050565b600060208201905081810360008301526143408161387d565b9050919050565b60006020820190508181036000830152614360816138bd565b9050919050565b6000602082019050818103600083015261438081613923565b9050919050565b600060208201905081810360008301526143a081613963565b9050919050565b600060208201905081810360008301526143c0816139c9565b9050919050565b600060208201905081810360008301526143e081613a09565b9050919050565b6000602082019050818103600083015261440081613a6f565b9050919050565b6000602082019050818103600083015261442081613aaf565b9050919050565b6000602082019050818103600083015261444081613b15565b9050919050565b6000602082019050818103600083015261446081613b55565b9050919050565b6000602082019050818103600083015261448081613bbb565b9050919050565b600060208201905081810360008301526144a081613bfb565b9050919050565b600060208201905081810360008301526144c081613c61565b9050919050565b600060208201905081810360008301526144e081613ca1565b9050919050565b6000602082019050818103600083015261450081613d07565b9050919050565b6000602082019050818103600083015261452081613d6d565b9050919050565b6000602082019050818103600083015261454081613dad565b9050919050565b6000602082019050818103600083015261456081613ded565b9050919050565b6000602082019050818103600083015261458081613e2d565b9050919050565b600060208201905081810360008301526145a081613e6d565b9050919050565b600060208201905081810360008301526145c081613ed3565b9050919050565b600060208201905081810360008301526145e081613f13565b9050919050565b6000602082019050818103600083015261460081613f53565b9050919050565b6000602082019050818103600083015261462081613fb9565b9050919050565b6000602082019050818103600083015261464081613ff9565b9050919050565b6000602082019050818103600083015261466081614079565b9050919050565b60006020820190508181036000830152614680816140df565b9050919050565b600060208201905081810360008301526146a08161411f565b9050919050565b600060208201905081810360008301526146c08161415f565b9050919050565b600060208201905081810360008301526146e08161419f565b9050919050565b60006020820190508181036000830152614700816141df565b9050919050565b600060208201905081810360008301526147208161421f565b9050919050565b600060208201905061473c600083018461425f565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561476957614768614b4e565b5b8060405250919050565b600067ffffffffffffffff82111561478e5761478d614b4e565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156147ba576147b9614b4e565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156147e6576147e5614b4e565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561481657614815614b4e565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000614879826149ed565b9150614884836149ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148b9576148b8614ac1565b5b828201905092915050565b60006148cf826149ed565b91506148da836149ed565b9250826148ea576148e9614af0565b5b828204905092915050565b6000614900826149ed565b915061490b836149ed565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561494457614943614ac1565b5b828202905092915050565b600061495a826149ed565b9150614965836149ed565b92508282101561497857614977614ac1565b5b828203905092915050565b600061498e826149cd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614a31578082015181840152602081019050614a16565b83811115614a40576000848401525b50505050565b60006002820490506001821680614a5e57607f821691505b60208210811415614a7257614a71614b1f565b5b50919050565b6000614a83826149ed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ab657614ab5614ac1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614b9781614983565b8114614ba257600080fd5b50565b614bae81614995565b8114614bb957600080fd5b50565b614bc5816149a1565b8114614bd057600080fd5b50565b614bdc816149ed565b8114614be757600080fd5b50565b614bf3816149f7565b8114614bfe57600080fd5b5056fe61653762656637646337666661623566316437346164333932333266363266323136363336393330376533663630383039623334613565633765623533393430a264697066735822122061a86621d5c0dd63e03b6f74dadd14aa3c47c5376388fcbceb9f7f6edab0d6f764736f6c63430008000033
Deployed Bytecode
0x60806040526004361061024a5760003560e01c80638da5cb5b11610139578063c87b56dd116100b6578063e985e9c51161007a578063e985e9c51461089a578063f2fde38b146108d7578063f5953f9114610900578063f617f92014610929578063fd0daa5714610945578063ff1b65561461097057610295565b8063c87b56dd146107b3578063ccb4807b146107f0578063dcefac7f14610819578063e7b94df414610844578063e8a3d4851461086f57610295565b8063a22cb465116100fd578063a22cb465146106e4578063a5fd7bec1461070d578063a6c00ac114610736578063b88d4fde1461075f578063c002d23d1461078857610295565b80638da5cb5b146105fd5780638f1b89be1461062857806390fb5fb91461066557806395d89b411461068e5780639aa4a125146106b957610295565b80633ccfd60b116101c75780635c474f9e1161018b5780635c474f9e146105255780636352211e146105505780636ecd23061461058d57806370a08231146105a9578063715018a6146105e657610295565b80633ccfd60b146104545780633dada7221461046b57806342842e0e1461049657806357f7789e146104bf5780635bc76f28146104e857610295565b806318160ddd1161020e57806318160ddd146103935780631b57190e146103be57806323b872dd146103e957806325102f271461041257806334918dfd1461043d57610295565b806301ffc9a71461029a57806306fdde03146102d7578063081812fc14610302578063095ea7b31461033f57806316a6167d1461036857610295565b3661029557343373ffffffffffffffffffffffffffffffffffffffff167f5d55a1f2a158747e1dae15f7fe657fe36856753b8b5b7a4f96237efdaf31036660405160405180910390a3005b600080fd5b3480156102a657600080fd5b506102c160048036038101906102bc9190613660565b61099b565b6040516102ce91906142ea565b60405180910390f35b3480156102e357600080fd5b506102ec610a7d565b6040516102f99190614305565b60405180910390f35b34801561030e57600080fd5b50610329600480360381019061032491906136f3565b610b0f565b6040516103369190614283565b60405180910390f35b34801561034b57600080fd5b506103666004803603810190610361919061359e565b610b94565b005b34801561037457600080fd5b5061037d610cac565b60405161038a9190614727565b60405180910390f35b34801561039f57600080fd5b506103a8610cb4565b6040516103b59190614727565b60405180910390f35b3480156103ca57600080fd5b506103d3610cd1565b6040516103e09190614727565b60405180910390f35b3480156103f557600080fd5b50610410600480360381019061040b9190613498565b610cee565b005b34801561041e57600080fd5b50610427610d4e565b6040516104349190614727565b60405180910390f35b34801561044957600080fd5b50610452610d56565b005b34801561046057600080fd5b50610469610e44565b005b34801561047757600080fd5b50610480610f4d565b60405161048d9190614727565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190613498565b610f52565b005b3480156104cb57600080fd5b506104e660048036038101906104e19190613770565b610f72565b005b3480156104f457600080fd5b5061050f600480360381019061050a9190613433565b611062565b60405161051c91906142ea565b60405180910390f35b34801561053157600080fd5b5061053a611082565b60405161054791906142ea565b60405180910390f35b34801561055c57600080fd5b50610577600480360381019061057291906136f3565b611095565b6040516105849190614283565b60405180910390f35b6105a760048036038101906105a291906137c4565b611147565b005b3480156105b557600080fd5b506105d060048036038101906105cb9190613433565b611385565b6040516105dd9190614727565b60405180910390f35b3480156105f257600080fd5b506105fb61143d565b005b34801561060957600080fd5b506106126114c5565b60405161061f9190614283565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a9190613433565b6114ef565b60405161065c9190614727565b60405180910390f35b34801561067157600080fd5b5061068c600480360381019061068791906136b2565b611507565b005b34801561069a57600080fd5b506106a361159d565b6040516106b09190614305565b60405180910390f35b3480156106c557600080fd5b506106ce61162f565b6040516106db9190614727565b60405180910390f35b3480156106f057600080fd5b5061070b60048036038101906107069190613562565b611635565b005b34801561071957600080fd5b50610734600480360381019061072f91906135da565b6117b6565b005b34801561074257600080fd5b5061075d6004803603810190610758919061371c565b6119ef565b005b34801561076b57600080fd5b50610786600480360381019061078191906134e7565b611bd1565b005b34801561079457600080fd5b5061079d611c33565b6040516107aa9190614727565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d591906136f3565b611c3e565b6040516107e79190614305565b60405180910390f35b3480156107fc57600080fd5b50610817600480360381019061081291906136b2565b611dcb565b005b34801561082557600080fd5b5061082e611e61565b60405161083b9190614727565b60405180910390f35b34801561085057600080fd5b50610859611e69565b6040516108669190614283565b60405180910390f35b34801561087b57600080fd5b50610884611e8f565b6040516108919190614305565b60405180910390f35b3480156108a657600080fd5b506108c160048036038101906108bc919061345c565b611f21565b6040516108ce91906142ea565b60405180910390f35b3480156108e357600080fd5b506108fe60048036038101906108f99190613433565b611fb5565b005b34801561090c57600080fd5b506109276004803603810190610922919061361f565b6120ad565b005b610943600480360381019061093e91906137c4565b6121e4565b005b34801561095157600080fd5b5061095a612577565b6040516109679190614727565b60405180910390f35b34801561097c57600080fd5b5061098561257c565b6040516109929190614305565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a765750610a75826125ae565b5b9050919050565b606060008054610a8c90614a46565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab890614a46565b8015610b055780601f10610ada57610100808354040283529160200191610b05565b820191906000526020600020905b815481529060010190602001808311610ae857829003601f168201915b5050505050905090565b6000610b1a82612618565b610b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5090614587565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9f82611095565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0790614627565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2f612684565b73ffffffffffffffffffffffffffffffffffffffff161480610c5e5750610c5d81610c58612684565b611f21565b5b610c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9490614487565b60405180910390fd5b610ca7838361268c565b505050565b63619e99c081565b60006001610cc26007612745565b610ccc919061494f565b905090565b60006001610cdf6008612745565b610ce9919061494f565b905090565b610cff610cf9612684565b82612753565b610d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3590614647565b60405180910390fd5b610d49838383612831565b505050565b63619aa54081565b610d5e612684565b73ffffffffffffffffffffffffffffffffffffffff16610d7c6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc9906145a7565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff0219169083151502179055507f710bbf0bcdcb35985b999576c56823590f7fa7a1500e9115f5ee3d13492a5486600c60009054906101000a900460ff16604051610e3a91906142ea565b60405180910390a1565b610e4c612684565b73ffffffffffffffffffffffffffffffffffffffff16610e6a6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb7906145a7565b60405180910390fd5b6000479050610f09600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600a47610efa91906148f5565b610f0491906148c4565b612a8d565b610f133347612a8d565b7f4a37b25aab49761ecf63117fe82b98d750917451133cf797507bc9fb5b96044a81604051610f429190614727565b60405180910390a150565b600881565b610f6d83838360405180602001604052806000815250611bd1565b505050565b610f7a612684565b73ffffffffffffffffffffffffffffffffffffffff16610f986114c5565b73ffffffffffffffffffffffffffffffffffffffff1614610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe5906145a7565b60405180910390fd5b610ff782612618565b611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102d90614687565b60405180910390fd5b80600e6000848152602001908152602001600020908051906020019061105d9291906130db565b505050565b600d6020528060005260406000206000915054906101000a900460ff1681565b600c60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561113e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611135906144e7565b60405180910390fd5b80915050919050565b600c60009054906101000a900460ff16801561116657506361a13cc042115b6111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90614467565b60405180910390fd5b6115b46111b0610cb4565b106111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e790614507565b60405180910390fd5b6115b48160ff166111ff610cb4565b611209919061486e565b10611249576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611240906146a7565b60405180910390fd5b60008160ff1611801561125f575060108160ff16105b61129e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611295906146e7565b60405180910390fd5b346112bc8260ff1666c3663566a58000612b8190919063ffffffff16565b146112fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f390614707565b60405180910390fd5b60005b8160ff1681101561133a5761131d336113186007612745565b612b97565b6113276007612598565b808061133290614a78565b9150506112ff565b508060ff163373ffffffffffffffffffffffffffffffffffffffff167f94e3d3b755fb8272fed036a2000052ce127005b67c47d63b3cb642cb0e74641260405160405180910390a350565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed906144c7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611445612684565b73ffffffffffffffffffffffffffffffffffffffff166114636114c5565b73ffffffffffffffffffffffffffffffffffffffff16146114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b0906145a7565b60405180910390fd5b6114c36000612bb5565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f6020528060005260406000206000915090505481565b61150f612684565b73ffffffffffffffffffffffffffffffffffffffff1661152d6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614611583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157a906145a7565b60405180910390fd5b80600b90805190602001906115999291906130db565b5050565b6060600180546115ac90614a46565b80601f01602080910402602001604051908101604052809291908181526020018280546115d890614a46565b80156116255780601f106115fa57610100808354040283529160200191611625565b820191906000526020600020905b81548152906001019060200180831161160857829003601f168201915b5050505050905090565b6115b481565b61163d612684565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a2906143e7565b60405180910390fd5b80600560006116b8612684565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611765612684565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117aa91906142ea565b60405180910390a35050565b6117be612684565b73ffffffffffffffffffffffffffffffffffffffff166117dc6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614611832576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611829906145a7565b60405180910390fd5b6115b482829050611841610cb4565b61184b919061486e565b1061188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290614367565b60405180910390fd5b600082829050116118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c890614527565b60405180910390fd5b60005b828290508110156119ea5761193f83838381811061191b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119309190613433565b61193a6007612745565b612b97565b6119496008612598565b6119536007612598565b7f52da39d13bf365de5f9c1aabc8eac458764946d91dc209b9c6c13625a5cee3878383838181106119ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119c29190613433565b6040516119cf9190614283565b60405180910390a180806119e290614a78565b9150506118d4565b505050565b6119f7612684565b73ffffffffffffffffffffffffffffffffffffffff16611a156114c5565b73ffffffffffffffffffffffffffffffffffffffff1614611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a62906145a7565b60405180910390fd5b60006001825184611a7c919061486e565b611a86919061494f565b90506000825111611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390614667565b60405180910390fd5b600083118015611ae15750611ae081612618565b5b611b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1790614687565b60405180910390fd5b6000808490505b600183611b34919061486e565b811015611bc257838280611b4790614a78565b935081518110611b80577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600e60008381526020019081526020016000209080519060200190611bae9291906130db565b508080611bba90614a78565b915050611b27565b50600091506000905050505050565b611be2611bdc612684565b83612753565b611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1890614647565b60405180910390fd5b611c2d84848484612c7b565b50505050565b66c3663566a5800081565b6060611c4982612618565b611c88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7f906144a7565b60405180910390fd5b611c9182612cd7565b611d2757600b8054611ca290614a46565b80601f0160208091040260200160405190810160405280929190818152602001828054611cce90614a46565b8015611d1b5780601f10611cf057610100808354040283529160200191611d1b565b820191906000526020600020905b815481529060010190602001808311611cfe57829003601f168201915b50505050509050611dc6565b600e60008381526020019081526020016000208054611d4590614a46565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7190614a46565b8015611dbe5780601f10611d9357610100808354040283529160200191611dbe565b820191906000526020600020905b815481529060010190602001808311611da157829003601f168201915b505050505090505b919050565b611dd3612684565b73ffffffffffffffffffffffffffffffffffffffff16611df16114c5565b73ffffffffffffffffffffffffffffffffffffffff1614611e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3e906145a7565b60405180910390fd5b80600a9080519060200190611e5d9291906130db565b5050565b6361a13cc081565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600a8054611e9e90614a46565b80601f0160208091040260200160405190810160405280929190818152602001828054611eca90614a46565b8015611f175780601f10611eec57610100808354040283529160200191611f17565b820191906000526020600020905b815481529060010190602001808311611efa57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fbd612684565b73ffffffffffffffffffffffffffffffffffffffff16611fdb6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614612031576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612028906145a7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890614387565b60405180910390fd5b6120aa81612bb5565b50565b6120b5612684565b73ffffffffffffffffffffffffffffffffffffffff166120d36114c5565b73ffffffffffffffffffffffffffffffffffffffff1614612129576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612120906145a7565b60405180910390fd5b60005b81518110156121e0576001600d6000848481518110612174577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806121d890614a78565b91505061212c565b5050565b60011515600c60009054906101000a900460ff1615151461223a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223190614467565b60405180910390fd5b63619aa5404211612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227790614547565b60405180910390fd5b63619e99c042106122c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bd906145c7565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234990614607565b60405180910390fd5b346123708260ff1666c3663566a58000612b8190919063ffffffff16565b146123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a790614707565b60405180910390fd5b60088160ff16600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612400919061486e565b10612440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612437906146c7565b60405180910390fd5b60008160ff16118015612456575060088160ff16105b612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c90614327565b60405180910390fd5b8060ff16600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e7919061486e565b9250508190555060005b8160ff1681101561252c5761250f3361250a6007612745565b612b97565b6125196007612598565b808061252490614a78565b9150506124f1565b508060ff163373ffffffffffffffffffffffffffffffffffffffff167f34e46ad0ef9d57665b797d7909e9611919d8f0140dabf03fb1a3bcaf9ac1e2f560405160405180910390a350565b601081565b604051806060016040528060408152602001614c026040913981565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126ff83611095565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600061275e82612618565b61279d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279490614447565b60405180910390fd5b60006127a883611095565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061281757508373ffffffffffffffffffffffffffffffffffffffff166127ff84610b0f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061282857506128278185611f21565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661285182611095565b73ffffffffffffffffffffffffffffffffffffffff16146128a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289e906145e7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e906143c7565b60405180910390fd5b612922838383612d03565b61292d60008261268c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461297d919061494f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129d4919061486e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612ad0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac790614427565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612af69061426e565b60006040518083038185875af1925050503d8060008114612b33576040519150601f19603f3d011682016040523d82523d6000602084013e612b38565b606091505b5050905080612b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7390614407565b60405180910390fd5b505050565b60008183612b8f91906148f5565b905092915050565b612bb1828260405180602001604052806000815250612d08565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c86848484612831565b612c9284848484612d63565b612cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc890614347565b60405180910390fd5b50505050565b600080600e60008481526020019081526020016000208054612cf890614a46565b905014159050919050565b505050565b612d128383612efa565b612d1f6000848484612d63565b612d5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5590614347565b60405180910390fd5b505050565b6000612d848473ffffffffffffffffffffffffffffffffffffffff166130c8565b15612eed578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dad612684565b8786866040518563ffffffff1660e01b8152600401612dcf949392919061429e565b602060405180830381600087803b158015612de957600080fd5b505af1925050508015612e1a57506040513d601f19601f82011682018060405250810190612e179190613689565b60015b612e9d573d8060008114612e4a576040519150601f19603f3d011682016040523d82523d6000602084013e612e4f565b606091505b50600081511415612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c90614347565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ef2565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6190614567565b60405180910390fd5b612f7381612618565b15612fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faa906143a7565b60405180910390fd5b612fbf60008383612d03565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461300f919061486e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546130e790614a46565b90600052602060002090601f0160209004810192826131095760008555613150565b82601f1061312257805160ff1916838001178555613150565b82800160010185558215613150579182015b8281111561314f578251825591602001919060010190613134565b5b50905061315d9190613161565b5090565b5b8082111561317a576000816000905550600101613162565b5090565b600061319161318c84614773565b614742565b905080838252602082019050828560208602820111156131b057600080fd5b60005b858110156131e057816131c688826132c3565b8452602084019350602083019250506001810190506131b3565b5050509392505050565b60006131fd6131f88461479f565b614742565b9050808382526020820190508260005b8581101561323d578135850161322388826133df565b84526020840193506020830192505060018101905061320d565b5050509392505050565b600061325a613255846147cb565b614742565b90508281526020810184848401111561327257600080fd5b61327d848285614a04565b509392505050565b6000613298613293846147fb565b614742565b9050828152602081018484840111156132b057600080fd5b6132bb848285614a04565b509392505050565b6000813590506132d281614b8e565b92915050565b60008083601f8401126132ea57600080fd5b8235905067ffffffffffffffff81111561330357600080fd5b60208301915083602082028301111561331b57600080fd5b9250929050565b600082601f83011261333357600080fd5b813561334384826020860161317e565b91505092915050565b600082601f83011261335d57600080fd5b813561336d8482602086016131ea565b91505092915050565b60008135905061338581614ba5565b92915050565b60008135905061339a81614bbc565b92915050565b6000815190506133af81614bbc565b92915050565b600082601f8301126133c657600080fd5b81356133d6848260208601613247565b91505092915050565b600082601f8301126133f057600080fd5b8135613400848260208601613285565b91505092915050565b60008135905061341881614bd3565b92915050565b60008135905061342d81614bea565b92915050565b60006020828403121561344557600080fd5b6000613453848285016132c3565b91505092915050565b6000806040838503121561346f57600080fd5b600061347d858286016132c3565b925050602061348e858286016132c3565b9150509250929050565b6000806000606084860312156134ad57600080fd5b60006134bb868287016132c3565b93505060206134cc868287016132c3565b92505060406134dd86828701613409565b9150509250925092565b600080600080608085870312156134fd57600080fd5b600061350b878288016132c3565b945050602061351c878288016132c3565b935050604061352d87828801613409565b925050606085013567ffffffffffffffff81111561354a57600080fd5b613556878288016133b5565b91505092959194509250565b6000806040838503121561357557600080fd5b6000613583858286016132c3565b925050602061359485828601613376565b9150509250929050565b600080604083850312156135b157600080fd5b60006135bf858286016132c3565b92505060206135d085828601613409565b9150509250929050565b600080602083850312156135ed57600080fd5b600083013567ffffffffffffffff81111561360757600080fd5b613613858286016132d8565b92509250509250929050565b60006020828403121561363157600080fd5b600082013567ffffffffffffffff81111561364b57600080fd5b61365784828501613322565b91505092915050565b60006020828403121561367257600080fd5b60006136808482850161338b565b91505092915050565b60006020828403121561369b57600080fd5b60006136a9848285016133a0565b91505092915050565b6000602082840312156136c457600080fd5b600082013567ffffffffffffffff8111156136de57600080fd5b6136ea848285016133df565b91505092915050565b60006020828403121561370557600080fd5b600061371384828501613409565b91505092915050565b6000806040838503121561372f57600080fd5b600061373d85828601613409565b925050602083013567ffffffffffffffff81111561375a57600080fd5b6137668582860161334c565b9150509250929050565b6000806040838503121561378357600080fd5b600061379185828601613409565b925050602083013567ffffffffffffffff8111156137ae57600080fd5b6137ba858286016133df565b9150509250929050565b6000602082840312156137d657600080fd5b60006137e48482850161341e565b91505092915050565b6137f681614983565b82525050565b61380581614995565b82525050565b60006138168261482b565b6138208185614841565b9350613830818560208601614a13565b61383981614b7d565b840191505092915050565b600061384f82614836565b613859818561485d565b9350613869818560208601614a13565b61387281614b7d565b840191505092915050565b600061388a60128361485d565b91507f50726573616c6520312d372053616e74617300000000000000000000000000006000830152602082019050919050565b60006138ca60328361485d565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613930601a8361485d565b91507f47696674696e672065786365656473206d617820737570706c790000000000006000830152602082019050919050565b600061397060268361485d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139d6601c8361485d565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613a1660248361485d565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a7c60198361485d565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613abc603a8361485d565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b6000613b22601d8361485d565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b6000613b62602c8361485d565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613bc8600f8361485d565b91507f53616c65206e6f742061637469766500000000000000000000000000000000006000830152602082019050919050565b6000613c0860388361485d565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613c6e60118361485d565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b6000613cae602a8361485d565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d1460298361485d565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d7a60128361485d565b91507f45786365656473206d617820737570706c7900000000000000000000000000006000830152602082019050919050565b6000613dba600e8361485d565b91507f526563697069656e7473203e20300000000000000000000000000000000000006000830152602082019050919050565b6000613dfa60138361485d565b91507f50726573616c65206e6f742073746172746564000000000000000000000000006000830152602082019050919050565b6000613e3a60208361485d565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613e7a602c8361485d565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ee060208361485d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613f20600d8361485d565b91507f50726573616c6520656e646564000000000000000000000000000000000000006000830152602082019050919050565b6000613f6060298361485d565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fc660128361485d565b91507f50726573616c65206e6f74206c697374656400000000000000000000000000006000830152602082019050919050565b600061400660218361485d565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061406c600083614852565b9150600082019050919050565b600061408660318361485d565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006140ec60088361485d565b91507f4c697374203e20300000000000000000000000000000000000000000000000006000830152602082019050919050565b600061412c600c8361485d565b91507f4f7574206f662072616e676500000000000000000000000000000000000000006000830152602082019050919050565b600061416c600d8361485d565b91507f4f7574206f6620746f6b656e73000000000000000000000000000000000000006000830152602082019050919050565b60006141ac60108361485d565b91507f50726573616c6520746f6f206d616e79000000000000000000000000000000006000830152602082019050919050565b60006141ec60118361485d565b91507f4d696e743a20312d3135207065722074780000000000000000000000000000006000830152602082019050919050565b600061422c60108361485d565b91507f496e636f727265637420616d6f756e74000000000000000000000000000000006000830152602082019050919050565b614268816149ed565b82525050565b60006142798261405f565b9150819050919050565b600060208201905061429860008301846137ed565b92915050565b60006080820190506142b360008301876137ed565b6142c060208301866137ed565b6142cd604083018561425f565b81810360608301526142df818461380b565b905095945050505050565b60006020820190506142ff60008301846137fc565b92915050565b6000602082019050818103600083015261431f8184613844565b905092915050565b600060208201905081810360008301526143408161387d565b9050919050565b60006020820190508181036000830152614360816138bd565b9050919050565b6000602082019050818103600083015261438081613923565b9050919050565b600060208201905081810360008301526143a081613963565b9050919050565b600060208201905081810360008301526143c0816139c9565b9050919050565b600060208201905081810360008301526143e081613a09565b9050919050565b6000602082019050818103600083015261440081613a6f565b9050919050565b6000602082019050818103600083015261442081613aaf565b9050919050565b6000602082019050818103600083015261444081613b15565b9050919050565b6000602082019050818103600083015261446081613b55565b9050919050565b6000602082019050818103600083015261448081613bbb565b9050919050565b600060208201905081810360008301526144a081613bfb565b9050919050565b600060208201905081810360008301526144c081613c61565b9050919050565b600060208201905081810360008301526144e081613ca1565b9050919050565b6000602082019050818103600083015261450081613d07565b9050919050565b6000602082019050818103600083015261452081613d6d565b9050919050565b6000602082019050818103600083015261454081613dad565b9050919050565b6000602082019050818103600083015261456081613ded565b9050919050565b6000602082019050818103600083015261458081613e2d565b9050919050565b600060208201905081810360008301526145a081613e6d565b9050919050565b600060208201905081810360008301526145c081613ed3565b9050919050565b600060208201905081810360008301526145e081613f13565b9050919050565b6000602082019050818103600083015261460081613f53565b9050919050565b6000602082019050818103600083015261462081613fb9565b9050919050565b6000602082019050818103600083015261464081613ff9565b9050919050565b6000602082019050818103600083015261466081614079565b9050919050565b60006020820190508181036000830152614680816140df565b9050919050565b600060208201905081810360008301526146a08161411f565b9050919050565b600060208201905081810360008301526146c08161415f565b9050919050565b600060208201905081810360008301526146e08161419f565b9050919050565b60006020820190508181036000830152614700816141df565b9050919050565b600060208201905081810360008301526147208161421f565b9050919050565b600060208201905061473c600083018461425f565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561476957614768614b4e565b5b8060405250919050565b600067ffffffffffffffff82111561478e5761478d614b4e565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156147ba576147b9614b4e565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156147e6576147e5614b4e565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561481657614815614b4e565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000614879826149ed565b9150614884836149ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148b9576148b8614ac1565b5b828201905092915050565b60006148cf826149ed565b91506148da836149ed565b9250826148ea576148e9614af0565b5b828204905092915050565b6000614900826149ed565b915061490b836149ed565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561494457614943614ac1565b5b828202905092915050565b600061495a826149ed565b9150614965836149ed565b92508282101561497857614977614ac1565b5b828203905092915050565b600061498e826149cd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614a31578082015181840152602081019050614a16565b83811115614a40576000848401525b50505050565b60006002820490506001821680614a5e57607f821691505b60208210811415614a7257614a71614b1f565b5b50919050565b6000614a83826149ed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ab657614ab5614ac1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614b9781614983565b8114614ba257600080fd5b50565b614bae81614995565b8114614bb957600080fd5b50565b614bc5816149a1565b8114614bd057600080fd5b50565b614bdc816149ed565b8114614be757600080fd5b50565b614bf3816149f7565b8114614bfe57600080fd5b5056fe61653762656637646337666661623566316437346164333932333266363266323136363336393330376533663630383039623334613565633765623533393430a264697066735822122061a86621d5c0dd63e03b6f74dadd14aa3c47c5376388fcbceb9f7f6edab0d6f764736f6c63430008000033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.