swap-y-for-x

Function call
Confirmed in anchor block
Summary
Transaction ID
0xba394cc1f648840030436ee44f61ef8bc5f6fdb09ffea160494e32aa26b022bc
Fees
0.1884 STX
Nonce
31
Block height
#38857
2 months ago
Events
(tuple (action "swap-y-for-x") (data (tuple (balance-x u34095286620) (balance-y u2908071) (fee-balance-x u4087514) (fee-balance-y u320) (fee-to-address SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275) (liquidity-token SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.liquidity-token-v5kmnws5cgl) (name "STX-MIA") (shares-total u314135461))) (object "pair"))
Contract log ∙ Print
0
STX transfer
1
m
miamicoin
Transfer5,000.00 MIASP2SV…8WMJASP1Z9…4F275.liquidity-token-v5kmnws5cglFungible token
2
Function called
Function
swap-y-for-x
Result
Success
(ok (list u58546582 u5000))(response (list 2 uint))
Arguments
token-x-trait
SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.wstx-token-v4atrait_reference
token-y-trait
SP466FNC0P7JWTNM2R9T199QRZN1MYEDTAR0KP27.miamicoin-tokentrait_reference
token-liquidity-trait
SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.liquidity-token-v5kmnws5cgltrait_reference
dy
5,000Unsigned Integer
min-dx
55,619,254Unsigned Integer
Post conditions
Deny mode
m
SP2SV0NA…PNN8WMJATransfers exactly 5,000.00 MIA
SP1Z92MP…J304F275.liquidity-token-v5kmnws5cglTransfers at least 55.619254 STX
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
#710886
Bitcoin block hash
Anchor transaction ID