Lock an NFT with a contract for a certain amount of time (currently between one day & one year). Once the timelock has expired, anyone can call the claim function which will send the NFT to the defined recipient.
Receives a token from a Send and locks it based on the parameters defined in the StartLock hook message.
The msg field in the Cw721ReceiveMsg struct should be a Cw721HookMsg of type StartLock.
The minimum lock_time that can be set is 86_400 which is one day.
The maximum lock_time that can be set is 31_536_000 which is one year.
The address to receive the NFT after the lock is done. Defaults to the sender.
The amount of time to lock the NFT. Should be provided in seconds. The minimum amount of time is 1 day (86400 seconds). The max amount of time is 1 year (31536000 seconds).
Transfers the given token to the recipient once the time lock has expired.
A concatinated id made of the nft contract address+token id.