Address Contract Verified
Address
0x240eB6b465F61dfC965053791F963cD0f0E4FDB0
Balance
0 ETH
Nonce
1
Code Size
16010 bytes
Creator
0x06Cf7F99...FF0A at tx 0x4b529710...1e5de4
Indexed Transactions
0
Contract Bytecode
16010 bytes
0x6080604052600436106101cd5760003560e01c8063691a7f02116100f7578063a22cb46511610095578063e985e9c511610064578063e985e9c514610656578063f2fde38b14610693578063f3b3a9fa146106bc578063fb3cc6c2146106e7576101cd565b8063a22cb4651461059c578063b88d4fde146105c5578063c87b56dd146105ee578063d5abeb011461062b576101cd565b806377600891116100d157806377600891146104ff5780638a71bb2d1461051b5780638da5cb5b1461054657806395d89b4114610571576101cd565b8063691a7f021461049457806370a08231146104ab578063715018a6146104e8576101cd565b80632a55205a1161016f57806355f804b31161013e57806355f804b3146103da5780636352211e14610403578063646f381e146104405780636817c76c14610469576101cd565b80632a55205a1461031f57806338af3eed1461035d57806342842e0e1461038857806342966c68146103b1576101cd565b8063081812fc116101ab578063081812fc14610265578063095ea7b3146102a257806318160ddd146102cb57806323b872dd146102f6576101cd565b806301ffc9a7146101d25780630423c7de1461020f57806306fdde031461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612999565b610712565b6040516102069190612fb1565b60405180910390f35b34801561021b57600080fd5b50610224610773565b60405161023191906132ee565b60405180910390f35b34801561024657600080fd5b5061024f610779565b60405161025c9190612fcc565b60405180910390f35b34801561027157600080fd5b5061028c60048036038101906102879190612a2c565b61080b565b6040516102999190612f21565b60405180910390f35b3480156102ae57600080fd5b506102c960048036038101906102c4919061295d565b610890565b005b3480156102d757600080fd5b506102e06109a8565b6040516102ed91906132ee565b60405180910390f35b34801561030257600080fd5b5061031d60048036038101906103189190612857565b6109bf565b005b34801561032b57600080fd5b5061034660048036038101906103419190612aa9565b610a1f565b604051610354929190612f88565b60405180910390f35b34801561036957600080fd5b50610372610a6a565b60405161037f9190612f21565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190612857565b610a90565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190612a2c565b610ab0565b005b3480156103e657600080fd5b5061040160048036038101906103fc91906129eb565b610b0c565b005b34801561040f57600080fd5b5061042a60048036038101906104259190612a2c565b610bf8565b6040516104379190612f21565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190612a55565b610caa565b005b34801561047557600080fd5b5061047e610e00565b60405161048b91906132ee565b60405180910390f35b3480156104a057600080fd5b506104a9610e06565b005b3480156104b757600080fd5b506104d260048036038101906104cd91906127f2565b610e9f565b6040516104df91906132ee565b60405180910390f35b3480156104f457600080fd5b506104fd610f57565b005b61051960048036038101906105149190612a2c565b610fdf565b005b34801561052757600080fd5b50610530611166565b60405161053d91906132ee565b60405180910390f35b34801561055257600080fd5b5061055b61116c565b6040516105689190612f21565b60405180910390f35b34801561057d57600080fd5b50610586611196565b6040516105939190612fcc565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be9190612921565b611228565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906128a6565b6113a9565b005b3480156105fa57600080fd5b5061061560048036038101906106109190612a2c565b61140b565b6040516106229190612fcc565b60405180910390f35b34801561063757600080fd5b506106406114b2565b60405161064d91906132ee565b60405180910390f35b34801561066257600080fd5b5061067d6004803603810190610678919061281b565b6114b8565b60405161068a9190612fb1565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b591906127f2565b61154c565b005b3480156106c857600080fd5b506106d1611644565b6040516106de91906132ee565b60405180910390f35b3480156106f357600080fd5b506106fc61164a565b6040516107099190612fb1565b60405180910390f35b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076c575061076b8261165d565b5b9050919050565b60085481565b606060008054610788906135ca565b80601f01602080910402602001604051908101604052809291908181526020018280546107b4906135ca565b80156108015780601f106107d657610100808354040283529160200191610801565b820191906000526020600020905b8154815290600101906020018083116107e457829003601f168201915b5050505050905090565b60006108168261173f565b610855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084c906131ce565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089b82610bf8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561090c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109039061324e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661092b6117ab565b73ffffffffffffffffffffffffffffffffffffffff16148061095a5750610959816109546117ab565b6114b8565b5b610999576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109909061314e565b60405180910390fd5b6109a383836117b3565b505050565b6000601054600f546109ba91906133ff565b905090565b6109d06109ca6117ab565b8261186c565b610a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a069061326e565b60405180910390fd5b610a1a83838361194a565b505050565b600080606460115484610a329190613486565b610a3c9190613455565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610aab838383604051806020016040528060008152506113a9565b505050565b610ac1610abb6117ab565b8261186c565b610b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af7906132ce565b60405180910390fd5b610b0981611ba6565b50565b610b146117ab565b73ffffffffffffffffffffffffffffffffffffffff16610b3261116c565b73ffffffffffffffffffffffffffffffffffffffff1614610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f906131ee565b60405180910390fd5b60001515600d60009054906101000a900460ff16151514610bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd59061308e565b60405180910390fd5b8060099080519060200190610bf4929190612580565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c989061318e565b60405180910390fd5b80915050919050565b610cb26117ab565b73ffffffffffffffffffffffffffffffffffffffff16610cd061116c565b73ffffffffffffffffffffffffffffffffffffffff1614610d26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1d906131ee565b60405180910390fd5b818151610d339190613486565b60106000828254610d4491906133ff565b92505081905550600c546010541115610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d899061304e565b60405180910390fd5b60005b8151811015610dfb57610de883838381518110610ddb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611cb7565b8080610df39061362d565b915050610d95565b505050565b600e5481565b610e0e6117ab565b73ffffffffffffffffffffffffffffffffffffffff16610e2c61116c565b73ffffffffffffffffffffffffffffffffffffffff1614610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e79906131ee565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f079061316e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f5f6117ab565b73ffffffffffffffffffffffffffffffffffffffff16610f7d61116c565b73ffffffffffffffffffffffffffffffffffffffff1614610fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fca906131ee565b60405180910390fd5b610fdd6000611d9b565b565b600e8110611022576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110199061328e565b60405180910390fd5b3481600e546110319190613486565b14611071576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110689061310e565b60405180910390fd5b600c54600b5461108191906134e0565b81600f5461108f91906133ff565b11156110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c79061300e565b60405180910390fd5b80600f60008282546110e291906133ff565b925050819055506110fa816110f56117ab565b611cb7565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611162573d6000803e3d6000fd5b5050565b60115481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111a5906135ca565b80601f01602080910402602001604051908101604052809291908181526020018280546111d1906135ca565b801561121e5780601f106111f35761010080835404028352916020019161121e565b820191906000526020600020905b81548152906001019060200180831161120157829003601f168201915b5050505050905090565b6112306117ab565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561129e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611295906130ee565b60405180910390fd5b80600560006112ab6117ab565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113586117ab565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161139d9190612fb1565b60405180910390a35050565b6113ba6113b46117ab565b8361186c565b6113f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f09061326e565b60405180910390fd5b61140584848484611e61565b50505050565b60606114168261173f565b611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144c9061322e565b60405180910390fd5b600061145f611ebd565b9050600081511161147f57604051806020016040528060008152506114aa565b8061148984611f4f565b60405160200161149a929190612efd565b6040516020818303038152906040525b915050919050565b600b5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115546117ab565b73ffffffffffffffffffffffffffffffffffffffff1661157261116c565b73ffffffffffffffffffffffffffffffffffffffff16146115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf906131ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162f9061306e565b60405180910390fd5b61164181611d9b565b50565b600c5481565b600d60009054906101000a900460ff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061172857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806117385750611737826120fc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661182683610bf8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118778261173f565b6118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad9061312e565b60405180910390fd5b60006118c183610bf8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061193057508373ffffffffffffffffffffffffffffffffffffffff166119188461080b565b73ffffffffffffffffffffffffffffffffffffffff16145b80611941575061194081856114b8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661196a82610bf8565b73ffffffffffffffffffffffffffffffffffffffff16146119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b79061320e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a27906130ce565b60405180910390fd5b611a3b838383612166565b611a466000826117b3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a9691906134e0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aed91906133ff565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611bb182610bf8565b9050611bbf81600084612166565b611bca6000836117b3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c1a91906134e0565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b426008541115611cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf3906132ae565b60405180910390fd5b600b5482611d0a600761216b565b611d1491906133ff565b1115611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c90612fee565b60405180910390fd5b60005b82811015611d96576000611d6c600761216b565b9050611d786007612179565b611d82838261218f565b508080611d8e9061362d565b915050611d58565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611e6c84848461194a565b611e78848484846121ad565b611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae9061302e565b60405180910390fd5b50505050565b606060098054611ecc906135ca565b80601f0160208091040260200160405190810160405280929190818152602001828054611ef8906135ca565b8015611f455780601f10611f1a57610100808354040283529160200191611f45565b820191906000526020600020905b815481529060010190602001808311611f2857829003601f168201915b5050505050905090565b60606000821415611f97576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120f7565b600082905060005b60008214611fc9578080611fb29061362d565b915050600a82611fc29190613455565b9150611f9f565b60008167ffffffffffffffff81111561200b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561203d5781602001600182028036833780820191505090505b5090505b600085146120f05760018261205691906134e0565b9150600a856120659190613676565b603061207191906133ff565b60f81b8183815181106120ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120e99190613455565b9450612041565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6121a9828260405180602001604052806000815250612344565b5050565b60006121ce8473ffffffffffffffffffffffffffffffffffffffff1661239f565b15612337578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121f76117ab565b8786866040518563ffffffff1660e01b81526004016122199493929190612f3c565b602060405180830381600087803b15801561223357600080fd5b505af192505050801561226457506040513d601f19601f8201168201806040525081019061226191906129c2565b60015b6122e7573d8060008114612294576040519150601f19603f3d011682016040523d82523d6000602084013e612299565b606091505b506000815114156122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d69061302e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061233c565b600190505b949350505050565b61234e83836123b2565b61235b60008484846121ad565b61239a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123919061302e565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612422576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612419906131ae565b60405180910390fd5b61242b8161173f565b1561246b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612462906130ae565b60405180910390fd5b61247760008383612166565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c791906133ff565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461258c906135ca565b90600052602060002090601f0160209004810192826125ae57600085556125f5565b82601f106125c757805160ff19168380011785556125f5565b828001600101855582156125f5579182015b828111156125f45782518255916020019190600101906125d9565b5b5090506126029190612606565b5090565b5b8082111561261f576000816000905550600101612607565b5090565b60006126366126318461332e565b613309565b9050808382526020820190508285602086028201111561265557600080fd5b60005b85811015612685578161266b888261270b565b845260208401935060208301925050600181019050612658565b5050509392505050565b60006126a261269d8461335a565b613309565b9050828152602081018484840111156126ba57600080fd5b6126c5848285613588565b509392505050565b60006126e06126db8461338b565b613309565b9050828152602081018484840111156126f857600080fd5b612703848285613588565b509392505050565b60008135905061271a81613df8565b92915050565b600082601f83011261273157600080fd5b8135612741848260208601612623565b91505092915050565b60008135905061275981613e0f565b92915050565b60008135905061276e81613e26565b92915050565b60008151905061278381613e26565b92915050565b600082601f83011261279a57600080fd5b81356127aa84826020860161268f565b91505092915050565b600082601f8301126127c457600080fd5b81356127d48482602086016126cd565b91505092915050565b6000813590506127ec81613e3d565b92915050565b60006020828403121561280457600080fd5b60006128128482850161270b565b91505092915050565b6000806040838503121561282e57600080fd5b600061283c8582860161270b565b925050602061284d8582860161270b565b9150509250929050565b60008060006060848603121561286c57600080fd5b600061287a8682870161270b565b935050602061288b8682870161270b565b925050604061289c868287016127dd565b9150509250925092565b600080600080608085870312156128bc57600080fd5b60006128ca8782880161270b565b94505060206128db8782880161270b565b93505060406128ec878288016127dd565b925050606085013567ffffffffffffffff81111561290957600080fd5b61291587828801612789565b91505092959194509250565b6000806040838503121561293457600080fd5b60006129428582860161270b565b92505060206129538582860161274a565b9150509250929050565b6000806040838503121561297057600080fd5b600061297e8582860161270b565b925050602061298f858286016127dd565b9150509250929050565b6000602082840312156129ab57600080fd5b60006129b98482850161275f565b91505092915050565b6000602082840312156129d457600080fd5b60006129e284828501612774565b91505092915050565b6000602082840312156129fd57600080fd5b600082013567ffffffffffffffff811115612a1757600080fd5b612a23848285016127b3565b91505092915050565b600060208284031215612a3e57600080fd5b6000612a4c848285016127dd565b91505092915050565b60008060408385031215612a6857600080fd5b6000612a76858286016127dd565b925050602083013567ffffffffffffffff811115612a9357600080fd5b612a9f85828601612720565b9150509250929050565b60008060408385031215612abc57600080fd5b6000612aca858286016127dd565b9250506020612adb858286016127dd565b9150509250929050565b612aee81613514565b82525050565b612afd81613526565b82525050565b6000612b0e826133bc565b612b1881856133d2565b9350612b28818560208601613597565b612b3181613763565b840191505092915050565b6000612b47826133c7565b612b5181856133e3565b9350612b61818560208601613597565b612b6a81613763565b840191505092915050565b6000612b80826133c7565b612b8a81856133f4565b9350612b9a818560208601613597565b80840191505092915050565b6000612bb36028836133e3565b9150612bbe82613774565b604082019050919050565b6000612bd66027836133e3565b9150612be1826137c3565b604082019050919050565b6000612bf96032836133e3565b9150612c0482613812565b604082019050919050565b6000612c1c602a836133e3565b9150612c2782613861565b604082019050919050565b6000612c3f6026836133e3565b9150612c4a826138b0565b604082019050919050565b6000612c626021836133e3565b9150612c6d826138ff565b604082019050919050565b6000612c85601c836133e3565b9150612c908261394e565b602082019050919050565b6000612ca86024836133e3565b9150612cb382613977565b604082019050919050565b6000612ccb6019836133e3565b9150612cd6826139c6565b602082019050919050565b6000612cee6018836133e3565b9150612cf9826139ef565b602082019050919050565b6000612d11602c836133e3565b9150612d1c82613a18565b604082019050919050565b6000612d346038836133e3565b9150612d3f82613a67565b604082019050919050565b6000612d57602a836133e3565b9150612d6282613ab6565b604082019050919050565b6000612d7a6029836133e3565b9150612d8582613b05565b604082019050919050565b6000612d9d6020836133e3565b9150612da882613b54565b602082019050919050565b6000612dc0602c836133e3565b9150612dcb82613b7d565b604082019050919050565b6000612de36020836133e3565b9150612dee82613bcc565b602082019050919050565b6000612e066029836133e3565b9150612e1182613bf5565b604082019050919050565b6000612e29602f836133e3565b9150612e3482613c44565b604082019050919050565b6000612e4c6021836133e3565b9150612e5782613c93565b604082019050919050565b6000612e6f6031836133e3565b9150612e7a82613ce2565b604082019050919050565b6000612e92602c836133e3565b9150612e9d82613d31565b604082019050919050565b6000612eb56019836133e3565b9150612ec082613d80565b602082019050919050565b6000612ed86030836133e3565b9150612ee382613da9565b604082019050919050565b612ef78161357e565b82525050565b6000612f098285612b75565b9150612f158284612b75565b91508190509392505050565b6000602082019050612f366000830184612ae5565b92915050565b6000608082019050612f516000830187612ae5565b612f5e6020830186612ae5565b612f6b6040830185612eee565b8181036060830152612f7d8184612b03565b905095945050505050565b6000604082019050612f9d6000830185612ae5565b612faa6020830184612eee565b9392505050565b6000602082019050612fc66000830184612af4565b92915050565b60006020820190508181036000830152612fe68184612b3c565b905092915050565b6000602082019050818103600083015261300781612ba6565b9050919050565b6000602082019050818103600083015261302781612bc9565b9050919050565b6000602082019050818103600083015261304781612bec565b9050919050565b6000602082019050818103600083015261306781612c0f565b9050919050565b6000602082019050818103600083015261308781612c32565b9050919050565b600060208201905081810360008301526130a781612c55565b9050919050565b600060208201905081810360008301526130c781612c78565b9050919050565b600060208201905081810360008301526130e781612c9b565b9050919050565b6000602082019050818103600083015261310781612cbe565b9050919050565b6000602082019050818103600083015261312781612ce1565b9050919050565b6000602082019050818103600083015261314781612d04565b9050919050565b6000602082019050818103600083015261316781612d27565b9050919050565b6000602082019050818103600083015261318781612d4a565b9050919050565b600060208201905081810360008301526131a781612d6d565b9050919050565b600060208201905081810360008301526131c781612d90565b9050919050565b600060208201905081810360008301526131e781612db3565b9050919050565b6000602082019050818103600083015261320781612dd6565b9050919050565b6000602082019050818103600083015261322781612df9565b9050919050565b6000602082019050818103600083015261324781612e1c565b9050919050565b6000602082019050818103600083015261326781612e3f565b9050919050565b6000602082019050818103600083015261328781612e62565b9050919050565b600060208201905081810360008301526132a781612e85565b9050919050565b600060208201905081810360008301526132c781612ea8565b9050919050565b600060208201905081810360008301526132e781612ecb565b9050919050565b60006020820190506133036000830184612eee565b92915050565b6000613313613324565b905061331f82826135fc565b919050565b6000604051905090565b600067ffffffffffffffff82111561334957613348613734565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561337557613374613734565b5b61337e82613763565b9050602081019050919050565b600067ffffffffffffffff8211156133a6576133a5613734565b5b6133af82613763565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061340a8261357e565b91506134158361357e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561344a576134496136a7565b5b828201905092915050565b60006134608261357e565b915061346b8361357e565b92508261347b5761347a6136d6565b5b828204905092915050565b60006134918261357e565b915061349c8361357e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134d5576134d46136a7565b5b828202905092915050565b60006134eb8261357e565b91506134f68361357e565b925082821015613509576135086136a7565b5b828203905092915050565b600061351f8261355e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156135b557808201518184015260208101905061359a565b838111156135c4576000848401525b50505050565b600060028204905060018216806135e257607f821691505b602082108114156135f6576135f5613705565b5b50919050565b61360582613763565b810181811067ffffffffffffffff8211171561362457613623613734565b5b80604052505050565b60006136388261357e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561366b5761366a6136a7565b5b600182019050919050565b60006136818261357e565b915061368c8361357e565b92508261369c5761369b6136d6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e73756666696369656e6374206e756d626572206f6620746f6b656e73206160008201527f7661696c61626c65000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f7265207075626c696320746f6b656e7320617661696c61626c652060008201527f746f206d696e7400000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4e6f206d6f726520726573657276656420746f6b656e7320617661696c61626c60008201527f6520746f20636c61696d00000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d657461646174612063616e206e6f206c6f6e67657220626520616c7465726560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e636f7272656374207061796d656e7420616d6f756e740000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546865206d617820616d6f756e7420696e20612073696e676c65207472616e7360008201527f616374696f6e2069732031330000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720686173206e6f742079657420626567756e00000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b613e0181613514565b8114613e0c57600080fd5b50565b613e1881613526565b8114613e2357600080fd5b50565b613e2f81613532565b8114613e3a57600080fd5b50565b613e468161357e565b8114613e5157600080fd5b5056fea2646970667358221220075f866380001e39a8ac282e896cd9e6cee1b892d91ba2fa628da4d610aeddad64736f6c63430008040033
Verified Source Code Full Match
Compiler: v0.8.4+commit.c7e474f2
EVM: istanbul
Optimization: No
FuckinTrolls.sol 208 lines
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.3;
//////////////////////////////////////////////////////////////////////////////////////
// //
// _____ _____ _____ _____ _____ _____ _____ _____ _____ __ __ _____ //
// | __| | | | | | | | | |_ _| __ | | | | | | __| //
// | __| | | --| -|- -| | | | | | | -| | | |__| |__|__ | //
// |__| |_____|_____|__|__|_____|_|___| |_| |__|__|_____|_____|_____|_____| //
// //
// ░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░ //
// ░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░ //
// ░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░ //
// ░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█░░ //
// ░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█░ //
// █░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█ //
// █░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█ //
// ░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█░ //
// ░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█░░ //
// ░░░█░░░░██░░▀█▄▄▄█▄▄█▄████░█░░░ //
// ░░░░█░░░░▀▀▄░█░░░█░█▀██████░█░░ //
// ░░░░░▀▄░░░░░▀▀▄▄▄█▄█▄█▄█▄▀░░█░░ //
// ░░░░░░░▀▄▄░▒▒▒▒░░░░░░░░░░▒░░░█░ //
// ░░░░░░░░░░▀▀▄▄░▒▒▒▒▒▒▒▒▒▒░░░░█░ //
// ░░░░░░░░░░░░░░▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄█░ //
// //
//////////////////////////////////////////////////////////////////////////////////////
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
/**
* @title FuckinTrolls
* @dev PFP of 10,003 Collectible Trolls
*/
contract FuckinTrolls is ERC721, ERC721Burnable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenIds;
// Address of interface identifier for royalty standard
bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
// Timestamp for activating crowdsale
uint256 public activationTimestamp;
// Prepend baseURI to tokenId
string private baseURI;
// Address of payment splitter contract
address public beneficiary;
// Max supply of total tokens
uint256 public maxSupply = 10003;
// Max number of reserved tokens
uint256 public maxReserve = 303;
// Boolean value for locking metadata
bool public metadataFrozen = false;
// Mint price of each token (0.0577145 ETH)
uint256 public mintPrice = 57714500000000000;
// Number of public tokens minted
uint256 private numPublicMinted;
// Number of reserve tokens claimed
uint256 private numReserveClaimed;
// Royalty percentage for secondary sales
uint256 public royaltyPercentage = 4;
/**
* @dev Initializes contract and sets initial baseURI, activation timestamp and beneficiary
* @param _initialBaseURI Temporary baseURI
* @param _activationTimestamp Timestamp to determine start of crowdsale
* @param _beneficiary Address of payment splitter contract
*/
constructor(
string memory _initialBaseURI,
uint256 _activationTimestamp,
address _beneficiary
) ERC721("FuckinTrolls", "FKNTRLLS") {
baseURI = _initialBaseURI;
activationTimestamp = _activationTimestamp;
beneficiary = _beneficiary;
}
/**
* @dev Mints specified number of tokens in a single transaction
* @param _amount Total number of tokens to be minted and sent to `_msgSender()`
*
* Requirements:
*
* - `amount` must be less than max limit for a single transaction
* - `msg.value` must be exact payment amount in wei
* - `numPublicMinted` plus amount must not exceed max public supply
*/
function discover(uint256 _amount) public payable {
require(_amount < 14, "The max amount in a single transaction is 13");
require(mintPrice * _amount == msg.value, "Incorrect payment amount");
require(numPublicMinted + _amount <= maxSupply - maxReserve, "No more public tokens available to mint");
numPublicMinted += _amount;
_discover(_amount, _msgSender());
payable(beneficiary).transfer(msg.value);
}
/**
* @dev Mints specified number of tokens to list of recipients
* @param _amount Number of tokens to be minted for each recipient
* @param _recipient Address of recipient to transfer tokens to
*
* Requirements:
*
* - `activationTimestamp` must be less than or equal to the current block time
* - `currentTotal` in addition to mint `amount` must not exceed the `maxSupply`
*/
function _discover(uint256 _amount, address _recipient) private {
require(activationTimestamp <= block.timestamp, "Minting has not yet begun");
require(_tokenIds.current() + _amount <= maxSupply, "Insufficienct number of tokens available");
for (uint256 i = 0; i < _amount; i++) {
uint256 newItemId = _tokenIds.current();
_tokenIds.increment();
_safeMint(_recipient, newItemId);
}
}
/**
* @dev Mints specified amount of tokens to list of recipients
* @param _amount Number of tokens to be minted for each recipient
* @param _recipients List of addresses to send tokens to
*
* Requirements:
*
* - `owner` must be function caller
* - `numReserveClaimed` must not exceed the total max reserve
*/
function discoverReservedTrolls(uint256 _amount, address[] memory _recipients) public onlyOwner {
numReserveClaimed += _recipients.length * _amount;
require(numReserveClaimed <= maxReserve, "No more reserved tokens available to claim");
for (uint256 i = 0; i < _recipients.length; i++) {
_discover(_amount, _recipients[i]);
}
}
/**
* @dev See {IERC721-baseURI}.
*/
function _baseURI() internal view virtual override returns (string memory) {
return baseURI;
}
/**
* @dev Returns the total number of tokens currently minted.
*/
function totalSupply() public view returns (uint256) {
return numPublicMinted + numReserveClaimed;
}
/**
* @dev Sets the baseURI with the official metadataURI
* @param _newBaseURI Metadata URI used for overriding initialBaseURI
*
* Requirements:
*
* - `owner` must be function caller
* - `metadataFrozen` must be false
*/
function setBaseURI(string memory _newBaseURI) public onlyOwner {
require(metadataFrozen == false, "Metadata can no longer be altered");
baseURI = _newBaseURI;
}
/**
* @dev Collapses the bridge, freezing the metadata URI
*
* Requirements:
*
* - `owner` must be function caller
*/
function collapse() public onlyOwner {
metadataFrozen = true;
}
/**
* @dev See {IERC2981-royaltyInfo}.
*/
function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address, uint256 royaltyAmount) {
_tokenId; // silence solc
royaltyAmount = (_salePrice * royaltyPercentage) / 100;
return (beneficiary, royaltyAmount);
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) {
return interfaceId == _INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId);
}
}
Address.sol 210 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) private pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
Context.sol 23 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
Strings.sol 66 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}
Ownable.sol 71 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
Counters.sol 42 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
ERC721.sol 411 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).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 {}
}
IERC721.sol 142 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}
ERC165.sol 28 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
IERC165.sol 24 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
IERC721Receiver.sol 26 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
ERC721Burnable.sol 25 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "../../../utils/Context.sol";
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
_burn(tokenId);
}
}
IERC721Metadata.sol 26 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
Read Contract
activationTimestamp 0x0423c7de → uint256
balanceOf 0x70a08231 → uint256
beneficiary 0x38af3eed → address
getApproved 0x081812fc → address
isApprovedForAll 0xe985e9c5 → bool
maxReserve 0xf3b3a9fa → uint256
maxSupply 0xd5abeb01 → uint256
metadataFrozen 0xfb3cc6c2 → bool
mintPrice 0x6817c76c → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
royaltyInfo 0x2a55205a → address, uint256
royaltyPercentage 0x8a71bb2d → uint256
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
tokenURI 0xc87b56dd → string
totalSupply 0x18160ddd → uint256
Write Contract 12 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address to
uint256 tokenId
burn 0x42966c68
uint256 tokenId
collapse 0x691a7f02
No parameters
discover 0x77600891
uint256 _amount
discoverReservedTrolls 0x646f381e
uint256 _amount
address[] _recipients
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
setBaseURI 0x55f804b3
string _newBaseURI
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
Recent Transactions
No transactions found for this address