Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x3896fa3d63CE0b191C0354768C671A57E80a8F7a
Balance 0.030000 ETH
Nonce 1
Code Size 17781 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

17781 bytes
0x60806040526004361061023b5760003560e01c80636352211e1161012e578063b071401b116100ab578063d5abeb011161006f578063d5abeb011461084e578063e0a8085314610879578063e985e9c5146108a2578063efbd73f4146108df578063f2fde38b146109085761023b565b8063b071401b1461076b578063b88d4fde14610794578063ba7d2c76146107bd578063c87b56dd146107e8578063d0eb26b0146108255761023b565b806394354fd0116100f257806394354fd0146106a557806395d89b41146106d0578063a0712d68146106fb578063a22cb46514610717578063a45ba8e7146107405761023b565b80636352211e146105c057806370a08231146105fd578063715018a61461063a5780637ec4a659146106515780638da5cb5b1461067a5761023b565b80633b4c4b25116101bc5780634fdd43cb116101805780634fdd43cb146104eb57806351830227146105145780635503a0e81461053f5780635c975abb1461056a57806362b99ad4146105955761023b565b80633b4c4b251461041c5780633ccfd60b1461044557806342842e0e1461045c578063438b63001461048557806344a0d68a146104c25761023b565b806316ba10e01161020357806316ba10e01461033957806316c38b3c1461036257806318160ddd1461038b57806318cae269146103b657806323b872dd146103f35761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806313faede61461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613133565b610931565b60405161027491906137e8565b60405180910390f35b34801561028957600080fd5b50610292610a13565b60405161029f9190613803565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca91906131d6565b610aa5565b6040516102dc919061375f565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906130c6565b610b2a565b005b34801561031a57600080fd5b50610323610c42565b6040516103309190613ac5565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b919061318d565b610c48565b005b34801561036e57600080fd5b5061038960048036038101906103849190613106565b610cde565b005b34801561039757600080fd5b506103a0610d77565b6040516103ad9190613ac5565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190612f43565b610d88565b6040516103ea9190613ac5565b60405180910390f35b3480156103ff57600080fd5b5061041a60048036038101906104159190612fb0565b610da0565b005b34801561042857600080fd5b50610443600480360381019061043e91906131d6565b610e00565b005b34801561045157600080fd5b5061045a610e86565b005b34801561046857600080fd5b50610483600480360381019061047e9190612fb0565b610f82565b005b34801561049157600080fd5b506104ac60048036038101906104a79190612f43565b610fa2565b6040516104b991906137c6565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e491906131d6565b6110ad565b005b3480156104f757600080fd5b50610512600480360381019061050d919061318d565b611133565b005b34801561052057600080fd5b506105296111c9565b60405161053691906137e8565b60405180910390f35b34801561054b57600080fd5b506105546111dc565b6040516105619190613803565b60405180910390f35b34801561057657600080fd5b5061057f61126a565b60405161058c91906137e8565b60405180910390f35b3480156105a157600080fd5b506105aa61127d565b6040516105b79190613803565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e291906131d6565b61130b565b6040516105f4919061375f565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f9190612f43565b6113bd565b6040516106319190613ac5565b60405180910390f35b34801561064657600080fd5b5061064f611475565b005b34801561065d57600080fd5b506106786004803603810190610673919061318d565b6114fd565b005b34801561068657600080fd5b5061068f611593565b60405161069c919061375f565b60405180910390f35b3480156106b157600080fd5b506106ba6115bd565b6040516106c79190613ac5565b60405180910390f35b3480156106dc57600080fd5b506106e56115c3565b6040516106f29190613803565b60405180910390f35b610715600480360381019061071091906131d6565b611655565b005b34801561072357600080fd5b5061073e60048036038101906107399190613086565b611843565b005b34801561074c57600080fd5b50610755611859565b6040516107629190613803565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d91906131d6565b6118e7565b005b3480156107a057600080fd5b506107bb60048036038101906107b69190613003565b61196d565b005b3480156107c957600080fd5b506107d26119cf565b6040516107df9190613ac5565b60405180910390f35b3480156107f457600080fd5b5061080f600480360381019061080a91906131d6565b6119d5565b60405161081c9190613803565b60405180910390f35b34801561083157600080fd5b5061084c600480360381019061084791906131d6565b611b2e565b005b34801561085a57600080fd5b50610863611bb4565b6040516108709190613ac5565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b9190613106565b611bba565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190612f70565b611c53565b6040516108d691906137e8565b60405180910390f35b3480156108eb57600080fd5b5061090660048036038101906109019190613203565b611ce7565b005b34801561091457600080fd5b5061092f600480360381019061092a9190612f43565b611eb2565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109fc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a0c5750610a0b82611faa565b5b9050919050565b606060008054610a2290613dce565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4e90613dce565b8015610a9b5780601f10610a7057610100808354040283529160200191610a9b565b820191906000526020600020905b815481529060010190602001808311610a7e57829003601f168201915b5050505050905090565b6000610ab082612014565b610aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae6906139a5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b358261130b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d90613a45565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bc5612080565b73ffffffffffffffffffffffffffffffffffffffff161480610bf45750610bf381610bee612080565b611c53565b5b610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90613925565b60405180910390fd5b610c3d8383612088565b505050565b600b5481565b610c50612080565b73ffffffffffffffffffffffffffffffffffffffff16610c6e611593565b73ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb906139c5565b60405180910390fd5b8060099080519060200190610cda929190612d57565b5050565b610ce6612080565b73ffffffffffffffffffffffffffffffffffffffff16610d04611593565b73ffffffffffffffffffffffffffffffffffffffff1614610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d51906139c5565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000610d836007612141565b905090565b60106020528060005260406000206000915090505481565b610db1610dab612080565b8261214f565b610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790613a85565b60405180910390fd5b610dfb83838361222d565b505050565b610e08612080565b73ffffffffffffffffffffffffffffffffffffffff16610e26611593565b73ffffffffffffffffffffffffffffffffffffffff1614610e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e73906139c5565b60405180910390fd5b80600c8190555050565b610e8e612080565b73ffffffffffffffffffffffffffffffffffffffff16610eac611593565b73ffffffffffffffffffffffffffffffffffffffff1614610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef9906139c5565b60405180910390fd5b6000610f0c611593565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f2f9061374a565b60006040518083038185875af1925050503d8060008114610f6c576040519150601f19603f3d011682016040523d82523d6000602084013e610f71565b606091505b5050905080610f7f57600080fd5b50565b610f9d8383836040518060200160405280600081525061196d565b505050565b60606000610faf836113bd565b905060008167ffffffffffffffff811115610fcd57610fcc613f67565b5b604051908082528060200260200182016040528015610ffb5781602001602082028036833780820191505090505b50905060006001905060005b83811080156110185750600c548211155b156110a15760006110288361130b565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561108d578284838151811061107257611071613f38565b5b602002602001018181525050818061108990613e31565b9250505b828061109890613e31565b93505050611007565b82945050505050919050565b6110b5612080565b73ffffffffffffffffffffffffffffffffffffffff166110d3611593565b73ffffffffffffffffffffffffffffffffffffffff1614611129576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611120906139c5565b60405180910390fd5b80600b8190555050565b61113b612080565b73ffffffffffffffffffffffffffffffffffffffff16611159611593565b73ffffffffffffffffffffffffffffffffffffffff16146111af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a6906139c5565b60405180910390fd5b80600a90805190602001906111c5929190612d57565b5050565b600f60019054906101000a900460ff1681565b600980546111e990613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461121590613dce565b80156112625780601f1061123757610100808354040283529160200191611262565b820191906000526020600020905b81548152906001019060200180831161124557829003601f168201915b505050505081565b600f60009054906101000a900460ff1681565b6008805461128a90613dce565b80601f01602080910402602001604051908101604052809291908181526020018280546112b690613dce565b80156113035780601f106112d857610100808354040283529160200191611303565b820191906000526020600020905b8154815290600101906020018083116112e657829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ab90613965565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561142e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142590613945565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61147d612080565b73ffffffffffffffffffffffffffffffffffffffff1661149b611593565b73ffffffffffffffffffffffffffffffffffffffff16146114f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e8906139c5565b60405180910390fd5b6114fb6000612489565b565b611505612080565b73ffffffffffffffffffffffffffffffffffffffff16611523611593565b73ffffffffffffffffffffffffffffffffffffffff1614611579576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611570906139c5565b60405180910390fd5b806008908051906020019061158f929190612d57565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d5481565b6060600180546115d290613dce565b80601f01602080910402602001604051908101604052809291908181526020018280546115fe90613dce565b801561164b5780601f106116205761010080835404028352916020019161164b565b820191906000526020600020905b81548152906001019060200180831161162e57829003601f168201915b5050505050905090565b806000811180156116685750600d548111155b6116a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169e90613885565b60405180910390fd5b600c54816116b56007612141565b6116bf9190613c03565b1115611700576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f790613a65565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600e5482826117539190613c03565b1115611794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178b906138a5565b60405180910390fd5b600f60009054906101000a900460ff16156117e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117db906139e5565b60405180910390fd5b82600b546117f29190613c8a565b341015611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b90613aa5565b60405180910390fd5b61183e338461254f565b505050565b61185561184e612080565b838361258f565b5050565b600a805461186690613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461189290613dce565b80156118df5780601f106118b4576101008083540402835291602001916118df565b820191906000526020600020905b8154815290600101906020018083116118c257829003601f168201915b505050505081565b6118ef612080565b73ffffffffffffffffffffffffffffffffffffffff1661190d611593565b73ffffffffffffffffffffffffffffffffffffffff1614611963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195a906139c5565b60405180910390fd5b80600d8190555050565b61197e611978612080565b8361214f565b6119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b490613a85565b60405180910390fd5b6119c9848484846126fc565b50505050565b600e5481565b60606119e082612014565b611a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1690613a25565b60405180910390fd5b60001515600f60019054906101000a900460ff1615151415611acd57600a8054611a4890613dce565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7490613dce565b8015611ac15780601f10611a9657610100808354040283529160200191611ac1565b820191906000526020600020905b815481529060010190602001808311611aa457829003601f168201915b50505050509050611b29565b6000611ad7612758565b90506000815111611af75760405180602001604052806000815250611b25565b80611b01846127ea565b6009604051602001611b1593929190613719565b6040516020818303038152906040525b9150505b919050565b611b36612080565b73ffffffffffffffffffffffffffffffffffffffff16611b54611593565b73ffffffffffffffffffffffffffffffffffffffff1614611baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba1906139c5565b60405180910390fd5b80600e8190555050565b600c5481565b611bc2612080565b73ffffffffffffffffffffffffffffffffffffffff16611be0611593565b73ffffffffffffffffffffffffffffffffffffffff1614611c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2d906139c5565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b81600081118015611cfa5750600d548111155b611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3090613885565b60405180910390fd5b600c5481611d476007612141565b611d519190613c03565b1115611d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8990613a65565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600e548282611de59190613c03565b1115611e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1d906138a5565b60405180910390fd5b611e2e612080565b73ffffffffffffffffffffffffffffffffffffffff16611e4c611593565b73ffffffffffffffffffffffffffffffffffffffff1614611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e99906139c5565b60405180910390fd5b611eac838561254f565b50505050565b611eba612080565b73ffffffffffffffffffffffffffffffffffffffff16611ed8611593565b73ffffffffffffffffffffffffffffffffffffffff1614611f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f25906139c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9590613845565b60405180910390fd5b611fa781612489565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120fb8361130b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600061215a82612014565b612199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219090613905565b60405180910390fd5b60006121a48361130b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221357508373ffffffffffffffffffffffffffffffffffffffff166121fb84610aa5565b73ffffffffffffffffffffffffffffffffffffffff16145b8061222457506122238185611c53565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661224d8261130b565b73ffffffffffffffffffffffffffffffffffffffff16146122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a90613a05565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230a906138c5565b60405180910390fd5b61231e83838361294b565b612329600082612088565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123799190613ce4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123d09190613c03565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b8181101561258a576125646007612950565b612577836125726007612141565b612966565b808061258290613e31565b915050612552565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f5906138e5565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126ef91906137e8565b60405180910390a3505050565b61270784848461222d565b61271384848484612984565b612752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274990613825565b60405180910390fd5b50505050565b60606008805461276790613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461279390613dce565b80156127e05780601f106127b5576101008083540402835291602001916127e0565b820191906000526020600020905b8154815290600101906020018083116127c357829003601f168201915b5050505050905090565b60606000821415612832576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612946565b600082905060005b6000821461286457808061284d90613e31565b915050600a8261285d9190613c59565b915061283a565b60008167ffffffffffffffff8111156128805761287f613f67565b5b6040519080825280601f01601f1916602001820160405280156128b25781602001600182028036833780820191505090505b5090505b6000851461293f576001826128cb9190613ce4565b9150600a856128da9190613e7a565b60306128e69190613c03565b60f81b8183815181106128fc576128fb613f38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129389190613c59565b94506128b6565b8093505050505b919050565b505050565b6001816000016000828254019250508190555050565b612980828260405180602001604052806000815250612b1b565b5050565b60006129a58473ffffffffffffffffffffffffffffffffffffffff16612b76565b15612b0e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129ce612080565b8786866040518563ffffffff1660e01b81526004016129f0949392919061377a565b602060405180830381600087803b158015612a0a57600080fd5b505af1925050508015612a3b57506040513d601f19601f82011682018060405250810190612a389190613160565b60015b612abe573d8060008114612a6b576040519150601f19603f3d011682016040523d82523d6000602084013e612a70565b606091505b50600081511415612ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aad90613825565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b13565b600190505b949350505050565b612b258383612b89565b612b326000848484612984565b612b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6890613825565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf090613985565b60405180910390fd5b612c0281612014565b15612c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3990613865565b60405180910390fd5b612c4e6000838361294b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c9e9190613c03565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612d6390613dce565b90600052602060002090601f016020900481019282612d855760008555612dcc565b82601f10612d9e57805160ff1916838001178555612dcc565b82800160010185558215612dcc579182015b82811115612dcb578251825591602001919060010190612db0565b5b509050612dd99190612ddd565b5090565b5b80821115612df6576000816000905550600101612dde565b5090565b6000612e0d612e0884613b05565b613ae0565b905082815260208101848484011115612e2957612e28613f9b565b5b612e34848285613d8c565b509392505050565b6000612e4f612e4a84613b36565b613ae0565b905082815260208101848484011115612e6b57612e6a613f9b565b5b612e76848285613d8c565b509392505050565b600081359050612e8d816144e3565b92915050565b600081359050612ea2816144fa565b92915050565b600081359050612eb781614511565b92915050565b600081519050612ecc81614511565b92915050565b600082601f830112612ee757612ee6613f96565b5b8135612ef7848260208601612dfa565b91505092915050565b600082601f830112612f1557612f14613f96565b5b8135612f25848260208601612e3c565b91505092915050565b600081359050612f3d81614528565b92915050565b600060208284031215612f5957612f58613fa5565b5b6000612f6784828501612e7e565b91505092915050565b60008060408385031215612f8757612f86613fa5565b5b6000612f9585828601612e7e565b9250506020612fa685828601612e7e565b9150509250929050565b600080600060608486031215612fc957612fc8613fa5565b5b6000612fd786828701612e7e565b9350506020612fe886828701612e7e565b9250506040612ff986828701612f2e565b9150509250925092565b6000806000806080858703121561301d5761301c613fa5565b5b600061302b87828801612e7e565b945050602061303c87828801612e7e565b935050604061304d87828801612f2e565b925050606085013567ffffffffffffffff81111561306e5761306d613fa0565b5b61307a87828801612ed2565b91505092959194509250565b6000806040838503121561309d5761309c613fa5565b5b60006130ab85828601612e7e565b92505060206130bc85828601612e93565b9150509250929050565b600080604083850312156130dd576130dc613fa5565b5b60006130eb85828601612e7e565b92505060206130fc85828601612f2e565b9150509250929050565b60006020828403121561311c5761311b613fa5565b5b600061312a84828501612e93565b91505092915050565b60006020828403121561314957613148613fa5565b5b600061315784828501612ea8565b91505092915050565b60006020828403121561317657613175613fa5565b5b600061318484828501612ebd565b91505092915050565b6000602082840312156131a3576131a2613fa5565b5b600082013567ffffffffffffffff8111156131c1576131c0613fa0565b5b6131cd84828501612f00565b91505092915050565b6000602082840312156131ec576131eb613fa5565b5b60006131fa84828501612f2e565b91505092915050565b6000806040838503121561321a57613219613fa5565b5b600061322885828601612f2e565b925050602061323985828601612e7e565b9150509250929050565b600061324f83836136fb565b60208301905092915050565b61326481613d18565b82525050565b600061327582613b8c565b61327f8185613bba565b935061328a83613b67565b8060005b838110156132bb5781516132a28882613243565b97506132ad83613bad565b92505060018101905061328e565b5085935050505092915050565b6132d181613d2a565b82525050565b60006132e282613b97565b6132ec8185613bcb565b93506132fc818560208601613d9b565b61330581613faa565b840191505092915050565b600061331b82613ba2565b6133258185613be7565b9350613335818560208601613d9b565b61333e81613faa565b840191505092915050565b600061335482613ba2565b61335e8185613bf8565b935061336e818560208601613d9b565b80840191505092915050565b6000815461338781613dce565b6133918186613bf8565b945060018216600081146133ac57600181146133bd576133f0565b60ff198316865281860193506133f0565b6133c685613b77565b60005b838110156133e8578154818901526001820191506020810190506133c9565b838801955050505b50505092915050565b6000613406603283613be7565b915061341182613fbb565b604082019050919050565b6000613429602683613be7565b91506134348261400a565b604082019050919050565b600061344c601c83613be7565b915061345782614059565b602082019050919050565b600061346f601483613be7565b915061347a82614082565b602082019050919050565b6000613492601c83613be7565b915061349d826140ab565b602082019050919050565b60006134b5602483613be7565b91506134c0826140d4565b604082019050919050565b60006134d8601983613be7565b91506134e382614123565b602082019050919050565b60006134fb602c83613be7565b91506135068261414c565b604082019050919050565b600061351e603883613be7565b91506135298261419b565b604082019050919050565b6000613541602a83613be7565b915061354c826141ea565b604082019050919050565b6000613564602983613be7565b915061356f82614239565b604082019050919050565b6000613587602083613be7565b915061359282614288565b602082019050919050565b60006135aa602c83613be7565b91506135b5826142b1565b604082019050919050565b60006135cd602083613be7565b91506135d882614300565b602082019050919050565b60006135f0601783613be7565b91506135fb82614329565b602082019050919050565b6000613613602983613be7565b915061361e82614352565b604082019050919050565b6000613636602f83613be7565b9150613641826143a1565b604082019050919050565b6000613659602183613be7565b9150613664826143f0565b604082019050919050565b600061367c600083613bdc565b91506136878261443f565b600082019050919050565b600061369f601483613be7565b91506136aa82614442565b602082019050919050565b60006136c2603183613be7565b91506136cd8261446b565b604082019050919050565b60006136e5601383613be7565b91506136f0826144ba565b602082019050919050565b61370481613d82565b82525050565b61371381613d82565b82525050565b60006137258286613349565b91506137318285613349565b915061373d828461337a565b9150819050949350505050565b60006137558261366f565b9150819050919050565b6000602082019050613774600083018461325b565b92915050565b600060808201905061378f600083018761325b565b61379c602083018661325b565b6137a9604083018561370a565b81810360608301526137bb81846132d7565b905095945050505050565b600060208201905081810360008301526137e0818461326a565b905092915050565b60006020820190506137fd60008301846132c8565b92915050565b6000602082019050818103600083015261381d8184613310565b905092915050565b6000602082019050818103600083015261383e816133f9565b9050919050565b6000602082019050818103600083015261385e8161341c565b9050919050565b6000602082019050818103600083015261387e8161343f565b9050919050565b6000602082019050818103600083015261389e81613462565b9050919050565b600060208201905081810360008301526138be81613485565b9050919050565b600060208201905081810360008301526138de816134a8565b9050919050565b600060208201905081810360008301526138fe816134cb565b9050919050565b6000602082019050818103600083015261391e816134ee565b9050919050565b6000602082019050818103600083015261393e81613511565b9050919050565b6000602082019050818103600083015261395e81613534565b9050919050565b6000602082019050818103600083015261397e81613557565b9050919050565b6000602082019050818103600083015261399e8161357a565b9050919050565b600060208201905081810360008301526139be8161359d565b9050919050565b600060208201905081810360008301526139de816135c0565b9050919050565b600060208201905081810360008301526139fe816135e3565b9050919050565b60006020820190508181036000830152613a1e81613606565b9050919050565b60006020820190508181036000830152613a3e81613629565b9050919050565b60006020820190508181036000830152613a5e8161364c565b9050919050565b60006020820190508181036000830152613a7e81613692565b9050919050565b60006020820190508181036000830152613a9e816136b5565b9050919050565b60006020820190508181036000830152613abe816136d8565b9050919050565b6000602082019050613ada600083018461370a565b92915050565b6000613aea613afb565b9050613af68282613e00565b919050565b6000604051905090565b600067ffffffffffffffff821115613b2057613b1f613f67565b5b613b2982613faa565b9050602081019050919050565b600067ffffffffffffffff821115613b5157613b50613f67565b5b613b5a82613faa565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c0e82613d82565b9150613c1983613d82565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c4e57613c4d613eab565b5b828201905092915050565b6000613c6482613d82565b9150613c6f83613d82565b925082613c7f57613c7e613eda565b5b828204905092915050565b6000613c9582613d82565b9150613ca083613d82565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cd957613cd8613eab565b5b828202905092915050565b6000613cef82613d82565b9150613cfa83613d82565b925082821015613d0d57613d0c613eab565b5b828203905092915050565b6000613d2382613d62565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613db9578082015181840152602081019050613d9e565b83811115613dc8576000848401525b50505050565b60006002820490506001821680613de657607f821691505b60208210811415613dfa57613df9613f09565b5b50919050565b613e0982613faa565b810181811067ffffffffffffffff82111715613e2857613e27613f67565b5b80604052505050565b6000613e3c82613d82565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e6f57613e6e613eab565b5b600182019050919050565b6000613e8582613d82565b9150613e9083613d82565b925082613ea057613e9f613eda565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6144ec81613d18565b81146144f757600080fd5b50565b61450381613d2a565b811461450e57600080fd5b50565b61451a81613d36565b811461452557600080fd5b50565b61453181613d82565b811461453c57600080fd5b5056fea264697066735822122043bd08758ea9523b54539c1b330cf944fe15bfd799b81877c115cbe24c7551cd64736f6c63430008070033

