Skip to content

Commit 7ed4731

Browse files
authored
Merge pull request #339 from Instadapp/f/update-fluid-merkle
fix: update fluid-merkle-claim-a
2 parents c85fa06 + 274267c commit 7ed4731

File tree

3 files changed

+78
-2
lines changed

3 files changed

+78
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dsa-connect",
3-
"version": "0.7.13",
3+
"version": "0.7.14",
44
"description": "DSA connect",
55
"main": "dist/index.js",
66
"module": "dist/index.es.js",

src/abi/connectors/v2/FLUID-MERKLE-CLAIM-A.ts

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,41 @@ export const FLUID_MERKLE_CLAIM_A: AbiItem[] = [
3131
name: 'LogClaimOnBehalf',
3232
type: 'event'
3333
},
34+
{
35+
anonymous: false,
36+
inputs: [
37+
{ indexed: false, internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
38+
{ indexed: false, internalType: 'address', name: 'rewardToken', type: 'address' },
39+
{ indexed: false, internalType: 'address', name: 'recipient_', type: 'address' },
40+
{ indexed: false, internalType: 'uint256', name: 'cumulativeAmount', type: 'uint256' },
41+
{ indexed: false, internalType: 'uint8', name: 'positonType', type: 'uint8' },
42+
{ indexed: false, internalType: 'bytes32', name: 'positionId', type: 'bytes32' },
43+
{ indexed: false, internalType: 'uint256', name: 'cycle', type: 'uint256' },
44+
{ indexed: false, internalType: 'bytes32[]', name: 'merkleProof', type: 'bytes32[]' },
45+
{ indexed: false, internalType: 'bytes', name: 'metadata', type: 'bytes' },
46+
{ indexed: false, internalType: 'uint256', name: 'rewardsClaimed', type: 'uint256' },
47+
{ indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' }
48+
],
49+
name: 'LogClaimOnBehalfV2',
50+
type: 'event'
51+
},
52+
{
53+
anonymous: false,
54+
inputs: [
55+
{ indexed: false, internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
56+
{ indexed: false, internalType: 'address', name: 'rewardToken', type: 'address' },
57+
{ indexed: false, internalType: 'uint256', name: 'cumulativeAmount', type: 'uint256' },
58+
{ indexed: false, internalType: 'uint8', name: 'positonType', type: 'uint8' },
59+
{ indexed: false, internalType: 'bytes32', name: 'positionId', type: 'bytes32' },
60+
{ indexed: false, internalType: 'uint256', name: 'cycle', type: 'uint256' },
61+
{ indexed: false, internalType: 'bytes32[]', name: 'merkleProof', type: 'bytes32[]' },
62+
{ indexed: false, internalType: 'bytes', name: 'metadata', type: 'bytes' },
63+
{ indexed: false, internalType: 'uint256', name: 'rewardsClaimed', type: 'uint256' },
64+
{ indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' }
65+
],
66+
name: 'LogClaimV2',
67+
type: 'event'
68+
},
3469
{
3570
inputs: [
3671
{ internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
@@ -68,6 +103,47 @@ export const FLUID_MERKLE_CLAIM_A: AbiItem[] = [
68103
stateMutability: 'payable',
69104
type: 'function'
70105
},
106+
{
107+
inputs: [
108+
{ internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
109+
{ internalType: 'address', name: 'rewardToken', type: 'address' },
110+
{ internalType: 'address', name: 'recipient_', type: 'address' },
111+
{ internalType: 'uint256', name: 'cumulativeAmount_', type: 'uint256' },
112+
{ internalType: 'uint8', name: 'positonType_', type: 'uint8' },
113+
{ internalType: 'bytes32', name: 'positionId_', type: 'bytes32' },
114+
{ internalType: 'uint256', name: 'cycle_', type: 'uint256' },
115+
{ internalType: 'bytes32[]', name: 'merkleProof_', type: 'bytes32[]' },
116+
{ internalType: 'bytes', name: 'metadata_', type: 'bytes' },
117+
{ internalType: 'uint256', name: 'setId_', type: 'uint256' }
118+
],
119+
name: 'claimOnBehalfV2',
120+
outputs: [
121+
{ internalType: 'string', name: '_eventName', type: 'string' },
122+
{ internalType: 'bytes', name: '_eventParam', type: 'bytes' }
123+
],
124+
stateMutability: 'payable',
125+
type: 'function'
126+
},
127+
{
128+
inputs: [
129+
{ internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
130+
{ internalType: 'address', name: 'rewardToken', type: 'address' },
131+
{ internalType: 'uint256', name: 'cumulativeAmount_', type: 'uint256' },
132+
{ internalType: 'uint8', name: 'positonType_', type: 'uint8' },
133+
{ internalType: 'bytes32', name: 'positionId_', type: 'bytes32' },
134+
{ internalType: 'uint256', name: 'cycle_', type: 'uint256' },
135+
{ internalType: 'bytes32[]', name: 'merkleProof_', type: 'bytes32[]' },
136+
{ internalType: 'bytes', name: 'metadata_', type: 'bytes' },
137+
{ internalType: 'uint256', name: 'setId_', type: 'uint256' }
138+
],
139+
name: 'claimV2',
140+
outputs: [
141+
{ internalType: 'string', name: '_eventName', type: 'string' },
142+
{ internalType: 'bytes', name: '_eventParam', type: 'bytes' }
143+
],
144+
stateMutability: 'payable',
145+
type: 'function'
146+
},
71147
{
72148
inputs: [],
73149
name: 'name',

src/addresses/mainnet/connectorsV2_M1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const connectorsV2_M1 = {
116116
'WEETHS-A': '0x8714DDa838b9fd0CF426545D319721c086833d59',
117117
'OKX-A': '0x69107F54d58400b38E4e7fE8037bff5C35EE222f',
118118
'ODOS-V2-A': '0xAa48Cca7DCe006F37DBb2e2Ef2dE7ACD5f6F5Dfc',
119-
'FLUID-MERKLE-CLAIM-A': '0xaa9322865E914c625043D8cEc1318ebaD071B365',
119+
'FLUID-MERKLE-CLAIM-A': '0x0cB7dE5779a4803287806eD125C443EBfc781abf',
120120
'USDS-A': '0xA10c9b8EAba65aB5920b34aB76b9D68DaBc4B3c8',
121121
'AAVE-V3-ETHERFI': '0xf2c3968e5373C58F01C931a589B7cccf0C01163b',
122122
'FLUID-VAULT-T2-A': '0x2Edf4cc84989Aa31C74ea69bc5166a4C287f0dFb',

0 commit comments

Comments
 (0)