Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: cannot find type in this scope: `SdmToken`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:34:31
|
34 | if (signer.borrow<&SdmToken.Vault>(from: /storage/sdmTokenVault) == nil) {
| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:34:16
|
34 | if (signer.borrow<&SdmToken.Vault>(from: /storage/sdmTokenVault) == nil) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: `SdmToken`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:36:30
|
36 | signer.save(<-SdmToken.createEmptyVault(), to: /storage/sdmTokenVault)
| ^^^^^^^^ not found in this scope
error: cannot find type in this scope: `SdmToken`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:40:29
|
40 | signer.link<&SdmToken.Vault{FungibleToken.Receiver}>(
| ^^^^^^^^ not found in this scope
error: cannot find type in this scope: `FungibleToken`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:40:44
|
40 | signer.link<&SdmToken.Vault{FungibleToken.Receiver}>(
| ^^^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:40:16
|
40 | signer.link<&SdmToken.Vault{FungibleToken.Receiver}>(
| ^
error: cannot find type in this scope: `SdmToken`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:47:29
|
47 | signer.link<&SdmToken.Vault{FungibleToken.Balance}>(
| ^^^^^^^^ not found in this scope
error: cannot find type in this scope: `FungibleToken`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:47:44
|
47 | signer.link<&SdmToken.Vault{FungibleToken.Balance}>(
| ^^^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> c086f045be41f596c27ec1a016d3476572c6987ed0f888006fffccd79c57a623:47:16
|
47 | signer.link<&SdmToken.Vault{FungibleToken.Balance}>(
| ^