Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nerfZael committed Nov 4, 2024
1 parent 3361d56 commit 1d79b74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/DeployAgentKey.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ contract DeployAgentKey is Script {

function deploy(HelperConfig.AgentKeyConfig memory config) public returns (IAgentKey key, address whitelist) {
{
// buySlopeNum and buySlopeDen are used for the formula in: https://github.com/Fairmint/c-org/blob/781d1ed8d70d733eed57c5e7fff8931b096de0e9/contracts/ContinuousOffering.sol#L495
bytes memory ctorArgs = abi.encode(
0 ether, // initReserve
address(0), // currencyAddress
Expand Down Expand Up @@ -45,8 +46,8 @@ contract DeployAgentKey is Script {
config.feeCollector,
config.feeBasisPoints,
config.revenueCommitmentBasisPoints,
1,
0
1, // minInvestment
0 // minDuration
);

vm.stopBroadcast();
Expand Down

0 comments on commit 1d79b74

Please sign in to comment.