TransactionSEALED

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

Transaction ID

Timestamp

Jul 05, 2025, 05:18:17 PM UTC
7mo ago

Block Height

118,667,506

Computation

0

Execution Fee

0.00001674 FLOW

Transaction Summary

Contract Call

Called FastBreakV1

Contracts

Script Arguments

Cadence Script

1import FastBreakV1 from 0x0b2a3299cc857e29
2
3transaction() {
4
5    let oracleRef: auth(FastBreakV1.Create, FastBreakV1.Update) &FastBreakV1.FastBreakDaemon
6
7    let fastBreakGameID: String
8    let points: UInt64
9    let win: Bool
10	let accountAddress: Address
11	let playerId: UInt64
12
13    prepare(acct: auth(Storage) &Account) {
14        self.fastBreakGameID = "d9aa4088-94ef-4823-b368-32e53b309b76"
15        self.points = 59
16        self.win = false
17		self.accountAddress = 0x520d604b81a7c7a1
18
19        let cap = acct.storage.copy<Capability<auth(FastBreakV1.Create, FastBreakV1.Update) &FastBreakV1.FastBreakDaemon>>(from: FastBreakV1.OracleStoragePath)
20            ?? panic("Could not borrow a reference to the oracle resource")
21		self.oracleRef = cap.borrow() ?? panic("Could not borrow a reference to the oracle resource")
22
23		self.playerId = FastBreakV1.getPlayerIdByAccount(accountAddress: self.accountAddress)
24    }
25
26    execute {
27
28        self.oracleRef.updateFastBreakScore(
29            fastBreakGameID: self.fastBreakGameID,
30            playerId: self.playerId,
31            points: self.points,
32            win: self.win
33        )
34    }
35
36}