Network Difficulty
3183582
Hash Rate
3.000 MH/s
Avg Block Time
18.19798s
Total Supply
16867791
Mempool
Fee per KB
0
Block Size Limit
0.00 kB
← Back to Explorer

Transaction Details

SMART CONTRACT

Smart Contract State

SCID Reserves

SCID Amount (Atomic Units)
0000000000000000000000000000000000000000000000000000000000000000 0

String Variables

Key Value
C 2f2a2067745f6174746573742e626173202d2d20523332206d656368616e69736d204d3120226d696e65722d617474657374656420746f6b656e2220284d4154292c2044564d2d42415349432e0a20202041206d696e657220636c61696d732c20756e64657220697473206f776e207369676e6572202872696e672073697a652032292c2074686174206974732061646472657373206d696e6564206b206d696e69626c6f636b7320696e207468650a2020206865696768742072616e6765205b66726f6d2c207570746f5d2e2054686520636c61696d20706f7374732061204445524f20626f6e64206f66206b202a20626f6e642e2054686520636861696e206461746120746861742070726f7665730a2020206f7220726566757465732074686520636c61696d206973207075626c69632028626c6f636b2068656164657273206c6973742065616368206d696e69626c6f636b2773206d696e6572292c20627574207468652044564d2063616e6e6f740a202020726561642069742c20736f2074686520636c61696d206973204f5054494d49535449433a20616e796f6e65206d6179206368616c6c656e676520697420696e73696465207468652077696e646f7720627920706f7374696e6720616e0a202020657175616c20626f6e643b204445524f2d7374616b6564206a75726f7273207468656e20636f6d6d697420616e642072657665616c206120766f74652028536368656c6c696e6720706f696e74292e20556e6368616c6c656e6765640a2020206f7220757068656c6420636c61696d73206d696e74206b202a20726577617264204d415420287468697320636f6e74726163742773206f776e2061737365742920746f20746865206d696e657220616e6420726566756e642074686520626f6e642e0a20202052756c6573206172652066726f7a656e20627920467265657a652829206265666f72652074686520666972737420636c61696d2028616e74692d727567292e204e6f207061796f75742069732066756e6465642062792061206c617465720a2020207061727469636970616e742773206465706f7369743a20612077696e6e65722069732070616964206f6e6c792066726f6d20746865206c6f736572277320626f6e6420696e207468652073616d65206469737075746520616e642066726f6d0a202020736c6173686564207374616b6573206f6620696e636f686572656e74206a75726f727320696e207468652073616d6520646973707574652e0a20202052657475726e2030203d20737563636573733b20616e79206f746865722076616c7565207265766572747320286465706f7369747320676f206261636b20746f2061206b6e6f776e207369676e6572292e0a2a2f0a46756e6374696f6e20496e697469616c697a6528292055696e7436340a31302053544f524528226f776e6572222c205349474e45522829290a32302053544f52452822626f6e64222c20313030303030290a33302053544f52452822726577617264222c20313030290a34302053544f5245282277696e646f77222c203230290a35302053544f52452822636f6d6d697477222c203130290a36302053544f5245282272657665616c77222c203130290a37302053544f524528226d61786d62222c203130290a38302053544f524528226d61787370616e222c2031303030290a39302053544f52452822736c617368222c203130290a3130302053544f524528226d696e7374616b65222c20313030303030290a3131302053544f524528226d61787374616b65222c2031303030303030303030290a3132302053544f5245282266726f7a656e222c2030290a3133302053544f524528226e63222c2030290a3134302053544f524528226d696e746564222c2030290a3135302052455455524e20300a456e642046756e6374696f6e0a0a46756e6374696f6e20536574506172616d7328626f6e642055696e7436342c207265776172642055696e7436342c2077696e646f772055696e7436342c20636f6d6d6974772055696e7436342c2072657665616c772055696e7436342c206d61786d622055696e7436342c20736c6173682055696e7436342c206d696e7374616b652055696e743634292055696e7436340a3130204946204c4f414428226f776e6572222920213d205349474e45522829205448454e20474f544f203930300a3230204946204c4f4144282266726f7a656e222920213d2030205448454e20474f544f203930300a333020494620626f6e64203d3d2030205448454e20474f544f203930300a343020494620736c617368203e20313030205448454e20474f544f203930300a35302049462077696e646f77203d3d2030207c7c20636f6d6d697477203d3d2030207c7c2072657665616c77203d3d2030207c7c206d61786d62203d3d2030205448454e20474f544f203930300a36302053544f52452822626f6e64222c20626f6e64290a37302053544f52452822726577617264222c20726577617264290a38302053544f5245282277696e646f77222c2077696e646f77290a39302053544f52452822636f6d6d697477222c20636f6d6d697477290a3130302053544f5245282272657665616c77222c2072657665616c77290a3131302053544f524528226d61786d62222c206d61786d62290a3132302053544f52452822736c617368222c20736c617368290a3133302053544f524528226d696e7374616b65222c206d696e7374616b65290a3134302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e20467265657a6528292055696e7436340a3130204946204c4f414428226f776e6572222920213d205349474e45522829205448454e20474f544f203930300a32302053544f5245282266726f7a656e222c2031290a33302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e20436c61696d2866726f6d2055696e7436342c207570746f2055696e7436342c206b2055696e743634292055696e7436340a31302044494d20692c20622061732055696e7436340a32302044494d207020617320537472696e670a3330204946204c4f4144282266726f7a656e2229203d3d2030205448454e20474f544f203930300a34302049462049535f414444524553535f56414c4944285349474e4552282929203d3d2030205448454e20474f544f203930300a3530204946207570746f203c2066726f6d205448454e20474f544f203930300a3630204946207570746f202d2066726f6d203e3d204c4f414428226d61787370616e2229205448454e20474f544f203930300a3730204946207570746f203e3d20424c4f434b5f4845494748542829205448454e20474f544f203930300a3830204946206b203d3d2030205448454e20474f544f203930300a3930204946206b203e20287570746f202d2066726f6d202b203129202a204c4f414428226d61786d622229205448454e20474f544f203930300a3130302049462045584953545328226c6322202b205349474e4552282929203d3d2030205448454e20474f544f203132300a3131302049462066726f6d203c3d204c4f414428226c6322202b205349474e4552282929205448454e20474f544f203930300a313230204c45542062203d206b202a204c4f41442822626f6e6422290a313330204946204445524f56414c5545282920213d2062205448454e20474f544f203930300a313430204c45542069203d204c4f414428226e6322290a313530204c45542070203d20226322202b2049544f412869290a3136302053544f52452870202b20226d222c205349474e45522829290a3137302053544f52452870202b202266222c2066726f6d290a3138302053544f52452870202b202275222c207570746f290a3139302053544f52452870202b20226b222c206b290a3230302053544f52452870202b202262222c2062290a3231302053544f52452870202b202268222c20424c4f434b5f4845494748542829290a3232302053544f52452870202b202273222c2030290a3233302053544f524528226c6322202b205349474e455228292c207570746f290a3234302053544f524528226e63222c2069202b2031290a3235302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e204368616c6c656e676528692055696e743634292055696e7436340a31302044494d207020617320537472696e670a32302049462049535f414444524553535f56414c4944285349474e4552282929203d3d2030205448454e20474f544f203930300a33302049462069203e3d204c4f414428226e632229205448454e20474f544f203930300a3430204c45542070203d20226322202b2049544f412869290a3530204946204c4f41442870202b202273222920213d2030205448454e20474f544f203930300a363020494620424c4f434b5f4845494748542829203e204c4f41442870202b2022682229202b204c4f4144282277696e646f772229205448454e20474f544f203930300a3730204946204445524f56414c5545282920213d204c4f41442870202b2022622229205448454e20474f544f203930300a3830204946205349474e45522829203d3d204c4f41442870202b20226d2229205448454e20474f544f203930300a39302053544f52452870202b202273222c2031290a3130302053544f52452870202b202278222c205349474e45522829290a3131302053544f52452870202b20227668222c20424c4f434b5f4845494748542829290a3132302053544f52452870202b2022796573222c2030290a3133302053544f52452870202b20226e6f222c2030290a3134302053544f52452870202b20226377222c2030290a3135302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e205374616b6528292055696e7436340a31302044494d20732061732055696e7436340a32302049462049535f414444524553535f56414c4944285349474e4552282929203d3d2030205448454e20474f544f203930300a3330204946204445524f56414c55452829203d3d2030205448454e20474f544f203930300a3430204c45542073203d20300a3530204946204558495354532822737422202b205349474e4552282929203d3d2030205448454e20474f544f2037300a3630204c45542073203d204c4f41442822737422202b205349474e45522829290a37302049462073202b204445524f56414c55452829203e204c4f414428226d61787374616b652229205448454e20474f544f203930300a38302053544f52452822737422202b205349474e455228292c2073202b204445524f56414c55452829290a3930204946204558495354532822706422202b205349474e4552282929203d3d2031205448454e20474f544f203131300a3130302053544f52452822706422202b205349474e455228292c2030290a3131302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e20556e7374616b6528616d6f756e742055696e743634292055696e7436340a3130204946204558495354532822737422202b205349474e4552282929203d3d2030205448454e20474f544f203930300a3230204946204c4f41442822706422202b205349474e455228292920213d2030205448454e20474f544f203930300a333020494620616d6f756e74203d3d2030207c7c20616d6f756e74203e204c4f41442822737422202b205349474e4552282929205448454e20474f544f203930300a34302053544f52452822737422202b205349474e455228292c204c4f41442822737422202b205349474e4552282929202d20616d6f756e74290a35302053454e445f4445524f5f544f5f41444452455353285349474e455228292c20616d6f756e74290a36302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e20436f6d6d6974566f746528692055696e7436342c206820537472696e67292055696e7436340a31302044494d207020617320537472696e670a32302044494d20772061732055696e7436340a33302049462069203e3d204c4f414428226e632229205448454e20474f544f203930300a3430204c45542070203d20226322202b2049544f412869290a3530204946204c4f41442870202b202273222920213d2031205448454e20474f544f203930300a363020494620424c4f434b5f4845494748542829203e204c4f41442870202b202276682229202b204c4f41442822636f6d6d6974772229205448454e20474f544f203930300a3730204946204558495354532822737422202b205349474e4552282929203d3d2030205448454e20474f544f203930300a3830204c45542077203d204c4f41442822737422202b205349474e45522829290a39302049462077203c204c4f414428226d696e7374616b652229205448454e20474f544f203930300a313030204946205349474e45522829203d3d204c4f41442870202b20226d2229207c7c205349474e45522829203d3d204c4f41442870202b2022782229205448454e20474f544f203930300a313130204946204558495354532870202b20227622202b205349474e4552282929203d3d2031205448454e20474f544f203930300a313230204946205354524c454e28682920213d203634205448454e20474f544f203930300a3133302053544f52452870202b20227622202b205349474e455228292c2068290a3134302053544f52452870202b20227722202b205349474e455228292c2077290a3135302053544f52452870202b20226377222c204c4f41442870202b202263772229202b2077290a3136302053544f52452822706422202b205349474e455228292c204c4f41442822706422202b205349474e4552282929202b2031290a3137302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e2052657665616c566f746528692055696e7436342c20766f74652055696e7436342c2073616c7420537472696e67292055696e7436340a31302044494d207020617320537472696e670a32302044494d20742061732055696e7436340a33302049462069203e3d204c4f414428226e632229205448454e20474f544f203930300a3430204c45542070203d20226322202b2049544f412869290a3530204946204c4f41442870202b202273222920213d2031205448454e20474f544f203930300a3630204c45542074203d204c4f41442870202b202276682229202b204c4f41442822636f6d6d69747722290a373020494620424c4f434b5f4845494748542829203c3d2074205448454e20474f544f203930300a383020494620424c4f434b5f4845494748542829203e2074202b204c4f4144282272657665616c772229205448454e20474f544f203930300a3930204946204558495354532870202b20227622202b205349474e4552282929203d3d2030205448454e20474f544f203930300a313030204946204558495354532870202b20227222202b205349474e4552282929203d3d2031205448454e20474f544f203930300a31313020494620766f7465203e2031205448454e20474f544f203930300a31323020494620484558285348413235362849544f41286929202b20223a22202b2049544f4128766f746529202b20223a22202b2073616c74292920213d204c4f41442870202b20227622202b205349474e4552282929205448454e20474f544f203930300a3133302053544f52452870202b20227222202b205349474e455228292c20766f7465290a31343020494620766f7465203d3d2031205448454e20474f544f203137300a3135302053544f52452870202b20226e6f222c204c4f41442870202b20226e6f2229202b204c4f41442870202b20227722202b205349474e4552282929290a3136302052455455524e20300a3137302053544f52452870202b2022796573222c204c4f41442870202b20227965732229202b204c4f41442870202b20227722202b205349474e4552282929290a3138302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e2046696e616c697a6528692055696e743634292055696e7436340a31302044494d207020617320537472696e670a32302044494d20622c206377696e2c2068616c662061732055696e7436340a33302049462069203e3d204c4f414428226e632229205448454e20474f544f203930300a3430204c45542070203d20226322202b2049544f412869290a3530204c45542062203d204c4f41442870202b20226222290a3630204946204c4f41442870202b2022732229203d3d2031205448454e20474f544f203230300a3730204946204c4f41442870202b202273222920213d2030205448454e20474f544f203930300a383020494620424c4f434b5f4845494748542829203c3d204c4f41442870202b2022682229202b204c4f4144282277696e646f772229205448454e20474f544f203930300a393020474f544f203530300a32303020494620424c4f434b5f4845494748542829203c3d204c4f41442870202b202276682229202b204c4f41442822636f6d6d6974772229202b204c4f4144282272657665616c772229205448454e20474f544f203930300a323130204c45542068616c66203d2062202f20320a323230204946204c4f41442870202b20226e6f2229203e204c4f41442870202b20227965732229205448454e20474f544f203430300a323330204c4554206377696e203d204c4f41442870202b202279657322290a3234302053544f52452870202b202277696e222c2031290a3235302053544f52452870202b20226377696e222c206377696e290a3236302053544f52452870202b2022696e63222c204c4f41442870202b202263772229202d206377696e290a323730204946206377696e203d3d2030205448454e20474f544f203330300a3238302053454e445f4445524f5f544f5f41444452455353284c4f41442870202b20226d22292c2068616c66290a3239302053544f52452870202b2022706f6f6c222c2062202d2068616c66290a32393520474f544f203530300a3330302053454e445f4445524f5f544f5f41444452455353284c4f41442870202b20226d22292c2062290a3331302053544f52452870202b2022706f6f6c222c2030290a33323020474f544f203530300a343030204c4554206377696e203d204c4f41442870202b20226e6f22290a3431302053544f52452870202b202277696e222c2030290a3432302053454e445f4445524f5f544f5f41444452455353284c4f41442870202b20227822292c2062202b2068616c66290a3433302053544f52452870202b2022706f6f6c222c2062202d2068616c66290a3434302053544f52452870202b20226377696e222c206377696e290a3435302053544f52452870202b2022696e63222c204c4f41442870202b202263772229202d206377696e290a3436302053544f52452870202b202273222c2033290a3437302052455455524e20300a3530302053454e445f4445524f5f544f5f41444452455353284c4f41442870202b20226d22292c2062290a3531302053454e445f41535345545f544f5f41444452455353284c4f41442870202b20226d22292c204c4f41442870202b20226b2229202a204c4f4144282272657761726422292c20534349442829290a3532302053544f524528226d696e746564222c204c4f414428226d696e7465642229202b204c4f41442870202b20226b2229202a204c4f414428227265776172642229290a3533302053544f52452870202b202273222c2032290a3534302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a0a46756e6374696f6e20436c61696d4a75726f7228692055696e743634292055696e7436340a31302044494d207020617320537472696e670a32302044494d20772c207061792c206375742061732055696e7436340a33302049462069203e3d204c4f414428226e632229205448454e20474f544f203930300a3430204c45542070203d20226322202b2049544f412869290a3530204946204c4f41442870202b2022732229203c2032205448454e20474f544f203930300a3630204946204558495354532870202b20226377696e2229203d3d2030205448454e20474f544f203930300a3730204946204558495354532870202b20227622202b205349474e4552282929203d3d2030205448454e20474f544f203930300a3830204946204558495354532870202b20227a22202b205349474e4552282929203d3d2031205448454e20474f544f203930300a3930204c45542077203d204c4f41442870202b20227722202b205349474e45522829290a3130302053544f52452870202b20227a22202b205349474e455228292c2031290a3131302053544f52452822706422202b205349474e455228292c204c4f41442822706422202b205349474e4552282929202d2031290a313230204946204558495354532870202b20227222202b205349474e4552282929203d3d2030205448454e20474f544f203330300a313330204946204c4f41442870202b20227222202b205349474e455228292920213d204c4f41442870202b202277696e2229205448454e20474f544f203330300a313430204c455420706179203d20284c4f41442870202b2022706f6f6c2229202b204c4f41442870202b2022696e632229202a204c4f41442822736c6173682229202f2031303029202a2077202f204c4f41442870202b20226377696e22290a3135302053454e445f4445524f5f544f5f41444452455353285349474e455228292c20706179290a3136302052455455524e20300a333030204c455420637574203d202877202a204c4f41442822736c6173682229202b20393929202f203130300a33313020494620637574203e204c4f41442822737422202b205349474e4552282929205448454e20474f544f203333300a33323020474f544f203334300a333330204c455420637574203d204c4f41442822737422202b205349474e45522829290a3334302053544f52452822737422202b205349474e455228292c204c4f41442822737422202b205349474e4552282929202d20637574290a3335302052455455524e20300a3930302052455455524e20310a456e642046756e6374696f6e0a
bond 615
commitw 10
frozen 0
maxmb 10
maxspan 1000
maxstake 1e+09
minstake 100000
minted 0
nc 0
owner 24966aebd59c3a756508b15ef514a5f256f1ac1a8765433280c342b75a98ce0500
revealw 10
reward 100
slash 10
window 20

