CODE_ERROR
There is an error in the cadence code of this transaction.
[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` --> 71e309965ff27c3e5c7d06d6f64178d263e52747b968c6a65703b0e5d9d4e54c:16:18 | 16 | prepare(acct: AuthAccount) { | ^^^^^^^^^^^ not found in this scope error: value of type `&SGKCLDR_bk_2bs_mf` has no member `collectionStoragePath` --> 71e309965ff27c3e5c7d06d6f64178d263e52747b968c6a65703b0e5d9d4e54c:18:93 | 18 | self.collection = acct.borrow<&SGKCLDR_bk_2bs_mf.Collection>(from: SGKCLDR_bk_2bs_mf.collectionStoragePath)! | ^^^^^^^^^^^^^^^^^^^^^ unknown member error: value of type `&Account` has no member `getCapability` --> 71e309965ff27c3e5c7d06d6f64178d263e52747b968c6a65703b0e5d9d4e54c:27:13 | 27 | .getCapability(SGKCLDR_bk_2bs_mf.collectionPublicPath) | ^^^^^^^^^^^^^ unknown member error: value of type `&SGKCLDR_bk_2bs_mf` has no member `collectionPublicPath` --> 71e309965ff27c3e5c7d06d6f64178d263e52747b968c6a65703b0e5d9d4e54c:27:45 | 27 | .getCapability(SGKCLDR_bk_2bs_mf.collectionPublicPath) | ^^^^^^^^^^^^^^^^^^^^ unknown member error: value of type `&SGKCLDR_bk_2bs_mf.Collection` has no member `batchWithdraw` --> 71e309965ff27c3e5c7d06d6f64178d263e52747b968c6a65703b0e5d9d4e54c:31:59 | 31 | receiverRef.batchDeposit(tokens: <-self.collection.batchWithdraw(collectibleIds: collectibleIDs)) | ^^^^^^^^^^^^^ unknown memberArguments:
recipientAddr:
0xc9447e91e491b3ab
collectibleIDs:
[2051]
Loading...