Skip to content

Commit

Permalink
Updated dsa migrate connector
Browse files Browse the repository at this point in the history
  • Loading branch information
thrilok209 committed Apr 30, 2021
1 parent 76fbb8d commit 83064fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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"
}

0 comments on commit 83064fe

Please sign in to comment.