Reserve
Periods
Loading reserve periods
Period
Loading
Hold a slot
Loading
Your slots
Connect your wallet to see your slots.
On chain
Reservation programProgram
- Reservation program
- 99QeFfsPKsscVBtu2WtPhqqTY9M9amrhCSU4JdJ7NNJLView on Solscan
- Config account
- mABAE3ELabR41pg9LEnP9Uux9YRqz5Dwtv59LwsNZWaView on Solscan
- $OCLO mint in Config
- JmhtXgir6gxhcL8CEVGXWVnKKm4DDazdWYUzACZpumpView on Solscan
- USDC mint in Config
- EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vView on Solscan
Instructions
reserve_slot- Locks your $OCLO and prepays USDC for one slot of a period whose supply is confirmed. Your wallet signs and the operator wallet co-signs.
release_slot- Gives the slot back at any time. The $OCLO lock and the unused USDC prepay return to your wallet. Your wallet alone signs.
expire_slot- Once a period's supply fails or the period ends, anyone can send it, and the $OCLO lock and the USDC prepay return to the slot's wallet.
Where the lock and the prepay sit
- Slot account
- A program address (PDA) with the seeds "slot", the period account, your wallet and the slot number (u16, little-endian). Only the program signs for it.
- $OCLO lock vault
- The slot account's associated token account for the $OCLO mint (a PDA of the associated token program: slot account, token program, mint).
- USDC prepay vault
- The slot account's associated token account for the USDC mint, derived the same way.
- Period account
- A PDA with the seeds "period" and the period number (u32, little-endian). It takes slots only after
confirm_supply. - Config account
- A PDA with the seed "config". It names the $OCLO mint and the USDC mint every lock and prepay is checked against.
Tokens leave a slot's vaults only through release_slot and expire_slot, back to the slot's wallet, or through open_batch_from_slot, which moves prepaid USDC into a batch that wallet opens.
