Skip to content

Commit 44f1fa3

Browse files
Merge pull request #375 from Instadapp/f/dex-v2-mm
fix: update mm connector
2 parents 6956c47 + 391981d commit 44f1fa3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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.47",
3+
"version": "0.7.48",
44
"description": "DSA connect",
55
"main": "dist/index.js",
66
"module": "dist/index.es.js",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import {AbiItem} from 'web3-utils'
22

3-
export const FLUID_DEX_V2_MM_A: AbiItem[] = [{ "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "nftId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newEmode", "type": "uint256" }], "name": "LogChangeEmode", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint8", "name": "positionType", "type": "uint8" }, { "indexed": false, "internalType": "uint256", "name": "nftId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "positionIndex_", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "actionData", "type": "bytes" }], "name": "LogOperate", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint8", "name": "positionType", "type": "uint8" }, { "indexed": false, "internalType": "uint256", "name": "nftId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "positionIndex_", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "actionData", "type": "bytes" }, { "indexed": false, "internalType": "uint256[]", "name": "getIds", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "setIds", "type": "uint256[]" }], "name": "LogOperateWithIds", "type": "event" }, { "inputs": [{ "internalType": "uint256", "name": "nftId_", "type": "uint256" }, { "internalType": "uint256", "name": "newEmode_", "type": "uint256" }], "name": "changeEMode", "outputs": [{ "internalType": "string", "name": "_eventName", "type": "string" }, { "internalType": "bytes", "name": "_eventParam", "type": "bytes" }], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint8", "name": "positionType_", "type": "uint8" }, { "internalType": "uint256", "name": "nftId_", "type": "uint256" }, { "internalType": "uint256", "name": "positionIndex_", "type": "uint256" }, { "internalType": "bytes", "name": "actionData_", "type": "bytes" }, { "components": [{ "internalType": "address", "name": "token0Address", "type": "address" }, { "internalType": "address", "name": "token1Address", "type": "address" }], "internalType": "struct TokenAddressParams", "name": "tokenAddressParams_", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "approveAmount0", "type": "uint256" }, { "internalType": "uint256", "name": "approveAmount1", "type": "uint256" }], "internalType": "struct ApproveAmountParams", "name": "approveAmountParams_", "type": "tuple" }], "name": "operate", "outputs": [{ "internalType": "string", "name": "_eventName", "type": "string" }, { "internalType": "bytes", "name": "_eventParam", "type": "bytes" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint8", "name": "positionType_", "type": "uint8" }, { "internalType": "uint256", "name": "nftId_", "type": "uint256" }, { "internalType": "uint256", "name": "positionIndex_", "type": "uint256" }, { "internalType": "bytes", "name": "actionData_", "type": "bytes" }, { "components": [{ "internalType": "address", "name": "token0Address", "type": "address" }, { "internalType": "address", "name": "token1Address", "type": "address" }], "internalType": "struct TokenAddressParams", "name": "tokenAddressParams_", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "approveAmount0", "type": "uint256" }, { "internalType": "uint256", "name": "approveAmount1", "type": "uint256" }], "internalType": "struct ApproveAmountParams", "name": "approveAmountParams_", "type": "tuple" }, { "internalType": "uint256[]", "name": "getIds_", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "setIds_", "type": "uint256[]" }], "name": "operateWithIds", "outputs": [{ "internalType": "string", "name": "_eventName", "type": "string" }, { "internalType": "bytes", "name": "_eventParam", "type": "bytes" }], "stateMutability": "payable", "type": "function" }]
3+
export const FLUID_DEX_V2_MM_A: AbiItem[] = [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newEmode","type":"uint256"}],"name":"LogChangeEmode","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"positionType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"positionIndex_","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"actionData","type":"bytes"}],"name":"LogOperate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"positionType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"positionIndex_","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"actionData","type":"bytes"},{"indexed":false,"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"LogOperateWithIds","type":"event"},{"inputs":[{"internalType":"uint256","name":"nftId_","type":"uint256"},{"internalType":"uint256","name":"newEmode_","type":"uint256"}],"name":"changeEMode","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"positionType_","type":"uint8"},{"internalType":"uint256","name":"nftId_","type":"uint256"},{"internalType":"uint256","name":"positionIndex_","type":"uint256"},{"internalType":"bytes","name":"actionData_","type":"bytes"},{"components":[{"internalType":"address","name":"token0Address","type":"address"},{"internalType":"address","name":"token1Address","type":"address"}],"internalType":"struct TokenAddressParams","name":"tokenAddressParams_","type":"tuple"},{"components":[{"internalType":"uint256","name":"approveAmount0","type":"uint256"},{"internalType":"uint256","name":"approveAmount1","type":"uint256"}],"internalType":"struct ApproveAmountParams","name":"approveAmountParams_","type":"tuple"}],"name":"operate","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"positionType_","type":"uint8"},{"internalType":"uint256","name":"nftId_","type":"uint256"},{"internalType":"uint256","name":"positionIndex_","type":"uint256"},{"internalType":"bytes","name":"actionData_","type":"bytes"},{"components":[{"internalType":"address","name":"token0Address","type":"address"},{"internalType":"address","name":"token1Address","type":"address"}],"internalType":"struct TokenAddressParams","name":"tokenAddressParams_","type":"tuple"},{"components":[{"internalType":"uint256","name":"approveAmount0","type":"uint256"},{"internalType":"uint256","name":"approveAmount1","type":"uint256"}],"internalType":"struct ApproveAmountParams","name":"paybackApproveAmountParams_","type":"tuple"},{"internalType":"uint256[]","name":"getIds_","type":"uint256[]"},{"internalType":"uint256[]","name":"setIds_","type":"uint256[]"}],"name":"operateWithIds","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"}]

src/addresses/polygon/connectorsV2_M1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ export const connectorsV2_M1 = {
6868
'FLUID-VAULT-T3-A': '0x9f96a0E2940b320dFE7Dd4A38BAb0Ab43c703815',
6969
'FLUID-VAULT-T4-A': '0xA6CCb3afBFe4e26C9057Baa9EE90DAba59d56c60',
7070
'OKX-V6-A': '0xEcc4F722cD98d81fF042145E53968e98862CAA9f',
71-
'FLUID-DEX-V2-MM-A': '0xA126B30C6719dD676B140386f45a4A254A88924B'
71+
'FLUID-DEX-V2-MM-A': '0x4C687263C79Ca45915EBe6d79defeedc6569CDAf'
7272
}

0 commit comments

Comments
 (0)