Flash Loan
SuccessBorrowed 54.54USDC by flash loan from a Momentum vault and repaid the vault with 13.7SUI. The sender kept 54.57BUCK and paid 0.0043SUI gas.
Net result for sender
Total -$0.15 at the time
- Gas
- 0.0043SUI$0.02
- Before gas
- -13.7SUI$54.76+54.5745BUCK$54.63
- Flash loan
- 54.5422USDCfromMomentum SUI/USDC poolMomentum SUI/USDC pool0x455cf8d2ac91e7cb883f515874af750ed3cd18195c970b7a2d46235ac2b0c388KindPoolSourcetide registryrepaid
- Flash loan
- 54.5745BUCKfromMomentum BUCK/USDC poolMomentum BUCK/USDC pool0x4f4cdb17d66527ddc43f696a5c7ee499374e38a6fbb58b236a7491cf63f4d133KindPoolSourcetide registryrepaid
- Digest
- BPomnt…6FYH
- Sender
- 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known
- Time
- 2025-07-16 14:25:36 UTC
- Checkpoint
- 168,307,557
- Protocols
- Momentum
What happened20 steps
- 1Split coins (2 commands).Commands 0 to 1
- 2Flash-swapped 13.7SUI for 54.54USDC on Momentum SUI/USDC poolMomentum SUI/USDC pool0x455cf8d2ac91e7cb883f515874af750ed3cd18195c970b7a2d46235ac2b0c388KindPoolSourcetide registry, paying later.Command 2
- 3Moved coins around (2 commands).Commands 3 to 4
- 4Repaid the Momentum flash swap with 13.7SUI.Command 5
- 5Split coins (3 commands).Commands 6 to 8
- 6Called Momentum (trade::
repay_flash_swap).Command 9 - 7Called an unlabelled contract (slippage_check::
assert_slippage).Command 10 - 8Moved coins around (1 command).Command 11
- 9Sent the SUI to 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known.Command 12
- 10Moved coins around (1 command).Command 13
- 11Flash-swapped 54.54USDC for 54.57BUCK on Momentum BUCK/USDC poolMomentum BUCK/USDC pool0x4f4cdb17d66527ddc43f696a5c7ee499374e38a6fbb58b236a7491cf63f4d133KindPoolSourcetide registry, paying later.Command 14
- 12Moved coins around (2 commands).Commands 15 to 16
- 13Repaid the Momentum flash swap with 54.54USDC.Command 17
- 14Split coins (3 commands).Commands 18 to 20
- 15Called Momentum (trade::
repay_flash_swap).Command 21 - 16Called an unlabelled contract (slippage_check::
assert_slippage).Command 22 - 17Moved coins around (1 command).Command 23
- 18Sent the USDC to 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known.Command 24
- 19Moved coins around (1 command).Command 25
- 20Sent the BUCK to 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known.Command 26
Balance changes1
- 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone knownSender
- -13.7043SUI-$54.78
- +54.5745BUCK+$54.63
Details
- Time (UTC)
- 2025-07-16 14:25:36 UTC
- Before gas
- -13.7SUI$54.76+54.5745BUCK$54.63
- Epoch
- 825
- Position in checkpoint
- tx 5
- Signature
- Signed with Ed25519 by 0x55c4…0510
- Programmable
- 27 commands, 18 inputs
- Expires
- Never
- Size
- 3,203 bytes
Commands27
- 0
Split 13.7SUI off Gas coin.
SplitCoins
Gas coin13.7 SUI13.7 SUIto 1, 6, 12 - 1
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<SUI> 0.0Result 0.0u64to 2 - 2
Flash-swapped 13.7SUI for 54.54USDC on Momentum SUI/USDC poolMomentum SUI/USDC pool0x455cf8d2ac91e7cb883f515874af750ed3cd18195c970b7a2d46235ac2b0c388KindPoolSourcetide registry; returns the USDC and a repayment receipt.
Momentum@mmt/clmm-core::
trade:: flash_swap<SUI, USDC> Momentum SUI/USDC pooltruetrue1Result 11,162,176,653,524,027,4550x0000…00060x2375…1b2a2.0Balance<SUI>to 32.1Balance<USDC>to 112.2FlashSwapReceiptto 5, 9 - 3
Ran balance::
destroy_zero from the Sui framework. Sui Framework0x0000…0002::
balance:: destroy_zero<SUI> 2.0Result 2.0 - 4
Made an empty USDC coin.
Sui Framework0x0000…0002::
coin:: zero<USDC> Coin<USDC>to 8 - 5
Repaid Momentum with 13.7SUI and kept the rest.
Momentum@mmt/clmm-core::
trade:: swap_receipt_debts 2.2Result 2.25.0u64to 65.1u64unused - 6
Ran coin::
split from the Sui framework. Sui Framework0x0000…0002::
coin:: split<SUI> 0.0Result 0.05.0Result 5.0Coin<SUI>to 7 - 7
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<SUI> 6Result 6Balance<SUI>to 9 - 8
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<USDC> 4.0Result 4.0Balance<USDC>to 9 - 9
Called trade::
repay_flash_swap in Momentum. Momentum@mmt/clmm-core::
trade:: repay_flash_swap<SUI, USDC> Momentum SUI/USDC pool2.2Result 2.27Result 78Result 80x2375…1b2a - 10
Called slippage_check::
assert_slippage in an unlabelled contract. 0x8add…abe6::
slippage_check:: assert_slippage<SUI, USDC> Momentum SUI/USDC pool1,162,176,653,524,027,455true - 11
Ran coin::
from_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: from_balance<USDC> 2.1Result 2.1Coin<USDC>to 13, 18, 24 - 12
Sent the SUI to 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known.
TransferObjects
0.0Result 0.00x55c4…0510 - 13
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<USDC> 11Result 11u64to 14 - 14
Flash-swapped 54.54USDC for 54.57BUCK on Momentum BUCK/USDC poolMomentum BUCK/USDC pool0x4f4cdb17d66527ddc43f696a5c7ee499374e38a6fbb58b236a7491cf63f4d133KindPoolSourcetide registry; returns the BUCK and a repayment receipt.
Momentum@mmt/clmm-core::
trade:: flash_swap<BUCK, USDC> Momentum BUCK/USDC poolfalsetrue13Result 13584,591,599,785,757,4770x0000…00060x2375…1b2a14.0Balance<BUCK>to 2314.1Balance<USDC>to 1514.2FlashSwapReceiptto 17, 21 - 15
Ran balance::
destroy_zero from the Sui framework. Sui Framework0x0000…0002::
balance:: destroy_zero<USDC> 14.1Result 14.1 - 16
Made an empty BUCK coin.
Sui Framework0x0000…0002::
coin:: zero<BUCK> Coin<BUCK>to 19 - 17
Repaid Momentum with 54.54USDC and kept the rest.
Momentum@mmt/clmm-core::
trade:: swap_receipt_debts 14.2Result 14.217.0u64unused17.1u64to 18 - 18
Ran coin::
split from the Sui framework. Sui Framework0x0000…0002::
coin:: split<USDC> 11Result 1117.1Result 17.1Coin<USDC>to 20 - 19
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<BUCK> 16.0Result 16.0Balance<BUCK>to 21 - 20
Ran coin::
into_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: into_balance<USDC> 18Result 18Balance<USDC>to 21 - 21
Called trade::
repay_flash_swap in Momentum. Momentum@mmt/clmm-core::
trade:: repay_flash_swap<BUCK, USDC> Momentum BUCK/USDC pool14.2Result 14.219Result 1920Result 200x2375…1b2a - 22
Called slippage_check::
assert_slippage in an unlabelled contract. 0x8add…abe6::
slippage_check:: assert_slippage<BUCK, USDC> Momentum BUCK/USDC pool584,591,599,785,757,477false - 23
Ran coin::
from_balance from the Sui framework. Sui Framework0x0000…0002::
coin:: from_balance<BUCK> 14.0Result 14.0Coin<BUCK>to 25, 26 - 24
Sent the USDC to 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known.
TransferObjects
11Result 110x55c4…0510 - 25
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<BUCK> 23Result 23u64unused - 26
Sent the BUCK to 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known.
TransferObjects
23Result 230x55c4…0510
Inputs18Already shown inline above. Full list with kinds and versions.
| # | Value | Kind | Used by |
|---|---|---|---|
| 0 | 13.7 SUI | Pure u64 | 0 |
| 1 | Momentum SUI/USDC poolMomentum SUI/USDC pool0x455cf8d2ac91e7cb883f515874af750ed3cd18195c970b7a2d46235ac2b0c388KindPoolSourcetide registryPool<SUI, USDC> | Shared, mutablev499761256 | 2, 9, 10 |
| 2 | true | Pure bool | 2 |
| 3 | true | Pure bool | 2 |
| 4 | 1,162,176,653,524,027,455 | Pure u128 | 2 |
| 5 | 0x0000…0006Address0x0000000000000000000000000000000000000000000000000000000000000006LabelNone known | Shared, read onlyv1 | 2, 14 |
| 6 | 0x2375…1b2aAddress0x2375a0b1ec12010aaea3b2545acfa2ad34cfbba03ce4b59f4c39e1e25eed1b2aLabelNone known | Shared, read onlyv499761252 | 2, 9, 14, 21 |
| 7 | 1,162,176,653,524,027,455 | Pure u128 | 10 |
| 8 | true | Pure bool | 10 |
| 9 | 0x55c4…0510 | Pure address | 12 |
| 10 | Momentum BUCK/USDC poolMomentum BUCK/USDC pool0x4f4cdb17d66527ddc43f696a5c7ee499374e38a6fbb58b236a7491cf63f4d133KindPoolSourcetide registryPool<BUCK, USDC> | Shared, mutablev499761263 | 14, 21, 22 |
| 11 | false | Pure bool | 14 |
| 12 | true | Pure bool | 14 |
| 13 | 584,591,599,785,757,477 | Pure u128 | 14 |
| 14 | 584,591,599,785,757,477 | Pure u128 | 22 |
| 15 | false | Pure bool | 22 |
| 16 | 0x55c4…0510 | Pure address | 24 |
| 17 | 0x55c4…0510 | Pure address | 26 |
Object changes7
USDC coinUSDC coin0xa43dcc8bf08dd1c137ed23fea0a9864df88442625da5f1f6f2f085d518a0b632KindPoolSourcetide registryCoin<USDC>CreatedOwned by 0x55c4…0510new to v591090793
BUCK coinBUCK coin0x2306d146232f1a97948a6ded4b6f3babed56e4ff2c151ccbaa89c46f4ddd582cKindPoolSourcetide registryCoin<BUCK>CreatedOwned by 0x55c4…0510new to v591090793
SUI coinSUI coin0x53c0aeb33ed6b0b484d848604c25d68a257622c91fcda8582cfdcd52a8db6280KindPoolSourcetide registryCoin<SUI>CreatedOwned by 0x55c4…0510new to v591090793
Momentum SUI/USDC poolMomentum SUI/USDC pool0x455cf8d2ac91e7cb883f515874af750ed3cd18195c970b7a2d46235ac2b0c388KindPoolSourcetide registryPool<SUI, USDC>ChangedSharedv591090645 to v591090793
Momentum BUCK/USDC poolMomentum BUCK/USDC pool0x4f4cdb17d66527ddc43f696a5c7ee499374e38a6fbb58b236a7491cf63f4d133KindPoolSourcetide registryPool<BUCK, USDC>ChangedSharedv591090792 to v591090793
SUI coinSUI coin0x7656d404a3c28524249e929e6ccdbe39c2bd0729210eef31872c1bd5d3291d85KindPoolSourcetide registryCoin<SUI>ChangedOwned by 0x55c4…0510v591089401 to v591090793
SUI coinSUI coin0x146714842dd9dc4ea5a8a13b56855310ddeeac395ab13d5170301172abd3f668KindPoolSourcetide registryCoin<SUI>DeletedOwned by 0x55c4…0510v591089401
Events4
Momentum4
- trade::SwapEventMomentum swap: 13.7SUI in, 54.54USDC out, repaid later in the same transaction.
- sender
- 0x55c4…0510
- pool_id
- 0x455c…c388
- x_for_y
- true
- amount_x
- 13,700,000,000
- amount_y
- 54,542,225
- sqrt_price_before
- 1,165,093,033,876,009,200
- sqrt_price_after
- 1,165,092,979,237,125,600
- liquidity
- 18,414,111,145,369,428
- tick_index
- {"bits":4294912051}
- fee_amount
- 21,920,000
- protocol_fee
- 5,480,000
- reserve_x
- 1,188,764,198,532,216
- reserve_y
- 10,224,823,127,565
JSON
{ "sender": "0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510", "pool_id": "0x455cf8d2ac91e7cb883f515874af750ed3cd18195c970b7a2d46235ac2b0c388", "x_for_y": true, "amount_x": "13700000000", "amount_y": "54542225", "sqrt_price_before": "1165093033876009105", "sqrt_price_after": "1165092979237125567", "liquidity": "18414111145369428", "tick_index": { "bits": 4294912051 }, "fee_amount": "21920000", "protocol_fee": "5480000", "reserve_x": "1188764198532216", "reserve_y": "10224823127565" } - trade::RepayFlashSwapEventMomentum flash loan repaid: 13.7SUI into the vault.
- sender
- 0x55c4…0510
- pool_id
- 0x455c…c388
- amount_x_debt
- 13,700,000,000
- amount_y_debt
- 0
- paid_x
- 13,700,000,000
- paid_y
- 0
- reserve_x
- 1,188,777,898,532,216
- reserve_y
- 10,224,823,127,565
JSON
{ "sender": "0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510", "pool_id": "0x455cf8d2ac91e7cb883f515874af750ed3cd18195c970b7a2d46235ac2b0c388", "amount_x_debt": "13700000000", "amount_y_debt": "0", "paid_x": "13700000000", "paid_y": "0", "reserve_x": "1188777898532216", "reserve_y": "10224823127565" } - trade::SwapEventMomentum swap: 54.54USDC in, 54.57BUCK out, repaid later in the same transaction.
- sender
- 0x55c4…0510
- pool_id
- 0x4f4c…d133
- x_for_y
- false
- amount_x
- 54,574,500,532
- amount_y
- 54,542,225
- sqrt_price_before
- 583,135,582,880,703,700
- sqrt_price_after
- 583,135,586,083,906,200
- liquidity
- 314,068,766,474,835,600
- tick_index
- {"bits":4294898208}
- fee_amount
- 4,364
- protocol_fee
- 1,091
- reserve_x
- 2,963,194,516,810,603
- reserve_y
- 1,056,971,824,930
JSON
{ "sender": "0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510", "pool_id": "0x4f4cdb17d66527ddc43f696a5c7ee499374e38a6fbb58b236a7491cf63f4d133", "x_for_y": false, "amount_x": "54574500532", "amount_y": "54542225", "sqrt_price_before": "583135582880703784", "sqrt_price_after": "583135586083906223", "liquidity": "314068766474835599", "tick_index": { "bits": 4294898208 }, "fee_amount": "4364", "protocol_fee": "1091", "reserve_x": "2963194516810603", "reserve_y": "1056971824930" } - trade::RepayFlashSwapEventMomentum flash loan repaid: 13.7SUI into the vault.
- sender
- 0x55c4…0510
- pool_id
- 0x4f4c…d133
- amount_x_debt
- 0
- amount_y_debt
- 54,542,225
- paid_x
- 0
- paid_y
- 54,542,225
- reserve_x
- 2,963,194,516,810,603
- reserve_y
- 1,057,026,367,155
JSON
{ "sender": "0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510", "pool_id": "0x4f4cdb17d66527ddc43f696a5c7ee499374e38a6fbb58b236a7491cf63f4d133", "amount_x_debt": "0", "amount_y_debt": "54542225", "paid_x": "0", "paid_y": "54542225", "reserve_x": "2963194516810603", "reserve_y": "1057026367155" }
Gas
Paid
0.004284932SUI
$0.02
- Computation
- 0.00148SUI
- Storage
- 0.018658SUI
- Storage rebate
- 0.015853068SUIto0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known
- Kept by storage fund
- 0.000160132SUI
- Budget
- 0.006981172SUI61.4% used
- Gas price
- 740 MIST740.00x reference
- Paid by
- 0x55c4…0510Address0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510LabelNone known
Raw JSON
/v1/tx/BPomnt9pmPmAxhFeLoc1EFLXPK2eFa79HvTa2SAb6FYH?raw=1{
"digest": "BPomnt9pmPmAxhFeLoc1EFLXPK2eFa79HvTa2SAb6FYH",
"kind": "programmable",
"classification": "flash_loan",
"classLabel": "Flash Loan",
"status": {
"ok": true
},
"sender": {
"address": "0x55c46f5465ff4a77e2363a3cb810355ca9fd38cdca9bd73e91bc984c18580510",
"short": "0x55c4…0510",
"suins": null,
"label": null,
"display": "0x55c4…0510"
},
"sponsor": null,
"checkpoint": 168307557,
"checkpointIndex": 4,
"epoch": 825,
"timestamp": {
"ms": 1752675936733,
"iso": "2025-07-16T14:25:36.733Z"
},
"protocols": [
{
"project": {
"id": "momentum",
"name": "Momentum",
"category": "DEX",
"url": "https://mmt.finance",
"logoUrl": null
},
"packages": [
"0xc84b1ef2ac2ba5c3018e2b8c956ba5d0391e0e46d1daa1926d5a99a6a42526b4"
]
}
],
"summary": {
"sentence": "Borrowed 54.54 USDC by flash loan from a Momentum vault and repaid the vault with 13.7 SUI. The sender kept 54.57 BUCK and paid 0.0043 SUI gas.",
"steps": [
{
"index": 0,
"sentence": "Split coins (2 commands).",
"commands": [
0,
1
],
"kind": "coin_handling",
"project": {
"id": "sui",
"name": "Sui Framework",
"category": "System",
"url": "https://sui.io",
"logoUrl": null
}
},
{
"index": 1,
"sentence": "Flash-swapped 13.7 SUI for 54.54 USDC on Momentum SUI/USDC pool, paying later.",
"commands": [