diff --git a/package.json b/package.json index c3ffcf18..5d3d0e1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dsa-connect", - "version": "0.7.7", + "version": "0.7.8", "description": "DSA connect", "main": "dist/index.js", "module": "dist/index.es.js", diff --git a/src/abi/connectors/v2/FLUID-VAULT-T2-A.ts b/src/abi/connectors/v2/FLUID-VAULT-T2-A.ts new file mode 100644 index 00000000..50eb5733 --- /dev/null +++ b/src/abi/connectors/v2/FLUID-VAULT-T2-A.ts @@ -0,0 +1,3 @@ +import { AbiItem } from 'web3-utils' + +export const FLUID_VAULT_T2_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":"newColToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newColToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebt","type":"int256"},{"indexed":false,"internalType":"uint256","name":"repayApproveAmt","type":"uint256"}],"name":"LogOperate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vaultAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"perfectColShares","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebt","type":"int256"},{"indexed":false,"internalType":"uint256","name":"repayApproveAmt","type":"uint256"}],"name":"LogOperatePerfect","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vaultAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"perfectColShares","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebt","type":"int256"},{"indexed":false,"internalType":"uint256","name":"repayApproveAmt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"getNftId","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperatePerfectWithIds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vaultAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"newColToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newColToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebt","type":"int256"},{"indexed":false,"internalType":"uint256","name":"repayApproveAmt","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperateWithIds","type":"event"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newColToken0","type":"int256"},{"internalType":"int256","name":"newColToken1","type":"int256"},{"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"internalType":"int256","name":"newDebt","type":"int256"},{"internalType":"uint256","name":"repayApproveAmt","type":"uint256"}],"internalType":"struct FluidVaultT2Connector.OperateHelper","name":"helper_","type":"tuple"}],"name":"operate","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"perfectColShares","type":"int256"},{"internalType":"int256","name":"colToken0MinMax","type":"int256"},{"internalType":"int256","name":"colToken1MinMax","type":"int256"},{"internalType":"int256","name":"newDebt","type":"int256"},{"internalType":"uint256","name":"repayApproveAmt","type":"uint256"}],"internalType":"struct FluidVaultT2Connector.OperatePerfectHelper","name":"helper_","type":"tuple"}],"name":"operatePerfect","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"perfectColShares","type":"int256"},{"internalType":"int256","name":"colToken0MinMax","type":"int256"},{"internalType":"int256","name":"colToken1MinMax","type":"int256"},{"internalType":"int256","name":"newDebt","type":"int256"},{"internalType":"uint256","name":"repayApproveAmt","type":"uint256"},{"internalType":"uint256","name":"getNftId","type":"uint256"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"internalType":"struct FluidVaultT2Connector.OperatePerfectWithIdsHelper","name":"helper_","type":"tuple"}],"name":"operatePerfectWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newColToken0","type":"int256"},{"internalType":"int256","name":"newColToken1","type":"int256"},{"internalType":"int256","name":"colSharesMinMax","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[]"}],"internalType":"struct FluidVaultT2Connector.OperateWIthIdsHelper","name":"helper_","type":"tuple"}],"name":"operateWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"}] \ No newline at end of file diff --git a/src/abi/connectors/v2/FLUID-VAULT-T3-A.ts b/src/abi/connectors/v2/FLUID-VAULT-T3-A.ts new file mode 100644 index 00000000..c3a3fead --- /dev/null +++ b/src/abi/connectors/v2/FLUID-VAULT-T3-A.ts @@ -0,0 +1,3 @@ +import { AbiItem } from 'web3-utils' + +export const FLUID_VAULT_T3_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":"newDebtToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebtToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"debtSharesMinMax","type":"int256"}],"name":"LogOperate","type":"event"},{"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":"perfectDebtShares","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0BorrowOrPayback","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1BorrowOrPayback","type":"int256"}],"name":"LogOperatePerfect","type":"event"},{"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":"perfectDebtShares","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0BorrowOrPayback","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1BorrowOrPayback","type":"int256"},{"indexed":false,"internalType":"uint256","name":"getNftId_","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperatePerfectWithIds","type":"event"},{"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":"newDebtToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebtToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"debtSharesMinMax","type":"int256"},{"indexed":false,"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperateWithIds","type":"event"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newCol","type":"int256"},{"internalType":"int256","name":"newDebtToken0","type":"int256"},{"internalType":"int256","name":"newDebtToken1","type":"int256"},{"internalType":"int256","name":"debtSharesMinMax","type":"int256"}],"internalType":"struct FluidVaultT3Connector.OperateHelper","name":"helper_","type":"tuple"}],"name":"operate","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newCol","type":"int256"},{"internalType":"int256","name":"perfectDebtShares","type":"int256"},{"internalType":"int256","name":"debtToken0MinMax","type":"int256"},{"internalType":"int256","name":"debtToken1MinMax","type":"int256"}],"internalType":"struct FluidVaultT3Connector.OperatePerfectHelper","name":"helper_","type":"tuple"}],"name":"operatePerfect","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newCol","type":"int256"},{"internalType":"int256","name":"perfectDebtShares","type":"int256"},{"internalType":"int256","name":"debtToken0MinMax","type":"int256"},{"internalType":"int256","name":"debtToken1MinMax","type":"int256"},{"internalType":"uint256","name":"getNftId","type":"uint256"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"internalType":"struct FluidVaultT3Connector.OperatePerfectWithIdsHelper","name":"helper_","type":"tuple"}],"name":"operatePerfectWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newCol","type":"int256"},{"internalType":"int256","name":"newDebtToken0","type":"int256"},{"internalType":"int256","name":"newDebtToken1","type":"int256"},{"internalType":"int256","name":"debtSharesMinMax","type":"int256"},{"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"internalType":"struct FluidVaultT3Connector.OperateWIthIdsHelper","name":"helper_","type":"tuple"}],"name":"operateWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"}] \ No newline at end of file diff --git a/src/abi/connectors/v2/FLUID-VAULT-T4-A.ts b/src/abi/connectors/v2/FLUID-VAULT-T4-A.ts index c600166b..38ef5101 100644 --- a/src/abi/connectors/v2/FLUID-VAULT-T4-A.ts +++ b/src/abi/connectors/v2/FLUID-VAULT-T4-A.ts @@ -1,3 +1,3 @@ import { AbiItem } from 'web3-utils' -export const FLUID_VAULT_T4_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":"perfectColShares_","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"perfectDebtShares_","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0BorrowOrPayback","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1BorrowOrPayback","type":"int256"},{"indexed":false,"internalType":"uint256","name":"getNftId_","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperatePerfectWithIds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vaultAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"newColToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newColToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebtToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebtToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"debtSharesMinMax","type":"int256"},{"indexed":false,"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperateWithIds","type":"event"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"perfectColShares","type":"int256"},{"internalType":"int256","name":"colToken0MinMax","type":"int256"},{"internalType":"int256","name":"colToken1MinMax","type":"int256"},{"internalType":"int256","name":"perfectDebtShares","type":"int256"},{"internalType":"int256","name":"debtToken0MinMax","type":"int256"},{"internalType":"int256","name":"debtToken1MinMax","type":"int256"},{"internalType":"uint256","name":"getNftId","type":"uint256"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"internalType":"struct FluidVaultT4Connector.ColDebtHelper","name":"helper_","type":"tuple"}],"name":"operatePerfectWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newColToken0","type":"int256"},{"internalType":"int256","name":"newColToken1","type":"int256"},{"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"internalType":"int256","name":"newDebtToken0","type":"int256"},{"internalType":"int256","name":"newDebtToken1","type":"int256"},{"internalType":"int256","name":"debtSharesMinMax","type":"int256"},{"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"internalType":"struct FluidVaultT4Connector.OperateWIthIdsHelper","name":"helper_","type":"tuple"}],"name":"operateWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"}] \ No newline at end of file +export const FLUID_VAULT_T4_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":"newColToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newColToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebtToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebtToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"debtSharesMinMax","type":"int256"}],"name":"LogOperate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vaultAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"perfectColShares_","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"perfectDebtShares_","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0BorrowOrPayback","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1BorrowOrPayback","type":"int256"}],"name":"LogOperatePerfect","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vaultAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"perfectColShares_","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1DepositOrWithdraw","type":"int256"},{"indexed":false,"internalType":"int256","name":"perfectDebtShares_","type":"int256"},{"indexed":false,"internalType":"int256","name":"token0BorrowOrPayback","type":"int256"},{"indexed":false,"internalType":"int256","name":"token1BorrowOrPayback","type":"int256"},{"indexed":false,"internalType":"uint256","name":"getNftId_","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperatePerfectWithIds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vaultAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"newColToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newColToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebtToken0","type":"int256"},{"indexed":false,"internalType":"int256","name":"newDebtToken1","type":"int256"},{"indexed":false,"internalType":"int256","name":"debtSharesMinMax","type":"int256"},{"indexed":false,"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperateWithIds","type":"event"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newColToken0","type":"int256"},{"internalType":"int256","name":"newColToken1","type":"int256"},{"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"internalType":"int256","name":"newDebtToken0","type":"int256"},{"internalType":"int256","name":"newDebtToken1","type":"int256"},{"internalType":"int256","name":"debtSharesMinMax","type":"int256"}],"internalType":"struct FluidVaultT4Connector.OperateHelper","name":"helper_","type":"tuple"}],"name":"operate","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"perfectColShares","type":"int256"},{"internalType":"int256","name":"colToken0MinMax","type":"int256"},{"internalType":"int256","name":"colToken1MinMax","type":"int256"},{"internalType":"int256","name":"perfectDebtShares","type":"int256"},{"internalType":"int256","name":"debtToken0MinMax","type":"int256"},{"internalType":"int256","name":"debtToken1MinMax","type":"int256"},{"internalType":"uint256","name":"getNftId","type":"uint256"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"internalType":"struct FluidVaultT4Connector.OperatePerfectHelper","name":"helper_","type":"tuple"}],"name":"operatePerfect","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"perfectColShares","type":"int256"},{"internalType":"int256","name":"colToken0MinMax","type":"int256"},{"internalType":"int256","name":"colToken1MinMax","type":"int256"},{"internalType":"int256","name":"perfectDebtShares","type":"int256"},{"internalType":"int256","name":"debtToken0MinMax","type":"int256"},{"internalType":"int256","name":"debtToken1MinMax","type":"int256"},{"internalType":"uint256","name":"getNftId","type":"uint256"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"internalType":"struct FluidVaultT4Connector.OperatePerfectWIthIdsHelper","name":"helper_","type":"tuple"}],"name":"operatePerfectWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vaultAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"int256","name":"newColToken0","type":"int256"},{"internalType":"int256","name":"newColToken1","type":"int256"},{"internalType":"int256","name":"colSharesMinMax","type":"int256"},{"internalType":"int256","name":"newDebtToken0","type":"int256"},{"internalType":"int256","name":"newDebtToken1","type":"int256"},{"internalType":"int256","name":"debtSharesMinMax","type":"int256"},{"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"internalType":"struct FluidVaultT4Connector.OperateWIthIdsHelper","name":"helper_","type":"tuple"}],"name":"operateWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"}] \ No newline at end of file diff --git a/src/abi/connectors/v2/index.ts b/src/abi/connectors/v2/index.ts index a2c6b444..4cb0ad97 100644 --- a/src/abi/connectors/v2/index.ts +++ b/src/abi/connectors/v2/index.ts @@ -140,6 +140,8 @@ import { OKX_A } from "./OKX-A" import { FLUID_MERKLE_CLAIM_A } from "./FLUID-MERKLE-CLAIM-A" import { USDS_A } from "./USDS-A" import { AAVE_V3_ETHERFI } from "./AAVE-V3-ETHERFI" +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" export const connectorsV2_M1 = { @@ -280,5 +282,7 @@ export const connectorsV2_M1 = { 'FLUID-MERKLE-CLAIM-A': FLUID_MERKLE_CLAIM_A, 'USDS-A': USDS_A, 'AAVE-V3-ETHERFI': AAVE_V3_ETHERFI, + 'FLUID-VAULT-T2-A': FLUID_VAULT_T2_A, + 'FLUID-VAULT-T3-A': FLUID_VAULT_T3_A, 'FLUID-VAULT-T4-A': FLUID_VAULT_T4_A } diff --git a/src/addresses/mainnet/connectorsV2_M1.ts b/src/addresses/mainnet/connectorsV2_M1.ts index db49fc95..0a4aaa59 100644 --- a/src/addresses/mainnet/connectorsV2_M1.ts +++ b/src/addresses/mainnet/connectorsV2_M1.ts @@ -119,5 +119,7 @@ export const connectorsV2_M1 = { 'FLUID-MERKLE-CLAIM-A': '0xaa9322865E914c625043D8cEc1318ebaD071B365', 'USDS-A': '0xA10c9b8EAba65aB5920b34aB76b9D68DaBc4B3c8', 'AAVE-V3-ETHERFI': '0xf2c3968e5373C58F01C931a589B7cccf0C01163b', - 'FLUID-VAULT-T4-A': '0x8e390D327D3108EFF56a75Fd7EcE31AB94157175' + 'FLUID-VAULT-T2-A': '0x2Edf4cc84989Aa31C74ea69bc5166a4C287f0dFb', + 'FLUID-VAULT-T3-A': '0x18C8E1a43D12B218a2142d36aA0e885b39e5e8F6', + 'FLUID-VAULT-T4-A': '0xD1574167A8EB19b006ae6F93Bc96d320a9a0C3C6' }