Module state

Module state 

Source

Structs§

Auction
Singleton auction configuration account
AuctionPool
Auction Pool account (per-epoch pool) PDA: [AUCTION_POOL, well_id, epoch_id] This account holds SOL contributions for this specific epoch/auction
Automation
Bid
Bid account tracks individual user contributions to auction pools for a specific epoch PDA: [BID, authority, well_id, epoch_id] One Bid account per user per well per epoch (Macaron-style)
Board
Config
Driller
Pool
Pool account holds all staking-related data and SOL rewards for stakers.
Referral
Referral account tracks a referrer’s stats and pending rewards.
Rig
Rig account for auction-based mining Similar to Driller but focused on auction wells
Round
Stake
Treasury
Treasury is a singleton account which is the mint authority for the OIL token and the authority of the program’s global token account.
Well
Well account (one per well) PDA: [WELL, well_id] Tracks current auction state for a well

Enums§

AutomationStrategy
OilAccount

Functions§

auction_pda
auction_pool_pda
automation_pda
bid_pda
board_pda
config_pda
driller_pda
pool_pda
pool_tokens_address
referral_pda
rig_pda
round_pda
stake_pda
stake_pda_with_id
treasury_pda
treasury_tokens_address
well_pda