diff --git a/src/abi/connectors/v2/MERKLE-CLAIM-LRT-A.ts b/src/abi/connectors/v2/MERKLE-CLAIM-LRT-A.ts new file mode 100644 index 0000000..8494c6c --- /dev/null +++ b/src/abi/connectors/v2/MERKLE-CLAIM-LRT-A.ts @@ -0,0 +1,38 @@ +import { AbiItem } from 'web3-utils' + +export const MERKLE_CLAIM_LRT_A: AbiItem[] = [ + { + anonymous: false, + inputs: [ + { indexed: false, internalType: 'address', name: 'merkleContract', type: 'address' }, + { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' }, + { indexed: false, internalType: 'bytes32', name: 'expectedMerkleRoot', type: 'bytes32' }, + { indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'LogClaimed', + type: 'event' + }, + { + inputs: [ + { internalType: 'address', name: 'merkleContract', type: 'address' }, + { internalType: 'uint256', name: 'amount', type: 'uint256' }, + { internalType: 'bytes32', name: 'expectedMerkleRoot', type: 'bytes32' }, + { internalType: 'bytes32[]', name: 'merkleProof', type: 'bytes32[]' }, + { internalType: 'uint256', name: 'setId', type: 'uint256' } + ], + name: 'claim', + outputs: [ + { internalType: 'string', name: '_eventName', type: 'string' }, + { internalType: 'bytes', name: '_eventParam', type: 'bytes' } + ], + stateMutability: 'payable', + type: 'function' + }, + { + inputs: [], + name: 'name', + outputs: [{ internalType: 'string', name: '', type: 'string' }], + stateMutability: 'view', + type: 'function' + } +] diff --git a/src/abi/connectors/v2/index.ts b/src/abi/connectors/v2/index.ts index 58680a2..7f73e88 100644 --- a/src/abi/connectors/v2/index.ts +++ b/src/abi/connectors/v2/index.ts @@ -144,6 +144,7 @@ import { FLUID_VAULT_T2_A } from "./FLUID-VAULT-T2-A" import { FLUID_VAULT_T3_A } from "./FLUID-VAULT-T3-A" import { FLUID_VAULT_T4_A } from "./FLUID-VAULT-T4-A" import { ZEROX_V5_A } from "./ZEROX-V5-A" +import { MERKLE_CLAIM_LRT_A } from "./MERKLE-CLAIM-LRT-A" export const connectorsV2_M1 = { 'MORPHO-REWARDS-A': MORPHO_REWARDS_A, @@ -286,5 +287,6 @@ export const connectorsV2_M1 = { 'FLUID-VAULT-T2-A': FLUID_VAULT_T2_A, 'FLUID-VAULT-T3-A': FLUID_VAULT_T3_A, 'FLUID-VAULT-T4-A': FLUID_VAULT_T4_A, - 'ZEROX-V5-A': ZEROX_V5_A + 'ZEROX-V5-A': ZEROX_V5_A, + 'MERKLE-CLAIM-LRT-A': MERKLE_CLAIM_LRT_A } diff --git a/src/addresses/mainnet/connectorsV2_M1.ts b/src/addresses/mainnet/connectorsV2_M1.ts index bd81cba..b457291 100644 --- a/src/addresses/mainnet/connectorsV2_M1.ts +++ b/src/addresses/mainnet/connectorsV2_M1.ts @@ -122,5 +122,6 @@ export const connectorsV2_M1 = { 'FLUID-VAULT-T2-A': '0x2Edf4cc84989Aa31C74ea69bc5166a4C287f0dFb', 'FLUID-VAULT-T3-A': '0x18C8E1a43D12B218a2142d36aA0e885b39e5e8F6', 'FLUID-VAULT-T4-A': '0xD1574167A8EB19b006ae6F93Bc96d320a9a0C3C6', - 'ZEROX-V5-A': '0xebB17b077FD2BD29422eE5Ed8E5DA0c506748A25' + 'ZEROX-V5-A': '0xebB17b077FD2BD29422eE5Ed8E5DA0c506748A25', + 'MERKLE-CLAIM-LRT-A': '0x4F2500Ac4334880C966dCAA220b54fd6664603F6' }