Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion script/DeployUniV4MerklRewards.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ contract DeployUniV4MerklRewards is Script {
address constant GOVERNANCE_ADDRESS = 0x807DEf5E7d057DF05C796F4bc75C3Fe82Bd6EeE1;
address constant BOLD_TOKEN_ADDRESS = 0x6440f144b7e50D6a8439336510312d2F54beB01D;
uint256 constant CAMPAIGN_BOLD_AMOUNT_THRESHOLD = 100e18;
bytes32 constant UNIV4_POOL_ID = 0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893;
//bytes32 constant UNIV4_POOL_ID = 0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893; // 0.05% fee
bytes32 constant UNIV4_POOL_ID = 0x27eb93f973ec12bdc20f8a0959df46dfef29250bbb25c97e1ab6c96d2ad97f8e; // 0.01% fee
uint32 constant WEIGHT_FEES = 7500; // 75% liquidity contribution
uint32 constant WEIGHT_TOKEN_0 = 2000; // 20% BOLD
uint32 constant WEIGHT_TOKEN_1 = 500; // 5% USDC
Expand Down
9 changes: 5 additions & 4 deletions script/DeployUniV4MerklRewardsTester.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ contract DeployUniV4MerklRewardsTester is Script {
address constant GOVERNANCE_ADDRESS = 0x807DEf5E7d057DF05C796F4bc75C3Fe82Bd6EeE1;
address constant BOLD_TOKEN_ADDRESS = 0x6440f144b7e50D6a8439336510312d2F54beB01D;
uint256 constant CAMPAIGN_BOLD_AMOUNT_THRESHOLD = 100e18;
bytes32 constant UNIV4_POOL_ID = 0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893;
uint32 constant WEIGHT_FEES = 1500;
uint32 constant WEIGHT_TOKEN_0 = 4500;
uint32 constant WEIGHT_TOKEN_1 = 4000;
//bytes32 constant UNIV4_POOL_ID = 0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893; // 0.05% fee
bytes32 constant UNIV4_POOL_ID = 0x27eb93f973ec12bdc20f8a0959df46dfef29250bbb25c97e1ab6c96d2ad97f8e; // 0.01% fee
uint32 constant WEIGHT_FEES = 7500; // 75% liquidity contribution
uint32 constant WEIGHT_TOKEN_0 = 2000; // 20% BOLD
uint32 constant WEIGHT_TOKEN_1 = 500; // 5% USDC

address deployer;

Expand Down
3 changes: 2 additions & 1 deletion test/UniV4MerklRewards.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ contract UniV4MerklE2ETests is Test {
Governance private constant governance = Governance(0x807DEf5E7d057DF05C796F4bc75C3Fe82Bd6EeE1);
IDistributionCreator constant merklDistributionCreator =
IDistributionCreator(0x8BB4C975Ff3c250e0ceEA271728547f3802B36Fd);
bytes32 private constant UNIV4_POOL_ID = 0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893;
//bytes32 constant UNIV4_POOL_ID = 0x5d0ed52610c76d7bf729130ce7ddc0488b2f4bd0a0db1f12adbe6a32deaff893; // 0.05% fee
bytes32 constant UNIV4_POOL_ID = 0x27eb93f973ec12bdc20f8a0959df46dfef29250bbb25c97e1ab6c96d2ad97f8e; // 0.01% fee
uint32 private constant WEIGHT_FEES = 1500;
uint32 private constant WEIGHT_TOKEN_0 = 4500;
uint32 private constant WEIGHT_TOKEN_1 = 4000;
Expand Down
Loading