CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 26fe8daeacc3f6d15404eaaec06573e7ee9db7b1ad93f28626661944502ddc6a:121:61
|
121 | poolOutVault.deposit(from: <-pool.swap(vaultIn: <- pairInVault.withdraw(amount: poolInAmount), exactAmountOut: nil))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> fa82796435e15832.SwapPair:508:22
|
508 | return <- SwapPair.swap(vaultIn: <-vaultIn, exactAmountOut: exactAmountOut)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> fa82796435e15832.SwapPair:339:22
|
339 | return <- self.token1Vault.withdraw(amount: amountOut)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: FiatToken contract paused
--> b19436aae4d94622.FiatToken:196:16
|
196 | !FiatToken.paused: "FiatToken contract paused"
| ^^^^^^^^^^^^^^^^^
Arguments:
tokenKeyFlatSplitPath:
["A.1654653399040a61...bcd9d1.TopShotBETA"]
tokenAddressFlatSplitPath:
["0x1654653399040a61...0xee09029f1dbcd9d1"]
tokenNameFlatSplitPath:
["FlowToken","FiatToken","TopShotBETA","FlowToken","TopShotBETA"]
poolAddressesToPairs:
[[["0xfa82796435e158...119682f57ecad1b5"]]]
poolKeysToPairs:
[[["increment-v1"],["increment-v1"]],[["increment-v1"]]]
poolInRatiosToPairs:
[[[1],[1]],[[1]]]
amountInSplit:
[0.31662855,0.10554285]
amountOutMin:
13178.95278049
tokenInVaultPath:
/storage/flowTokenVault
tokenOutVaultPath:
/storage/TopShotBETAVault
tokenOutReceiverPath:
/public/TopShotBETAReceiver
tokenOutBalancePath:
/public/TopShotBETAMetadata