TransactionSEALED
@╳╲◆▫╲▓░^&■■●~█▓●◆●▫?◆&#■░◇▓*▫◆◆□*#%%^█╳^░▓@▫░@■~▓~█▫●◆▒*◇╱◇$▒%╱
Transaction ID
Execution Fee
0.00258 FLOWTransaction Summary
Contract Call
Called NonFungibleToken, Art, BloctoStorageRent
Contracts
Script Arguments
Copy:
0idUInt64
659
1toAddress
Cadence Script
1// Transfer script from blocto
2
3import NonFungibleToken from 0x1d7e57aa55817448
4import Art from 0xd796ff17107bbff6
5import BloctoStorageRent from 0x1dfd1e5b87b847dc
6
7transaction(id: UInt64, to: Address) {
8 let sentNFT:@{NonFungibleToken.NFT}
9
10 let address: Address
11
12 prepare(signer: auth(BorrowValue) &Account) {
13 let collectionRef = signer.storage
14 .borrow<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Collection}>(from: Art.CollectionStoragePath)
15 ?? panic("Could not borrow a collection reference")
16
17 self.sentNFT <- collectionRef.withdraw(withdrawID: id)
18 self.address = signer.address
19 }
20
21 execute {
22 let recipient = getAccount(to)
23
24 let receiverRef = recipient.capabilities
25 .borrow<&{Art.CollectionPublic}>(Art.CollectionPublicPath)
26 ?? panic("Could not borrow a collection reference to the recipient's collection")
27
28 receiverRef.deposit(token: <-self.sentNFT)
29 BloctoStorageRent.tryRefill(self.address)
30 BloctoStorageRent.tryRefill(to)
31 }
32}