gear icon indicating copy to clipboard operation
gear copied to clipboard

feat(runtime): Add a builtin actor for staking operations

Open ekovalev opened this issue 1 year ago • 1 comments

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 Staking pallet;
  • 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.

ekovalev avatar Mar 28 '24 16:03 ekovalev

Blocked by #3924

breathx avatar Apr 26 '24 12:04 breathx