Verified Source Code Partial Match

Compiler: v0.8.7+commit.e28d00a7 EVM: london Optimization: No
GangstaKongz.sol 1288 lines
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// 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/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 v4.4.1 (utils/Address.sol)

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


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

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

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

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

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

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

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

// File: @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 v4.4.1 (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 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 {
        _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 || 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 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 {}
}

// File: contracts/GK.sol


// Written by Andrew Olson

pragma solidity >=0.7.0 <0.9.0;




contract GangstaKongz is ERC721, Ownable {
  using Strings for uint256;
  using Counters for Counters.Counter;

  Counters.Counter private supply;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  
  uint256 public cost = 0.0824 ether;
  uint256 public maxSupply = 10000;
  uint256 public maxMintAmountPerTx = 10;
  uint256 public nftPerAddressLimit = 30;

  bool public paused = false;
  bool public revealed = true;

  mapping(address => uint256) public addressMintedBalance;

  constructor() ERC721("Gangsta Kong", "GK") {
    setHiddenMetadataUri("ipfs://QmUcG8U4kKRfjrqbuJ2z7yqGZhpVEY69QjBGrat97xz6bd/unrevealed.json");
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
    require(supply.current() + _mintAmount <= maxSupply, "Max supply exceeded!");
    uint256 ownerMintedAmount = addressMintedBalance[msg.sender];
    require(ownerMintedAmount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded");
    _;
  }

  function totalSupply() public view returns (uint256) {
    return supply.current();
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(!paused, "The contract is paused!");
    require(msg.value >= cost * _mintAmount, "Insufficient funds!");

    _mintLoop(msg.sender, _mintAmount);
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    _mintLoop(_receiver, _mintAmount);
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    if (revealed == false) {
      return hiddenMetadataUri;
    }

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : "";
  }

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }
    
  function setNftPerAddressLimit(uint256 _limit) public onlyOwner {
    nftPerAddressLimit = _limit;
  }

  function setSupply(uint256 _newSupply) public onlyOwner {
    maxSupply = _newSupply;
  }
  
  function withdraw() public onlyOwner {
  
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);  
  }

  function _mintLoop(address _receiver, uint256 _mintAmount) internal {
    for (uint256 i = 0; i < _mintAmount; i++) {
      supply.increment();
      _safeMint(_receiver, supply.current());
    }
  }

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

