Process for handling bond settlements
At the beginning of Epoch N+1, a settlement will be created to collect the bids for validators who received activated stake in Epoch N.
The results of each auction can be found on this Github repository.
If the validator receives stake from the Stake Auction Marketplace, the formula below can be used to calculate what part of that stake comes from the Stake Auction Marketplace and will require a settlement of the bond:
Active stake from Marinade at the end of epoch: X
Target stake from SAM: Y
Effective bid: B / 1000
Bid charged = X * Y / (Y) * B / 1000
The settlement created for a given epoch can contain extra SOL from the bond, allowing Marinade to enforce the minimum of 1 SOL per stake account. Any additional SOL in the settlement that is not used to pay for stake in that epoch will go back to the bond once the settlement expires after 3 epochs.