TransactionSEALED

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

Transaction ID

Timestamp

Sep 07, 2024, 10:14:45 PM UTC
1y ago

Block Height

86,313,929

Computation

0

Proposerseq:0 key:0

Authorizers

1

Transaction Summary

Contract Call

Called FungibleToken, FlowToken

Script Arguments

0amountUFix64
0.00100000
1recipientAddress

Cadence Script

1import FungibleToken from 0xf233dcee88fe0abe
2import FlowToken from 0x1654653399040a61
3
4transaction(amount: UFix64, recipient: Address) {
5  let sentVault: @FungibleToken.Vault
6  prepare(signer: AuthAccount) {
7    let vaultRef = signer.borrow<&FlowToken.Vault>(from: /storage/flowTokenVault)
8      ?? panic("failed to borrow reference to sender vault")
9
10    self.sentVault <- vaultRef.withdraw(amount: amount)
11  }
12
13  execute {
14    let receiverRef =  getAccount(recipient)
15      .getCapability(/public/flowTokenReceiver)
16      .borrow<&{FungibleToken.Receiver}>()
17        ?? panic("failed to borrow reference to recipient vault")
18
19    receiverRef.deposit(from: <-self.sentVault)
20  }
21}