TransactionSEALED
▫$╲!□□@◆?^╳?□█■╱◆○#%█?□■■~#~█^~?@▪%◇^▒▫**□■▓■░~~?░╲&%^!@□?▫%^#◆%
Transaction ID
Execution Error
Error Code: 1007
error caused by: 1 error occurred:
Raw Error
[Error Code: 1007] error caused by: 1 error occurred: * checking sequence number failed: [Error Code: 1007] invalid proposal key: public key 3 on account 82ed1b9cba5bb1b3 has sequence number 573109, but given 573108
Transaction Summary
TransactionScript Arguments
0receivers{String
{
"0xbc60129941543968": "18.00000000",
"0xa11e453314d54d20": "22.00000000",
"0x490c5b9d5ccfa5e0": "23.00000000",
"0xb8904d869e835154": "11.00000000",
"0x5b1ac29886d3735c": "35.00000000",
"0xbb3f8773d431af5e": "44.00000000",
"0xa1ace61a881af9c1": "259.00000000",
"0xa9291e760e2d79e2": "8.00000000",
"0xa84c582537bb4344": "253.00000000",
"0xd653722c28c1d013": "27.00000000",
"0xbb8d245a48fe1bbf": "14.00000000",
"0xea18df60bf629f9a": "254.00000000",
"0x0cb5ea1bddbc5be9": "4.00000000",
"0xe4a7f4b595a6b329": "7.00000000",
"0x153be2ae57ea479d": "259.00000000",
"0x0a8f39a2714ff779": "3.00000000",
"0x194e45dd0e0aaf82": "5.00000000",
"0x0920f3573bfd0973": "10.00000000",
"0xf396d7d5353483ee": "18.00000000",
"0xe057abaa4a71db15": "266.00000000",
"0x03dd24b45221f91d": "21.00000000",
"0xf32474fca9fb370f": "53.00000000",
"0x0a3d9a8bed804398": "15.00000000",
"0x0117a81221053db1": "5.00000000",
"0x1ea3731e07a08d55": "19.00000000",
"0xe6dfdb3a7a4dc364": "7.00000000",
"0x0c0749324173ef08": "30.00000000",
"0xf7d42be3762c5f33": "16.00000000",
"0x6276d5b16bfedaae": "32.00000000",
"0x695ce728a77ba487": "9.00000000",
"0x814ef986ef614c47": "41.00000000",
"0xe5c2b2e6ac30898f": "61.00000000",
"0xe860f0ef5089efd7": "36.00000000",
"0x15894187cb25f37c": "14.00000000",
"0x971a9cb576654626": "8.00000000",
"0x778d7a77b8482ec5": "14.00000000",
"0x6f6634910b880817": "115.00000000",
"0xf414f964ddf461de": "113.00000000",
"0x13c51ea81e36ae63": "388.00000000",
"0xba3b76e5f2f5752b": "12.00000000",
"0x8e26372960fceeb3": "34.00000000",
"0x91204f0cda96eab6": "10.00000000",
"0x70604cb4b1e20c12": "41.00000000",
"0x97a83f9ceaaaf2c7": "55.00000000",
"0xd6ac6d2d914f4368": "15.00000000",
"0xc7586d1c3f15e75b": "3.00000000",
"0x2970a00bdbfca30b": "50.00000000",
"0x34bc548812b263a2": "19.00000000",
"0x340ef7a18e7dd743": "18.00000000",
"0x20901e34645d198e": "6.00000000",
"0xde64c680298c4fce": "7.00000000",
"0xc1d01d8c0f29ff2a": "36.00000000",
"0x25b7a4511ed3fff5": "15.00000000",
"0x37139e7d58009da8": "18.00000000",
"0x238d77e8b2205365": "6.00000000",
"0xc955e5e0891e7f09": "11.00000000",
"0x26186ea4546101ff": "152.00000000",
"0xaec4c75c1c32f02a": "4.00000000",
"0xb4e5051cdcd61254": "9.00000000",
"0x5517a58d2b6d4011": "55.00000000",
"0x4e53219ed21f98c9": "12.00000000",
"0x4b749bfba8917eb2": "77.00000000",
"0x5d20fec8319574d3": "8.00000000",
"0xa84cb7cc2c0ee85b": "104.00000000",
"0xbfcf378510536c7d": "13.00000000",
"0xadd9ae80ca4fbac1": "8.00000000",
"0xa203c306d91dacd4": "19.00000000",
"0xb1c2bf79a658f42f": "8.00000000",
"0x5f58d147de7e049e": "64.00000000",
"0xb30833dfd57c3083": "3.00000000",
"0x413bef315d823a3d": "42.00000000",
"0xa796da4a3f5cfe4e": "27.00000000",
"0xe29dc8e522e0b4a6": "208.00000000",
"0x44aef67dbbc368a7": "40.00000000",
"0x17f181e13f7b282e": "14.00000000",
"0x079f376b0a8c8edf": "6.00000000",
"0xe132021068524aac": "3.00000000",
"0xcafa2f15c3ac8103": "26.00000000",
"0x1f74798db94ca80d": "34.00000000",
"0xa07bec8936f6dc99": "3.00000000",
"0xf8bc0aa5e20456d8": "62.00000000",
"0x4ee182b74ed02c28": "20.00000000",
"0x0c07a6db5ac64417": "24.00000000",
"0x0d62e08863507eb1": "302.00000000",
"0x1ea39cf71c15264a": "20.00000000",
"0xe7ba7280586e52dd": "15.00000000",
"0x1fc6daa425831cec": "19.00000000",
"0xf3249b15b24e9c10": "45.00000000",
"0xedf5064aad7d1652": "8.00000000",
"0x75471938d0d94176": "10.00000000",
"0x6af3c234f67cf192": "19.00000000",
"0xf6b18259540fce8a": "5.00000000",
"0x04825eb7dcf1c434": "212.00000000",
"0x67e32314960a232b": "78.00000000",
"0x71b746270f0e294a": "3.00000000",
"0x737dca817c2aede6": "21.00000000",
"0x86a320acfd7ec58f": "3.00000000",
"0x6c7bb2a4c640e9e3": "9.00000000",
"0x6e039d2b29ab99ae": "19.00000000",
"0x6a41611d6ab34573": "27.00000000"
}Cadence Script
1/// transactions/ft/bulk_mint.cdc
2
3import FungibleToken from 0xf233dcee88fe0abe
4import FungibleTokenMetadataViews from 0xf233dcee88fe0abe
5import KARATZKGGML from 0x82ed1b9cba5bb1b3
6
7
8transaction(receivers: {String: UFix64}) {
9 let tokenAdmin: &KARATZKGGML.Administrator
10 let vaultData: FungibleTokenMetadataViews.FTVaultData
11
12
13 prepare(admin: auth(BorrowValue) &Account) {
14 self.tokenAdmin = admin.storage.borrow<&KARATZKGGML.Administrator>(from: KARATZKGGML.AdminStoragePath)
15 ?? panic("Signer is not the token admin")
16
17 self.vaultData = KARATZKGGML.resolveContractView(resourceType: nil, viewType: Type<FungibleTokenMetadataViews.FTVaultData>()) as! FungibleTokenMetadataViews.FTVaultData?
18 ?? panic("ViewResolver does not resolve FTVaultData view")
19 }
20
21 execute {
22 // Create a minter resource
23 let tokenMinter <- self.tokenAdmin.createNewMinter()
24
25 let keys = receivers.keys
26
27 // For each receiver address in the array
28 for addr in keys {
29 let address = Address.fromString(addr) as! Address
30 let amount = receivers[addr] as! UFix64
31
32 let tokenReceiver = getAccount(address).capabilities.borrow<&{FungibleToken.Receiver}>(self.vaultData.receiverPath)
33 ?? panic("Could not borrow receiver reference to the Vault for address: ".concat(address.toString()))
34
35 // Mint tokens for this receiver
36 let mintedVault <- tokenMinter.mintTokens(amount: amount)
37
38 // Deposit tokens to the receiver
39 tokenReceiver.deposit(from: <-mintedVault)
40 }
41
42 // Destroy the minter when done
43 destroy tokenMinter
44 }
45}