diff --git a/README.md b/README.md index 73c94be8..eb004cbf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,25 @@ +# Basedollar + +## Changes in Basedollar compared to Liquity V2 +1. Stablecoin renamed to $BD +2. Superfluid streaming added directly into BD. Update tests which use memory layout `deal()` function of BOLD token +3. "Redemption Protected" branches, which can't be redeemed against but have other requirements +4. Multi-collateral branches +5. Debt limits for each collateral branch, can be raised or lowered by governance. +6. Administrative features: Governance can now update +7. Maximized AERO synergy: + - Selected vAMM and sAMM LP tokens can be borrowed against + - LP tokens are staked to earn $AERO + - A percent of $AERO (percentage is governed) earned from staking goes to the protocol timelock treasury to be used to direct more incentives to BD pools + - Withdrawal queue and liquidation system updates for staked assets +8. Updated pricefeeds for all collaterals +9. Ability for governance to add new collateral branches in the future, or safely wind down existing ones +10. Raised cap on limit of numbers of total collateral branches possible, and redemption optimization that allows this +11. 25% of revenue is streamed to a timelocked treasury at launch, instead of directed by gauges which is the default for Liquity itself. This can be updated to gauges, as Liquity V2 uses, in the future. +12. New normal branch collateral types, deployment script updates, and OEV pricefeeds: ETH, wstETH, rETH, superOETHb, cbBTC, AERO +13. Updated launch parameters for safety and Base specific parameter changes: gas deposit requirement, minimum redemption size, etc.. + + Liquity V2 [![Coverage Status](https://coveralls.io/repos/github/liquity/bold/badge.svg?branch=main&t=yZSfc8)](https://coveralls.io/github/liquity/bold?branch=main) diff --git a/contracts/.env.template b/contracts/.env.template index 3565b0df..afb3836e 100644 --- a/contracts/.env.template +++ b/contracts/.env.template @@ -14,7 +14,7 @@ FORK_URL= FORK_BLOCK_NUMBER=21571000 # Explicitly setting this improves startup time -FORK_CHAIN_ID=1 +FORK_CHAIN_ID=8453 # Defaults to Anvil account #0 # DEPLOYER= diff --git a/contracts/src/BoldToken.sol b/contracts/src/BoldToken.sol index f3496ddb..abd5b909 100644 --- a/contracts/src/BoldToken.sol +++ b/contracts/src/BoldToken.sol @@ -17,8 +17,8 @@ import "./Interfaces/IBoldToken.sol"; */ contract BoldToken is Ownable, IBoldToken, ERC20Permit { - string internal constant _NAME = "BOLD Stablecoin"; - string internal constant _SYMBOL = "BOLD"; + string internal constant _NAME = "BaseDollar"; + string internal constant _SYMBOL = "BD"; // --- Addresses --- diff --git a/contracts/src/NFTMetadata/utils/baseSVG.sol b/contracts/src/NFTMetadata/utils/baseSVG.sol index c6f3be2f..f019543f 100644 --- a/contracts/src/NFTMetadata/utils/baseSVG.sol +++ b/contracts/src/NFTMetadata/utils/baseSVG.sol @@ -71,7 +71,7 @@ library baseSVG { svg.prop("height", "20"), svg.prop( "href", - string.concat("data:image/svg+xml;base64,", _assetReader.readAsset(bytes4(keccak256("BOLD")))) + string.concat("data:image/svg+xml;base64,", _assetReader.readAsset(bytes4(keccak256("BASEDOLLAR")))) ) ) );