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` --> 8d9b09b139651e0fa32e0e38af6e9d586eeb5cc2f973349f8c674ab441c834c8:16:18 | 16 | prepare(acct: AuthAccount) { | ^^^^^^^^^^^ not found in this scope error: value of type `&SGKCLDR_ec_dos_gh24` has no member `collectionStoragePath` --> 8d9b09b139651e0fa32e0e38af6e9d586eeb5cc2f973349f8c674ab441c834c8:18:97 | 18 | self.collection = acct.borrow<&SGKCLDR_ec_dos_gh24.Collection>(from: SGKCLDR_ec_dos_gh24.collectionStoragePath)! | ^^^^^^^^^^^^^^^^^^^^^ unknown member error: value of type `&Account` has no member `getCapability` --> 8d9b09b139651e0fa32e0e38af6e9d586eeb5cc2f973349f8c674ab441c834c8:27:13 | 27 | .getCapability(SGKCLDR_ec_dos_gh24.collectionPublicPath) | ^^^^^^^^^^^^^ unknown member error: value of type `&SGKCLDR_ec_dos_gh24` has no member `collectionPublicPath` --> 8d9b09b139651e0fa32e0e38af6e9d586eeb5cc2f973349f8c674ab441c834c8:27:47 | 27 | .getCapability(SGKCLDR_ec_dos_gh24.collectionPublicPath) | ^^^^^^^^^^^^^^^^^^^^ unknown member error: value of type `&SGKCLDR_ec_dos_gh24.Collection` has no member `batchWithdraw` --> 8d9b09b139651e0fa32e0e38af6e9d586eeb5cc2f973349f8c674ab441c834c8:31:59 | 31 | receiverRef.batchDeposit(tokens: <-self.collection.batchWithdraw(collectibleIds: collectibleIDs)) | ^^^^^^^^^^^^^ unknown memberArguments:
recipientAddr:
0xbeec32439c2a82c7
collectibleIDs:
[49130]
Loading...