Skip to content

Commit

Permalink
Prepped for mainnet launch
Browse files Browse the repository at this point in the history
  • Loading branch information
broken-byte committed Jun 20, 2024
1 parent 7a1c89a commit c983a45
Show file tree
Hide file tree
Showing 8 changed files with 1,272 additions and 41 deletions.
13 changes: 3 additions & 10 deletions contracts/BasedWhale.sol
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,12 @@ contract BasedWhale is ERC20Capped, Ownable {
tokenState = TokenState.LiquidityLocked;
}

function mintRemainingSupplyForManualLiquidityProvisioning()
external
onlyOwner
inState(TokenState.Launched)
{
uint256 remainingSupply = cap() - totalSupply(); // 85%
_mint(msg.sender, remainingSupply);
}

function moveStateToLiquidityLocked(
function mintRemainingSupplyForManualLiquidityProvisioning(
address _uniswapV2PairAddress
) external onlyOwner inState(TokenState.Launched) {
uniswapV2PairAddress = _uniswapV2PairAddress;
uint256 remainingSupply = cap() - totalSupply(); // 85%
_mint(msg.sender, remainingSupply);

tokenState = TokenState.LiquidityLocked;
}
Expand Down
17 changes: 17 additions & 0 deletions deployment_args/arguments-chain-8453.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const oneBillionCappedSupply = BigInt(1_000_000_000);
const initialOwnerAddress = "0x566bD9Df983BfEFf836A2C3b644553e6A80850Fa" // BrokenByte Engineering Deployer;
const marketingMultiSigAddress = "0x65D23D5956b2F7E519df94dffA21ff3b078e7FE0";
const exchangeMultiSigAddress1 = "0xeBa74571b3B7703580f908a6A9035EB930C4F37D";
const exchangeMultiSigAddress2 = "0x6ca7304B0871F36Cd3cDF429b928a57a939d86A1";
const testMarketingAndExchangeMultiSigAddress = "0xeB7829BA2372572638dB024240B8EF1Ed8C27142";
const uniswapV2RouterBaseAddress = "0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24";
const uniswapV2RouterBaseSepoliaAddress = "0x1689E7B1F10000AE47eBfE339a4f69dECd19F602";
const liquidityETHProvisionMainnet = "1.004";
const liquidityETHProvisionTestnet = "0.0025";

const isTestnet = true;
const uniswapRouterAddressFinal = isTestnet ? uniswapV2RouterBaseSepoliaAddress : uniswapV2RouterBaseAddress;
const liquidityETHProvisionFinal = isTestnet ? liquidityETHProvisionTestnet : liquidityETHProvisionMainnet;

// 2. Transition to liquidity locked

Loading

0 comments on commit c983a45

Please sign in to comment.