gear
gear copied to clipboard
feat(runtime): Add a builtin actor for staking operations
The change includes:
- another builtin actor added to the Runtime to enable staking-related logic in programs (e.g. liquid staking etc.). The actor converts incoming messages into dispatchable calls and relays the latter to the
Stakingpallet; - a set of types facilitating interaction with the staking builtin actor collected in a crate called
gbuiltin-staking; - a simple example of how contracts could interact with the builtin in question - for demo purpose only as real life scenarios would require more attention to details.
Blocked by #3924