keep-network / keep-core

The smart contracts and reference client behind the Keep network
https://keep.network
MIT License
122 stars 75 forks source link

Invoke automated redemptions periodically by maintainer #3660

Closed lukasz-zimnoch closed 1 year ago

lukasz-zimnoch commented 1 year ago

Refs: https://github.com/keep-network/keep-core/issues/3614 Depends on: https://github.com/keep-network/keep-core/pull/3659

Here we add automation for the redemption proposal submission logic. Every 3 hours, the maintainer will check for pending redemptions starting from the oldest wallet and will propose them for redemption by submitting a proposal to the WalletCoordinator contract.