balancednetwork / balanced-solidity-contracts

1 stars 0 forks source link

Solidity staking extension AVAX #33

Open AntonAndell opened 1 month ago

AntonAndell commented 1 month ago

In the balanced assetManager we want to add a option to stake on potentially different networks, first which would be AVAX.

The initial functionality would be add a staking manager address Add method to stake(amount, validator, time). Each potential chain must be able to have its own implementation of a similar function depending on needs. So a extension must be built such that the assetManager core is the same but can be extended to add staking.

On avax we only need one method(i think) a staking method with stakes some amount for a fixed period

AntonAndell commented 1 month ago

Might have to reconsider for AVAX due to C-chain/P-chain differences. There is no way to stake on Avax directly, we would have consider other options