Flash Loan
SuccessBorrowed 4.0646haSUI by flash loan from a Cetus vault and repaid the vault with 131.61 HAEDAL. The sender kept 0.0015SUI and paid 0.00013SUI gas.
Net result for sender
- Gas
- 0.00013SUI$0.00012
- Before gas
- +0.0015SUI$0.0013
- Flash loan
- 4.0646haSUIfromCetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registryrepaid
- Digest
- 2JsMzT…68RT
- Sender
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
- Time
- 2026-11-02 22:12:32 UTC
- Checkpoint
- 340,992,159
- Protocols
- CetusDipCoin+1Liquid staking and vaultsHaedal
Insight1
- Price impact
- Moved the Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registry price by -0.0097%. Paid 0.255% below the pool price before the trade.
What happened13 steps
- 1Verified oracle data via Cetus.Command 0
- 2Withdrew funds from the address balance (4 commands).Commands 1 to 4
- 3Swapped coins through an unlabelled contract (pool::
swap_sell).Command 5 - 4Moved coins around (2 commands).Commands 6 to 7
- 5Swapped coins through DipCoin (router::
swap_exact_x_to_y_with_return).Command 8 - 6Moved coins around (2 commands).Commands 9 to 10
- 7Flash-swapped 131.61 HAEDAL for 4.0646haSUI on Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registry, paying later.Command 11
- 8Merged coins (2 commands).Commands 12 to 13
- 9Repaid the Cetus flash swap with 131.61 HAEDAL.Command 14
- 10Split coins, merged coins (3 commands).Commands 15 to 17
- 11Called Haedal (staking::
request_unstake_instant_coin).Command 18 - 12Split coins, merged coins (2 commands).Commands 19 to 20
- 13Sent the SUI to the address balance of 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known.Command 21
Balance changes1
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone knownSender
- +0.0014SUI+$0.0012
Details
- Time (UTC)
- 2026-11-02 22:12:32 UTC
- Before gas
- +0.0015SUI$0.0013
- Epoch
- 1,299
- Position in checkpoint
- tx 33
- Signature
- Signed with Ed25519 by 0x475a…dc1b
- Programmable
- 22 commands, 19 inputs
- Expires
- Never
- Size
- 2,755 bytes
Commands22
- 0
Updated oracle data on Cetus (pool::
current_sqrt_price). Cetus@cetuspackages/clmm::
pool:: current_sqrt_price<HASUI, HAEDAL> Cetus haSUI/HAEDAL 0.25% poolu128to 1 - 1
Ran u128::
checked_sub from the Move standard library. Move Stdlib0x0000…0001::
u128:: checked_sub 104,851,921,650,700,031,2230Result 0Option<u128>to 2 - 2
Ran option::
destroy_some from the Move standard library. Move Stdlib0x0000…0001::
option:: destroy_some<u128> 1Result 1u128unused - 3
Withdrew 4.4018SUI from the sender's address balance.
Sui Framework0x0000…0002::
coin:: redeem_funds<SUI> 4.4018 SUI from the sender's address balanceCoin<SUI>to 4 - 4
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<SUI> 3Result 3Balance<SUI>to 5 - 5
Called pool::
swap_sell in an unlabelled contract; returns SUI and USDC. 0xf6a6…4b1b::
pool:: swap_sell<SUI, USDC> LiquidityPool<SUI>OracleClock4Result 4"3850876"5.0Balance<SUI>to 65.1Balance<USDC>to 7 - 6
Ran balance::
destroy_zero from the Sui framework. Sui Framework0x0000…0002::
balance:: destroy_zero<SUI> 5.0Result 5.0 - 7
Ran coin::
from_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: from_balance<USDC> 5.1Result 5.1Coin<USDC>to 8 - 8
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% pool7Result 7131,440,734,271Coin<HAEDAL>to 9, 10 - 9
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<HAEDAL> 8Result 8u64to 11 - 10
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<HAEDAL> 8Result 8Balance<HAEDAL>to 12, 14 - 11
Flash-swapped 131.61 HAEDAL for 4.0646haSUI on Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registry; returns the haSUI and a repayment receipt.
Cetus@cetuspackages/clmm::
pool:: flash_swap<HASUI, HAEDAL> GlobalConfigCetus haSUI/HAEDAL 0.25% poolfalsetrue9Result 9106,937,376,859,717,375,269Clock11.0Balance<HASUI>to 1511.1Balance<HAEDAL>to 1211.2FlashSwapReceipt<HASUI, HAEDAL>to 14 - 12
Ran balance::
join from the Sui framework. Sui Framework0x0000…0002::
balance:: join<HAEDAL> 10Result 1011.1Result 11.1u64unused - 13
Ran balance::
zero from the Sui framework. Sui Framework0x0000…0002::
balance:: zero<HASUI> Balance<HASUI>to 14 - 14
Repaid Cetus with 131.61 HAEDAL and kept the rest.
Cetus@cetuspackages/clmm::
pool:: repay_flash_swap<HASUI, HAEDAL> GlobalConfigCetus haSUI/HAEDAL 0.25% pool13Result 1310Result 1011.2Result 11.2 - 15
Ran coin::
from_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: from_balance<HASUI> 11.0Result 11.0Coin<HASUI>to 16, 17, 18 - 16
Split 4.0592haSUI off Result 15.
SplitCoins
15Result 154.0592 haSUI4.0592 haSUIto 17 - 17
Merged 1 coin into Result 15.
MergeCoins
15Result 1516.0Result 16.0 - 18
Called staking::
request_unstake_instant_coin in Haedal; returns SUI. Haedal@haedal/hasui::
staking:: request_unstake_instant_coin Sui system stateStaking15Result 15Coin<SUI>to 19, 20, 21 - 19
Split 4.4019SUI off Result 18.
SplitCoins
18Result 184.4019 SUI4.4019 SUIto 20 - 20
Merged 1 coin into Result 18.
MergeCoins
18Result 1819.0Result 19.0 - 21
Sent the SUI to the address balance of 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known.
Sui Framework0x0000…0002::
coin:: send_funds<SUI> 18Result 180x475a…dc1b
Inputs19Already shown inline above. Full list with kinds and versions.
| # | Value | Kind | Used by |
|---|---|---|---|
| 0 | Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registryPool<HASUI, HAEDAL> | Shared, mutablev544466923 | 0, 11, 14 |
| 1 | 104,851,921,650,700,031,223 | Pure u128 | 1 |
| 2 | 4.4018 SUI from the sender's address balance | funds withdrawal | 3 |
| 3 | "3850876" | Pure Option<u64> | 5 |
| 4 | LiquidityPool<SUI>LiquidityPool<SUI>0x21167b2e981e2c0a693afcfe882a3a827d663118e19afcb92e45bfe43fe56278KindPoolSourcetide registryLiquidityPool<SUI> | Shared, mutablev665650778 | 5 |
| 5 | OracleOracle0xfa3975b98f3d0e3df18ed88ae6e69db31836b3f4212df02fae144b1e5a89ca8eKindPoolSourcetide registryOracle | Shared, read onlyv665650775 | 5 |
| 6 | ClockClock0x0000000000000000000000000000000000000000000000000000000000000006KindPoolSourcetide registryClock | Shared, read onlyv1 | 5, 11 |
| 7 | GlobalGlobal0x935229a3c32399e9fb207ec8461a54f56c6af5744c64442435ac217ab28f0d59KindPoolSourcetide registryGlobal | Shared, read onlyv557604664 | 8 |
| 8 | DipCoin USDC/HAEDAL 0.0005% poolDipCoin USDC/HAEDAL 0.0005% pool0xc32efdd93920cfe6f0858f52156bb77a1ad2d01c208978d08ae108cbce4163a8KindPoolSourcetide registryPool<USDC, HAEDAL> | Shared, mutablev561045485 | 8 |
| 9 | 131,440,734,271 | Pure u64 | 8 |
| 10 | GlobalConfigGlobalConfig0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8fKindPoolSourcetide registryGlobalConfig | Shared, read onlyv1574190 | 11, 14 |
| 11 | false | Pure bool | 11 |
| 12 | true | Pure bool | 11 |
| 13 | 106,937,376,859,717,375,269 | Pure u128 | 11 |
| 14 | 4.0592 haSUI | Pure u64 | 16 |
| 15 | Sui system stateSui system state0x0000000000000000000000000000000000000000000000000000000000000005KindPoolSourcetide registrySuiSystemState | Shared, mutablev1 | 18 |
| 16 | StakingStaking0x47b224762220393057ebf4f70501b6e657c3e56684737568439a04f80849b2caKindPoolSourcetide registryStaking | Shared, mutablev24060192 | 18 |
| 17 | 4.4019 SUI | Pure u64 | 19 |
| 18 | 0x475a…dc1b | Pure address | 21 |
Object changes7
Sui system stateSui system state0x0000000000000000000000000000000000000000000000000000000000000005KindPoolSourcetide registrySuiSystemStateChangedSharedv1069622489 to v1069622673
Dynamic field (QuoteAssetReserve<USDC>)Dynamic field (QuoteAssetReserve<USDC>)0x08b84706b32409d5543ff7dad5d35ca7a79e30425bbb90985a3f148b91a8b2f1KindPoolSourcetide registryField<String, QuoteAssetReserve<USDC>>ChangedOwned by object 0x2116…6278v1069622618 to v1069622673
Field Before After Change value.balance 884,157,523 880,301,581 -3,855,942 value.ideal_reserve_calc 12,128,086,830 12,130,775,396 +2,688,566 - value.balance884,157,523880,301,581-3,855,942
- value.ideal_reserve_calc12,128,086,83012,130,775,396+2,688,566
LiquidityPool<SUI>LiquidityPool<SUI>0x21167b2e981e2c0a693afcfe882a3a827d663118e19afcb92e45bfe43fe56278KindPoolSourcetide registryLiquidityPool<SUI>ChangedSharedv1069622651 to v1069622673
Field Before After Change base_reserve 9,490,451,177,370 9,494,852,487,242 +4,401,309,872 protocol_base_fees 967,235,789,903 967,236,230,078 +440,175 - base_reserve9,490,451,177,3709,494,852,487,242+4,401,309,872
- protocol_base_fees967,235,789,903967,236,230,078+440,175
StakingStaking0x47b224762220393057ebf4f70501b6e657c3e56684737568439a04f80849b2caKindPoolSourcetide registryStakingChangedSharedv1069621613 to v1069622673
Field Before After Change service_sui_vault.cache_pool 23,521,696,633,376 23,521,697,514,204 +880,828 stsui_supply 35,663,548,541,855,483 35,663,544,477,275,834 -4,064,579,649 stsui_treasury_cap.total_supply.value 35,663,548,541,855,483 35,663,544,477,275,834 -4,064,579,649 sui_vault.cache_pool 613,889,409,500 609,485,264,696 -4,404,144,804 total_unstaked 431,663,416,632,232,462 431,663,421,036,377,266 +4,404,144,804 - service_sui_vault.cache_pool23,521,696,633,37623,521,697,514,204+880,828
- stsui_supply35,663,548,541,855,48335,663,544,477,275,834-4,064,579,649
- stsui_treasury_cap.total_supply.value35,663,548,541,855,48335,663,544,477,275,834-4,064,579,649
- sui_vault.cache_pool613,889,409,500609,485,264,696-4,404,144,804
- total_unstaked431,663,416,632,232,462431,663,421,036,377,266+4,404,144,804
Dynamic field (u128)Dynamic field (u128)0x6e3216f4e24c73956e94577e76aca0e7a031ed155a0e741d0aaebf26df16b3c5KindPoolSourcetide registryField<String, u128>ChangedOwned by object 0xa318…fdf8v1069622618 to v1069622673
Field Before After Change value 98,373,284,928,483 98,373,284,928,491 +8 - value98,373,284,928,48398,373,284,928,491+8
DipCoin USDC/HAEDAL 0.0005% poolDipCoin USDC/HAEDAL 0.0005% pool0xc32efdd93920cfe6f0858f52156bb77a1ad2d01c208978d08ae108cbce4163a8KindPoolSourcetide registryPool<USDC, HAEDAL>ChangedSharedv1069622672 to v1069622673
Field Before After Change bal_x 13,060,297,893 13,064,153,835 +3,855,942 bal_y 446,137,562,347,926 446,005,948,720,315 -131,613,627,611 - bal_x13,060,297,89313,064,153,835+3,855,942
- bal_y446,137,562,347,926446,005,948,720,315-131,613,627,611
Cetus haSUI/HAEDAL 0.25% poolCetus haSUI/HAEDAL 0.25% pool0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8KindPoolSourcetide registryPool<HASUI, HAEDAL>ChangedSharedv1069622668 to v1069622673
Field Before After Change coin_a 78,153,150,134,837 78,149,085,555,188 -4,064,579,649 coin_b 2,565,796,398,456,712 2,565,928,012,084,323 +131,613,627,611 current_sqrt_price 104,835,462,483,090,186,064 104,840,565,548,742,524,774 +5,103,065,652,338,710 current_tick_index.bits 34751 34752 changed fee_growth_global_b 13,574,465,847,347,906,454 13,574,476,079,058,517,901 +10,231,710,611,447 fee_protocol_coin_b 138,465,704,714 138,531,511,528 +65,806,814 rewarder_manager.last_updated_time 1,793,657,551 1,793,657,552 +1 rewarder_manager.points_growth_global 1,234,127,829,648,648,152 1,234,127,868,518,903,333 +38,870,255,181 rewarder_manager.points_released 880,455,051,857,740,761,267,175,424,000,000 880,455,070,304,484,834,976,727,040,000,000 +18,446,744,073,709,551,616,000,000 - coin_a78,153,150,134,83778,149,085,555,188-4,064,579,649
- coin_b2,565,796,398,456,7122,565,928,012,084,323+131,613,627,611
- current_sqrt_price104,835,462,483,090,186,064104,840,565,548,742,524,774+5,103,065,652,338,710
- current_tick_index.bits3475134752changed
- fee_growth_global_b13,574,465,847,347,906,45413,574,476,079,058,517,901+10,231,710,611,447
Show 4 moreShow fewer
- fee_protocol_coin_b138,465,704,714138,531,511,528+65,806,814
- rewarder_manager.last_updated_time1,793,657,5511,793,657,552+1
- rewarder_manager.points_growth_global1,234,127,829,648,648,1521,234,127,868,518,903,333+38,870,255,181
- rewarder_manager.points_released880,455,051,857,740,761,267,175,424,000,000880,455,070,304,484,834,976,727,040,000,000+18,446,744,073,709,551,616,000,000
Events4
0xf6a6…4b1b1
- pool::SwapExecutedV20xf6a6…4b1b: swap executed v2.
- amount_in
- 4,401,750,047
- amount_out
- 3,855,942
- base_liquidity
- 9,494,852,487,242
- dynamic_fee_pct
- 0
- ideal_quote_amt
- 12,130,775,396
- is_buy
- false
- lp_fee
- 1
- pool_id
- 0x2116…6278
- price_used
- 1,141,435,691,228,370,600,000
- protocol_fee
- 440,175
- quote_reserve_amount
- 880,301,581
- swap_fee
- 440,176
- total_fee_pct
- 1,000
- trader
- 0x475a…dc1b
JSON
{ "amount_in": "4401750047", "amount_out": "3855942", "base_liquidity": "9494852487242", "dynamic_fee_pct": "0", "ideal_quote_amt": "12130775396", "is_buy": false, "lp_fee": "1", "pool_id": "0x21167b2e981e2c0a693afcfe882a3a827d663118e19afcb92e45bfe43fe56278", "price_used": "1141435691228370542443", "protocol_fee": "440175", "quote_reserve_amount": "880301581", "swap_fee": "440176", "total_fee_pct": "1000", "trader": "0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1b" }
DipCoin1
- event::SwapEventDipCoin: swap event.
- fee_x
- 0
- fee_y
- 0
- lp_name
- LP-dba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC-3a304c7feba2d819ea57c3542d68439ca2c386ba02159c740f7b406e592c62ea::haedal::HAEDAL
- value_x_in
- 3,855,942
- value_x_out
- 0
- value_y_in
- 0
- value_y_out
- 131,613,627,611
JSON
{ "fee_x": "0", "fee_y": "0", "lp_name": "LP-dba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC-3a304c7feba2d819ea57c3542d68439ca2c386ba02159c740f7b406e592c62ea::haedal::HAEDAL", "value_x_in": "3855942", "value_x_out": "0", "value_y_in": "0", "value_y_out": "131613627611" }
Cetus1
- pool::SwapEventCetus swap: 131.61 HAEDAL in, 4.0646haSUI out, repaid later in the same transaction.
- after_sqrt_price
- 104,840,565,548,742,520,000
- amount_in
- 131,613,627,611
- amount_out
- 4,064,579,649
- atob
- false
- before_sqrt_price
- 104,835,462,483,090,180,000
- fee_amount
- 329,034,070
- partner
- System
- pool
- 0xf7bc…1da8
- ref_amount
- 0
- steps
- 1
- vault_a_amount
- 78,153,150,134,837
- vault_b_amount
- 2,565,796,398,456,712
JSON
{ "after_sqrt_price": "104840565548742524774", "amount_in": "131613627611", "amount_out": "4064579649", "atob": false, "before_sqrt_price": "104835462483090186064", "fee_amount": "329034070", "partner": "0x0000000000000000000000000000000000000000000000000000000000000000", "pool": "0xf7bc4e73819a9e90d87b6eb40436dae7b620b16574c33e8f5d439ccc99201da8", "ref_amount": "0", "steps": "1", "vault_a_amount": "78153150134837", "vault_b_amount": "2565796398456712" }
Haedal1
- staking::UserInstantUnstakedHaedal: user instant unstaked.
- owner
- 0x475a…dc1b
- st_amount
- 4,064,579,649
- sui_amount
- 4,404,144,804
JSON
{ "owner": "0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1b", "st_amount": "4064579649", "sui_amount": "4404144804" }
Gas
Paid
0.000131493SUI
$0.00012
- Computation
- 0.000128SUI
- Storage
- 0.0349296SUI
- Storage rebate
- 0.034926107SUIto0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
- Kept by storage fund
- 0.000003493SUI
- Budget
- 0.02SUI0.7% used
- Gas price
- 128 MIST1.28x reference
- Paid by
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
Raw JSON
/v1/tx/2JsMzTJzji1VUFKXMxLoZS4riFVyusv9Cfn5TRec68RT?raw=1{
"digest": "2JsMzTJzji1VUFKXMxLoZS4riFVyusv9Cfn5TRec68RT",
"kind": "programmable",
"classification": "flash_loan",
"classLabel": "Flash Loan",
"status": {
"ok": true
},
"sender": {
"address": "0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1b",
"short": "0x475a…dc1b",
"suins": null,
"label": null,
"display": "0x475a…dc1b"
},
"sponsor": null,
"checkpoint": 340992159,
"checkpointIndex": 32,
"epoch": 1299,
"timestamp": {
"ms": 1793657552081,
"iso": "2026-11-02T22:12:32.081Z"
},
"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",
"url": "https://haedal.xyz",
"logoUrl": null
},
"packages": [
"0x126e4cfb051cad744706df590ec399e8c02b6feae195c35b8b496280d5442a62"
]
}