swap-x-for-y

Function call
Confirmed in anchor block
Summary
Transaction ID
0xa8d94fc7f6ff83be89485fc7312a74f898ae8ecdcf56f3202cd41accfe0b7a27
Fees
0.56 STX
Nonce
20
Block height
#35181
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
Transfer611,760,060.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 u1476775113283) (balance-y u3019888013476) (fee-balance-x u221744786) (fee-balance-y u422172928) (fee-to-address (some SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR)) (name "wSTX-USDA") (shares-total u2108506100905) (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 u611760060))(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
581,242,697Unsigned 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
#706651
Bitcoin block hash
Anchor transaction ID