swap-x-for-y

Function call
Confirmed in anchor block
Summary
Transaction ID
0x239336c8c0b9209d8a3121e55682a69a43f5e7cd060f872ef1488336eda1fe2f
Fees
1.12 STX
Nonce
18
Block height
#35117
3 months ago
Events
STX transfer
0
(tuple (action "minted") (data (tuple (amount u300000000) (recipient SP1DYA3DX9MMJEC2VD13VDDYS5DN7BXFW57GSMWA0))) (type "token"))
Contract log ∙ Print
1
w
wstx
Mint300,000,000.00 WSTSP1DY…SMWA0Fungible token
2
w
wstx
Transfer300,000,000.00 WSTSP1DY…SMWA0SP2C2…89YZR.arkadiko-swap-v1-1Fungible token
3
none
Contract log ∙ Print
4
u
usda
Transfer639,497,509.00 USDSP2C2…89YZR.arkadiko-swap-v1-1SP1DY…SMWA0Fungible token
5
none
Contract log ∙ Print
6
(tuple (action "swap-x-for-y") (data (tuple (balance-x u1299382881996) (balance-y u2777533490891) (fee-balance-x u185607286) (fee-balance-y u378807920) (fee-to-address (some SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR)) (name "wSTX-USDA") (shares-total u1897032135281) (swap-token SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.arkadiko-swap-token-wstx-usda))) (object "pair"))
Contract log ∙ Print
7
Function called
Function
swap-x-for-y
Result
Success
(ok (list u300000000 u639497509))(response (list 2 uint))
Arguments
token-x-trait
SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.wrapped-stx-tokentrait_reference
token-y-trait
SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.usda-tokentrait_reference
dx
300,000,000Unsigned Integer
min-dy
602,804,992Unsigned Integer
Post conditions
Allow mode
This transaction has no post-conditions.
Source codeView deployment
See all 508 lines
Contract details

arkadiko-swap-v1-1

0x6fb6d6b9…3c5ede52
20 functions
20 variables
2 maps
0 tokens
Bitcoin anchor
Bitcoin block height
#706576
Bitcoin block hash
Anchor transaction ID