Conversation
We are getting bond creation events to obtain values of bonds created for all the ECDSA operators.
65110d7 to
21cf9d4
Compare
We need to respect bonds release and seizure in calculating currently bonded value. What's more we need to respect the fact that value can be deposited as a return from tBTC after seizing the whole bond and keeping there just some part of it.
|
I was testing this script locally with four operators:
Scenario 1 ✅
Initial state: Created keep
Intermediate state: Closed keep End state: Scenario 2 ❌
Initial state: Created keep
Created keep
Created keep
Intermediate state: Seized bonds from keep End state: Problem: Please see that Scenario 3 ❌
Initial state: Note that Returned End state: Problem: Please see that the |
We are getting bond creation events to obtain values of bonds created for all the ECDSA operators.