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: error getting program 7ec1f607f0872a9e.NiftoryNonFungibleTokenProxy: failed to derive value: load program failed: Parsing failed:
error: `pub` is no longer a valid access keyword
--> :3:0
|
3 | pub contract NiftoryNonFungibleTokenProxy {
| ^^^
error: `pub` is no longer a valid access keyword
--> :5:2
|
5 | pub let STORAGE_PATH: StoragePath
| ^^^
error: `pub` is no longer a valid access keyword
--> :6:2
|
6 | pub let PUBLIC_PATH: PublicPath
| ^^^
error: `pub` is no longer a valid access keyword
--> :7:2
|
7 | pub let PRIVATE_PATH: PrivatePath
| ^^^
error: `pub` is no longer a valid access keyword
--> :9:2
|
9 | pub resource interface Public {
| ^^^
error: `pub` is no longer a valid access keyword
--> :10:4
|
10 | pub fun add(
| ^^^
error: `pub` is no longer a valid access keyword
--> :20:2
|
20 | pub resource interface Private {
| ^^^
error: `pub` is no longer a valid access keyword
--> :21:4
|
21 | pub fun replace(
| ^^^
error: `pub` is no longer a valid access keyword
--> :30:4
|
30 | pub fun access(
| ^^^
error: expected identifier after start of function declaration, got keyword access
--> :30:12
|
30 | pub fun access(
| ^
--> 7ec1f607f0872a9e.NiftoryNonFungibleTokenProxy
error: cannot find type in this scope: `AuthAccount`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:10:17
|
10 | let account: AuthAccount
| ^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `AuthAccount`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:15:20
|
15 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `AuthAccount`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:21:23
|
21 | self.account = AuthAccount(payer: signer)
| ^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NiftoryNonFungibleTokenProxy`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:62:25
|
62 | let proxy <- NiftoryNonFungibleTokenProxy.create()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NiftoryNonFungibleTokenProxy`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:63:43
|
63 | self.account.save(<-proxy, to: NiftoryNonFungibleTokenProxy.STORAGE_PATH)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NiftoryNonFungibleTokenProxy`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:68:16
|
68 | NiftoryNonFungibleTokenProxy.PRIVATE_PATH,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NiftoryNonFungibleTokenProxy`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:69:24
|
69 | target: NiftoryNonFungibleTokenProxy.STORAGE_PATH
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NiftoryNonFungibleTokenProxy`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:74:16
|
74 | NiftoryNonFungibleTokenProxy.PUBLIC_PATH,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NiftoryNonFungibleTokenProxy`
--> ae5ceb5106935629dbd0e82179651a3ab5c80d21e88324d231eaa573ea9d5e66:75:24
|
75 | target: NiftoryNonFungibleTokenProxy.STORAGE_PATH
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope