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 `auth(Storage, Contracts, Keys, Inbox, Capabilities) &Account` has no member `save`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:49:24
|
49 | self.newAccount.save(<-usdcVault, to: USDCFlow.VaultStoragePath)
| ^^^^ unknown member
error: value of type `auth(Storage, Contracts, Keys, Inbox, Capabilities) &Account` has no member `link`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:51:24
|
51 | self.newAccount.link<&{FungibleToken.Receiver}>(USDCFlow.VaultReceiverPubPath, target: USDCFlow.VaultStoragePath)
| ^^^^ unknown member
error: value of type `&USDCFlow` has no member `VaultReceiverPubPath`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:51:65
|
51 | self.newAccount.link<&{FungibleToken.Receiver}>(USDCFlow.VaultReceiverPubPath, target: USDCFlow.VaultStoragePath)
| ^^^^^^^^^^^^^^^^^^^^ unknown member
error: value of type `auth(Storage, Contracts, Keys, Inbox, Capabilities) &Account` has no member `link`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:52:24
|
52 | self.newAccount.link<&{FungibleToken.Balance}>(USDCFlow.VaultBalancePubPath, target: USDCFlow.VaultStoragePath)
| ^^^^ unknown member
error: value of type `&USDCFlow` has no member `VaultBalancePubPath`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:52:64
|
52 | self.newAccount.link<&{FungibleToken.Balance}>(USDCFlow.VaultBalancePubPath, target: USDCFlow.VaultStoragePath)
| ^^^^^^^^^^^^^^^^^^^ unknown member
error: value of type `auth(Storage, Contracts, Keys, Inbox, Capabilities) &Account` has no member `save`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:56:24
|
56 | self.newAccount.save(<-vault, to: stFlowToken.tokenVaultPath)
| ^^^^ unknown member
error: cannot find variable in this scope: `vault`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:56:31
|
56 | self.newAccount.save(<-vault, to: stFlowToken.tokenVaultPath)
| ^^^^^ not found in this scope
error: value of type `auth(Storage, Contracts, Keys, Inbox, Capabilities) &Account` has no member `link`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:57:24
|
57 | self.newAccount.link<&{FungibleToken.Receiver}>(stFlowToken.tokenReceiverPath, target: stFlowToken.tokenVaultPath)
| ^^^^ unknown member
error: value of type `auth(Storage, Contracts, Keys, Inbox, Capabilities) &Account` has no member `link`
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:58:24
|
58 | self.newAccount.link<&{FungibleToken.Balance}>(stFlowToken.tokenBalancePath, target: stFlowToken.tokenVaultPath)
| ^^^^ unknown member
error: loss of resource
--> 8ce8120bc452c360ef87fc9534202181ba8e57b43e11015b8c5806a70f4d36c0:55:12
|
55 | let stFlowVault <- stFlowToken.createEmptyVault(vaultType: Type<@stFlowToken.Vault>())
| ^^^^^^^^^^^