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 `&TeleportedTetherToken` has no member `TokenStoragePath`
--> 1dd2d5b09d8c06cab501c8f5c083b33587f646efead2fcd84d980ad9f4ea7162:9:91
|
9 | if(signer.storage.borrow<&TeleportedTetherToken.Vault>(from: TeleportedTetherToken.TokenStoragePath) != nil) {
| ^^^^^^^^^^^^^^^^ unknown member
error: value of type `&TeleportedTetherToken` has no member `TokenStoragePath`
--> 1dd2d5b09d8c06cab501c8f5c083b33587f646efead2fcd84d980ad9f4ea7162:16:38
|
16 | to: TeleportedTetherToken.TokenStoragePath
| ^^^^^^^^^^^^^^^^ unknown member
error: value of type `&TeleportedTetherToken` has no member `TokenStoragePath`
--> 1dd2d5b09d8c06cab501c8f5c083b33587f646efead2fcd84d980ad9f4ea7162:21:116
|
21 | let receiverCapability = signer.capabilities.storage.issue<&{FungibleToken.Receiver}>(TeleportedTetherToken.TokenStoragePath)
| ^^^^^^^^^^^^^^^^ unknown member
error: value of type `&TeleportedTetherToken` has no member `TokenPublicReceiverPath`
--> 1dd2d5b09d8c06cab501c8f5c083b33587f646efead2fcd84d980ad9f4ea7162:22:82
|
22 | signer.capabilities.publish(receiverCapability, at: TeleportedTetherToken.TokenPublicReceiverPath)
| ^^^^^^^^^^^^^^^^^^^^^^^ unknown member
error: value of type `&TeleportedTetherToken` has no member `TokenStoragePath`
--> 1dd2d5b09d8c06cab501c8f5c083b33587f646efead2fcd84d980ad9f4ea7162:26:114
|
26 | let balanceCapability = signer.capabilities.storage.issue<&{FungibleToken.Balance}>(TeleportedTetherToken.TokenStoragePath)
| ^^^^^^^^^^^^^^^^ unknown member
error: value of type `&TeleportedTetherToken` has no member `TokenPublicBalancePath`
--> 1dd2d5b09d8c06cab501c8f5c083b33587f646efead2fcd84d980ad9f4ea7162:27:81
|
27 | signer.capabilities.publish(balanceCapability, at: TeleportedTetherToken.TokenPublicBalancePath)
| ^^^^^^^^^^^^^^^^^^^^^^ unknown member