Skip to content

Commit

Permalink
feat: Add fluid on polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
shriyatyagii committed Jan 11, 2024
1 parent b71df1d commit 8b90326
Show file tree
Hide file tree
Showing 4 changed files with 9 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.6.63",
"version": "0.6.64",
"description": "DSA connect",
"main": "dist/index.js",
"module": "dist/index.es.js",
Expand Down
5 changes: 5 additions & 0 deletions src/abi/connectors/v2/FLUID-A.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import {
AbiItem
} from 'web3-utils'

export const FLUID_A: AbiItem[] = [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vaultAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"newCol","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebt","type":"int256"},{"indexed":false,"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperate","type":"event"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"vaultAddress_","type":"address"},{"internalType":"uint256","name":"nftId_","type":"uint256"},{"internalType":"int256","name":"newCol_","type":"int256"},{"internalType":"int256","name":"newDebt_","type":"int256"},{"internalType":"uint256","name":"repayApproveAmt_","type":"uint256"},{"internalType":"uint256[]","name":"getIds_","type":"uint256[]"},{"internalType":"uint256[]","name":"setIds_","type":"uint256[]"}],"name":"operate","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","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 @@ -115,6 +115,7 @@ import { BASIC_D } from './BASIC-D'
import { AVO_APPROVE_MULTISIG_A } from './AVO-APPROVE-MULTISIG-A'
import { AVO_APPROVE_MULTISIG_STAGING_A } from './AVO-APPROVE-MULTISIG-STAGING-A'
import { CURVE_USD_A } from './CURVE-USD-A'
import { FLUID_A } from './FLUID-A'

export const connectorsV2_M1 = {
'MORPHO-REWARDS-A': MORPHO_REWARDS_A,
Expand Down Expand Up @@ -231,4 +232,5 @@ export const connectorsV2_M1 = {
'AVO-APPROVE-MULTISIG-A': AVO_APPROVE_MULTISIG_A,
'AVO-APPROVE-MULTISIG-STAGING-A': AVO_APPROVE_MULTISIG_STAGING_A,
'CURVE-USD-A': CURVE_USD_A,
'FLUID-A': FLUID_A
}
1 change: 1 addition & 0 deletions src/addresses/polygon/connectorsV2_M1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ export const connectorsV2_M1 = {
'KYBER-AGGREGATOR-A': '0xF61617C863C58f864083377A446E051668DbDc51',
'AVO-APPROVE-MULTISIG-A': '0xb4f0e775a15f16EAa8Bf608171384E0769eC977F',
'AVO-APPROVE-MULTISIG-STAGING-A': '0xBdE3873b1B71422459c3b6707f373c0b0a87EC75',
'FLUID-A': '0xa15c827Ab305ec391B643a91C4ddeA10A3842b34',
}

0 comments on commit 8b90326

Please sign in to comment.