diff --git a/src/abi/connectors/v2/PARASWAP-A.ts b/src/abi/connectors/v2/PARASWAP-A.ts new file mode 100644 index 00000000..05d94997 --- /dev/null +++ b/src/abi/connectors/v2/PARASWAP-A.ts @@ -0,0 +1,3 @@ +import { AbiItem } from 'web3-utils' + +export const PARASWAP_A: AbiItem[] =[{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[{"type":"string","name":"_eventName","internalType":"string"},{"type":"bytes","name":"_eventParam","internalType":"bytes"}],"name":"swap","inputs":[{"type":"address","name":"buyAddr","internalType":"address"},{"type":"address","name":"sellAddr","internalType":"address"},{"type":"uint256","name":"sellAmt","internalType":"uint256"},{"type":"uint256","name":"unitAmt","internalType":"uint256"},{"type":"bytes","name":"callData","internalType":"bytes"},{"type":"uint256","name":"setId","internalType":"uint256"}]}] \ No newline at end of file diff --git a/src/abi/connectors/v2/index.ts b/src/abi/connectors/v2/index.ts index 59147c18..2b2e5f5d 100644 --- a/src/abi/connectors/v2/index.ts +++ b/src/abi/connectors/v2/index.ts @@ -14,6 +14,8 @@ import {AAVE_V1_IMPORT_A} from './AAVE-V1-IMPORT-A' import {AAVE_V2_IMPORT_A} from './AAVE-V2-IMPORT-A' import {COMPOUND_IMPORT_A} from './COMPOUND-IMPORT-A' import {INSTAPOOL_A} from './INSTAPOOL-A' +import {PARASWAP_A} from './PARASWAP-A' + export const connectorsV2_M1 = { "INSTAPOOL-A": INSTAPOOL_A, "COMPOUND-IMPORT-A": COMPOUND_IMPORT_A, @@ -30,5 +32,6 @@ export const connectorsV2_M1 = { "MAKERDAO-A": MAKERDAO_A, "UNISWAP-A": UNISWAP_A, "POLYGON-BRIDGE-A": POLYGON_BRIDGE_A, - "AAVE-STAKE-A": AAVE_STAKE_A + "AAVE-STAKE-A": AAVE_STAKE_A, + "PARASWAP-A": PARASWAP_A } diff --git a/src/addresses/polygon/connectorsV2_M1.ts b/src/addresses/polygon/connectorsV2_M1.ts index 89912caa..a8f09314 100644 --- a/src/addresses/polygon/connectorsV2_M1.ts +++ b/src/addresses/polygon/connectorsV2_M1.ts @@ -3,5 +3,6 @@ export const connectorsV2_M1 = { "AUTHORITY-A": "0xf73C94402BC24148b744083eD02654EEc2C37D5B", "BASIC-A": "0x1cAF5EC802ca602E98139AD96A8f2B7BC524264E", "AAVE-CLAIM-A": "0xC7Cb1dE2721BFC0E0DA1b9D526bCdC54eF1C0eFC", - "INSTAPOOL-A": "0x8f1e38c53af7bD2b2bE01b9580911b7Cca504F1b" + "INSTAPOOL-A": "0x8f1e38c53af7bD2b2bE01b9580911b7Cca504F1b", + "PARASWAP-A": "0xBa577Da4cd3DD740c52Ff1193e0409f48569b327" } \ No newline at end of file