Transaction Details
SMART CONTRACT
Transaction Hash
8ab6a044cc5ef8ec382b9d5d81eb16a589ecc4d3de70ac3f316705c51d9050a1
Block Status
Smart Contract State
SCID Reserves
| SCID | Amount (Atomic Units) |
|---|---|
| 0000000000000000000000000000000000000000000000000000000000000000 | 0 |
| ac89fb1ebd400f1272c993959e104542ba26c5dafb878d43524e68a8caa2abfb | 953 |
| f218e834ba3e1808d7f4d79dd2ebe4efcb52400a8b40f034350d461173e49cbe | 1050 |
String Variables
| Key | Value |
|---|---|
| C | 46756e6374696f6e20496e697469616c697a6528746120537472696e672c20746220537472696e67292055696e7436340a3520202076657273696f6e2822312e302e3022290a3130202053544f524528227461222c204845584445434f444528746129290a3230202053544f524528227462222c204845584445434f444528746229290a3330202053544f524528227261222c2030290a3430202053544f524528227262222c2030290a3530202053544f524528226c6971222c2030290a3630202053544f52452822626f6f6b222c2030290a3730202053544f52452822626f6f6b5f7072696365222c2030290a3830202053544f524528226d616b6572222c205349474e45522829290a3930202052455455524e20300a456e642046756e6374696f6e0a0a46756e6374696f6e204164644c697175696469747928292055696e7436340a3520202076657273696f6e2822312e302e3022290a3130202064696d20612c622c4c2c73682c782c792061732055696e7436340a323020204c45542061203d20415353455456414c5545284c4f4144282274612229290a333020204c45542062203d20415353455456414c5545284c4f4144282274622229290a3430202049462061203e2030205448454e20474f544f2037300a3530202049462062203e2030205448454e20474f544f2037300a3630202052455455524e20310a373020204c4554204c203d204c4f414428226c697122290a383020204946204c203e2030205448454e20474f544f203135300a3930202049462062203e2030205448454e20474f544f203130300a3932202052455455524e20310a313030204c4554207368203d20610a3131302053544f524528227261222c2061290a3132302053544f524528227262222c2062290a31333020474f544f203235300a3135302049462061203c3d203138343436373434303733373039353531363135202f204c205448454e20474f544f203137300a3136302052455455524e20310a3137302049462062203c3d203138343436373434303733373039353531363135202f204c205448454e20474f544f203139300a3138302052455455524e20310a313930204c45542078203d2061202a204c202f204c4f41442822726122290a323030204c45542079203d2062202a204c202f204c4f41442822726222290a323130204c4554207368203d204d494e28782c79290a323230204946207368203e2030205448454e20474f544f203234300a3233302052455455524e20310a3234302053544f524528227261222c204c4f4144282272612229202b2061290a3234312053544f524528227262222c204c4f4144282272622229202b2062290a3235302053544f524528226c6971222c204c202b207368290a3236302049462045584953545328226c705f22202b205349474e4552282929205448454e20474f544f203238300a3237302053544f524528226c705f22202b205349474e455228292c2030290a3238302053544f524528226c705f22202b205349474e455228292c204c4f414428226c705f22202b205349474e4552282929202b207368290a3239302052455455524e20300a456e642046756e6374696f6e0a0a46756e6374696f6e20506c6163654f726465722870726963652055696e743634292055696e7436340a3520202076657273696f6e2822312e302e3022290a3130202064696d20612061732055696e7436340a323020204c45542061203d20415353455456414c5545284c4f4144282274612229290a3330202049462061203e2030205448454e20474f544f2036300a3430202052455455524e20310a363020204946204c4f41442822626f6f6b2229203d3d2030205448454e20474f544f2039300a3730202052455455524e20310a393020204946207072696365203e2030205448454e20474f544f203132300a3130302052455455524e20310a3132302053544f52452822626f6f6b222c2061290a3133302053544f52452822626f6f6b5f7072696365222c207072696365290a3134302053544f524528226d616b6572222c205349474e45522829290a3135302052455455524e20300a456e642046756e6374696f6e0a0a46756e6374696f6e2043616e63656c4f7264657228292055696e7436340a3520202076657273696f6e2822312e302e3022290a3130202064696d20616d742061732055696e7436340a323020204946204c4f414428226d616b65722229203d3d205349474e45522829205448454e20474f544f2035300a3330202052455455524e20310a353020204c455420616d74203d204c4f41442822626f6f6b22290a36302020494620616d74203e2030205448454e20474f544f2038300a3730202052455455524e20310a3830202053544f52452822626f6f6b222c2030290a3930202053454e445f41535345545f544f5f41444452455353285349474e455228292c20616d742c204c4f4144282274612229290a3130302052455455524e20300a456e642046756e6374696f6e0a0a46756e6374696f6e205377617042757941286d6f2055696e743634292055696e7436340a3520202076657273696f6e2822312e302e3022290a3130202064696d20622c66696c6c412c636f7374422c6f75742c652c72612c72622061732055696e7436340a323020204c45542062203d20415353455456414c5545284c4f4144282274622229290a3330202049462062203e2030205448454e20474f544f2036300a3430202052455455524e20310a363020204c45542066696c6c41203d204c4f41442822626f6f6b22290a3730202049462066696c6c41203e2030205448454e20474f544f2039300a38302020474f544f203330300a3930202049462062203c3d203138343436373434303733373039353531363135202f204c4f41442822626f6f6b5f70726963652229205448454e20474f544f203132300a31303020474f544f203330300a313230204c455420636f737442203d2066696c6c41202a204c4f41442822626f6f6b5f707269636522290a31333020494620636f737442203c3d2062205448454e20474f544f203138300a3134302049462062203e2030205448454e20474f544f203137300a31353020474f544f203330300a313730204c45542066696c6c41203d2062202f204c4f41442822626f6f6b5f707269636522290a313830204c455420636f737442203d2066696c6c41202a204c4f41442822626f6f6b5f707269636522290a3139302053544f52452822626f6f6b222c204c4f41442822626f6f6b2229202d2066696c6c41290a323030204946204c4f41442822626f6f6b2229203d3d2030205448454e20474f544f203233300a32313020474f544f203236300a3233302053544f52452822626f6f6b5f7072696365222c2030290a3236302049462066696c6c41203e2030205448454e20474f544f203238300a32373020474f544f203330300a3238302053454e445f41535345545f544f5f41444452455353284c4f414428226d616b657222292c20636f7374422c204c4f4144282274622229290a3239302053454e445f41535345545f544f5f41444452455353285349474e455228292c2066696c6c412c204c4f4144282274612229290a323935204c45542062203d2062202d20636f7374420a333030204c4554207261203d204c4f41442822726122290a333130204c4554207262203d204c4f41442822726222290a333230204946207262203e2030205448454e20474f544f203334300a33333020474f544f203430300a333430204946207261203e2030205448454e20474f544f203336300a33353020474f544f203430300a3336302049462062203e2030205448454e20474f544f203338300a33373020474f544f203430300a333830204c45542065203d20620a333930204946207262203c3d203138343436373434303733373039353531363135202d2065205448454e20474f544f203431300a33393520474f544f203430300a3431302049462065203c3d203138343436373434303733373039353531363135202f207261205448454e20474f544f203433300a34323020474f544f203430300a343330204c4554206f7574203d2065202a207261202f20287262202b2065290a343430204946206f7574203e3d206d6f205448454e20474f544f203436300a34353020474f544f203430300a343630204946206f7574203e2030205448454e20474f544f203438300a34373020474f544f203430300a343830204946206f7574203c207261205448454e20474f544f203530300a34393020474f544f203430300a3530302053544f524528227262222c207262202b2065290a3531302053544f524528227261222c207261202d206f7574290a3532302053454e445f41535345545f544f5f41444452455353285349474e455228292c206f75742c204c4f4144282274612229290a3533302052455455524e20300a456e642046756e6374696f6e |
| book | 0 |
| book_price | 0 |
| liq | 1000 |
| lp_ s:�Kx4_6Q��/_��)��G�U�t��Q��� | 1000 |
| maker | 09733afe4b78345f3651a1bf2f5f1ce1e329e8c347d055af74c1e151ee118e0c00 |
| ra | 953 |
| rb | 1050 |
| ta | ac89fb1ebd400f1272c993959e104542ba26c5dafb878d43524e68a8caa2abfb |
| tb | f218e834ba3e1808d7f4d79dd2ebe4efcb52400a8b40f034350d461173e49cbe |
Transaction Information
Root Hash
Built Height
7565478
Block
Timestamp
1788428062973
Timestamp (UTC)
2026-09-03 09:34:22
Block Age
3h 25m ago
Fee
0.05257
TX Size
5.020 kB
Version
1
Confirmations
667
Signature Type
DERO_HOMOMORPHIC
DERO Asset
2
Ring Size
0.05257
Fees
0.00000
Deposited
Sender
dero1qyyhxwh7fdurghek2xsm7t6lrns7x20gcdraq4d0wnq7z50wzx8qcqq9vvptz
Ring Members (2)
Smart Contract Details
SC Balance
0.00000 DERO
Smart Contract Code
Smart Contract Arguments
| Name | Type | Value |
|---|---|---|
| SC_ACTION | uint64 | 1 |
| SC_CODE | string | "Function Initialize(ta String, tb String) Uint64 5 version("1.0.0") 10 STORE("ta", HEXDECODE(ta)) 20 STORE("tb", HEXDECODE(tb)) 30 STORE("ra", 0) 40 STORE("rb", 0) 50 STORE("liq", 0) 60 STORE("book", 0) 70 STORE("book_price", 0) 80 STORE("maker", SIGNER()) 90 RETURN 0 End Function Function AddLiquidity() Uint64 5 version("1.0.0") 10 dim a,b,L,sh,x,y as Uint64 20 LET a = ASSETVALUE(LOAD("ta")) 30 LET b = ASSETVALUE(LOAD("tb")) 40 IF a > 0 THEN GOTO 70 50 IF b > 0 THEN GOTO 70 60 RETURN 1 70 LET L = LOAD("liq") 80 IF L > 0 THEN GOTO 150 90 IF b > 0 THEN GOTO 100 92 RETURN 1 100 LET sh = a 110 STORE("ra", a) 120 STORE("rb", b) 130 GOTO 250 150 IF a <= 18446744073709551615 / L THEN GOTO 170 160 RETURN 1 170 IF b <= 18446744073709551615 / L THEN GOTO 190 180 RETURN 1 190 LET x = a * L / LOAD("ra") 200 LET y = b * L / LOAD("rb") 210 LET sh = MIN(x,y) 220 IF sh > 0 THEN GOTO 240 230 RETURN 1 240 STORE("ra", LOAD("ra") + a) 241 STORE("rb", LOAD("rb") + b) 250 STORE("liq", L + sh) 260 IF EXISTS("lp_" + SIGNER()) THEN GOTO 280 270 STORE("lp_" + SIGNER(), 0) 280 STORE("lp_" + SIGNER(), LOAD("lp_" + SIGNER()) + sh) 290 RETURN 0 End Function Function PlaceOrder(price Uint64) Uint64 5 version("1.0.0") 10 dim a as Uint64 20 LET a = ASSETVALUE(LOAD("ta")) 30 IF a > 0 THEN GOTO 60 40 RETURN 1 60 IF LOAD("book") == 0 THEN GOTO 90 70 RETURN 1 90 IF price > 0 THEN GOTO 120 100 RETURN 1 120 STORE("book", a) 130 STORE("book_price", price) 140 STORE("maker", SIGNER()) 150 RETURN 0 End Function Function CancelOrder() Uint64 5 version("1.0.0") 10 dim amt as Uint64 20 IF LOAD("maker") == SIGNER() THEN GOTO 50 30 RETURN 1 50 LET amt = LOAD("book") 60 IF amt > 0 THEN GOTO 80 70 RETURN 1 80 STORE("book", 0) 90 SEND_ASSET_TO_ADDRESS(SIGNER(), amt, LOAD("ta")) 100 RETURN 0 End Function Function SwapBuyA(mo Uint64) Uint64 5 version("1.0.0") 10 dim b,fillA,costB,out,e,ra,rb as Uint64 20 LET b = ASSETVALUE(LOAD("tb")) 30 IF b > 0 THEN GOTO 60 40 RETURN 1 60 LET fillA = LOAD("book") 70 IF fillA > 0 THEN GOTO 90 80 GOTO 300 90 IF b <= 18446744073709551615 / LOAD("book_price") THEN GOTO 120 100 GOTO 300 120 LET costB = fillA * LOAD("book_price") 130 IF costB <= b THEN GOTO 180 140 IF b > 0 THEN GOTO 170 150 GOTO 300 170 LET fillA = b / LOAD("book_price") 180 LET costB = fillA * LOAD("book_price") 190 STORE("book", LOAD("book") - fillA) 200 IF LOAD("book") == 0 THEN GOTO 230 210 GOTO 260 230 STORE("book_price", 0) 260 IF fillA > 0 THEN GOTO 280 270 GOTO 300 280 SEND_ASSET_TO_ADDRESS(LOAD("maker"), costB, LOAD("tb")) 290 SEND_ASSET_TO_ADDRESS(SIGNER(), fillA, LOAD("ta")) 295 LET b = b - costB 300 LET ra = LOAD("ra") 310 LET rb = LOAD("rb") 320 IF rb > 0 THEN GOTO 340 330 GOTO 400 340 IF ra > 0 THEN GOTO 360 350 GOTO 400 360 IF b > 0 THEN GOTO 380 370 GOTO 400 380 LET e = b 390 IF rb <= 18446744073709551615 - e THEN GOTO 410 395 GOTO 400 410 IF e <= 18446744073709551615 / ra THEN GOTO 430 420 GOTO 400 430 LET out = e * ra / (rb + e) 440 IF out >= mo THEN GOTO 460 450 GOTO 400 460 IF out > 0 THEN GOTO 480 470 GOTO 400 480 IF out < ra THEN GOTO 500 490 GOTO 400 500 STORE("rb", rb + e) 510 STORE("ra", ra - out) 520 SEND_ASSET_TO_ADDRESS(SIGNER(), out, LOAD("ta")) 530 RETURN 0 End Function" |
| ta | string | "ac89fb1ebd400f1272c993959e104542ba26c5dafb878d43524e68a8caa2abfb" |
| tb | string | "f218e834ba3e1808d7f4d79dd2ebe4efcb52400a8b40f034350d461173e49cbe" |
Prove Transaction
Prove that you sent DERO in this transaction. Obtain proof using the dero-wallet-cli command or from your wallet statement.
Note: The proof is sent to the server for verification calculations.
Payload proofs are user-provided display proofs; for the strongest verification, confirm with the receiving wallet.