BUG: SWAP instruction does not return an asset
Issue: A 1 $RUNE swap to CAN does not return any CAN to the originating address. See tx below.
Expected Result: The tx of 1 RUNE should return some CAN; or refund if invalid pool/asset etc.
https://testnet-explorer.binance.org/tx/8588567C785E6EFCD81AC14321CADB6D252D2EA47A1C0AD9A114C056121CBC17 https://testnet-explorer.binance.org/tx/F03CE275FD38B5FD07ACA241B32E15FFF3EEACA61E92D57FC62BCB5B1E594395
[
{
"balance_rune": "913605614",
"balance_token": "961136137",
"ticker": "BNB",
"pool_units": "891426287",
"pool_address": "tbnb10sfan8kwwmvx0ly89q3tc0zacjhznvurjdh664",
"status": "Enabled",
"expiry_utc": "0001-01-01T00:00:00Z"
},
{
"balance_rune": "1578082767",
"balance_token": "1492210271",
"ticker": "LOK-3C0",
"pool_units": "1489271693",
"pool_address": "tbnb10sfan8kwwmvx0ly89q3tc0zacjhznvurjdh664",
"status": "Enabled",
"expiry_utc": "0001-01-01T00:00:00Z"
},
{
"balance_rune": "100000000",
"balance_token": "100000000",
"ticker": "TCAN-014",
"pool_units": "100000000",
"pool_address": "tbnb10sfan8kwwmvx0ly89q3tc0zacjhznvurjdh664",
"status": "Enabled",
"expiry_utc": "0001-01-01T00:00:00Z"
}
]
Edited by Kai Ansaari