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: cannot find declaration `SORACHI` in `82ed1b9cba5bb1b3.SORACHI`
--> 659c9884cac71ed5d1c4063c43756a6e67e401b83c2167f65985759200aaba0d:4:7
|
4 | import SORACHI from 0x82ed1b9cba5bb1b3
| ^^^^^^^ available exported declarations are:
error: cannot infer type parameter: `T`
--> 659c9884cac71ed5d1c4063c43756a6e67e401b83c2167f65985759200aaba0d:7:17
|
7 | let receiver = getAccount(address)
8 | .getCapability<&SORACHI.Vault{FungibleToken.Receiver}>(SORACHI.ReceiverPublicPath)
9 | .check()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 659c9884cac71ed5d1c4063c43756a6e67e401b83c2167f65985759200aaba0d:10:16
|
10 | let balance = getAccount(address)
11 | .getCapability<&SORACHI.Vault{FungibleToken.Balance}>(SORACHI.BalancePublicPath)
12 | .check()
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 659c9884cac71ed5d1c4063c43756a6e67e401b83c2167f65985759200aaba0d:19:9
|
19 | if acct.borrow<&SORACHI.Vault>(from: SORACHI.VaultStoragePath) == nil {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 659c9884cac71ed5d1c4063c43756a6e67e401b83c2167f65985759200aaba0d:24:6
|
24 | acct.link<&SORACHI.Vault{FungibleToken.Receiver}>(SORACHI.ReceiverPublicPath, target: SORACHI.VaultStoragePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 659c9884cac71ed5d1c4063c43756a6e67e401b83c2167f65985759200aaba0d:25:6
|
25 | acct.link<&SORACHI.Vault{FungibleToken.Balance}>(SORACHI.BalancePublicPath, target: SORACHI.VaultStoragePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^