This repo contains Ethereum contracts for integrating stETH as a collateral into the Anchor protocol in the form of bETH token. Currently it assumes the deployed Shuttle bridge between Ethereum and Terra networks.
bEthbETH token contractAnchorVaulta contract allowing to convert between stETH and bETHRewardsLiquidatora contract for selling stETH rewards to USTInsuranceConnectora contract for obtaining the total number of shares burnt for the purpose of insurance/cover application from the Lido protocolBridgeConnectorShuttlean adapter contract for communicating with the Terra Shuttle bridge
RewardsLiquidator, InsuranceConnector and BridgeConnectorShuttle contracts are installed as delegates to the AnchorVault contract and can be replaced by the vault admin.