From c63c542b791f9e1d76b00a328e1c48ce579888c0 Mon Sep 17 00:00:00 2001 From: Kumar Satyarth <47723310+ksatyarth2@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:17:46 +0530 Subject: [PATCH] fix: rename name puffer points to carrot (#91) --- mainnet-contracts/src/CARROT.sol | 2 +- mainnet-contracts/test/unit/CARROT.t.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mainnet-contracts/src/CARROT.sol b/mainnet-contracts/src/CARROT.sol index 7550e1c..f664430 100644 --- a/mainnet-contracts/src/CARROT.sol +++ b/mainnet-contracts/src/CARROT.sol @@ -14,7 +14,7 @@ contract CARROT is ERC20, ERC20Permit { * @notice Constructor for the CARROT token * totalSupply is 100 million CARROT */ - constructor(address initialOwner) ERC20("Puffer Points", "CARROT") ERC20Permit("Puffer Points") { + constructor(address initialOwner) ERC20("Carrot", "CARROT") ERC20Permit("Carrot") { _mint(initialOwner, 100_000_000 ether); } } diff --git a/mainnet-contracts/test/unit/CARROT.t.sol b/mainnet-contracts/test/unit/CARROT.t.sol index 134fc68..d25809c 100644 --- a/mainnet-contracts/test/unit/CARROT.t.sol +++ b/mainnet-contracts/test/unit/CARROT.t.sol @@ -14,7 +14,7 @@ contract CARROTTest is UnitTestHelper { function test_constructor() public view { assertEq(carrot.totalSupply(), 100_000_000 ether); - assertEq(carrot.name(), "Puffer Points"); + assertEq(carrot.name(), "Carrot"); assertEq(carrot.symbol(), "CARROT"); }