Contracts & addresses
Deployed addresses, key functions and events.
Testnet (chain id 46630). ABIs live in the repo under
web/lib/abi/, or fetch everything from GET /api/state.| Contract | Address |
|---|---|
| Sherwood (game) | 0x781b72DC32Dd25F1F223AD6c44dD11D26CAc3F91 |
| LootToken ($LOOT) | 0xa29b0076f7b0225e88097394564226d6142f73eA |
| KingsRansom (lottery) | 0x7D6e3D2418bB6a50257adB9B050dB7BBCf22466E |
| LootPool (AMM) | 0x7C275Ed38f64a78cc6959452A3A84554AF7846E7 |
| LootStake (staking) | 0x324a9dC0EEfb72a9aEb38823a75c9cB2b762C67b |
| SponsorVault (drops) | 0xcEfFBaA593456BfF2f113e1D42e9C5f4B7D3A7dD |
Key entry points
| Function | What it does |
|---|---|
ambush(square) | stake ETH on one hideout (payable) |
ambushMany(squares[]) | cover several hideouts in one tx, stake splits evenly |
seal() / draw() | advance the round — permissionless, tipped 0.0001 ETH |
withdraw() | take everything from your auto-settled bank |
claim(roundId) | manual claim for a specific finalized round |
bury(minLootOut) | trigger the buyback — permissionless, 1h cooldown, tipped |
enter(count) | buy lottery tickets (KingsRansom; needs LOOT approval) |
stake / unstake / claimRewards | LootStake, no lockup |
swapEthForLoot / swapLootForEth | LootPool trading |
Events worth indexing
RoundStarted, Deployed, Drawn, VaultBurst, Settled, Buried, TicketsBought, DropCreated — everything a leaderboard or bot needs is emitted.
SHERWOOD