Network Difficulty
8104733
Hash Rate
8.000 MH/s
Avg Block Time
18.1188s
Total Supply
16768922
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 29001

String Variables

Key Value
C 2f2a20536170486f757365446963652e64766d20e28094205032206f70657261746f722d62616e6b726f6c6c20646963652028686f7573652d62616e6b65642c2066616d696c792042292e0d0a0d0a20202054686520464952535420686f7573652d62616e6b656420636f6e747261637420e280942065737461626c697368657320746865206f70657261746f722d62616e6b726f6c6c20746965720d0a20202028434153494e4f5f5350454320c2a731382e3329207468617420626c61636b6a61636b202620726f756c65747465207468656e2072657573652e20546865206f70657261746f720d0a2020206361706974616c697a65732074686520534320616e64207374616e647320617320636f756e74657270617274793b2074686520706c61796572206265747320616761696e7374207468650d0a20202062616e6b2e20546865206f70657261746f722063617272696573207468652076617269616e63652f656467653b2057452072616b65202876656e646f722c206e6576657220686f757365292e0d0a0d0a2020205472757374206d6f64656c2028686f6e6573742c20c2a731382e33293a0d0a20202020202d206f70657261746f7220736574732060666c6f6f7260206174206465706c6f792c207468656e2046554e4453207265616c204445524f206361706974616c207669610d0a2020202020202046756e6442616e6b2028706f6f6c2073746172747320303b206361706974616c2069732061637475616c2c206e6f7420626f6f6b6b656570696e67292e0d0a20202020202d20576974686472617750726f6669742063616e204e455645522074616b652074686520706f6f6c2062656c6f7720666c6f6f722028677561726465642c206e6f0d0a20202020202020756e646572666c6f77292e20666c6f6f72206973206f70657261746f72206361706974616c206174207269736b20746861742067756172616e7465657320706c617965720d0a20202020202020736f6c76656e637920757020746f207468617420616d6f756e742e0d0a20202020202d20656467652069732062616b65643a20706c617965722077696e73206f6e6c79206f6e20612034392d736c6f7420736964652028726f6c6c20302e2e3438204c6f772c0d0a2020202020202035312e2e3939204869676829206174206576656e206d6f6e6579203278202d3e207e322520686f7573652065646765202b206f75722072616b652e0d0a20202020202d20726f6c6c2069732052414e444f4d28313030293b20424c4944206f66207468652062657420747820697320756e6b6e6f7761626c6520746f206569746865722070617274790d0a20202020202020617420636f6d6d6974202d3e206e656974686572207269677320697420285361704475656c20726174696f6e616c65292e0d0a20202020202d206576657279207265736f6c7665642068616e6420726f757465732072616b6520746f20612068617264636f64656420636f6c6c6563746f72202861746f6d6963292e0d0a0d0a202020506f6f6c203d206f70657261746f72206361706974616c202b20616363756d756c6174656420686f7573652077696e73202b20696e2d666c6967687420706c6179657220626574732c0d0a2020206e6574206f66207061796f757473202b207769746864726177616c732e20416c6c2061726974686d65746963206775617264656420616761696e737420756e646572666c6f772e0d0a20202053616e697479436865636b45787465726e616c5472616e736665727320656e666f7263657320746865205343206e65766572206f7665726472617773207265616c204445524f2e0d0a2a2f0d0a0d0a46756e6374696f6e20496e697469616c697a6528636f6c6c6563746f7220537472696e672c20666c6f6f7220537472696e67292055696e7436340d0a3520202076657273696f6e2822312e302e3022290d0a313020204946205354524c454e28414444524553535f52415728636f6c6c6563746f722929203d3d203333205448454e20474f544f2034300d0a3230202052455455524e20310d0a3430202053544f524528226665655f627073222c203130290d0a3530202053544f52452822636f6c6c6563746f72222c20414444524553535f52415728636f6c6c6563746f7229290d0a3630202053544f524528226f776e6572222c205349474e45522829290d0a3730202053544f52452822666c6f6f72222c2041544f4928666c6f6f7229290d0a3830202053544f52452822706f6f6c222c203029202020202020202020202020202020202f2a2066756e646564207669612046756e6442616e6b2c206e6f74207072652d6372656469746564202a2f0d0a3930202053544f52452822636f6c6c6563746564222c2030290d0a3130302053544f5245282277696e73222c2030290d0a3131302052455455524e20300d0a456e642046756e6374696f6e0d0a0d0a2f2a204f70657261746f722061646473207265616c206361706974616c2e204f6e6c79206f776e65722e2041646473204445524f56414c554520746f2074686520706f6f6c2e202a2f0d0a46756e6374696f6e2046756e6442616e6b28292055696e7436340d0a3520202076657273696f6e2822312e302e3022290d0a3130202064696d20762061732055696e7436340d0a323020204946204c4f414428226f776e65722229203d3d205349474e45522829205448454e20474f544f2035300d0a3330202052455455524e20310d0a353020204c45542076203d204445524f56414c554528290d0a3630202049462076203e2030205448454e20474f544f2039300d0a3730202052455455524e20310d0a3930202053544f52452822706f6f6c222c204c4f41442822706f6f6c2229202b2076290d0a3130302052455455524e20300d0a456e642046756e6374696f6e0d0a0d0a2f2a20506c617965722062657473206062657460206f6e20736964652028303d4c6f7720726f6c6c302e2e34382c20313d4869676820726f6c6c35312e2e3939292c206576656e206d6f6e65790d0a2020202877696e207061797320322a7374616b65292e205265736f6c7665732061746f6d6963616c6c79207673207468652062616e6b2e20706f6f6c206d6972726f72732074686520534327730d0a2020207265616c2068656c64204445524f2065786163746c79206f6e206576657279206272616e63682028636f6e736572766174696f6e20696e76617269616e74292c2077686963682069730d0a2020207768617420576974686472617750726f66697420616e642074686520666c6f6f722072657374206f6e2e202a2f0d0a46756e6374696f6e2042657428736964652055696e7436342c206265742055696e743634292055696e7436340d0a3520202076657273696f6e2822312e302e3022290d0a3130202064696d20762c2072616b652c20726f6c6c2c207374616b652061732055696e7436340d0a323020204c45542076203d204445524f56414c554528290d0a3330202049462076203d3d20626574205448454e20474f544f2036300d0a3430202052455455524e20310d0a36302020494620626574203e3d2031205448454e20474f544f2039300d0a3730202052455455524e20310d0a3930202049462073696465203c3d2031205448454e20474f544f203132300d0a3130302052455455524e20310d0a313230204946204c4f41442822706f6f6c2229203e3d20626574205448454e20474f544f2031353020202f2a2062616e6b206d75737420636f76657220746865207374616b65202a2f0d0a3133302052455455524e20310d0a313530204c455420726f6c6c203d2052414e444f4d28313030290d0a313630204c45542072616b65203d20626574202a204c4f414428226665655f6270732229202f2031303030300d0a3137302049462072616b65203c20626574205448454e20474f544f203230300d0a313830204c45542072616b65203d20626574202f20320d0a323030204c4554207374616b65203d20626574202d2072616b650d0a3231302053544f52452822706f6f6c222c204c4f41442822706f6f6c2229202b206265742920202020202f2a202b6465706f736974202a2f0d0a3231352053544f52452822706f6f6c222c204c4f41442822706f6f6c2229202d2072616b6529202020202f2a202d72616b65202873656e7420746f20636f6c6c6563746f722062656c6f7729202a2f0d0a3232302053454e445f4445524f5f544f5f41444452455353284c4f41442822636f6c6c6563746f7222292c2072616b65290d0a3233302053544f52452822636f6c6c6563746564222c204c4f41442822636f6c6c65637465642229202b2072616b65290d0a3234302049462073696465203d3d2030205448454e20474f544f203238300d0a3235302049462073696465203d3d2031205448454e20474f544f203330300d0a3236302052455455524e20310d0a32383020494620726f6c6c203c3d203438205448454e20474f544f203334302020202020202020202020202f2a204c6f772077696e73202a2f0d0a32393020474f544f20333930202020202020202020202020202020202020202020202020202020202020202f2a204c6f77206c6f736573202d3e20686f757365202a2f0d0a33303020494620726f6c6c203e3d203531205448454e20474f544f203334302020202020202020202020202f2a20486967682077696e73202a2f0d0a33313020474f544f20333930202020202020202020202020202020202020202020202020202020202020202f2a2048696768206c6f736573202d3e20686f757365202a2f0d0a2f2a20706c617965722077696e733a2070617973206576656e206d6f6e657920322a7374616b65206f75742e20706f6f6c20736f20666172203d20707265762b6265742d72616b653b0d0a20202067756172643a2063757272656e7420706f6f6c206d75737420636f766572207468652066756c6c207061796f75742c20656c73652072657665727420636c65616e6c790d0a2020202853616e697479436865636b20776f756c6420616c736f2072656a65637420616e206f76657264726177292e20537562747261637420322a7374616b652e202a2f0d0a333430204946204c4f41442822706f6f6c2229203e3d207374616b65202b20626574202d2072616b65205448454e20474f544f203336300d0a3334352052455455524e20310d0a3336302053544f52452822706f6f6c222c204c4f41442822706f6f6c2229202d20287374616b65202b20626574202d2072616b65292920202f2a202d322a7374616b65207061796f7574202a2f0d0a3336352053454e445f4445524f5f544f5f41444452455353285349474e455228292c207374616b65202b20626574202d2072616b652920202f2a203d20322a7374616b65202a2f0d0a3337302052455455524e20300d0a2f2a20686f7573652077696e733a206e657420706f6f6c203d2070726576202b20626574202d2072616b65203d2070726576202b207374616b652e204e6f207061796f75742e202a2f0d0a3339302053544f5245282277696e73222c204c4f4144282277696e732229202b20626574290d0a3430302052455455524e20300d0a456e642046756e6374696f6e0d0a0d0a2f2a204f70657261746f72207769746864726177732070726f66697420646f776e20746f20666c6f6f722e204775617264656420286e6f20756e646572666c6f77292e202a2f0d0a46756e6374696f6e20576974686472617750726f66697428616d742055696e743634292055696e7436340d0a3520202076657273696f6e2822312e302e3022290d0a3130202064696d20617661696c2061732055696e7436340d0a323020204946204c4f414428226f776e65722229203d3d205349474e45522829205448454e20474f544f2035300d0a3330202052455455524e20310d0a353020204946204c4f41442822706f6f6c2229203e3d204c4f41442822666c6f6f722229205448454e20474f544f2038300d0a3630202052455455524e20310d0a383020204946204c4f41442822706f6f6c2229202d204c4f41442822666c6f6f722229203e3d20616d74205448454e20474f544f203131300d0a3930202052455455524e20310d0a31313020494620616d74203e3d2031205448454e20474f544f203134300d0a3132302052455455524e20310d0a3134302053544f52452822706f6f6c222c204c4f41442822706f6f6c2229202d20616d74290d0a3135302053454e445f4445524f5f544f5f41444452455353285349474e455228292c20616d74290d0a3136302052455455524e20300d0a456e642046756e6374696f6e0d0a
collected 5
collector 09733afe4b78345f3651a1bf2f5f1ce1e329e8c347d055af74c1e151ee118e0c00
fee_bps 10
floor 0
owner 09733afe4b78345f3651a1bf2f5f1ce1e329e8c347d055af74c1e151ee118e0c00
pool 29001
wins 2000

Transaction Information

Root Hash
Built Height
7584838
Block
Timestamp
1788787446505
Timestamp (UTC)
2026-09-07 13:24:06
Block Age
1h 50m ago
Fee
0.07270
TX Size
6.322 kB
Version
1
Confirmations
364
Signature Type
DERO_HOMOMORPHIC

DERO Asset

2
Ring Size
0.07270
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 "/* SapHouseDice.dvm — P2 operator-bankroll dice (house-banked, family B). The FIRST house-banked contract — establishes the operator-bankroll tier (CASINO_SPEC §18.3) that blackjack & roulette then reuse. The operator capitalizes the SC and stands as counterparty; the player bets against the bank. The operator carries the variance/edge; WE rake (vendor, never house). Trust model (honest, §18.3): - operator sets `floor` at deploy, then FUNDS real DERO capital via FundBank (pool starts 0; capital is actual, not bookkeeping). - WithdrawProfit can NEVER take the pool below floor (guarded, no underflow). floor is operator capital at risk that guarantees player solvency up to that amount. - edge is baked: player wins only on a 49-slot side (roll 0..48 Low, 51..99 High) at even money 2x -> ~2% house edge + our rake. - roll is RANDOM(100); BLID of the bet tx is unknowable to either party at commit -> neither rigs it (SapDuel rationale). - every resolved hand routes rake to a hardcoded collector (atomic). Pool = operator capital + accumulated house wins + in-flight player bets, net of payouts + withdrawals. All arithmetic guarded against underflow. SanityCheckExternalTransfers enforces the SC never overdraws real DERO. */ Function Initialize(collector String, floor String) Uint64 5 version("1.0.0") 10 IF STRLEN(ADDRESS_RAW(collector)) == 33 THEN GOTO 40 20 RETURN 1 40 STORE("fee_bps", 10) 50 STORE("collector", ADDRESS_RAW(collector)) 60 STORE("owner", SIGNER()) 70 STORE("floor", ATOI(floor)) 80 STORE("pool", 0) /* funded via FundBank, not pre-credited */ 90 STORE("collected", 0) 100 STORE("wins", 0) 110 RETURN 0 End Function /* Operator adds real capital. Only owner. Adds DEROVALUE to the pool. */ Function FundBank() Uint64 5 version("1.0.0") 10 dim v as Uint64 20 IF LOAD("owner") == SIGNER() THEN GOTO 50 30 RETURN 1 50 LET v = DEROVALUE() 60 IF v > 0 THEN GOTO 90 70 RETURN 1 90 STORE("pool", LOAD("pool") + v) 100 RETURN 0 End Function /* Player bets `bet` on side (0=Low roll0..48, 1=High roll51..99), even money (win pays 2*stake). Resolves atomically vs the bank. pool mirrors the SC's real held DERO exactly on every branch (conservation invariant), which is what WithdrawProfit and the floor rest on. */ Function Bet(side Uint64, bet Uint64) Uint64 5 version("1.0.0") 10 dim v, rake, roll, stake as Uint64 20 LET v = DEROVALUE() 30 IF v == bet THEN GOTO 60 40 RETURN 1 60 IF bet >= 1 THEN GOTO 90 70 RETURN 1 90 IF side <= 1 THEN GOTO 120 100 RETURN 1 120 IF LOAD("pool") >= bet THEN GOTO 150 /* bank must cover the stake */ 130 RETURN 1 150 LET roll = RANDOM(100) 160 LET rake = bet * LOAD("fee_bps") / 10000 170 IF rake < bet THEN GOTO 200 180 LET rake = bet / 2 200 LET stake = bet - rake 210 STORE("pool", LOAD("pool") + bet) /* +deposit */ 215 STORE("pool", LOAD("pool") - rake) /* -rake (sent to collector below) */ 220 SEND_DERO_TO_ADDRESS(LOAD("collector"), rake) 230 STORE("collected", LOAD("collected") + rake) 240 IF side == 0 THEN GOTO 280 250 IF side == 1 THEN GOTO 300 260 RETURN 1 280 IF roll <= 48 THEN GOTO 340 /* Low wins */ 290 GOTO 390 /* Low loses -> house */ 300 IF roll >= 51 THEN GOTO 340 /* High wins */ 310 GOTO 390 /* High loses -> house */ /* player wins: pays even money 2*stake out. pool so far = prev+bet-rake; guard: current pool must cover the full payout, else revert cleanly (SanityCheck would also reject an overdraw). Subtract 2*stake. */ 340 IF LOAD("pool") >= stake + bet - rake THEN GOTO 360 345 RETURN 1 360 STORE("pool", LOAD("pool") - (stake + bet - rake)) /* -2*stake payout */ 365 SEND_DERO_TO_ADDRESS(SIGNER(), stake + bet - rake) /* = 2*stake */ 370 RETURN 0 /* house wins: net pool = prev + bet - rake = prev + stake. No payout. */ 390 STORE("wins", LOAD("wins") + bet) 400 RETURN 0 End Function /* Operator withdraws profit down to floor. Guarded (no underflow). */ Function WithdrawProfit(amt Uint64) Uint64 5 version("1.0.0") 10 dim avail as Uint64 20 IF LOAD("owner") == SIGNER() THEN GOTO 50 30 RETURN 1 50 IF LOAD("pool") >= LOAD("floor") THEN GOTO 80 60 RETURN 1 80 IF LOAD("pool") - LOAD("floor") >= amt THEN GOTO 110 90 RETURN 1 110 IF amt >= 1 THEN GOTO 140 120 RETURN 1 140 STORE("pool", LOAD("pool") - amt) 150 SEND_DERO_TO_ADDRESS(SIGNER(), amt) 160 RETURN 0 End Function "
collector string "dero1qyyhxwh7fdurghek2xsm7t6lrns7x20gcdraq4d0wnq7z50wzx8qcqq9vvptz"
entrypoint string "Initialize"
floor string "0"

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