Flow price: --
5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3

Transaction

Hash: 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: value of type `&FiatToken` has no member `VaultReceiverPubPath`
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:37:84
   |
37 |         let usdcCap = account.capabilities.get<&{FungibleToken.Receiver}>(FiatToken.VaultReceiverPubPath)
   |                                                                                     ^^^^^^^^^^^^^^^^^^^^ unknown member

error: too few arguments
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:39:36
   |
39 |             account.storage.save( <-FiatToken.createEmptyVault(), to: FiatToken.VaultStoragePath)
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected at least 1, got 0

error: value of type `&FiatToken` has no member `VaultStoragePath`
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:39:80
   |
39 |             account.storage.save( <-FiatToken.createEmptyVault(), to: FiatToken.VaultStoragePath)
   |                                                                                 ^^^^^^^^^^^^^^^^ unknown member

error: value of type `&FiatToken` has no member `VaultStoragePath`
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:40:85
   |
40 |             let cap = account.capabilities.storage.issue<&FiatToken.Vault>(FiatToken.VaultStoragePath)
   |                                                                                      ^^^^^^^^^^^^^^^^ unknown member

error: value of type `&FiatToken` has no member `VaultUUIDPubPath`
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:41:60
   |
41 |             account.capabilities.publish(cap, at: FiatToken.VaultUUIDPubPath)
   |                                                             ^^^^^^^^^^^^^^^^ unknown member

error: value of type `&FiatToken` has no member `VaultReceiverPubPath`
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:42:60
   |
42 |             account.capabilities.publish(cap, at: FiatToken.VaultReceiverPubPath)
   |                                                             ^^^^^^^^^^^^^^^^^^^^ unknown member

error: value of type `&FiatToken` has no member `VaultBalancePubPath`
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:43:60
   |
43 |             account.capabilities.publish(cap, at: FiatToken.VaultBalancePubPath)
   |                                                             ^^^^^^^^^^^^^^^^^^^ unknown member

error: value of type `&FiatToken` has no member `VaultReceiverPubPath`
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:98:83
   |
98 |             let fr = account.capabilities.get<&{FungibleToken.Receiver}>(FiatToken.VaultReceiverPubPath)
   |                                                                                    ^^^^^^^^^^^^^^^^^^^^ unknown member

error: value of type `&FiatToken` has no member `VaultBalancePubPath`
  --> 5edb206418d01b12591378ca66349e5a9e5cd243c0b6fd5c462d810669dca9f3:99:79
   |
99 |             let fb =account.capabilities.get<&{FungibleToken.Vault}>(FiatToken.VaultBalancePubPath) 
   |                                                                                ^^^^^^^^^^^^^^^^^^^ unknown member


Loading...
0

Loading...