swap-x-for-y

Function call
Confirmed in anchor block
Summary
Transaction ID
0x7d84f98f24af258f5c227a4459e163886333b1349877569c56c679e3fb1e43f8
Fees
0.0025 STX
Nonce
0
Block height
#76641
3 months ago
Events
(tuple (action "swap-x-for-y") (data (tuple (balance-x u1162746892270) (balance-y u11073500990519) (fee-balance-x u376690098) (fee-balance-y u3197527470) (fee-to-address 'SP3QSWXQQJ5BKCVZBY1BH3BPGVX4MZPRKKG8CBDGR) (liquidity-token 'SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.liquidity-token-stx-stsw) (name "STX-STSW") (shares-total u3582403838933))) (object "pair"))
Contract log ∙ Print
0
STX transfer
1
s
stsw
Transfer94,950,805.00 STSSP1Z9…4F275.liquidity-token-stx-stswSP1S0…Z0D1XFungible token
2
Function called
Function
swap-x-for-y
Result
Success
(ok (list u10000000 u94950805))(response (list 2 uint))
Arguments
token-x-trait
'SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.wstx-token-v4atrait_reference
token-y-trait
'SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.stsw-token-v4atrait_reference
token-liquidity-trait
'SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.liquidity-token-stx-stswtrait_reference
dx
10,000,000Unsigned Integer
min-dy
90,202,681Unsigned Integer
Post conditions
Deny mode
SP1S0HK7…ZDDZ0D1XTransfers exactly 10 STX
s
SP1Z92MP…J304F275.liquidity-token-stx-stswTransfers at least 90,202,681.00 STS
Source codeView deployment
See all 388 lines
Contract details

stackswap-swap-v5k

0x4fafa2de…c7af9d9f
14 functions
18 variables
3 maps
0 tokens
Bitcoin anchor
Bitcoin block height
#755089
Bitcoin block hash
Anchor transaction ID