Address Contract Verified
Address
0xA417ce5B28A7140510f7F72D54154C5E88Aa8df8
Balance
0.004000 ETH
Nonce
1
Code Size
24040 bytes
Creator
0xF675cD64...1d6D at tx 0x59aaae64...9dd04f
Indexed Transactions
0
Contract Bytecode
24040 bytes
0x60806040526004361061031e5760003560e01c80636c0360eb116101ab578063a22cb465116100f7578063d96a094a11610095578063ed9a5bbb1161006f578063ed9a5bbb14610b30578063edac985b14610b59578063f2fde38b14610b82578063f4a0a52814610bab57610325565b8063d96a094a14610ac0578063db2e21bc14610adc578063e985e9c514610af357610325565b8063b89fe999116100d1578063b89fe99914610a18578063c87b56dd14610a2f578063d44e357314610a6c578063d7e2875c14610a9557610325565b8063a22cb4651461099d578063ab26320e146109c6578063b88d4fde146109ef57610325565b806389b0649b1161016457806395d89b411161013e57806395d89b41146108e1578063996517cf1461090c5780639b19251a146109375780639e6a1d7d1461097457610325565b806389b0649b146108745780638da5cb5b1461088b5780638ea5220f146108b657610325565b80636c0360eb1461076657806370a0823114610791578063715018a6146107ce57806371efdc21146107e557806375796f7614610822578063819b25ba1461084b57610325565b80633ad7f56c1161026a57806357a8e3fe116102235780636352211e116101fd5780636352211e146106a8578063646d7a7f146106e55780636817c76c1461071057806368428a1b1461073b57610325565b806357a8e3fe1461062b578063591e194b146106565780635c4e7e061461067f57610325565b80633ad7f56c146105415780633ccfd60b1461056c57806342842e0e146105835780634a7d80b3146105ac57806353135ca0146105d757806355f804b31461060257610325565b80630c424284116102d75780631f53ac02116102b15780631f53ac02146104bc57806323b872dd146104e55780632ac7a2b31461050e5780633100a5351461052a57610325565b80630c4242841461043d57806318160ddd1461046657806319d1997a1461049157610325565b806301ffc9a71461032a57806306fdde0314610367578063081812fc1461039257806308e99287146103cf578063095ea7b3146103f85780630983061c1461042157610325565b3661032557005b600080fd5b34801561033657600080fd5b50610351600480360381019061034c91906143d0565b610bd4565b60405161035e9190614bef565b60405180910390f35b34801561037357600080fd5b5061037c610cb6565b6040516103899190614c0a565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b49190614463565b610d48565b6040516103c69190614ae4565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f191906143a7565b610dcd565b005b34801561040457600080fd5b5061041f600480360381019061041a919061432a565b610eac565b005b61043b6004803603810190610436919061448c565b610fc4565b005b34801561044957600080fd5b50610464600480360381019061045f91906142ee565b6112aa565b005b34801561047257600080fd5b5061047b6113ba565b604051610488919061500e565b60405180910390f35b34801561049d57600080fd5b506104a66113c0565b6040516104b3919061500e565b60405180910390f35b3480156104c857600080fd5b506104e360048036038101906104de91906141bf565b6113c6565b005b3480156104f157600080fd5b5061050c60048036038101906105079190614224565b6114df565b005b61052860048036038101906105239190614463565b61153f565b005b34801561053657600080fd5b5061053f61177e565b005b34801561054d57600080fd5b5061055661186c565b6040516105639190614bef565b60405180910390f35b34801561057857600080fd5b5061058161187f565b005b34801561058f57600080fd5b506105aa60048036038101906105a59190614224565b611a25565b005b3480156105b857600080fd5b506105c1611a45565b6040516105ce9190614aff565b60405180910390f35b3480156105e357600080fd5b506105ec611a6b565b6040516105f99190614bef565b60405180910390f35b34801561060e57600080fd5b5061062960048036038101906106249190614422565b611a7e565b005b34801561063757600080fd5b50610640611b4c565b60405161064d9190614ae4565b60405180910390f35b34801561066257600080fd5b5061067d600480360381019061067891906143a7565b611b72565b005b34801561068b57600080fd5b506106a660048036038101906106a19190614463565b611c51565b005b3480156106b457600080fd5b506106cf60048036038101906106ca9190614463565b611d2d565b6040516106dc9190614ae4565b60405180910390f35b3480156106f157600080fd5b506106fa611ddf565b6040516107079190614bef565b60405180910390f35b34801561071c57600080fd5b50610725611df2565b604051610732919061500e565b60405180910390f35b34801561074757600080fd5b50610750611df8565b60405161075d9190614bef565b60405180910390f35b34801561077257600080fd5b5061077b611e0b565b6040516107889190614c0a565b60405180910390f35b34801561079d57600080fd5b506107b860048036038101906107b3919061416d565b611e99565b6040516107c5919061500e565b60405180910390f35b3480156107da57600080fd5b506107e3611f51565b005b3480156107f157600080fd5b5061080c60048036038101906108079190614463565b611fd9565b6040516108199190614bef565b60405180910390f35b34801561082e57600080fd5b50610849600480360381019061084491906141bf565b611ff9565b005b34801561085757600080fd5b50610872600480360381019061086d9190614463565b612112565b005b34801561088057600080fd5b506108896121d1565b005b34801561089757600080fd5b506108a06122bf565b6040516108ad9190614ae4565b60405180910390f35b3480156108c257600080fd5b506108cb6122e9565b6040516108d89190614aff565b60405180910390f35b3480156108ed57600080fd5b506108f661230f565b6040516109039190614c0a565b60405180910390f35b34801561091857600080fd5b506109216123a1565b60405161092e919061500e565b60405180910390f35b34801561094357600080fd5b5061095e6004803603810190610959919061416d565b6123a7565b60405161096b9190614bef565b60405180910390f35b34801561098057600080fd5b5061099b60048036038101906109969190614463565b6123c7565b005b3480156109a957600080fd5b506109c460048036038101906109bf91906142ee565b612486565b005b3480156109d257600080fd5b506109ed60048036038101906109e89190614463565b612607565b005b3480156109fb57600080fd5b50610a166004803603810190610a119190614273565b612749565b005b348015610a2457600080fd5b50610a2d6127ab565b005b348015610a3b57600080fd5b50610a566004803603810190610a519190614463565b612899565b604051610a639190614c0a565b60405180910390f35b348015610a7857600080fd5b50610a936004803603810190610a8e9190614463565b612941565b005b348015610aa157600080fd5b50610aaa6129fe565b604051610ab79190614bef565b60405180910390f35b610ada6004803603810190610ad59190614463565b612a11565b005b348015610ae857600080fd5b50610af1612b92565b005b348015610aff57600080fd5b50610b1a6004803603810190610b1591906141e8565b612c5e565b604051610b279190614bef565b60405180910390f35b348015610b3c57600080fd5b50610b576004803603810190610b52919061416d565b612cf2565b005b348015610b6557600080fd5b50610b806004803603810190610b7b9190614366565b612e59565b005b348015610b8e57600080fd5b50610ba96004803603810190610ba4919061416d565b61300a565b005b348015610bb757600080fd5b50610bd26004803603810190610bcd9190614463565b613102565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c9f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610caf5750610cae826131d5565b5b9050919050565b606060008054610cc590615311565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf190615311565b8015610d3e5780601f10610d1357610100808354040283529160200191610d3e565b820191906000526020600020905b815481529060010190602001808311610d2157829003601f168201915b5050505050905090565b6000610d538261323f565b610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8990614e4e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610dd56132ab565b73ffffffffffffffffffffffffffffffffffffffff16610df36122bf565b73ffffffffffffffffffffffffffffffffffffffff1614610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090614e6e565b60405180910390fd5b80600c60006101000a81548160ff0219169083151502179055507f2a5bfbb68782e57b3242e612145304c845af3404e2d328a12dd2e7c078cd0117600c60009054906101000a900460ff16604051610ea19190614bef565b60405180910390a150565b6000610eb782611d2d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90614f2e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f476132ab565b73ffffffffffffffffffffffffffffffffffffffff161480610f765750610f7581610f706132ab565b612c5e565b5b610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac90614d8e565b60405180910390fd5b610fbf83836132b3565b505050565b600c60029054906101000a900460ff16611013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100a90614f4e565b60405180910390fd5b61101b6132ab565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161108c919061500e565b60206040518083038186803b1580156110a457600080fd5b505afa1580156110b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110dc9190614196565b73ffffffffffffffffffffffffffffffffffffffff1614611132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112990614c4e565b60405180910390fd5b6011600083815260200190815260200160002060009054906101000a900460ff1615611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118a90614e0e565b60405180910390fd5b6008548111156111d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cf90614fae565b60405180910390fd5b6111ed8160095461336c90919063ffffffff16565b34101561122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690614d4e565b60405180910390fd5b60016011600084815260200190815260200160002060006101000a81548160ff02191690831515021790555061126481613382565b7fb77d41b776d1d5cc75b500402614335da616afa8aa95b49325e22db7f1ca86cc61128d6132ab565b838360405161129e93929190614bb8565b60405180910390a15050565b6112b26132ab565b73ffffffffffffffffffffffffffffffffffffffff166112d06122bf565b73ffffffffffffffffffffffffffffffffffffffff1614611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d90614e6e565b60405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f8daaf060c3306c38e068a75c054bf96ecd85a3db1252712c4d93632744c42e0d82826040516113ae929190614b66565b60405180910390a15050565b60075481565b600a5481565b6113ce6132ab565b73ffffffffffffffffffffffffffffffffffffffff166113ec6122bf565b73ffffffffffffffffffffffffffffffffffffffff1614611442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143990614e6e565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f268c00f4ec08b34fdde24b52e47a09d62f3f3837eb3b8ac7206cefb3bb5e5345600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516114d49190614aff565b60405180910390a150565b6114f06114ea6132ab565b826134a6565b61152f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152690614f8e565b60405180910390fd5b61153a838383613584565b505050565b600c60039054906101000a900460ff1661158e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158590614fce565b60405180910390fd5b6008548111156115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90614fae565b60405180910390fd5b6115e88160095461336c90919063ffffffff16565b34101561162a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162190614d4e565b60405180910390fd5b601260006116366132ab565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b490614ece565b60405180910390fd5b7f8714612a507e7fcd9f26d997e561a61611f4bad945c787b8865dc23823ef037b6116e66132ab565b826040516116f5929190614b8f565b60405180910390a161170681613382565b600e60149054906101000a900460ff161561177b576000601260006117296132ab565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50565b6117866132ab565b73ffffffffffffffffffffffffffffffffffffffff166117a46122bf565b73ffffffffffffffffffffffffffffffffffffffff16146117fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f190614e6e565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff0219169083151502179055507f5a454f976028c400c4159ac85c61452441fcf06b9888c7c780c5980e3c3123dd600c60019054906101000a900460ff166040516118629190614bef565b60405180910390a1565b600c60039054906101000a900460ff1681565b6118876132ab565b73ffffffffffffffffffffffffffffffffffffffff166118a56122bf565b73ffffffffffffffffffffffffffffffffffffffff16146118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f290614e6e565b60405180910390fd5b6000479050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc611965612710611957600f548661336c90919063ffffffff16565b6137e090919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611990573d6000803e3d6000fd5b50600c60049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6119f66127106119e86010548661336c90919063ffffffff16565b6137e090919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611a21573d6000803e3d6000fd5b5050565b611a4083838360405180602001604052806000815250612749565b505050565b600c60049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60029054906101000a900460ff1681565b611a866132ab565b73ffffffffffffffffffffffffffffffffffffffff16611aa46122bf565b73ffffffffffffffffffffffffffffffffffffffff1614611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af190614e6e565b60405180910390fd5b80600b9080519060200190611b10929190613ed1565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600b604051611b419190614c2c565b60405180910390a150565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b7a6132ab565b73ffffffffffffffffffffffffffffffffffffffff16611b986122bf565b73ffffffffffffffffffffffffffffffffffffffff1614611bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be590614e6e565b60405180910390fd5b80600e60146101000a81548160ff0219169083151502179055507fc6e0fb794d60d245727554ed563b17ec5cd901c15ee395b10535ce370b1bdccd600e60149054906101000a900460ff16604051611c469190614bef565b60405180910390a150565b611c596132ab565b73ffffffffffffffffffffffffffffffffffffffff16611c776122bf565b73ffffffffffffffffffffffffffffffffffffffff1614611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc490614e6e565b60405180910390fd5b80600f81905550611ceb600f546127106131bf90919063ffffffff16565b6010819055507fd20ab7c161b1f8ebfab00e747660c0fa31ae9123063e580b5be0aeab18623db2600f54604051611d22919061500e565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcd90614dce565b60405180910390fd5b80915050919050565b600c60009054906101000a900460ff1681565b60095481565b600c60019054906101000a900460ff1681565b600b8054611e1890615311565b80601f0160208091040260200160405190810160405280929190818152602001828054611e4490615311565b8015611e915780601f10611e6657610100808354040283529160200191611e91565b820191906000526020600020905b815481529060010190602001808311611e7457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0190614dae565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f596132ab565b73ffffffffffffffffffffffffffffffffffffffff16611f776122bf565b73ffffffffffffffffffffffffffffffffffffffff1614611fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc490614e6e565b60405180910390fd5b611fd760006137f6565b565b60116020528060005260406000206000915054906101000a900460ff1681565b6120016132ab565b73ffffffffffffffffffffffffffffffffffffffff1661201f6122bf565b73ffffffffffffffffffffffffffffffffffffffff1614612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c90614e6e565b60405180910390fd5b80600c60046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fb470355146314037ce5186813b4b7c65bff2b87f98d44ff063570d0e22d65ba3600c60049054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516121079190614aff565b60405180910390a150565b61211a6132ab565b73ffffffffffffffffffffffffffffffffffffffff166121386122bf565b73ffffffffffffffffffffffffffffffffffffffff161461218e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218590614e6e565b60405180910390fd5b61219781613382565b7fdb7b64a879507c32bda4d0cf22dee29ed875c7157ecbbc10fe11bf14fab06d12816040516121c6919061500e565b60405180910390a150565b6121d96132ab565b73ffffffffffffffffffffffffffffffffffffffff166121f76122bf565b73ffffffffffffffffffffffffffffffffffffffff161461224d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224490614e6e565b60405180910390fd5b600c60029054906101000a900460ff1615600c60026101000a81548160ff0219169083151502179055507f38822fae85453c65b78e1b7d02e45cae5eb0d7961e34226fb29c49dab9d3a357600c60029054906101000a900460ff166040516122b59190614bef565b60405180910390a1565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606001805461231e90615311565b80601f016020809104026020016040519081016040528092919081815260200182805461234a90615311565b80156123975780601f1061236c57610100808354040283529160200191612397565b820191906000526020600020905b81548152906001019060200180831161237a57829003601f168201915b5050505050905090565b60085481565b60126020528060005260406000206000915054906101000a900460ff1681565b6123cf6132ab565b73ffffffffffffffffffffffffffffffffffffffff166123ed6122bf565b73ffffffffffffffffffffffffffffffffffffffff1614612443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243a90614e6e565b60405180910390fd5b806008819055507f9ae30a041b5f2244849dc754c675b09aef4ad230b48995476fd6e6415d1fe8ab60085460405161247b919061500e565b60405180910390a150565b61248e6132ab565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f390614d2e565b60405180910390fd5b80600560006125096132ab565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166125b66132ab565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125fb9190614bef565b60405180910390a35050565b61260f6132ab565b73ffffffffffffffffffffffffffffffffffffffff1661262d6122bf565b73ffffffffffffffffffffffffffffffffffffffff1614612683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267a90614e6e565b60405180910390fd5b6011600082815260200190815260200160002060009054906101000a900460ff166126e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126da90614f6e565b60405180910390fd5b60006011600083815260200190815260200160002060006101000a81548160ff0219169083151502179055507f256e63760868166c3f047c49d3e1614c1ca6c620d715c552c54ddb4ba428719c8160405161273e919061500e565b60405180910390a150565b61275a6127546132ab565b836134a6565b612799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279090614f8e565b60405180910390fd5b6127a5848484846138bc565b50505050565b6127b36132ab565b73ffffffffffffffffffffffffffffffffffffffff166127d16122bf565b73ffffffffffffffffffffffffffffffffffffffff1614612827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281e90614e6e565b60405180910390fd5b600c60039054906101000a900460ff1615600c60036101000a81548160ff0219169083151502179055507ffabb6e4b24bd8ac3a08555e569d13590c5006dc61e4aae65e74296d3df6759ed600c60039054906101000a900460ff1660405161288f9190614bef565b60405180910390a1565b60606128a48261323f565b6128e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128da90614eae565b60405180910390fd5b6000600b80546128f290615311565b90501161290e576040518060200160405280600081525061293a565b600b61291983613918565b60405160200161292a929190614ac0565b6040516020818303038152906040525b9050919050565b6129496132ab565b73ffffffffffffffffffffffffffffffffffffffff166129676122bf565b73ffffffffffffffffffffffffffffffffffffffff16146129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b490614e6e565b60405180910390fd5b80600a819055507f178f2d92de18f124251b08e25bacba56eda0716625c1e799fc6c8ed1ee7d1d07816040516129f3919061500e565b60405180910390a150565b600e60149054906101000a900460ff1681565b600c60019054906101000a900460ff16612a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5790614fee565b60405180910390fd5b600854811115612aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9c90614dee565b60405180910390fd5b612aba8160095461336c90919063ffffffff16565b341015612afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af390614f0e565b60405180910390fd5b600c60009054906101000a900460ff16612b8657612b186132ab565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c90614cae565b60405180910390fd5b5b612b8f81613382565b50565b612b9a6132ab565b73ffffffffffffffffffffffffffffffffffffffff16612bb86122bf565b73ffffffffffffffffffffffffffffffffffffffff1614612c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0590614e6e565b60405180910390fd5b612c166122bf565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015612c5b573d6000803e3d6000fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612cfa6132ab565b73ffffffffffffffffffffffffffffffffffffffff16612d186122bf565b73ffffffffffffffffffffffffffffffffffffffff1614612d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6590614e6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd590614eee565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4846b8d14a603fbd3567c63384f41a947d787c004e59ce39ee755d0485ae5ed881604051612e4e9190614ae4565b60405180910390a150565b612e616132ab565b73ffffffffffffffffffffffffffffffffffffffff16612e7f6122bf565b73ffffffffffffffffffffffffffffffffffffffff1614612ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecc90614e6e565b60405180910390fd5b60005b815181101561300657600160126000848481518110612f20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507faec42ac7f1bb8651906ae6522f50a19429e124e8ea678ef59fd27750759288a2828281518110612fd3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516001604051612feb929190614b66565b60405180910390a18080612ffe90615374565b915050612ed8565b5050565b6130126132ab565b73ffffffffffffffffffffffffffffffffffffffff166130306122bf565b73ffffffffffffffffffffffffffffffffffffffff1614613086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307d90614e6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156130f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ed90614c8e565b60405180910390fd5b6130ff816137f6565b50565b61310a6132ab565b73ffffffffffffffffffffffffffffffffffffffff166131286122bf565b73ffffffffffffffffffffffffffffffffffffffff161461317e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317590614e6e565b60405180910390fd5b806009819055507f25b1f9f6b6e61dfca5575239769e4450ed2e49176670837f5d1a82a9a2fc693f816040516131b4919061500e565b60405180910390a150565b600081836131cd9190615215565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661332683611d2d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818361337a91906151bb565b905092915050565b600a5461339a82600754613ac590919063ffffffff16565b11156133db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d290614cee565b60405180910390fd5b6000600754905060005b828110156134a157613401600183613ac590919063ffffffff16565b91506134196001600754613ac590919063ffffffff16565b60078190555061343061342a6132ab565b83613adb565b816134396132ab565b73ffffffffffffffffffffffffffffffffffffffff167f85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7a61347985612899565b6040516134869190614c0a565b60405180910390a3808061349990615374565b9150506133e5565b505050565b60006134b18261323f565b6134f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e790614d6e565b60405180910390fd5b60006134fb83611d2d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061356a57508373ffffffffffffffffffffffffffffffffffffffff1661355284610d48565b73ffffffffffffffffffffffffffffffffffffffff16145b8061357b575061357a8185612c5e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166135a482611d2d565b73ffffffffffffffffffffffffffffffffffffffff16146135fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f190614e8e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561366a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161366190614d0e565b60405180910390fd5b613675838383613af9565b6136806000826132b3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136d09190615215565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137279190615134565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836137ee919061518a565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6138c7848484613584565b6138d384848484613afe565b613912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390990614c6e565b60405180910390fd5b50505050565b60606000821415613960576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613ac0565b600082905060005b6000821461399257808061397b90615374565b915050600a8261398b919061518a565b9150613968565b60008167ffffffffffffffff8111156139d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613a065781602001600182028036833780820191505090505b5090505b60008514613ab957600182613a1f9190615215565b9150600a85613a2e91906153bd565b6030613a3a9190615134565b60f81b818381518110613a76577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613ab2919061518a565b9450613a0a565b8093505050505b919050565b60008183613ad39190615134565b905092915050565b613af5828260405180602001604052806000815250613c95565b5050565b505050565b6000613b1f8473ffffffffffffffffffffffffffffffffffffffff16613cf0565b15613c88578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b486132ab565b8786866040518563ffffffff1660e01b8152600401613b6a9493929190614b1a565b602060405180830381600087803b158015613b8457600080fd5b505af1925050508015613bb557506040513d601f19601f82011682018060405250810190613bb291906143f9565b60015b613c38573d8060008114613be5576040519150601f19603f3d011682016040523d82523d6000602084013e613bea565b606091505b50600081511415613c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c2790614c6e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c8d565b600190505b949350505050565b613c9f8383613d03565b613cac6000848484613afe565b613ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce290614c6e565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d6a90614e2e565b60405180910390fd5b613d7c8161323f565b15613dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613db390614cce565b60405180910390fd5b613dc860008383613af9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e189190615134565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613edd90615311565b90600052602060002090601f016020900481019282613eff5760008555613f46565b82601f10613f1857805160ff1916838001178555613f46565b82800160010185558215613f46579182015b82811115613f45578251825591602001919060010190613f2a565b5b509050613f539190613f57565b5090565b5b80821115613f70576000816000905550600101613f58565b5090565b6000613f87613f828461504e565b615029565b90508083825260208201905082856020860282011115613fa657600080fd5b60005b85811015613fd65781613fbc888261405c565b845260208401935060208301925050600181019050613fa9565b5050509392505050565b6000613ff3613fee8461507a565b615029565b90508281526020810184848401111561400b57600080fd5b6140168482856152cf565b509392505050565b600061403161402c846150ab565b615029565b90508281526020810184848401111561404957600080fd5b6140548482856152cf565b509392505050565b60008135905061406b81615d3f565b92915050565b60008151905061408081615d3f565b92915050565b60008135905061409581615d56565b92915050565b600082601f8301126140ac57600080fd5b81356140bc848260208601613f74565b91505092915050565b6000813590506140d481615d6d565b92915050565b6000813590506140e981615d84565b92915050565b6000815190506140fe81615d84565b92915050565b600082601f83011261411557600080fd5b8135614125848260208601613fe0565b91505092915050565b600082601f83011261413f57600080fd5b813561414f84826020860161401e565b91505092915050565b60008135905061416781615d9b565b92915050565b60006020828403121561417f57600080fd5b600061418d8482850161405c565b91505092915050565b6000602082840312156141a857600080fd5b60006141b684828501614071565b91505092915050565b6000602082840312156141d157600080fd5b60006141df84828501614086565b91505092915050565b600080604083850312156141fb57600080fd5b60006142098582860161405c565b925050602061421a8582860161405c565b9150509250929050565b60008060006060848603121561423957600080fd5b60006142478682870161405c565b93505060206142588682870161405c565b925050604061426986828701614158565b9150509250925092565b6000806000806080858703121561428957600080fd5b60006142978782880161405c565b94505060206142a88782880161405c565b93505060406142b987828801614158565b925050606085013567ffffffffffffffff8111156142d657600080fd5b6142e287828801614104565b91505092959194509250565b6000806040838503121561430157600080fd5b600061430f8582860161405c565b9250506020614320858286016140c5565b9150509250929050565b6000806040838503121561433d57600080fd5b600061434b8582860161405c565b925050602061435c85828601614158565b9150509250929050565b60006020828403121561437857600080fd5b600082013567ffffffffffffffff81111561439257600080fd5b61439e8482850161409b565b91505092915050565b6000602082840312156143b957600080fd5b60006143c7848285016140c5565b91505092915050565b6000602082840312156143e257600080fd5b60006143f0848285016140da565b91505092915050565b60006020828403121561440b57600080fd5b6000614419848285016140ef565b91505092915050565b60006020828403121561443457600080fd5b600082013567ffffffffffffffff81111561444e57600080fd5b61445a8482850161412e565b91505092915050565b60006020828403121561447557600080fd5b600061448384828501614158565b91505092915050565b6000806040838503121561449f57600080fd5b60006144ad85828601614158565b92505060206144be85828601614158565b9150509250929050565b6144d18161525b565b82525050565b6144e081615249565b82525050565b6144ef8161526d565b82525050565b6000614500826150f1565b61450a8185615107565b935061451a8185602086016152de565b614523816154aa565b840191505092915050565b6000614539826150fc565b6145438185615118565b93506145538185602086016152de565b61455c816154aa565b840191505092915050565b6000614572826150fc565b61457c8185615129565b935061458c8185602086016152de565b80840191505092915050565b600081546145a581615311565b6145af8186615118565b945060018216600081146145ca57600181146145dc5761460f565b60ff198316865260208601935061460f565b6145e5856150dc565b60005b83811015614607578154818901526001820191506020810190506145e8565b808801955050505b50505092915050565b6000815461462581615311565b61462f8186615129565b9450600182166000811461464a576001811461465b5761468e565b60ff1983168652818601935061468e565b614664856150dc565b60005b8381101561468657815481890152600182019150602081019050614667565b838801955050505b50505092915050565b60006146a4602683615118565b91506146af826154bb565b604082019050919050565b60006146c7603283615118565b91506146d28261550a565b604082019050919050565b60006146ea602683615118565b91506146f582615559565b604082019050919050565b600061470d603783615118565b9150614718826155a8565b604082019050919050565b6000614730601c83615118565b915061473b826155f7565b602082019050919050565b6000614753601783615118565b915061475e82615620565b602082019050919050565b6000614776602483615118565b915061478182615649565b604082019050919050565b6000614799601983615118565b91506147a482615698565b602082019050919050565b60006147bc602c83615118565b91506147c7826156c1565b604082019050919050565b60006147df602c83615118565b91506147ea82615710565b604082019050919050565b6000614802603883615118565b915061480d8261575f565b604082019050919050565b6000614825602a83615118565b9150614830826157ae565b604082019050919050565b6000614848602983615118565b9150614853826157fd565b604082019050919050565b600061486b603483615118565b91506148768261584c565b604082019050919050565b600061488e602b83615118565b91506148998261589b565b604082019050919050565b60006148b1602083615118565b91506148bc826158ea565b602082019050919050565b60006148d4602c83615118565b91506148df82615913565b604082019050919050565b60006148f7602083615118565b915061490282615962565b602082019050919050565b600061491a602983615118565b91506149258261598b565b604082019050919050565b600061493d602f83615118565b9150614948826159da565b604082019050919050565b6000614960603183615118565b915061496b82615a29565b604082019050919050565b6000614983603183615118565b915061498e82615a78565b604082019050919050565b60006149a6602583615118565b91506149b182615ac7565b604082019050919050565b60006149c9602183615118565b91506149d482615b16565b604082019050919050565b60006149ec602d83615118565b91506149f782615b65565b604082019050919050565b6000614a0f602a83615118565b9150614a1a82615bb4565b604082019050919050565b6000614a32603183615118565b9150614a3d82615c03565b604082019050919050565b6000614a55603b83615118565b9150614a6082615c52565b604082019050919050565b6000614a78603983615118565b9150614a8382615ca1565b604082019050919050565b6000614a9b602383615118565b9150614aa682615cf0565b604082019050919050565b614aba816152c5565b82525050565b6000614acc8285614618565b9150614ad88284614567565b91508190509392505050565b6000602082019050614af960008301846144d7565b92915050565b6000602082019050614b1460008301846144c8565b92915050565b6000608082019050614b2f60008301876144d7565b614b3c60208301866144d7565b614b496040830185614ab1565b8181036060830152614b5b81846144f5565b905095945050505050565b6000604082019050614b7b60008301856144d7565b614b8860208301846144e6565b9392505050565b6000604082019050614ba460008301856144d7565b614bb16020830184614ab1565b9392505050565b6000606082019050614bcd60008301866144d7565b614bda6020830185614ab1565b614be76040830184614ab1565b949350505050565b6000602082019050614c0460008301846144e6565b92915050565b60006020820190508181036000830152614c24818461452e565b905092915050565b60006020820190508181036000830152614c468184614598565b905092915050565b60006020820190508181036000830152614c6781614697565b9050919050565b60006020820190508181036000830152614c87816146ba565b9050919050565b60006020820190508181036000830152614ca7816146dd565b9050919050565b60006020820190508181036000830152614cc781614700565b9050919050565b60006020820190508181036000830152614ce781614723565b9050919050565b60006020820190508181036000830152614d0781614746565b9050919050565b60006020820190508181036000830152614d2781614769565b9050919050565b60006020820190508181036000830152614d478161478c565b9050919050565b60006020820190508181036000830152614d67816147af565b9050919050565b60006020820190508181036000830152614d87816147d2565b9050919050565b60006020820190508181036000830152614da7816147f5565b9050919050565b60006020820190508181036000830152614dc781614818565b9050919050565b60006020820190508181036000830152614de78161483b565b9050919050565b60006020820190508181036000830152614e078161485e565b9050919050565b60006020820190508181036000830152614e2781614881565b9050919050565b60006020820190508181036000830152614e47816148a4565b9050919050565b60006020820190508181036000830152614e67816148c7565b9050919050565b60006020820190508181036000830152614e87816148ea565b9050919050565b60006020820190508181036000830152614ea78161490d565b9050919050565b60006020820190508181036000830152614ec781614930565b9050919050565b60006020820190508181036000830152614ee781614953565b9050919050565b60006020820190508181036000830152614f0781614976565b9050919050565b60006020820190508181036000830152614f2781614999565b9050919050565b60006020820190508181036000830152614f47816149bc565b9050919050565b60006020820190508181036000830152614f67816149df565b9050919050565b60006020820190508181036000830152614f8781614a02565b9050919050565b60006020820190508181036000830152614fa781614a25565b9050919050565b60006020820190508181036000830152614fc781614a48565b9050919050565b60006020820190508181036000830152614fe781614a6b565b9050919050565b6000602082019050818103600083015261500781614a8e565b9050919050565b60006020820190506150236000830184614ab1565b92915050565b6000615033615044565b905061503f8282615343565b919050565b6000604051905090565b600067ffffffffffffffff8211156150695761506861547b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156150955761509461547b565b5b61509e826154aa565b9050602081019050919050565b600067ffffffffffffffff8211156150c6576150c561547b565b5b6150cf826154aa565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061513f826152c5565b915061514a836152c5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561517f5761517e6153ee565b5b828201905092915050565b6000615195826152c5565b91506151a0836152c5565b9250826151b0576151af61541d565b5b828204905092915050565b60006151c6826152c5565b91506151d1836152c5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561520a576152096153ee565b5b828202905092915050565b6000615220826152c5565b915061522b836152c5565b92508282101561523e5761523d6153ee565b5b828203905092915050565b6000615254826152a5565b9050919050565b6000615266826152a5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156152fc5780820151818401526020810190506152e1565b8381111561530b576000848401525b50505050565b6000600282049050600182168061532957607f821691505b6020821081141561533d5761533c61544c565b5b50919050565b61534c826154aa565b810181811067ffffffffffffffff8211171561536b5761536a61547b565b5b80604052505050565b600061537f826152c5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153b2576153b16153ee565b5b600182019050919050565b60006153c8826152c5565b91506153d3836152c5565b9250826153e3576153e261541d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f44726f7073706163653a3a70726573616c654275793a20696e76616c6964207460008201527f69636b65742e0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f44726f7073706163653a3a6275793a20536d61727420636f6e7472616374732060008201527f617265206e6f7420616c6c6f77656420746f206275792e000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c6566742e000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f44726f7073706163653a3a70726573616c654275793a20496e7375666669636960008201527f656e74207061796d656e742e0000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f44726f7073706163653a3a6275793a20546f6f206d616e7920746f6b656e732060008201527f666f72206f6e65207472616e73616374696f6e2e000000000000000000000000602082015250565b7f44726f7073706163653a3a70726573616c654275793a205469636b657420616c60008201527f726561647920757365642e000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f44726f7073706163653a3a77686974656c6973744275793a20596f752061726560008201527f206e6f742077686974656c69737465642e000000000000000000000000000000602082015250565b7f44726f70537061636553616c653a3a7365745469636b6574416464726573733a60008201527f20496e76616c696420616464726573732e000000000000000000000000000000602082015250565b7f44726f7073706163653a3a6275793a20496e73756666696369656e742070617960008201527f6d656e742e000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f44726f7073706163653a3a70726573616c654275793a2050726573616c65206960008201527f73206e6f74204163746976652e00000000000000000000000000000000000000602082015250565b7f44726f7073706163653a3a636c6561725469636b65743a205469636b6574206960008201527f73206e6f74207573656400000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f44726f7073706163653a3a70726573616c654275793a20546f6f206d616e792060008201527f746f6b656e7320666f72206f6e65207472616e73616374696f6e2e0000000000602082015250565b7f44726f70537061636553616c653a3a77686974656c6973744275793a2057686960008201527f74656c69737420427579206973206e6f74204163746976652e00000000000000602082015250565b7f44726f7073706163653a3a6275793a2053616c65206973206e6f74206163746960008201527f76652e0000000000000000000000000000000000000000000000000000000000602082015250565b615d4881615249565b8114615d5357600080fd5b50565b615d5f8161525b565b8114615d6a57600080fd5b50565b615d768161526d565b8114615d8157600080fd5b50565b615d8d81615279565b8114615d9857600080fd5b50565b615da4816152c5565b8114615daf57600080fd5b5056fea26469706673582212202293234f0980a3f4ba47e4dcc0881deaaab349b32dea31b85524fbd13a707ede64736f6c63430008040033
Verified Source Code Full Match
Compiler: v0.8.4+commit.c7e474f2
EVM: istanbul
Optimization: No
DropspaceSale.sol 226 lines
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;
import "./IDropspaceSale.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract DropspaceSale is IDropspaceSale, ERC721, Ownable {
using SafeMath for uint256;
using Strings for uint256;
uint256 public override totalSupply = 0;
uint256 public override mintLimit;
uint256 public override mintPrice;
uint256 public override supplyLimit;
string public override baseURI;
bool public override smartContractAllowance = false;
bool public override saleActive;
bool public override presaleActive;
bool public override whitelistSaleActive;
address payable public override withdrawalWallet;
address payable public override devWallet;
address public override ticketAddress;
bool public override whitelistBuyOnce;
uint256 devSaleShare;
uint256 ownerSaleShare;
mapping(uint256 => bool) public override usedTickets;
mapping(address => bool) public override whitelist;
constructor(
uint256 _supplyLimit,
uint256 _mintLimit,
uint256 _mintPrice,
uint256 _devSaleShare,
address payable _withdrawalWallet,
address payable _devWallet,
address _ticketAddress,
string memory _name,
string memory _ticker,
string memory _baseURI
) ERC721(_name, _ticker) {
supplyLimit = _supplyLimit;
mintLimit = _mintLimit;
mintPrice = _mintPrice;
withdrawalWallet = _withdrawalWallet;
devWallet = _devWallet;
ticketAddress = _ticketAddress;
baseURI = _baseURI;
devSaleShare = _devSaleShare;
ownerSaleShare = uint256(10000).sub(devSaleShare);
}
modifier onlyWithdrawalWallet() {
require(address(withdrawalWallet) == _msgSender(),
"DropspaceSale: caller is not the withdrawal wallet");
_;
}
function setWhitelistBuyOnce(bool _whitelistBuyOnce) external onlyOwner override {
whitelistBuyOnce = _whitelistBuyOnce;
emit WhitelistBuyOnceChanged(whitelistBuyOnce);
}
function emergencyWithdraw() external onlyOwner override {
payable(owner()).transfer(address(this).balance);
}
function changeSupplyLimit(uint256 _supplyLimit) external onlyOwner override {
supplyLimit = _supplyLimit;
emit SupplyLimitChanged(_supplyLimit);
}
function setMintPrice(uint256 _mintPrice) external onlyOwner override {
mintPrice = _mintPrice;
emit MintPriceChanged(_mintPrice);
}
function setWhitelistStatus(address _user, bool _status) public onlyOwner override {
whitelist[_user] = _status;
emit WhitelistStatusChanged(_user, _status);
}
function addWhitelist(address[] memory _userList) external onlyOwner override {
for(uint256 i = 0; i < _userList.length; i++) {
whitelist[_userList[i]] = true;
emit WhiteListAdded(_userList[i], true);
}
}
function setDevSaleShare(uint256 _devSaleShare) external override onlyOwner {
devSaleShare = _devSaleShare;
ownerSaleShare = uint256(10000).sub(devSaleShare);
emit DevShareSaleChanged(devSaleShare);
}
function toggleSaleActive() external onlyOwner override {
saleActive = !saleActive;
emit ToggleSaleState(saleActive);
}
function toggleWhitelistSaleActive() external onlyOwner override {
whitelistSaleActive = !whitelistSaleActive;
emit ToggleWhitelistSaleState(whitelistSaleActive);
}
function setBaseURI(string memory _baseURI) external onlyOwner override {
baseURI = _baseURI;
emit BaseURIChanged(baseURI);
}
function setSmartContractAllowance(bool _smartContractAllowance) external onlyOwner override {
smartContractAllowance = _smartContractAllowance;
emit SmartContractAllowanceChanged(smartContractAllowance);
}
function setWithdrawalWallet(address payable _withdrawalWallet) external onlyOwner override {
withdrawalWallet = _withdrawalWallet;
emit WithdrawalWalletChanged(withdrawalWallet);
}
function setDevWallet(address payable _devWallet) external onlyOwner override {
devWallet = _devWallet;
emit DevWalletChanged(devWallet);
}
function setMintLimit(uint256 _mintLimit) external onlyOwner override {
mintLimit = _mintLimit;
emit MintLimitChanged(mintLimit);
}
function withdraw() external onlyOwner override {
uint256 contractBalance = address(this).balance;
devWallet.transfer(contractBalance.mul(devSaleShare).div(10000));
withdrawalWallet.transfer(contractBalance.mul(ownerSaleShare).div(10000));
}
function reserve(uint256 _amount) external onlyOwner override {
_mint(_amount);
emit Reserve(_amount);
}
function buy(uint256 _amount) external override payable {
require(saleActive, "Dropspace::buy: Sale is not active.");
require(_amount <= mintLimit, "Dropspace::buy: Too many tokens for one transaction.");
require(msg.value >= mintPrice.mul(_amount), "Dropspace::buy: Insufficient payment.");
if (!smartContractAllowance) {
require(tx.origin == _msgSender(), "Dropspace::buy: Smart contracts are not allowed to buy.");
}
_mint(_amount);
}
function _mint(uint256 _amount) internal {
require(totalSupply.add(_amount) <= supplyLimit, "Not enough tokens left.");
uint256 newId = totalSupply;
for(uint i = 0; i < _amount; i++) {
newId = newId.add(1);
totalSupply = totalSupply.add(1);
_safeMint(_msgSender(), newId);
emit Mint(_msgSender(), newId, tokenURI(newId));
}
}
function tokenURI(uint256 _tokenId) public view override returns(string memory) {
require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
return bytes(baseURI).length > 0 ?
string(abi.encodePacked(baseURI, _tokenId.toString())) : "";
}
function togglePresaleActive() external onlyOwner override {
presaleActive = !presaleActive;
emit TogglePresaleState(presaleActive);
}
function setTicketAddress(address _ticketAddress) external onlyOwner override {
require(_ticketAddress != address(0), "DropSpaceSale::setTicketAddress: Invalid address.");
ticketAddress = _ticketAddress;
emit TicketAddressChanged(_ticketAddress);
}
function presaleBuy(uint256 _ticketId, uint _amount) external payable override {
require(presaleActive, "Dropspace::presaleBuy: Presale is not Active.");
require(ERC721(ticketAddress).ownerOf(_ticketId) == _msgSender(), "Dropspace::presaleBuy: invalid ticket.");
require(!usedTickets[_ticketId], "Dropspace::presaleBuy: Ticket already used.");
require(_amount <= mintLimit, "Dropspace::presaleBuy: Too many tokens for one transaction.");
require(msg.value >= mintPrice.mul(_amount), "Dropspace::presaleBuy: Insufficient payment.");
usedTickets[_ticketId] = true;
_mint(_amount);
emit PresaleBuy(_msgSender(), _ticketId, _amount);
}
function whitelistBuy(uint256 _amount) external payable override {
require(whitelistSaleActive, "DropSpaceSale::whitelistBuy: Whitelist Buy is not Active.");
require(_amount <= mintLimit, "Dropspace::presaleBuy: Too many tokens for one transaction.");
require(msg.value >= mintPrice.mul(_amount), "Dropspace::presaleBuy: Insufficient payment.");
require(whitelist[_msgSender()], "Dropspace::whitelistBuy: You are not whitelisted.");
emit WhitelistBuy(_msgSender(), _amount);
_mint(_amount);
if (whitelistBuyOnce) {
whitelist[_msgSender()] = false;
}
}
function clearTicket(uint256 _ticketId) external override onlyOwner{
require(usedTickets[_ticketId], "Dropspace::clearTicket: Ticket is not used");
usedTickets[_ticketId] = false;
emit TicketCleared(_ticketId);
}
receive() external override payable {}
}
IDropspaceSale.sol 72 lines
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;
interface IDropspaceSale {
// OWNER ONLY
function toggleSaleActive() external;
function togglePresaleActive() external;
function setBaseURI(string memory _baseURI) external;
function setWithdrawalWallet(address payable _withdrawalWallet) external;
function setDevWallet(address payable _devWallet) external;
function setDevSaleShare(uint256 _devSaleShare) external;
function setMintLimit(uint256 _mintLimit) external;
function setSmartContractAllowance(bool _smartContractAllowance) external;
function setTicketAddress(address _ticketAddress) external;
function reserve(uint256 _amount) external;
function withdraw() external;
function toggleWhitelistSaleActive() external;
function setWhitelistStatus(address _user, bool _status) external;
function addWhitelist(address[] memory _userList) external;
function clearTicket(uint256 _ticketId) external;
function changeSupplyLimit(uint256 _supplyLimit) external;
function emergencyWithdraw() external;
function setMintPrice(uint256 _mintPrice) external;
function setWhitelistBuyOnce(bool _whitelistBuyOnce) external;
// EXTERNAL
function buy(uint256 _amount) external payable;
function presaleBuy(uint256 _ticketId, uint256 _amount) external payable;
function whitelistBuy(uint256 _amount) external payable;
// VIEW
function totalSupply() view external returns(uint256);
function supplyLimit() view external returns(uint256);
function mintPrice() view external returns(uint256);
function mintLimit() view external returns(uint256);
function baseURI() view external returns(string memory);
function saleActive() view external returns(bool);
function presaleActive() view external returns(bool);
function whitelistSaleActive() view external returns(bool);
function smartContractAllowance() view external returns(bool);
function devWallet() view external returns(address payable);
function withdrawalWallet() view external returns(address payable);
function ticketAddress() view external returns(address);
function usedTickets(uint256 _ticketId) view external returns(bool);
function whitelist(address _user) view external returns(bool);
function whitelistBuyOnce() view external returns(bool);
// EVENTS
event Reserve(uint256 _amount);
event Mint(address indexed _user, uint256 indexed _tokenId, string _tokenURI);
event ToggleSaleState(bool _state);
event BaseURIChanged(string _baseURI);
event WithdrawalWalletChanged(address payable _newWithdrawalWallet);
event DevWalletChanged(address payable _newDevWallet);
event DevShareSaleChanged(uint256 _devSaleShare);
event MintLimitChanged(uint256 _newMintLimit);
event MintPriceChanged(uint256 _mintPrice);
event SmartContractAllowanceChanged(bool _newSmartContractAllowance);
event TogglePresaleState(bool _preSaleState);
event TicketAddressChanged(address _ticketAddress);
event PresaleBuy(address _user, uint256 _ticketId, uint256 _amount);
event WhitelistBuy(address _user, uint256 _amount);
event WhitelistStatusChanged(address _user, bool _status);
event ToggleWhitelistSaleState(bool _whitelistSaleActive);
event SupplyLimitChanged(uint256 _supplyLimit);
event TicketCleared(uint256 _ticketId);
event WhiteListAdded(address _user, bool _status);
event WhitelistBuyOnceChanged(bool _whitelistBuyOnce);
receive() external payable;
}
Address.sol 216 lines
// 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);
}
}
}
}
Context.sol 23 lines
// 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;
}
}
Strings.sol 66 lines
// 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);
}
}
Ownable.sol 71 lines
// 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);
}
}
ERC721.sol 411 lines
// 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 {}
}
SafeMath.sol 226 lines
// 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;
}
}
}
IERC721.sol 142 lines
// 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;
}
ERC165.sol 28 lines
// 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;
}
}
IERC165.sol 24 lines
// 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);
}
IERC721Receiver.sol 26 lines
// 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);
}
IERC721Metadata.sol 26 lines
// 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);
}
Read Contract
balanceOf 0x70a08231 → uint256
baseURI 0x6c0360eb → string
devWallet 0x8ea5220f → address
getApproved 0x081812fc → address
isApprovedForAll 0xe985e9c5 → bool
mintLimit 0x996517cf → uint256
mintPrice 0x6817c76c → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
presaleActive 0x53135ca0 → bool
saleActive 0x68428a1b → bool
smartContractAllowance 0x646d7a7f → bool
supplyLimit 0x19d1997a → uint256
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
ticketAddress 0x57a8e3fe → address
tokenURI 0xc87b56dd → string
totalSupply 0x18160ddd → uint256
usedTickets 0x71efdc21 → bool
whitelist 0x9b19251a → bool
whitelistBuyOnce 0xd7e2875c → bool
whitelistSaleActive 0x3ad7f56c → bool
withdrawalWallet 0x4a7d80b3 → address
Write Contract 29 functions
These functions modify contract state and require a wallet transaction to execute.
addWhitelist 0xedac985b
address[] _userList
approve 0x095ea7b3
address to
uint256 tokenId
buy 0xd96a094a
uint256 _amount
changeSupplyLimit 0xd44e3573
uint256 _supplyLimit
clearTicket 0xab26320e
uint256 _ticketId
emergencyWithdraw 0xdb2e21bc
No parameters
presaleBuy 0x0983061c
uint256 _ticketId
uint256 _amount
renounceOwnership 0x715018a6
No parameters
reserve 0x819b25ba
uint256 _amount
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes _data
setApprovalForAll 0xa22cb465
address operator
bool approved
setBaseURI 0x55f804b3
string _baseURI
setDevSaleShare 0x5c4e7e06
uint256 _devSaleShare
setDevWallet 0x1f53ac02
address _devWallet
setMintLimit 0x9e6a1d7d
uint256 _mintLimit
setMintPrice 0xf4a0a528
uint256 _mintPrice
setSmartContractAllowance 0x08e99287
bool _smartContractAllowance
setTicketAddress 0xed9a5bbb
address _ticketAddress
setWhitelistBuyOnce 0x591e194b
bool _whitelistBuyOnce
setWhitelistStatus 0x0c424284
address _user
bool _status
setWithdrawalWallet 0x75796f76
address _withdrawalWallet
togglePresaleActive 0x89b0649b
No parameters
toggleSaleActive 0x3100a535
No parameters
toggleWhitelistSaleActive 0xb89fe999
No parameters
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
whitelistBuy 0x2ac7a2b3
uint256 _amount
withdraw 0x3ccfd60b
No parameters
Recent Transactions
No transactions found for this address