Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rabbitholegg/questdk-plugin-balancer

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rabbitholegg/questdk-plugin-balancer - npm Package Compare versions

Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.9

13

CHANGELOG.md
# @rabbitholegg/questdk-plugin-balancer
## 1.0.0-alpha.9
### Patch Changes
- Updated dependencies [[`64266a7`](https://github.com/rabbitholegg/questdk-plugins/commit/64266a795b7f51b137a199887be8b9551076732b)]:
- @rabbitholegg/questdk-plugin-utils@1.0.0-alpha.2
## 1.0.0-alpha.8
### Minor Changes
- [#124](https://github.com/rabbitholegg/questdk-plugins/pull/124) [`1e63d48`](https://github.com/rabbitholegg/questdk-plugins/commit/1e63d4890d8e501d2d471f275db797f4bb3ce65b) Thanks [@Quazia](https://github.com/Quazia)! - Major refactor of package structure and addition of bare-bones utils package
## 1.0.0-alpha.7

@@ -4,0 +17,0 @@

22

dist/esm/test-transactions.js

@@ -18,3 +18,3 @@ import { parseEther, parseUnits, zeroAddress } from 'viem';

tokenIn: zeroAddress,
tokenOut: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174', // USDC.e
tokenOut: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
amountIn: GreaterThanOrEqual(parseEther('3')),

@@ -37,4 +37,4 @@ amountOut: GreaterThanOrEqual(parseUnits('2', 6)),

contractAddress: VAULT_CONTRACT,
tokenIn: '0xd6df932a45c0f255f85145f286ea0b292b21c90b', // AAVE
tokenOut: zeroAddress, // MATIC
tokenIn: '0xd6df932a45c0f255f85145f286ea0b292b21c90b',
tokenOut: zeroAddress,
amountIn: GreaterThanOrEqual(parseUnits('0.0835', 18)),

@@ -57,4 +57,4 @@ amountOut: GreaterThanOrEqual(parseEther('10.57611940')),

contractAddress: VAULT_CONTRACT,
tokenIn: '0x4200000000000000000000000000000000000042', // OP
tokenOut: zeroAddress, // ETH
tokenIn: '0x4200000000000000000000000000000000000042',
tokenOut: zeroAddress,
amountIn: GreaterThanOrEqual(parseUnits('1', 18)),

@@ -77,4 +77,4 @@ amountOut: GreaterThanOrEqual(parseEther('0.0005')),

contractAddress: VAULT_CONTRACT,
tokenIn: '0x7f5c764cbc14f9669b88837ca1490cca17c31607', // USDC.e
tokenOut: '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58', // USDT
tokenIn: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
tokenOut: '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58',
amountIn: GreaterThanOrEqual(parseUnits('3150', 6)),

@@ -97,4 +97,4 @@ amountOut: GreaterThanOrEqual(parseUnits('3140', 6)),

contractAddress: VAULT_CONTRACT,
tokenIn: zeroAddress, // ETH
tokenOut: '0x3082cc23568ea640225c2467653db90e9250aaa0', // RDNT
tokenIn: zeroAddress,
tokenOut: '0x3082cc23568ea640225c2467653db90e9250aaa0',
amountIn: GreaterThanOrEqual(parseEther('0.3781')),

@@ -117,4 +117,4 @@ amountOut: GreaterThanOrEqual(parseUnits('3000', 18)),

contractAddress: VAULT_CONTRACT,
tokenIn: '0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f', // WBTC
tokenOut: '0x912ce59144191c1204e64559fe8253a0e49e6548', // ARB
tokenIn: '0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f',
tokenOut: '0x912ce59144191c1204e64559fe8253a0e49e6548',
amountIn: GreaterThanOrEqual(parseUnits('0.0002196', 8)),

@@ -121,0 +121,0 @@ amountOut: GreaterThanOrEqual(parseUnits('8', 18)),

import { zeroAddress as ETH_ADDRESS } from 'viem';
import { Chains } from './utils';
const ethereumTokenAddresses = [
ETH_ADDRESS, // ETH
'0x6B175474E89094C44Da98b954EedeAC495271d0F', // DAI
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC
'0xdAC17F958D2ee523a2206206994597C13D831ec7', // USDT
'0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', // WBTC
'0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH
'0x5947BB275c521040051D82396192181b413227A3', // LINK
'0xc00e94Cb662C3520282E6f5717214004A7f26888', // COMP
'0xba100000625a3754423978a60c9317c58a424e3D', // BAL
ETH_ADDRESS,
'0x6B175474E89094C44Da98b954EedeAC495271d0F',
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
'0xdAC17F958D2ee523a2206206994597C13D831ec7',
'0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
'0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
'0x5947BB275c521040051D82396192181b413227A3',
'0xc00e94Cb662C3520282E6f5717214004A7f26888',
'0xba100000625a3754423978a60c9317c58a424e3D',
'0x6810e776880C02933D47DB1b9fc05908e5386b96', // GNO
];
const optimismTokenAddresses = [
ETH_ADDRESS, // ETH
'0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', // DAI
'0xFdb794692724153d1488CcdBE0C56c252596735F', // LIDO
'0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6', // LINK
'0x4200000000000000000000000000000000000042', // OP
'0x9e1028F5F1D5eDE59748FFceE5532509976840E0', // PERP
'0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', // USDC
'0x7F5c764cBc14f9669B88837ca1490cCa17c31607', // USDCE
'0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', // USDT
'0x68f180fcCe6836688e9084f035309E29Bf0A2095', // WBTC
ETH_ADDRESS,
'0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
'0xFdb794692724153d1488CcdBE0C56c252596735F',
'0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6',
'0x4200000000000000000000000000000000000042',
'0x9e1028F5F1D5eDE59748FFceE5532509976840E0',
'0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85',
'0x7F5c764cBc14f9669B88837ca1490cCa17c31607',
'0x94b008aA00579c1307B0EF2c499aD98a8ce58e58',
'0x68f180fcCe6836688e9084f035309E29Bf0A2095',
'0x4200000000000000000000000000000000000006', // WETH
];
const polygonTokenAddresses = [
ETH_ADDRESS, // MATIC
'0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', // BAL
'0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', // DAI
'0xC3C7d422809852031b44ab29EEC9F1EfF2A58756', // LIDO
'0x831753DD7087CaC61aB5644b308642cc1c33Dc13', // QUICK
'0xb33EaAd8d922B1083446DC23f610c2567fB5180f', // UNI
'0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // USDCE
'0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // USDT
'0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', // WBTC
'0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', // WETH
ETH_ADDRESS,
'0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3',
'0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063',
'0xC3C7d422809852031b44ab29EEC9F1EfF2A58756',
'0x831753DD7087CaC61aB5644b308642cc1c33Dc13',
'0xb33EaAd8d922B1083446DC23f610c2567fB5180f',
'0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
'0xc2132D05D31c914a87C6611C10748AEb04B58e8F',
'0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6',
'0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619',
'0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', // WMATIC
];
const baseTokenAddresses = [
ETH_ADDRESS, // ETH
'0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1', // BAL
'0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22', // cbETH
'0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb', // DAI
'0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA', // USDbC
'0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', // USDC
ETH_ADDRESS,
'0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1',
'0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22',
'0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb',
'0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA',
'0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
'0x4200000000000000000000000000000000000006', // WETH
];
const arbitrumTokenAddresses = [
ETH_ADDRESS, // ETH
'0x912CE59144191C1204E64559FE8253a0e49E6548', // ARB
'0x040d1EdC9569d4Bab2D15287Dc5A4F10F56a56B8', // BAL
'0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a', // GMX
'0x13Ad51ed4F1B7e9Dc168d8a00cB3f4dDD85EfA60', // LIDO
'0xaf88d065e77c8cC2239327C5EDb3A432268e5831', // USDC
'0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', // USDCE
'0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', // USDT
'0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', // WBTC
ETH_ADDRESS,
'0x912CE59144191C1204E64559FE8253a0e49E6548',
'0x040d1EdC9569d4Bab2D15287Dc5A4F10F56a56B8',
'0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a',
'0x13Ad51ed4F1B7e9Dc168d8a00cB3f4dDD85EfA60',
'0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
'0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
'0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9',
'0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f',
'0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', // WETH

@@ -61,0 +61,0 @@ ];

{
"name": "@rabbitholegg/questdk-plugin-balancer",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.9",
"type": "module",

@@ -20,14 +20,6 @@ "exports": {

"devDependencies": {
"@types/node": "^20.4.5",
"@vitest/coverage-v8": "^0.33.0",
"rimraf": "^5.0.1",
"rome": "^12.1.3",
"ts-node": "^10.9.1",
"tsconfig": "0.0.0",
"typescript": "^5.1.6",
"vitest": "^0.33.0"
"tsconfig": "0.0.0"
},
"dependencies": {
"@rabbitholegg/questdk": "2.0.0-alpha.31",
"viem": "^1.2.15"
"@rabbitholegg/questdk-plugin-utils": "1.0.0-alpha.2"
},

@@ -34,0 +26,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc