New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@generationsoftware/pt-v5-autotasks-library

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@generationsoftware/pt-v5-autotasks-library - npm Package Compare versions

Comparing version 1.2.0-beta.2 to 1.2.0-beta.3

72

dist/constants/tokens.d.ts

@@ -19,2 +19,9 @@ export declare const KNOWN_TOKENS: {

PRZPOOLWETH?: undefined;
WELL?: undefined;
USDA?: undefined;
PRZAERO?: undefined;
PRZCBETH?: undefined;
PRZWSTETH?: undefined;
PRZPOOLLUSD?: undefined;
PRZUSDA?: undefined;
RETH?: undefined;

@@ -43,2 +50,9 @@ PDAI?: undefined;

LINK?: undefined;
WELL?: undefined;
USDA?: undefined;
PRZAERO?: undefined;
PRZCBETH?: undefined;
PRZWSTETH?: undefined;
PRZPOOLLUSD?: undefined;
PRZUSDA?: undefined;
RETH?: undefined;

@@ -56,3 +70,33 @@ PDAI?: undefined;

LUSD: string;
WELL: string;
USDA: string;
PRZUSDC: string;
PRZAERO: string;
PRZCBETH: string;
PRZWSTETH: string;
PRZPOOLLUSD: string;
PRZUSDA: string;
WBTC?: undefined;
GUSD?: undefined;
OP?: undefined;
LINK?: undefined;
USDCE?: undefined;
PRZWETH?: undefined;
PRZDAI?: undefined;
PRZLUSD?: undefined;
PRZWSTETHETH?: undefined;
PRZPOOLWETH?: undefined;
RETH?: undefined;
PDAI?: undefined;
PUSDC?: undefined;
PWETH?: undefined;
PGUSD?: undefined;
PWBTC?: undefined;
} | {
POOL: string;
WETH: string;
USDC: string;
DAI: string;
LUSD: string;
PRZUSDC: string;
PRZWETH: string;

@@ -68,2 +112,9 @@ PRZDAI: string;

PRZPOOLWETH?: undefined;
WELL?: undefined;
USDA?: undefined;
PRZAERO?: undefined;
PRZCBETH?: undefined;
PRZWSTETH?: undefined;
PRZPOOLLUSD?: undefined;
PRZUSDA?: undefined;
RETH?: undefined;

@@ -96,2 +147,9 @@ PDAI?: undefined;

PRZPOOLWETH?: undefined;
WELL?: undefined;
USDA?: undefined;
PRZAERO?: undefined;
PRZCBETH?: undefined;
PRZWSTETH?: undefined;
PRZPOOLLUSD?: undefined;
PRZUSDA?: undefined;
PGUSD?: undefined;

@@ -121,2 +179,9 @@ PWBTC?: undefined;

PRZPOOLWETH?: undefined;
WELL?: undefined;
USDA?: undefined;
PRZAERO?: undefined;
PRZCBETH?: undefined;
PRZWSTETH?: undefined;
PRZPOOLLUSD?: undefined;
PRZUSDA?: undefined;
RETH?: undefined;

@@ -140,2 +205,9 @@ } | {

PRZPOOLWETH?: undefined;
WELL?: undefined;
USDA?: undefined;
PRZAERO?: undefined;
PRZCBETH?: undefined;
PRZWSTETH?: undefined;
PRZPOOLLUSD?: undefined;
PRZUSDA?: undefined;
RETH?: undefined;

@@ -142,0 +214,0 @@ PDAI?: undefined;

18

dist/constants/tokens.js

@@ -35,6 +35,10 @@ import { CHAIN_IDS } from './network.js';

LUSD: '0x368181499736d0c0cc614dbb145e2ec1ac86b8c6',
PRZUSDC: '',
PRZWETH: '',
PRZDAI: '',
PRZLUSD: '',
WELL: '0xa88594d404727625a9437c3f886c7643872296ae',
USDA: '0x0000206329b97DB379d5E1Bf586BbDB969C63274',
PRZUSDC: '0x7f5c2b379b88499ac2b997db583f8079503f25b9',
PRZAERO: '0x940181a94a35a4569e4529a3cdfb74e38fd98631',
PRZCBETH: '0x5b623c127254c6fec04b492ecdf4b11c45fbb9d5',
PRZWSTETH: '0x75d700f4c21528a2bb603b6ed899acfde5c4b086',
PRZPOOLLUSD: '0x850ec48d2605aad9c3de345a6a357a9a14b8cf1b',
PRZUSDA: '0x6bb041d7e70b7040611ef688b5e707a799ade60a',
},

@@ -112,3 +116,5 @@ [CHAIN_IDS.arbitrum]: {

],
[CHAIN_IDS.base]: [],
[CHAIN_IDS.base]: [
...Object.values(KNOWN_TOKENS[CHAIN_IDS.base]).map((tokenAddress) => tokenAddress.toLowerCase()),
],
[CHAIN_IDS.arbitrum]: [],

@@ -128,3 +134,3 @@ [CHAIN_IDS.baseSepolia]: [

[CHAIN_IDS.arbitrumSepolia]: [
...Object.values(KNOWN_TOKENS[CHAIN_IDS.arbitrumSepolia]).map(tokenAddress => tokenAddress.toLowerCase())
...Object.values(KNOWN_TOKENS[CHAIN_IDS.arbitrumSepolia]).map((tokenAddress) => tokenAddress.toLowerCase()),
],

@@ -131,0 +137,0 @@ [CHAIN_IDS.sepolia]: [],

@@ -360,3 +360,6 @@ import { ethers, BigNumber } from 'ethers';

const liquidationRouterContract = getContract('TpdaLiquidationRouter', chainId, signer, contracts, contractsVersion);
const uniswapV2WethPairFlashLiquidatorContract = new ethers.Contract(UNISWAP_V2_WETH_PAIR_FLASH_LIQUIDATOR_CONTRACT_ADDRESS[config.chainId], UniswapV2WethPairFlashLiquidatorAbi, signer);
let uniswapV2WethPairFlashLiquidatorContract;
if (UNISWAP_V2_WETH_PAIR_FLASH_LIQUIDATOR_CONTRACT_ADDRESS[config.chainId]) {
uniswapV2WethPairFlashLiquidatorContract = new ethers.Contract(UNISWAP_V2_WETH_PAIR_FLASH_LIQUIDATOR_CONTRACT_ADDRESS[config.chainId], UniswapV2WethPairFlashLiquidatorAbi, signer);
}
return {

@@ -363,0 +366,0 @@ uniswapV2WethPairFlashLiquidatorContract,

{
"name": "@generationsoftware/pt-v5-autotasks-library",
"version": "1.2.0-beta.2",
"version": "1.2.0-beta.3",
"description": "Library of shared utils to run PoolTogether v5 hyperstructure autotasks.",

@@ -5,0 +5,0 @@ "author": {

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