Arbitrage
FailedFailed arbitrage: borrowed 0.3SUI by flash loan, looped it through Bluefin pools, and a coin did not have enough balance. Only gas was spent: 0.0001SUI.
Failed at command 17
A coin did not have enough balance. Failed at command 17.
- Error kind
- INSUFFICIENT_COIN_BALANCE
Net result for sender, gas only
- Digest
- GHbdxT…8NSC
- Sender
- 0x3990…811dAddress0x399045933662eaf26bc6266cfc33d81dab4e262790ab00207c3b5eea05d5811dLabelNone knownBot
- Time
- 2026-11-03 04:20:25 UTC
- Checkpoint
- 341,082,672
- Protocols
- DeepBookDipCoin+1DEXBluefin
What happened14 steps
- 1Borrowed 0.3SUI by flash loan from DeepBook SUI/suiUSDe poolDeepBook SUI/suiUSDe pool0x034f3a42e7348de2084406db7a725f9d9d132a56c68324713e6e623601fb4fd7KindPoolSourcetide registry on DeepBook, to be repaid in SUI.Command 0
- 2Called an unlabelled contract (orderbook::
update_quote_envelope).Command 1 - 3Moved coins around (1 command).Command 2
- 4Called an unlabelled contract (orderbook::
new_quote_fill).Command 3 - 5Grouped coins (2 commands).Commands 4 to 5
- 6Swapped coins through an unlabelled contract (orderbook::
swap_exact_base_for_quote).Command 6 - 7Moved coins around (2 commands).Commands 7 to 8
- 8Swapped coins through DipCoin (router::
swap_exact_x_to_y_with_return).Command 9 - 9Moved coins around (2 commands).Commands 10 to 11
- 10Swapped through a Bluefin flash swap that is opened and settled within the route (commands 12 to 15).Commands 12 to 15
- 11Split coins (2 commands).Commands 16 to 17
- 12Repaid the DeepBook flash loan.Command 18
- 13Split coins, merged coins (2 commands).Commands 19 to 20
- 14Sent the SUI to the address balance of 0x3eba…3b5e.Command 21
Balance changes1
- 0x3990…811dAddress0x399045933662eaf26bc6266cfc33d81dab4e262790ab00207c3b5eea05d5811dLabelNone knownSender
- -0.0001SUI<$0.0001
Details
- Time (UTC)
- 2026-11-03 04:20:25 UTC
- Epoch
- 1,300
- Position in checkpoint
- tx 36
- Signature
- Signed with Ed25519 by 0x3990…811d
- Programmable
- 22 commands, 20 inputs
- Expires
- Never
- Size
- 3,840 bytes
Commands22
- 0
Flash-borrowed 0.3SUI from DeepBook SUI/suiUSDe poolDeepBook SUI/suiUSDe pool0x034f3a42e7348de2084406db7a725f9d9d132a56c68324713e6e623601fb4fd7KindPoolSourcetide registry; returns the coin and a loan receipt that must be repaid.
DeepBook@deepbook/core::
pool:: borrow_flashloan_base<SUI, SUI_USDE> DeepBook SUI/suiUSDe pool297,318,5890.0Coin<SUI>to 2, 50.1FlashLoanto 18 - 1
Called orderbook::
update_quote_envelope in an unlabelled contract. 0x3343…5a74::
orderbook:: update_quote_envelope<SUI, USDC> VersionedGlobalConfigMarketMaker0xbf79…87df SUI/USDC pool642 bytes96 bytesClock - 2
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<SUI> 0.0Result 0.0u64to 3 - 3
Called orderbook::
new_quote_fill in an unlabelled contract. 0x3343…5a74::
orderbook:: new_quote_fill 0 bytes2Result 2QuoteFillto 4 - 4
Made a list of 1 items.
MakeMoveVec
3Result 3vector<QuoteFill>to 6 - 5
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<SUI> 0.0Result 0.0Balance<SUI>to 6 - 6
Called orderbook::
swap_exact_base_for_quote in an unlabelled contract; returns USDC and SUI. 0x3343…5a74::
orderbook:: swap_exact_base_for_quote<SUI, USDC> VersionedGlobalConfigMarketMaker0xbf79…87df SUI/USDC pool4Result 45Result 532 bytesClock6.0Balance<USDC>to 86.1Balance<SUI>to 7 - 7
Ran balance::
destroy_zero from the Sui framework. Sui Framework0x0000…0002::
balance:: destroy_zero<SUI> 6.1Result 6.1 - 8
Ran coin::
from_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: from_balance<USDC> 6.0Result 6.0Coin<USDC>to 9 - 9
Called router::
swap_exact_x_to_y_with_return in DipCoin; returns BLUE. DipCoin0xdae2…c872::
router:: swap_exact_x_to_y_with_return<USDC, BLUE> GlobalDipCoin USDC/BLUE 0.0005% pool8Result 80Coin<BLUE>to 10, 11 - 10
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<BLUE> 9Result 9u64to 12 - 11
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<BLUE> 9Result 9Balance<BLUE>to 15 - 12
Called pool::
flash_swap in Bluefin; returns BLUE and SUI. Bluefin@bluefinprotocol/bluefin-spot::
pool:: flash_swap<BLUE, SUI> ClockGlobalConfigBluefin BLUE/SUI 1% pooltruetrue10Result 101,766,292,591,523,009,53612.0Balance<BLUE>to 1312.1Balance<SUI>to 1612.2FlashSwapReceipt<BLUE, SUI>to 15 - 13
Ran balance::
destroy_zero from the Sui framework. Sui Framework0x0000…0002::
balance:: destroy_zero<BLUE> 12.0Result 12.0 - 14
Ran balance::
zero from the Sui framework. Sui Framework0x0000…0002::
balance:: zero<SUI> Balance<SUI>to 15 - 15
Called pool::
repay_flash_swap in Bluefin. Bluefin@bluefinprotocol/bluefin-spot::
pool:: repay_flash_swap<BLUE, SUI> GlobalConfigBluefin BLUE/SUI 1% pool11Result 1114Result 1412.2Result 12.2 - 16
Ran coin::
from_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: from_balance<SUI> 12.1Result 12.1Coin<SUI>to 17, 19, 20, 21 - 17
Split 0.3SUI off Result 16.Aborted here
SplitCoins
16Result 160.3 SUI0.3 SUIto 18 - 18
Repaid the DeepBook flash loan and the loan receipt.Not run
DeepBook@deepbook/core::
pool:: return_flashloan_base<SUI, SUI_USDE> DeepBook SUI/suiUSDe pool17.0Result 17.00.1Result 0.1 - 19
Split 0.00014SUI off Result 16.Not run
SplitCoins
16Result 160.00014 SUI0.00014 SUIto 20 - 20
Merged coins.Not run
Sui Framework0x0000…0002::
coin:: join<SUI> 16Result 1619.0Result 19.0 - 21
Sent the SUI to the address balance of 0x3eba…3b5e.Not run
Sui Framework0x0000…0002::
coin:: send_funds<SUI> 16Result 160x3eba…3b5e
Inputs20Already shown inline above. Full list with kinds and versions.
| # | Value | Kind | Used by |
|---|---|---|---|
| 0 | GlobalConfigGlobalConfig0x21db52fe9402e215127158df97d8421ee259a7dde37ba78becd5a320117212b9KindPoolSourcetide registryGlobalConfig | Shared, read onlyv885693427 | 1, 6 |
| 1 | GlobalGlobal0x935229a3c32399e9fb207ec8461a54f56c6af5744c64442435ac217ab28f0d59KindPoolSourcetide registryGlobal | Shared, read onlyv557604664 | 9 |
| 2 | GlobalConfigGlobalConfig0x03db251ba509a8d5d8777b6338836082335d93eecbdd09a11e190a1cff51c352KindPoolSourcetide registryGlobalConfig | Shared, read onlyv406496849 | 12, 15 |
| 3 | ClockClock0x0000000000000000000000000000000000000000000000000000000000000006KindPoolSourcetide registryClock | Shared, read onlyv1 | 1, 6, 12 |
| 4 | 0xbf79…87df SUI/USDC pool0xbf79…87df SUI/USDC pool0x7ec188f8fc960ac7e9dd4ff2c5a67e21be3922e28e158319b48785621fc3001fKindPoolSourcetide registryPool<SUI, USDC> | Shared, mutablev932746473 | 1, 6 |
| 5 | VersionedVersioned0x39e4f67dd46256f33c8d32b114ff1558c29aaf33e8219359ec32a9fb4e35844dKindPoolSourcetide registryVersioned | Shared, read onlyv885693427 | 1, 6 |
| 6 | MarketMakerMarketMaker0x13497cadbe0217a2f04aa3ed19d203744150e4bc14c65c84dc2a0caacab1b0b3KindPoolSourcetide registryMarketMaker | Shared, read onlyv931646817 | 1, 6 |
| 7 | DipCoin USDC/BLUE 0.0005% poolDipCoin USDC/BLUE 0.0005% pool0x060124a9c921963f711aef48f1ce974879f102c05e9a9d3a1073a7d0575690ddKindPoolSourcetide registryPool<USDC, BLUE> | Shared, mutablev561045482 | 9 |
| 8 | Bluefin BLUE/SUI 1% poolBluefin BLUE/SUI 1% pool0xde705d4f3ded922b729d9b923be08e1391dd4caeff8496326123934d0fb1c312KindPoolSourcetide registryPool<BLUE, SUI> | Shared, mutablev444611978 | 12, 15 |
| 9 | DeepBook SUI/suiUSDe poolDeepBook SUI/suiUSDe pool0x034f3a42e7348de2084406db7a725f9d9d132a56c68324713e6e623601fb4fd7KindPoolSourcetide registryPool<SUI, SUI_USDE> | Shared, mutablev773317532 | 0, 18 |
| 10 | 0.3 SUI | Pure u64 | 0, 17 |
| 11 | 642 bytes | Pure vector<u8> | 1 |
| 12 | 96 bytes | Pure vector<u8> | 1 |
| 13 | 0 bytes | Pure vector<u8> | 3 |
| 14 | 32 bytes | Pure vector<u8> | 6 |
| 15 | 0 | Pure u64 | 9 |
| 16 | true | Pure bool | 12 |
| 17 | 1,766,292,591,523,009,536 | Pure u128 | 12 |
| 18 | 0.00014 SUI | Pure u64 | 19 |
| 19 | 0x3eba…3b5e | Pure address | 21 |
Object changes4
DeepBook SUI/suiUSDe poolDeepBook SUI/suiUSDe pool0x034f3a42e7348de2084406db7a725f9d9d132a56c68324713e6e623601fb4fd7KindPoolSourcetide registryPool<SUI, SUI_USDE>ChangedSharedv1069849672 to v1069849673
DipCoin USDC/BLUE 0.0005% poolDipCoin USDC/BLUE 0.0005% pool0x060124a9c921963f711aef48f1ce974879f102c05e9a9d3a1073a7d0575690ddKindPoolSourcetide registryPool<USDC, BLUE>ChangedSharedv1069849672 to v1069849673
0xbf79…87df SUI/USDC pool0xbf79…87df SUI/USDC pool0x7ec188f8fc960ac7e9dd4ff2c5a67e21be3922e28e158319b48785621fc3001fKindPoolSourcetide registryPool<SUI, USDC>ChangedSharedv1069849134 to v1069849673
Bluefin BLUE/SUI 1% poolBluefin BLUE/SUI 1% pool0xde705d4f3ded922b729d9b923be08e1391dd4caeff8496326123934d0fb1c312KindPoolSourcetide registryPool<BLUE, SUI>ChangedSharedv1069849672 to v1069849673
Events0
No events, the transaction was reverted
Gas
Paid
0.000104318SUI
<$0.0001
- Computation
- 0.000102SUI
- Storage
- 0.02318SUI
- Storage rebate
- 0.023177682SUIto0x3990…811dAddress0x399045933662eaf26bc6266cfc33d81dab4e262790ab00207c3b5eea05d5811dLabelNone known
- Kept by storage fund
- 0.000002318SUI
- Budget
- 0.02SUI0.5% used
- Gas price
- 102 MIST1.02x reference
- Paid by
- 0x3990…811dAddress0x399045933662eaf26bc6266cfc33d81dab4e262790ab00207c3b5eea05d5811dLabelNone known
Raw JSON
/v1/tx/GHbdxTafVPzyyCkBfPF1fEacbZ7wRci2mVLioGvb8NSC?raw=1{
"digest": "GHbdxTafVPzyyCkBfPF1fEacbZ7wRci2mVLioGvb8NSC",
"kind": "programmable",
"classification": "arbitrage",
"classLabel": "Arbitrage",
"status": {
"ok": false,
"failure": {
"kind": "INSUFFICIENT_COIN_BALANCE",
"command": 17,
"sentence": "A coin did not have enough balance. Failed at command 17.",
"errorName": null,
"line": null
}
},
"sender": {
"address": "0x399045933662eaf26bc6266cfc33d81dab4e262790ab00207c3b5eea05d5811d",
"short": "0x3990…811d",
"suins": null,
"label": null,
"display": "0x3990…811d"
},
"sponsor": null,
"checkpoint": 341082672,
"checkpointIndex": 35,
"epoch": 1300,
"timestamp": {
"ms": 1793679625717,
"iso": "2026-11-03T04:20:25.717Z"
},
"protocols": [
{
"project": {
"id": "deepbook",
"name": "DeepBook",
"category": "Order book",
"url": "https://deepbook.tech",
"logoUrl": null
},
"packages": [
"0x0e735f8c93a95722efd73521aca7a7652c0bb71ed1daf41b26dfd7d1ff71f748"
]
},
{
"project": {
"id": "dex-dae28",
"name": "DipCoin",
"category": "DEX",
"url": "https://dipcoin.io",
"logoUrl": null
},
"packages": [
"0xdae28ab9ab072c647c4e8f2057a8f17dcc4847e42d6a8258df4b376ae183c872"
]
},
{
"project": {
"id": "bluefin",
"name": "Bluefin",
"category": "DEX",