Staking
To participate in EES, an executor must stake ERC-20 tokens. Depending on the deployed chain, the token and amount may vary. Staking is needed such that behaviour against the rules can be punished financially with slashing of funds.
Calling the stake
function on the Coordinator
contract will transfer the ERC-20 tokens to the contract where each executors balance and staking info is stored in the executorInfo
mapping. The executor is immediately activated upon staking and may be selected in rounds even in the same epoch. Staking can not happen during the alternating rounds of designation and open competition. This is a technicality to preserve internal data structures after the designation seed is set.
There is a lock period after the stake
function is called where the executor cannot unstake. This period might also vary from deployment to deployment but can be found here.
Last updated