TransactionSEALED

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

Transaction ID

Timestamp

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

Block Height

86,041,824

Computation

0

Execution Fee

0.00000109 FLOW

Proposerseq:1 key:0

Authorizers

1

Transaction Summary

Contract Call

Called FungibleToken, FlowToken

Script Arguments

0amountUFix64
0.00169891

Cadence Script

1import FungibleToken from 0xf233dcee88fe0abe
2import FlowToken from 0x1654653399040a61
3transaction(amount: UFix64, to: Address) {
4    // The Vault resource that holds the tokens that are being transferred
5    let sentVault: @{FungibleToken.Vault}
6    prepare(signer: auth(BorrowValue) &Account) {
7
8        // Get a reference to the signer's stored vault
9        let vaultRef = signer.storage.borrow<auth(FungibleToken.Withdraw) &FlowToken.Vault>(from: /storage/flowTokenVault)
10			?? panic("Could not borrow reference to the owner's Vault!")
11
12        // Withdraw tokens from the signer's stored vault
13        self.sentVault <- vaultRef.withdraw(amount: amount)
14    }
15    execute {
16        // Get a reference to the recipient's Receiver
17        let receiverRef =  getAccount(to)
18            .capabilities.borrow<&{FungibleToken.Receiver}>(/public/flowTokenReceiver)
19			?? panic("Could not borrow receiver reference to the recipient's Vault")
20
21        // Deposit the withdrawn tokens in the recipient's receiver
22        receiverRef.deposit(from: <-self.sentVault)
23    }
24}