Transaction Details
SMART CONTRACT
Transaction Hash
97a69f878f9cd528e757e574ea0919687ba90890635a42d4cf096d0fea1bb9f8
Block Status
Smart Contract State
SCID Reserves
| SCID | Amount (Atomic Units) |
|---|---|
| 0000000000000000000000000000000000000000000000000000000000000000 | 0 |
String Variables
| Key | Value |
|---|---|
| C | 2f2a205374616e646172642053697a6520436f6e747261637420763020e2809420763135312d636f6d70617469626c65202854312048544c432074726176657273616c290a20202053746174653a0a2020202020226973737565725f6164647222202020537472696e672020e2809420697373756572204445524f20616464726573732028726566756e64207061796f7574290a202020202022636f756e7465725f61646472222020537472696e672020e2809420636f756e7465727061727479204445524f2061646472657373202872656465656d207061796f7574290a20202020202274696572222020202020202020202055696e7436342020e28094207374616e646172642064656e6f6d696e6174696f6e2028652e672e20353030203d2024353030290a2020202020227465726d735f636f6d6d6974222020537472696e672020e28094206b656363616b32353628746965723a6e6f6e63653a626c696e6429206861736820636f6d6d69746d656e740a202020202022707265696d6167655f686173682220537472696e672020e28094206b656363616b323536287365637265742920e28094207468652061746f6d69632d73776170207365637265740a202020202022646561646c696e652220202020202055696e7436342020e2809420626c6f636b2068656967687420616674657220776869636820726566756e64206f70656e730a20202020202273746174652220202020202020202055696e7436342020e2809420303d4f50454e20313d52454445454d454420323d524546554e4445440a2a2f0a46756e6374696f6e20496e697469616c697a65286973737565725f6164647220537472696e672c20636f756e7465725f6164647220537472696e672c20746965722055696e7436342c206e6f6e636520537472696e672c20626c696e6420537472696e672c2073656372657420537472696e672c20646561646c696e652055696e7436342c20616d6f756e742055696e743634292055696e7436340a093520202076657273696f6e2822312e322e332229202020202020202020202f2f20763135312061732d69730a093130202053544f524528226973737565725f61646472222c204845584445434f4445286973737565725f61646472292920202f2f20686578202d3e2072617720636f6d70726573736564206b65790a093230202053544f52452822636f756e7465725f61646472222c204845584445434f444528636f756e7465725f6164647229290a093330202053544f5245282274696572222c2074696572290a093430202053544f52452822646561646c696e65222c20646561646c696e65290a093530202053544f524528227374617465222c2030290a093630202053544f52452822616d6f756e74222c20616d6f756e74290a093730202053544f524528227465726d735f636f6d6d6974222c204b454343414b3235362849544f41287469657229202b20223a22202b206e6f6e6365202b20223a22202b20626c696e6429290a093830202053544f52452822707265696d6167655f68617368222c204b454343414b3235362873656372657429290a093930202052455455524e20300a456e642046756e6374696f6e0a0a2f2a2052656465656d3a20636f756e74657270617274792072657665616c7320746865207365637265743b20636f6e747261637420636865636b732074686520707265696d6167652e0a2020205075726520763135313a206b656363616b32353620636f6d70617269736f6e2c206e6f207369676e61747572652c206e6f2067726f7570206f70732e0a2020204445524f20636f6e76656e74696f6e3a2052455455524e2030203d20737563636573732028737461746520636f6d6d697473292c206e6f6e7a65726f203d206572726f722e202a2f0a46756e6374696f6e2052656465656d2873656372657420537472696e67292055696e7436340a09313020204946204c4f414428227374617465222920213d2030205448454e20474f544f203930302020202f2f206f6e6c79204f50454e0a09323020204946204b454343414b3235362873656372657429203d3d204c4f41442822707265696d6167655f686173682229205448454e20474f544f203130300a0933302020474f544f203930302020202020202020202020202020202020202020202020202020202020202f2f2077726f6e6720707265696d6167650a093130302053544f524528227374617465222c2031292020202020202020202020202020202020202020202f2f2052454445454d45440a093131302053454e445f4445524f5f544f5f41444452455353284c4f41442822636f756e7465725f6164647222292c204c4f41442822616d6f756e7422292920202f2f207061792068656c642062616c616e63650a093132302052455455524e203020202020202020202020202020202020202020202020202020202020202f2f207375636365737320e2809420636f6d6d6974732073746174652b7472616e736665720a093930302052455455524e203120202020202020202020202020202020202020202020202020202020202f2f206572726f720a456e642046756e6374696f6e0a0a2f2a20526566756e643a20616674657220646561646c696e652c20414e594f4e452063616e20747269676765722074686520726566756e6420e280942066756e647320676f20746f0a2020207468652073746f7265642069737375657220616464726573732e204e6f205349474e4552282920286e6f2072696e6773697a652d3220726571756972656d656e742c0a2020204b302d73616665292c206e6f20617574686f72697a6174696f6e206e656564656420666f7220612074696d656c6f636b207061796f75742e202a2f0a46756e6374696f6e20526566756e6428292055696e7436340a09313020204946204c4f414428227374617465222920213d2030205448454e20474f544f203930302020202f2f206f6e6c79204f50454e0a0932302020494620424c4f434b5f4845494748542829203c204c4f41442822646561646c696e652229205448454e20474f544f2039303020202f2f206e6f742065787069726564207965740a093130302053544f524528227374617465222c2032292020202020202020202020202020202020202020202f2f20524546554e4445440a093131302053454e445f4445524f5f544f5f41444452455353284c4f414428226973737565725f6164647222292c204c4f41442822616d6f756e7422292920202f2f207061792068656c642062616c616e63650a093132302052455455524e203020202020202020202020202020202020202020202020202020202020202f2f20737563636573730a093930302052455455524e203120202020202020202020202020202020202020202020202020202020202f2f206572726f720a456e642046756e6374696f6e0a0a2f2a205465726d7352657665616c3a20636f756e74657270617274792072657665616c732028746965722c206e6f6e63652c20626c696e642920746f2070726f7665207468650a2020207465726d7320636f6d6d69746d656e743b20636f6e7472616374207265636f6d7075746573206b656363616b20616e6420636f6d70617265732e0a20202052455455524e2030203d207465726d73206d617463682c206e6f6e7a65726f203d206d69736d617463682e202a2f0a46756e6374696f6e205465726d7352657665616c28746965722055696e7436342c206e6f6e636520537472696e672c20626c696e6420537472696e67292055696e7436340a09313020204946207469657220213d204c4f41442822746965722229205448454e20474f544f203930300a09323020204946204b454343414b3235362849544f41287469657229202b20223a22202b206e6f6e6365202b20223a22202b20626c696e6429203d3d204c4f414428227465726d735f636f6d6d69742229205448454e20474f544f203130300a0933302020474f544f203930300a093130302052455455524e203020202020202020202020202020202020202020202020202020202020202f2f206d617463680a093930302052455455524e203120202020202020202020202020202020202020202020202020202020202f2f206d69736d617463680a456e642046756e6374696f6e0a |
| amount | 5000 |
| counter_addr | 2e91b5e142c6edcf382fc59032279d5b2882821ac03b83fd34d18e6132a32f3b00 |
| deadline | 7.49626e+06 |
| issuer_addr | 2e91b5e142c6edcf382fc59032279d5b2882821ac03b83fd34d18e6132a32f3b00 |
| preimage_hash | 907c131a2d6e2fb21d73a630c7baee279c1b4f27cd5d570b6c778baad2cc4e1a |
| state | 0 |
| terms_commit | 64035d4e619a76ee0f0ed27ac6a51b23e0e7e86f749d320e27bc6726a751ad39 |
| tier | 100 |
Transaction Information
Root Hash
Built Height
7494817
Block
Timestamp
1787117677154
Timestamp (UTC)
2026-08-19 05:34:37
Block Age
3h 43m ago
Fee
0.05392
TX Size
6.605 kB
Version
1
Confirmations
715
Signature Type
DERO_HOMOMORPHIC
DERO Asset
16
Ring Size
0.05392
Fees
0.00000
Deposited
Sender
Ring Members (16)
Smart Contract Details
SC Balance
0.00000 DERO
Smart Contract Code
Smart Contract Arguments
| Name | Type | Value |
|---|---|---|
| SC_ACTION | uint64 | 1 |
| SC_CODE | string | "/* Standard Size Contract v0 — v151-compatible (T1 HTLC traversal) State: "issuer_addr" String — issuer DERO address (refund payout) "counter_addr" String — counterparty DERO address (redeem payout) "tier" Uint64 — standard denomination (e.g. 500 = $500) "terms_commit" String — keccak256(tier:nonce:blind) hash commitment "preimage_hash" String — keccak256(secret) — the atomic-swap secret "deadline" Uint64 — block height after which refund opens "state" Uint64 — 0=OPEN 1=REDEEMED 2=REFUNDED */ Function Initialize(issuer_addr String, counter_addr String, tier Uint64, nonce String, blind String, secret String, deadline Uint64, amount Uint64) Uint64 5 version("1.2.3") // v151 as-is 10 STORE("issuer_addr", HEXDECODE(issuer_addr)) // hex -> raw compressed key 20 STORE("counter_addr", HEXDECODE(counter_addr)) 30 STORE("tier", tier) 40 STORE("deadline", deadline) 50 STORE("state", 0) 60 STORE("amount", amount) 70 STORE("terms_commit", KECCAK256(ITOA(tier) + ":" + nonce + ":" + blind)) 80 STORE("preimage_hash", KECCAK256(secret)) 90 RETURN 0 End Function /* Redeem: counterparty reveals the secret; contract checks the preimage. Pure v151: keccak256 comparison, no signature, no group ops. DERO convention: RETURN 0 = success (state commits), nonzero = error. */ Function Redeem(secret String) Uint64 10 IF LOAD("state") != 0 THEN GOTO 900 // only OPEN 20 IF KECCAK256(secret) == LOAD("preimage_hash") THEN GOTO 100 30 GOTO 900 // wrong preimage 100 STORE("state", 1) // REDEEMED 110 SEND_DERO_TO_ADDRESS(LOAD("counter_addr"), LOAD("amount")) // pay held balance 120 RETURN 0 // success — commits state+transfer 900 RETURN 1 // error End Function /* Refund: after deadline, ANYONE can trigger the refund — funds go to the stored issuer address. No SIGNER() (no ringsize-2 requirement, K0-safe), no authorization needed for a timelock payout. */ Function Refund() Uint64 10 IF LOAD("state") != 0 THEN GOTO 900 // only OPEN 20 IF BLOCK_HEIGHT() < LOAD("deadline") THEN GOTO 900 // not expired yet 100 STORE("state", 2) // REFUNDED 110 SEND_DERO_TO_ADDRESS(LOAD("issuer_addr"), LOAD("amount")) // pay held balance 120 RETURN 0 // success 900 RETURN 1 // error End Function /* TermsReveal: counterparty reveals (tier, nonce, blind) to prove the terms commitment; contract recomputes keccak and compares. RETURN 0 = terms match, nonzero = mismatch. */ Function TermsReveal(tier Uint64, nonce String, blind String) Uint64 10 IF tier != LOAD("tier") THEN GOTO 900 20 IF KECCAK256(ITOA(tier) + ":" + nonce + ":" + blind) == LOAD("terms_commit") THEN GOTO 100 30 GOTO 900 100 RETURN 0 // match 900 RETURN 1 // mismatch End Function " |
| amount | uint64 | 5000 |
| blind | string | "040eb644ed6793c5b47a75bce8e36a0cc4733446aa9b3507a77eed6fe6a2ba31" |
| counter_addr | string | "2e91b5e142c6edcf382fc59032279d5b2882821ac03b83fd34d18e6132a32f3b00" |
| deadline | uint64 | 7496260 |
| entrypoint | string | "Initialize" |
| issuer_addr | string | "2e91b5e142c6edcf382fc59032279d5b2882821ac03b83fd34d18e6132a32f3b00" |
| nonce | string | "relayos-htlc-517cd30fa195d3a5" |
| secret | string | "399a4c39c8d6639e847dbfd08da8db9eb782ad1d0f1bca7076ebbe328d34f8af" |
| tier | uint64 | 100 |
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.