Skip to content

Commit

Permalink
Merge pull request #339 from Instadapp/f/update-fluid-merkle
Browse files Browse the repository at this point in the history
fix: update fluid-merkle-claim-a
  • Loading branch information
shriyatyagii authored Dec 19, 2024
2 parents c85fa06 + 274267c commit 7ed4731
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 2 deletions.
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.13",
"version": "0.7.14",
"description": "DSA connect",
"main": "dist/index.js",
"module": "dist/index.es.js",
Expand Down
76 changes: 76 additions & 0 deletions src/abi/connectors/v2/FLUID-MERKLE-CLAIM-A.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,41 @@ export const FLUID_MERKLE_CLAIM_A: AbiItem[] = [
name: 'LogClaimOnBehalf',
type: 'event'
},
{
anonymous: false,
inputs: [
{ indexed: false, internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
{ indexed: false, internalType: 'address', name: 'rewardToken', type: 'address' },
{ indexed: false, internalType: 'address', name: 'recipient_', type: 'address' },
{ indexed: false, internalType: 'uint256', name: 'cumulativeAmount', type: 'uint256' },
{ indexed: false, internalType: 'uint8', name: 'positonType', type: 'uint8' },
{ indexed: false, internalType: 'bytes32', name: 'positionId', type: 'bytes32' },
{ indexed: false, internalType: 'uint256', name: 'cycle', type: 'uint256' },
{ indexed: false, internalType: 'bytes32[]', name: 'merkleProof', type: 'bytes32[]' },
{ indexed: false, internalType: 'bytes', name: 'metadata', type: 'bytes' },
{ indexed: false, internalType: 'uint256', name: 'rewardsClaimed', type: 'uint256' },
{ indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' }
],
name: 'LogClaimOnBehalfV2',
type: 'event'
},
{
anonymous: false,
inputs: [
{ indexed: false, internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
{ indexed: false, internalType: 'address', name: 'rewardToken', type: 'address' },
{ indexed: false, internalType: 'uint256', name: 'cumulativeAmount', type: 'uint256' },
{ indexed: false, internalType: 'uint8', name: 'positonType', type: 'uint8' },
{ indexed: false, internalType: 'bytes32', name: 'positionId', type: 'bytes32' },
{ indexed: false, internalType: 'uint256', name: 'cycle', type: 'uint256' },
{ indexed: false, internalType: 'bytes32[]', name: 'merkleProof', type: 'bytes32[]' },
{ indexed: false, internalType: 'bytes', name: 'metadata', type: 'bytes' },
{ indexed: false, internalType: 'uint256', name: 'rewardsClaimed', type: 'uint256' },
{ indexed: false, internalType: 'uint256', name: 'setId', type: 'uint256' }
],
name: 'LogClaimV2',
type: 'event'
},
{
inputs: [
{ internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
Expand Down Expand Up @@ -68,6 +103,47 @@ export const FLUID_MERKLE_CLAIM_A: AbiItem[] = [
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{ internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
{ internalType: 'address', name: 'rewardToken', type: 'address' },
{ internalType: 'address', name: 'recipient_', type: 'address' },
{ internalType: 'uint256', name: 'cumulativeAmount_', type: 'uint256' },
{ internalType: 'uint8', name: 'positonType_', type: 'uint8' },
{ internalType: 'bytes32', name: 'positionId_', type: 'bytes32' },
{ internalType: 'uint256', name: 'cycle_', type: 'uint256' },
{ internalType: 'bytes32[]', name: 'merkleProof_', type: 'bytes32[]' },
{ internalType: 'bytes', name: 'metadata_', type: 'bytes' },
{ internalType: 'uint256', name: 'setId_', type: 'uint256' }
],
name: 'claimOnBehalfV2',
outputs: [
{ internalType: 'string', name: '_eventName', type: 'string' },
{ internalType: 'bytes', name: '_eventParam', type: 'bytes' }
],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{ internalType: 'address', name: 'merkleDistributorContract', type: 'address' },
{ internalType: 'address', name: 'rewardToken', type: 'address' },
{ internalType: 'uint256', name: 'cumulativeAmount_', type: 'uint256' },
{ internalType: 'uint8', name: 'positonType_', type: 'uint8' },
{ internalType: 'bytes32', name: 'positionId_', type: 'bytes32' },
{ internalType: 'uint256', name: 'cycle_', type: 'uint256' },
{ internalType: 'bytes32[]', name: 'merkleProof_', type: 'bytes32[]' },
{ internalType: 'bytes', name: 'metadata_', type: 'bytes' },
{ internalType: 'uint256', name: 'setId_', type: 'uint256' }
],
name: 'claimV2',
outputs: [
{ internalType: 'string', name: '_eventName', type: 'string' },
{ internalType: 'bytes', name: '_eventParam', type: 'bytes' }
],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [],
name: 'name',
Expand Down
2 changes: 1 addition & 1 deletion src/addresses/mainnet/connectorsV2_M1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const connectorsV2_M1 = {
'WEETHS-A': '0x8714DDa838b9fd0CF426545D319721c086833d59',
'OKX-A': '0x69107F54d58400b38E4e7fE8037bff5C35EE222f',
'ODOS-V2-A': '0xAa48Cca7DCe006F37DBb2e2Ef2dE7ACD5f6F5Dfc',
'FLUID-MERKLE-CLAIM-A': '0xaa9322865E914c625043D8cEc1318ebaD071B365',
'FLUID-MERKLE-CLAIM-A': '0x0cB7dE5779a4803287806eD125C443EBfc781abf',
'USDS-A': '0xA10c9b8EAba65aB5920b34aB76b9D68DaBc4B3c8',
'AAVE-V3-ETHERFI': '0xf2c3968e5373C58F01C931a589B7cccf0C01163b',
'FLUID-VAULT-T2-A': '0x2Edf4cc84989Aa31C74ea69bc5166a4C287f0dFb',
Expand Down

0 comments on commit 7ed4731

Please sign in to comment.