Transaction Details
SMART CONTRACT
Transaction Hash
d50ac3445cb1044d847b74bbc87354ab637dfe9fff53ec8768744324e293cec5
Block Status
Smart Contract State
SCID Reserves
| SCID | Amount (Atomic Units) |
|---|---|
| 0000000000000000000000000000000000000000000000000000000000000000 | 0 |
String Variables
| Key | Value |
|---|---|
| C | 2f2a2052697454726561737572792e64766d20e280942052495420737461626c6520726564656d7074696f6e207769746820455849542d4255524e205441582e0d0a20202044414f2d6f776e6564207472656173757279206f662063686f73656e206173736574287329206261636b696e67205249542e205768656e206120686f6c646572206361736865730d0a202020696e2052495420666f722074686520747265617375727927732061737365742c20612044414f2d7365742025206f662074686520524954206973204255524e45442c20736f0d0a202020746865792065787472616374206c657373207468616e20666163652076616c75652e205468652074726561737572792067657473207374726f6e676572206f6e20626f74680d0a202020696e2d666c6f7720286173736574206465706f736974732920616e64206f75742d666c6f772028524954206275726e65642c206c6573732061737365742070616964292e0d0a0d0a202020546869732069732064697374696e63742066726f6d2053636c65726f7469756d5661756c742028746865204344502074686174206d696e74732052495420616761696e73740d0a202020636f6c6c61746572616c292e205468697320636f6e74726163742052454445454d5320616c72656164792d63697263756c6174696e672052495420666f722074726561737572790d0a2020206173736574732c20776974682074686520657869742d6275726e206d616b696e672074686520747265617375727920616363727565206f6e20657665727920726564656d7074696f6e2e0d0a0d0a20202052454a454354494f4e2053454d414e544943532028766572696669656420616761696e737420746869732044564d2c20736565205465737444564d5f52657665727453656d616e74696373293a0d0a20202072657475726e696e67206e6f6e7a65726f20646973636172647320657665727920737461746520777269746520414e442072657475726e732074686520696e636f6d696e672076616c75650d0a202020746f20746865207369676e657220766961204572726f725265766572742e2052656a656374696f6e207061746873206d757374207468657265666f7265206265206120626172650d0a20202052455455524e203120e280942068616e642d726f6c6c696e67206120726566756e642073656e64206265666f72652069742069732077726f6e673a207468652073656e642069730d0a2020206469736361726465642077697468207468652072657374206f662074686520657865637574696f6e207768696c65204572726f7252657665727420637265646974732074686520757365720d0a202020616e797761792c20616e64206f6e2061206c6976652072696e6773697a6520213d20322063616c6c207468617420706174682070616e6963732e0d0a0d0a202020476f7665726e616e636520286f776e6572203d2044414f293a20736574207468652065786974206275726e20252c2074686520726564656d7074696f6e2061737365742c207468650d0a20202061737365742f52495420726174652c20616e642077686974656c697374206173736574206465706f736974732e0d0a2a2f0d0a46756e6374696f6e20496e697469616c697a65286f776e657220537472696e67292055696e7436340d0a3520202076657273696f6e2822312e302e3022290d0a313020204946205354524c454e28414444524553535f524157286f776e65722929203d3d203333205448454e20474f544f2034300d0a3230202052455455524e20310d0a3430202053544f524528226f776e6572222c20414444524553535f524157286f776e657229290d0a3530202053544f524528226275726e5f627073222c203130302920202020202020202f2a20312520657869742d6275726e20746178202a2f0d0a3630202053544f5245282272617465222c20312920202020202020202020202020202f2a203120747265617375727920617373657420706572205249542028626173697329202a2f0d0a3730202053544f524528226173736574222c204845584445434f444528223030222929202f2a207472656173757279207061796f757420617373657420287365742062792044414f29202a2f0d0a3830202053544f524528227269747363222c204845584445434f444528223030222929202f2a2074686520524954205343494420287365742062792044414f29202a2f0d0a3930202053544f5245282272657365727665222c20302920202020202020202020202f2a2074726561737572792061737365742068656c64202a2f0d0a3935202053544f524528226275726e6564222c2030292020202020202020202020202f2a2063756d756c617469766520524954206275726e6564206f6e2065786974202a2f0d0a3130302052455455524e20300d0a456e642046756e6374696f6e0d0a0d0a2f2a2044414f20736574732074686520657869742d6275726e20252c20726564656d7074696f6e2061737365742c2052495420736369642c20616e6420726174652e0d0a2020206275726e206973206361707065642062656c6f77203130302520736f206120726564656d7074696f6e2063616e206e65766572206275726e2065766572797468696e672e202a2f0d0a46756e6374696f6e20536574506172616d73286275726e2055696e7436342c20617373657420537472696e672c20726974736320537472696e672c20726174652055696e743634292055696e7436340d0a3520202076657273696f6e2822312e302e3022290d0a313020204946204c4f414428226f776e65722229203d3d205349474e45522829205448454e20474f544f2034300d0a3230202052455455524e20310d0a343020204946206275726e203c203130303030205448454e20474f544f2037300d0a3530202052455455524e20310d0a373020204946205354524c454e28617373657429203d3d203634205448454e20474f544f203130300d0a3830202052455455524e20310d0a313030204946205354524c454e28726974736329203d3d203634205448454e20474f544f203133300d0a3131302052455455524e20310d0a3133302049462072617465203e2030205448454e20474f544f203136300d0a3134302052455455524e20310d0a3136302053544f524528226275726e5f627073222c206275726e290d0a3137302053544f524528226173736574222c204845584445434f444528617373657429290d0a3138302053544f524528227269747363222c204845584445434f444528726974736329290d0a3139302053544f5245282272617465222c2072617465290d0a3230302052455455524e20300d0a456e642046756e6374696f6e0d0a0d0a2f2a20547265617375727920726563656976657320697473207061796f75742061737365742e202a2f0d0a46756e6374696f6e204465706f73697428292055696e7436340d0a3520202076657273696f6e2822312e302e3022290d0a3130202064696d20612061732055696e7436340d0a323020204c45542061203d20415353455456414c5545284c4f4144282261737365742229290d0a3330202049462061203e2030205448454e20474f544f2036300d0a3430202052455455524e20310d0a3630202053544f5245282272657365727665222c204c4f41442822726573657276652229202b2061290d0a3730202052455455524e20300d0a456e642046756e6374696f6e0d0a0d0a2f2a20486f6c6465722063617368657320696e2052495420666f72207468652074726561737572792061737365742e20412044414f2d7365742025206973206275726e65642c207468650d0a202020726573742072656465656d65642061742074686520726174652c20736f20746865207573657220616c77617973206578747261637473206c657373207468616e206661636520616e640d0a20202074686520747265617375727920737472656e677468656e732e20416e792072656a656374696f6e2072657665727473207468652077686f6c652063616c6c20616e64207468652044564d0d0a20202072657475726e73207468652052495420746f207468652073656e6465722e202a2f0d0a46756e6374696f6e2043617368496e28616d6f756e742055696e743634292055696e7436340d0a3520202076657273696f6e2822312e302e3022290d0a3130202064696d20696e2c206275726e2c2072656465656d2c207061796f75742c20726174652061732055696e7436340d0a323020204c455420696e203d20415353455456414c5545284c4f4144282272697473632229290d0a33302020494620696e203e2030205448454e20474f544f2035300d0a3430202052455455524e20310d0a35302020494620696e203d3d20616d6f756e74205448454e20474f544f2037302020202f2a206465636c6172656420616d6f756e74206d757374206d6174636820746865206465706f736974202a2f0d0a3630202052455455524e20310d0a373020204c45542072617465203d204c4f414428227261746522290d0a383020204c4554206275726e203d20696e202a204c4f414428226275726e5f6270732229202f2031303030300d0a393020204946206275726e203c20696e205448454e20474f544f2031313020202020202f2a206275726e5f627073203c203130303030206b6565707320746869732074727565202a2f0d0a3130302052455455524e20310d0a313130204c45542072656465656d203d20696e202d206275726e0d0a3132302049462072656465656d203c3d203138343436373434303733373039353531363135202f2072617465205448454e20474f544f203134302020202f2a206f766572666c6f77206775617264202a2f0d0a3133302052455455524e20310d0a313430204c4554207061796f7574203d2072656465656d202a20726174650d0a313530204946207061796f7574203e2030205448454e20474f544f203137300d0a3136302052455455524e20310d0a313730204946204c4f41442822726573657276652229203e3d207061796f7574205448454e20474f544f203139300d0a3138302052455455524e203120202020202020202020202020202020202020202020202f2a20756e6261636b65643a207265766572742c2052495420676f6573206261636b202a2f0d0a3139302053544f5245282272657365727665222c204c4f41442822726573657276652229202d207061796f7574290d0a3230302053544f524528226275726e6564222c204c4f414428226275726e65642229202b206275726e290d0a3231302053454e445f41535345545f544f5f41444452455353285349474e455228292c207061796f75742c204c4f4144282261737365742229290d0a3232302052455455524e20300d0a456e642046756e6374696f6e0d0a |
| asset | 00 |
| burn_bps | 100 |
| burned | 0 |
| owner | 2e91b5e142c6edcf382fc59032279d5b2882821ac03b83fd34d18e6132a32f3b00 |
| rate | 1 |
| reserve | 0 |
| ritsc | 00 |
Transaction Information
Root Hash
Built Height
7593497
Block
Timestamp
1788948507094
Timestamp (UTC)
2026-09-09 10:08:27
Block Age
6h 02m ago
Fee
0.06255
TX Size
5.665 kB
Version
1
Confirmations
1178
Signature Type
DERO_HOMOMORPHIC
DERO Asset
2
Ring Size
0.06255
Fees
0.00000
Deposited
Sender
dero1qyhfrd0pgtrwmnec9lzeqv38n4dj3q5zrtqrhqlaxngcucfj5vhnkqq6pn8fq
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 | "/* RitTreasury.dvm — RIT stable redemption with EXIT-BURN TAX. DAO-owned treasury of chosen asset(s) backing RIT. When a holder cashes in RIT for the treasury's asset, a DAO-set % of the RIT is BURNED, so they extract less than face value. The treasury gets stronger on both in-flow (asset deposits) and out-flow (RIT burned, less asset paid). This is distinct from SclerotiumVault (the CDP that mints RIT against collateral). This contract REDEEMS already-circulating RIT for treasury assets, with the exit-burn making the treasury accrue on every redemption. REJECTION SEMANTICS (verified against this DVM, see TestDVM_RevertSemantics): returning nonzero discards every state write AND returns the incoming value to the signer via ErrorRevert. Rejection paths must therefore be a bare RETURN 1 — hand-rolling a refund send before it is wrong: the send is discarded with the rest of the execution while ErrorRevert credits the user anyway, and on a live ringsize != 2 call that path panics. Governance (owner = DAO): set the exit burn %, the redemption asset, the asset/RIT rate, and whitelist asset deposits. */ Function Initialize(owner String) Uint64 5 version("1.0.0") 10 IF STRLEN(ADDRESS_RAW(owner)) == 33 THEN GOTO 40 20 RETURN 1 40 STORE("owner", ADDRESS_RAW(owner)) 50 STORE("burn_bps", 100) /* 1% exit-burn tax */ 60 STORE("rate", 1) /* 1 treasury asset per RIT (basis) */ 70 STORE("asset", HEXDECODE("00")) /* treasury payout asset (set by DAO) */ 80 STORE("ritsc", HEXDECODE("00")) /* the RIT SCID (set by DAO) */ 90 STORE("reserve", 0) /* treasury asset held */ 95 STORE("burned", 0) /* cumulative RIT burned on exit */ 100 RETURN 0 End Function /* DAO sets the exit-burn %, redemption asset, RIT scid, and rate. burn is capped below 100% so a redemption can never burn everything. */ Function SetParams(burn Uint64, asset String, ritsc String, rate Uint64) Uint64 5 version("1.0.0") 10 IF LOAD("owner") == SIGNER() THEN GOTO 40 20 RETURN 1 40 IF burn < 10000 THEN GOTO 70 50 RETURN 1 70 IF STRLEN(asset) == 64 THEN GOTO 100 80 RETURN 1 100 IF STRLEN(ritsc) == 64 THEN GOTO 130 110 RETURN 1 130 IF rate > 0 THEN GOTO 160 140 RETURN 1 160 STORE("burn_bps", burn) 170 STORE("asset", HEXDECODE(asset)) 180 STORE("ritsc", HEXDECODE(ritsc)) 190 STORE("rate", rate) 200 RETURN 0 End Function /* Treasury receives its payout asset. */ Function Deposit() Uint64 5 version("1.0.0") 10 dim a as Uint64 20 LET a = ASSETVALUE(LOAD("asset")) 30 IF a > 0 THEN GOTO 60 40 RETURN 1 60 STORE("reserve", LOAD("reserve") + a) 70 RETURN 0 End Function /* Holder cashes in RIT for the treasury asset. A DAO-set % is burned, the rest redeemed at the rate, so the user always extracts less than face and the treasury strengthens. Any rejection reverts the whole call and the DVM returns the RIT to the sender. */ Function CashIn(amount Uint64) Uint64 5 version("1.0.0") 10 dim in, burn, redeem, payout, rate as Uint64 20 LET in = ASSETVALUE(LOAD("ritsc")) 30 IF in > 0 THEN GOTO 50 40 RETURN 1 50 IF in == amount THEN GOTO 70 /* declared amount must match the deposit */ 60 RETURN 1 70 LET rate = LOAD("rate") 80 LET burn = in * LOAD("burn_bps") / 10000 90 IF burn < in THEN GOTO 110 /* burn_bps < 10000 keeps this true */ 100 RETURN 1 110 LET redeem = in - burn 120 IF redeem <= 18446744073709551615 / rate THEN GOTO 140 /* overflow guard */ 130 RETURN 1 140 LET payout = redeem * rate 150 IF payout > 0 THEN GOTO 170 160 RETURN 1 170 IF LOAD("reserve") >= payout THEN GOTO 190 180 RETURN 1 /* unbacked: revert, RIT goes back */ 190 STORE("reserve", LOAD("reserve") - payout) 200 STORE("burned", LOAD("burned") + burn) 210 SEND_ASSET_TO_ADDRESS(SIGNER(), payout, LOAD("asset")) 220 RETURN 0 End Function " |
| entrypoint | string | "Initialize" |
| owner | string | "dero1qyhfrd0pgtrwmnec9lzeqv38n4dj3q5zrtqrhqlaxngcucfj5vhnkqq6pn8fq" |
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.