Skip to content

Commit

Permalink
Merge pull request #56 from Instadapp/connector-updates
Browse files Browse the repository at this point in the history
Connector updates
  • Loading branch information
thrilok209 authored Apr 30, 2021
2 parents ee4da4b + 83064fe commit 2a86409
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/abi/connectors/v1/dsa_migrate_v1_to_v2.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { AbiItem } from 'web3-utils'

export const dsa_migrate_v1_to_v2: AbiItem[] = [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"currentDsa","type":"address"},{"indexed":true,"internalType":"address","name":"newData","type":"address"},{"indexed":false,"internalType":"string[]","name":"targets","type":"string[]"},{"indexed":false,"internalType":"bytes[]","name":"calldatas","type":"bytes[]"}],"name":"LogCreateAndMigrate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"currentDsa","type":"address"},{"indexed":true,"internalType":"address","name":"newData","type":"address"},{"indexed":false,"internalType":"string[]","name":"targets","type":"string[]"},{"indexed":false,"internalType":"bytes[]","name":"calldatas","type":"bytes[]"}],"name":"LogMigrate","type":"event"},{"inputs":[],"name":"connectorID","outputs":[{"internalType":"uint256","name":"model","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"components":[{"internalType":"address[]","name":"migrateTokens","type":"address[]"},{"internalType":"address[]","name":"allowanceTokens","type":"address[]"},{"internalType":"uint256[]","name":"allowances","type":"uint256[]"},{"internalType":"uint256[]","name":"makerVaults","type":"uint256[]"},{"internalType":"string[]","name":"targets","type":"string[]"},{"internalType":"bytes[]","name":"calldatas","type":"bytes[]"}],"internalType":"struct MigrateResolver.MigrationData","name":"data","type":"tuple"}],"name":"createAndMigrate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newDsa","type":"address"},{"internalType":"string[]","name":"targets","type":"string[]"},{"internalType":"bytes[]","name":"calldatas","type":"bytes[]"}],"name":"migrate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
export const dsa_migrate_v1_to_v2: AbiItem[] = [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"currentDsa","type":"address"},{"indexed":true,"internalType":"address","name":"newData","type":"address"},{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"makerVaults","type":"uint256[]"},{"indexed":false,"internalType":"string[]","name":"targets","type":"string[]"},{"indexed":false,"internalType":"bytes[]","name":"calldatas","type":"bytes[]"}],"name":"LogCreateAndMigrate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"currentDsa","type":"address"},{"indexed":true,"internalType":"address","name":"newData","type":"address"},{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"makerVaults","type":"uint256[]"},{"indexed":false,"internalType":"string[]","name":"targets","type":"string[]"},{"indexed":false,"internalType":"bytes[]","name":"calldatas","type":"bytes[]"}],"name":"LogMigrate","type":"event"},{"inputs":[],"name":"connectorID","outputs":[{"internalType":"uint256","name":"model","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"components":[{"internalType":"address[]","name":"migrateTokens","type":"address[]"},{"internalType":"address[]","name":"allowanceTokens","type":"address[]"},{"internalType":"uint256[]","name":"allowances","type":"uint256[]"},{"internalType":"uint256[]","name":"makerVaults","type":"uint256[]"},{"internalType":"string[]","name":"targets","type":"string[]"},{"internalType":"bytes[]","name":"calldatas","type":"bytes[]"}],"internalType":"struct MigrateResolver.MigrationData","name":"data","type":"tuple"}],"name":"createAndMigrate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newDsa","type":"address"},{"components":[{"internalType":"address[]","name":"migrateTokens","type":"address[]"},{"internalType":"address[]","name":"allowanceTokens","type":"address[]"},{"internalType":"uint256[]","name":"allowances","type":"uint256[]"},{"internalType":"uint256[]","name":"makerVaults","type":"uint256[]"},{"internalType":"string[]","name":"targets","type":"string[]"},{"internalType":"bytes[]","name":"calldatas","type":"bytes[]"}],"internalType":"struct MigrateResolver.MigrationData","name":"data","type":"tuple"}],"name":"migrate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
2 changes: 1 addition & 1 deletion src/addresses/mainnet/connectorsV1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ export const connectorsV1 = {
aave_polygon_migrate: "0x9686CE6Ad5C3f7b212CAF401b928c4bB3422E7Ba",
aave_claim: "0x8f1e38c53af7bD2b2bE01b9580911b7Cca504F1b",
aave_stake: "0xa96b2F679fB935Ba279eA9395402ca4696D64D78",
dsa_migrate_v1_to_v2: "0x2A00684bFAb9717C21271E0751BCcb7d2D763c88"
dsa_migrate_v1_to_v2: "0x4aec8c5b1CF3498Bef061E13d8e7F646Feeb7029"
}
2 changes: 1 addition & 1 deletion src/addresses/polygon/connectorsV2_M1.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const connectorsV2_M1 = {
"AAVE-V2-A": "0xE84d8010Afc3663919F44685cB53ED88866da3eE",
"AUTHORITY-A": "0xf6474aD0dA75A0dE15D2c915e601D9f754B9e6fe",
"AUTHORITY-A": "0xf73C94402BC24148b744083eD02654EEc2C37D5B",
"BASIC-A": "0x1cAF5EC802ca602E98139AD96A8f2B7BC524264E",
"AAVE-CLAIM-A": "0xC7Cb1dE2721BFC0E0DA1b9D526bCdC54eF1C0eFC",
"INSTAPOOL-A": "0x8f1e38c53af7bD2b2bE01b9580911b7Cca504F1b"
Expand Down

0 comments on commit 2a86409

Please sign in to comment.