CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed: error: loss of resource --> 0f9df91c9121c460.BloctoTokenStaking:366:20 | 366 | let tokenReward <- BloctoTokenMinter.mintTokens(amount: rewardAmount) | ^^^^^^^^^^^ error: cannot find type in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:46:34 | 46 | pub fun getStakingInfo(): BloctoTokenStaking.StakerInfo | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:65:34 | 65 | access(self) let staker: @BloctoTokenStaking.Staker | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:161:34 | 161 | pub fun getStakingInfo(): BloctoTokenStaking.StakerInfo { | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:46:34 | 46 | pub fun getStakingInfo(): BloctoTokenStaking.StakerInfo | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:100:58 | 100 | let stakingAdmin = BloctoPass.account.borrow<&BloctoTokenStaking.Admin>(from: BloctoTokenStaking.StakingAdminStoragePath) | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:100:90 | 100 | let stakingAdmin = BloctoPass.account.borrow<&BloctoTokenStaking.Admin>(from: BloctoTokenStaking.StakingAdminStoragePath) | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 0f9df91c9121c460.BloctoPass:100:31 | 100 | let stakingAdmin = BloctoPass.account.borrow<&BloctoTokenStaking.Admin>(from: BloctoTokenStaking.StakingAdminStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:161:34 | 161 | pub fun getStakingInfo(): BloctoTokenStaking.StakerInfo { | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:162:19 | 162 | return BloctoTokenStaking.StakerInfo(stakerID: self.id) | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `BloctoTokenStaking` --> 0f9df91c9121c460.BloctoPass:195:43 | 195 | return self.getIdleBalance() + BloctoTokenStaking.StakerInfo(self.id).totalTokensInRecord() | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `BloctoPass` --> 945d4803f78e532dd827801a2d561d92785ff29090a56eadfac19228b0cadb0a:31:22 | 31 | if signer.borrow<&BloctoPass.Collection>(from: /storage/bloctoPassCollection) == nil { | ^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 945d4803f78e532dd827801a2d561d92785ff29090a56eadfac19228b0cadb0a:31:7 | 31 | if signer.borrow<&BloctoPass.Collection>(from: /storage/bloctoPassCollection) == nil { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `BloctoPass` --> 945d4803f78e532dd827801a2d561d92785ff29090a56eadfac19228b0cadb0a:32:20 | 32 | signer.save(<-BloctoPass.createEmptyCollection(), to: /storage/bloctoPassCollection) | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `BloctoPass` --> 945d4803f78e532dd827801a2d561d92785ff29090a56eadfac19228b0cadb0a:34:55 | 34 | signer.link<&{NonFungibleToken.CollectionPublic, BloctoPass.CollectionPublic}>( | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `BloctoPass` --> 945d4803f78e532dd827801a2d561d92785ff29090a56eadfac19228b0cadb0a:40:51 | 40 | .borrow<&{NonFungibleToken.CollectionPublic, BloctoPass.CollectionPublic}>() | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `BloctoPass` --> 945d4803f78e532dd827801a2d561d92785ff29090a56eadfac19228b0cadb0a:45:18 | 45 | .borrow<&{BloctoPass.MinterPublic}>() | ^^^^^^^^^^ not found in this scope error: ambiguous restricted type --> 945d4803f78e532dd827801a2d561d92785ff29090a56eadfac19228b0cadb0a:45:17 | 45 | .borrow<&{BloctoPass.MinterPublic}>() | ^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> 945d4803f78e532dd827801a2d561d92785ff29090a56eadfac19228b0cadb0a:44:22 | 44 | let minterRef = getAccount(0x0f9df91c9121c460).getCapability(/public/bloctoPassMinter) |