swap-x-for-y

Function call
Confirmed in anchor block
Summary
Transaction ID
0x7d96cf240b1196e7b3ff0be069d2931b4744e3472fce8d47ca20c845946b9e65
Fees
0.112 STX
Nonce
2
Block height
#39068
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,976,639.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 u1636057490171) (balance-y u3606301506281) (enabled true) (fee-balance-x u513078237) (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 u21976639))(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
#711143
Bitcoin block hash
Anchor transaction ID