{"deployed":false,"address":null,"chain_id":4663,"explorer":"https://robinhoodchain.blockscout.com","rpc_label":"https://rpc.mainnet.chain.robinhood.com","token":null,"stable":"0x5fc5360d0400a0fd4f2af552add042d716f1d168","record_key":null,"config":null,"last_hour":null,"keys":[{"role":"Admin","address":null,"can":"Propose settings changes (public on chain, applied 7 or more days later); set the token address once.","worst":"Settings changes that wait 7 days in public view. Cannot move locked tokens and cannot change any posted root."},{"role":"Record key","address":null,"can":"Post one root per finished UTC hour in increasing order, and one batch root of new wallet calls in increasing batch order.","worst":"Bad roots for hours or batches not posted yet (they fail verification against the published files). Cannot change or remove any posted root."}],"enforced_by_chain":["The contract has no upgrade path: its code cannot be replaced after deploy","Hourly roots only in increasing hour order: a second root for an hour or a root for an older hour is refused (HourNotIncreasing)","A root only after its hour has ended by the chain clock (HourNotFinished)","Call batches only in increasing batch order, never empty (BatchNotIncreasing, EmptyBatch)","No function edits or removes a posted root or batch","Only the record key posts roots and batches (NotRecordKey)","A deposit counts after 24 hours; a withdrawal request stops counting at once and pays the owner after the wait (WithdrawNotReady)","Settings changes wait at least 7 days (TimelockNotElapsed)","The token address is set once (TokenAlreadySet)"],"done_by_server":["Finding calls and matching markets: every verdict is a leaf","Market probability and score: recomputable from Kalshi minute data","Leaf files and batch files hash to the roots on chain"],"rejection_demos":[{"n":1,"what":"Post a root for the hour that already has the last root (the same hour twice)","signer":"record key","expected_error":"HourNotIncreasing","needs":"a posted root","status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":2,"what":"Post a root for an hour older than the last posted hour","signer":"record key","expected_error":"HourNotIncreasing","needs":"a posted root above hour 0","status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":3,"what":"Post a root for an hour that is not over (one year ahead)","signer":"record key","expected_error":"HourNotFinished","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":4,"what":"Post a root signed by a key that is not the record key","signer":"a wallet with no role","expected_error":"NotRecordKey","needs":"a funded wallet with no role (BELL15_HOUSE_KEY)","status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":5,"what":"Commit a call batch whose id is not above the last batch id","signer":"record key","expected_error":"BatchNotIncreasing","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":6,"what":"Commit an empty call batch (count 0)","signer":"record key","expected_error":"EmptyBatch","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":7,"what":"Commit a call batch signed by a key that is not the record key","signer":"a wallet with no role","expected_error":"NotRecordKey","needs":"a funded wallet with no role (BELL15_HOUSE_KEY)","status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":8,"what":"Propose a config with a timelock under 7 days","signer":"admin","expected_error":"InvalidTimelock","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":9,"what":"Propose a config from a key that is not the admin","signer":"a wallet with no role","expected_error":"NotAdmin","needs":"a funded wallet with no role (BELL15_HOUSE_KEY)","status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":10,"what":"Apply a config change before its timelock has passed (or with none pending)","signer":"any wallet","expected_error":"NoPendingConfig / TimelockNotElapsed","needs":"no pending change, or one before its eta","status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":11,"what":"Set the token to an address with no contract code","signer":"admin","expected_error":"InvalidToken / TokenAlreadySet","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":12,"what":"Deposit nothing (or deposit before the token is set)","signer":"any wallet","expected_error":"TokenNotSet / ZeroAmount","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":13,"what":"Request a withdrawal larger than the lock","signer":"any wallet","expected_error":"InsufficientLocked","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":14,"what":"Withdraw with nothing pending, or before the withdrawal wait has passed","signer":"any wallet","expected_error":"NothingPending / WithdrawNotReady","needs":"no withdrawal ready for the signing wallet","status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":15,"what":"Buy plan 4 (only plans 1, 2 and 3 exist)","signer":"any wallet","expected_error":"InvalidPlan","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":16,"what":"Buy 13 months of a plan (1 to 12 allowed)","signer":"any wallet","expected_error":"InvalidMonths","needs":null,"status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null},{"n":17,"what":"Distribute an empty sale balance","signer":"any wallet","expected_error":"NothingToDistribute","needs":"an empty sale balance","status":"to send after deploy","tx":null,"chain_id":null,"contract":null,"from":null,"block":null,"sent_at":null,"error_check":null}],"functions":["activePlan","applyConfig","buyPlan","cancelConfig","commitBatch","config","countedOf","deposit","distribute","expiriesOf","lastBatchId","lastHour","lockOf","pendingConfig","postRoot","proposeConfig","requestWithdraw","setToken","stable","tierOf","token","withdraw"],"errors":["BatchNotIncreasing","EmptyBatch","HourNotFinished","HourNotIncreasing","InsufficientLocked","InvalidBps","InvalidMonths","InvalidPlan","InvalidPrice","InvalidTiers","InvalidTimelock","InvalidToken","InvalidWait","NoPendingConfig","NotAdmin","NotRecordKey","NothingPending","NothingToDistribute","ReentrancyGuardReentrantCall","SafeCastOverflowedUintDowncast","SafeERC20FailedOperation","TimelockNotElapsed","TokenAlreadySet","TokenNotSet","TooManyLots","WithdrawNotReady","ZeroAddress","ZeroAmount"],"events":["CallBatch","ConfigApplied","ConfigCancelled","ConfigProposed","Deposited","Distributed","PlanBought","RootPosted","TokenSet","WithdrawRequested","Withdrawn"]}