Staking dime_stake
Holds the $DIME you stake and gives it back the moment you unstake. It records how much each wallet staked and for how long, so anyone can check the hourly reward shares.
Staked tokens sit in a program account that no person can spend from. Everything else (payments, the credit book, rewards) is plain transfers you can see on the explorer.
3raZR7EKptESKUX9tRCPDDpxsQisUbqyL1xpKsM3Ysc2It can
- Take $DIME you choose to stake and keep it in its vault.
- Return your tokens instantly when you unstake. There is no waiting period.
- Record each stake and unstake on-chain with the time and your new balance.
- Refund the small account deposit when you close an empty position.
It can never
- Send staked tokens to anyone except the wallet that staked them.
- Block unstaking. Unstaking works even while staking is paused.
- Take fees, hold SOL or USDC, or touch your wallet beyond what you sign.
- Switch to a different token while anyone has tokens staked.
- Accept a token that can still be minted or frozen.
The owner can
- Pause and resume new stakes. Unstaking always keeps working. The operator can do this too.
set_paused - Set the $DIME token address, and change it only while nothing is staked. The operator can do this too.
set_mint - Lock the token address forever.
lock_mint - Replace the operator.
set_operator - Hand the admin role to a new wallet, which must accept it.
propose_admin,accept_admin - Upgrade the program code (see below).
The program is upgradeable. The upgrade authority is the owner wallet FqdZ…RBAm. An upgrade can change any rule on this card, so watch the program data account for changes.
Details
- No verified build has been confirmed on an explorer yet. The source is in the project repository.
- The program has unit tests in its repository. A test report is not published yet.
- No outside firm has audited this program. Treat it as unaudited code.