Restricted Wallet is a specialized wallet contract that restricts transfers to predefined owner address, and some operations with Elector and Config contracts. It is used in Single Nominator project to securely hold a validator stake and participate in elections without a risk of stealing funds from it.Documentation Index
Fetch the complete documentation index at: https://companyname-a7d5b98e-pr-1003-gas-tolk.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What makes it different
Unlike standard wallets that allow transfers to any address, Restricted Wallet implements address-based restrictions that limit where funds can be sent. Standard wallet behavior:You can send funds to any valid address. Restricted Wallet behavior:
You can only send funds to the predefined owner address or do operations with Elector (new stake, recover stake request, new complaint, and vote for a complaint) and Config (vote for specific proposal to change config) contracts.
How it works
Allowed actions
- Send a message to the owner of this wallet.
- Send “vote for a configuration proposal” message to the Config contract.
- Send “new stake”, “recover stake request”, “new complaint”, or “vote for a complaint” messages to the Elector contract.