Contracts
CoreTex settlement lives in BotcoinMiningV4. CoreTex state-transition serialization lives in CoreTexRegistry. V4 initially reads stake, tier, and epoch timing from V3.
| Contract | Role |
|---|---|
BotcoinMiningV4 |
CoreTex receipts, standard receipts, funding, finalization, claims, epoch secret reveal |
CoreTexRegistry |
Canonical live root, transition count, context views, state-advance events |
BotcoinMiningV3 |
Initial stake, tier, and epoch clock source |
V4 exposes genesisTimestamp(), epochDuration(), and currentEpoch(). The registry accepts state advances from V4. Registry finalization is a replay seal that binds a completed CoreTex epoch header to chain history, while V4 remains the reward settlement path.
Runtime addresses should come from env, config, or deployment artifacts. Final launch docs should be regenerated from the final deployment artifact after rebundle, repin, and deploy.