Skip to content

Commit

Permalink
[ADHOC] update pegged incentive bases (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmackz authored Dec 18, 2024
1 parent e724ac4 commit 5b172a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-windows-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@boostxyz/sdk": patch
---

update base contracts for pegged incentive types
4 changes: 2 additions & 2 deletions packages/sdk/src/Incentives/ERC20PeggedIncentive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
zeroAddress,
zeroHash,
} from 'viem';
import { ERC20Incentive as ERC20IncentiveBases } from '../../dist/deployments.json';
import { ERC20PeggedIncentive as ERC20PeggedIncentiveBases } from '../../dist/deployments.json';
import type {
DeployableOptions,
GenericDeployableParams,
Expand Down Expand Up @@ -119,7 +119,7 @@ export class ERC20PeggedIncentive extends DeployableTarget<
*/
public static override bases: Record<number, Address> = {
31337: import.meta.env.VITE_ERC20_INCENTIVE_BASE,
...(ERC20IncentiveBases as Record<number, Address>),
...(ERC20PeggedIncentiveBases as Record<number, Address>),
};
/**
* @inheritdoc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
parseEventLogs,
zeroAddress,
} from 'viem';
import { ERC20Incentive as ERC20IncentiveBases } from '../../dist/deployments.json';
import { ERC20PeggedVariableCriteriaIncentive as ERC20PeggedVariableCriteriaIncentiveBases } from '../../dist/deployments.json';
import { SignatureType } from '../Actions/EventAction';
import type {
DeployableOptions,
Expand Down Expand Up @@ -149,7 +149,7 @@ export class ERC20PeggedVariableCriteriaIncentive extends DeployableTarget<
*/
public static override bases: Record<number, Address> = {
31337: import.meta.env.VITE_ERC20_INCENTIVE_BASE,
...(ERC20IncentiveBases as Record<number, Address>),
...(ERC20PeggedVariableCriteriaIncentiveBases as Record<number, Address>),
};
/**
* @inheritdoc
Expand Down

0 comments on commit 5b172a5

Please sign in to comment.