Flash Loan
SuccessBorrowed 3,802.86CETUS by flash loan from a lender and repaid the vault with 74.9USDC. The sender kept 3,802.86CETUS and paid 0.0035SUI gas.
Net result for sender
Total +$0.06 at the time
- Gas
- 0.0035SUI$0.0030
- Before gas
- +3,802.86CETUS$74.96-74.9015USDC$74.90
- Flash loan
- 3,802.86CETUSfromCetus USDC/CETUS 0.25% poolCetus USDC/CETUS 0.25% pool0x3b13ac70030d587624e407bbe791160b459c48f1049e04269eb8ee731f5442b4KindPoolSourcetide registryrepaid
- Digest
- 9kiUga…NhC6
- Sender
- 0x406a…918aAddress0x406a7007c85532e156e467597b535bce44ed13200c40cab0e3489c724881918aLabelNone knownBot
- Time
- 2026-11-03 07:27:30 UTC
- Checkpoint
- 341,128,613
- Protocols
- Cetus
Insight1
- Price impact
- Moved the Cetus USDC/CETUS 0.25% poolCetus USDC/CETUS 0.25% pool0x3b13ac70030d587624e407bbe791160b459c48f1049e04269eb8ee731f5442b4KindPoolSourcetide registry price by -0.065%. Paid 0.282% below the pool price before the trade.
What happened8 steps
- 1Called an unlabelled contract (m::
gc).Command 0 - 2Withdrew funds from the address balance (1 command).Command 1
- 3Flash-swapped 74.9USDC for 3,802.86CETUS on Cetus USDC/CETUS 0.25% poolCetus USDC/CETUS 0.25% pool0x3b13ac70030d587624e407bbe791160b459c48f1049e04269eb8ee731f5442b4KindPoolSourcetide registry, paying later.Command 2
- 4Moved coins around (1 command).Command 3
- 5Repaid the Cetus flash swap with 74.9USDC.Command 4
- 6Moved coins around (1 command).Command 5
- 7Called an unlabelled contract (m::
gz).Command 6 - 8Sent the CETUS to the address balance of 0x406a…918aAddress0x406a7007c85532e156e467597b535bce44ed13200c40cab0e3489c724881918aLabelNone known.Command 7
Balance changes1
- 0x406a…918aAddress0x406a7007c85532e156e467597b535bce44ed13200c40cab0e3489c724881918aLabelNone knownSender
- -0.0035SUI-$0.0030
- +3,802.86CETUS+$74.96
- -74.9015USDC-$74.90
Details
- Time (UTC)
- 2026-11-03 07:27:30 UTC
- Before gas
- +3,802.86CETUS$74.96-74.9015USDC$74.90
- Epoch
- 1,300
- Position in checkpoint
- tx 24
- Signature
- Signed with Ed25519 by 0x406a…918a
- Programmable
- 8 commands, 10 inputs
- Expires
- Never
- Size
- 1,391 bytes
Commands8
- 0
Called m::
gc in an unlabelled contract. 0xf0a7…cbd8::
m:: gc<USDC, CETUS> Cetus USDC/CETUS 0.25% pool4,155,655,558,116,190,289,753true - 1
Withdrew 74.9015USDC from the sender's address balance.
Sui Framework0x0000…0002::
balance:: redeem_funds<USDC> 74.9015 USDC from the sender's address balanceBalance<USDC>to 4 - 2
Flash-swapped 74.9USDC for 3,802.86CETUS on Cetus USDC/CETUS 0.25% poolCetus USDC/CETUS 0.25% pool0x3b13ac70030d587624e407bbe791160b459c48f1049e04269eb8ee731f5442b4KindPoolSourcetide registry; returns the CETUS and a repayment receipt.
0xf0a7…cbd8::
w:: cetus_flash_swap<USDC, CETUS> GlobalConfigCetus USDC/CETUS 0.25% pooltruetrue74,901,5042,077,827,779,058,095,144,876Clock2.0Balance<USDC>to 52.1Balance<CETUS>to 62.2FlashSwapReceipt<USDC, CETUS>to 4 - 3
Ran balance::
zero from the Sui framework. Sui Framework0x0000…0002::
balance:: zero<CETUS> Balance<CETUS>to 4 - 4
Repaid the lender with 74.9USDC and kept the rest.
0xf0a7…cbd8::
w:: cetus_repay_flash_swap<USDC, CETUS> GlobalConfigCetus USDC/CETUS 0.25% pool1Result 13Result 32.2Result 2.2 - 5
Ran balance::
destroy_zero from the Sui framework. Sui Framework0x0000…0002::
balance:: destroy_zero<USDC> 2.0Result 2.0 - 6
Called m::
gz in an unlabelled contract; returns CETUS. 0xf0a7…cbd8::
m:: gz<CETUS> 2.1Result 2.13,790,545,302,162Coin<CETUS>to 7 - 7
Sent the CETUS to the address balance of 0x406a…918aAddress0x406a7007c85532e156e467597b535bce44ed13200c40cab0e3489c724881918aLabelNone known.
Sui Framework0x0000…0002::
coin:: send_funds<CETUS> 6Result 60x406a…918a
Inputs10Already shown inline above. Full list with kinds and versions.
| # | Value | Kind | Used by |
|---|---|---|---|
| 0 | Cetus USDC/CETUS 0.25% poolCetus USDC/CETUS 0.25% pool0x3b13ac70030d587624e407bbe791160b459c48f1049e04269eb8ee731f5442b4KindPoolSourcetide registryPool<USDC, CETUS> | Shared, mutablev373726243 | 0, 2, 4 |
| 1 | 4,155,655,558,116,190,289,753 | Pure u128 | 0 |
| 2 | true | Pure bool | 0, 2 |
| 3 | 74.9015 USDC from the sender's address balance | funds withdrawal | 1 |
| 4 | 74,901,504 | Pure u64 | 2 |
| 5 | 2,077,827,779,058,095,144,876 | Pure u128 | 2 |
| 6 | ClockClock0x0000000000000000000000000000000000000000000000000000000000000006KindPoolSourcetide registryClock | Shared, read onlyv1 | 2 |
| 7 | GlobalConfigGlobalConfig0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8fKindPoolSourcetide registryGlobalConfig | Shared, read onlyv1574190 | 2, 4 |
| 8 | 3,790,545,302,162 | Pure u64 | 6 |
| 9 | 0x406a…918a | Pure address | 7 |
Object changes1
Cetus USDC/CETUS 0.25% poolCetus USDC/CETUS 0.25% pool0x3b13ac70030d587624e407bbe791160b459c48f1049e04269eb8ee731f5442b4KindPoolSourcetide registryPool<USDC, CETUS>ChangedSharedv1069952174 to v1069952249
Field Before After Change coin_a 226,678,705,279 226,753,606,783 +74,901,504 coin_b 11,839,478,775,858,958 11,835,675,912,296,831 -3,802,863,562,127 current_sqrt_price 4,162,402,466,546,579,382,729 4,161,047,540,692,539,305,901 -1,354,925,854,040,076,828 current_tick_index.bits 108384 108378 changed fee_growth_global_a 54,448,695,645,595,991 54,448,749,019,048,495 +53,373,452,504 fee_protocol_coin_a 3,573,962 3,611,413 +37,451 rewarder_manager.last_updated_time 1,793,690,816 1,793,690,850 +34 rewarder_manager.points_growth_global 68,465,961,861,892,012,690 68,465,973,975,784,158,638 +12,113,892,145,948 rewarder_manager.points_released 1,204,404,116,813,793,341,994,958,848,000,000 1,204,404,744,003,091,848,119,713,792,000,000 +627,189,298,506,124,754,944,000,000 - coin_a226,678,705,279226,753,606,783+74,901,504
- coin_b11,839,478,775,858,95811,835,675,912,296,831-3,802,863,562,127
- current_sqrt_price4,162,402,466,546,579,382,7294,161,047,540,692,539,305,901-1,354,925,854,040,076,828
- current_tick_index.bits108384108378changed
- fee_growth_global_a54,448,695,645,595,99154,448,749,019,048,495+53,373,452,504
Show 4 moreShow fewer
- fee_protocol_coin_a3,573,9623,611,413+37,451
- rewarder_manager.last_updated_time1,793,690,8161,793,690,850+34
- rewarder_manager.points_growth_global68,465,961,861,892,012,69068,465,973,975,784,158,638+12,113,892,145,948
- rewarder_manager.points_released1,204,404,116,813,793,341,994,958,848,000,0001,204,404,744,003,091,848,119,713,792,000,000+627,189,298,506,124,754,944,000,000
Events1
Cetus1
- pool::SwapEventCetus swap: 74.9USDC in, 3,802.86CETUS out, repaid later in the same transaction.
- after_sqrt_price
- 4,161,047,540,692,539,000,000
- amount_in
- 74,901,504
- amount_out
- 3,802,863,562,127
- atob
- true
- before_sqrt_price
- 4,162,402,466,546,579,400,000
- fee_amount
- 187,254
- partner
- System
- pool
- 0x3b13…42b4
- ref_amount
- 0
- steps
- 1
- vault_a_amount
- 226,678,705,279
- vault_b_amount
- 11,839,478,775,858,958
JSON
{ "after_sqrt_price": "4161047540692539305901", "amount_in": "74901504", "amount_out": "3802863562127", "atob": true, "before_sqrt_price": "4162402466546579382729", "fee_amount": "187254", "partner": "0x0000000000000000000000000000000000000000000000000000000000000000", "pool": "0x3b13ac70030d587624e407bbe791160b459c48f1049e04269eb8ee731f5442b4", "ref_amount": "0", "steps": "1", "vault_a_amount": "226678705279", "vault_b_amount": "11839478775858958" }
Gas
Paid
0.003483748SUI
$0.0030
- Computation
- 0.003483SUI
- Storage
- 0.0074784SUI
- Storage rebate
- 0.007477652SUIto0x406a…918aAddress0x406a7007c85532e156e467597b535bce44ed13200c40cab0e3489c724881918aLabelNone known
- Kept by storage fund
- 0.000000748SUI
- Budget
- 0.06966SUI5.0% used
- Gas price
- 3,483 MIST34.83x reference
- Paid by
- 0x406a…918aAddress0x406a7007c85532e156e467597b535bce44ed13200c40cab0e3489c724881918aLabelNone known
Raw JSON
/v1/tx/9kiUgaiVQuFWPorAMpb4mtjQmpCL2qR9Au6teerHNhC6?raw=1{
"digest": "9kiUgaiVQuFWPorAMpb4mtjQmpCL2qR9Au6teerHNhC6",
"kind": "programmable",
"classification": "flash_loan",
"classLabel": "Flash Loan",
"status": {
"ok": true
},
"sender": {
"address": "0x406a7007c85532e156e467597b535bce44ed13200c40cab0e3489c724881918a",
"short": "0x406a…918a",
"suins": null,
"label": null,
"display": "0x406a…918a"
},
"sponsor": null,
"checkpoint": 341128613,
"checkpointIndex": 23,
"epoch": 1300,
"timestamp": {
"ms": 1793690850867,
"iso": "2026-11-03T07:27:30.867Z"
},
"protocols": [
{
"project": {
"id": "cetus",
"name": "Cetus",
"category": "DEX",
"url": "https://www.cetus.zone",
"logoUrl": null
},
"packages": [
"0xf0a7f93973fbbe0cc82de47109b7dfd41a17b48a1361638fac36111fc4c0cbd8"
]
}
],
"summary": {
"sentence": "Borrowed 3,802.86 CETUS by flash loan from a lender and repaid the vault with 74.9 USDC. The sender kept 3,802.86 CETUS and paid 0.0035 SUI gas.",
"steps": [
{
"index": 0,
"sentence": "Called an unlabelled contract (m::gc).",
"commands": [
0
],
"kind": "contract_call",
"project": null
},
{
"index": 1,
"sentence": "Withdrew funds from the address balance (1 command).",
"commands": [
1
],
"kind": "coin_handling",
"project": {
"id": "sui",
"name": "Sui Framework",
"category": "System",