Transaction Information

Root Hash
Built Height
7906703
Block
Timestamp
1794760682239
Timestamp (UTC)
2026-11-15 16:38:02
Block Age
8m 06s ago
Fee
0.12571
TX Size
9.781 kB
Version
1
Confirmations
25
Signature Type
DERO_HOMOMORPHIC

DERO Asset

2
Ring Size
0.12571
Fees
0.00000
Deposited
Sender
dero1qyjfv6ht6kwr5at9pzc4aag55he9dudvr2rk2sejsrp59d66nr8q2qqzwxwc9

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 "/* gt_attest.bas -- R32 mechanism M1 "miner-attested token" (MAT), DVM-BASIC. A miner claims, under its own signer (ring size 2), that its address mined k miniblocks in the height range [from, upto]. The claim posts a DERO bond of k * bond. The chain data that proves or refutes the claim is public (block headers list each miniblock's miner), but the DVM cannot read it, so the claim is OPTIMISTIC: anyone may challenge it inside the window by posting an equal bond; DERO-staked jurors then commit and reveal a vote (Schelling point). Unchallenged or upheld claims mint k * reward MAT (this contract's own asset) to the miner and refund the bond. Rules are frozen by Freeze() before the first claim (anti-rug). No payout is funded by a later participant's deposit: a winner is paid only from the loser's bond in the same dispute and from slashed stakes of incoherent jurors in the same dispute. Return 0 = success; any other value reverts (deposits go back to a known signer). */ Function Initialize() Uint64 10 STORE("owner", SIGNER()) 20 STORE("bond", 100000) 30 STORE("reward", 100) 40 STORE("window", 20) 50 STORE("commitw", 10) 60 STORE("revealw", 10) 70 STORE("maxmb", 10) 80 STORE("maxspan", 1000) 90 STORE("slash", 10) 100 STORE("minstake", 100000) 110 STORE("maxstake", 1000000000) 120 STORE("frozen", 0) 130 STORE("nc", 0) 140 STORE("minted", 0) 150 RETURN 0 End Function Function SetParams(bond Uint64, reward Uint64, window Uint64, commitw Uint64, revealw Uint64, maxmb Uint64, slash Uint64, minstake Uint64) Uint64 10 IF LOAD("owner") != SIGNER() THEN GOTO 900 20 IF LOAD("frozen") != 0 THEN GOTO 900 30 IF bond == 0 THEN GOTO 900 40 IF slash > 100 THEN GOTO 900 50 IF window == 0 || commitw == 0 || revealw == 0 || maxmb == 0 THEN GOTO 900 60 STORE("bond", bond) 70 STORE("reward", reward) 80 STORE("window", window) 90 STORE("commitw", commitw) 100 STORE("revealw", revealw) 110 STORE("maxmb", maxmb) 120 STORE("slash", slash) 130 STORE("minstake", minstake) 140 RETURN 0 900 RETURN 1 End Function Function Freeze() Uint64 10 IF LOAD("owner") != SIGNER() THEN GOTO 900 20 STORE("frozen", 1) 30 RETURN 0 900 RETURN 1 End Function Function Claim(from Uint64, upto Uint64, k Uint64) Uint64 10 DIM i, b as Uint64 20 DIM p as String 30 IF LOAD("frozen") == 0 THEN GOTO 900 40 IF IS_ADDRESS_VALID(SIGNER()) == 0 THEN GOTO 900 50 IF upto < from THEN GOTO 900 60 IF upto - from >= LOAD("maxspan") THEN GOTO 900 70 IF upto >= BLOCK_HEIGHT() THEN GOTO 900 80 IF k == 0 THEN GOTO 900 90 IF k > (upto - from + 1) * LOAD("maxmb") THEN GOTO 900 100 IF EXISTS("lc" + SIGNER()) == 0 THEN GOTO 120 110 IF from <= LOAD("lc" + SIGNER()) THEN GOTO 900 120 LET b = k * LOAD("bond") 130 IF DEROVALUE() != b THEN GOTO 900 140 LET i = LOAD("nc") 150 LET p = "c" + ITOA(i) 160 STORE(p + "m", SIGNER()) 170 STORE(p + "f", from) 180 STORE(p + "u", upto) 190 STORE(p + "k", k) 200 STORE(p + "b", b) 210 STORE(p + "h", BLOCK_HEIGHT()) 220 STORE(p + "s", 0) 230 STORE("lc" + SIGNER(), upto) 240 STORE("nc", i + 1) 250 RETURN 0 900 RETURN 1 End Function Function Challenge(i Uint64) Uint64 10 DIM p as String 20 IF IS_ADDRESS_VALID(SIGNER()) == 0 THEN GOTO 900 30 IF i >= LOAD("nc") THEN GOTO 900 40 LET p = "c" + ITOA(i) 50 IF LOAD(p + "s") != 0 THEN GOTO 900 60 IF BLOCK_HEIGHT() > LOAD(p + "h") + LOAD("window") THEN GOTO 900 70 IF DEROVALUE() != LOAD(p + "b") THEN GOTO 900 80 IF SIGNER() == LOAD(p + "m") THEN GOTO 900 90 STORE(p + "s", 1) 100 STORE(p + "x", SIGNER()) 110 STORE(p + "vh", BLOCK_HEIGHT()) 120 STORE(p + "yes", 0) 130 STORE(p + "no", 0) 140 STORE(p + "cw", 0) 150 RETURN 0 900 RETURN 1 End Function Function Stake() Uint64 10 DIM s as Uint64 20 IF IS_ADDRESS_VALID(SIGNER()) == 0 THEN GOTO 900 30 IF DEROVALUE() == 0 THEN GOTO 900 40 LET s = 0 50 IF EXISTS("st" + SIGNER()) == 0 THEN GOTO 70 60 LET s = LOAD("st" + SIGNER()) 70 IF s + DEROVALUE() > LOAD("maxstake") THEN GOTO 900 80 STORE("st" + SIGNER(), s + DEROVALUE()) 90 IF EXISTS("pd" + SIGNER()) == 1 THEN GOTO 110 100 STORE("pd" + SIGNER(), 0) 110 RETURN 0 900 RETURN 1 End Function Function Unstake(amount Uint64) Uint64 10 IF EXISTS("st" + SIGNER()) == 0 THEN GOTO 900 20 IF LOAD("pd" + SIGNER()) != 0 THEN GOTO 900 30 IF amount == 0 || amount > LOAD("st" + SIGNER()) THEN GOTO 900 40 STORE("st" + SIGNER(), LOAD("st" + SIGNER()) - amount) 50 SEND_DERO_TO_ADDRESS(SIGNER(), amount) 60 RETURN 0 900 RETURN 1 End Function Function CommitVote(i Uint64, h String) Uint64 10 DIM p as String 20 DIM w as Uint64 30 IF i >= LOAD("nc") THEN GOTO 900 40 LET p = "c" + ITOA(i) 50 IF LOAD(p + "s") != 1 THEN GOTO 900 60 IF BLOCK_HEIGHT() > LOAD(p + "vh") + LOAD("commitw") THEN GOTO 900 70 IF EXISTS("st" + SIGNER()) == 0 THEN GOTO 900 80 LET w = LOAD("st" + SIGNER()) 90 IF w < LOAD("minstake") THEN GOTO 900 100 IF SIGNER() == LOAD(p + "m") || SIGNER() == LOAD(p + "x") THEN GOTO 900 110 IF EXISTS(p + "v" + SIGNER()) == 1 THEN GOTO 900 120 IF STRLEN(h) != 64 THEN GOTO 900 130 STORE(p + "v" + SIGNER(), h) 140 STORE(p + "w" + SIGNER(), w) 150 STORE(p + "cw", LOAD(p + "cw") + w) 160 STORE("pd" + SIGNER(), LOAD("pd" + SIGNER()) + 1) 170 RETURN 0 900 RETURN 1 End Function Function RevealVote(i Uint64, vote Uint64, salt String) Uint64 10 DIM p as String 20 DIM t as Uint64 30 IF i >= LOAD("nc") THEN GOTO 900 40 LET p = "c" + ITOA(i) 50 IF LOAD(p + "s") != 1 THEN GOTO 900 60 LET t = LOAD(p + "vh") + LOAD("commitw") 70 IF BLOCK_HEIGHT() <= t THEN GOTO 900 80 IF BLOCK_HEIGHT() > t + LOAD("revealw") THEN GOTO 900 90 IF EXISTS(p + "v" + SIGNER()) == 0 THEN GOTO 900 100 IF EXISTS(p + "r" + SIGNER()) == 1 THEN GOTO 900 110 IF vote > 1 THEN GOTO 900 120 IF HEX(SHA256(ITOA(i) + ":" + ITOA(vote) + ":" + salt)) != LOAD(p + "v" + SIGNER()) THEN GOTO 900 130 STORE(p + "r" + SIGNER(), vote) 140 IF vote == 1 THEN GOTO 170 150 STORE(p + "no", LOAD(p + "no") + LOAD(p + "w" + SIGNER())) 160 RETURN 0 170 STORE(p + "yes", LOAD(p + "yes") + LOAD(p + "w" + SIGNER())) 180 RETURN 0 900 RETURN 1 End Function Function Finalize(i Uint64) Uint64 10 DIM p as String 20 DIM b, cwin, half as Uint64 30 IF i >= LOAD("nc") THEN GOTO 900 40 LET p = "c" + ITOA(i) 50 LET b = LOAD(p + "b") 60 IF LOAD(p + "s") == 1 THEN GOTO 200 70 IF LOAD(p + "s") != 0 THEN GOTO 900 80 IF BLOCK_HEIGHT() <= LOAD(p + "h") + LOAD("window") THEN GOTO 900 90 GOTO 500 200 IF BLOCK_HEIGHT() <= LOAD(p + "vh") + LOAD("commitw") + LOAD("revealw") THEN GOTO 900 210 LET half = b / 2 220 IF LOAD(p + "no") > LOAD(p + "yes") THEN GOTO 400 230 LET cwin = LOAD(p + "yes") 240 STORE(p + "win", 1) 250 STORE(p + "cwin", cwin) 260 STORE(p + "inc", LOAD(p + "cw") - cwin) 270 IF cwin == 0 THEN GOTO 300 280 SEND_DERO_TO_ADDRESS(LOAD(p + "m"), half) 290 STORE(p + "pool", b - half) 295 GOTO 500 300 SEND_DERO_TO_ADDRESS(LOAD(p + "m"), b) 310 STORE(p + "pool", 0) 320 GOTO 500 400 LET cwin = LOAD(p + "no") 410 STORE(p + "win", 0) 420 SEND_DERO_TO_ADDRESS(LOAD(p + "x"), b + half) 430 STORE(p + "pool", b - half) 440 STORE(p + "cwin", cwin) 450 STORE(p + "inc", LOAD(p + "cw") - cwin) 460 STORE(p + "s", 3) 470 RETURN 0 500 SEND_DERO_TO_ADDRESS(LOAD(p + "m"), b) 510 SEND_ASSET_TO_ADDRESS(LOAD(p + "m"), LOAD(p + "k") * LOAD("reward"), SCID()) 520 STORE("minted", LOAD("minted") + LOAD(p + "k") * LOAD("reward")) 530 STORE(p + "s", 2) 540 RETURN 0 900 RETURN 1 End Function Function ClaimJuror(i Uint64) Uint64 10 DIM p as String 20 DIM w, pay, cut as Uint64 30 IF i >= LOAD("nc") THEN GOTO 900 40 LET p = "c" + ITOA(i) 50 IF LOAD(p + "s") < 2 THEN GOTO 900 60 IF EXISTS(p + "cwin") == 0 THEN GOTO 900 70 IF EXISTS(p + "v" + SIGNER()) == 0 THEN GOTO 900 80 IF EXISTS(p + "z" + SIGNER()) == 1 THEN GOTO 900 90 LET w = LOAD(p + "w" + SIGNER()) 100 STORE(p + "z" + SIGNER(), 1) 110 STORE("pd" + SIGNER(), LOAD("pd" + SIGNER()) - 1) 120 IF EXISTS(p + "r" + SIGNER()) == 0 THEN GOTO 300 130 IF LOAD(p + "r" + SIGNER()) != LOAD(p + "win") THEN GOTO 300 140 LET pay = (LOAD(p + "pool") + LOAD(p + "inc") * LOAD("slash") / 100) * w / LOAD(p + "cwin") 150 SEND_DERO_TO_ADDRESS(SIGNER(), pay) 160 RETURN 0 300 LET cut = (w * LOAD("slash") + 99) / 100 310 IF cut > LOAD("st" + SIGNER()) THEN GOTO 330 320 GOTO 340 330 LET cut = LOAD("st" + SIGNER()) 340 STORE("st" + SIGNER(), LOAD("st" + SIGNER()) - cut) 350 RETURN 0 900 RETURN 1 End Function "

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.

Raw Transaction Data