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 type in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:36:34 | 36 | if signer.storage.borrow<&XpToken.Vault>(from: XpToken.VaultStoragePath) == nil { | ^^^^^^^ not found in this scope error: cannot find variable in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:36:55 | 36 | if signer.storage.borrow<&XpToken.Vault>(from: XpToken.VaultStoragePath) == nil { | ^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:36:11 | 36 | if signer.storage.borrow<&XpToken.Vault>(from: XpToken.VaultStoragePath) == nil { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:38:25 | 38 | let vault <- XpToken.createEmptyVault(vaultType: Type<@XpToken.Vault>()) | ^^^^^^^ not found in this scope error: cannot find type in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:38:67 | 38 | let vault <- XpToken.createEmptyVault(vaultType: Type<@XpToken.Vault>()) | ^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:38:61 | 38 | let vault <- XpToken.createEmptyVault(vaultType: Type<@XpToken.Vault>()) | ^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:39:45 | 39 | signer.storage.save(<-vault, to: XpToken.VaultStoragePath) | ^^^^^^^ not found in this scope error: cannot find variable in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:42:77 | 42 | signer.capabilities.storage.issue<&{FungibleToken.Receiver}>(XpToken.VaultStoragePath), | ^^^^^^^ not found in this scope error: cannot find variable in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:43:20 | 43 | at: XpToken.VaultReceiverPath | ^^^^^^^ not found in this scope error: cannot find variable in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:47:76 | 47 | signer.capabilities.storage.issue<&{FungibleToken.Balance}>(XpToken.VaultStoragePath), | ^^^^^^^ not found in this scope error: cannot find variable in this scope: `XpToken` --> a866a8b09507761d3b388cf859d1ccc65f8304665c18178994e52f88c273d2e0:48:20 | 48 | at: XpToken.VaultStoragePath | ^^^^^^^ not found in this scopeLoading...