info
For Cadence 0.42 go to Legacy Docs
Resource Interface Receiver
_10pub resource interface Receiver {_10}
Interface to mediate deposits to the Collection
Functions​
deposit()
​
_10fun deposit(token: NFT)
Adds an NFT to the resource implementing it
Parameters:
- token : The NFT resource that will be deposited