Flash Loan
FailedFailed flash loan with a Cetus flash swap: a coin did not have enough balance. Only gas was spent: 0.00044SUI.
Failed at command 27
A coin did not have enough balance. Failed at command 27.
- Error kind
- INSUFFICIENT_COIN_BALANCE
Net result for sender, gas only
- Digest
- FV2uuQ…Mp4A
- Sender
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
- Time
- 2026-11-02 21:18:40 UTC
- Checkpoint
- 340,978,843
- Protocols
- CetusDipCoin+1Liquid staking and vaultsHaedal
What happened17 steps
- 1Verified oracle data via Cetus.Command 0
- 2Moved coins around (2 commands).Commands 1 to 2
- 3Verified oracle data via Cetus.Command 3
- 4Withdrew funds from the address balance (5 commands).Commands 4 to 8
- 5Borrowed 637,576,846,057,917.8USDC by flash loan from Cetus USDC/SUI 0.05% poolCetus USDC/SUI 0.05% pool0x51e883ba7c0b566a26cbc8a94cd33eb0abd418a77cc1e60ad22fd9b1f29cd2abKindPoolSourcetide registry on Cetus, to be repaid in USDC.Command 9
- 6Merged coins (2 commands).Commands 10 to 11
- 7Repaid the Cetus flash loan.Command 12
- 8Split coins, merged coins (3 commands).Commands 13 to 15
- 9Swapped coins through DipCoin (router::
swap_exact_x_to_y_with_return).Command 16 - 10Moved coins around (2 commands).Commands 17 to 18
- 11Borrowed 108,388,300,349.98 haSUI by flash loan from Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registry on Cetus, to be repaid in haSUI.Command 19
- 12Merged coins (2 commands).Commands 20 to 21
- 13Repaid the Cetus flash loan.Command 22
- 14Split coins, merged coins (3 commands).Commands 23 to 25
- 15Called Haedal (staking::
request_unstake_instant_coin).Command 26 - 16Split coins, merged coins (2 commands).Commands 27 to 28
- 17Sent the SUI to the address balance of 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known.Command 29
Balance changes1
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone knownSender
- -0.00044SUI-$0.00038
Details
- Time (UTC)
- 2026-11-02 21:18:40 UTC
- Epoch
- 1,299
- Position in checkpoint
- tx 4
- Signature
- Signed with Ed25519 by 0x475a…dc1b
- Programmable
- 30 commands, 22 inputs
- Expires
- Never
- Size
- 3,381 bytes
Commands30
- 0
Updated oracle data on Cetus (pool::
current_sqrt_price). Cetus@cetuspackages/clmm::
pool:: current_sqrt_price<USDC, SUI> Cetus USDC/SUI 0.05% poolu128to 1 - 1
Ran u128::
checked_sub from the Move standard library. Move Stdlib0x0000…0001::
u128:: checked_sub 625,263,310,622,953,788,0390Result 0Option<u128>to 2 - 2
Ran option::
destroy_some from the Move standard library. Move Stdlib0x0000…0001::
option:: destroy_some<u128> 1Result 1u128unused - 3
Updated oracle data on Cetus (pool::
current_sqrt_price). Cetus@cetuspackages/clmm::
pool:: current_sqrt_price<HASUI, HAEDAL> Cetus haSUI/HAEDAL 0.25% poolu128to 4 - 4
Ran u128::
checked_sub from the Move standard library. Move Stdlib0x0000…0001::
u128:: checked_sub 106,285,486,905,657,091,4793Result 3Option<u128>to 5 - 5
Ran option::
destroy_some from the Move standard library. Move Stdlib0x0000…0001::
option:: destroy_some<u128> 4Result 4u128unused - 6
Withdrew 8.2678SUI from the sender's address balance.
Sui Framework0x0000…0002::
coin:: redeem_funds<SUI> 8.2678 SUI from the sender's address balanceCoin<SUI>to 7, 8 - 7
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<SUI> 6Result 6u64to 9 - 8
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<SUI> 6Result 6Balance<SUI>to 10, 12 - 9
Flash-borrowed 637,576,846,057,917.8USDC from Cetus USDC/SUI 0.05% poolCetus USDC/SUI 0.05% pool0x51e883ba7c0b566a26cbc8a94cd33eb0abd418a77cc1e60ad22fd9b1f29cd2abKindPoolSourcetide registry; returns the coin and a loan receipt that must be repaid.
Cetus@cetuspackages/clmm::
pool:: flash_swap<USDC, SUI> GlobalConfigCetus USDC/SUI 0.05% poolfalsetrue7Result 7637,576,846,057,917,788,197Clock9.0Balance<USDC>to 139.1Balance<SUI>to 109.2FlashSwapReceipt<USDC, SUI>to 12 - 10
Ran balance::
join from the Sui framework. Sui Framework0x0000…0002::
balance:: join<SUI> 8Result 89.1Result 9.1u64unused - 11
Ran balance::
zero from the Sui framework. Sui Framework0x0000…0002::
balance:: zero<USDC> Balance<USDC>to 12 - 12
Repaid the Cetus flash loan and the loan receipt.
Cetus@cetuspackages/clmm::
pool:: repay_flash_swap<USDC, SUI> GlobalConfigCetus USDC/SUI 0.05% pool11Result 118Result 89.2Result 9.2 - 13
Ran coin::
from_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: from_balance<USDC> 9.0Result 9.0Coin<USDC>to 14, 15, 16 - 14
Split 7.1854USDC off Result 13.
SplitCoins
13Result 137.1854 USDC7.1854 USDCto 15 - 15
Merged 1 coin into Result 13.
MergeCoins
13Result 1314.0Result 14.0 - 16
Called router::
swap_exact_x_to_y_with_return in DipCoin; returns HAEDAL. DipCoin0xdae2…c872::
router:: swap_exact_x_to_y_with_return<USDC, HAEDAL> GlobalDipCoin USDC/HAEDAL 0.0005% pool13Result 13253,624,439,755Coin<HAEDAL>to 17, 18 - 17
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<HAEDAL> 16Result 16u64to 19 - 18
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<HAEDAL> 16Result 16Balance<HAEDAL>to 20, 22 - 19
Flash-borrowed 108,388,300,349.98 haSUI from Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registry; returns the coin and a loan receipt that must be repaid.
Cetus@cetuspackages/clmm::
pool:: flash_swap<HASUI, HAEDAL> GlobalConfigCetus haSUI/HAEDAL 0.25% poolfalsetrue17Result 17108,388,300,349,978,879,012Clock19.0Balance<HASUI>to 2319.1Balance<HAEDAL>to 2019.2FlashSwapReceipt<HASUI, HAEDAL>to 22 - 20
Ran balance::
join from the Sui framework. Sui Framework0x0000…0002::
balance:: join<HAEDAL> 18Result 1819.1Result 19.1u64unused - 21
Ran balance::
zero from the Sui framework. Sui Framework0x0000…0002::
balance:: zero<HASUI> Balance<HASUI>to 22 - 22
Repaid the Cetus flash loan and the loan receipt.
Cetus@cetuspackages/clmm::
pool:: repay_flash_swap<HASUI, HAEDAL> GlobalConfigCetus haSUI/HAEDAL 0.25% pool21Result 2118Result 1819.2Result 19.2 - 23
Ran coin::
from_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: from_balance<HASUI> 19.0Result 19.0Coin<HASUI>to 24, 25, 26 - 24
Split 7.6246 haSUI off Result 23.
SplitCoins
23Result 237.6246 haSUI7.6246 haSUIto 25 - 25
Merged 1 coin into Result 23.
MergeCoins
23Result 2324.0Result 24.0 - 26
Called staking::
request_unstake_instant_coin in Haedal; returns SUI. Haedal@haedal/hasui::
staking:: request_unstake_instant_coin Sui system stateStaking23Result 23Coin<SUI>to 27, 28, 29 - 27
Split 8.2682SUI off Result 26.Aborted here
SplitCoins
26Result 268.2682 SUI8.2682 SUIto 28 - 28
Merged 1 coin into Result 26.Not run
MergeCoins
26Result 2627.0Result 27.0 - 29
Sent the SUI to the address balance of 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known.Not run
Sui Framework0x0000…0002::
coin:: send_funds<SUI> 26Result 260x475a…dc1b
Inputs22Already shown inline above. Full list with kinds and versions.
| # | Value | Kind | Used by |
|---|---|---|---|
| 0 | Cetus USDC/SUI 0.05% poolCetus USDC/SUI 0.05% pool0x51e883ba7c0b566a26cbc8a94cd33eb0abd418a77cc1e60ad22fd9b1f29cd2abKindPoolSourcetide registryPool<USDC, SUI> | Shared, mutablev376543995 | 0, 9, 12 |
| 1 | 625,263,310,622,953,788,039 | Pure u128 | 1 |
| 2 | Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registryPool<HASUI, HAEDAL> | Shared, mutablev544466923 | 3, 19, 22 |
| 3 | 106,285,486,905,657,091,479 | Pure u128 | 4 |
| 4 | 8.2678 SUI from the sender's address balance | funds withdrawal | 6 |
| 5 | GlobalConfigGlobalConfig0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8fKindPoolSourcetide registryGlobalConfig | Shared, read onlyv1574190 | 9, 12, 19, 22 |
| 6 | false | Pure bool | 9 |
| 7 | true | Pure bool | 9 |
| 8 | 637,576,846,057,917,788,197 | Pure u128 | 9 |
| 9 | ClockClock0x0000000000000000000000000000000000000000000000000000000000000006KindPoolSourcetide registryClock | Shared, read onlyv1 | 9, 19 |
| 10 | 7.1854 USDC | Pure u64 | 14 |
| 11 | GlobalGlobal0x935229a3c32399e9fb207ec8461a54f56c6af5744c64442435ac217ab28f0d59KindPoolSourcetide registryGlobal | Shared, read onlyv557604664 | 16 |
| 12 | DipCoin USDC/HAEDAL 0.0005% poolDipCoin USDC/HAEDAL 0.0005% pool0xc32efdd93920cfe6f0858f52156bb77a1ad2d01c208978d08ae108cbce4163a8KindPoolSourcetide registryPool<USDC, HAEDAL> | Shared, mutablev561045485 | 16 |
| 13 | 253,624,439,755 | Pure u64 | 16 |
| 14 | false | Pure bool | 19 |
| 15 | true | Pure bool | 19 |
| 16 | 108,388,300,349,978,879,012 | Pure u128 | 19 |
| 17 | 7.6246 haSUI | Pure u64 | 24 |
| 18 | Sui system stateSui system state0x0000000000000000000000000000000000000000000000000000000000000005KindPoolSourcetide registrySuiSystemState | Shared, mutablev1 | 26 |
| 19 | StakingStaking0x47b224762220393057ebf4f70501b6e657c3e56684737568439a04f80849b2caKindPoolSourcetide registryStaking | Shared, mutablev24060192 | 26 |
| 20 | 8.2682 SUI | Pure u64 | 27 |
| 21 | 0x475a…dc1b | Pure address | 29 |
Object changes5
Sui system stateSui system state0x0000000000000000000000000000000000000000000000000000000000000005KindPoolSourcetide registrySuiSystemStateChangedSharedv1069586141 to v1069586153
StakingStaking0x47b224762220393057ebf4f70501b6e657c3e56684737568439a04f80849b2caKindPoolSourcetide registryStakingChangedSharedv1069586140 to v1069586153
Cetus USDC/SUI 0.05% poolCetus USDC/SUI 0.05% pool0x51e883ba7c0b566a26cbc8a94cd33eb0abd418a77cc1e60ad22fd9b1f29cd2abKindPoolSourcetide registryPool<USDC, SUI>ChangedSharedv1069586152 to v1069586153
DipCoin USDC/HAEDAL 0.0005% poolDipCoin USDC/HAEDAL 0.0005% pool0xc32efdd93920cfe6f0858f52156bb77a1ad2d01c208978d08ae108cbce4163a8KindPoolSourcetide registryPool<USDC, HAEDAL>ChangedSharedv1069586151 to v1069586153
Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registryPool<HASUI, HAEDAL>ChangedSharedv1069586151 to v1069586153
Events0
No events, the transaction was reverted
Gas
Paid
0.000438083SUI
$0.00038
- Computation
- 0.000435SUI
- Storage
- 0.0308256SUI
- Storage rebate
- 0.030822517SUIto0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
- Kept by storage fund
- 0.000003083SUI
- Budget
- 0.02SUI2.2% used
- Gas price
- 435 MIST4.35x reference
- Paid by
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
Raw JSON
/v1/tx/FV2uuQ1LVdvoqSCQ1rrzitTUUMSmewDUSKH8xazZMp4A?raw=1{
"digest": "FV2uuQ1LVdvoqSCQ1rrzitTUUMSmewDUSKH8xazZMp4A",
"kind": "programmable",
"classification": "flash_loan",
"classLabel": "Flash Loan",
"status": {
"ok": false,
"failure": {
"kind": "INSUFFICIENT_COIN_BALANCE",
"command": 27,
"sentence": "A coin did not have enough balance. Failed at command 27.",
"errorName": null,
"line": null
}
},
"sender": {
"address": "0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1b",
"short": "0x475a…dc1b",
"suins": null,
"label": null,
"display": "0x475a…dc1b"
},
"sponsor": null,
"checkpoint": 340978843,
"checkpointIndex": 3,
"epoch": 1299,
"timestamp": {
"ms": 1793654320331,
"iso": "2026-11-02T21:18:40.331Z"
},
"protocols": [
{
"project": {
"id": "cetus",
"name": "Cetus",
"category": "DEX",
"url": "https://www.cetus.zone",
"logoUrl": null
},
"packages": [
"0x260693ec785a6e6c9d81d58c7d2ff72f1288ae0fa6a9725abe05a6478b11f084"
]
},
{
"project": {
"id": "dex-dae28",
"name": "DipCoin",
"category": "DEX",
"url": "https://dipcoin.io",
"logoUrl": null
},
"packages": [
"0xdae28ab9ab072c647c4e8f2057a8f17dcc4847e42d6a8258df4b376ae183c872"
]
},
{
"project": {
"id": "haedal",
"name": "Haedal",
"category": "Liquid staking and vaults",