TransactionSEALED

@!░■╱○#╲^*$*?╲?!▒▒◆$▓*◇╱^▒●╱▓▫●╳?@■▒$^▪░*#◆▪&^█!!▓$╳~#╳?◇%&^◆%@#

Transaction ID

Timestamp

Sep 05, 2024, 12:47:02 PM UTC
1y ago

Block Height

86,041,824

Computation

0

Proposerseq:41 key:0

Authorizers

1

Transaction Summary

Transaction

Script Arguments

0amountUFix64
0.00110000

Cadence Script

1import FungibleToken from 0xf233dcee88fe0abe
2import FungibleTokenMetadataViews from 0xf233dcee88fe0abe
3import FUSD from 0x3c5959b568896393
4
5transaction(amount: UFix64, to: Address) {
6    let vaultData: FungibleTokenMetadataViews.FTVaultData
7    let sentVault: @{FungibleToken.Vault}
8
9    prepare(signer: auth(BorrowValue) &Account) {
10        self.vaultData = FUSD.resolveContractView(resourceType: nil, viewType: Type<FungibleTokenMetadataViews.FTVaultData>()) as! FungibleTokenMetadataViews.FTVaultData?
11            ?? panic("ViewResolver does not resolve FTVaultData view")
12        let vaultRef = signer.storage.borrow<auth(FungibleToken.Withdraw) &FUSD.Vault>(from: self.vaultData.storagePath)
13            ?? panic("Could not borrow reference to the owner's Vault!")
14        self.sentVault <- vaultRef.withdraw(amount: amount)
15    }
16
17    execute {
18        let receiverRef = getAccount(to).capabilities.borrow<&{FungibleToken.Receiver}>(self.vaultData.receiverPath)
19            ?? panic("Could not borrow receiver reference to the recipient's Vault")
20        receiverRef.deposit(from: <-self.sentVault)
21    }
22}