diff --git a/package.json b/package.json index 3b40cc1..b4aa2b3 100644 --- a/package.json +++ b/package.json @@ -41,12 +41,12 @@ }, "dependencies": { "@google-cloud/bigquery": "^3.0.0", + "@oasisdex/automation": "^1.5.0", "@oasisdex/spock-etl": "^0.1.5", "@oasisdex/spock-graphql-api": "^0.1.2", "@oasisdex/spock-test-utils": "^0.1.1", "@oasisdex/spock-utils": "^0.1.0", "@oasisdex/spock-validation": "^0.1.0", - "@oasisdex/automation": "1.5.0-alpha.8", "abi-decoder": "^1.2.0", "aws-sdk": "^2.1232.0", "bignumber.js": "^8.0.2", diff --git a/src/config.mainnet.ts b/src/config.mainnet.ts index 4ba48a4..da49365 100644 --- a/src/config.mainnet.ts +++ b/src/config.mainnet.ts @@ -200,6 +200,10 @@ const commandMapping = [ command_address: '0x65127d52aaeb356b45c6dcb3da36f4fc6ff738ef', kind: 'aave-stop-loss', }, + { + command_address: '0x52a9bc9a904b9ee6a4714ef883ccf14cb7283b0f', + kind: 'aave-stop-loss', + }, ].map(({ command_address, kind }) => ({ command_address: command_address.toLowerCase(), kind })); const addresses = { diff --git a/yarn.lock b/yarn.lock index 25cf82a..d7d1b1b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -455,10 +455,10 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" -"@oasisdex/automation@1.5.0-alpha.8": - version "1.5.0-alpha.8" - resolved "https://registry.yarnpkg.com/@oasisdex/automation/-/automation-1.5.0-alpha.8.tgz#0660f0bb27cfbfcd18f1d5e959a84855059690c6" - integrity sha512-Q9aHj65/L9yl9c+roctxPsn1SI5g8zFMRwdibgwzsqOOSe6PdBHIxhbXtsfreygLhI8+qd8SWdZd7nx4CISpvg== +"@oasisdex/automation@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@oasisdex/automation/-/automation-1.5.0.tgz#b5201f039921f79aee4efe22b77fa460296aec58" + integrity sha512-fqhWTtJwzyLYLgE4y0hCi4W5CwPtQp/+8Vzfdv0fOT86KUBgpvwAvI9Qs4WI0ahCZiGozJE/q+eixSo8/WPN/Q== dependencies: ethers "^5.6.2"