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 e2e1689b53e92a82.Anique: failed to derive value: load program failed: Parsing failed:
error: `pub` is no longer a valid access keyword
--> :10:0
|
10 | pub contract interface Anique {
| ^^^
error: `pub` is no longer a valid access keyword
--> :14:4
|
14 | pub event ContractInitialized()
| ^^^
error: `pub` is no longer a valid access keyword
--> :18:4
|
18 | pub resource interface INFT {
| ^^^
error: `pub` is no longer a valid access keyword
--> :23:4
|
23 | pub resource NFT: INFT {
| ^^^
error: `pub` is no longer a valid access keyword
--> :24:8
|
24 | pub let id: UInt64
| ^^^
error: `pub` is no longer a valid access keyword
--> :28:4
|
28 | pub resource Admin {
| ^^^
error: `pub` is no longer a valid access keyword
--> :37:4
|
37 | pub resource Collection {
| ^^^
error: `pub` is no longer a valid access keyword
--> :40:8
|
40 | pub var ownedNFTs: @{UInt64: NonFungibleToken.NFT}
| ^^^
error: `pub` is no longer a valid access keyword
--> :43:8
|
43 | pub fun withdraw(withdrawID: UInt64): @NonFungibleToken.NFT
| ^^^
error: `pub` is no longer a valid access keyword
--> :47:8
|
47 | pub fun deposit(token: @NonFungibleToken.NFT)
| ^^^
error: `pub` is no longer a valid access keyword
--> :50:8
|
50 | pub fun getIDs(): [UInt64]
| ^^^
error: `pub` is no longer a valid access keyword
--> :54:8
|
54 | pub fun borrowNFT(id: UInt64): &NonFungibleToken.NFT {
| ^^^
error: `pub` is no longer a valid access keyword
--> :62:8
|
62 | pub fun borrowAniqueNFT(id: UInt64): auth &Anique.NFT {
| ^^^
error: expected authorization (entitlement list)
--> :62:50
|
62 | pub fun borrowAniqueNFT(id: UInt64): auth &Anique.NFT {
| ^
--> e2e1689b53e92a82.Anique
error: cannot find type in this scope: `AuthAccount`
--> 8b696554e47d44d5785b3f89ed9946682c73d6cbfadd0b4bcb51c4c1a8742c9a:16:18
|
16 | prepare(acct: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&SGKCLDR_ec_dos_ng24` has no member `collectionStoragePath`
--> 8b696554e47d44d5785b3f89ed9946682c73d6cbfadd0b4bcb51c4c1a8742c9a:18:97
|
18 | self.collection = acct.borrow<&SGKCLDR_ec_dos_ng24.Collection>(from: SGKCLDR_ec_dos_ng24.collectionStoragePath)!
| ^^^^^^^^^^^^^^^^^^^^^ unknown member
error: value of type `&Account` has no member `getCapability`
--> 8b696554e47d44d5785b3f89ed9946682c73d6cbfadd0b4bcb51c4c1a8742c9a:27:13
|
27 | .getCapability(SGKCLDR_ec_dos_ng24.collectionPublicPath)
| ^^^^^^^^^^^^^ unknown member
error: value of type `&SGKCLDR_ec_dos_ng24` has no member `collectionPublicPath`
--> 8b696554e47d44d5785b3f89ed9946682c73d6cbfadd0b4bcb51c4c1a8742c9a:27:47
|
27 | .getCapability(SGKCLDR_ec_dos_ng24.collectionPublicPath)
| ^^^^^^^^^^^^^^^^^^^^ unknown member
error: value of type `&SGKCLDR_ec_dos_ng24.Collection` has no member `batchWithdraw`
--> 8b696554e47d44d5785b3f89ed9946682c73d6cbfadd0b4bcb51c4c1a8742c9a:31:59
|
31 | receiverRef.batchDeposit(tokens: <-self.collection.batchWithdraw(collectibleIds: collectibleIDs))
| ^^^^^^^^^^^^^ unknown member