Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot deploy invalid contract
--> ac19edd6bb88eb956e215c2d723fd8f5292b36a49a63106854e1e4d82f9cc0fb:3:2
|
3 | signer.contracts.update(name: name, code: code.decodeHex())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:9:0
|
9 | pub contract GroundWork29: NonFungibleToken {
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:10:4
|
10 | pub event ContractInitialized()
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:11:4
|
11 | pub event Withdraw(id: UInt64, from: Address?)
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:12:4
|
12 | pub event Deposit(id: UInt64, to: Address?)
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:13:4
|
13 | pub event PublishedMinted(id: UInt64, name: String, ipfsLink: String, type: UInt64)
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:15:4
|
15 | pub let CollectionStoragePath: StoragePath
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:16:4
|
16 | pub let CollectionPublicPath: PublicPath
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:17:4
|
17 | pub let MinterPublishedPath: StoragePath
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:19:4
|
19 | pub var totalSupply: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:20:4
|
20 | pub var libraryPassTotalSupply: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:21:4
|
21 | pub var willoTotalSupply: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:23:4
|
23 | pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver {
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:24:8
|
24 | pub let serialId: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:25:8
|
25 | pub let id: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:26:8
|
26 | pub let name: String
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:27:8
|
27 | pub let ipfsLink: String
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:28:8
|
28 | pub let type: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:38:8
|
38 | pub fun getViews(): [Type] {
| ^^^
error: `pub` is no longer a valid access keyword
--> 52cbea4e6f616b8e.GroundWork29:49:8
|
49 | pub fun resolveView(_ view: Type): AnyStruct? {
| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--> 52cbea4e6f616b8e.GroundWork29:76:72
|
76 | publicCollection: Type<&GroundWork29.Collection{GroundWork29.GroundWork29CollectionPublic}>(),
| ^^^^^^^^^^^^