diff --git a/package.json b/package.json index 518b1a5..c676db3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hai-on-op/sdk", - "version": "1.2.17", + "version": "1.2.18", "description": "Javascript client for HAI", "license": "MIT", "main": "lib", diff --git a/src/api/contract-apis.ts b/src/api/contract-apis.ts index e857b56..7e673aa 100644 --- a/src/api/contract-apis.ts +++ b/src/api/contract-apis.ts @@ -26,6 +26,7 @@ export class ContractApis { public merkleDistributorFactoryKite: types.MerkleDistributorFactory public merkleDistributorFactoryOp: types.MerkleDistributorFactory + public merkleDistributorFactoryDinero: types.MerkleDistributorFactory public oracleJob: types.IOracleJob public accountingJob: types.IAccountingJob @@ -65,6 +66,7 @@ export class ContractApis { 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) this.oracleJob = types.IOracleJob__factory.connect(addressList.JOB_ORACLES, signerOrProvider) this.accountingJob = types.IAccountingJob__factory.connect(addressList.JOB_ACCOUNTING, signerOrProvider) diff --git a/src/contracts/addresses.ts b/src/contracts/addresses.ts index b06cdac..a0a4a50 100644 --- a/src/contracts/addresses.ts +++ b/src/contracts/addresses.ts @@ -57,6 +57,7 @@ export type ContractKey = | 'JOB_ORACLES' | 'MERKLE_DISTRIBUTOR_FACTORY_KITE' | 'MERKLE_DISTRIBUTOR_FACTORY_OP' + | 'MERKLE_DISTRIBUTOR_FACTORY_DINERO' export type ContractList = { [key in ContractKey]: string @@ -100,6 +101,7 @@ const addresses: Record = { JOB_ORACLES: '0xF4F18205D8D46638489865e42c0a71a3d4F9FC22', MERKLE_DISTRIBUTOR_FACTORY_KITE: '0x3975Ff822aF38552fAC62A975D4D4e0Ea5Ac5980', MERKLE_DISTRIBUTOR_FACTORY_OP: '0x524fE171e80173C15381bB50034033dA282abCc6', + MERKLE_DISTRIBUTOR_FACTORY_DINERO: '0xFC4fD07b8CbA6b008952656a3d16A25da012EA56', }, 'optimism-goerli': { MULTICALL: '0xcA11bde05977b3631167028862bE2a173976CA11', @@ -136,6 +138,7 @@ const addresses: Record = { JOB_ORACLES: '0x1F517889F899A3792c4ED0D6Ae8f1A69e89E3d40', MERKLE_DISTRIBUTOR_FACTORY_KITE: '0x3975Ff822aF38552fAC62A975D4D4e0Ea5Ac5980', MERKLE_DISTRIBUTOR_FACTORY_OP: '0x524fE171e80173C15381bB50034033dA282abCc6', + MERKLE_DISTRIBUTOR_FACTORY_DINERO: '0xFC4fD07b8CbA6b008952656a3d16A25da012EA56', }, 'optimism-sepolia': { MULTICALL: '0xcA11bde05977b3631167028862bE2a173976CA11', @@ -172,6 +175,7 @@ const addresses: Record = { JOB_ORACLES: '0xaacc036c505370918e4a89567a636d561833bd21', MERKLE_DISTRIBUTOR_FACTORY_KITE: '0x3975Ff822aF38552fAC62A975D4D4e0Ea5Ac5980', MERKLE_DISTRIBUTOR_FACTORY_OP: '0x524fE171e80173C15381bB50034033dA282abCc6', + MERKLE_DISTRIBUTOR_FACTORY_DINERO: '0xFC4fD07b8CbA6b008952656a3d16A25da012EA56', }, }