Closed leonardishere closed 3 years ago
Treasury.routePremiums() will send 100% to Vault Treasury.refund() should pull from Vault.requestEth() requestEth() needs to be modified to accept msg.sender == claimsEscrow or treasury https://github.com/solace-fi/core/blob/main/contracts/Vault.sol#L362
Treasury.routePremiums() in reverse
instead of actively pulling, record an accounting variable refundDebt and repay it with routePremiums()
or get rid of it for V1, always route to/from the vault, and add more functions in V2