FT TransferSEALED
□▪~◇◆@!█#○█░□~~▪*^#◆!█□█▓#?!◆█◆▫!╲░#!▒#╲□╲?~!^!@●~!╳?◆█□◇~▓╱□╲□▓
Transaction ID
Execution Fee
0.0011 FLOWScript Arguments
0offerIdUInt64
3298537384279
Cadence Script
1import DapperOffersV2 from 0xb8ea91944fd51c43
2
3/// This transaction cancels an offer to exchange a AllDay NFT for DapperUtilityCoin.
4///
5/// @param offerId: The ID of the offer to cancel.
6///
7transaction(offerId: UInt64) {
8 let dapperOffer: auth(DapperOffersV2.Manager) &DapperOffersV2.DapperOffer
9
10 prepare(acct: auth(Storage, Capabilities) &Account) {
11 self.dapperOffer = acct.storage.borrow<auth(DapperOffersV2.Manager) &DapperOffersV2.DapperOffer>(from: DapperOffersV2.DapperOffersStoragePath)
12 ?? panic("Missing or mis-typed DapperOffersV2.DapperOffer")
13 }
14
15 execute {
16 self.dapperOffer.removeOffer(offerId: offerId)
17 }
18}