swap-x-for-y

Function call
Confirmed
Summary
Transaction ID
0x5c98d922d409cdc347be2c452f384c1c388534085e64e047833881daa996982b
Fees
0.017183 STX
Nonce
0
Block height
#55526
4 months ago
Events
(tuple (action "swap-x-for-y") (data (tuple (balance-x u3548693535) (balance-y u371919538505) (fee-balance-x u7957940) (fee-balance-y u4953116810) (fee-to-address 'SP3QSWXQQJ5BKCVZBY1BH3BPGVX4MZPRKKG8CBDGR) (liquidity-token 'SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.liquidity-token-v5kcp63j1up) (name "STX-FARI") (shares-total u36061110900))) (object "pair"))
Contract log ∙ Print
0
1
f
fari
Transfer523,187,903.00 FARSP1Z9…4F275.liquidity-token-v5kcp63j1upSP138…PH1M8Fungible token
2
none
Contract log ∙ Print
3
Function called
Function
swap-x-for-y
Result
Success
(ok (list u5000000 u523187903))(response (list 2 uint))
Arguments
token-x-trait
'SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.wstx-token-v4atrait_reference
token-y-trait
'SP213KNHB5QD308TEESY1ZMX1BP8EZDPG4JWD0MEA.fari-token-mntrait_reference
token-liquidity-trait
'SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.liquidity-token-v5kcp63j1uptrait_reference
dx
5,000,000Unsigned Integer
min-dy
483,260,977Unsigned Integer
Post conditions
Deny mode
SP138EZA…GE6PH1M8Transfers exactly 5 STX
f
SP1Z92MP…J304F275.liquidity-token-v5kcp63j1upTransfers at least 483,260,977.00 FAR
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
#731152
Bitcoin block hash
Anchor transaction ID
Add a network
Use this form to add a new instance of the Stacks Blockchain API. Make sure you review and trust the host before you add it.
Switch to testnet?
The URL you're on is for the mainnet version of the Stacks Blockchain. Do you want to update your network version to testnet?
What's the difference?
Unlocking schedule
This address participated in the Stacks token offering. Its STX is subject to the unlocking schedule detailed below. The dates are estimates and can vary depending on the Bitcoin block time.
This table only shows data from after the launch of Stacks 2.0