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.NiftoryNonFungibleToken: failed to derive value: load program failed: Parsing failed:
error: `pub` is no longer a valid access keyword
--> :41:0
|
41 | pub contract NiftoryNonFungibleToken {
| ^^^
error: `pub` is no longer a valid access keyword
--> :48:2
|
48 | pub resource interface NFTPublic {
| ^^^
error: `pub` is no longer a valid access keyword
--> :51:4
|
51 | pub let id: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> :54:4
|
54 | pub let setId: Int
| ^^^
error: `pub` is no longer a valid access keyword
--> :57:4
|
57 | pub let templateId: Int
| ^^^
error: `pub` is no longer a valid access keyword
--> :62:4
|
62 | pub let serial: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> :65:4
|
65 | pub fun contract(): &{ManagerPublic}
| ^^^
error: expected identifier after start of function declaration, got keyword contract
--> :65:12
|
65 | pub fun contract(): &{ManagerPublic}
| ^
--> 7ec1f607f0872a9e.NiftoryNonFungibleToken
error: error getting program 7ec1f607f0872a9e.NiftoryNFTRegistry: failed to derive value: load program failed: Parsing failed:
error: `pub` is no longer a valid access keyword
--> :29:0
|
29 | pub contract NiftoryNFTRegistry {
| ^^^
error: `pub` is no longer a valid access keyword
--> :36:2
|
36 | pub let PUBLIC_PATH: PublicPath
| ^^^
error: `pub` is no longer a valid access keyword
--> :37:2
|
37 | pub let PRIVATE_PATH: PrivatePath
| ^^^
error: `pub` is no longer a valid access keyword
--> :38:2
|
38 | pub let STORAGE_PATH: StoragePath
| ^^^
error: `pub` is no longer a valid access keyword
--> :41:2
|
41 | pub let NFT_COLLECTION_PATH_SUFFIX: String
| ^^^
error: `pub` is no longer a valid access keyword
--> :42:2
|
42 | pub let NFT_MANAGER_PATH_SUFFIX: String
| ^^^
error: `pub` is no longer a valid access keyword
--> :43:2
|
43 | pub let SET_MANAGER_PATH_SUFFIX: String
| ^^^
error: `pub` is no longer a valid access keyword
--> :44:2
|
44 | pub let METADATA_VIEWS_MANAGER_PATH_SUFFIX: String
| ^^^
error: `pub` is no longer a valid access keyword
--> :51:2
|
51 | pub struct Paths {
| ^^^
error: `pub` is no longer a valid access keyword
--> :54:4
|
54 | pub let public: PublicPath
| ^^^
error: `pub` is no longer a valid access keyword
--> :57:4
|
57 | pub let private: PrivatePath
| ^^^
error: `pub` is no longer a valid access keyword
--> :60:4
|
60 | pub let storage: StoragePath
| ^^^
error: `pub` is no longer a valid access keyword
--> :73:2
|
73 | pub struct StoredResource {
| ^^^
error: `pub` is no longer a valid access keyword
--> :76:4
|
76 | pub let account: Address
| ^^^
error: `pub` is no longer a valid access keyword
--> :79:4
|
79 | pub let paths: Paths
| ^^^
error: `pub` is no longer a valid access keyword
--> :87:2
|
87 | pub struct Record {
| ^^^
error: `pub` is no longer a valid access keyword
--> :90:4
|
90 | pub let contractAddress: Address
| ^^^
error: `pub` is no longer a valid access keyword
--> :93:4
|
93 | pub let collectionPaths: Paths
| ^^^
error: `pub` is no longer a valid access keyword
--> :96:4
|
96 | pub let nftManager: StoredResource
| ^^^
error: `pub` is no longer a valid access keyword
--> :99:4
|
99 | pub let setManager: StoredResource
| ^^^
error: `pub` is no longer a valid access keyword
--> :102:4
|
102 | pub let metadataViewsManager: StoredResource
| ^^^
error: `pub` is no longer a valid access keyword
--> :123:2
|
123 | pub resource interface Public {
| ^^^
error: `pub` is no longer a valid access keyword
--> :126:4
|
126 | pub fun all(): {String: Record}
| ^^^
error: `pub` is no longer a valid access keyword
--> :129:4
|
129 | pub fun infoFor(_ brand: String): Record
| ^^^
error: `pub` is no longer a valid access keyword
--> :132:2
|
132 | pub resource interface Private {
| ^^^
error: `pub` is no longer a valid access keyword
--> :135:4
|
135 | pub fun auth(): auth &{String: Record}
| ^^^
error: expected identifier after start of function declaration, got keyword auth
--> :135:12
|
135 | pub fun auth(): auth &{String: Record}
| ^
--> 7ec1f607f0872a9e.NiftoryNFTRegistry
error: cannot find type in this scope: `NiftoryNFTRegistry`
--> 80763100c6ba5b376d9e470b31c50573c1f863d3c9efa6bd5824b1aa8e0ceee6:15:13
|
15 | let paths: NiftoryNFTRegistry.Paths
| ^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `AuthAccount`
--> 80763100c6ba5b376d9e470b31c50573c1f863d3c9efa6bd5824b1aa8e0ceee6:17:16
|
17 | prepare(acct: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `NiftoryNFTRegistry`
--> 80763100c6ba5b376d9e470b31c50573c1f863d3c9efa6bd5824b1aa8e0ceee6:18:17
|
18 | self.paths = NiftoryNFTRegistry
| ^^^^^^^^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 80763100c6ba5b376d9e470b31c50573c1f863d3c9efa6bd5824b1aa8e0ceee6:31:7
|
31 | .getCapability<&{NiftoryNonFungibleToken.CollectionPublic}>(
| ^^^^^^^^^^^^^ unknown member