Skip to content

Commit

Permalink
feat: add wrapped token
Browse files Browse the repository at this point in the history
  • Loading branch information
piesrtasty committed Dec 29, 2024
1 parent fdec3a4 commit d38d3cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/contract-apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ export class ContractApis {
public rateSetter: types.IPIDRateSetter
public piCalculator: types.IPIDController

public wrappedTokenHaiVelo: types.IWrappedToken

public merkleDistributorFactoryKite: types.MerkleDistributorFactory
public merkleDistributorFactoryOp: types.MerkleDistributorFactory
public merkleDistributorFactoryDinero: types.MerkleDistributorFactory
Expand Down Expand Up @@ -64,6 +66,8 @@ export class ContractApis {
this.rateSetter = types.IPIDRateSetter__factory.connect(addressList.GEB_RRFM_SETTER, signerOrProvider)
this.piCalculator = types.IPIDController__factory.connect(addressList.GEB_RRFM_CALCULATOR, signerOrProvider)

this.wrappedTokenHaiVelo = types.IWrappedToken__factory.connect(addressList.WRAPPED_TOKEN_HAI_VELO, signerOrProvider)

this.merkleDistributorFactoryKite = types.MerkleDistributorFactory__factory.connect(addressList.MERKLE_DISTRIBUTOR_FACTORY_KITE, signerOrProvider)
this.merkleDistributorFactoryOp = types.MerkleDistributorFactory__factory.connect(addressList.MERKLE_DISTRIBUTOR_FACTORY_OP, signerOrProvider)
this.merkleDistributorFactoryDinero = types.MerkleDistributorFactory__factory.connect(addressList.MERKLE_DISTRIBUTOR_FACTORY_DINERO, signerOrProvider)
Expand Down
4 changes: 4 additions & 0 deletions src/contracts/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export type ContractKey =
| 'JOB_ACCOUNTING'
| 'JOB_LIQUIDATION'
| 'JOB_ORACLES'
| 'WRAPPED_TOKEN_HAI_VELO'
| 'MERKLE_DISTRIBUTOR_FACTORY_KITE'
| 'MERKLE_DISTRIBUTOR_FACTORY_OP'
| 'MERKLE_DISTRIBUTOR_FACTORY_DINERO'
Expand Down Expand Up @@ -99,6 +100,7 @@ const addresses: Record<GebDeployment, ContractList> = {
JOB_ACCOUNTING: '0xc256C3aa404Ab74cE050Bcf8A05256B6A1729EF0',
JOB_LIQUIDATION: '0x5EF15750b5672CD6217E4E184cEAD440cB1b3638',
JOB_ORACLES: '0xF4F18205D8D46638489865e42c0a71a3d4F9FC22',
WRAPPED_TOKEN_HAI_VELO: '0x1C0541cB726007c3eB917bA4a9e84BFFBA511c3c',
MERKLE_DISTRIBUTOR_FACTORY_KITE: '0x3975Ff822aF38552fAC62A975D4D4e0Ea5Ac5980',
MERKLE_DISTRIBUTOR_FACTORY_OP: '0x524fE171e80173C15381bB50034033dA282abCc6',
MERKLE_DISTRIBUTOR_FACTORY_DINERO: '0xFC4fD07b8CbA6b008952656a3d16A25da012EA56',
Expand Down Expand Up @@ -136,6 +138,7 @@ const addresses: Record<GebDeployment, ContractList> = {
JOB_ACCOUNTING: '0xCeCc0253fA03786031A4df8DB940728543D01Fb6',
JOB_LIQUIDATION: '0x1Bea51CDcc5E5713A7b5eca4F1B27D90b3F0ddB5',
JOB_ORACLES: '0x1F517889F899A3792c4ED0D6Ae8f1A69e89E3d40',
WRAPPED_TOKEN_HAI_VELO: '0x1C0541cB726007c3eB917bA4a9e84BFFBA511c3c',
MERKLE_DISTRIBUTOR_FACTORY_KITE: '0x3975Ff822aF38552fAC62A975D4D4e0Ea5Ac5980',
MERKLE_DISTRIBUTOR_FACTORY_OP: '0x524fE171e80173C15381bB50034033dA282abCc6',
MERKLE_DISTRIBUTOR_FACTORY_DINERO: '0xFC4fD07b8CbA6b008952656a3d16A25da012EA56',
Expand Down Expand Up @@ -173,6 +176,7 @@ const addresses: Record<GebDeployment, ContractList> = {
JOB_ACCOUNTING: '0x4fcd90ee6a041c631b6b93a52b4d94e0cedcb1ad',
JOB_LIQUIDATION: '0x50d758e014c972e73166ea87a6a7d96868bf2859',
JOB_ORACLES: '0xaacc036c505370918e4a89567a636d561833bd21',
WRAPPED_TOKEN_HAI_VELO: '0x1C0541cB726007c3eB917bA4a9e84BFFBA511c3c',
MERKLE_DISTRIBUTOR_FACTORY_KITE: '0x3975Ff822aF38552fAC62A975D4D4e0Ea5Ac5980',
MERKLE_DISTRIBUTOR_FACTORY_OP: '0x524fE171e80173C15381bB50034033dA282abCc6',
MERKLE_DISTRIBUTOR_FACTORY_DINERO: '0xFC4fD07b8CbA6b008952656a3d16A25da012EA56',
Expand Down

0 comments on commit d38d3cd

Please sign in to comment.