swap-x-for-y

Function call
Confirmed in anchor block
Summary
Transaction ID
0x7ca1a270cdd848364f7dc0412958a9b38d8c08cb129e1a8e6f01853a65b85f08
Fees
1.12 STX
Nonce
4
Block height
#39070
2 months ago
Events
STX transfer
0
(tuple (action "minted") (data (tuple (amount u10000000) (recipient SP3SM72BS3133BTNYSWSTEQ1EP44F05YJW0JT0WNB))) (type "token"))
Contract log ∙ Print
1
w
wstx
Mint10,000,000.00 WSTSP3SM…T0WNBFungible token
2
w
wstx
Transfer10,000,000.00 WSTSP3SM…T0WNBSP2C2…89YZR.arkadiko-swap-v2-1Fungible token
3
none
Contract log ∙ Print
4
u
usda
Transfer21,973,233.00 USDSP2C2…89YZR.arkadiko-swap-v2-1SP3SM…T0WNBFungible token
5
none
Contract log ∙ Print
6
(tuple (action "swap-x-for-y") (data (tuple (balance-x u1636184490171) (balance-y u3606022426282) (enabled true) (fee-balance-x u513141737) (fee-balance-y u1346914434) (fee-to-address (some SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR)) (name "wSTX-USDA") (shares-total u2423756643041) (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 u10000000 u21973233))(response (list 2 uint))
Arguments
token-x-trait
SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.wrapped-stx-tokentrait_reference
token-y-trait
SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.usda-tokentrait_reference
dx
10,000,000Unsigned Integer
min-dy
21,038,637Unsigned Integer
Post conditions
Allow mode
This transaction has no post-conditions.
Source codeView deployment
See all 666 lines
Contract details

arkadiko-swap-v2-1

0x1e3e779f…3f082a66
26 functions
22 variables
3 maps
0 tokens
Bitcoin anchor
Bitcoin block height
#711146
Bitcoin block hash
Anchor transaction ID