Closed ilblackdragon closed 3 years ago
To be sure I understood correctly:
ping
to understand if the current proposal is sufficientStakeAction
to top-up the balance of the staking contractWhat we want to discuss is how StakeAction
works, e.g.:
Smart contract cannot act as a watchdog. We need a separate service (already implemented) to watch the account and also send ping periodically (once an epoch).
Want to start the discussion about need to run restaking service. It has two functions:
ping
for staking contracts.We have the binary available -
cargo build -p restaked
in the nearcore repo.The caveat is that this service needs to have access to full access key (or user must have contract deployed on their account that allows to issue
StakeAction
from a function call access key).Thoughts @ailisp @bowenwang1996 @jimmy3dita how we should approach this?