Skip to content

Commit

Permalink
feat: add aave-merit-claim connector
Browse files Browse the repository at this point in the history
  • Loading branch information
SamarendraGouda committed Jan 8, 2025
1 parent e9bc200 commit 45b46ac
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dsa-connect",
"version": "0.7.18",
"version": "0.7.19",
"description": "DSA connect",
"main": "dist/index.js",
"module": "dist/index.es.js",
Expand Down
37 changes: 37 additions & 0 deletions src/abi/connectors/v2/AAVE-V3-MERIT-CLAIM-A.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { AbiItem } from 'web3-utils'

export const AAVE_MERIT_CLAIM_A: AbiItem[] = [
{
anonymous: false,
inputs: [
{ indexed: false, internalType: 'address', name: 'distributor', type: 'address' },
{ indexed: false, internalType: 'address[]', name: 'tokens', type: 'address[]' },
{ indexed: false, internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' },
{ indexed: false, internalType: 'bytes32[][]', name: 'merkleProofs', type: 'bytes32[][]' }
],
name: 'LogClaimAll',
type: 'event'
},
{
inputs: [
{ internalType: 'address', name: 'distributor', type: 'address' },
{ internalType: 'address[]', name: 'tokens', type: 'address[]' },
{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' },
{ internalType: 'bytes32[][]', name: 'merkleProofs', type: 'bytes32[][]' }
],
name: 'claimAll',
outputs: [
{ internalType: 'string', name: '_eventName', type: 'string' },
{ internalType: 'bytes', name: '_eventParam', type: 'bytes' }
],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [],
name: 'name',
outputs: [{ internalType: 'string', name: '', type: 'string' }],
stateMutability: 'view',
type: 'function'
}
]
2 changes: 2 additions & 0 deletions src/abi/connectors/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ import { MORPHO_TOKEN_WRAPPER_A } from './MORPHO-TOKEN-WRAPPER-A'
import { SPARK_PSM_A } from './SPARK-PSM-A'
import { MORPHO_CLAIM_A } from './MORPHO-CLAIM-A'
import { SUSDS_A } from './SUSDS-A'
import { AAVE_MERIT_CLAIM_A } from "./AAVE-V3-MERIT-CLAIM-A"

export const connectorsV2_M1 = {
'MORPHO-REWARDS-A': MORPHO_REWARDS_A,
Expand Down Expand Up @@ -299,4 +300,5 @@ export const connectorsV2_M1 = {
'SPARK-PSM-A': SPARK_PSM_A,
'MORPHO-CLAIM-A': MORPHO_CLAIM_A,
'SUSDS-A': SUSDS_A,
'AAVE-V3-MERIT-CLAIM-A': AAVE_MERIT_CLAIM_A
}
1 change: 1 addition & 0 deletions src/addresses/avalanche/connectorsV2_M1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ export const connectorsV2_M1 = {
'OKX-A': '0xE761304F14FeeE3dB4491738DA175891Db430468',
'ODOS-V2-A': '0x748Fbb99DE5a89a506AB1DDF15839368402bEb4F',
'ZEROX-V2-A': '0xDb08a687bC3Cf7127F7933146D08d1De2a73ef87',
'AAVE-V3-MERIT-CLAIM-A': '0x65f244005B002ecD701Eb44F042d64CCE1bb8D1b'
}
1 change: 1 addition & 0 deletions src/addresses/mainnet/connectorsV2_M1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,5 @@ export const connectorsV2_M1 = {
'MORPHO-TOKEN-WRAPPER-A': '0x2D73c8C3BA746976d43311324565f290c0C9d44E',
'SPARK-PSM-A': '0x60dAf1F4Fb22bE9aa8DF110E867429Ea12c2F36e',
'MORPHO-CLAIM-A': '0x749E8dDcb309596f7c301d304C0d633291AA4174',
'AAVE-V3-MERIT-CLAIM-A': '0x95Ff3024d7d17f9F28Ee0e33cCa68a94C4D9E7BD'
}

0 comments on commit 45b46ac

Please sign in to comment.