Address Contract Partially Verified
Address
0xC2Bae2cdef63BcB0bA60Bb02cd67d912f8371c3D
Balance
0 ETH
Nonce
1
Code Size
23765 bytes
Creator
0x9682D798...f1Ba at tx 0x7496e1f5...f0084f
Indexed Transactions
0
Contract Bytecode
23765 bytes
0x6080604052600436106102e45760003560e01c80636c0360eb11610190578063afdf6134116100dc578063c87b56dd11610095578063ec912c831161006f578063ec912c8314610ae2578063ef046bbb14610b0d578063f2c4ce1e14610b38578063f2fde38b14610b61576102e4565b8063c87b56dd14610a3f578063df4a091a14610a7c578063e985e9c514610aa5576102e4565b8063afdf613414610950578063b442409514610979578063b88d4fde146109a4578063ba41b0c6146109cd578063c45cf437146109e9578063c668286214610a14576102e4565b80638c851e5f11610149578063940cd05b11610123578063940cd05b146108a857806395d89b41146108d15780639dfde201146108fc578063a22cb46514610927576102e4565b80638c851e5f1461082b5780638da5cb5b1461085457806391b7f5ed1461087f576102e4565b80636c0360eb146107435780636d61b1051461076e57806370a0823114610797578063715018a6146107d45780637cb64759146107eb5780638456cb5914610814576102e4565b80633950d1d81161024f5780634f6ccce711610208578063560d0343116101e2578063560d0343146106895780635c975abb146106b25780636352211e146106dd57806367e191d51461071a576102e4565b80634f6ccce7146105f8578063518302271461063557806355f804b314610660576102e4565b80633950d1d81461051f5780633ccfd60b146105485780633f4ba83a1461055257806342842e0e14610569578063438b63001461059257806347450e06146105cf576102e4565b806323b872dd116102a157806323b872dd1461040d57806329dc3ce1146104365780632eb4a7ab146104615780632f745c591461048c5780633299c120146104c957806333bc1c5c146104f4576102e4565b806301ffc9a7146102e957806306fdde0314610326578063081812fc14610351578063081c8c441461038e578063095ea7b3146103b957806318160ddd146103e2575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b919061421a565b610b8a565b60405161031d9190614ab8565b60405180910390f35b34801561033257600080fd5b5061033b610c04565b6040516103489190614aee565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906142bd565b610c96565b60405161038591906149f1565b60405180910390f35b34801561039a57600080fd5b506103a3610d1b565b6040516103b09190614aee565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614104565b610da9565b005b3480156103ee57600080fd5b506103f7610ec1565b6040516104049190614ed0565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190613fee565b610ece565b005b34801561044257600080fd5b5061044b610f2e565b6040516104589190614ed0565b60405180910390f35b34801561046d57600080fd5b50610476610f34565b6040516104839190614ad3565b60405180910390f35b34801561049857600080fd5b506104b360048036038101906104ae9190614104565b610f3a565b6040516104c09190614ed0565b60405180910390f35b3480156104d557600080fd5b506104de610fdf565b6040516104eb9190614ed0565b60405180910390f35b34801561050057600080fd5b50610509610fe5565b6040516105169190614ab8565b60405180910390f35b34801561052b57600080fd5b50610546600480360381019061054191906141c0565b610ff8565b005b610550611091565b005b34801561055e57600080fd5b50610567611205565b005b34801561057557600080fd5b50610590600480360381019061058b9190613fee565b61128b565b005b34801561059e57600080fd5b506105b960048036038101906105b49190613f81565b6112ab565b6040516105c69190614a58565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f19190614144565b611359565b005b34801561060457600080fd5b5061061f600480360381019061061a91906142bd565b6116bf565b60405161062c9190614ed0565b60405180910390f35b34801561064157600080fd5b5061064a611730565b6040516106579190614ab8565b60405180910390f35b34801561066c57600080fd5b5061068760048036038101906106829190614274565b611743565b005b34801561069557600080fd5b506106b060048036038101906106ab91906142bd565b6117d9565b005b3480156106be57600080fd5b506106c761185f565b6040516106d49190614ab8565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff91906142bd565b611876565b60405161071191906149f1565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c91906142bd565b611928565b005b34801561074f57600080fd5b506107586119ae565b6040516107659190614aee565b60405180910390f35b34801561077a57600080fd5b50610795600480360381019061079091906141ed565b611a3c565b005b3480156107a357600080fd5b506107be60048036038101906107b99190613f81565b611ac2565b6040516107cb9190614ed0565b60405180910390f35b3480156107e057600080fd5b506107e9611b7a565b005b3480156107f757600080fd5b50610812600480360381019061080d91906141ed565b611c02565b005b34801561082057600080fd5b50610829611c88565b005b34801561083757600080fd5b50610852600480360381019061084d91906141c0565b611d0e565b005b34801561086057600080fd5b50610869611da7565b60405161087691906149f1565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a191906142bd565b611dd1565b005b3480156108b457600080fd5b506108cf60048036038101906108ca91906141c0565b611e57565b005b3480156108dd57600080fd5b506108e6611ef0565b6040516108f39190614aee565b60405180910390f35b34801561090857600080fd5b50610911611f82565b60405161091e9190614ed0565b60405180910390f35b34801561093357600080fd5b5061094e600480360381019061094991906140c4565b611f88565b005b34801561095c57600080fd5b50610977600480360381019061097291906142bd565b611f9e565b005b34801561098557600080fd5b5061098e612024565b60405161099b9190614ab8565b60405180910390f35b3480156109b057600080fd5b506109cb60048036038101906109c69190614041565b612037565b005b6109e760048036038101906109e291906142ea565b612099565b005b3480156109f557600080fd5b506109fe612392565b604051610a0b9190614ed0565b60405180910390f35b348015610a2057600080fd5b50610a29612398565b604051610a369190614aee565b60405180910390f35b348015610a4b57600080fd5b50610a666004803603810190610a6191906142bd565b612426565b604051610a739190614aee565b60405180910390f35b348015610a8857600080fd5b50610aa36004803603810190610a9e91906142bd565b61257f565b005b348015610ab157600080fd5b50610acc6004803603810190610ac79190613fae565b612605565b604051610ad99190614ab8565b60405180910390f35b348015610aee57600080fd5b50610af7612699565b604051610b049190614ed0565b60405180910390f35b348015610b1957600080fd5b50610b2261269f565b604051610b2f9190614ad3565b60405180910390f35b348015610b4457600080fd5b50610b5f6004803603810190610b5a9190614274565b6126a5565b005b348015610b6d57600080fd5b50610b886004803603810190610b839190613f81565b61273b565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bfd5750610bfc82612833565b5b9050919050565b606060008054610c1390615258565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3f90615258565b8015610c8c5780601f10610c6157610100808354040283529160200191610c8c565b820191906000526020600020905b815481529060010190602001808311610c6f57829003601f168201915b5050505050905090565b6000610ca182612915565b610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd790614d90565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600c8054610d2890615258565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5490615258565b8015610da15780601f10610d7657610100808354040283529160200191610da1565b820191906000526020600020905b815481529060010190602001808311610d8457829003601f168201915b505050505081565b6000610db482611876565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c90614df0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e44612981565b73ffffffffffffffffffffffffffffffffffffffff161480610e735750610e7281610e6d612981565b612605565b5b610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990614cf0565b60405180910390fd5b610ebc8383612989565b505050565b6000600880549050905090565b610edf610ed9612981565b82612a42565b610f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1590614e30565b60405180910390fd5b610f29838383612b20565b505050565b60105481565b60125481565b6000610f4583611ac2565b8210610f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7d90614b50565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f5481565b601660019054906101000a900460ff1681565b611000612981565b73ffffffffffffffffffffffffffffffffffffffff1661101e611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106b90614db0565b60405180910390fd5b80601660026101000a81548160ff02191690831515021790555050565b611099612981565b73ffffffffffffffffffffffffffffffffffffffff166110b7611da7565b73ffffffffffffffffffffffffffffffffffffffff161461110d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110490614db0565b60405180910390fd5b600047905060008111611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c90614e90565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff168260405161117b906149dc565b60006040518083038185875af1925050503d80600081146111b8576040519150601f19603f3d011682016040523d82523d6000602084013e6111bd565b606091505b5050905080611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f890614b30565b60405180910390fd5b5050565b61120d612981565b73ffffffffffffffffffffffffffffffffffffffff1661122b611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614db0565b60405180910390fd5b611289612d87565b565b6112a683838360405180602001604052806000815250612037565b505050565b606060006112b883611ac2565b905060008167ffffffffffffffff8111156112d6576112d5615444565b5b6040519080825280602002602001820160405280156113045781602001602082028036833780820191505090505b50905060005b8281101561134e5761131c8582610f3a565b82828151811061132f5761132e615415565b5b6020026020010181815250508080611346906152bb565b91505061130a565b508092505050919050565b61136161185f565b156113a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139890614cd0565b60405180910390fd5b6000601454600f546113b39190615071565b905060016113c033611ac2565b6113ca9190615071565b601154101561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590614c10565b60405180910390fd5b601660029054906101000a900460ff1661145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490614cb0565b60405180910390fd5b60105460145411156114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b90614c70565b60405180910390fd5b835160155411156114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e190614e50565b60405180910390fd5b6000336040516020016114fd9190614990565b604051602081830303815290604052805190602001209050611563848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060135483612e29565b6115a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159990614e10565b60405180910390fd5b60005b8551811015611651573373ffffffffffffffffffffffffffffffffffffffff166115e88783815181106115db576115da615415565b5b6020026020010151611876565b73ffffffffffffffffffffffffffffffffffffffff161461163e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163590614d70565b60405180910390fd5b8080611649906152bb565b9150506115a5565b50611668336001846116639190615071565b612e40565b60016014546116779190615071565b6014819055507f2a3a1039c09ba8d844f648ef296a6c1055ce3e9c7cc8bf451e09ffaad07085118583336040516116b093929190614a7a565b60405180910390a15050505050565b60006116c9610ec1565b821061170a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170190614e70565b60405180910390fd5b6008828154811061171e5761171d615415565b5b90600052602060002001549050919050565b601660009054906101000a900460ff1681565b61174b612981565b73ffffffffffffffffffffffffffffffffffffffff16611769611da7565b73ffffffffffffffffffffffffffffffffffffffff16146117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b690614db0565b60405180910390fd5b80600b90805190602001906117d5929190613c8c565b5050565b6117e1612981565b73ffffffffffffffffffffffffffffffffffffffff166117ff611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c90614db0565b60405180910390fd5b8060108190555050565b6000600a60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191690614d30565b60405180910390fd5b80915050919050565b611930612981565b73ffffffffffffffffffffffffffffffffffffffff1661194e611da7565b73ffffffffffffffffffffffffffffffffffffffff16146119a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199b90614db0565b60405180910390fd5b80600f8190555050565b600b80546119bb90615258565b80601f01602080910402602001604051908101604052809291908181526020018280546119e790615258565b8015611a345780601f10611a0957610100808354040283529160200191611a34565b820191906000526020600020905b815481529060010190602001808311611a1757829003601f168201915b505050505081565b611a44612981565b73ffffffffffffffffffffffffffffffffffffffff16611a62611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaf90614db0565b60405180910390fd5b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a90614d10565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b82612981565b73ffffffffffffffffffffffffffffffffffffffff16611ba0611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed90614db0565b60405180910390fd5b611c006000612e5e565b565b611c0a612981565b73ffffffffffffffffffffffffffffffffffffffff16611c28611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7590614db0565b60405180910390fd5b8060128190555050565b611c90612981565b73ffffffffffffffffffffffffffffffffffffffff16611cae611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90614db0565b60405180910390fd5b611d0c612f24565b565b611d16612981565b73ffffffffffffffffffffffffffffffffffffffff16611d34611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8190614db0565b60405180910390fd5b80601660016101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611dd9612981565b73ffffffffffffffffffffffffffffffffffffffff16611df7611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490614db0565b60405180910390fd5b80600e8190555050565b611e5f612981565b73ffffffffffffffffffffffffffffffffffffffff16611e7d611da7565b73ffffffffffffffffffffffffffffffffffffffff1614611ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eca90614db0565b60405180910390fd5b80601660006101000a81548160ff02191690831515021790555050565b606060018054611eff90615258565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2b90615258565b8015611f785780601f10611f4d57610100808354040283529160200191611f78565b820191906000526020600020905b815481529060010190602001808311611f5b57829003601f168201915b5050505050905090565b600e5481565b611f9a611f93612981565b8383612fc7565b5050565b611fa6612981565b73ffffffffffffffffffffffffffffffffffffffff16611fc4611da7565b73ffffffffffffffffffffffffffffffffffffffff161461201a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201190614db0565b60405180910390fd5b8060118190555050565b601660029054906101000a900460ff1681565b612048612042612981565b83612a42565b612087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207e90614e30565b60405180910390fd5b61209384848484613134565b50505050565b6120a161185f565b156120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d890614cd0565b60405180910390fd5b60006120eb610ec1565b9050600084116120fa57600080fd5b600f5484826121099190615071565b111561211457600080fd5b61211c611da7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461230e5760115484111561215d57600080fd5b8361216733611ac2565b6121719190615071565b60115410156121b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ac90614c10565b60405180910390fd5b601660019054906101000a900460ff16612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb90614eb0565b60405180910390fd5b83600e5461221291906150f8565b341015612254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224b90614b90565b60405180910390fd5b6000336040516020016122679190614990565b6040516020818303038152906040528051906020012090506122cd848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060125483612e29565b61230c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230390614e10565b60405180910390fd5b505b6000600190505b84811161238b5761233133828461232c9190615071565b612e40565b7f2519a86138614783f28e3a838e3eb3bd2d71d88d93d0d1cd9f8885e82b0dfee7818361235e9190615071565b33600060405161237093929190614eeb565b60405180910390a18080612383906152bb565b915050612315565b5050505050565b60155481565b600d80546123a590615258565b80601f01602080910402602001604051908101604052809291908181526020018280546123d190615258565b801561241e5780601f106123f35761010080835404028352916020019161241e565b820191906000526020600020905b81548152906001019060200180831161240157829003601f168201915b505050505081565b606061243182612915565b612470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246790614dd0565b60405180910390fd5b60001515601660009054906101000a900460ff161515141561251e57600c805461249990615258565b80601f01602080910402602001604051908101604052809291908181526020018280546124c590615258565b80156125125780601f106124e757610100808354040283529160200191612512565b820191906000526020600020905b8154815290600101906020018083116124f557829003601f168201915b5050505050905061257a565b6000612528613190565b905060008151116125485760405180602001604052806000815250612576565b8061255284613222565b600d604051602001612566939291906149ab565b6040516020818303038152906040525b9150505b919050565b612587612981565b73ffffffffffffffffffffffffffffffffffffffff166125a5611da7565b73ffffffffffffffffffffffffffffffffffffffff16146125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f290614db0565b60405180910390fd5b8060158190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60115481565b60135481565b6126ad612981565b73ffffffffffffffffffffffffffffffffffffffff166126cb611da7565b73ffffffffffffffffffffffffffffffffffffffff1614612721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271890614db0565b60405180910390fd5b80600c9080519060200190612737929190613c8c565b5050565b612743612981565b73ffffffffffffffffffffffffffffffffffffffff16612761611da7565b73ffffffffffffffffffffffffffffffffffffffff16146127b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ae90614db0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281e90614bb0565b60405180910390fd5b61283081612e5e565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128fe57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061290e575061290d82613383565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129fc83611876565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a4d82612915565b612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8390614c90565b60405180910390fd5b6000612a9783611876565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ad95750612ad88185612605565b5b80612b1757508373ffffffffffffffffffffffffffffffffffffffff16612aff84610c96565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b4082611876565b73ffffffffffffffffffffffffffffffffffffffff1614612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8d90614bd0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfd90614c30565b60405180910390fd5b612c118383836133ed565b612c1c600082612989565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c6c9190615152565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cc39190615071565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d82838383613501565b505050565b612d8f61185f565b612dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc590614b10565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612e12612981565b604051612e1f91906149f1565b60405180910390a1565b600082612e368584613506565b1490509392505050565b612e5a82826040518060200160405280600081525061357b565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f2c61185f565b15612f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6390614cd0565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612fb0612981565b604051612fbd91906149f1565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302d90614c50565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131279190614ab8565b60405180910390a3505050565b61313f848484612b20565b61314b848484846135d6565b61318a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318190614b70565b60405180910390fd5b50505050565b6060600b805461319f90615258565b80601f01602080910402602001604051908101604052809291908181526020018280546131cb90615258565b80156132185780601f106131ed57610100808354040283529160200191613218565b820191906000526020600020905b8154815290600101906020018083116131fb57829003601f168201915b5050505050905090565b6060600082141561326a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061337e565b600082905060005b6000821461329c578080613285906152bb565b915050600a8261329591906150c7565b9150613272565b60008167ffffffffffffffff8111156132b8576132b7615444565b5b6040519080825280601f01601f1916602001820160405280156132ea5781602001600182028036833780820191505090505b5090505b60008514613377576001826133039190615152565b9150600a856133129190615328565b603061331e9190615071565b60f81b81838151811061333457613333615415565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561337091906150c7565b94506132ee565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133f883838361376d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561343b5761343681613772565b61347a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134795761347883826137bb565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134bd576134b881613928565b6134fc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134fb576134fa82826139f9565b5b5b505050565b505050565b60008082905060005b845181101561357057600085828151811061352d5761352c615415565b5b6020026020010151905080831161354f576135488382613a78565b925061355c565b6135598184613a78565b92505b508080613568906152bb565b91505061350f565b508091505092915050565b6135858383613a8f565b61359260008484846135d6565b6135d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c890614b70565b60405180910390fd5b505050565b60006135f78473ffffffffffffffffffffffffffffffffffffffff16613c69565b15613760578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613620612981565b8786866040518563ffffffff1660e01b81526004016136429493929190614a0c565b602060405180830381600087803b15801561365c57600080fd5b505af192505050801561368d57506040513d601f19601f8201168201806040525081019061368a9190614247565b60015b613710573d80600081146136bd576040519150601f19603f3d011682016040523d82523d6000602084013e6136c2565b606091505b50600081511415613708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ff90614b70565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613765565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137c884611ac2565b6137d29190615152565b90506000600760008481526020019081526020016000205490508181146138b7576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061393c9190615152565b905060006009600084815260200190815260200160002054905060006008838154811061396c5761396b615415565b5b90600052602060002001549050806008838154811061398e5761398d615415565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139dd576139dc6153e6565b5b6001900381819060005260206000200160009055905550505050565b6000613a0483611ac2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af690614d50565b60405180910390fd5b613b0881612915565b15613b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3f90614bf0565b60405180910390fd5b613b54600083836133ed565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613ba49190615071565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613c6560008383613501565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613c9890615258565b90600052602060002090601f016020900481019282613cba5760008555613d01565b82601f10613cd357805160ff1916838001178555613d01565b82800160010185558215613d01579182015b82811115613d00578251825591602001919060010190613ce5565b5b509050613d0e9190613d12565b5090565b5b80821115613d2b576000816000905550600101613d13565b5090565b6000613d42613d3d84614f47565b614f22565b90508083825260208201905082856020860282011115613d6557613d6461547d565b5b60005b85811015613d955781613d7b8882613f6c565b845260208401935060208301925050600181019050613d68565b5050509392505050565b6000613db2613dad84614f73565b614f22565b905082815260208101848484011115613dce57613dcd615482565b5b613dd9848285615216565b509392505050565b6000613df4613def84614fa4565b614f22565b905082815260208101848484011115613e1057613e0f615482565b5b613e1b848285615216565b509392505050565b600081359050613e3281615c2c565b92915050565b60008083601f840112613e4e57613e4d615478565b5b8235905067ffffffffffffffff811115613e6b57613e6a615473565b5b602083019150836020820283011115613e8757613e8661547d565b5b9250929050565b600082601f830112613ea357613ea2615478565b5b8135613eb3848260208601613d2f565b91505092915050565b600081359050613ecb81615c43565b92915050565b600081359050613ee081615c5a565b92915050565b600081359050613ef581615c71565b92915050565b600081519050613f0a81615c71565b92915050565b600082601f830112613f2557613f24615478565b5b8135613f35848260208601613d9f565b91505092915050565b600082601f830112613f5357613f52615478565b5b8135613f63848260208601613de1565b91505092915050565b600081359050613f7b81615c88565b92915050565b600060208284031215613f9757613f9661548c565b5b6000613fa584828501613e23565b91505092915050565b60008060408385031215613fc557613fc461548c565b5b6000613fd385828601613e23565b9250506020613fe485828601613e23565b9150509250929050565b6000806000606084860312156140075761400661548c565b5b600061401586828701613e23565b935050602061402686828701613e23565b925050604061403786828701613f6c565b9150509250925092565b6000806000806080858703121561405b5761405a61548c565b5b600061406987828801613e23565b945050602061407a87828801613e23565b935050604061408b87828801613f6c565b925050606085013567ffffffffffffffff8111156140ac576140ab615487565b5b6140b887828801613f10565b91505092959194509250565b600080604083850312156140db576140da61548c565b5b60006140e985828601613e23565b92505060206140fa85828601613ebc565b9150509250929050565b6000806040838503121561411b5761411a61548c565b5b600061412985828601613e23565b925050602061413a85828601613f6c565b9150509250929050565b60008060006040848603121561415d5761415c61548c565b5b600084013567ffffffffffffffff81111561417b5761417a615487565b5b61418786828701613e8e565b935050602084013567ffffffffffffffff8111156141a8576141a7615487565b5b6141b486828701613e38565b92509250509250925092565b6000602082840312156141d6576141d561548c565b5b60006141e484828501613ebc565b91505092915050565b6000602082840312156142035761420261548c565b5b600061421184828501613ed1565b91505092915050565b6000602082840312156142305761422f61548c565b5b600061423e84828501613ee6565b91505092915050565b60006020828403121561425d5761425c61548c565b5b600061426b84828501613efb565b91505092915050565b60006020828403121561428a5761428961548c565b5b600082013567ffffffffffffffff8111156142a8576142a7615487565b5b6142b484828501613f3e565b91505092915050565b6000602082840312156142d3576142d261548c565b5b60006142e184828501613f6c565b91505092915050565b6000806000604084860312156143035761430261548c565b5b600061431186828701613f6c565b935050602084013567ffffffffffffffff81111561433257614331615487565b5b61433e86828701613e38565b92509250509250925092565b60006143568383614972565b60208301905092915050565b61436b81615186565b82525050565b61438261437d82615186565b615304565b82525050565b600061439382614ffa565b61439d8185615028565b93506143a883614fd5565b8060005b838110156143d95781516143c0888261434a565b97506143cb8361501b565b9250506001810190506143ac565b5085935050505092915050565b6143ef81615198565b82525050565b6143fe816151a4565b82525050565b600061440f82615005565b6144198185615039565b9350614429818560208601615225565b61443281615491565b840191505092915050565b61444681615204565b82525050565b600061445782615010565b6144618185615055565b9350614471818560208601615225565b61447a81615491565b840191505092915050565b600061449082615010565b61449a8185615066565b93506144aa818560208601615225565b80840191505092915050565b600081546144c381615258565b6144cd8186615066565b945060018216600081146144e857600181146144f95761452c565b60ff1983168652818601935061452c565b61450285614fe5565b60005b8381101561452457815481890152600182019150602081019050614505565b838801955050505b50505092915050565b6000614542601483615055565b915061454d826154af565b602082019050919050565b6000614565601383615055565b9150614570826154d8565b602082019050919050565b6000614588602b83615055565b915061459382615501565b604082019050919050565b60006145ab603283615055565b91506145b682615550565b604082019050919050565b60006145ce601f83615055565b91506145d98261559f565b602082019050919050565b60006145f1602683615055565b91506145fc826155c8565b604082019050919050565b6000614614602583615055565b915061461f82615617565b604082019050919050565b6000614637601c83615055565b915061464282615666565b602082019050919050565b600061465a602583615055565b91506146658261568f565b604082019050919050565b600061467d602483615055565b9150614688826156de565b604082019050919050565b60006146a0601983615055565b91506146ab8261572d565b602082019050919050565b60006146c3601783615055565b91506146ce82615756565b602082019050919050565b60006146e6602c83615055565b91506146f18261577f565b604082019050919050565b6000614709601d83615055565b9150614714826157ce565b602082019050919050565b600061472c601083615055565b9150614737826157f7565b602082019050919050565b600061474f603883615055565b915061475a82615820565b604082019050919050565b6000614772602a83615055565b915061477d8261586f565b604082019050919050565b6000614795602983615055565b91506147a0826158be565b604082019050919050565b60006147b8602083615055565b91506147c38261590d565b602082019050919050565b60006147db603483615055565b91506147e682615936565b604082019050919050565b60006147fe602c83615055565b915061480982615985565b604082019050919050565b6000614821602083615055565b915061482c826159d4565b602082019050919050565b6000614844602f83615055565b915061484f826159fd565b604082019050919050565b6000614867602183615055565b915061487282615a4c565b604082019050919050565b600061488a602383615055565b915061489582615a9b565b604082019050919050565b60006148ad60008361504a565b91506148b882615aea565b600082019050919050565b60006148d0603183615055565b91506148db82615aed565b604082019050919050565b60006148f3602883615055565b91506148fe82615b3c565b604082019050919050565b6000614916602c83615055565b915061492182615b8b565b604082019050919050565b6000614939601d83615055565b915061494482615bda565b602082019050919050565b600061495c602083615055565b915061496782615c03565b602082019050919050565b61497b816151fa565b82525050565b61498a816151fa565b82525050565b600061499c8284614371565b60148201915081905092915050565b60006149b78286614485565b91506149c38285614485565b91506149cf82846144b6565b9150819050949350505050565b60006149e7826148a0565b9150819050919050565b6000602082019050614a066000830184614362565b92915050565b6000608082019050614a216000830187614362565b614a2e6020830186614362565b614a3b6040830185614981565b8181036060830152614a4d8184614404565b905095945050505050565b60006020820190508181036000830152614a728184614388565b905092915050565b60006060820190508181036000830152614a948186614388565b9050614aa36020830185614981565b614ab06040830184614362565b949350505050565b6000602082019050614acd60008301846143e6565b92915050565b6000602082019050614ae860008301846143f5565b92915050565b60006020820190508181036000830152614b08818461444c565b905092915050565b60006020820190508181036000830152614b2981614535565b9050919050565b60006020820190508181036000830152614b4981614558565b9050919050565b60006020820190508181036000830152614b698161457b565b9050919050565b60006020820190508181036000830152614b898161459e565b9050919050565b60006020820190508181036000830152614ba9816145c1565b9050919050565b60006020820190508181036000830152614bc9816145e4565b9050919050565b60006020820190508181036000830152614be981614607565b9050919050565b60006020820190508181036000830152614c098161462a565b9050919050565b60006020820190508181036000830152614c298161464d565b9050919050565b60006020820190508181036000830152614c4981614670565b9050919050565b60006020820190508181036000830152614c6981614693565b9050919050565b60006020820190508181036000830152614c89816146b6565b9050919050565b60006020820190508181036000830152614ca9816146d9565b9050919050565b60006020820190508181036000830152614cc9816146fc565b9050919050565b60006020820190508181036000830152614ce98161471f565b9050919050565b60006020820190508181036000830152614d0981614742565b9050919050565b60006020820190508181036000830152614d2981614765565b9050919050565b60006020820190508181036000830152614d4981614788565b9050919050565b60006020820190508181036000830152614d69816147ab565b9050919050565b60006020820190508181036000830152614d89816147ce565b9050919050565b60006020820190508181036000830152614da9816147f1565b9050919050565b60006020820190508181036000830152614dc981614814565b9050919050565b60006020820190508181036000830152614de981614837565b9050919050565b60006020820190508181036000830152614e098161485a565b9050919050565b60006020820190508181036000830152614e298161487d565b9050919050565b60006020820190508181036000830152614e49816148c3565b9050919050565b60006020820190508181036000830152614e69816148e6565b9050919050565b60006020820190508181036000830152614e8981614909565b9050919050565b60006020820190508181036000830152614ea98161492c565b9050919050565b60006020820190508181036000830152614ec98161494f565b9050919050565b6000602082019050614ee56000830184614981565b92915050565b6000606082019050614f006000830186614981565b614f0d6020830185614362565b614f1a604083018461443d565b949350505050565b6000614f2c614f3d565b9050614f38828261528a565b919050565b6000604051905090565b600067ffffffffffffffff821115614f6257614f61615444565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f8e57614f8d615444565b5b614f9782615491565b9050602081019050919050565b600067ffffffffffffffff821115614fbf57614fbe615444565b5b614fc882615491565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061507c826151fa565b9150615087836151fa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150bc576150bb615359565b5b828201905092915050565b60006150d2826151fa565b91506150dd836151fa565b9250826150ed576150ec615388565b5b828204905092915050565b6000615103826151fa565b915061510e836151fa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561514757615146615359565b5b828202905092915050565b600061515d826151fa565b9150615168836151fa565b92508282101561517b5761517a615359565b5b828203905092915050565b6000615191826151da565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061520f826151fa565b9050919050565b82818337600083830152505050565b60005b83811015615243578082015181840152602081019050615228565b83811115615252576000848401525b50505050565b6000600282049050600182168061527057607f821691505b60208210811415615284576152836153b7565b5b50919050565b61529382615491565b810181811067ffffffffffffffff821117156152b2576152b1615444565b5b80604052505050565b60006152c6826151fa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152f9576152f8615359565b5b600182019050919050565b600061530f82615316565b9050919050565b6000615321826154a2565b9050919050565b6000615333826151fa565b915061533e836151fa565b92508261534e5761534d615388565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f5472616e73616374696f6e206661696c65642e00000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682065746865727320746f206d696e74204e4654732e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f7420656c696769626c6520746f206d696e74207468697320616c6c6f636160008201527f74696f6e2e000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416c6c20737570657220626162696573206d696e746564000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5375706572204261626965732073616c65206e6f742073746172746564000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f43616e6e6f7420696e746572616374207769746820612053757065724372656160008201527f746f727320796f7520646f206e6f74206f776e2e000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f414444524553535f4e4f545f454c494749424c455f464f525f414c4c4f575f4c60008201527f4953540000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5265717569726520746f6b656e206c65737320666f72206d696e74207375706560008201527f7220626162696573000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820457468657220746f20776974686472617721000000600082015250565b7f5075626c69632073616c6520686173206e6f742073746172746564207965742e600082015250565b615c3581615186565b8114615c4057600080fd5b50565b615c4c81615198565b8114615c5757600080fd5b50565b615c63816151a4565b8114615c6e57600080fd5b50565b615c7a816151ae565b8114615c8557600080fd5b50565b615c91816151fa565b8114615c9c57600080fd5b5056fea2646970667358221220d9f5985b06e1111dda43a15b33a926dfe24520681b3ee0b133c3e6f3eae805e164736f6c63430008070033
Verified Source Code Partial Match
Compiler: v0.8.7+commit.e28d00a7
EVM: london
Optimization: No
SuperCreatorsGenZ.sol 1664 lines
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
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);
}
}
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// File: @openzeppelin/contracts/security/Pausable.sol
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev 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 {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File: @openzeppelin/contracts/utils/Address.sol
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts/utils/introspection/ERC165.sol
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// File: @openzeppelin/contracts/token/ERC721/IERC721.sol
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}
// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
// File: @openzeppelin/contracts/token/ERC721/ERC721.sol
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
/**
* @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 overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not 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 {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev 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 {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}
// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the...
// [truncated — 56494 bytes total]
Read Contract
Price 0x9dfde201 → uint256
balanceOf 0x70a08231 → uint256
baseExtension 0xc6682862 → string
baseURI 0x6c0360eb → string
getApproved 0x081812fc → address
isApprovedForAll 0xe985e9c5 → bool
maxGenCount 0x3299c120 → uint256
maxMintTokens 0xec912c83 → uint256
maxSuperBabiesCount 0x29dc3ce1 → uint256
merkleRoot 0x2eb4a7ab → bytes32
merkleRootSuperBabies 0xef046bbb → bytes32
name 0x06fdde03 → string
notRevealedUri 0x081c8c44 → string
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
paused 0x5c975abb → bool
publicSale 0x33bc1c5c → bool
requireTokenForSuperBabies 0xc45cf437 → uint256
revealed 0x51830227 → bool
superBabiesSale 0xb4424095 → bool
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
tokenByIndex 0x4f6ccce7 → uint256
tokenOfOwnerByIndex 0x2f745c59 → uint256
tokenURI 0xc87b56dd → string
totalSupply 0x18160ddd → uint256
walletOfOwner 0x438b6300 → uint256[]
Write Contract 24 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address to
uint256 tokenId
mint 0xba41b0c6
uint256 _noOfTokens
bytes32[] _merkleProof
pause 0x8456cb59
No parameters
publicSaleStarted 0x8c851e5f
bool _state
renounceOwnership 0x715018a6
No parameters
reveal 0x940cd05b
bool _state
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes _data
setApprovalForAll 0xa22cb465
address operator
bool approved
setBabySupplyLimit 0x67e191d5
uint256 _newLimit
setBaseURI 0x55f804b3
string _newBaseURI
setMaxMintPerWallet 0xafdf6134
uint256 _newmaxMintTokens
setMerkleRoot 0x7cb64759
bytes32 _merkleRoot
setMerkleRootSuperBabies 0x6d61b105
bytes32 _merkleRoot
setNotRevealedURI 0xf2c4ce1e
string _notRevealedURI
setNumTokensRquiredForSuperBabyMint 0xdf4a091a
uint256 _newNumTokens
setPrice 0x91b7f5ed
uint256 _newPrice
setSuperBabiesSale 0x3950d1d8
bool _state
setSuperBabySupplyLimit 0x560d0343
uint256 _newLimit
superBabiesMint 0x47450e06
uint256[] babiesTokens
bytes32[] _merkleProof
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
unpause 0x3f4ba83a
No parameters
withdraw 0x3ccfd60b
No parameters
Recent Transactions
No transactions found for this address