Assessment reports>Silo Staking>Threat Model>Message: ExecuteMsg::Reconcile

Message: ExecuteMsg::Reconcile

The message could be used by anyone and is used to reconcile the batches that have not been reconciled yet.

This message does not expect any user parameters.

The message executes the reconcile function. This function filters all the batches that have not been reconciled yet and for which the unbonding period has passed. It then checks if the utoken balance of the contract is greater than or equal to the utoken expected. If it is, the filtered batches are marked reconciled. If not, the contract assumes that the validators are slashed, due to which the received utoken amount after the unbonding period is less than expected and deducts the difference in amount evenly from each unreconciled batch.

Zellic © 2024Back to top ↑