This code was AUTOGENERATED using the codama library.
Please DO NOT EDIT THIS FILE, instead use visitors
to add features, then rerun codama to update it.
This code was AUTOGENERATED using the codama library.
Please DO NOT EDIT THIS FILE, instead use visitors
to add features, then rerun codama to update it.
This code was AUTOGENERATED using the codama library.
Please DO NOT EDIT THIS FILE, instead use visitors
to add features, then rerun codama to update it.
claim: settle the miner authority’s deployment in a Settled round —
credit winnings (USD + sats vault shares) and hashrate points to the miner
profile, then close the deployment account, returning its rent. Valid for
losing deployments too (they still earn hashrate points).
deploy_public: stake amount USD (base units, gross of fees) on the tiles
in selection_mask for round round_id, as the miner authority. The round
must be the board’s current one and open for deploys; the miner profile and
deployment record PDAs are created by the instruction.
rotate_round: reveal current_round_id’s winning tile and deploy round
current_round_id + 1 as the board’s new active round. Signed by the
config’s round authority; valid once the current round’s window elapsed.
swap_round_stake: relay a pre-built aggregator route that converts part of
the revealed round’s USD into BTC. swap_data and route_accounts are the
route’s opaque instruction data and account list; the on-chain handler
enforces the economics against observed balance deltas. Signed by the
config’s round authority.