CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot find declaration `KARATV2` in `82ed1b9cba5bb1b3.KARATV2` --> cc4b1a9dd6cce595079271b34fbcecec0c519eeb75bd9efdcded37feb2831dfb:4:7 | 4 | import KARATV2 from 0x82ed1b9cba5bb1b3 | ^^^^^^^ available exported declarations are: error: cannot infer type parameter: `T` --> cc4b1a9dd6cce595079271b34fbcecec0c519eeb75bd9efdcded37feb2831dfb:7:17 | 7 | let receiver = getAccount(address) 8 | .getCapability<&KARATV2.Vault{FungibleToken.Receiver}>(KARATV2.ReceiverPublicPath) 9 | .check() | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> cc4b1a9dd6cce595079271b34fbcecec0c519eeb75bd9efdcded37feb2831dfb:10:16 | 10 | let balance = getAccount(address) 11 | .getCapability<&KARATV2.Vault{FungibleToken.Balance}>(KARATV2.BalancePublicPath) 12 | .check() | ^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> cc4b1a9dd6cce595079271b34fbcecec0c519eeb75bd9efdcded37feb2831dfb:19:9 | 19 | if acct.borrow<&KARATV2.Vault>(from: KARATV2.VaultStoragePath) == nil { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> cc4b1a9dd6cce595079271b34fbcecec0c519eeb75bd9efdcded37feb2831dfb:24:6 | 24 | acct.link<&KARATV2.Vault{FungibleToken.Receiver}>(KARATV2.ReceiverPublicPath, target: KARATV2.VaultStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> cc4b1a9dd6cce595079271b34fbcecec0c519eeb75bd9efdcded37feb2831dfb:25:6 | 25 | acct.link<&KARATV2.Vault{FungibleToken.Balance}>(KARATV2.BalancePublicPath, target: KARATV2.VaultStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Loading...