20 txs
5.7k calls
constructor
constructor(address _destination)
functions
CHECKS_ADDRESS
viewfunction CHECKS_ADDRESS() view returns (address)
checkStrategy
viewfunction checkStrategy() view returns (address)
destination
viewfunction destination() view returns (address)
owner
viewfunction owner() view returns (address result)
ownershipHandoverExpiresAt
viewfunction ownershipHandoverExpiresAt(address pendingOwner) view returns (uint256 result)
reward
viewfunction reward() view returns (uint256)
buyCheck
nonpayablefunction buyCheck(uint256 checkId) returns (uint256)
cancelOwnershipHandover
payablefunction cancelOwnershipHandover() payable
completeOwnershipHandover
payablefunction completeOwnershipHandover(address pendingOwner) payable
emergencySendERC721
nonpayablefunction emergencySendERC721(address _token, address _to, uint256 _tokenId)
emergencyWithdrawETH
nonpayablefunction emergencyWithdrawETH(address _to)
renounceOwnership
payablefunction renounceOwnership() payable
requestOwnershipHandover
payablefunction requestOwnershipHandover() payable
setCheckStrategy
nonpayablefunction setCheckStrategy(address _checkStrategy)
transferOwnership
payablefunction transferOwnership(address newOwner) payable
updateDestination
nonpayablefunction updateDestination(address _destination)
updateReward
nonpayablefunction updateReward(uint256 _newReward)
events
CheckProcessed
event CheckProcessed(uint256 cost, uint256 tokenId, address indexed destination)
OwnershipHandoverCanceled
event OwnershipHandoverCanceled(address indexed pendingOwner)
OwnershipHandoverRequested
event OwnershipHandoverRequested(address indexed pendingOwner)
OwnershipTransferred
event OwnershipTransferred(address indexed oldOwner, address indexed newOwner)
errors
AlreadyInitialized
error AlreadyInitialized()
DestinationNotSet
error DestinationNotSet()
InsufficientBalance
error InsufficientBalance()
NewOwnerIsZeroAddress
error NewOwnerIsZeroAddress()
NFTNotForSale
error NFTNotForSale()
NFTNotOwned
error NFTNotOwned()
NoHandoverRequest
error NoHandoverRequest()
NotOwnerOrDestination
error NotOwnerOrDestination()
PriceTooLow
error PriceTooLow()
Reentrancy
error Reentrancy()
StrategyAlreadySet
error StrategyAlreadySet()
StrategyNotSet
error StrategyNotSet()
Unauthorized
error Unauthorized()
creation bytecode
0x60803460aa57601f610a4c38819003918201601f19168301916001600160401b0383118484101760ae5780849260209460405283398101031260aa57516001600160a01b0381169081900360aa576611c37937e08000600255600180546001600160a01b03191691909117905533638b78c6d8198190555f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a360405161098990816100c38239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe608080604052600436101561001c575b50361561001a575f80fd5b005b5f905f3560e01c9081630869806e1461083d57508063214ff45914610812578063228cb733146107f557806325692962146107ac578063425c8abd1461075257806354d1f13d1461070e5780637110febb146106b2578063715018a6146106695780638da5cb5b1461063d5780639e0e4f2a14610595578063b269681d1461056c578063b6a8368814610545578063c94e6f721461021f578063db618828146101a1578063f04e283e14610153578063f2fde38b146101145763fee81cf40361000f5734610111576020366003190112610111576100f8610869565b9063389a75e1600c5252602080600c2054604051908152f35b80fd5b50602036600319011261011157610129610869565b6101316108b5565b8060601b156101465761014390610916565b80f35b637448fbae82526004601cfd5b50602036600319011261011157610168610869565b6101706108b5565b63389a75e1600c528082526020600c20805442116101945790826101439255610916565b636f5e881883526004601cfd5b5034610111576020366003190112610111576101bb610869565b638b78c6d819546001600160a01b03163314158061020a575b6101fb5760018060a01b03166bffffffffffffffffffffffff60a01b600154161760015580f35b63b1fcb8ff60e01b8252600482fd5b506001546001600160a01b03163314156101d4565b5034610111576020366003190112610111576004353068929eee149b4bd212685414610538573068929eee149b4bd212685581546001600160a01b0316908115610529576001546001600160a01b03161561051a5760405163485d3d1960e11b81526004810182905291602083602481845afa9283156104305784936104e6575b506002548084106104d75783018084116104c35747106104b4578084913b156104b057818491602460405180948193631255fcb160e11b83528860048401525af180156104a557610490575b50506040516331a9108f60e11b81526004810182905260208160248173036721e5a769cc48b3189efbb9cce4471e8a48b15afa90811561043057849161044a575b50306001600160a01b039091160361043b576001546001600160a01b03168373036721e5a769cc48b3189efbb9cce4471e8a48b13b15610111576040516323b872dd60e01b81523060048201526001600160a01b0392909216602483015260448201839052816064818373036721e5a769cc48b3189efbb9cce4471e8a48b15af1801561043057610417575b602083836103c9600254336108d1565b7fb3db6273ed43b0c9a7c46eb839aa0fbbe881251a0880aee784f8906647fcee5a604060018060a01b03600154169281519085825286820152a23868929eee149b4bd2126855604051908152f35b61042284809261087f565b61042c57826103b9565b8280fd5b6040513d86823e3d90fd5b63ca5ae8a360e01b8352600483fd5b90506020813d602011610488575b816104656020938361087f565b8101031261048457516001600160a01b0381168103610484575f61032d565b8380fd5b3d9150610458565b8161049a9161087f565b61042c57825f6102ec565b6040513d84823e3d90fd5b5080fd5b631e9acf1760e31b8452600484fd5b634e487b7160e01b85526011600452602485fd5b636dddf41160e11b8552600485fd5b9092506020813d602011610512575b816105026020938361087f565b810103126104845751915f6102a0565b3d91506104f5565b63f38aa84360e01b8352600483fd5b630fb1a74560e41b8352600483fd5b63ab143c0682526004601cfd5b5034610111578060031936011261011157546040516001600160a01b039091168152602090f35b50346101115780600319360112610111576001546040516001600160a01b039091168152602090f35b5034610639576060366003190112610639576105af610869565b602435906001600160a01b0382168203610639576105cb6108b5565b6001600160a01b0316803b1561063957604051632142170760e11b81523060048201526001600160a01b0392909216602483015260448035908301525f908290606490829084905af1801561062e57610622575080f35b61001a91505f9061087f565b6040513d5f823e3d90fd5b5f80fd5b34610639575f36600319011261063957638b78c6d819546040516001600160a01b039091168152602090f35b5f3660031901126106395761067c6108b5565b5f638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35f638b78c6d81955005b34610639576020366003190112610639576106cb610869565b6106d36108b5565b5f54906001600160a01b0382166106ff576001600160a01b03166001600160a01b031991909116175f55005b63e71ebde160e01b5f5260045ffd5b5f3660031901126106395763389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2005b3461063957602036600319011261063957638b78c6d819546001600160a01b031633141580610797575b61078857600435600255005b63b1fcb8ff60e01b5f5260045ffd5b506001546001600160a01b031633141561077c565b5f3660031901126106395763389a75e1600c52335f526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a2005b34610639575f366003190112610639576020600254604051908152f35b346106395760203660031901126106395761001a61082e610869565b6108366108b5565b47906108d1565b34610639575f366003190112610639578073036721e5a769cc48b3189efbb9cce4471e8a48b160209252f35b600435906001600160a01b038216820361063957565b90601f8019910116810190811067ffffffffffffffff8211176108a157604052565b634e487b7160e01b5f52604160045260245ffd5b638b78c6d8195433036108c457565b6382b429005f526004601cfd5b814710610909575f3881808585620186a0f1156108ec575050565b601691600b915f526073825360ff602053f01561090557565b3838fd5b63b12d13eb5f526004601cfd5b60018060a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3638b78c6d8195556fea26469706673582212201e9dc7f4a070c488cd6c809bafc591c2345bc22d25d1441f0d18e000696e1cc164736f6c634300081e0033000000000000000000000000ef41d09c1a553c3526eec3ce5116fc75f257dc6f