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