Read Contract

addressMintedBalance 0x18cae269 → uint256
balanceOf 0x70a08231 → uint256
cost 0x13faede6 → uint256
getApproved 0x081812fc → address
hiddenMetadataUri 0xa45ba8e7 → string
isApprovedForAll 0xe985e9c5 → bool
maxMintAmountPerTx 0x94354fd0 → uint256
maxSupply 0xd5abeb01 → uint256
name 0x06fdde03 → string
nftPerAddressLimit 0xba7d2c76 → uint256
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
paused 0x5c975abb → bool
revealed 0x51830227 → bool
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
tokenURI 0xc87b56dd → string
totalSupply 0x18160ddd → uint256
uriPrefix 0x62b99ad4 → string
uriSuffix 0x5503a0e8 → string
walletOfOwner 0x438b6300 → uint256[]

Write Contract 19 functions

These functions modify contract state and require a wallet transaction to execute.

approve 0x095ea7b3
address to
uint256 tokenId
mint 0xa0712d68
uint256 _mintAmount
mintForAddress 0xefbd73f4
uint256 _mintAmount
address _receiver
renounceOwnership 0x715018a6
No parameters
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes _data
setApprovalForAll 0xa22cb465
address operator
bool approved
setCost 0x44a0d68a
uint256 _cost
setHiddenMetadataUri 0x4fdd43cb
string _hiddenMetadataUri
setMaxMintAmountPerTx 0xb071401b
uint256 _maxMintAmountPerTx
setNftPerAddressLimit 0xd0eb26b0
uint256 _limit
setPaused 0x16c38b3c
bool _state
setRevealed 0xe0a80853
bool _state
setSupply 0x3b4c4b25
uint256 _newSupply
setUriPrefix 0x7ec4a659
string _uriPrefix
setUriSuffix 0x16ba10e0
string _uriSuffix
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
withdraw 0x3ccfd60b
No parameters

Recent Transactions

No transactions found for this address