Set up automation for a miner. If the miner doesn’t exist yet, pass a referrer to set it.
If a referrer is provided and the miner is new, the referral account must be included.
Creates a Code account linking an access code to a specific wallet (authority).
Admin-only instruction.
Accounts: signer (admin), config, code, system_program
Deploy SOL to prospect on squares. Pass a referrer pubkey for new miners to set up referral.
Set pooled to true to join the mining pool (rewards shared proportionally).
Migrate: Extend Config struct with tge_timestamp field.
This migration ensures the Config account has the new tge_timestamp field available.
Must be called by the admin.
Accounts: signer, config, system_program
Direct solo bid on an auction well (seize ownership).
The bid amount is calculated on-chain as current_price + 1 lamport.
User must have enough SOL in their wallet to cover the bid.
Sets the TGE (Token Generation Event) timestamp.
If current time < tge_timestamp, pre-mine is active.
Set to 0 to disable pre-mine.
Admin-only instruction.