Skip to content

Commit

Permalink
Merge pull request liquity#1018 from liquity/lsud_to_lusd
Browse files Browse the repository at this point in the history
contracts: Fix typo. Rename LSUD to LUSD.
  • Loading branch information
bingen authored Jun 1, 2023
2 parents 8f550ee + d43f72e commit 15853ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface IPriceFeed {
}


contract LSUDUsdToLUSDEth is IPriceFeed {
contract LUSDUsdToLUSDEth is IPriceFeed {
IPriceFeed public constant LUSD_USD = IPriceFeed(0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0);
IPriceFeed public constant ETH_USD = IPriceFeed(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ async function main() {
const deployerWalletAddress = deployerWallet.address;
console.log('Deployer: ', deployerWalletAddress);

const LSUDUsdToLUSDEthEthersFactory = await ethers.getContractFactory("LSUDUsdToLUSDEth", deployerWallet)
const lsudUsdToLUSDEth = await LSUDUsdToLUSDEthEthersFactory.deploy()
console.log(`LSUDUsdToLUSDEth address: ${lsudUsdToLUSDEth.address}`)
console.log(`LSUDUsdToLUSDEth price: ${await lsudUsdToLUSDEth.latestAnswer()}`)
const LUSDUsdToLUSDEthEthersFactory = await ethers.getContractFactory("LUSDUsdToLUSDEth", deployerWallet)
const lusdUsdToLUSDEth = await LUSDUsdToLUSDEthEthersFactory.deploy()
console.log(`LUSDUsdToLUSDEth address: ${lusdUsdToLUSDEth.address}`)
console.log(`LUSDUsdToLUSDEth price: ${await lusdUsdToLUSDEth.latestAnswer()}`)

}

Expand Down

0 comments on commit 15853ad

Please sign in to comment.