CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred:
* transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed:
--> 86f1156db2e28621f5041d87fbfeebb43263cf37024f710a05c9599f084a23fe:117:23
|
117 | barter: <- self.barterCollectionRef!.counterBarter(
| ^
--> b18b1dc5069a41c7.BYC:665:22
|
665 | return <- BYC.createBarter(
| ^
--> b18b1dc5069a41c7.BYC:793:28
|
793 | let a <- create Barter(
| ^
--> b18b1dc5069a41c7.BYC:312:23
|
312 | assert(asset.providerIsValid(), message: "Invalid FT Provider details detected ")
| ^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Provider has insufficient tokens! Requested:1.42000000/1.41695585 available!
--> b18b1dc5069a41c7.BYC:129:12
|
129 | assert(self.providerCap!.borrow()!.balance >= self.amount!, message: "Provider has insufficient tokens! Requested:".concat(self.amount!.toString()).concat("/").concat(self.providerCap?.borrow()!!.balance.toString().concat(" available!")) )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Arguments:
barterAddress:
0x533b272acbe7dfcb
offeredCollectionProviderPaths:
["BarterYardClubWerewolfCollection"]
offeredCollectionStoragePaths:
["BarterYardClubWerewolfCollection"]
feeProviderStorageIdentifier:
flowTokenVault
offeredFungibleTokenAmounts:
[1.42]
offeredFungibleTokenProviderPaths:
["flowTokenVault"]
offeredFungibleTokenStoragePaths:
["flowTokenVault"]
counterpartyAddress:
0x90cedaa010fe78e6
requestedFungibleTokenReceiverPaths:
Empty
requestedFungibleTokenStoragePaths:
Empty
requestedFungibleTokenAmounts:
Empty
requestedCollectionReceiverPaths:
["BarterYardClubWerewolfCollection"]
requestedCollectionStoragePaths:
["BarterYardClubWerewolfCollection"]