[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: error getting program 219bf3cdf4b33856.mooseknuckles_NFT: failed to derive value: load program failed: Parsing failed: error: `pub` is no longer a valid access keyword --> :6:0 | 6 | pub contract mooseknuckles_NFT: NonFungibleToken { | ^^^ error: `pub` is no longer a valid access keyword --> :11:4 | 11 | pub event ContractInitialized() | ^^^ error: `pub` is no longer a valid access keyword --> :14:4 | 14 | pub event Minted(id: UInt64, setId: UInt32, seriesId: UInt32) | ^^^ error: `pub` is no longer a valid access keyword --> :19:4 | 19 | pub event SeriesCreated(seriesId: UInt32) | ^^^ error: `pub` is no longer a valid access keyword --> :22:4 | 22 | pub event SeriesSealed(seriesId: UInt32) | ^^^ error: `pub` is no longer a valid access keyword --> :24:4 | 24 | pub event SeriesMetadataUpdated(seriesId: UInt32) | ^^^ error: `pub` is no longer a valid access keyword --> :29:4 | 29 | pub event SetCreated(seriesId: UInt32, setId: UInt32) | ^^^ error: `pub` is no longer a valid access keyword --> :31:4 | 31 | pub event SetMetadataUpdated(seriesId: UInt32, setId: UInt32) | ^^^ error: `pub` is no longer a valid access keyword --> :36:4 | 36 | pub event Withdraw(id: UInt64, from: Address?) | ^^^ error: `pub` is no longer a valid access keyword --> :38:4 | 38 | pub event Deposit(id: UInt64, to: Address?) | ^^^ error: `pub` is no longer a valid access keyword --> :41:4 | 41 | pub event NFTDestroyed(id: UInt64) | ^^^ error: `pub` is no longer a valid access keyword --> :44:4 | 44 | pub let CollectionStoragePath: StoragePath | ^^^ error: `pub` is no longer a valid access keyword --> :45:4 | 45 | pub let CollectionPublicPath: PublicPath | ^^^ error: `pub` is no longer a valid access keyword --> :46:4 | 46 | pub let AdminStoragePath: StoragePath | ^^^ error: `pub` is no longer a valid access keyword --> :47:4 | 47 | pub let AdminPrivatePath: PrivatePath | ^^^ error: `pub` is no longer a valid access keyword --> :52:4 | 52 | pub var totalSupply: UInt64 | ^^^ error: `pub` is no longer a valid access keyword --> :66:4 | 66 | pub struct NFTSetData { | ^^^ error: `pub` is no longer a valid access keyword --> :69:8 | 69 | pub let setId: UInt32 | ^^^ error: `pub` is no longer a valid access keyword --> :72:8 | 72 | pub let seriesId: UInt32 | ^^^ error: `pub` is no longer a valid access keyword --> :75:8 | 75 | pub let maxEditions: UInt32 | ^^^ error: `pub` is no longer a valid access keyword --> :100:8 | 100 | pub fun getIpfsMetadataHash(editionNum: UInt32): String? { | ^^^ error: `pub` is no longer a valid access keyword --> :104:8 | 104 | pub fun getMetadata(): {String: String} { | ^^^ error: `pub` is no longer a valid access keyword --> :108:8 | 108 | pub fun getMetadataField(field: String): String? { | ^^^ error: `pub` is no longer a valid access keyword --> :115:4 | 115 | pub struct SeriesData { | ^^^ error: `pub` is no longer a valid access keyword --> :118:8 | 118 | pub let seriesId: UInt32 | ^^^ error: `pub` is no longer a valid access keyword --> :130:8 | 130 | pub fun getMetadata(): {String: String} { | ^^^ error: `pub` is no longer a valid access keyword --> :138:1 | 138 | pub resource Series { | ^^^ error: `pub` is no longer a valid access keyword --> :141:8 | 141 | pub let seriesId: UInt32 | ^^^ error: `pub` is no longer a valid access keyword --> :144:8 | 144 | pub var setIds: [UInt32] | ^^^ error: `pub` is no longer a valid access keyword --> :147:8 | 147 | pub var seriesSealedState: Bool; | ^^^ error: `pub` is no longer a valid access keyword --> :153:8 | 153 | pub var numberEditionsMintedPerSet: {UInt32: UInt32} | ^^^ error: `pub` is no longer a valid access keyword --> :173:8 | 173 | pub fun addNftSet( | ^^^ error: `pub` is no longer a valid access keyword --> :208:8 | 208 | pub fun updateSeriesMetadata(metadata: {String: String}) { | ^^^ error: `pub` is no longer a valid access keyword --> :228:8 | 228 | pub fun updateSetMetadata( | ^^^ error: `pub` is no longer a valid access keyword --> :255:5 | 255 | pub fun mintmooseknuckles_NFT( | ^^^ error: `pub` is no longer a valid access keyword --> :288:5 | 288 | pub fun mintEditionmooseknuckles_NFT( | ^^^ error: `pub` is no longer a valid access keyword --> :317:2 | 317 | pub fun batchMintmooseknuckles_NFT( | ^^^ error: `pub` is no longer a valid access keyword --> :340:8 | 340 | pub fun sealSeries() { | ^^^ error: `pub` is no longer a valid access keyword --> :352:4 | 352 | pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver { | ^^^ error: `pub` is no longer a valid access keyword --> :354:8 | 354 | pub let id: UInt64 | ^^^ error: `pub` is no longer a valid access keyword --> :357:8 | 357 | pub let setId: UInt32 | ^^^ error: `pub` is no longer a valid access keyword --> :360:8 | 360 | pub let editionNum: UInt32 | ^^^ error: `pub` is no longer a valid access keyword --> :378:8 | 378 | pub fun getViews(): [Type] { | ^^^ error: `pub` is no longer a valid access keyword --> :392:8 | 392 | pub fun resolveView(_ view: Type): AnyStruct? { | ^^^ error: restricted types have been removed; replace with the concrete type or an equivalent intersection type --> :436:112 | 436 | receiver: getAccount(royaltyAddress).getCapability<&FungibleToken.Vault{FungibleToken.Receiver}>(royaltyReceiver), | ^^^^^^^^^^^^^ --> 219bf3cdf4b33856.mooseknuckles_NFT error: cannot find type in this scope: `mooseknuckles_NFT` --> 7172eebff81016a41f6053750d9dc461d4ac036c70714460b0829494c0cd5185:18:16 | 18 | let admin: &mooseknuckles_NFT.Admin | ^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `mooseknuckles_NFT` --> 7172eebff81016a41f6053750d9dc461d4ac036c70714460b0829494c0cd5185:22:44 | 22 | self.admin = signer.storage.borrow<&mooseknuckles_NFT.Admin>(from: mooseknuckles_NFT.AdminStoragePath) | ^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `mooseknuckles_NFT` --> 7172eebff81016a41f6053750d9dc461d4ac036c70714460b0829494c0cd5185:22:75 | 22 | self.admin = signer.storage.borrow<&mooseknuckles_NFT.Admin>(from: mooseknuckles_NFT.AdminStoragePath) | ^^^^^^^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 7172eebff81016a41f6053750d9dc461d4ac036c70714460b0829494c0cd5185:22:21 | 22 | self.admin = signer.storage.borrow<&mooseknuckles_NFT.Admin>(from: mooseknuckles_NFT.AdminStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Loading...
Loading...
Loading...
Loading...
Loading...