diff --git a/docgen/README.md b/docgen/README.md deleted file mode 100644 index 62699002..00000000 --- a/docgen/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# 1inch offchain oracle - -https://github.com/1inch/offchain-oracle diff --git a/docgen/docs/GasEstimator.md b/docgen/docs/GasEstimator.md deleted file mode 100644 index 877b1159..00000000 --- a/docgen/docs/GasEstimator.md +++ /dev/null @@ -1,32 +0,0 @@ -# GasEstimator - - - - - -## Functions -### gasLimit -```solidity -function gasLimit( -) external returns (uint256) -``` - - - - -### gasCost -```solidity -function gasCost( - address target, - bytes data -) external returns (uint256 gasUsed, bool success) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`target` | address | -|`data` | bytes | - - diff --git a/docgen/docs/MultiWrapper.md b/docgen/docs/MultiWrapper.md deleted file mode 100644 index 45cc77da..00000000 --- a/docgen/docs/MultiWrapper.md +++ /dev/null @@ -1,99 +0,0 @@ -# MultiWrapper - - - - - -## Functions -### constructor -```solidity -function constructor( - contract IWrapper[] existingWrappers -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`existingWrappers` | contract IWrapper[] | - - -### wrappers -```solidity -function wrappers( -) external returns (contract IWrapper[] allWrappers) -``` - - - - -### addWrapper -```solidity -function addWrapper( - contract IWrapper wrapper -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`wrapper` | contract IWrapper | - - -### removeWrapper -```solidity -function removeWrapper( - contract IWrapper wrapper -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`wrapper` | contract IWrapper | - - -### getWrappedTokens -```solidity -function getWrappedTokens( - contract IERC20 token -) external returns (contract IERC20[] wrappedTokens, uint256[] rates) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - -## Events -### WrapperAdded -```solidity -event WrapperAdded( - contract IWrapper connector -) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`connector` | contract IWrapper | - -### WrapperRemoved -```solidity -event WrapperRemoved( - contract IWrapper connector -) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`connector` | contract IWrapper | - diff --git a/docgen/docs/OffchainOracle.md b/docgen/docs/OffchainOracle.md deleted file mode 100644 index 447407f0..00000000 --- a/docgen/docs/OffchainOracle.md +++ /dev/null @@ -1,241 +0,0 @@ -# OffchainOracle - - - - - -## Functions -### constructor -```solidity -function constructor( - contract MultiWrapper _multiWrapper, - contract IOracle[] existingOracles, - enum OffchainOracle.OracleType[] oracleTypes, - contract IERC20[] existingConnectors, - contract IERC20 wBase -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_multiWrapper` | contract MultiWrapper | -|`existingOracles` | contract IOracle[] | -|`oracleTypes` | enum OffchainOracle.OracleType[] | -|`existingConnectors` | contract IERC20[] | -|`wBase` | contract IERC20 | - - -### oracles -```solidity -function oracles( -) public returns (contract IOracle[] allOracles, enum OffchainOracle.OracleType[] oracleTypes) -``` - - - - -### connectors -```solidity -function connectors( -) external returns (contract IERC20[] allConnectors) -``` - - - - -### setMultiWrapper -```solidity -function setMultiWrapper( - contract MultiWrapper _multiWrapper -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_multiWrapper` | contract MultiWrapper | - - -### addOracle -```solidity -function addOracle( - contract IOracle oracle, - enum OffchainOracle.OracleType oracleKind -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`oracle` | contract IOracle | -|`oracleKind` | enum OffchainOracle.OracleType | - - -### removeOracle -```solidity -function removeOracle( - contract IOracle oracle, - enum OffchainOracle.OracleType oracleKind -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`oracle` | contract IOracle | -|`oracleKind` | enum OffchainOracle.OracleType | - - -### addConnector -```solidity -function addConnector( - contract IERC20 connector -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`connector` | contract IERC20 | - - -### removeConnector -```solidity -function removeConnector( - contract IERC20 connector -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`connector` | contract IERC20 | - - -### getRate -```solidity -function getRate( - contract IERC20 srcToken, - contract IERC20 dstToken, - bool useWrappers -) external returns (uint256 weightedRate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | -|`useWrappers` | bool | - - -### getRateToEth -```solidity -function getRateToEth( - contract IERC20 srcToken, - bool useSrcWrappers -) external returns (uint256 weightedRate) -``` - -Same as `getRate` but checks against `ETH` and `WETH` only -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`useSrcWrappers` | bool | - - -### _getWrappedTokens -```solidity -function _getWrappedTokens( - contract IERC20 token, - bool useWrappers -) internal returns (contract IERC20[] wrappedTokens, uint256[] rates) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | -|`useWrappers` | bool | - - -## Events -### OracleAdded -```solidity -event OracleAdded( - contract IOracle oracle, - enum OffchainOracle.OracleType oracleType -) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`oracle` | contract IOracle | -|`oracleType` | enum OffchainOracle.OracleType | - -### OracleRemoved -```solidity -event OracleRemoved( - contract IOracle oracle, - enum OffchainOracle.OracleType oracleType -) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`oracle` | contract IOracle | -|`oracleType` | enum OffchainOracle.OracleType | - -### ConnectorAdded -```solidity -event ConnectorAdded( - contract IERC20 connector -) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`connector` | contract IERC20 | - -### ConnectorRemoved -```solidity -event ConnectorRemoved( - contract IERC20 connector -) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`connector` | contract IERC20 | - -### MultiWrapperUpdated -```solidity -event MultiWrapperUpdated( - contract MultiWrapper multiWrapper -) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`multiWrapper` | contract MultiWrapper | - diff --git a/docgen/docs/README.md b/docgen/docs/README.md deleted file mode 100644 index 62699002..00000000 --- a/docgen/docs/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# 1inch offchain oracle - -https://github.com/1inch/offchain-oracle diff --git a/docgen/docs/SUMMARY.md b/docgen/docs/SUMMARY.md deleted file mode 100644 index fc37ad06..00000000 --- a/docgen/docs/SUMMARY.md +++ /dev/null @@ -1,46 +0,0 @@ -# Table of contents - -* [Main Readme](README.md) -* [interfaces](interfaces/README.md) - * [IBzxProtocol](interfaces/IBzxProtocol.md) - * [IChainlink](interfaces/IChainlink.md) - * [IComptroller](interfaces/IComptroller.md) - * [ICToken](interfaces/ICToken.md) - * [IKyberDmmFactory](interfaces/IKyberDmmFactory.md) - * [IKyberDmmPool](interfaces/IKyberDmmPool.md) - * [ILendingPoolV1](interfaces/ILendingPoolV1.md) - * [ILendingPoolV2](interfaces/ILendingPoolV2.md) - * [ILoanToken](interfaces/ILoanToken.md) - * [IMooniswap](interfaces/IMooniswap.md) - * [IMooniswapFactory](interfaces/IMooniswapFactory.md) - * [IOracle](interfaces/IOracle.md) - * [ISynthetixAddressResolver](interfaces/ISynthetixAddressResolver.md) - * [ISynthetixExchangeRates](interfaces/ISynthetixExchangeRates.md) - * [ISynthetixProxy](interfaces/ISynthetixProxy.md) - * [IUniswapFactory](interfaces/IUniswapFactory.md) - * [IUniswapV2Pair](interfaces/IUniswapV2Pair.md) - * [IUniswapV3Pool](interfaces/IUniswapV3Pool.md) - * [IWrapper](interfaces/IWrapper.md) - * [IYVault](interfaces/IYVault.md) -* [libraries](libraries/README.md) - * [Sqrt](libraries/Sqrt.md) -* [oracles](oracles/README.md) - * [ChainlinkOracle](oracles/ChainlinkOracle.md) - * [KyberDmmOracle](oracles/KyberDmmOracle.md) - * [MooniswapOracle](oracles/MooniswapOracle.md) - * [OracleBase](oracles/OracleBase.md) - * [SynthetixOracle](oracles/SynthetixOracle.md) - * [UniswapOracle](oracles/UniswapOracle.md) - * [UniswapV2LikeOracle](oracles/UniswapV2LikeOracle.md) - * [UniswapV3Oracle](oracles/UniswapV3Oracle.md) -* [wrappers](wrappers/README.md) - * [AaveWrapperV1](wrappers/AaveWrapperV1.md) - * [AaveWrapperV2](wrappers/AaveWrapperV2.md) - * [BaseCoinWrapper](wrappers/BaseCoinWrapper.md) - * [CompoundLikeWrapper](wrappers/CompoundLikeWrapper.md) - * [FulcrumWrapper](wrappers/FulcrumWrapper.md) - * [FulcrumWrapperLegacy](wrappers/FulcrumWrapperLegacy.md) - * [YVaultWrapper](wrappers/YVaultWrapper.md) -* [GasEstimator](GasEstimator.md) -* [MultiWrapper](MultiWrapper.md) -* [OffchainOracle](OffchainOracle.md) \ No newline at end of file diff --git a/docgen/docs/interfaces/IBzxProtocol.md b/docgen/docs/interfaces/IBzxProtocol.md deleted file mode 100644 index ebc393e7..00000000 --- a/docgen/docs/interfaces/IBzxProtocol.md +++ /dev/null @@ -1,21 +0,0 @@ -# IBzxProtocol - - - - - -## Functions -### underlyingToLoanPool -```solidity -function underlyingToLoanPool( - address underlying -) external returns (address loanPool) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`underlying` | address | - - diff --git a/docgen/docs/interfaces/ICToken.md b/docgen/docs/interfaces/ICToken.md deleted file mode 100644 index 28b15099..00000000 --- a/docgen/docs/interfaces/ICToken.md +++ /dev/null @@ -1,25 +0,0 @@ -# ICToken - - - - - -## Functions -### underlying -```solidity -function underlying( -) external returns (contract IERC20 token) -``` - - - - -### exchangeRateStored -```solidity -function exchangeRateStored( -) external returns (uint256 exchangeRate) -``` - - - - diff --git a/docgen/docs/interfaces/IChainlink.md b/docgen/docs/interfaces/IChainlink.md deleted file mode 100644 index dc3c94d5..00000000 --- a/docgen/docs/interfaces/IChainlink.md +++ /dev/null @@ -1,39 +0,0 @@ -# IChainlink - - - - - -## Functions -### latestRoundData -```solidity -function latestRoundData( - contract IERC20 base, - address quote -) external returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound) -``` -get data about the latest round. Consumers are encouraged to check -that they're receiving fresh data by inspecting the updatedAt and -answeredInRound return values. -Note that different underlying implementations of AggregatorV3Interface -have slightly different semantics for some of the return values. Consumers -should determine what implementations they expect to receive -data from and validate that they can properly handle return data from all -of them. - -Note that answer and updatedAt may change between queries. -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`base` | contract IERC20 | base asset address -|`quote` | address | quote asset address - -#### Return Values: -| Name | Type | Description | -| :----------------------------- | :------------ | :--------------------------------------------------------------------------- | -|`roundId`| uint80 | is the round ID from the aggregator for which the data was retrieved combined with a phase to ensure that round IDs get larger as time moves forward. -|`answer`| int256 | is the answer for the given round -|`startedAt`| uint256 | is the timestamp when the round was started. (Only some AggregatorV3Interface implementations return meaningful values) -|`updatedAt`| uint256 | is the timestamp when the round last was updated (i.e. answer was last computed) -|`answeredInRound`| uint80 | is the round ID of the round in which the answer was computed. (Only some AggregatorV3Interface implementations return meaningful values) - diff --git a/docgen/docs/interfaces/IComptroller.md b/docgen/docs/interfaces/IComptroller.md deleted file mode 100644 index df15fa18..00000000 --- a/docgen/docs/interfaces/IComptroller.md +++ /dev/null @@ -1,30 +0,0 @@ -# IComptroller - - - - - -## Functions -### getAllMarkets -```solidity -function getAllMarkets( -) external returns (contract ICToken[]) -``` - - - - -### markets -```solidity -function markets( - contract ICToken market -) external returns (bool isListed, uint256 collateralFactorMantissa, bool isComped) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`market` | contract ICToken | - - diff --git a/docgen/docs/interfaces/IKyberDmmFactory.md b/docgen/docs/interfaces/IKyberDmmFactory.md deleted file mode 100644 index 14a25b47..00000000 --- a/docgen/docs/interfaces/IKyberDmmFactory.md +++ /dev/null @@ -1,23 +0,0 @@ -# IKyberDmmFactory - - - - - -## Functions -### getPools -```solidity -function getPools( - contract IERC20 token0, - contract IERC20 token1 -) external returns (address[] _tokenPools) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token0` | contract IERC20 | -|`token1` | contract IERC20 | - - diff --git a/docgen/docs/interfaces/IKyberDmmPool.md b/docgen/docs/interfaces/IKyberDmmPool.md deleted file mode 100644 index 52bbad5b..00000000 --- a/docgen/docs/interfaces/IKyberDmmPool.md +++ /dev/null @@ -1,16 +0,0 @@ -# IKyberDmmPool - - - - - -## Functions -### getTradeInfo -```solidity -function getTradeInfo( -) external returns (uint112 reserve0, uint112 reserve1, uint112 _vReserve0, uint112 _vReserve1, uint256 feeInPrecision) -``` - - - - diff --git a/docgen/docs/interfaces/ILendingPoolV1.md b/docgen/docs/interfaces/ILendingPoolV1.md deleted file mode 100644 index d97319de..00000000 --- a/docgen/docs/interfaces/ILendingPoolV1.md +++ /dev/null @@ -1,21 +0,0 @@ -# ILendingPoolV1 - - - - - -## Functions -### getReserveData -```solidity -function getReserveData( - address _reserve -) external returns (uint256 totalLiquidity, uint256 availableLiquidity, uint256 totalBorrowsStable, uint256 totalBorrowsVariable, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 utilizationRate, uint256 liquidityIndex, uint256 variableBorrowIndex, contract IERC20 aTokenAddress, uint40 lastUpdateTimestamp) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_reserve` | address | - - diff --git a/docgen/docs/interfaces/ILendingPoolV2.md b/docgen/docs/interfaces/ILendingPoolV2.md deleted file mode 100644 index 92372d7b..00000000 --- a/docgen/docs/interfaces/ILendingPoolV2.md +++ /dev/null @@ -1,21 +0,0 @@ -# ILendingPoolV2 - - - - - -## Functions -### getReserveData -```solidity -function getReserveData( - address asset -) external returns (struct ILendingPoolV2.ReserveData) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`asset` | address | - - diff --git a/docgen/docs/interfaces/ILoanToken.md b/docgen/docs/interfaces/ILoanToken.md deleted file mode 100644 index e9b8914d..00000000 --- a/docgen/docs/interfaces/ILoanToken.md +++ /dev/null @@ -1,25 +0,0 @@ -# ILoanToken - - - - - -## Functions -### tokenPrice -```solidity -function tokenPrice( -) external returns (uint256 price) -``` - - - - -### loanTokenAddress -```solidity -function loanTokenAddress( -) external returns (address underlying) -``` - - - - diff --git a/docgen/docs/interfaces/IMooniswap.md b/docgen/docs/interfaces/IMooniswap.md deleted file mode 100644 index a9fb9955..00000000 --- a/docgen/docs/interfaces/IMooniswap.md +++ /dev/null @@ -1,16 +0,0 @@ -# IMooniswap - - - - - -## Functions -### getTokens -```solidity -function getTokens( -) external returns (contract IERC20[] tokens) -``` - - - - diff --git a/docgen/docs/interfaces/IMooniswapFactory.md b/docgen/docs/interfaces/IMooniswapFactory.md deleted file mode 100644 index 657c6a29..00000000 --- a/docgen/docs/interfaces/IMooniswapFactory.md +++ /dev/null @@ -1,23 +0,0 @@ -# IMooniswapFactory - - - - - -## Functions -### pools -```solidity -function pools( - contract IERC20 token0, - contract IERC20 token1 -) external returns (contract IMooniswap) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token0` | contract IERC20 | -|`token1` | contract IERC20 | - - diff --git a/docgen/docs/interfaces/IOracle.md b/docgen/docs/interfaces/IOracle.md deleted file mode 100644 index 57295f5d..00000000 --- a/docgen/docs/interfaces/IOracle.md +++ /dev/null @@ -1,25 +0,0 @@ -# IOracle - - - - - -## Functions -### getRate -```solidity -function getRate( - contract IERC20 srcToken, - contract IERC20 dstToken, - contract IERC20 connector -) external returns (uint256 rate, uint256 weight) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | -|`connector` | contract IERC20 | - - diff --git a/docgen/docs/interfaces/ISynthetixAddressResolver.md b/docgen/docs/interfaces/ISynthetixAddressResolver.md deleted file mode 100644 index 0f85c3a4..00000000 --- a/docgen/docs/interfaces/ISynthetixAddressResolver.md +++ /dev/null @@ -1,35 +0,0 @@ -# ISynthetixAddressResolver - - - - - -## Functions -### getSynth -```solidity -function getSynth( - bytes32 key -) external returns (address) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`key` | bytes32 | - - -### getAddress -```solidity -function getAddress( - bytes32 key -) external returns (address) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`key` | bytes32 | - - diff --git a/docgen/docs/interfaces/ISynthetixExchangeRates.md b/docgen/docs/interfaces/ISynthetixExchangeRates.md deleted file mode 100644 index 66170d1e..00000000 --- a/docgen/docs/interfaces/ISynthetixExchangeRates.md +++ /dev/null @@ -1,21 +0,0 @@ -# ISynthetixExchangeRates - - - - - -## Functions -### rateAndInvalid -```solidity -function rateAndInvalid( - bytes32 currencyKey -) external returns (uint256 rate, bool isInvalid) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`currencyKey` | bytes32 | - - diff --git a/docgen/docs/interfaces/ISynthetixProxy.md b/docgen/docs/interfaces/ISynthetixProxy.md deleted file mode 100644 index 1371881b..00000000 --- a/docgen/docs/interfaces/ISynthetixProxy.md +++ /dev/null @@ -1,16 +0,0 @@ -# ISynthetixProxy - - - - - -## Functions -### target -```solidity -function target( -) external returns (address) -``` - - - - diff --git a/docgen/docs/interfaces/IUniswapFactory.md b/docgen/docs/interfaces/IUniswapFactory.md deleted file mode 100644 index 99038068..00000000 --- a/docgen/docs/interfaces/IUniswapFactory.md +++ /dev/null @@ -1,21 +0,0 @@ -# IUniswapFactory - - - - - -## Functions -### getExchange -```solidity -function getExchange( - contract IERC20 token -) external returns (address exchange) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docgen/docs/interfaces/IUniswapV2Pair.md b/docgen/docs/interfaces/IUniswapV2Pair.md deleted file mode 100644 index 0e563293..00000000 --- a/docgen/docs/interfaces/IUniswapV2Pair.md +++ /dev/null @@ -1,16 +0,0 @@ -# IUniswapV2Pair - - - - - -## Functions -### getReserves -```solidity -function getReserves( -) external returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) -``` - - - - diff --git a/docgen/docs/interfaces/IUniswapV3Pool.md b/docgen/docs/interfaces/IUniswapV3Pool.md deleted file mode 100644 index 55daaca7..00000000 --- a/docgen/docs/interfaces/IUniswapV3Pool.md +++ /dev/null @@ -1,34 +0,0 @@ -# IUniswapV3Pool - - - - - -## Functions -### slot0 -```solidity -function slot0( -) external returns (uint160 sqrtPriceX96, int24, uint16, uint16, uint16, uint8, bool) -``` - - - - -### token0 -```solidity -function token0( -) external returns (contract IERC20 token) -``` - - - - -### liquidity -```solidity -function liquidity( -) external returns (uint128) -``` - - - - diff --git a/docgen/docs/interfaces/IWrapper.md b/docgen/docs/interfaces/IWrapper.md deleted file mode 100644 index 05b3b4a2..00000000 --- a/docgen/docs/interfaces/IWrapper.md +++ /dev/null @@ -1,21 +0,0 @@ -# IWrapper - - - - - -## Functions -### wrap -```solidity -function wrap( - contract IERC20 token -) external returns (contract IERC20 wrappedToken, uint256 rate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docgen/docs/interfaces/IYVault.md b/docgen/docs/interfaces/IYVault.md deleted file mode 100644 index f2e77db1..00000000 --- a/docgen/docs/interfaces/IYVault.md +++ /dev/null @@ -1,34 +0,0 @@ -# IYVault - - - - - -## Functions -### getPricePerFullShare -```solidity -function getPricePerFullShare( -) external returns (uint256 price) -``` - - - - -### pricePerShare -```solidity -function pricePerShare( -) external returns (uint256 price) -``` - - - - -### token -```solidity -function token( -) external returns (contract IERC20) -``` - - - - diff --git a/docgen/docs/interfaces/README.md b/docgen/docs/interfaces/README.md deleted file mode 100644 index abd20f46..00000000 --- a/docgen/docs/interfaces/README.md +++ /dev/null @@ -1 +0,0 @@ -# interfaces diff --git a/docgen/docs/libraries/README.md b/docgen/docs/libraries/README.md deleted file mode 100644 index 19a90377..00000000 --- a/docgen/docs/libraries/README.md +++ /dev/null @@ -1 +0,0 @@ -# libraries diff --git a/docgen/docs/libraries/Sqrt.md b/docgen/docs/libraries/Sqrt.md deleted file mode 100644 index 00de65e5..00000000 --- a/docgen/docs/libraries/Sqrt.md +++ /dev/null @@ -1,21 +0,0 @@ -# Sqrt - - - - - -## Functions -### sqrt -```solidity -function sqrt( - uint256 y -) internal returns (uint256 z) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`y` | uint256 | - - diff --git a/docgen/docs/oracles/ChainlinkOracle.md b/docgen/docs/oracles/ChainlinkOracle.md deleted file mode 100644 index b2788e19..00000000 --- a/docgen/docs/oracles/ChainlinkOracle.md +++ /dev/null @@ -1,39 +0,0 @@ -# ChainlinkOracle - - - - - -## Functions -### constructor -```solidity -function constructor( - contract IChainlink _chainlink -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_chainlink` | contract IChainlink | - - -### getRate -```solidity -function getRate( - contract IERC20 srcToken, - contract IERC20 dstToken, - contract IERC20 connector -) external returns (uint256 rate, uint256 weight) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | -|`connector` | contract IERC20 | - - diff --git a/docgen/docs/oracles/KyberDmmOracle.md b/docgen/docs/oracles/KyberDmmOracle.md deleted file mode 100644 index 105b184a..00000000 --- a/docgen/docs/oracles/KyberDmmOracle.md +++ /dev/null @@ -1,39 +0,0 @@ -# KyberDmmOracle - - - - - -## Functions -### constructor -```solidity -function constructor( - contract IKyberDmmFactory _factory -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_factory` | contract IKyberDmmFactory | - - -### getRate -```solidity -function getRate( - contract IERC20 srcToken, - contract IERC20 dstToken, - contract IERC20 connector -) external returns (uint256 rate, uint256 weight) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | -|`connector` | contract IERC20 | - - diff --git a/docgen/docs/oracles/MooniswapOracle.md b/docgen/docs/oracles/MooniswapOracle.md deleted file mode 100644 index 32690b02..00000000 --- a/docgen/docs/oracles/MooniswapOracle.md +++ /dev/null @@ -1,37 +0,0 @@ -# MooniswapOracle - - - - - -## Functions -### constructor -```solidity -function constructor( - contract IMooniswapFactory _factory -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_factory` | contract IMooniswapFactory | - - -### _getBalances -```solidity -function _getBalances( - contract IERC20 srcToken, - contract IERC20 dstToken -) internal returns (uint256, uint256) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | - - diff --git a/docgen/docs/oracles/OracleBase.md b/docgen/docs/oracles/OracleBase.md deleted file mode 100644 index cdad238d..00000000 --- a/docgen/docs/oracles/OracleBase.md +++ /dev/null @@ -1,41 +0,0 @@ -# OracleBase - - - - - -## Functions -### getRate -```solidity -function getRate( - contract IERC20 srcToken, - contract IERC20 dstToken, - contract IERC20 connector -) external returns (uint256 rate, uint256 weight) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | -|`connector` | contract IERC20 | - - -### _getBalances -```solidity -function _getBalances( - contract IERC20 srcToken, - contract IERC20 dstToken -) internal returns (uint256 srcBalance, uint256 dstBalance) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | - - diff --git a/docgen/docs/oracles/README.md b/docgen/docs/oracles/README.md deleted file mode 100644 index f10a5625..00000000 --- a/docgen/docs/oracles/README.md +++ /dev/null @@ -1 +0,0 @@ -# oracles diff --git a/docgen/docs/oracles/SynthetixOracle.md b/docgen/docs/oracles/SynthetixOracle.md deleted file mode 100644 index fea71ece..00000000 --- a/docgen/docs/oracles/SynthetixOracle.md +++ /dev/null @@ -1,39 +0,0 @@ -# SynthetixOracle - - - - - -## Functions -### constructor -```solidity -function constructor( - contract ISynthetixProxy _proxy -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_proxy` | contract ISynthetixProxy | - - -### getRate -```solidity -function getRate( - contract IERC20 srcToken, - contract IERC20 dstToken, - contract IERC20 connector -) external returns (uint256 rate, uint256 weight) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | -|`connector` | contract IERC20 | - - diff --git a/docgen/docs/oracles/UniswapOracle.md b/docgen/docs/oracles/UniswapOracle.md deleted file mode 100644 index b7c616fa..00000000 --- a/docgen/docs/oracles/UniswapOracle.md +++ /dev/null @@ -1,37 +0,0 @@ -# UniswapOracle - - - - - -## Functions -### constructor -```solidity -function constructor( - contract IUniswapFactory factory -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`factory` | contract IUniswapFactory | - - -### _getBalances -```solidity -function _getBalances( - contract IERC20 srcToken, - contract IERC20 dstToken -) internal returns (uint256 srcBalance, uint256 dstBalance) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | - - diff --git a/docgen/docs/oracles/UniswapV2LikeOracle.md b/docgen/docs/oracles/UniswapV2LikeOracle.md deleted file mode 100644 index 0550e08d..00000000 --- a/docgen/docs/oracles/UniswapV2LikeOracle.md +++ /dev/null @@ -1,39 +0,0 @@ -# UniswapV2LikeOracle - - - - - -## Functions -### constructor -```solidity -function constructor( - address _factory, - bytes32 _initcodeHash -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_factory` | address | -|`_initcodeHash` | bytes32 | - - -### _getBalances -```solidity -function _getBalances( - contract IERC20 srcToken, - contract IERC20 dstToken -) internal returns (uint256 srcBalance, uint256 dstBalance) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | - - diff --git a/docgen/docs/oracles/UniswapV3Oracle.md b/docgen/docs/oracles/UniswapV3Oracle.md deleted file mode 100644 index 6934bac8..00000000 --- a/docgen/docs/oracles/UniswapV3Oracle.md +++ /dev/null @@ -1,57 +0,0 @@ -# UniswapV3Oracle - - - - - -## Functions -### constructor -```solidity -function constructor( - bytes32 _poolInitCodeHash -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`_poolInitCodeHash` | bytes32 | - - -### getRate -```solidity -function getRate( - contract IERC20 srcToken, - contract IERC20 dstToken, - contract IERC20 connector -) external returns (uint256 rate, uint256 weight) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | -|`connector` | contract IERC20 | - - -### _getRate -```solidity -function _getRate( - contract IERC20 srcToken, - contract IERC20 dstToken, - uint24 fee -) internal returns (uint256 rate, uint256 srcBalance, uint256 dstBalance) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`srcToken` | contract IERC20 | -|`dstToken` | contract IERC20 | -|`fee` | uint24 | - - diff --git a/docgen/docs/wrappers/AaveWrapperV1.md b/docgen/docs/wrappers/AaveWrapperV1.md deleted file mode 100644 index 4a0a3447..00000000 --- a/docgen/docs/wrappers/AaveWrapperV1.md +++ /dev/null @@ -1,49 +0,0 @@ -# AaveWrapperV1 - - - - - -## Functions -### addMarkets -```solidity -function addMarkets( - contract IERC20[] tokens -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`tokens` | contract IERC20[] | - - -### removeMarkets -```solidity -function removeMarkets( - contract IERC20[] tokens -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`tokens` | contract IERC20[] | - - -### wrap -```solidity -function wrap( - contract IERC20 token -) external returns (contract IERC20 wrappedToken, uint256 rate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docgen/docs/wrappers/AaveWrapperV2.md b/docgen/docs/wrappers/AaveWrapperV2.md deleted file mode 100644 index 30aa20a1..00000000 --- a/docgen/docs/wrappers/AaveWrapperV2.md +++ /dev/null @@ -1,63 +0,0 @@ -# AaveWrapperV2 - - - - - -## Functions -### constructor -```solidity -function constructor( - contract ILendingPoolV2 lendingPool -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`lendingPool` | contract ILendingPoolV2 | - - -### addMarkets -```solidity -function addMarkets( - contract IERC20[] tokens -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`tokens` | contract IERC20[] | - - -### removeMarkets -```solidity -function removeMarkets( - contract IERC20[] tokens -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`tokens` | contract IERC20[] | - - -### wrap -```solidity -function wrap( - contract IERC20 token -) external returns (contract IERC20 wrappedToken, uint256 rate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docgen/docs/wrappers/BaseCoinWrapper.md b/docgen/docs/wrappers/BaseCoinWrapper.md deleted file mode 100644 index 57708fd2..00000000 --- a/docgen/docs/wrappers/BaseCoinWrapper.md +++ /dev/null @@ -1,35 +0,0 @@ -# BaseCoinWrapper - - - - - -## Functions -### constructor -```solidity -function constructor( - contract IERC20 wBase -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`wBase` | contract IERC20 | - - -### wrap -```solidity -function wrap( - contract IERC20 token -) external returns (contract IERC20 wrappedToken, uint256 rate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docgen/docs/wrappers/CompoundLikeWrapper.md b/docgen/docs/wrappers/CompoundLikeWrapper.md deleted file mode 100644 index 18dc32cb..00000000 --- a/docgen/docs/wrappers/CompoundLikeWrapper.md +++ /dev/null @@ -1,65 +0,0 @@ -# CompoundLikeWrapper - - - - - -## Functions -### constructor -```solidity -function constructor( - contract IComptroller comptroller, - contract IERC20 cBase -) public -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`comptroller` | contract IComptroller | -|`cBase` | contract IERC20 | - - -### addMarkets -```solidity -function addMarkets( - contract ICToken[] markets -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`markets` | contract ICToken[] | - - -### removeMarkets -```solidity -function removeMarkets( - contract ICToken[] markets -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`markets` | contract ICToken[] | - - -### wrap -```solidity -function wrap( - contract IERC20 token -) external returns (contract IERC20 wrappedToken, uint256 rate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docgen/docs/wrappers/FulcrumWrapper.md b/docgen/docs/wrappers/FulcrumWrapper.md deleted file mode 100644 index 6750cc90..00000000 --- a/docgen/docs/wrappers/FulcrumWrapper.md +++ /dev/null @@ -1,49 +0,0 @@ -# FulcrumWrapper - - - - - -## Functions -### addMarkets -```solidity -function addMarkets( - contract IERC20[] markets -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`markets` | contract IERC20[] | - - -### removeMarkets -```solidity -function removeMarkets( - contract IERC20[] markets -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`markets` | contract IERC20[] | - - -### wrap -```solidity -function wrap( - contract IERC20 token -) external returns (contract IERC20 wrappedToken, uint256 rate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docgen/docs/wrappers/FulcrumWrapperLegacy.md b/docgen/docs/wrappers/FulcrumWrapperLegacy.md deleted file mode 100644 index 351f6969..00000000 --- a/docgen/docs/wrappers/FulcrumWrapperLegacy.md +++ /dev/null @@ -1,49 +0,0 @@ -# FulcrumWrapperLegacy - - - - - -## Functions -### addMarkets -```solidity -function addMarkets( - contract ILoanToken[] markets -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`markets` | contract ILoanToken[] | - - -### removeMarkets -```solidity -function removeMarkets( - contract ILoanToken[] markets -) external -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`markets` | contract ILoanToken[] | - - -### wrap -```solidity -function wrap( - contract IERC20 token -) external returns (contract IERC20 wrappedToken, uint256 rate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docgen/docs/wrappers/README.md b/docgen/docs/wrappers/README.md deleted file mode 100644 index bbfdfd17..00000000 --- a/docgen/docs/wrappers/README.md +++ /dev/null @@ -1 +0,0 @@ -# wrappers diff --git a/docgen/docs/wrappers/YVaultWrapper.md b/docgen/docs/wrappers/YVaultWrapper.md deleted file mode 100644 index 60bfe656..00000000 --- a/docgen/docs/wrappers/YVaultWrapper.md +++ /dev/null @@ -1,21 +0,0 @@ -# YVaultWrapper - - - - - -## Functions -### wrap -```solidity -function wrap( - contract IERC20 token -) external returns (contract IERC20 wrappedToken, uint256 rate) -``` - - -#### Parameters: -| Name | Type | Description | -| :--- | :--- | :------------------------------------------------------------------- | -|`token` | contract IERC20 | - - diff --git a/docs/GasEstimator.md b/docs/GasEstimator.md new file mode 100644 index 00000000..6eff098c --- /dev/null +++ b/docs/GasEstimator.md @@ -0,0 +1,20 @@ + +## GasEstimator + +### Functions list +- [gasLimit() external](#gaslimit) +- [gasCost(target, data) external](#gascost) + +### Functions +### gasLimit + +```solidity +function gasLimit() external view returns (uint256) +``` + +### gasCost + +```solidity +function gasCost(address target, bytes data) external view returns (uint256 gasUsed, bool success) +``` + diff --git a/docs/MultiWrapper.md b/docs/MultiWrapper.md new file mode 100644 index 00000000..7a85d708 --- /dev/null +++ b/docs/MultiWrapper.md @@ -0,0 +1,126 @@ + +## MultiWrapper + +Сontract allows for the management of multiple `IWrapper` contracts that can be used to wrap tokens in OffchainOracle's calculations. +Wrappers are contracts that enable the conversion of tokens from one protocol to another. +The contract provides functions to add and remove wrappers, as well as get information about the wrapped tokens and their conversion rates. + +### Functions list +- [constructor(existingWrappers, owner_) public](#constructor) +- [wrappers() external](#wrappers) +- [addWrapper(wrapper) external](#addwrapper) +- [removeWrapper(wrapper) external](#removewrapper) +- [getWrappedTokens(token) external](#getwrappedtokens) + +### Events list +- [WrapperAdded(connector) ](#wrapperadded) +- [WrapperRemoved(connector) ](#wrapperremoved) + +### Errors list +- [WrapperAlreadyAdded() ](#wrapperalreadyadded) +- [UnknownWrapper() ](#unknownwrapper) + +### Functions +### constructor + +```solidity +constructor(contract IWrapper[] existingWrappers, address owner_) public +``` +Adds the provided wrappers to the contract. + +_Initializes the MultiWrapper with an array of existing `IWrapper` contracts._ + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| existingWrappers | contract IWrapper[] | Initial wrappers to be added. | +| owner_ | address | | + +### wrappers + +```solidity +function wrappers() external view returns (contract IWrapper[] allWrappers) +``` +Returns all wrappers currently added to the contract. + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +allWrappers | contract IWrapper[] | Array of wrapper contracts. | + +### addWrapper + +```solidity +function addWrapper(contract IWrapper wrapper) external +``` +Adds a distinct wrapper contract that cannot be duplicated. Only the owner can add a wrapper. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| wrapper | contract IWrapper | The address of the wrapper to be added. | + +### removeWrapper + +```solidity +function removeWrapper(contract IWrapper wrapper) external +``` +Removes a specified wrapper contract. Only the owner can remove a wrapper. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| wrapper | contract IWrapper | The address of the wrapper to be removed. | + +### getWrappedTokens + +```solidity +function getWrappedTokens(contract IERC20 token) external view returns (contract IERC20[] wrappedTokens, uint256[] rates) +``` +Retrieves the wrapped tokens and their conversion rates for a given token. + +_Iterates over the wrappers to determine the wrapped tokens and their conversion rates._ + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| token | contract IERC20 | The token for which to retrieve the wrapped tokens and conversion rates. | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +wrappedTokens | contract IERC20[] | Tokens obtainable by wrapping the input token, including the input token and a rate of 1e18 for it. | +rates | uint256[] | Conversion rates for the wrapped tokens. | + +### Events +### WrapperAdded + +```solidity +event WrapperAdded(contract IWrapper connector) +``` + +### WrapperRemoved + +```solidity +event WrapperRemoved(contract IWrapper connector) +``` + +### Errors +### WrapperAlreadyAdded + +```solidity +error WrapperAlreadyAdded() +``` + +### UnknownWrapper + +```solidity +error UnknownWrapper() +``` + diff --git a/docs/OffchainOracle.md b/docs/OffchainOracle.md new file mode 100644 index 00000000..da3595cf --- /dev/null +++ b/docs/OffchainOracle.md @@ -0,0 +1,405 @@ + +## OffchainOracle + +### Types list +- [OracleType](#oracletype) +- [GetRateImplParams](#getrateimplparams) + +### Functions list +- [constructor(_multiWrapper, existingOracles, oracleTypes, existingConnectors, wBase, owner_) public](#constructor) +- [oracles() public](#oracles) +- [connectors() external](#connectors) +- [setMultiWrapper(_multiWrapper) external](#setmultiwrapper) +- [addOracle(oracle, oracleKind) external](#addoracle) +- [removeOracle(oracle, oracleKind) external](#removeoracle) +- [addConnector(connector) external](#addconnector) +- [removeConnector(connector) external](#removeconnector) +- [getRate(srcToken, dstToken, useWrappers) external](#getrate) +- [getRateWithThreshold(srcToken, dstToken, useWrappers, thresholdFilter) external](#getratewiththreshold) +- [getRateWithCustomConnectors(srcToken, dstToken, useWrappers, customConnectors, thresholdFilter) public](#getratewithcustomconnectors) +- [getRatesAndWeightsWithCustomConnectors(srcToken, dstToken, useWrappers, customConnectors, thresholdFilter) public](#getratesandweightswithcustomconnectors) +- [getRateToEth(srcToken, useSrcWrappers) external](#getratetoeth) +- [getRateToEthWithThreshold(srcToken, useSrcWrappers, thresholdFilter) external](#getratetoethwiththreshold) +- [getRateToEthWithCustomConnectors(srcToken, useSrcWrappers, customConnectors, thresholdFilter) public](#getratetoethwithcustomconnectors) +- [getRatesAndWeightsToEthWithCustomConnectors(srcToken, useSrcWrappers, customConnectors, thresholdFilter) public](#getratesandweightstoethwithcustomconnectors) +- [_getWrappedTokens(token, useWrappers) internal](#_getwrappedtokens) +- [_getAllConnectors(customConnectors) internal](#_getallconnectors) + +### Events list +- [OracleAdded(oracle, oracleType) ](#oracleadded) +- [OracleRemoved(oracle, oracleType) ](#oracleremoved) +- [ConnectorAdded(connector) ](#connectoradded) +- [ConnectorRemoved(connector) ](#connectorremoved) +- [MultiWrapperUpdated(multiWrapper) ](#multiwrapperupdated) + +### Errors list +- [ArraysLengthMismatch() ](#arrayslengthmismatch) +- [OracleAlreadyAdded() ](#oraclealreadyadded) +- [ConnectorAlreadyAdded() ](#connectoralreadyadded) +- [InvalidOracleTokenKind() ](#invalidoracletokenkind) +- [UnknownOracle() ](#unknownoracle) +- [UnknownConnector() ](#unknownconnector) +- [SameTokens() ](#sametokens) +- [TooBigThreshold() ](#toobigthreshold) + +### Types +### OracleType + +```solidity +enum OracleType { + WETH, + ETH, + WETH_ETH +} +``` +### GetRateImplParams + +```solidity +struct GetRateImplParams { + contract IOracle oracle; + contract IERC20 srcToken; + uint256 srcTokenRate; + contract IERC20 dstToken; + uint256 dstTokenRate; + contract IERC20 connector; + uint256 thresholdFilter; +} +``` + +### Functions +### constructor + +```solidity +constructor(contract MultiWrapper _multiWrapper, contract IOracle[] existingOracles, enum OffchainOracle.OracleType[] oracleTypes, contract IERC20[] existingConnectors, contract IERC20 wBase, address owner_) public +``` + +### oracles + +```solidity +function oracles() public view returns (contract IOracle[] allOracles, enum OffchainOracle.OracleType[] oracleTypes) +``` +Returns all registered oracles along with their corresponding oracle types. + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +allOracles | contract IOracle[] | An array of all registered oracles | +oracleTypes | enum OffchainOracle.OracleType[] | An array of the corresponding types for each oracle | + +### connectors + +```solidity +function connectors() external view returns (contract IERC20[] allConnectors) +``` +Returns an array of all registered connectors. + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +allConnectors | contract IERC20[] | An array of all registered connectors | + +### setMultiWrapper + +```solidity +function setMultiWrapper(contract MultiWrapper _multiWrapper) external +``` +Sets the MultiWrapper contract address. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| _multiWrapper | contract MultiWrapper | The address of the MultiWrapper contract | + +### addOracle + +```solidity +function addOracle(contract IOracle oracle, enum OffchainOracle.OracleType oracleKind) external +``` +Adds a new oracle to the registry with the given oracle type. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| oracle | contract IOracle | The address of the new oracle to add | +| oracleKind | enum OffchainOracle.OracleType | The type of the new oracle | + +### removeOracle + +```solidity +function removeOracle(contract IOracle oracle, enum OffchainOracle.OracleType oracleKind) external +``` +Removes an oracle from the registry with the given oracle type. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| oracle | contract IOracle | The address of the oracle to remove | +| oracleKind | enum OffchainOracle.OracleType | The type of the oracle to remove | + +### addConnector + +```solidity +function addConnector(contract IERC20 connector) external +``` +Adds a new connector to the registry. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| connector | contract IERC20 | The address of the new connector to add | + +### removeConnector + +```solidity +function removeConnector(contract IERC20 connector) external +``` +Removes a connector from the registry. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| connector | contract IERC20 | The address of the connector to remove | + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, bool useWrappers) external view returns (uint256 weightedRate) +``` +WARNING! + Usage of the dex oracle on chain is highly discouraged! + getRate function can be easily manipulated inside transaction! +Returns the weighted rate between two tokens using default connectors, with the option to filter out rates below a certain threshold. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| srcToken | contract IERC20 | The source token | +| dstToken | contract IERC20 | The destination token | +| useWrappers | bool | Boolean flag to use or not use token wrappers | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +weightedRate | uint256 | weighted rate between the two tokens | + +### getRateWithThreshold + +```solidity +function getRateWithThreshold(contract IERC20 srcToken, contract IERC20 dstToken, bool useWrappers, uint256 thresholdFilter) external view returns (uint256 weightedRate) +``` +WARNING! + Usage of the dex oracle on chain is highly discouraged! + getRate function can be easily manipulated inside transaction! +Returns the weighted rate between two tokens using default connectors, with the option to filter out rates below a certain threshold. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| srcToken | contract IERC20 | The source token | +| dstToken | contract IERC20 | The destination token | +| useWrappers | bool | Boolean flag to use or not use token wrappers | +| thresholdFilter | uint256 | The threshold percentage (from 0 to 100) used to filter out rates below the threshold | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +weightedRate | uint256 | weighted rate between the two tokens | + +### getRateWithCustomConnectors + +```solidity +function getRateWithCustomConnectors(contract IERC20 srcToken, contract IERC20 dstToken, bool useWrappers, contract IERC20[] customConnectors, uint256 thresholdFilter) public view returns (uint256 weightedRate) +``` +WARNING! + Usage of the dex oracle on chain is highly discouraged! + getRate function can be easily manipulated inside transaction! +Returns the weighted rate between two tokens using custom connectors, with the option to filter out rates below a certain threshold. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| srcToken | contract IERC20 | The source token | +| dstToken | contract IERC20 | The destination token | +| useWrappers | bool | Boolean flag to use or not use token wrappers | +| customConnectors | contract IERC20[] | An array of custom connectors to use | +| thresholdFilter | uint256 | The threshold percentage (from 0 to 100) used to filter out rates below the threshold | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +weightedRate | uint256 | The weighted rate between the two tokens | + +### getRatesAndWeightsWithCustomConnectors + +```solidity +function getRatesAndWeightsWithCustomConnectors(contract IERC20 srcToken, contract IERC20 dstToken, bool useWrappers, contract IERC20[] customConnectors, uint256 thresholdFilter) public view returns (uint256 wrappedPrice, struct OraclePrices.Data ratesAndWeights) +``` +WARNING! + Usage of the dex oracle on chain is highly discouraged! + getRate function can be easily manipulated inside transaction! +Returns the wrapped price and list of rates by oracles between two tokens using custom connectors, with the option to filter out rates below a certain threshold. + If the wrapped price is not 0, it means that there is a wrapper with a rate that does not depend on liquidity volume, + so the list of rates from oracles doesn't matter and can be non-full. + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| srcToken | contract IERC20 | The source token | +| dstToken | contract IERC20 | The destination token | +| useWrappers | bool | Boolean flag to use or not use token wrappers | +| customConnectors | contract IERC20[] | An array of custom connectors to use | +| thresholdFilter | uint256 | The threshold percentage (from 0 to 100) used to filter out rates below the threshold | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +wrappedPrice | uint256 | The wrapped rate | +ratesAndWeights | struct OraclePrices.Data | {OraclePrices.Data} object containing the rates and weights from different oracles if wrappedPrice is 0 | + +### getRateToEth + +```solidity +function getRateToEth(contract IERC20 srcToken, bool useSrcWrappers) external view returns (uint256 weightedRate) +``` +WARNING! + Usage of the dex oracle on chain is highly discouraged! + getRate function can be easily manipulated inside transaction! +The same as `getRate` but checks against `ETH` and `WETH` only + +### getRateToEthWithThreshold + +```solidity +function getRateToEthWithThreshold(contract IERC20 srcToken, bool useSrcWrappers, uint256 thresholdFilter) external view returns (uint256 weightedRate) +``` +WARNING! + Usage of the dex oracle on chain is highly discouraged! + getRate function can be easily manipulated inside transaction! +The same as `getRate` but checks against `ETH` and `WETH` only + +### getRateToEthWithCustomConnectors + +```solidity +function getRateToEthWithCustomConnectors(contract IERC20 srcToken, bool useSrcWrappers, contract IERC20[] customConnectors, uint256 thresholdFilter) public view returns (uint256 weightedRate) +``` +WARNING! + Usage of the dex oracle on chain is highly discouraged! + getRate function can be easily manipulated inside transaction! +The same as `getRateWithCustomConnectors` but checks against `ETH` and `WETH` only + +### getRatesAndWeightsToEthWithCustomConnectors + +```solidity +function getRatesAndWeightsToEthWithCustomConnectors(contract IERC20 srcToken, bool useSrcWrappers, contract IERC20[] customConnectors, uint256 thresholdFilter) public view returns (uint256 wrappedPrice, struct OraclePrices.Data ratesAndWeights) +``` +WARNING! + Usage of the dex oracle on chain is highly discouraged! + getRate function can be easily manipulated inside transaction! +The same as `getRatesAndWeightsWithCustomConnectors` but checks against `ETH` and `WETH` only + +### _getWrappedTokens + +```solidity +function _getWrappedTokens(contract IERC20 token, bool useWrappers) internal view returns (contract IERC20[] wrappedTokens, uint256[] rates) +``` + +### _getAllConnectors + +```solidity +function _getAllConnectors(contract IERC20[] customConnectors) internal view returns (contract IERC20[][2] allConnectors) +``` + +### Events +### OracleAdded + +```solidity +event OracleAdded(contract IOracle oracle, enum OffchainOracle.OracleType oracleType) +``` + +### OracleRemoved + +```solidity +event OracleRemoved(contract IOracle oracle, enum OffchainOracle.OracleType oracleType) +``` + +### ConnectorAdded + +```solidity +event ConnectorAdded(contract IERC20 connector) +``` + +### ConnectorRemoved + +```solidity +event ConnectorRemoved(contract IERC20 connector) +``` + +### MultiWrapperUpdated + +```solidity +event MultiWrapperUpdated(contract MultiWrapper multiWrapper) +``` + +### Errors +### ArraysLengthMismatch + +```solidity +error ArraysLengthMismatch() +``` + +### OracleAlreadyAdded + +```solidity +error OracleAlreadyAdded() +``` + +### ConnectorAlreadyAdded + +```solidity +error ConnectorAlreadyAdded() +``` + +### InvalidOracleTokenKind + +```solidity +error InvalidOracleTokenKind() +``` + +### UnknownOracle + +```solidity +error UnknownOracle() +``` + +### UnknownConnector + +```solidity +error UnknownConnector() +``` + +### SameTokens + +```solidity +error SameTokens() +``` + +### TooBigThreshold + +```solidity +error TooBigThreshold() +``` + diff --git a/docs/helpers/Blacklist.md b/docs/helpers/Blacklist.md new file mode 100644 index 00000000..6daa4fc5 --- /dev/null +++ b/docs/helpers/Blacklist.md @@ -0,0 +1,32 @@ + +## Blacklist + +Contract is used to blacklist specific pools in the oracle. + +### Functions list +- [constructor(initialBlacklist, owner) public](#constructor) +- [toggleBlacklistAddress(pool) external](#toggleblacklistaddress) + +### Events list +- [BlacklistUpdated(pool, isBlacklisted) ](#blacklistupdated) + +### Functions +### constructor + +```solidity +constructor(address[] initialBlacklist, address owner) public +``` + +### toggleBlacklistAddress + +```solidity +function toggleBlacklistAddress(address pool) external +``` + +### Events +### BlacklistUpdated + +```solidity +event BlacklistUpdated(address pool, bool isBlacklisted) +``` + diff --git a/docs/helpers/ConnectorManager.md b/docs/helpers/ConnectorManager.md new file mode 100644 index 00000000..b25365c0 --- /dev/null +++ b/docs/helpers/ConnectorManager.md @@ -0,0 +1,32 @@ + +## ConnectorManager + +Contract is used to support only specific connectors in the oracle. + +### Functions list +- [constructor(connectors, owner) public](#constructor) +- [toggleConnectorSupport(connector) external](#toggleconnectorsupport) + +### Events list +- [ConnectorUpdated(connector, isSupported) ](#connectorupdated) + +### Functions +### constructor + +```solidity +constructor(address[] connectors, address owner) public +``` + +### toggleConnectorSupport + +```solidity +function toggleConnectorSupport(address connector) external +``` + +### Events +### ConnectorUpdated + +```solidity +event ConnectorUpdated(address connector, bool isSupported) +``` + diff --git a/docs/interfaces/IAlgebraPool.md b/docs/interfaces/IAlgebraPool.md new file mode 100644 index 00000000..5680dbc4 --- /dev/null +++ b/docs/interfaces/IAlgebraPool.md @@ -0,0 +1,13 @@ + +## IAlgebraPool + +### Functions list +- [globalState() external](#globalstate) + +### Functions +### globalState + +```solidity +function globalState() external view returns (uint160 sqrtPriceX96, int24 tick) +``` + diff --git a/docs/interfaces/IBzxProtocol.md b/docs/interfaces/IBzxProtocol.md new file mode 100644 index 00000000..4c9b6b07 --- /dev/null +++ b/docs/interfaces/IBzxProtocol.md @@ -0,0 +1,13 @@ + +## IBzxProtocol + +### Functions list +- [underlyingToLoanPool(underlying) external](#underlyingtoloanpool) + +### Functions +### underlyingToLoanPool + +```solidity +function underlyingToLoanPool(address underlying) external view returns (address loanPool) +``` + diff --git a/docs/interfaces/ICToken.md b/docs/interfaces/ICToken.md new file mode 100644 index 00000000..532c9377 --- /dev/null +++ b/docs/interfaces/ICToken.md @@ -0,0 +1,20 @@ + +## ICToken + +### Functions list +- [underlying() external](#underlying) +- [exchangeRateStored() external](#exchangeratestored) + +### Functions +### underlying + +```solidity +function underlying() external view returns (contract IERC20 token) +``` + +### exchangeRateStored + +```solidity +function exchangeRateStored() external view returns (uint256 exchangeRate) +``` + diff --git a/docs/interfaces/IChai.md b/docs/interfaces/IChai.md new file mode 100644 index 00000000..90216b4f --- /dev/null +++ b/docs/interfaces/IChai.md @@ -0,0 +1,39 @@ + +## IChai + +### Functions list +- [balanceOf() external](#balanceof) +- [join(, ) external](#join) +- [exit(, ) external](#exit) + +### Functions +### balanceOf + +```solidity +function balanceOf(address) external view returns (uint256) +``` + +### join + +```solidity +function join(address, uint256) external +``` + +### exit + +```solidity +function exit(address, uint256) external +``` + +## IChaiPot + +### Functions list +- [chi() external](#chi) + +### Functions +### chi + +```solidity +function chi() external view returns (uint256) +``` + diff --git a/docs/interfaces/IChainlink.md b/docs/interfaces/IChainlink.md new file mode 100644 index 00000000..d4d1658a --- /dev/null +++ b/docs/interfaces/IChainlink.md @@ -0,0 +1,40 @@ + +## IChainlink + +### Functions list +- [latestRoundData(base, quote) external](#latestrounddata) + +### Functions +### latestRoundData + +```solidity +function latestRoundData(contract IERC20 base, address quote) external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound) +``` +get data about the latest round. Consumers are encouraged to check +that they're receiving fresh data by inspecting the updatedAt and +answeredInRound return values. +Note that different underlying implementations of AggregatorV3Interface +have slightly different semantics for some of the return values. Consumers +should determine what implementations they expect to receive +data from and validate that they can properly handle return data from all +of them. + +_Note that answer and updatedAt may change between queries._ + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| base | contract IERC20 | base asset address | +| quote | address | quote asset address | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +roundId | uint80 | is the round ID from the aggregator for which the data was retrieved combined with a phase to ensure that round IDs get larger as time moves forward. | +answer | int256 | is the answer for the given round | +startedAt | uint256 | is the timestamp when the round was started. (Only some AggregatorV3Interface implementations return meaningful values) | +updatedAt | uint256 | is the timestamp when the round last was updated (i.e. answer was last computed) | +answeredInRound | uint80 | is the round ID of the round in which the answer was computed. (Only some AggregatorV3Interface implementations return meaningful values) | + diff --git a/docs/interfaces/IComet.md b/docs/interfaces/IComet.md new file mode 100644 index 00000000..a2575ca8 --- /dev/null +++ b/docs/interfaces/IComet.md @@ -0,0 +1,27 @@ + +## IComet + +### Functions list +- [baseToken() external](#basetoken) +- [supply(asset, amount) external](#supply) +- [withdraw(asset, amount) external](#withdraw) + +### Functions +### baseToken + +```solidity +function baseToken() external view returns (address) +``` + +### supply + +```solidity +function supply(address asset, uint256 amount) external +``` + +### withdraw + +```solidity +function withdraw(address asset, uint256 amount) external +``` + diff --git a/docs/interfaces/IComptroller.md b/docs/interfaces/IComptroller.md new file mode 100644 index 00000000..578459c9 --- /dev/null +++ b/docs/interfaces/IComptroller.md @@ -0,0 +1,20 @@ + +## IComptroller + +### Functions list +- [getAllMarkets() external](#getallmarkets) +- [markets(market) external](#markets) + +### Functions +### getAllMarkets + +```solidity +function getAllMarkets() external view returns (contract ICToken[]) +``` + +### markets + +```solidity +function markets(contract ICToken market) external view returns (bool isListed, uint256 collateralFactorMantissa, bool isComped) +``` + diff --git a/docs/interfaces/ICurveMetaregistry.md b/docs/interfaces/ICurveMetaregistry.md new file mode 100644 index 00000000..66184402 --- /dev/null +++ b/docs/interfaces/ICurveMetaregistry.md @@ -0,0 +1,27 @@ + +## ICurveMetaregistry + +### Functions list +- [find_pools_for_coins(srcToken, dstToken) external](#find_pools_for_coins) +- [get_coin_indices(_pool, _from, _to) external](#get_coin_indices) +- [get_underlying_balances(_pool) external](#get_underlying_balances) + +### Functions +### find_pools_for_coins + +```solidity +function find_pools_for_coins(address srcToken, address dstToken) external view returns (address[]) +``` + +### get_coin_indices + +```solidity +function get_coin_indices(address _pool, address _from, address _to) external view returns (int128, int128, bool) +``` + +### get_underlying_balances + +```solidity +function get_underlying_balances(address _pool) external view returns (uint256[8]) +``` + diff --git a/docs/interfaces/ICurvePool.md b/docs/interfaces/ICurvePool.md new file mode 100644 index 00000000..95f3dd81 --- /dev/null +++ b/docs/interfaces/ICurvePool.md @@ -0,0 +1,56 @@ + +## ICurvePool + +### Functions list +- [allowed_extra_profit() external](#allowed_extra_profit) +- [get_rate_mul() external](#get_rate_mul) + +### Functions +### allowed_extra_profit + +```solidity +function allowed_extra_profit() external view returns (uint256) +``` + +### get_rate_mul + +```solidity +function get_rate_mul() external view returns (uint256) +``` + +## IStableSwapMeta + +### Functions list +- [get_dy_underlying(, , ) external](#get_dy_underlying) + +### Functions +### get_dy_underlying + +```solidity +function get_dy_underlying(int128, int128, uint256) external view returns (uint256) +``` + +## IStableSwap + +### Functions list +- [get_dy(, , ) external](#get_dy) + +### Functions +### get_dy + +```solidity +function get_dy(int128, int128, uint256) external view returns (uint256) +``` + +## ICryptoSwap + +### Functions list +- [get_dy(, , ) external](#get_dy) + +### Functions +### get_dy + +```solidity +function get_dy(uint256, uint256, uint256) external view returns (uint256) +``` + diff --git a/docs/interfaces/ICurveProvider.md b/docs/interfaces/ICurveProvider.md new file mode 100644 index 00000000..b8f999a6 --- /dev/null +++ b/docs/interfaces/ICurveProvider.md @@ -0,0 +1,44 @@ + +## ICurveProvider + +### Functions list +- [get_address(_id) external](#get_address) + +### Functions +### get_address + +```solidity +function get_address(uint256 _id) external view returns (address) +``` + +## ICurveRateProvider + +### Types list +- [Quote](#quote) + +### Functions list +- [get_quotes(source_token, destination_token, amount_in) external](#get_quotes) + +### Types +### Quote + +```solidity +struct Quote { + uint256 source_token_index; + uint256 dest_token_index; + bool is_underlying; + uint256 amount_out; + address pool; + uint256 source_token_pool_balance; + uint256 dest_token_pool_balance; + uint8 pool_type; +} +``` + +### Functions +### get_quotes + +```solidity +function get_quotes(address source_token, address destination_token, uint256 amount_in) external view returns (struct ICurveRateProvider.Quote[] quote) +``` + diff --git a/docs/interfaces/IDodo.md b/docs/interfaces/IDodo.md new file mode 100644 index 00000000..3f361063 --- /dev/null +++ b/docs/interfaces/IDodo.md @@ -0,0 +1,53 @@ + +## IDodo + +### Functions list +- [_BASE_BALANCE_() external](#_base_balance_) +- [_QUOTE_BALANCE_() external](#_quote_balance_) +- [getMidPrice() external](#getmidprice) + +### Functions +### _BASE_BALANCE_ + +```solidity +function _BASE_BALANCE_() external view returns (uint256) +``` + +### _QUOTE_BALANCE_ + +```solidity +function _QUOTE_BALANCE_() external view returns (uint256) +``` + +### getMidPrice + +```solidity +function getMidPrice() external view returns (uint256 midPrice) +``` + +## IDVM + +### Functions list +- [_BASE_RESERVE_() external](#_base_reserve_) +- [_QUOTE_RESERVE_() external](#_quote_reserve_) +- [getMidPrice() external](#getmidprice) + +### Functions +### _BASE_RESERVE_ + +```solidity +function _BASE_RESERVE_() external view returns (uint256) +``` + +### _QUOTE_RESERVE_ + +```solidity +function _QUOTE_RESERVE_() external view returns (uint256) +``` + +### getMidPrice + +```solidity +function getMidPrice() external view returns (uint256 midPrice) +``` + diff --git a/docs/interfaces/IDodoFactories.md b/docs/interfaces/IDodoFactories.md new file mode 100644 index 00000000..db934c6a --- /dev/null +++ b/docs/interfaces/IDodoFactories.md @@ -0,0 +1,25 @@ + +## IDodoZoo + +### Functions list +- [getDODO(baseToken, quoteToken) external](#getdodo) + +### Functions +### getDODO + +```solidity +function getDODO(address baseToken, address quoteToken) external view returns (address) +``` + +## IDVMFactory + +### Functions list +- [getDODOPool(baseToken, quoteToken) external](#getdodopool) + +### Functions +### getDODOPool + +```solidity +function getDODOPool(address baseToken, address quoteToken) external view returns (address[] machines) +``` + diff --git a/docs/interfaces/IKyberDmmFactory.md b/docs/interfaces/IKyberDmmFactory.md new file mode 100644 index 00000000..2eb0c786 --- /dev/null +++ b/docs/interfaces/IKyberDmmFactory.md @@ -0,0 +1,13 @@ + +## IKyberDmmFactory + +### Functions list +- [getPools(token0, token1) external](#getpools) + +### Functions +### getPools + +```solidity +function getPools(contract IERC20 token0, contract IERC20 token1) external view returns (address[] _tokenPools) +``` + diff --git a/docs/interfaces/IKyberDmmPool.md b/docs/interfaces/IKyberDmmPool.md new file mode 100644 index 00000000..10e44600 --- /dev/null +++ b/docs/interfaces/IKyberDmmPool.md @@ -0,0 +1,13 @@ + +## IKyberDmmPool + +### Functions list +- [getTradeInfo() external](#gettradeinfo) + +### Functions +### getTradeInfo + +```solidity +function getTradeInfo() external view returns (uint112 reserve0, uint112 reserve1, uint112 _vReserve0, uint112 _vReserve1, uint256 feeInPrecision) +``` + diff --git a/docs/interfaces/ILendingPoolV1.md b/docs/interfaces/ILendingPoolV1.md new file mode 100644 index 00000000..2541b1f4 --- /dev/null +++ b/docs/interfaces/ILendingPoolV1.md @@ -0,0 +1,13 @@ + +## ILendingPoolV1 + +### Functions list +- [getReserveData(_reserve) external](#getreservedata) + +### Functions +### getReserveData + +```solidity +function getReserveData(address _reserve) external view returns (uint256 totalLiquidity, uint256 availableLiquidity, uint256 totalBorrowsStable, uint256 totalBorrowsVariable, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 utilizationRate, uint256 liquidityIndex, uint256 variableBorrowIndex, contract IERC20 aTokenAddress, uint40 lastUpdateTimestamp) +``` + diff --git a/docs/interfaces/ILendingPoolV2.md b/docs/interfaces/ILendingPoolV2.md new file mode 100644 index 00000000..2f5c4b68 --- /dev/null +++ b/docs/interfaces/ILendingPoolV2.md @@ -0,0 +1,44 @@ + +## ILendingPoolV2 + +### Types list +- [ReserveConfigurationMap](#reserveconfigurationmap) +- [ReserveData](#reservedata) + +### Functions list +- [getReserveData(asset) external](#getreservedata) + +### Types +### ReserveConfigurationMap + +```solidity +struct ReserveConfigurationMap { + uint256 data; +} +``` +### ReserveData + +```solidity +struct ReserveData { + struct ILendingPoolV2.ReserveConfigurationMap configuration; + uint128 liquidityIndex; + uint128 variableBorrowIndex; + uint128 currentLiquidityRate; + uint128 currentVariableBorrowRate; + uint128 currentStableBorrowRate; + uint40 lastUpdateTimestamp; + address aTokenAddress; + address stableDebtTokenAddress; + address variableDebtTokenAddress; + address interestRateStrategyAddress; + uint8 id; +} +``` + +### Functions +### getReserveData + +```solidity +function getReserveData(address asset) external view returns (struct ILendingPoolV2.ReserveData) +``` + diff --git a/docs/interfaces/ILendingPoolV3.md b/docs/interfaces/ILendingPoolV3.md new file mode 100644 index 00000000..19d27b5c --- /dev/null +++ b/docs/interfaces/ILendingPoolV3.md @@ -0,0 +1,33 @@ + +## ILendingPoolV3 + +### Types list +- [TokenData](#tokendata) + +### Functions list +- [getReserveTokensAddresses(asset) external](#getreservetokensaddresses) +- [getAllReservesTokens() external](#getallreservestokens) + +### Types +### TokenData + +```solidity +struct TokenData { + string symbol; + address tokenAddress; +} +``` + +### Functions +### getReserveTokensAddresses + +```solidity +function getReserveTokensAddresses(address asset) external view returns (address aTokenAddress, address stableDebtTokenAddress, address variableDebtTokenAddress) +``` + +### getAllReservesTokens + +```solidity +function getAllReservesTokens() external view returns (struct ILendingPoolV3.TokenData[]) +``` + diff --git a/docs/interfaces/ILoanToken.md b/docs/interfaces/ILoanToken.md new file mode 100644 index 00000000..1675095e --- /dev/null +++ b/docs/interfaces/ILoanToken.md @@ -0,0 +1,20 @@ + +## ILoanToken + +### Functions list +- [tokenPrice() external](#tokenprice) +- [loanTokenAddress() external](#loantokenaddress) + +### Functions +### tokenPrice + +```solidity +function tokenPrice() external view returns (uint256 price) +``` + +### loanTokenAddress + +```solidity +function loanTokenAddress() external view returns (address underlying) +``` + diff --git a/docs/interfaces/IMooniswap.md b/docs/interfaces/IMooniswap.md new file mode 100644 index 00000000..4b7ca53c --- /dev/null +++ b/docs/interfaces/IMooniswap.md @@ -0,0 +1,13 @@ + +## IMooniswap + +### Functions list +- [getTokens() external](#gettokens) + +### Functions +### getTokens + +```solidity +function getTokens() external view returns (contract IERC20[] tokens) +``` + diff --git a/docs/interfaces/IMooniswapFactory.md b/docs/interfaces/IMooniswapFactory.md new file mode 100644 index 00000000..f8297881 --- /dev/null +++ b/docs/interfaces/IMooniswapFactory.md @@ -0,0 +1,13 @@ + +## IMooniswapFactory + +### Functions list +- [pools(token0, token1) external](#pools) + +### Functions +### pools + +```solidity +function pools(contract IERC20 token0, contract IERC20 token1) external view returns (contract IMooniswap) +``` + diff --git a/docs/interfaces/IOracle.md b/docs/interfaces/IOracle.md new file mode 100644 index 00000000..0577222d --- /dev/null +++ b/docs/interfaces/IOracle.md @@ -0,0 +1,37 @@ + +## IOracle + +### Functions list +- [getRate(srcToken, dstToken, connector, thresholdFilter) external](#getrate) + +### Errors list +- [ConnectorShouldBeNone() ](#connectorshouldbenone) +- [PoolNotFound() ](#poolnotfound) +- [PoolWithConnectorNotFound() ](#poolwithconnectornotfound) + +### Functions +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256 thresholdFilter) external view returns (uint256 rate, uint256 weight) +``` + +### Errors +### ConnectorShouldBeNone + +```solidity +error ConnectorShouldBeNone() +``` + +### PoolNotFound + +```solidity +error PoolNotFound() +``` + +### PoolWithConnectorNotFound + +```solidity +error PoolWithConnectorNotFound() +``` + diff --git a/docs/interfaces/ISDai.md b/docs/interfaces/ISDai.md new file mode 100644 index 00000000..328d64bd --- /dev/null +++ b/docs/interfaces/ISDai.md @@ -0,0 +1,20 @@ + +## ISDai + +### Functions list +- [previewDeposit(assets) external](#previewdeposit) +- [previewRedeem(shares) external](#previewredeem) + +### Functions +### previewDeposit + +```solidity +function previewDeposit(uint256 assets) external view returns (uint256) +``` + +### previewRedeem + +```solidity +function previewRedeem(uint256 shares) external view returns (uint256) +``` + diff --git a/docs/interfaces/ISolidlyFactory.md b/docs/interfaces/ISolidlyFactory.md new file mode 100644 index 00000000..435f8cfa --- /dev/null +++ b/docs/interfaces/ISolidlyFactory.md @@ -0,0 +1,13 @@ + +## ISolidlyFactory + +### Functions list +- [getPair(tokenA, tokenB, stable) external](#getpair) + +### Functions +### getPair + +```solidity +function getPair(contract IERC20 tokenA, contract IERC20 tokenB, bool stable) external view returns (address pair) +``` + diff --git a/docs/interfaces/IStaticATokenLM.md b/docs/interfaces/IStaticATokenLM.md new file mode 100644 index 00000000..faa271d6 --- /dev/null +++ b/docs/interfaces/IStaticATokenLM.md @@ -0,0 +1,39 @@ + +## IStaticATokenLM + +### Functions list +- [aToken() external](#atoken) +- [rate() external](#rate) + +### Functions +### aToken + +```solidity +function aToken() external view returns (contract IERC20) +``` + +### rate + +```solidity +function rate() external view returns (uint256) +``` + +## IStaticATokenFactory + +### Functions list +- [getStaticAToken(underlying) external](#getstaticatoken) +- [getStaticATokens() external](#getstaticatokens) + +### Functions +### getStaticAToken + +```solidity +function getStaticAToken(address underlying) external view returns (address) +``` + +### getStaticATokens + +```solidity +function getStaticATokens() external view returns (address[]) +``` + diff --git a/docs/interfaces/ISynthetixAddressResolver.md b/docs/interfaces/ISynthetixAddressResolver.md new file mode 100644 index 00000000..56db5d17 --- /dev/null +++ b/docs/interfaces/ISynthetixAddressResolver.md @@ -0,0 +1,20 @@ + +## ISynthetixAddressResolver + +### Functions list +- [getSynth(key) external](#getsynth) +- [getAddress(key) external](#getaddress) + +### Functions +### getSynth + +```solidity +function getSynth(bytes32 key) external view returns (address) +``` + +### getAddress + +```solidity +function getAddress(bytes32 key) external view returns (address) +``` + diff --git a/docs/interfaces/ISynthetixExchangeRates.md b/docs/interfaces/ISynthetixExchangeRates.md new file mode 100644 index 00000000..ab41fd26 --- /dev/null +++ b/docs/interfaces/ISynthetixExchangeRates.md @@ -0,0 +1,13 @@ + +## ISynthetixExchangeRates + +### Functions list +- [rateAndInvalid(currencyKey) external](#rateandinvalid) + +### Functions +### rateAndInvalid + +```solidity +function rateAndInvalid(bytes32 currencyKey) external view returns (uint256 rate, bool isInvalid) +``` + diff --git a/docs/interfaces/ISynthetixProxy.md b/docs/interfaces/ISynthetixProxy.md new file mode 100644 index 00000000..de1a3796 --- /dev/null +++ b/docs/interfaces/ISynthetixProxy.md @@ -0,0 +1,13 @@ + +## ISynthetixProxy + +### Functions list +- [target() external](#target) + +### Functions +### target + +```solidity +function target() external view returns (address) +``` + diff --git a/docs/interfaces/IUniswapFactory.md b/docs/interfaces/IUniswapFactory.md new file mode 100644 index 00000000..f604a6cf --- /dev/null +++ b/docs/interfaces/IUniswapFactory.md @@ -0,0 +1,13 @@ + +## IUniswapFactory + +### Functions list +- [getExchange(token) external](#getexchange) + +### Functions +### getExchange + +```solidity +function getExchange(contract IERC20 token) external view returns (address exchange) +``` + diff --git a/docs/interfaces/IUniswapV2Pair.md b/docs/interfaces/IUniswapV2Pair.md new file mode 100644 index 00000000..98ea0e74 --- /dev/null +++ b/docs/interfaces/IUniswapV2Pair.md @@ -0,0 +1,13 @@ + +## IUniswapV2Pair + +### Functions list +- [getReserves() external](#getreserves) + +### Functions +### getReserves + +```solidity +function getReserves() external view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) +``` + diff --git a/docs/interfaces/IUniswapV3Pool.md b/docs/interfaces/IUniswapV3Pool.md new file mode 100644 index 00000000..28f6f0d7 --- /dev/null +++ b/docs/interfaces/IUniswapV3Pool.md @@ -0,0 +1,41 @@ + +## IUniswapV3Pool + +### Functions list +- [slot0() external](#slot0) +- [ticks(tick) external](#ticks) +- [tickSpacing() external](#tickspacing) +- [token0() external](#token0) +- [liquidity() external](#liquidity) + +### Functions +### slot0 + +```solidity +function slot0() external view returns (uint160 sqrtPriceX96, int24) +``` + +### ticks + +```solidity +function ticks(int24 tick) external view returns (uint128, int128) +``` + +### tickSpacing + +```solidity +function tickSpacing() external view returns (int24) +``` + +### token0 + +```solidity +function token0() external view returns (contract IERC20 token) +``` + +### liquidity + +```solidity +function liquidity() external view returns (uint128) +``` + diff --git a/docs/interfaces/IWrapper.md b/docs/interfaces/IWrapper.md new file mode 100644 index 00000000..d4a6bc48 --- /dev/null +++ b/docs/interfaces/IWrapper.md @@ -0,0 +1,37 @@ + +## IWrapper + +### Functions list +- [wrap(token) external](#wrap) + +### Errors list +- [NotSupportedToken() ](#notsupportedtoken) +- [NotAddedMarket() ](#notaddedmarket) +- [NotRemovedMarket() ](#notremovedmarket) + +### Functions +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + +### Errors +### NotSupportedToken + +```solidity +error NotSupportedToken() +``` + +### NotAddedMarket + +```solidity +error NotAddedMarket() +``` + +### NotRemovedMarket + +```solidity +error NotRemovedMarket() +``` + diff --git a/docs/interfaces/IWstETH.md b/docs/interfaces/IWstETH.md new file mode 100644 index 00000000..ce5d67e5 --- /dev/null +++ b/docs/interfaces/IWstETH.md @@ -0,0 +1,20 @@ + +## IWstETH + +### Functions list +- [tokensPerStEth() external](#tokenspersteth) +- [stEthPerToken() external](#stethpertoken) + +### Functions +### tokensPerStEth + +```solidity +function tokensPerStEth() external view returns (uint256) +``` + +### stEthPerToken + +```solidity +function stEthPerToken() external view returns (uint256) +``` + diff --git a/docs/interfaces/IYVault.md b/docs/interfaces/IYVault.md new file mode 100644 index 00000000..323784f2 --- /dev/null +++ b/docs/interfaces/IYVault.md @@ -0,0 +1,27 @@ + +## IYVault + +### Functions list +- [getPricePerFullShare() external](#getpriceperfullshare) +- [pricePerShare() external](#pricepershare) +- [token() external](#token) + +### Functions +### getPricePerFullShare + +```solidity +function getPricePerFullShare() external view returns (uint256 price) +``` + +### pricePerShare + +```solidity +function pricePerShare() external view returns (uint256 price) +``` + +### token + +```solidity +function token() external view returns (contract IERC20) +``` + diff --git a/docs/libraries/OraclePrices.md b/docs/libraries/OraclePrices.md new file mode 100644 index 00000000..6680402b --- /dev/null +++ b/docs/libraries/OraclePrices.md @@ -0,0 +1,120 @@ + +## OraclePrices + +A library that provides functionalities for processing and analyzing token rate and weight data provided by an oracle. + The library is used when an oracle uses multiple pools to determine a token's price. + It allows to filter out pools with low weight and significantly incorrect price, which could distort the weighted price. + The level of low-weight pool filtering can be managed using the thresholdFilter parameter. + +### Types list +- [OraclePrice](#oracleprice) +- [Data](#data) + +### Functions list +- [init(maxArrLength) internal](#init) +- [append(data, oraclePrice) internal](#append) +- [getRateAndWeight(data, thresholdFilter) internal](#getrateandweight) +- [getRateAndWeightWithSafeMath(data, thresholdFilter) internal](#getrateandweightwithsafemath) + +### Types +### OraclePrice + +This structure encapsulates the rate and weight information for tokens as provided by an oracle + +_An array of OraclePrice structures can be used to represent oracle data for multiple pools_ + +```solidity +struct OraclePrice { + uint256 rate; + uint256 weight; +} +``` +### Data + +This structure encapsulates information about a list of oracles prices and weights + +_The structure is initialized with a maximum possible length by the `init` function_ + +```solidity +struct Data { + uint256 maxOracleWeight; + uint256 size; + struct OraclePrices.OraclePrice[] oraclePrices; +} +``` + +### Functions +### init + +```solidity +function init(uint256 maxArrLength) internal pure returns (struct OraclePrices.Data data) +``` +Initializes an array of OraclePrices with a given maximum length and returns it wrapped inside a Data struct + +_Uses inline assembly for memory allocation to avoid array zeroing and extra array copy to struct_ + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| maxArrLength | uint256 | The maximum length of the oraclePrices array | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +data | struct OraclePrices.Data | Returns an instance of Data struct containing an OraclePrice array with a specified maximum length | + +### append + +```solidity +function append(struct OraclePrices.Data data, struct OraclePrices.OraclePrice oraclePrice) internal pure returns (bool isAppended) +``` +Appends an OraclePrice to the oraclePrices array in the provided Data struct if the OraclePrice has a non-zero weight + +_If the weight of the OraclePrice is greater than the current maxOracleWeight, the maxOracleWeight is updated. The size (number of meaningful elements) of the array is incremented after appending the OraclePrice._ + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| data | struct OraclePrices.Data | The Data struct that contains the oraclePrices array, maxOracleWeight, and the current size | +| oraclePrice | struct OraclePrices.OraclePrice | The OraclePrice to be appended to the oraclePrices array | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +isAppended | bool | A flag indicating whether the oraclePrice was appended or not | + +### getRateAndWeight + +```solidity +function getRateAndWeight(struct OraclePrices.Data data, uint256 thresholdFilter) internal pure returns (uint256 weightedRate, uint256 totalWeight) +``` +Calculates the weighted rate from the oracle prices data using a threshold filter + +_Shrinks the `oraclePrices` array to remove any unused space, though it's unclear how this optimizes the code, but it is. Then calculates the weighted rate + considering only the oracle prices whose weight is above the threshold which is percent from max weight_ + +#### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| data | struct OraclePrices.Data | The data structure containing oracle prices, the maximum oracle weight and the size of the used oracle prices array | +| thresholdFilter | uint256 | The threshold to filter oracle prices based on their weight | + +#### Return Values + +| Name | Type | Description | +| ---- | ---- | ----------- | +weightedRate | uint256 | The calculated weighted rate | +totalWeight | uint256 | The total weight of the oracle prices that passed the threshold | + +### getRateAndWeightWithSafeMath + +```solidity +function getRateAndWeightWithSafeMath(struct OraclePrices.Data data, uint256 thresholdFilter) internal pure returns (uint256 weightedRate, uint256 totalWeight) +``` +See `getRateAndWeight`. It uses SafeMath to prevent overflows. + diff --git a/docs/oracles/AlgebraOracle.md b/docs/oracles/AlgebraOracle.md new file mode 100644 index 00000000..494ff5a4 --- /dev/null +++ b/docs/oracles/AlgebraOracle.md @@ -0,0 +1,27 @@ + +## AlgebraOracle + +### Functions list +- [constructor(_factory, _initcodeHash) public](#constructor) +- [_getPool(token0, token1, ) internal](#_getpool) +- [_currentState(pool) internal](#_currentstate) + +### Functions +### constructor + +```solidity +constructor(address _factory, bytes32 _initcodeHash) public +``` + +### _getPool + +```solidity +function _getPool(address token0, address token1, uint24) internal view returns (address) +``` + +### _currentState + +```solidity +function _currentState(address pool) internal view returns (uint256 sqrtPriceX96, int24 tick) +``` + diff --git a/docs/oracles/ChainlinkOracle.md b/docs/oracles/ChainlinkOracle.md new file mode 100644 index 00000000..3fd939cb --- /dev/null +++ b/docs/oracles/ChainlinkOracle.md @@ -0,0 +1,30 @@ + +## ChainlinkOracle + +### Functions list +- [constructor(_chainlink) public](#constructor) +- [getRate(srcToken, dstToken, connector, ) external](#getrate) + +### Errors list +- [RateTooOld() ](#ratetooold) + +### Functions +### constructor + +```solidity +constructor(contract IChainlink _chainlink) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256) external view returns (uint256 rate, uint256 weight) +``` + +### Errors +### RateTooOld + +```solidity +error RateTooOld() +``` + diff --git a/docs/oracles/CurveOracle.md b/docs/oracles/CurveOracle.md new file mode 100644 index 00000000..ebfe16f7 --- /dev/null +++ b/docs/oracles/CurveOracle.md @@ -0,0 +1,20 @@ + +## CurveOracle + +### Functions list +- [constructor(curveProvider, maxPools) public](#constructor) +- [getRate(srcToken, dstToken, connector, thresholdFilter) external](#getrate) + +### Functions +### constructor + +```solidity +constructor(contract ICurveProvider curveProvider, uint256 maxPools) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256 thresholdFilter) external view returns (uint256 rate, uint256 weight) +``` + diff --git a/docs/oracles/CurveOracleCRP.md b/docs/oracles/CurveOracleCRP.md new file mode 100644 index 00000000..53341ebc --- /dev/null +++ b/docs/oracles/CurveOracleCRP.md @@ -0,0 +1,20 @@ + +## CurveOracleCRP + +### Functions list +- [constructor(curveProvider, maxPools) public](#constructor) +- [getRate(srcToken, dstToken, connector, thresholdFilter) external](#getrate) + +### Functions +### constructor + +```solidity +constructor(contract ICurveProvider curveProvider, uint256 maxPools) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256 thresholdFilter) external view returns (uint256 rate, uint256 weight) +``` + diff --git a/docs/oracles/DodoOracle.md b/docs/oracles/DodoOracle.md new file mode 100644 index 00000000..4c22e0a6 --- /dev/null +++ b/docs/oracles/DodoOracle.md @@ -0,0 +1,27 @@ + +## DodoOracle + +### Functions list +- [constructor(_dodoZoo) public](#constructor) +- [getRate(srcToken, dstToken, connector, ) external](#getrate) +- [_getDodoInfo(srcToken, dstToken) internal](#_getdodoinfo) + +### Functions +### constructor + +```solidity +constructor(contract IDodoZoo _dodoZoo) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256) external view returns (uint256 rate, uint256 weight) +``` + +### _getDodoInfo + +```solidity +function _getDodoInfo(address srcToken, address dstToken) internal view returns (uint256 rate, uint256 balanceSrc, uint256 balanceDst) +``` + diff --git a/docs/oracles/DodoV2Oracle.md b/docs/oracles/DodoV2Oracle.md new file mode 100644 index 00000000..1358e663 --- /dev/null +++ b/docs/oracles/DodoV2Oracle.md @@ -0,0 +1,34 @@ + +## DodoV2Oracle + +### Functions list +- [constructor(_DVMFactory) public](#constructor) +- [getRate(srcToken, dstToken, connector, thresholdFilter) external](#getrate) +- [_getMachines(srcToken, dstToken) internal](#_getmachines) +- [_getDodoInfo(dvm, isSrcBase) internal](#_getdodoinfo) + +### Functions +### constructor + +```solidity +constructor(contract IDVMFactory _DVMFactory) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256 thresholdFilter) external view returns (uint256 rate, uint256 weight) +``` + +### _getMachines + +```solidity +function _getMachines(address srcToken, address dstToken) internal view returns (address[] machines, bool isSrcBase) +``` + +### _getDodoInfo + +```solidity +function _getDodoInfo(contract IDVM dvm, bool isSrcBase) internal view returns (uint256 rate, uint256 balanceSrc, uint256 balanceDst) +``` + diff --git a/docs/oracles/KlaySwapOracle.md b/docs/oracles/KlaySwapOracle.md new file mode 100644 index 00000000..efc0bde2 --- /dev/null +++ b/docs/oracles/KlaySwapOracle.md @@ -0,0 +1,44 @@ + +## IKlaySwapFactory + +### Functions list +- [tokenToPool(tokenA, tokenB) external](#tokentopool) + +### Functions +### tokenToPool + +```solidity +function tokenToPool(contract IERC20 tokenA, contract IERC20 tokenB) external view returns (address pool) +``` + +## IKlaySwapStorage + +### Functions list +- [getReserves(pool) external](#getreserves) + +### Functions +### getReserves + +```solidity +function getReserves(address pool) external view returns (uint256 reserve0, uint256 reserve1, uint256 timestamp) +``` + +## KlaySwapOracle + +### Functions list +- [constructor(_factory, _storage) public](#constructor) +- [_getBalances(srcToken, dstToken) internal](#_getbalances) + +### Functions +### constructor + +```solidity +constructor(contract IKlaySwapFactory _factory, contract IKlaySwapStorage _storage) public +``` + +### _getBalances + +```solidity +function _getBalances(contract IERC20 srcToken, contract IERC20 dstToken) internal view returns (uint256 srcBalance, uint256 dstBalance) +``` + diff --git a/docs/oracles/KyberDmmOracle.md b/docs/oracles/KyberDmmOracle.md new file mode 100644 index 00000000..a7739996 --- /dev/null +++ b/docs/oracles/KyberDmmOracle.md @@ -0,0 +1,20 @@ + +## KyberDmmOracle + +### Functions list +- [constructor(_factory) public](#constructor) +- [getRate(srcToken, dstToken, connector, thresholdFilter) external](#getrate) + +### Functions +### constructor + +```solidity +constructor(contract IKyberDmmFactory _factory) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256 thresholdFilter) external view returns (uint256 rate, uint256 weight) +``` + diff --git a/docs/oracles/MooniswapOracle.md b/docs/oracles/MooniswapOracle.md new file mode 100644 index 00000000..e890b8e7 --- /dev/null +++ b/docs/oracles/MooniswapOracle.md @@ -0,0 +1,20 @@ + +## MooniswapOracle + +### Functions list +- [constructor(_factory) public](#constructor) +- [_getBalances(srcToken, dstToken) internal](#_getbalances) + +### Functions +### constructor + +```solidity +constructor(contract IMooniswapFactory _factory) public +``` + +### _getBalances + +```solidity +function _getBalances(contract IERC20 srcToken, contract IERC20 dstToken) internal view returns (uint256, uint256) +``` + diff --git a/docs/oracles/OracleBase.md b/docs/oracles/OracleBase.md new file mode 100644 index 00000000..075e44b9 --- /dev/null +++ b/docs/oracles/OracleBase.md @@ -0,0 +1,20 @@ + +## OracleBase + +### Functions list +- [getRate(srcToken, dstToken, connector, ) external](#getrate) +- [_getBalances(srcToken, dstToken) internal](#_getbalances) + +### Functions +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256) external view returns (uint256 rate, uint256 weight) +``` + +### _getBalances + +```solidity +function _getBalances(contract IERC20 srcToken, contract IERC20 dstToken) internal view virtual returns (uint256 srcBalance, uint256 dstBalance) +``` + diff --git a/docs/oracles/SolidlyOracle.md b/docs/oracles/SolidlyOracle.md new file mode 100644 index 00000000..5ea2e414 --- /dev/null +++ b/docs/oracles/SolidlyOracle.md @@ -0,0 +1,62 @@ + +## SolidlyOracle + +### Functions list +- [constructor(_factory, _initcodeHash) public](#constructor) +- [getRate(srcToken, dstToken, connector, thresholdFilter) external](#getrate) +- [_getWeightedRate(srcToken, dstToken, srcDecimals, dstDecimals, thresholdFilter) internal](#_getweightedrate) +- [_getY(x0, xy, y0) internal](#_gety) +- [_f(x0, y) internal](#_f) +- [_d(x0, y) internal](#_d) +- [_pairFor(tokenA, tokenB, stable) internal](#_pairfor) +- [_getBalances(srcToken, dstToken, stable) internal](#_getbalances) + +### Functions +### constructor + +```solidity +constructor(address _factory, bytes32 _initcodeHash) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256 thresholdFilter) external view returns (uint256 rate, uint256 weight) +``` + +### _getWeightedRate + +```solidity +function _getWeightedRate(contract IERC20 srcToken, contract IERC20 dstToken, uint256 srcDecimals, uint256 dstDecimals, uint256 thresholdFilter) internal view returns (uint256 rate, uint256 weight) +``` + +### _getY + +```solidity +function _getY(uint256 x0, uint256 xy, uint256 y0) internal pure returns (uint256 y, bool error) +``` + +### _f + +```solidity +function _f(uint256 x0, uint256 y) internal pure returns (uint256) +``` + +### _d + +```solidity +function _d(uint256 x0, uint256 y) internal pure returns (uint256) +``` + +### _pairFor + +```solidity +function _pairFor(contract IERC20 tokenA, contract IERC20 tokenB, bool stable) internal view virtual returns (address pair) +``` + +### _getBalances + +```solidity +function _getBalances(contract IERC20 srcToken, contract IERC20 dstToken, bool stable) internal view returns (uint256 srcBalance, uint256 dstBalance) +``` + diff --git a/docs/oracles/SolidlyOracleNoCreate2.md b/docs/oracles/SolidlyOracleNoCreate2.md new file mode 100644 index 00000000..27f23d8a --- /dev/null +++ b/docs/oracles/SolidlyOracleNoCreate2.md @@ -0,0 +1,20 @@ + +## SolidlyOracleNoCreate2 + +### Functions list +- [constructor(_factory) public](#constructor) +- [_pairFor(tokenA, tokenB, stable) internal](#_pairfor) + +### Functions +### constructor + +```solidity +constructor(address _factory) public +``` + +### _pairFor + +```solidity +function _pairFor(contract IERC20 tokenA, contract IERC20 tokenB, bool stable) internal view returns (address pair) +``` + diff --git a/docs/oracles/SyncswapOracle.md b/docs/oracles/SyncswapOracle.md new file mode 100644 index 00000000..e5f3aa80 --- /dev/null +++ b/docs/oracles/SyncswapOracle.md @@ -0,0 +1,44 @@ + +## ISyncswapFactory + +### Functions list +- [getPool(tokenA, tokenB) external](#getpool) + +### Functions +### getPool + +```solidity +function getPool(address tokenA, address tokenB) external view returns (address pool) +``` + +## ISyncswapPool + +### Functions list +- [getReserves() external](#getreserves) + +### Functions +### getReserves + +```solidity +function getReserves() external view returns (uint256, uint256) +``` + +## SyncswapOracle + +### Functions list +- [constructor(_factory) public](#constructor) +- [_getBalances(srcToken, dstToken) internal](#_getbalances) + +### Functions +### constructor + +```solidity +constructor(contract ISyncswapFactory _factory) public +``` + +### _getBalances + +```solidity +function _getBalances(contract IERC20 srcToken, contract IERC20 dstToken) internal view returns (uint256 srcBalance, uint256 dstBalance) +``` + diff --git a/docs/oracles/SynthetixOracle.md b/docs/oracles/SynthetixOracle.md new file mode 100644 index 00000000..00b8f31d --- /dev/null +++ b/docs/oracles/SynthetixOracle.md @@ -0,0 +1,37 @@ + +## SynthetixOracle + +### Functions list +- [constructor(_proxy) public](#constructor) +- [getRate(srcToken, dstToken, connector, ) external](#getrate) + +### Errors list +- [UnregisteredToken() ](#unregisteredtoken) +- [InvalidRate() ](#invalidrate) + +### Functions +### constructor + +```solidity +constructor(contract ISynthetixProxy _proxy) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256) external view returns (uint256 rate, uint256 weight) +``` + +### Errors +### UnregisteredToken + +```solidity +error UnregisteredToken() +``` + +### InvalidRate + +```solidity +error InvalidRate() +``` + diff --git a/docs/oracles/UniswapOracle.md b/docs/oracles/UniswapOracle.md new file mode 100644 index 00000000..8a932027 --- /dev/null +++ b/docs/oracles/UniswapOracle.md @@ -0,0 +1,30 @@ + +## UniswapOracle + +### Functions list +- [constructor(_factory) public](#constructor) +- [_getBalances(srcToken, dstToken) internal](#_getbalances) + +### Errors list +- [UnsupportedTokens() ](#unsupportedtokens) + +### Functions +### constructor + +```solidity +constructor(contract IUniswapFactory _factory) public +``` + +### _getBalances + +```solidity +function _getBalances(contract IERC20 srcToken, contract IERC20 dstToken) internal view returns (uint256 srcBalance, uint256 dstBalance) +``` + +### Errors +### UnsupportedTokens + +```solidity +error UnsupportedTokens() +``` + diff --git a/docs/oracles/UniswapV2LikeOracle.md b/docs/oracles/UniswapV2LikeOracle.md new file mode 100644 index 00000000..96602083 --- /dev/null +++ b/docs/oracles/UniswapV2LikeOracle.md @@ -0,0 +1,20 @@ + +## UniswapV2LikeOracle + +### Functions list +- [constructor(_factory, _initcodeHash) public](#constructor) +- [_getBalances(srcToken, dstToken) internal](#_getbalances) + +### Functions +### constructor + +```solidity +constructor(address _factory, bytes32 _initcodeHash) public +``` + +### _getBalances + +```solidity +function _getBalances(contract IERC20 srcToken, contract IERC20 dstToken) internal view returns (uint256 srcBalance, uint256 dstBalance) +``` + diff --git a/docs/oracles/UniswapV3LikeOracle.md b/docs/oracles/UniswapV3LikeOracle.md new file mode 100644 index 00000000..6f84fd5c --- /dev/null +++ b/docs/oracles/UniswapV3LikeOracle.md @@ -0,0 +1,41 @@ + +## UniswapV3LikeOracle + +### Functions list +- [constructor(_factory, _initcodeHash, _fees) public](#constructor) +- [getRate(srcToken, dstToken, connector, thresholdFilter) external](#getrate) +- [_getRate(srcToken, dstToken, fee) internal](#_getrate) +- [_getPool(token0, token1, fee) internal](#_getpool) +- [_currentState(pool) internal](#_currentstate) + +### Functions +### constructor + +```solidity +constructor(address _factory, bytes32 _initcodeHash, uint24[] _fees) public +``` + +### getRate + +```solidity +function getRate(contract IERC20 srcToken, contract IERC20 dstToken, contract IERC20 connector, uint256 thresholdFilter) external view returns (uint256 rate, uint256 weight) +``` + +### _getRate + +```solidity +function _getRate(contract IERC20 srcToken, contract IERC20 dstToken, uint24 fee) internal view returns (uint256 rate, uint256 liquidity) +``` + +### _getPool + +```solidity +function _getPool(address token0, address token1, uint24 fee) internal view virtual returns (address) +``` + +### _currentState + +```solidity +function _currentState(address pool) internal view virtual returns (uint256 sqrtPriceX96, int24 tick) +``` + diff --git a/docs/wrappers/AaveWrapperV1.md b/docs/wrappers/AaveWrapperV1.md new file mode 100644 index 00000000..39f4156e --- /dev/null +++ b/docs/wrappers/AaveWrapperV1.md @@ -0,0 +1,27 @@ + +## AaveWrapperV1 + +### Functions list +- [addMarkets(tokens) external](#addmarkets) +- [removeMarkets(tokens) external](#removemarkets) +- [wrap(token) external](#wrap) + +### Functions +### addMarkets + +```solidity +function addMarkets(contract IERC20[] tokens) external +``` + +### removeMarkets + +```solidity +function removeMarkets(contract IERC20[] tokens) external +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/AaveWrapperV2.md b/docs/wrappers/AaveWrapperV2.md new file mode 100644 index 00000000..0fc16378 --- /dev/null +++ b/docs/wrappers/AaveWrapperV2.md @@ -0,0 +1,34 @@ + +## AaveWrapperV2 + +### Functions list +- [constructor(lendingPool) public](#constructor) +- [addMarkets(tokens) external](#addmarkets) +- [removeMarkets(tokens) external](#removemarkets) +- [wrap(token) external](#wrap) + +### Functions +### constructor + +```solidity +constructor(contract ILendingPoolV2 lendingPool) public +``` + +### addMarkets + +```solidity +function addMarkets(contract IERC20[] tokens) external +``` + +### removeMarkets + +```solidity +function removeMarkets(contract IERC20[] tokens) external +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/AaveWrapperV3.md b/docs/wrappers/AaveWrapperV3.md new file mode 100644 index 00000000..dacb3686 --- /dev/null +++ b/docs/wrappers/AaveWrapperV3.md @@ -0,0 +1,34 @@ + +## AaveWrapperV3 + +### Functions list +- [constructor(lendingPool) public](#constructor) +- [addMarkets(tokens) external](#addmarkets) +- [removeMarkets(tokens) external](#removemarkets) +- [wrap(token) external](#wrap) + +### Functions +### constructor + +```solidity +constructor(contract ILendingPoolV3 lendingPool) public +``` + +### addMarkets + +```solidity +function addMarkets(contract IERC20[] tokens) external +``` + +### removeMarkets + +```solidity +function removeMarkets(contract IERC20[] tokens) external +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/BaseCoinWrapper.md b/docs/wrappers/BaseCoinWrapper.md new file mode 100644 index 00000000..1e4f98cd --- /dev/null +++ b/docs/wrappers/BaseCoinWrapper.md @@ -0,0 +1,27 @@ + +## BaseCoinWrapper + +### Functions list +- [constructor(base, wBase) public](#constructor) +- [_wrap() internal](#_wrap) +- [_unwrap() internal](#_unwrap) + +### Functions +### constructor + +```solidity +constructor(contract IERC20 base, contract IERC20 wBase) public +``` + +### _wrap + +```solidity +function _wrap() internal view virtual returns (contract IERC20 wrappedToken, uint256 rate) +``` + +### _unwrap + +```solidity +function _unwrap() internal view virtual returns (contract IERC20 unwrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/ChaiWrapper.md b/docs/wrappers/ChaiWrapper.md new file mode 100644 index 00000000..8d45c339 --- /dev/null +++ b/docs/wrappers/ChaiWrapper.md @@ -0,0 +1,41 @@ + +## ChaiWrapper + +### Functions list +- [constructor(base, wBase, pot) public](#constructor) +- [_wrap() internal](#_wrap) +- [_unwrap() internal](#_unwrap) +- [_rdivup(x, y) internal](#_rdivup) +- [_rmul(x, y) internal](#_rmul) + +### Functions +### constructor + +```solidity +constructor(contract IERC20 base, contract IERC20 wBase, contract IChaiPot pot) public +``` + +### _wrap + +```solidity +function _wrap() internal view returns (contract IERC20 wrappedToken, uint256 rate) +``` + +### _unwrap + +```solidity +function _unwrap() internal view returns (contract IERC20 unwrappedToken, uint256 rate) +``` + +### _rdivup + +```solidity +function _rdivup(uint256 x, uint256 y) internal pure returns (uint256 z) +``` + +### _rmul + +```solidity +function _rmul(uint256 x, uint256 y) internal pure returns (uint256 z) +``` + diff --git a/docs/wrappers/CompoundLikeWrapper.md b/docs/wrappers/CompoundLikeWrapper.md new file mode 100644 index 00000000..bccb7493 --- /dev/null +++ b/docs/wrappers/CompoundLikeWrapper.md @@ -0,0 +1,34 @@ + +## CompoundLikeWrapper + +### Functions list +- [constructor(comptroller, cBase) public](#constructor) +- [addMarkets(markets) external](#addmarkets) +- [removeMarkets(markets) external](#removemarkets) +- [wrap(token) external](#wrap) + +### Functions +### constructor + +```solidity +constructor(contract IComptroller comptroller, contract IERC20 cBase) public +``` + +### addMarkets + +```solidity +function addMarkets(contract ICToken[] markets) external +``` + +### removeMarkets + +```solidity +function removeMarkets(contract ICToken[] markets) external +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/CompoundV3Wrapper.md b/docs/wrappers/CompoundV3Wrapper.md new file mode 100644 index 00000000..5280131c --- /dev/null +++ b/docs/wrappers/CompoundV3Wrapper.md @@ -0,0 +1,34 @@ + +## CompoundV3Wrapper + +### Functions list +- [constructor(_owner) public](#constructor) +- [addMarkets(tokens) external](#addmarkets) +- [removeMarkets(tokens) external](#removemarkets) +- [wrap(token) external](#wrap) + +### Functions +### constructor + +```solidity +constructor(address _owner) public +``` + +### addMarkets + +```solidity +function addMarkets(address[] tokens) external +``` + +### removeMarkets + +```solidity +function removeMarkets(address[] tokens) external +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/FulcrumWrapper.md b/docs/wrappers/FulcrumWrapper.md new file mode 100644 index 00000000..3edcf337 --- /dev/null +++ b/docs/wrappers/FulcrumWrapper.md @@ -0,0 +1,27 @@ + +## FulcrumWrapper + +### Functions list +- [addMarkets(markets) external](#addmarkets) +- [removeMarkets(markets) external](#removemarkets) +- [wrap(token) external](#wrap) + +### Functions +### addMarkets + +```solidity +function addMarkets(contract IERC20[] markets) external +``` + +### removeMarkets + +```solidity +function removeMarkets(contract IERC20[] markets) external +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/FulcrumWrapperLegacy.md b/docs/wrappers/FulcrumWrapperLegacy.md new file mode 100644 index 00000000..0439b869 --- /dev/null +++ b/docs/wrappers/FulcrumWrapperLegacy.md @@ -0,0 +1,34 @@ + +## FulcrumWrapperLegacy + +### Functions list +- [constructor(_owner) public](#constructor) +- [addMarkets(markets) external](#addmarkets) +- [removeMarkets(markets) external](#removemarkets) +- [wrap(token) external](#wrap) + +### Functions +### constructor + +```solidity +constructor(address _owner) public +``` + +### addMarkets + +```solidity +function addMarkets(contract ILoanToken[] markets) external +``` + +### removeMarkets + +```solidity +function removeMarkets(contract ILoanToken[] markets) external +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/SDaiWrapper.md b/docs/wrappers/SDaiWrapper.md new file mode 100644 index 00000000..4897106e --- /dev/null +++ b/docs/wrappers/SDaiWrapper.md @@ -0,0 +1,27 @@ + +## SDaiWrapper + +### Functions list +- [constructor(base, wBase) public](#constructor) +- [_wrap() internal](#_wrap) +- [_unwrap() internal](#_unwrap) + +### Functions +### constructor + +```solidity +constructor(contract IERC20 base, contract IERC20 wBase) public +``` + +### _wrap + +```solidity +function _wrap() internal view returns (contract IERC20 wrappedToken, uint256 rate) +``` + +### _unwrap + +```solidity +function _unwrap() internal view returns (contract IERC20 unwrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/SUSDeWrapper.md b/docs/wrappers/SUSDeWrapper.md new file mode 100644 index 00000000..d34e2191 --- /dev/null +++ b/docs/wrappers/SUSDeWrapper.md @@ -0,0 +1,27 @@ + +## SUSDeWrapper + +### Functions list +- [constructor(base, wBase) public](#constructor) +- [_wrap() internal](#_wrap) +- [_unwrap() internal](#_unwrap) + +### Functions +### constructor + +```solidity +constructor(contract IERC20 base, contract IERC20 wBase) public +``` + +### _wrap + +```solidity +function _wrap() internal view virtual returns (contract IERC20 wrappedToken, uint256 rate) +``` + +### _unwrap + +```solidity +function _unwrap() internal view virtual returns (contract IERC20 unwrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/StataTokenWrapper.md b/docs/wrappers/StataTokenWrapper.md new file mode 100644 index 00000000..10e3de60 --- /dev/null +++ b/docs/wrappers/StataTokenWrapper.md @@ -0,0 +1,34 @@ + +## StataTokenWrapper + +### Functions list +- [constructor(staticATokenFactory) public](#constructor) +- [addMarkets(tokens) external](#addmarkets) +- [removeMarkets(tokens) external](#removemarkets) +- [wrap(token) external](#wrap) + +### Functions +### constructor + +```solidity +constructor(contract IStaticATokenFactory staticATokenFactory) public +``` + +### addMarkets + +```solidity +function addMarkets(contract IERC20[] tokens) external +``` + +### removeMarkets + +```solidity +function removeMarkets(contract IERC20[] tokens) external +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/Wrapper.md b/docs/wrappers/Wrapper.md new file mode 100644 index 00000000..5725c6b5 --- /dev/null +++ b/docs/wrappers/Wrapper.md @@ -0,0 +1,34 @@ + +## Wrapper + +### Functions list +- [constructor(base, wBase) internal](#constructor) +- [wrap(token) external](#wrap) +- [_wrap() internal](#_wrap) +- [_unwrap() internal](#_unwrap) + +### Functions +### constructor + +```solidity +constructor(contract IERC20 base, contract IERC20 wBase) internal +``` + +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + +### _wrap + +```solidity +function _wrap() internal view virtual returns (contract IERC20 wrappedToken, uint256 rate) +``` + +### _unwrap + +```solidity +function _unwrap() internal view virtual returns (contract IERC20 unwrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/WstETHWrapper.md b/docs/wrappers/WstETHWrapper.md new file mode 100644 index 00000000..445d6739 --- /dev/null +++ b/docs/wrappers/WstETHWrapper.md @@ -0,0 +1,27 @@ + +## WstETHWrapper + +### Functions list +- [constructor(base, wBase) public](#constructor) +- [_wrap() internal](#_wrap) +- [_unwrap() internal](#_unwrap) + +### Functions +### constructor + +```solidity +constructor(contract IERC20 base, contract IERC20 wBase) public +``` + +### _wrap + +```solidity +function _wrap() internal view returns (contract IERC20 wrappedToken, uint256 rate) +``` + +### _unwrap + +```solidity +function _unwrap() internal view returns (contract IERC20 unwrappedToken, uint256 rate) +``` + diff --git a/docs/wrappers/WsuperOETHbWrapper.md b/docs/wrappers/WsuperOETHbWrapper.md new file mode 100644 index 00000000..ea937ac0 --- /dev/null +++ b/docs/wrappers/WsuperOETHbWrapper.md @@ -0,0 +1,13 @@ + +## WsuperOETHbWrapper + +### Functions list +- [constructor(base, wBase) public](#constructor) + +### Functions +### constructor + +```solidity +constructor(contract IERC20 base, contract IERC20 wBase) public +``` + diff --git a/docs/wrappers/YVaultWrapper.md b/docs/wrappers/YVaultWrapper.md new file mode 100644 index 00000000..98e7dda1 --- /dev/null +++ b/docs/wrappers/YVaultWrapper.md @@ -0,0 +1,13 @@ + +## YVaultWrapper + +### Functions list +- [wrap(token) external](#wrap) + +### Functions +### wrap + +```solidity +function wrap(contract IERC20 token) external view returns (contract IERC20 wrappedToken, uint256 rate) +``` + diff --git a/hardhat.config.js b/hardhat.config.js index 3e8f522c..8425415f 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -7,7 +7,9 @@ require('hardhat-dependency-compiler'); require('hardhat-gas-reporter'); require('hardhat-tracer'); require('solidity-coverage'); +require('solidity-docgen'); +const { oneInchTemplates } = require('@1inch/solidity-utils/docgen'); const { Networks, getNetwork } = require('@1inch/solidity-utils/hardhat-setup'); if (getNetwork().indexOf('zksync') !== -1) { @@ -41,7 +43,7 @@ module.exports = { deploy: 'deploy/commands', }, mocha: { - timeout: 240000, + timeout: 300000, }, tracer: { enableAllOpcodes: true, @@ -58,4 +60,10 @@ module.exports = { compilerSource: 'binary', settings: {}, }, + docgen: { + outputDir: 'docs', + templates: oneInchTemplates(), + pages: 'files', + exclude: ['mocks'], + }, }; diff --git a/package.json b/package.json index 10d753ad..6da18f30 100644 --- a/package.json +++ b/package.json @@ -1,49 +1,50 @@ { - "name": "offchain-oracle", + "name": "@1inch/spot-price-aggregator", "version": "0.0.1", "description": "Oracle for querying weighted average of dex prcies", "repository": { "type": "git", - "url": "git@github.com:1inch/offchain-oracle.git" + "url": "git@github.com:1inch/spot-price-aggregator.git" }, "license": "MIT", "dependencies": { - "@openzeppelin/contracts": "5.0.2" + "@openzeppelin/contracts": "5.1.0" }, "devDependencies": { - "@1inch/solidity-utils": "5.2.1", - "@matterlabs/hardhat-zksync-deploy": "1.5.0", - "@matterlabs/hardhat-zksync-solc": "1.2.0", - "@matterlabs/hardhat-zksync-verify": "1.5.0", - "@nomicfoundation/hardhat-chai-matchers": "2.0.6", - "@nomicfoundation/hardhat-ethers": "3.0.5", - "@nomicfoundation/hardhat-network-helpers": "1.0.10", - "@nomicfoundation/hardhat-verify": "2.0.2", - "chai": "4.4.0", + "@1inch/solidity-utils": "6.0.0", + "@matterlabs/hardhat-zksync-deploy": "1.6.0", + "@matterlabs/hardhat-zksync-solc": "1.2.5", + "@matterlabs/hardhat-zksync-verify": "1.7.0", + "@nomicfoundation/hardhat-chai-matchers": "2.0.8", + "@nomicfoundation/hardhat-ethers": "3.0.8", + "@nomicfoundation/hardhat-network-helpers": "1.0.12", + "@nomicfoundation/hardhat-verify": "2.0.11", + "chai": "4.5.0", "chai-bn": "0.3.1", "dotenv": "16.4.5", "dotenv-cli": "7.3.0", - "eslint": "8.57.0", + "eslint": "8.57.1", "eslint-config-standard": "17.1.0", - "eslint-plugin-import": "2.29.1", - "eslint-plugin-n": "16.6.2", - "eslint-plugin-promise": "6.1.1", - "ethers": "6.11.1", + "eslint-plugin-import": "2.31.0", + "eslint-plugin-n": "17.13.0", + "eslint-plugin-promise": "7.1.0", + "ethers": "6.13.4", "hardhat": "2.19.5", - "hardhat-dependency-compiler": "1.1.3", + "hardhat-dependency-compiler": "1.2.1", "hardhat-deploy": "0.12.4", "hardhat-gas-reporter": "1.0.10", "hardhat-tracer": "2.7.0", - "rimraf": "5.0.5", - "solhint": "4.1.1", - "solidity-coverage": "0.8.9", - "zksync-ethers": "6.9.0", + "rimraf": "6.0.1", + "solhint": "5.0.3", + "solidity-coverage": "0.8.13", + "solidity-docgen": "0.6.0-beta.36", + "zksync-ethers": "6.15.0", "zksync-web3": "0.17.1" }, "scripts": { "clean": "rimraf artifacts cache coverage contracts/hardhat-dependency-compiler artifacts-zk cache-zk deployments/hardhat", "deploy": "hardhat deploy --network", - "docify": "npx solidity-utils-docify", + "docify": "yarn hardhat docgen", "coverage": "hardhat coverage", "lint:js": "eslint .", "lint:js:fix": "eslint . --fix", diff --git a/test/oracles/MooniswapOracle.js b/test/oracles/MooniswapOracle.js index 79f07d27..a27bdfbf 100644 --- a/test/oracles/MooniswapOracle.js +++ b/test/oracles/MooniswapOracle.js @@ -28,12 +28,14 @@ describe('MooniswapOracle', function () { await testRate([tokens.ETH, tokens.WETH], tokens.USDC, tokens.NONE, mooniswapOracle, uniswapV3Oracle, 0.2); }); - it('USDC -> 1INCH', async function () { + it.skip('USDC -> 1INCH', async function () { + // Skipped because Mooniswap was deprecated and USDC<->1INCH pool liquidity is not related to price, so no liquidity is provided const { mooniswapOracle, uniswapV3Oracle } = await loadFixture(initContracts); await testRate(tokens.USDC, tokens['1INCH'], tokens.NONE, mooniswapOracle, uniswapV3Oracle, 0.2); }); - it('ETH -> USDC -> 1INCH', async function () { + it.skip('ETH -> USDC -> 1INCH', async function () { + // Skipped because Mooniswap was deprecated and USDC<->1INCH pool liquidity is not related to price, so no liquidity is provided const { mooniswapOracle, uniswapV3Oracle } = await loadFixture(initContracts); await testRate([tokens.ETH, tokens.WETH], tokens['1INCH'], tokens.USDC, mooniswapOracle, uniswapV3Oracle, 0.2); }); diff --git a/yarn.lock b/yarn.lock index 7118da1c..f2cf12b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,24 +2,24 @@ # yarn lockfile v1 -"@1inch/solidity-utils@5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@1inch/solidity-utils/-/solidity-utils-5.2.1.tgz#5a88c5d6285ce6767a7a870f9a12c0bdc5c73722" - integrity sha512-mwEnFl2rMSW31CZf62WEMpLIIl+snCjfoXCBbbhrB+5GKt2Jlht8iUEQYGnSu6LdyTPFxrLRwFN0yur9iw9V/A== - dependencies: - "@metamask/eth-sig-util" "7.0.1" - "@nomicfoundation/hardhat-ethers" "3.0.5" - "@nomicfoundation/hardhat-network-helpers" "1.0.10" - "@nomicfoundation/hardhat-verify" "2.0.5" - "@openzeppelin/contracts" "5.0.2" - "@uniswap/permit2-sdk" "1.2.0" - chai "4.4.0" +"@1inch/solidity-utils@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@1inch/solidity-utils/-/solidity-utils-6.0.0.tgz#a04cba02078ce83239cc4f6e4f3824bf7fc32a46" + integrity sha512-MvpFE8G0uts8PQI+p2Zdts+md53ycYV968mPtoGC3fMCZ+c2T+sSxwI24RLtIKn3wN/Y4ywzXKTvJZwYZbzJPA== + dependencies: + "@metamask/eth-sig-util" "8.0.0" + "@nomicfoundation/hardhat-ethers" "3.0.8" + "@nomicfoundation/hardhat-network-helpers" "1.0.12" + "@nomicfoundation/hardhat-verify" "2.0.11" + "@openzeppelin/contracts" "5.1.0" + "@uniswap/permit2-sdk" "1.3.0" + chai "4.5.0" dotenv "16.4.5" ethereumjs-util "7.1.5" - ethers "6.11.1" - hardhat "2.22.2" - hardhat-deploy "0.12.2" - mocha-chai-jest-snapshot "1.1.4" + ethers "6.13.4" + hardhat "2.22.15" + hardhat-deploy "0.14.0" + mocha-chai-jest-snapshot "1.1.6" node-fetch "2.7.0" "@adraffy/ens-normalize@1.10.1": @@ -35,131 +35,114 @@ "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.24" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" - integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.25.9", "@babel/code-frame@^7.26.0": + version "7.26.2" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.26.2.tgz#4b5fab97d33338eff916235055f0ebc21e573a85" + integrity sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ== dependencies: - "@babel/highlight" "^7.24.7" + "@babel/helper-validator-identifier" "^7.25.9" + js-tokens "^4.0.0" picocolors "^1.0.0" -"@babel/compat-data@^7.25.2": - version "7.25.2" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.2.tgz#e41928bd33475305c586f6acbbb7e3ade7a6f7f5" - integrity sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ== +"@babel/compat-data@^7.25.9": + version "7.26.2" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.26.2.tgz#278b6b13664557de95b8f35b90d96785850bb56e" + integrity sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg== "@babel/core@^7.11.6", "@babel/core@^7.12.3": - version "7.25.2" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.25.2.tgz#ed8eec275118d7613e77a352894cd12ded8eba77" - integrity sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA== + version "7.26.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.26.0.tgz#d78b6023cc8f3114ccf049eb219613f74a747b40" + integrity sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.24.7" - "@babel/generator" "^7.25.0" - "@babel/helper-compilation-targets" "^7.25.2" - "@babel/helper-module-transforms" "^7.25.2" - "@babel/helpers" "^7.25.0" - "@babel/parser" "^7.25.0" - "@babel/template" "^7.25.0" - "@babel/traverse" "^7.25.2" - "@babel/types" "^7.25.2" + "@babel/code-frame" "^7.26.0" + "@babel/generator" "^7.26.0" + "@babel/helper-compilation-targets" "^7.25.9" + "@babel/helper-module-transforms" "^7.26.0" + "@babel/helpers" "^7.26.0" + "@babel/parser" "^7.26.0" + "@babel/template" "^7.25.9" + "@babel/traverse" "^7.25.9" + "@babel/types" "^7.26.0" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.25.0", "@babel/generator@^7.7.2": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.25.0.tgz#f858ddfa984350bc3d3b7f125073c9af6988f18e" - integrity sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw== +"@babel/generator@^7.25.9", "@babel/generator@^7.26.0", "@babel/generator@^7.7.2": + version "7.26.2" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.2.tgz#87b75813bec87916210e5e01939a4c823d6bb74f" + integrity sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw== dependencies: - "@babel/types" "^7.25.0" + "@babel/parser" "^7.26.2" + "@babel/types" "^7.26.0" "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.25" - jsesc "^2.5.1" + jsesc "^3.0.2" -"@babel/helper-compilation-targets@^7.25.2": - version "7.25.2" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz#e1d9410a90974a3a5a66e84ff55ef62e3c02d06c" - integrity sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw== +"@babel/helper-compilation-targets@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz#55af025ce365be3cdc0c1c1e56c6af617ce88875" + integrity sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ== dependencies: - "@babel/compat-data" "^7.25.2" - "@babel/helper-validator-option" "^7.24.8" - browserslist "^4.23.1" + "@babel/compat-data" "^7.25.9" + "@babel/helper-validator-option" "^7.25.9" + browserslist "^4.24.0" lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-module-imports@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz#f2f980392de5b84c3328fc71d38bd81bbb83042b" - integrity sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA== - dependencies: - "@babel/traverse" "^7.24.7" - "@babel/types" "^7.24.7" - -"@babel/helper-module-transforms@^7.25.2": - version "7.25.2" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz#ee713c29768100f2776edf04d4eb23b8d27a66e6" - integrity sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ== - dependencies: - "@babel/helper-module-imports" "^7.24.7" - "@babel/helper-simple-access" "^7.24.7" - "@babel/helper-validator-identifier" "^7.24.7" - "@babel/traverse" "^7.25.2" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.24.7", "@babel/helper-plugin-utils@^7.8.0": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz#94ee67e8ec0e5d44ea7baeb51e571bd26af07878" - integrity sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg== - -"@babel/helper-simple-access@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz#bcade8da3aec8ed16b9c4953b74e506b51b5edb3" - integrity sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg== - dependencies: - "@babel/traverse" "^7.24.7" - "@babel/types" "^7.24.7" - -"@babel/helper-string-parser@^7.24.8": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz#5b3329c9a58803d5df425e5785865881a81ca48d" - integrity sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ== - -"@babel/helper-validator-identifier@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db" - integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== - -"@babel/helper-validator-option@^7.24.8": - version "7.24.8" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz#3725cdeea8b480e86d34df15304806a06975e33d" - integrity sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q== - -"@babel/helpers@^7.25.0": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.25.0.tgz#e69beb7841cb93a6505531ede34f34e6a073650a" - integrity sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw== - dependencies: - "@babel/template" "^7.25.0" - "@babel/types" "^7.25.0" - -"@babel/highlight@^7.24.7": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.7.tgz#a05ab1df134b286558aae0ed41e6c5f731bf409d" - integrity sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw== - dependencies: - "@babel/helper-validator-identifier" "^7.24.7" - chalk "^2.4.2" - js-tokens "^4.0.0" - picocolors "^1.0.0" +"@babel/helper-module-imports@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz#e7f8d20602ebdbf9ebbea0a0751fb0f2a4141715" + integrity sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw== + dependencies: + "@babel/traverse" "^7.25.9" + "@babel/types" "^7.25.9" -"@babel/parser@^7.14.7", "@babel/parser@^7.25.0", "@babel/parser@^7.25.3": - version "7.25.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.3.tgz#91fb126768d944966263f0657ab222a642b82065" - integrity sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw== +"@babel/helper-module-transforms@^7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz#8ce54ec9d592695e58d84cd884b7b5c6a2fdeeae" + integrity sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw== dependencies: - "@babel/types" "^7.25.2" + "@babel/helper-module-imports" "^7.25.9" + "@babel/helper-validator-identifier" "^7.25.9" + "@babel/traverse" "^7.25.9" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.25.9", "@babel/helper-plugin-utils@^7.8.0": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz#9cbdd63a9443a2c92a725cca7ebca12cc8dd9f46" + integrity sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw== + +"@babel/helper-string-parser@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz#1aabb72ee72ed35789b4bbcad3ca2862ce614e8c" + integrity sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA== + +"@babel/helper-validator-identifier@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz#24b64e2c3ec7cd3b3c547729b8d16871f22cbdc7" + integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ== + +"@babel/helper-validator-option@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz#86e45bd8a49ab7e03f276577f96179653d41da72" + integrity sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw== + +"@babel/helpers@^7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.26.0.tgz#30e621f1eba5aa45fe6f4868d2e9154d884119a4" + integrity sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw== + dependencies: + "@babel/template" "^7.25.9" + "@babel/types" "^7.26.0" + +"@babel/parser@^7.14.7", "@babel/parser@^7.25.9", "@babel/parser@^7.26.0", "@babel/parser@^7.26.2": + version "7.26.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.2.tgz#fd7b6f487cfea09889557ef5d4eeb9ff9a5abd11" + integrity sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ== + dependencies: + "@babel/types" "^7.26.0" "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -175,14 +158,28 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-class-properties@^7.8.3": +"@babel/plugin-syntax-class-properties@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-syntax-import-meta@^7.8.3": +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-import-attributes@^7.24.7": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz#3b1412847699eea739b4f2602c74ce36f6b0b0f7" + integrity sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A== + dependencies: + "@babel/helper-plugin-utils" "^7.25.9" + +"@babel/plugin-syntax-import-meta@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== @@ -196,7 +193,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-logical-assignment-operators@^7.8.3": +"@babel/plugin-syntax-jsx@^7.7.2": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz#a34313a178ea56f1951599b929c1ceacee719290" + integrity sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA== + dependencies: + "@babel/helper-plugin-utils" "^7.25.9" + +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== @@ -210,7 +214,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-numeric-separator@^7.8.3": +"@babel/plugin-syntax-numeric-separator@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== @@ -238,7 +242,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-top-level-await@^7.8.3": +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== @@ -246,42 +257,41 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.24.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz#58d458271b4d3b6bb27ee6ac9525acbb259bad1c" - integrity sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA== - dependencies: - "@babel/helper-plugin-utils" "^7.24.7" - -"@babel/template@^7.25.0": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.0.tgz#e733dc3134b4fede528c15bc95e89cb98c52592a" - integrity sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q== - dependencies: - "@babel/code-frame" "^7.24.7" - "@babel/parser" "^7.25.0" - "@babel/types" "^7.25.0" - -"@babel/traverse@^7.24.7", "@babel/traverse@^7.25.2", "@babel/traverse@^7.7.2": - version "7.25.3" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.3.tgz#f1b901951c83eda2f3e29450ce92743783373490" - integrity sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ== - dependencies: - "@babel/code-frame" "^7.24.7" - "@babel/generator" "^7.25.0" - "@babel/parser" "^7.25.3" - "@babel/template" "^7.25.0" - "@babel/types" "^7.25.2" + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz#67dda2b74da43727cf21d46cf9afef23f4365399" + integrity sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ== + dependencies: + "@babel/helper-plugin-utils" "^7.25.9" + +"@babel/template@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.9.tgz#ecb62d81a8a6f5dc5fe8abfc3901fc52ddf15016" + integrity sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg== + dependencies: + "@babel/code-frame" "^7.25.9" + "@babel/parser" "^7.25.9" + "@babel/types" "^7.25.9" + +"@babel/traverse@^7.25.9": + version "7.25.9" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.9.tgz#a50f8fe49e7f69f53de5bea7e413cd35c5e13c84" + integrity sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw== + dependencies: + "@babel/code-frame" "^7.25.9" + "@babel/generator" "^7.25.9" + "@babel/parser" "^7.25.9" + "@babel/template" "^7.25.9" + "@babel/types" "^7.25.9" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.20.7", "@babel/types@^7.24.7", "@babel/types@^7.25.0", "@babel/types@^7.25.2", "@babel/types@^7.3.3": - version "7.25.2" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.2.tgz#55fb231f7dc958cd69ea141a4c2997e819646125" - integrity sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q== +"@babel/types@^7.25.9", "@babel/types@^7.26.0", "@babel/types@^7.3.3": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.0.tgz#deabd08d6b753bc8e0f198f8709fb575e31774ff" + integrity sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA== dependencies: - "@babel/helper-string-parser" "^7.24.8" - "@babel/helper-validator-identifier" "^7.24.7" - to-fast-properties "^2.0.0" + "@babel/helper-string-parser" "^7.25.9" + "@babel/helper-validator-identifier" "^7.25.9" "@balena/dockerignore@^1.0.2": version "1.0.2" @@ -324,17 +334,17 @@ "@chainsafe/persistent-merkle-tree" "^0.4.2" case "^1.6.3" -"@eslint-community/eslint-utils@^4.1.2", "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": - version "4.4.0" - resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" - integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== +"@eslint-community/eslint-utils@^4.1.2", "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.1": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz#d1145bf2c20132d6400495d6df4bf59362fd9d56" + integrity sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA== dependencies: - eslint-visitor-keys "^3.3.0" + eslint-visitor-keys "^3.4.3" "@eslint-community/regexpp@^4.11.0", "@eslint-community/regexpp@^4.6.1": - version "4.11.0" - resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.11.0.tgz#b0ffd0312b4a3fd2d6f77237e7248a5ad3a680ae" - integrity sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A== + version "4.12.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz#cfc6cffe39df390a3841cde2abccf92eaa7ae0e0" + integrity sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ== "@eslint/eslintrc@^2.1.4": version "2.1.4" @@ -351,10 +361,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.57.0": - version "8.57.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f" - integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g== +"@eslint/js@8.57.1": + version "8.57.1" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2" + integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q== "@ethereumjs/common@^3.2.0": version "3.2.0" @@ -735,12 +745,12 @@ resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d" integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA== -"@humanwhocodes/config-array@^0.11.14": - version "0.11.14" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" - integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== +"@humanwhocodes/config-array@^0.13.0": + version "0.13.0" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748" + integrity sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw== dependencies: - "@humanwhocodes/object-schema" "^2.0.2" + "@humanwhocodes/object-schema" "^2.0.3" debug "^4.3.1" minimatch "^3.0.5" @@ -749,7 +759,7 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^2.0.2": +"@humanwhocodes/object-schema@^2.0.3": version "2.0.3" resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3" integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== @@ -782,69 +792,69 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-28.1.3.tgz#2030606ec03a18c31803b8a36382762e447655df" - integrity sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw== +"@jest/console@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc" + integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.6.3" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + jest-message-util "^29.7.0" + jest-util "^29.7.0" slash "^3.0.0" -"@jest/expect-utils@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-28.1.3.tgz#58561ce5db7cd253a7edddbc051fb39dda50f525" - integrity sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA== +"@jest/expect-utils@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" + integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== dependencies: - jest-get-type "^28.0.2" + jest-get-type "^29.6.3" -"@jest/schemas@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" - integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== +"@jest/schemas@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" + integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== dependencies: - "@sinclair/typebox" "^0.24.1" + "@sinclair/typebox" "^0.27.8" -"@jest/test-result@^28.1.1": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-28.1.3.tgz#5eae945fd9f4b8fcfce74d239e6f725b6bf076c5" - integrity sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg== +"@jest/test-result@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c" + integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== dependencies: - "@jest/console" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/console" "^29.7.0" + "@jest/types" "^29.6.3" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/transform@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" - integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== +"@jest/transform@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c" + integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== dependencies: "@babel/core" "^7.11.6" - "@jest/types" "^28.1.3" - "@jridgewell/trace-mapping" "^0.3.13" + "@jest/types" "^29.6.3" + "@jridgewell/trace-mapping" "^0.3.18" babel-plugin-istanbul "^6.1.1" chalk "^4.0.0" - convert-source-map "^1.4.0" - fast-json-stable-stringify "^2.0.0" + convert-source-map "^2.0.0" + fast-json-stable-stringify "^2.1.0" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - jest-regex-util "^28.0.2" - jest-util "^28.1.3" + jest-haste-map "^29.7.0" + jest-regex-util "^29.6.3" + jest-util "^29.7.0" micromatch "^4.0.4" pirates "^4.0.4" slash "^3.0.0" - write-file-atomic "^4.0.1" + write-file-atomic "^4.0.2" -"@jest/types@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" - integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== +"@jest/types@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" + integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== dependencies: - "@jest/schemas" "^28.1.3" + "@jest/schemas" "^29.6.3" "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" "@types/node" "*" @@ -875,7 +885,7 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== -"@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": +"@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== @@ -883,12 +893,12 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@matterlabs/hardhat-zksync-deploy@1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-deploy/-/hardhat-zksync-deploy-1.5.0.tgz#40cb454fb187da4bb354f3acb48762a6657fcb36" - integrity sha512-7LAgYYwoKWHeR+3CyWEvA3NKBKtt7ktcr7SX6ZPgbEYqHAdXH02vxJZGwNADtMWpyYm8h+fEQkpPIgErD4NhmA== +"@matterlabs/hardhat-zksync-deploy@1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-deploy/-/hardhat-zksync-deploy-1.6.0.tgz#005a02dc63fe3d64e4892de485d7c72c75cc1f4a" + integrity sha512-yaOfhw7hmLOriBc+TnHrFOVKyi79XFqJN5D1Z4T6CadaSNLeq7pgBV81kkgVzaCJVoA/La2RGxPowsG7riZGbw== dependencies: - "@matterlabs/hardhat-zksync-solc" "^1.2.0" + "@matterlabs/hardhat-zksync-solc" "^1.2.5" chai "^4.3.4" chalk "^4.1.2" fs-extra "^11.2.0" @@ -898,27 +908,10 @@ sinon-chai "^3.7.0" ts-morph "^22.0.0" -"@matterlabs/hardhat-zksync-solc@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-1.2.0.tgz#c1ccd1eca0381840196f220b339da08320ad9583" - integrity sha512-zM3LY6jeCVfFe2MZfiK/6k8GUcxk9BcCBiNs1Ywh4PZ4OaabYOP3HuFFmVo89BFisIRROnQ+IyT9fayKKVbFCg== - dependencies: - "@nomiclabs/hardhat-docker" "^2.0.2" - chai "^4.3.4" - chalk "^4.1.2" - debug "^4.3.5" - dockerode "^4.0.2" - fs-extra "^11.2.0" - proper-lockfile "^4.1.2" - semver "^7.6.2" - sinon "^18.0.0" - sinon-chai "^3.7.0" - undici "^6.18.2" - -"@matterlabs/hardhat-zksync-solc@^1.2.0": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-1.2.1.tgz#07235fbe3905a144c58cddd3d8bfe8cc1b1824ac" - integrity sha512-009FEm1qSYTooamd+T8iylIhpk6zT80RnHd9fqZoCWFM49xR1foegAv76oOMyFMsHuSHDbwkWyTSNDo7U5vAzQ== +"@matterlabs/hardhat-zksync-solc@1.2.5", "@matterlabs/hardhat-zksync-solc@^1.2.5": + version "1.2.5" + resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-solc/-/hardhat-zksync-solc-1.2.5.tgz#fbeeabc3fea0dd232fa3c8cb31bd93c103eba11a" + integrity sha512-iZyznWl1Hoe/Z46hnUe1s2drBZBjJOS/eN+Ql2lIBX9B6NevBl9DYzkKzH5HEIMCLGnX9sWpRAJqUQJWy9UB6w== dependencies: "@nomiclabs/hardhat-docker" "^2.0.2" chai "^4.3.4" @@ -932,26 +925,25 @@ sinon-chai "^3.7.0" undici "^6.18.2" -"@matterlabs/hardhat-zksync-verify@1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-verify/-/hardhat-zksync-verify-1.5.0.tgz#a04ef9aed6fee1c4571aa7f9ba15ea452d49dd1c" - integrity sha512-dHprx+QNfGgoWYpSMHinXIjGyrC31TgiYlYxfnKmRLzfG4/ge3uirS0N2BDmo2Cl+S0SqzMrc4BJoDfnkA6tKw== +"@matterlabs/hardhat-zksync-verify@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@matterlabs/hardhat-zksync-verify/-/hardhat-zksync-verify-1.7.0.tgz#462a3bb015186e0de0eb68c95bf0bd360678b951" + integrity sha512-jQnrnE9uDfdP1KaG/GLs0J8+5efH97yRmNFzYuokT5qrSU0y6Ws6OFJmgDodB7hHnWOD6FSU9TebaFlAxxtFOA== dependencies: "@ethersproject/abi" "^5.7.0" "@ethersproject/address" "5.7.0" - "@matterlabs/hardhat-zksync-solc" "^1.2.0" + "@matterlabs/hardhat-zksync-solc" "^1.2.5" "@nomicfoundation/hardhat-verify" "^2.0.8" axios "^1.7.2" cbor "^9.0.2" chai "^4.3.4" chalk "^4.1.2" debug "^4.3.5" - hardhat "^2.22.5" semver "^7.6.2" sinon "^18.0.0" sinon-chai "^3.7.0" -"@metamask/abi-utils@^2.0.2": +"@metamask/abi-utils@^2.0.4": version "2.0.4" resolved "https://registry.yarnpkg.com/@metamask/abi-utils/-/abi-utils-2.0.4.tgz#20908c1d910f7a17a89fdf5778a5c59d5cb8b8be" integrity sha512-StnIgUB75x7a7AgUhiaUZDpCsqGp7VkNnZh2XivXkJ6mPkE83U8ARGQj5MbRis7VJY8BC5V1AbB1fjdh0hupPQ== @@ -959,17 +951,17 @@ "@metamask/superstruct" "^3.1.0" "@metamask/utils" "^9.0.0" -"@metamask/eth-sig-util@7.0.1": - version "7.0.1" - resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-7.0.1.tgz#ad3227d6120f15f9293478de7dd9685a5c329586" - integrity sha512-59GSrMyFH2fPfu7nKeIQdZ150zxXNNhAQIUaFRUW+MGtVA4w/ONbiQobcRBLi+jQProfIyss51G8pfLPcQ0ylg== +"@metamask/eth-sig-util@8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-8.0.0.tgz#6310d93cd1101cab3cc6bc2a1ff526290ed2695b" + integrity sha512-IwE6aoxUL39IhmsAgE4nk+OZbNo+ThFZRNsUjE1pjdEa4MFpWzm1Rue4zJ5DMy1oUyZBi/aiCLMhdMnjl2bh2Q== dependencies: "@ethereumjs/util" "^8.1.0" - "@metamask/abi-utils" "^2.0.2" - "@metamask/utils" "^8.1.0" + "@metamask/abi-utils" "^2.0.4" + "@metamask/utils" "^9.0.0" + "@scure/base" "~1.1.3" ethereum-cryptography "^2.1.2" tweetnacl "^1.0.3" - tweetnacl-util "^0.15.1" "@metamask/eth-sig-util@^4.0.0": version "4.0.1" @@ -982,30 +974,15 @@ tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" -"@metamask/superstruct@^3.0.0", "@metamask/superstruct@^3.1.0": +"@metamask/superstruct@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@metamask/superstruct/-/superstruct-3.1.0.tgz#148f786a674fba3ac885c1093ab718515bf7f648" integrity sha512-N08M56HdOgBfRKkrgCMZvQppkZGcArEop3kixNEtVbJKm6P9Cfg0YkI6X0s1g78sNrj2fWUwvJADdZuzJgFttA== -"@metamask/utils@^8.1.0": - version "8.5.0" - resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-8.5.0.tgz#ddd0d4012d5191809404c97648a837ea9962cceb" - integrity sha512-I6bkduevXb72TIM9q2LRO63JSsF9EXduh3sBr9oybNX2hNNpr/j1tEjXrsG0Uabm4MJ1xkGAQEMwifvKZIkyxQ== - dependencies: - "@ethereumjs/tx" "^4.2.0" - "@metamask/superstruct" "^3.0.0" - "@noble/hashes" "^1.3.1" - "@scure/base" "^1.1.3" - "@types/debug" "^4.1.7" - debug "^4.3.4" - pony-cause "^2.1.10" - semver "^7.5.4" - uuid "^9.0.1" - "@metamask/utils@^9.0.0": - version "9.1.0" - resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-9.1.0.tgz#54e5afcec07e6032d4dd4171e862b36daa52d77e" - integrity sha512-g2REf+xSt0OZfMoNNdC4+/Yy8eP3KUqvIArel54XRFKPoXbHI6+YjFfrLtfykWBjffOp7DTfIc3Kvk5TLfuiyg== + version "9.3.0" + resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-9.3.0.tgz#4726bd7f5d6a43ea8425b6d663ab9207f617c2d1" + integrity sha512-w8CVbdkDrVXFJbfBSlDfafDR6BAkpDmv1bC1UJVCoVny5tW2RKAdn9i68Xf7asYT4TnUhl/hN4zfUiKQq9II4g== dependencies: "@ethereumjs/tx" "^4.2.0" "@metamask/superstruct" "^3.1.0" @@ -1041,11 +1018,16 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== -"@noble/hashes@1.4.0", "@noble/hashes@^1.3.1", "@noble/hashes@^1.4.0", "@noble/hashes@~1.4.0": +"@noble/hashes@1.4.0", "@noble/hashes@~1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== +"@noble/hashes@^1.3.1", "@noble/hashes@^1.4.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0" + integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== + "@noble/secp256k1@1.7.1", "@noble/secp256k1@~1.7.0": version "1.7.1" resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" @@ -1072,101 +1054,53 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@nomicfoundation/edr-darwin-arm64@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-arm64/-/edr-darwin-arm64-0.3.8.tgz#09de1f03c0336670fce959f376f0fe9137545836" - integrity sha512-eB0leCexS8sQEmfyD72cdvLj9djkBzQGP4wSQw6SNf2I4Sw4Cnzb3d45caG2FqFFjbvfqL0t+badUUIceqQuMw== - -"@nomicfoundation/edr-darwin-arm64@0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-arm64/-/edr-darwin-arm64-0.5.2.tgz#72f7a826c9f0f2c91308edca562de3b9484ac079" - integrity sha512-Gm4wOPKhbDjGTIRyFA2QUAPfCXA1AHxYOKt3yLSGJkQkdy9a5WW+qtqKeEKHc/+4wpJSLtsGQfpzyIzggFfo/A== - -"@nomicfoundation/edr-darwin-x64@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-x64/-/edr-darwin-x64-0.3.8.tgz#c3ca237c74ed3b6fb800fd7f1de7174f4ad24f72" - integrity sha512-JksVCS1N5ClwVF14EvO25HCQ+Laljh/KRfHERMVAC9ZwPbTuAd/9BtKvToCBi29uCHWqsXMI4lxCApYQv2nznw== - -"@nomicfoundation/edr-darwin-x64@0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-x64/-/edr-darwin-x64-0.5.2.tgz#6d0fedb219d664631c6feddc596ab8c3bbc36fa8" - integrity sha512-ClyABq2dFCsrYEED3/UIO0c7p4H1/4vvlswFlqUyBpOkJccr75qIYvahOSJRM62WgUFRhbSS0OJXFRwc/PwmVg== - -"@nomicfoundation/edr-linux-arm64-gnu@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-gnu/-/edr-linux-arm64-gnu-0.3.8.tgz#08bd367789e745f4e78a8a87368fc470eea8a7de" - integrity sha512-raCE+fOeNXhVBLUo87cgsHSGvYYRB6arih4eG6B9KGACWK5Veebtm9xtKeiD8YCsdUlUfat6F7ibpeNm91fpsA== - -"@nomicfoundation/edr-linux-arm64-gnu@0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-gnu/-/edr-linux-arm64-gnu-0.5.2.tgz#60e4d52d963141bc2bb4a02639dc590a7fbdda2f" - integrity sha512-HWMTVk1iOabfvU2RvrKLDgtFjJZTC42CpHiw2h6rfpsgRqMahvIlx2jdjWYzFNy1jZKPTN1AStQ/91MRrg5KnA== - -"@nomicfoundation/edr-linux-arm64-musl@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-musl/-/edr-linux-arm64-musl-0.3.8.tgz#9cab5cbec0052cb5812c6c66c463d28a756cd916" - integrity sha512-PwiDp4wBZWMCIy29eKkv8moTKRrpiSDlrc+GQMSZLhOAm8T33JKKXPwD/2EbplbhCygJDGXZdtEKl9x9PaH66A== - -"@nomicfoundation/edr-linux-arm64-musl@0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-musl/-/edr-linux-arm64-musl-0.5.2.tgz#6676a09eab57c435a16ffc144658c896acca9baa" - integrity sha512-CwsQ10xFx/QAD5y3/g5alm9+jFVuhc7uYMhrZAu9UVF+KtVjeCvafj0PaVsZ8qyijjqVuVsJ8hD1x5ob7SMcGg== - -"@nomicfoundation/edr-linux-x64-gnu@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-gnu/-/edr-linux-x64-gnu-0.3.8.tgz#d4a11b6ebcd1b29d7431d185c6df3e65a2cd4bde" - integrity sha512-6AcvA/XKoipGap5jJmQ9Y6yT7Uf39D9lu2hBcDCXnXbMcXaDGw4mn1/L4R63D+9VGZyu1PqlcJixCUZlGGIWlg== - -"@nomicfoundation/edr-linux-x64-gnu@0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-gnu/-/edr-linux-x64-gnu-0.5.2.tgz#f558d9697ce961410e7a7468f9ab8c8a601b9df6" - integrity sha512-CWVCEdhWJ3fmUpzWHCRnC0/VLBDbqtqTGTR6yyY1Ep3S3BOrHEAvt7h5gx85r2vLcztisu2vlDq51auie4IU1A== - -"@nomicfoundation/edr-linux-x64-musl@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-musl/-/edr-linux-x64-musl-0.3.8.tgz#b8eef960d06380a365866ddd1e97ecb7fbf6bd70" - integrity sha512-cxb0sEmZjlwhYWO28sPsV64VDx31ekskhC1IsDXU1p9ntjHSJRmW4KEIqJ2O3QwJap/kLKfMS6TckvY10gjc6w== - -"@nomicfoundation/edr-linux-x64-musl@0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-musl/-/edr-linux-x64-musl-0.5.2.tgz#c9c9cbb2997499f75c1d022be724b0551d44569f" - integrity sha512-+aJDfwhkddy2pP5u1ISg3IZVAm0dO836tRlDTFWtvvSMQ5hRGqPcWwlsbobhDQsIxhPJyT7phL0orCg5W3WMeA== - -"@nomicfoundation/edr-win32-x64-msvc@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-win32-x64-msvc/-/edr-win32-x64-msvc-0.3.8.tgz#ac7061aeb07cc847c429513080b76bb05297a869" - integrity sha512-yVuVPqRRNLZk7TbBMkKw7lzCvI8XO8fNTPTYxymGadjr9rEGRuNTU1yBXjfJ59I1jJU/X2TSkRk1OFX0P5tpZQ== - -"@nomicfoundation/edr-win32-x64-msvc@0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-win32-x64-msvc/-/edr-win32-x64-msvc-0.5.2.tgz#f16db88bf4fe09a996af0a25096e09deecb72bfa" - integrity sha512-CcvvuA3sAv7liFNPsIR/68YlH6rrybKzYttLlMr80d4GKJjwJ5OKb3YgE6FdZZnOfP19HEHhsLcE0DPLtY3r0w== - -"@nomicfoundation/edr@^0.3.1": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr/-/edr-0.3.8.tgz#28fe7ae4f462ae74a16cd1a714ff7b1cd9c22b4c" - integrity sha512-u2UJ5QpznSHVkZRh6ePWoeVb6kmPrrqh08gCnZ9FHlJV9CITqlrTQHJkacd+INH31jx88pTAJnxePE4XAiH5qg== - dependencies: - "@nomicfoundation/edr-darwin-arm64" "0.3.8" - "@nomicfoundation/edr-darwin-x64" "0.3.8" - "@nomicfoundation/edr-linux-arm64-gnu" "0.3.8" - "@nomicfoundation/edr-linux-arm64-musl" "0.3.8" - "@nomicfoundation/edr-linux-x64-gnu" "0.3.8" - "@nomicfoundation/edr-linux-x64-musl" "0.3.8" - "@nomicfoundation/edr-win32-x64-msvc" "0.3.8" - -"@nomicfoundation/edr@^0.5.0": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr/-/edr-0.5.2.tgz#e8c7b3d3dd4a312432ab3930dec60f76dc5c4926" - integrity sha512-hW/iLvUQZNTVjFyX/I40rtKvvDOqUEyIi96T28YaLfmPL+3LW2lxmYLUXEJ6MI14HzqxDqrLyhf6IbjAa2r3Dw== - dependencies: - "@nomicfoundation/edr-darwin-arm64" "0.5.2" - "@nomicfoundation/edr-darwin-x64" "0.5.2" - "@nomicfoundation/edr-linux-arm64-gnu" "0.5.2" - "@nomicfoundation/edr-linux-arm64-musl" "0.5.2" - "@nomicfoundation/edr-linux-x64-gnu" "0.5.2" - "@nomicfoundation/edr-linux-x64-musl" "0.5.2" - "@nomicfoundation/edr-win32-x64-msvc" "0.5.2" +"@nomicfoundation/edr-darwin-arm64@0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-arm64/-/edr-darwin-arm64-0.6.4.tgz#6eaa64a6ea5201e4c92b121f2b7fd197b26e450a" + integrity sha512-QNQErISLgssV9+qia8sIjRANqtbW8snSDvjspixT/kSQ5ZSGxxctTg7x72wPSrcu8+EBEveIe5uqENIp5GH8HQ== + +"@nomicfoundation/edr-darwin-x64@0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-x64/-/edr-darwin-x64-0.6.4.tgz#d15ca89e9deef7d0a710cf90e79f3cc270a5a999" + integrity sha512-cjVmREiwByyc9+oGfvAh49IAw+oVJHF9WWYRD+Tm/ZlSpnEVWxrGNBak2bd/JSYjn+mZE7gmWS4SMRi4nKaLUg== + +"@nomicfoundation/edr-linux-arm64-gnu@0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-gnu/-/edr-linux-arm64-gnu-0.6.4.tgz#e73c41ca015dfddb5f4cb6cd3d9b2cbe5cc28989" + integrity sha512-96o9kRIVD6W5VkgKvUOGpWyUGInVQ5BRlME2Fa36YoNsRQMaKtmYJEU0ACosYES6ZTpYC8U5sjMulvPtVoEfOA== + +"@nomicfoundation/edr-linux-arm64-musl@0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-musl/-/edr-linux-arm64-musl-0.6.4.tgz#90906f733e4ad26657baeb22d28855d934ab7541" + integrity sha512-+JVEW9e5plHrUfQlSgkEj/UONrIU6rADTEk+Yp9pbe+mzNkJdfJYhs5JYiLQRP4OjxH4QOrXI97bKU6FcEbt5Q== + +"@nomicfoundation/edr-linux-x64-gnu@0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-gnu/-/edr-linux-x64-gnu-0.6.4.tgz#11b8bd73df145a192e5a08199e5e81995fcde502" + integrity sha512-nzYWW+fO3EZItOeP4CrdMgDXfaGBIBkKg0Y/7ySpUxLqzut40O4Mb0/+quqLAFkacUSWMlFp8nsmypJfOH5zoA== + +"@nomicfoundation/edr-linux-x64-musl@0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-musl/-/edr-linux-x64-musl-0.6.4.tgz#a34b9a2c9e34853207824dc81622668a069ca642" + integrity sha512-QFRoE9qSQ2boRrVeQ1HdzU+XN7NUgwZ1SIy5DQt4d7jCP+5qTNsq8LBNcqhRBOATgO63nsweNUhxX/Suj5r1Sw== + +"@nomicfoundation/edr-win32-x64-msvc@0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-win32-x64-msvc/-/edr-win32-x64-msvc-0.6.4.tgz#ca035c6f66ae9f88fa3ef123a1f3a2099cce7a5a" + integrity sha512-2yopjelNkkCvIjUgBGhrn153IBPLwnsDeNiq6oA0WkeM8tGmQi4td+PGi9jAriUDAkc59Yoi2q9hYA6efiY7Zw== + +"@nomicfoundation/edr@^0.6.4": + version "0.6.4" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr/-/edr-0.6.4.tgz#1cd336c46a60f5af774e6cf0f1943f49f63dded6" + integrity sha512-YgrSuT3yo5ZQkbvBGqQ7hG+RDvz3YygSkddg4tb1Z0Y6pLXFzwrcEwWaJCFAVeeZxdxGfCgGMUYgRVneK+WXkw== + dependencies: + "@nomicfoundation/edr-darwin-arm64" "0.6.4" + "@nomicfoundation/edr-darwin-x64" "0.6.4" + "@nomicfoundation/edr-linux-arm64-gnu" "0.6.4" + "@nomicfoundation/edr-linux-arm64-musl" "0.6.4" + "@nomicfoundation/edr-linux-x64-gnu" "0.6.4" + "@nomicfoundation/edr-linux-x64-musl" "0.6.4" + "@nomicfoundation/edr-win32-x64-msvc" "0.6.4" "@nomicfoundation/ethereumjs-block@5.0.2": version "5.0.2" @@ -1332,65 +1266,35 @@ mcl-wasm "^0.7.1" rustbn.js "~0.2.0" -"@nomicfoundation/hardhat-chai-matchers@2.0.6": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-chai-matchers/-/hardhat-chai-matchers-2.0.6.tgz#ef88be3bd666adf29c06ac7882e96c8dbaaa32ba" - integrity sha512-Te1Uyo9oJcTCF0Jy9dztaLpshmlpjLf2yPtWXlXuLjMt3RRSmJLm/+rKVTW6gfadAEs12U/it6D0ZRnnRGiICQ== +"@nomicfoundation/hardhat-chai-matchers@2.0.8": + version "2.0.8" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-chai-matchers/-/hardhat-chai-matchers-2.0.8.tgz#9c7cfc4ad0f0a5e9cf16aba8ab668c02f6e273aa" + integrity sha512-Z5PiCXH4xhNLASROlSUOADfhfpfhYO6D7Hn9xp8PddmHey0jq704cr6kfU8TRrQ4PUZbpfsZadPj+pCfZdjPIg== dependencies: "@types/chai-as-promised" "^7.1.3" chai-as-promised "^7.1.1" deep-eql "^4.0.1" ordinal "^1.0.3" -"@nomicfoundation/hardhat-ethers@3.0.5": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-ethers/-/hardhat-ethers-3.0.5.tgz#0422c2123dec7c42e7fb2be8e1691f1d9708db56" - integrity sha512-RNFe8OtbZK6Ila9kIlHp0+S80/0Bu/3p41HUpaRIoHLm6X3WekTd83vob3rE54Duufu1edCiBDxspBzi2rxHHw== +"@nomicfoundation/hardhat-ethers@3.0.8": + version "3.0.8" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-ethers/-/hardhat-ethers-3.0.8.tgz#af078f566373abeb77e11cbe69fe3dd47f8bfc27" + integrity sha512-zhOZ4hdRORls31DTOqg+GmEZM0ujly8GGIuRY7t7szEk2zW/arY1qDug/py8AEktT00v5K+b6RvbVog+va51IA== dependencies: debug "^4.1.1" lodash.isequal "^4.5.0" -"@nomicfoundation/hardhat-network-helpers@1.0.10": - version "1.0.10" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-network-helpers/-/hardhat-network-helpers-1.0.10.tgz#c61042ceb104fdd6c10017859fdef6529c1d6585" - integrity sha512-R35/BMBlx7tWN5V6d/8/19QCwEmIdbnA4ZrsuXgvs8i2qFx5i7h6mH5pBS4Pwi4WigLH+upl6faYusrNPuzMrQ== +"@nomicfoundation/hardhat-network-helpers@1.0.12": + version "1.0.12" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-network-helpers/-/hardhat-network-helpers-1.0.12.tgz#2c0abec0c50b75f9d0d71776e49e3b5ef746d289" + integrity sha512-xTNQNI/9xkHvjmCJnJOTyqDSl8uq1rKb2WOVmixQxFtRd7Oa3ecO8zM0cyC2YmOK+jHB9WPZ+F/ijkHg1CoORA== dependencies: ethereumjs-util "^7.1.4" -"@nomicfoundation/hardhat-verify@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-verify/-/hardhat-verify-2.0.2.tgz#085f8509a335db44ea3bf39a8561f1ce0462fea2" - integrity sha512-SXmLPHrfh801m0Dj/8v4stAM6OI0tFktDlWe1pn3k43bCCjn5TGqcVy7hCtauG8/AlQWNZhR+01qTovSSVTvXQ== - dependencies: - "@ethersproject/abi" "^5.1.2" - "@ethersproject/address" "^5.0.2" - cbor "^8.1.0" - chalk "^2.4.2" - debug "^4.1.1" - lodash.clonedeep "^4.5.0" - semver "^6.3.0" - table "^6.8.0" - undici "^5.14.0" - -"@nomicfoundation/hardhat-verify@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-verify/-/hardhat-verify-2.0.5.tgz#dcc2cb5e5c55a39704c7d492436f80f05a4ca5a3" - integrity sha512-Tg4zu8RkWpyADSFIgF4FlJIUEI4VkxcvELsmbJn2OokbvH2SnUrqKmw0BBfDrtvP0hhmx8wsnrRKP5DV/oTyTA== - dependencies: - "@ethersproject/abi" "^5.1.2" - "@ethersproject/address" "^5.0.2" - cbor "^8.1.0" - chalk "^2.4.2" - debug "^4.1.1" - lodash.clonedeep "^4.5.0" - semver "^6.3.0" - table "^6.8.0" - undici "^5.14.0" - -"@nomicfoundation/hardhat-verify@^2.0.8": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-verify/-/hardhat-verify-2.0.9.tgz#98a1c9a3742b008be71a709d074f10dec23bc5f0" - integrity sha512-7kD8hu1+zlnX87gC+UN4S0HTKBnIsDfXZ/pproq1gYsK94hgCk+exvzXbwR0X2giiY/RZPkqY9oKRi0Uev91hQ== +"@nomicfoundation/hardhat-verify@2.0.11", "@nomicfoundation/hardhat-verify@^2.0.8": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-verify/-/hardhat-verify-2.0.11.tgz#4ce12b592e01ee93a81933924609c233ed00d951" + integrity sha512-lGIo4dNjVQFdsiEgZp3KP6ntLiF7xJEJsbNHfSyIiFCyI0Yv0518ElsFtMC5uCuHEChiBBMrib9jWQvHHT+X3Q== dependencies: "@ethersproject/abi" "^5.1.2" "@ethersproject/address" "^5.0.2" @@ -1459,10 +1363,10 @@ fs-extra "^7.0.1" node-fetch "^2.6.0" -"@openzeppelin/contracts@5.0.2": - version "5.0.2" - resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-5.0.2.tgz#b1d03075e49290d06570b2fd42154d76c2a5d210" - integrity sha512-ytPc6eLGcHHnapAZ9S+5qsdomhjo6QBHTDRRBFfTxXIpsicMhVPouPgmUPebZZZGX7vt9USA+Z+0M0dSVtSUEA== +"@openzeppelin/contracts@5.1.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-5.1.0.tgz#4e61162f2a2bf414c4e10c45eca98ce5f1aadbd4" + integrity sha512-p1ULhl7BXzjjbha5aqst+QMLY+4/LCWADXOCsmLHRM77AqiPjnd9vvUN9sosUfhL9JGKpZ0TjEGxgvnizmWGSA== "@pkgjs/parseargs@^0.11.0": version "0.11.0" @@ -1482,18 +1386,23 @@ graceful-fs "4.2.10" "@pnpm/npm-conf@^2.1.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@pnpm/npm-conf/-/npm-conf-2.3.0.tgz#c687bd4eecd16347e197db3bfe7e28b12aa80bfd" - integrity sha512-DqrO+oXGR7HCuicNy6quk6ALJSDDPKI7RZz1bP5im8mSL8J2e+9w26LdkjuAfpAjOutYUJVbnXnx4IbTQeIgfw== + version "2.3.1" + resolved "https://registry.yarnpkg.com/@pnpm/npm-conf/-/npm-conf-2.3.1.tgz#bb375a571a0bd63ab0a23bece33033c683e9b6b0" + integrity sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw== dependencies: "@pnpm/config.env-replace" "^1.1.0" "@pnpm/network.ca-file" "^1.0.1" config-chain "^1.1.11" -"@scure/base@^1.1.3", "@scure/base@~1.1.0", "@scure/base@~1.1.6": - version "1.1.7" - resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.7.tgz#fe973311a5c6267846aa131bc72e96c5d40d2b30" - integrity sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g== +"@rtsao/scc@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@rtsao/scc/-/scc-1.1.0.tgz#927dd2fae9bc3361403ac2c7a00c32ddce9ad7e8" + integrity sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g== + +"@scure/base@^1.1.3", "@scure/base@~1.1.0", "@scure/base@~1.1.3", "@scure/base@~1.1.6": + version "1.1.9" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.9.tgz#e5e142fbbfe251091f9c5f1dd4c834ac04c3dbd1" + integrity sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg== "@scure/bip32@1.1.5": version "1.1.5" @@ -1597,23 +1506,16 @@ "@sentry/types" "5.30.0" tslib "^1.9.3" -"@sinclair/typebox@^0.24.1": - version "0.24.51" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" - integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== +"@sinclair/typebox@^0.27.8": + version "0.27.8" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" + integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== "@sindresorhus/is@^5.2.0": version "5.6.0" resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-5.6.0.tgz#41dd6093d34652cddb5d5bdeee04eafc33826668" integrity sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g== -"@sinonjs/commons@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-2.0.0.tgz#fd4ca5b063554307e8327b4564bd56d3b73924a3" - integrity sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg== - dependencies: - type-detect "4.0.8" - "@sinonjs/commons@^3.0.0", "@sinonjs/commons@^3.0.1": version "3.0.1" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd" @@ -1621,26 +1523,33 @@ dependencies: type-detect "4.0.8" -"@sinonjs/fake-timers@^11.2.2": +"@sinonjs/fake-timers@11.2.2": version "11.2.2" resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-11.2.2.tgz#50063cc3574f4a27bd8453180a04171c85cc9699" integrity sha512-G2piCSxQ7oWOxwGSAyFHfPIsyeJGXYtc6mFbnFA+kRXkiEnTl8c/8jul2S329iFBnDI9HGoeWWAZvuvOkZccgw== dependencies: "@sinonjs/commons" "^3.0.0" +"@sinonjs/fake-timers@^13.0.1": + version "13.0.5" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-13.0.5.tgz#36b9dbc21ad5546486ea9173d6bea063eb1717d5" + integrity sha512-36/hTbH2uaWuGVERyC6da9YwGWnzUZXuPro/F2LfsdOsLnCojz/iSH8MxUt/FD2S5XBSVPhmArFUXcpCQ2Hkiw== + dependencies: + "@sinonjs/commons" "^3.0.1" + "@sinonjs/samsam@^8.0.0": - version "8.0.0" - resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-8.0.0.tgz#0d488c91efb3fa1442e26abea81759dfc8b5ac60" - integrity sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew== + version "8.0.2" + resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-8.0.2.tgz#e4386bf668ff36c95949e55a38dc5f5892fc2689" + integrity sha512-v46t/fwnhejRSFTGqbpn9u+LQ9xJDse10gNnPgAcxgdoCDMXj/G2asWAC/8Qs+BAZDicX+MNZouXT1A7c83kVw== dependencies: - "@sinonjs/commons" "^2.0.0" + "@sinonjs/commons" "^3.0.1" lodash.get "^4.4.2" - type-detect "^4.0.8" + type-detect "^4.1.0" -"@sinonjs/text-encoding@^0.7.2": - version "0.7.2" - resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz#5981a8db18b56ba38ef0efb7d995b12aa7b51918" - integrity sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ== +"@sinonjs/text-encoding@^0.7.3": + version "0.7.3" + resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz#282046f03e886e352b2d5f5da5eb755e01457f3f" + integrity sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA== "@solidity-parser/parser@^0.14.0": version "0.14.5" @@ -1649,13 +1558,6 @@ dependencies: antlr4ts "^0.5.0-alpha.4" -"@solidity-parser/parser@^0.16.0": - version "0.16.2" - resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.16.2.tgz#42cb1e3d88b3e8029b0c9befff00b634cd92d2fa" - integrity sha512-PI9NfoA3P8XK2VBkK5oIfRgKDsicwDZfkVq9ZTBCQYGOP1N2owgY2dyLGyU5/J/hQs8KRk55kdmvTLjy3Mu3vg== - dependencies: - antlr4ts "^0.5.0-alpha.4" - "@solidity-parser/parser@^0.18.0": version "0.18.0" resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.18.0.tgz#8e77a02a09ecce957255a2f48c9a7178ec191908" @@ -1678,13 +1580,6 @@ mkdirp "^3.0.1" path-browserify "^1.0.1" -"@types/babel__traverse@^7.0.6": - version "7.20.6" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.6.tgz#8dc9f0ae0f202c08d8d4dab648912c8d6038e3f7" - integrity sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg== - dependencies: - "@babel/types" "^7.20.7" - "@types/bn.js@^4.11.3": version "4.11.6" resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" @@ -1693,9 +1588,9 @@ "@types/node" "*" "@types/bn.js@^5.1.0": - version "5.1.5" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.5.tgz#2e0dacdcce2c0f16b905d20ff87aedbc6f7b4bf0" - integrity sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A== + version "5.1.6" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.6.tgz#9ba818eec0c85e4d3c679518428afdf611d03203" + integrity sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w== dependencies: "@types/node" "*" @@ -1707,9 +1602,11 @@ "@types/chai" "*" "@types/chai@*": - version "4.3.17" - resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.3.17.tgz#9195f9d242f2ac3b429908864b6b871a8f73f489" - integrity sha512-zmZ21EWzR71B4Sscphjief5djsLre50M6lI622OSySTmn9DB3j+C3kWroHfBQWXbOBwbgg/M8CG/hUxDLIloow== + version "5.0.1" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-5.0.1.tgz#2c3705555cf11f5f59c836a84c44afcfe4e5689d" + integrity sha512-5T8ajsg3M/FOncpLYW7sdOcD6yf4+722sze/tc4KQV0P8Z2rAr3SAuHCIkYmYpt8VbcQlnz8SxlOlPQYefe4cA== + dependencies: + "@types/deep-eql" "*" "@types/concat-stream@^1.6.0": version "1.6.1" @@ -1725,6 +1622,11 @@ dependencies: "@types/ms" "*" +"@types/deep-eql@*": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/deep-eql/-/deep-eql-4.0.2.tgz#334311971d3a07121e7eb91b684a605e7eea9cbd" + integrity sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw== + "@types/form-data@0.0.33": version "0.0.33" resolved "https://registry.yarnpkg.com/@types/form-data/-/form-data-0.0.33.tgz#c9ac85b2a5fd18435b8c85d9ecb50e6d6c893ff8" @@ -1792,16 +1694,18 @@ integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g== "@types/node@*": - version "22.1.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.1.0.tgz#6d6adc648b5e03f0e83c78dc788c2b037d0ad94b" - integrity sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw== + version "22.9.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.0.tgz#b7f16e5c3384788542c72dc3d561a7ceae2c0365" + integrity sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ== dependencies: - undici-types "~6.13.0" + undici-types "~6.19.8" -"@types/node@18.15.13": - version "18.15.13" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.13.tgz#f64277c341150c979e42b00e4ac289290c9df469" - integrity sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q== +"@types/node@22.7.5": + version "22.7.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" + integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== + dependencies: + undici-types "~6.19.2" "@types/node@^10.0.3": version "10.17.60" @@ -1820,15 +1724,10 @@ dependencies: "@types/node" "*" -"@types/prettier@^2.1.5": - version "2.7.3" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f" - integrity sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA== - "@types/qs@^6.2.31", "@types/qs@^6.9.7": - version "6.9.15" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.15.tgz#adde8a060ec9c305a82de1babc1056e73bd64dce" - integrity sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg== + version "6.9.17" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.17.tgz#fc560f60946d0aeff2f914eb41679659d3310e1a" + integrity sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ== "@types/readable-stream@^2.3.13": version "2.3.15" @@ -1856,9 +1755,9 @@ integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== "@types/yargs@^17.0.8": - version "17.0.32" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.32.tgz#030774723a2f7faafebf645f4e5a48371dca6229" - integrity sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog== + version "17.0.33" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.33.tgz#8c32303da83eec050a84b3c7ae7b9f922d13e32d" + integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== dependencies: "@types/yargs-parser" "*" @@ -1867,13 +1766,13 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@uniswap/permit2-sdk@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@uniswap/permit2-sdk/-/permit2-sdk-1.2.0.tgz#ed86440a87a6c318169c8e6f161fc263ad040891" - integrity sha512-Ietv3FxN7+RCXcPSED/i/8b0a2GUZrMdyX05k3FsSztvYKyPFAMS/hBXojF0NZqYB1bHecqYc7Ej+7tV/rdYXg== +"@uniswap/permit2-sdk@1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@uniswap/permit2-sdk/-/permit2-sdk-1.3.0.tgz#b54124e570f0adbaca9d39b2de3054fd7d3798a1" + integrity sha512-LstYQWP47dwpQrgqBJ+ysFstne9LgI5FGiKHc2ewjj91MTY8Mq1reocu6U/VDncdR5ef30TUOcZ7gPExRY8r6Q== dependencies: - ethers "^5.3.1" - tiny-invariant "^1.3.1" + ethers "^5.7.0" + tiny-invariant "^1.1.0" JSONStream@1.3.2: version "1.3.2" @@ -1912,9 +1811,9 @@ acorn-jsx@^5.3.2: integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn@^8.9.0: - version "8.12.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" - integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== + version "8.14.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0" + integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== adm-zip@^0.4.16: version "0.4.16" @@ -2001,9 +1900,9 @@ ansi-regex@^5.0.1: integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== ansi-regex@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" - integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + version "6.1.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" + integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== ansi-styles@^3.2.1: version "3.2.1" @@ -2029,7 +1928,7 @@ ansi-styles@^6.1.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== -antlr4@^4.11.0: +antlr4@^4.13.1-patch-1: version "4.13.2" resolved "https://registry.yarnpkg.com/antlr4/-/antlr4-4.13.2.tgz#0d084ad0e32620482a9c3a0e2470c02e72e4006d" integrity sha512-QiVbZhyy4xAZ17UPEuG3YTOt8ZaoeOR1CvEAqrEsDBsOqINslaB147i9xqljZqoyf5S+EUlGStaj+t22LT9MOg== @@ -2067,7 +1966,7 @@ array-buffer-byte-length@^1.0.1: call-bind "^1.0.5" is-array-buffer "^3.0.4" -array-includes@^3.1.7: +array-includes@^3.1.8: version "3.1.8" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.8.tgz#5e370cbe172fdd5dd6530c1d4aadda25281ba97d" integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== @@ -2089,7 +1988,7 @@ array-uniq@1.0.3: resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" integrity sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q== -array.prototype.findlastindex@^1.2.3: +array.prototype.findlastindex@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz#8c35a755c72908719453f87145ca011e39334d0d" integrity sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ== @@ -2187,9 +2086,9 @@ axios@^0.21.1: follow-redirects "^1.14.0" axios@^1.5.1, axios@^1.7.2: - version "1.7.3" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.3.tgz#a1125f2faf702bc8e8f2104ec3a76fab40257d85" - integrity sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw== + version "1.7.7" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" + integrity sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q== dependencies: follow-redirects "^1.15.6" form-data "^4.0.0" @@ -2207,22 +2106,25 @@ babel-plugin-istanbul@^6.1.1: test-exclude "^6.0.0" babel-preset-current-node-syntax@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" - integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== + version "1.1.0" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz#9a929eafece419612ef4ae4f60b1862ebad8ef30" + integrity sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw== dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" - "@babel/plugin-syntax-class-properties" "^7.8.3" - "@babel/plugin-syntax-import-meta" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-import-attributes" "^7.24.7" + "@babel/plugin-syntax-import-meta" "^7.10.4" "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-top-level-await" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" balanced-match@^1.0.0: version "1.0.2" @@ -2368,15 +2270,15 @@ browserify-aes@^1.2.0: inherits "^2.0.1" safe-buffer "^5.0.1" -browserslist@^4.23.1: - version "4.23.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.3.tgz#debb029d3c93ebc97ffbc8d9cbb03403e227c800" - integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA== +browserslist@^4.24.0: + version "4.24.2" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.2.tgz#f5845bc91069dbd55ee89faf9822e1d885d16580" + integrity sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg== dependencies: - caniuse-lite "^1.0.30001646" - electron-to-chromium "^1.5.4" + caniuse-lite "^1.0.30001669" + electron-to-chromium "^1.5.41" node-releases "^2.0.18" - update-browserslist-db "^1.1.0" + update-browserslist-db "^1.1.1" bs58@^4.0.0: version "4.0.1" @@ -2450,18 +2352,6 @@ buildcheck@~0.0.6: resolved "https://registry.yarnpkg.com/buildcheck/-/buildcheck-0.0.6.tgz#89aa6e417cfd1e2196e3f8fe915eb709d2fe4238" integrity sha512-8f9ZJCUXyT1M35Jx7MkBgmBMo3oHTTBIPLiY9xyL0pl3T5RwcPEY8cUHr5LBNfu/fk6c2T4DJZuVM/8ZZT2D2A== -builtin-modules@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" - integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== - -builtins@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.1.0.tgz#6d85eeb360c4ebc166c3fdef922a15aa7316a5e8" - integrity sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg== - dependencies: - semver "^7.0.0" - bytes@3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" @@ -2511,10 +2401,10 @@ camelcase@^6.0.0, camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001646: - version "1.0.30001649" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001649.tgz#3ec700309ca0da2b0d3d5fb03c411b191761c992" - integrity sha512-fJegqZZ0ZX8HOWr6rcafGr72+xcgJKI9oWfDW5DrD7ExUtgZC7a7R7ZYmZqplh7XDocFdGeIFn7roAxhOeYrPQ== +caniuse-lite@^1.0.30001669: + version "1.0.30001678" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001678.tgz#b930b04cd0b295136405634aa32ad540d7eeb71e" + integrity sha512-RR+4U/05gNtps58PEBDZcPWTgEO2MBeoPZ96aQcjmfkBWRIDfN451fW2qyDA9/+HohLLIL5GqiMwA+IB1pWarw== case@^1.6.3: version "1.6.3" @@ -2557,20 +2447,7 @@ chai-bn@0.3.1: resolved "https://registry.yarnpkg.com/chai-bn/-/chai-bn-0.3.1.tgz#677cd3c0b58bae83ffe51604a811d0b3c6f41544" integrity sha512-vuzEy0Cb+k8zqi2SHOmvZdRSbKcSOJfS1Nv8+6YDJIyCzfxkTCHLNRyjRIoRJ3WJtYb/c7OHjrvLoGeyO4A/gA== -chai@4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/chai/-/chai-4.4.0.tgz#f9ac79f26726a867ac9d90a9b382120479d5f55b" - integrity sha512-x9cHNq1uvkCdU+5xTkNh5WtgD4e4yDFCsp9jVc7N7qVeKeftv3gO/ZrviX5d+3ZfxdYnZXZYujjRInu1RogU6A== - dependencies: - assertion-error "^1.1.0" - check-error "^1.0.3" - deep-eql "^4.1.3" - get-func-name "^2.0.2" - loupe "^2.3.6" - pathval "^1.1.1" - type-detect "^4.0.8" - -chai@^4.3.4: +chai@4.5.0, chai@^4.3.4: version "4.5.0" resolved "https://registry.yarnpkg.com/chai/-/chai-4.5.0.tgz#707e49923afdd9b13a8b0b47d33d732d13812fd8" integrity sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw== @@ -2627,6 +2504,13 @@ chokidar@^3.4.0, chokidar@^3.5.2, chokidar@^3.5.3: optionalDependencies: fsevents "~2.3.2" +chokidar@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-4.0.1.tgz#4a6dff66798fb0f72a94f616abbd7e1a19f31d41" + integrity sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA== + dependencies: + readdirp "^4.0.1" + chownr@^1.0.1, chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -2700,9 +2584,9 @@ cliui@^8.0.1: wrap-ansi "^7.0.0" code-block-writer@^13.0.1: - version "13.0.2" - resolved "https://registry.yarnpkg.com/code-block-writer/-/code-block-writer-13.0.2.tgz#e1c6c3dbe5d38b4ac76fb62c4d4b2fc4bf04c9c1" - integrity sha512-XfXzAGiStXSmCIwrkdfvc7FS5Dtj8yelCtyOf2p2skCAfvLd6zu0rGzuS9NSCO3bq1JKpFZ7tbKdKlcd5occQA== + version "13.0.3" + resolved "https://registry.yarnpkg.com/code-block-writer/-/code-block-writer-13.0.3.tgz#90f8a84763a5012da7af61319dd638655ae90b5b" + integrity sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg== collect-v8-coverage@^1.0.0: version "1.0.2" @@ -2788,11 +2672,6 @@ config-chain@^1.1.11: ini "^1.3.4" proto-list "~1.2.1" -convert-source-map@^1.4.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" - integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== - convert-source-map@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" @@ -2818,7 +2697,7 @@ cosmiconfig@^8.0.0: parse-json "^5.2.0" path-type "^4.0.0" -cpu-features@~0.0.9: +cpu-features@~0.0.10: version "0.0.10" resolved "https://registry.yarnpkg.com/cpu-features/-/cpu-features-0.0.10.tgz#9aae536db2710c7254d7ed67cb3cbc7d29ad79c5" integrity sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA== @@ -2901,11 +2780,11 @@ death@^1.1.0: integrity sha512-vsV6S4KVHvTGxbEcij7hkWRv0It+sGGWVOM67dQde/o5Xjnr+KmLjxWJii2uEObIrt1CcM9w0Yaovx+iOlIL+w== debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4, debug@^4.3.5: - version "4.3.6" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.6.tgz#2ab2c38fbaffebf8aa95fdfe6d88438c7a13c52b" - integrity sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg== + version "4.3.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52" + integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== dependencies: - ms "2.1.2" + ms "^2.1.3" debug@^3.2.6, debug@^3.2.7: version "3.2.7" @@ -2976,10 +2855,10 @@ depd@2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -diff-sequences@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-28.1.1.tgz#9989dc731266dc2903457a70e996f3a041913ac6" - integrity sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw== +diff-sequences@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" + integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== diff@^5.2.0: version "5.2.0" @@ -3077,10 +2956,10 @@ eastasianwidth@^0.2.0: resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== -electron-to-chromium@^1.5.4: - version "1.5.4" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.4.tgz#cd477c830dd6fca41fbd5465c1ff6ce08ac22343" - integrity sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA== +electron-to-chromium@^1.5.41: + version "1.5.52" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.52.tgz#2bed832c95a56a195504f918150e548474687da8" + integrity sha512-xtoijJTZ+qeucLBDNztDOuQBE1ksqjvNjvqFoST3nGC7fSpqJ+X6BdTBaY5BHG+IhWWmpc6b/KfpeuEDupEPOQ== elliptic@6.5.4: version "6.5.4" @@ -3095,10 +2974,10 @@ elliptic@6.5.4: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" -elliptic@^6.5.2, elliptic@^6.5.4: - version "6.5.6" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.6.tgz#ee5f7c3a00b98a2144ac84d67d01f04d438fa53e" - integrity sha512-mpzdtpeCLuS3BmE3pO3Cpp5bbjlOPY2Q0PgoF+Od1XZrHLYI28Xe3ossCmYCQt11FQKEYd9+PF8jymTvtWJSHQ== +elliptic@^6.5.2, elliptic@^6.5.7: + version "6.6.0" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.6.0.tgz#5919ec723286c1edf28685aa89261d4761afa210" + integrity sha512-dpwoQcLc/2WLQvJvLRHKZ+f9FgOdjnq11rurqwekGQygGPsYSK29OMMD2WalatiqQ+XGFDglTNixpPfI+lpaAA== dependencies: bn.js "^4.11.9" brorand "^1.1.0" @@ -3130,6 +3009,14 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1: dependencies: once "^1.4.0" +enhanced-resolve@^5.17.1: + version "5.17.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz#67bfbbcc2f81d511be77d686a90267ef7f898a15" + integrity sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + enquirer@^2.3.0, enquirer@^2.3.6: version "2.4.1" resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.4.1.tgz#93334b3fbd74fc7097b224ab4a8fb7e40bf4ae56" @@ -3246,10 +3133,10 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -escalade@^3.1.1, escalade@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" - integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== +escalade@^3.1.1, escalade@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" + integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== escape-string-regexp@^1.0.5: version "1.0.5" @@ -3299,14 +3186,14 @@ eslint-import-resolver-node@^0.3.9: is-core-module "^2.13.0" resolve "^1.22.4" -eslint-module-utils@^2.8.0: - version "2.8.1" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz#52f2404300c3bd33deece9d7372fb337cc1d7c34" - integrity sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q== +eslint-module-utils@^2.12.0: + version "2.12.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz#fe4cfb948d61f49203d7b08871982b65b9af0b0b" + integrity sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg== dependencies: debug "^3.2.7" -eslint-plugin-es-x@^7.5.0: +eslint-plugin-es-x@^7.8.0: version "7.8.0" resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.8.0.tgz#a207aa08da37a7923f2a9599e6d3eb73f3f92b74" integrity sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ== @@ -3315,50 +3202,49 @@ eslint-plugin-es-x@^7.5.0: "@eslint-community/regexpp" "^4.11.0" eslint-compat-utils "^0.5.1" -eslint-plugin-import@2.29.1: - version "2.29.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz#d45b37b5ef5901d639c15270d74d46d161150643" - integrity sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw== +eslint-plugin-import@2.31.0: + version "2.31.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz#310ce7e720ca1d9c0bb3f69adfd1c6bdd7d9e0e7" + integrity sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A== dependencies: - array-includes "^3.1.7" - array.prototype.findlastindex "^1.2.3" + "@rtsao/scc" "^1.1.0" + array-includes "^3.1.8" + array.prototype.findlastindex "^1.2.5" array.prototype.flat "^1.3.2" array.prototype.flatmap "^1.3.2" debug "^3.2.7" doctrine "^2.1.0" eslint-import-resolver-node "^0.3.9" - eslint-module-utils "^2.8.0" - hasown "^2.0.0" - is-core-module "^2.13.1" + eslint-module-utils "^2.12.0" + hasown "^2.0.2" + is-core-module "^2.15.1" is-glob "^4.0.3" minimatch "^3.1.2" - object.fromentries "^2.0.7" - object.groupby "^1.0.1" - object.values "^1.1.7" + object.fromentries "^2.0.8" + object.groupby "^1.0.3" + object.values "^1.2.0" semver "^6.3.1" + string.prototype.trimend "^1.0.8" tsconfig-paths "^3.15.0" -eslint-plugin-n@16.6.2: - version "16.6.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.6.2.tgz#6a60a1a376870064c906742272074d5d0b412b0b" - integrity sha512-6TyDmZ1HXoFQXnhCTUjVFULReoBPOAjpuiKELMkeP40yffI/1ZRO+d9ug/VC6fqISo2WkuIBk3cvuRPALaWlOQ== - dependencies: - "@eslint-community/eslint-utils" "^4.4.0" - builtins "^5.0.1" - eslint-plugin-es-x "^7.5.0" - get-tsconfig "^4.7.0" - globals "^13.24.0" - ignore "^5.2.4" - is-builtin-module "^3.2.1" - is-core-module "^2.12.1" - minimatch "^3.1.2" - resolve "^1.22.2" - semver "^7.5.3" - -eslint-plugin-promise@6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-6.1.1.tgz#269a3e2772f62875661220631bd4dafcb4083816" - integrity sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig== +eslint-plugin-n@17.13.0: + version "17.13.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.13.0.tgz#63d95c98866fafc67ad90143d43d3abd87f9219d" + integrity sha512-7xEJgZPKe2FNtyWA1aWtHzG0Etnd8jzA2NjurITPs7yhNkxFjaruJFHE3n0ac/U5ataZ24rlbVoSAXfN7770XA== + dependencies: + "@eslint-community/eslint-utils" "^4.4.1" + enhanced-resolve "^5.17.1" + eslint-plugin-es-x "^7.8.0" + get-tsconfig "^4.8.1" + globals "^15.11.0" + ignore "^5.3.2" + minimatch "^9.0.5" + semver "^7.6.3" + +eslint-plugin-promise@7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-7.1.0.tgz#06b3ad6d36b3c3ef3ec201c8a8d97049cf5dbb20" + integrity sha512-8trNmPxdAy3W620WKDpaS65NlM5yAumod6XeC4LOb+jxlkG4IVcp68c6dXY2ev+uT4U1PtG57YDV6EGAXN0GbQ== eslint-scope@^7.2.2: version "7.2.2" @@ -3368,21 +3254,21 @@ eslint-scope@^7.2.2: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: +eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: version "3.4.3" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@8.57.0: - version "8.57.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668" - integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ== +eslint@8.57.1: + version "8.57.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.1.tgz#7df109654aba7e3bbe5c8eae533c5e461d3c6ca9" + integrity sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" "@eslint/eslintrc" "^2.1.4" - "@eslint/js" "8.57.0" - "@humanwhocodes/config-array" "^0.11.14" + "@eslint/js" "8.57.1" + "@humanwhocodes/config-array" "^0.13.0" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" "@ungap/structured-clone" "^1.2.0" @@ -3564,20 +3450,20 @@ ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1: ethjs-util "0.1.6" rlp "^2.2.3" -ethers@6.11.1: - version "6.11.1" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.11.1.tgz#96aae00b627c2e35f9b0a4d65c7ab658259ee6af" - integrity sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg== +ethers@6.13.4: + version "6.13.4" + resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.13.4.tgz#bd3e1c3dc1e7dc8ce10f9ffb4ee40967a651b53c" + integrity sha512-21YtnZVg4/zKkCQPjrDj38B1r4nQvTZLopUGMLQ1ePU2zV/joCfDC3t3iKQjWRzjjjbzR+mdAIoikeBRNkdllA== dependencies: "@adraffy/ens-normalize" "1.10.1" "@noble/curves" "1.2.0" "@noble/hashes" "1.3.2" - "@types/node" "18.15.13" + "@types/node" "22.7.5" aes-js "4.0.0-beta.5" - tslib "2.4.0" - ws "8.5.0" + tslib "2.7.0" + ws "8.17.1" -ethers@^5.3.1, ethers@^5.6.1, ethers@^5.7.0, ethers@^5.7.1, ethers@^5.7.2, ethers@~5.7.0: +ethers@^5.6.1, ethers@^5.7.0, ethers@^5.7.1, ethers@^5.7.2, ethers@~5.7.0: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== @@ -3637,16 +3523,16 @@ evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" -expect@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/expect/-/expect-28.1.3.tgz#90a7c1a124f1824133dd4533cce2d2bdcb6603ec" - integrity sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g== +expect@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" + integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== dependencies: - "@jest/expect-utils" "^28.1.3" - jest-get-type "^28.0.2" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + "@jest/expect-utils" "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" @@ -3669,7 +3555,7 @@ fast-glob@^3.0.3, fast-glob@^3.3.2: merge2 "^1.3.0" micromatch "^4.0.4" -fast-json-stable-stringify@^2.0.0: +fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== @@ -3680,9 +3566,9 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== fast-uri@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.1.tgz#cddd2eecfc83a71c1be2cc2ef2061331be8a7134" - integrity sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw== + version "3.0.3" + resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.3.tgz#892a1c91802d5d7860de728f18608a0573142241" + integrity sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw== fastq@^1.6.0: version "1.17.1" @@ -3767,9 +3653,9 @@ fmix@^0.1.0: imul "^1.0.0" follow-redirects@^1.12.1, follow-redirects@^1.14.0, follow-redirects@^1.15.6: - version "1.15.6" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" - integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== + version "1.15.9" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" + integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== for-each@^0.3.3: version "0.3.3" @@ -3779,9 +3665,9 @@ for-each@^0.3.3: is-callable "^1.1.3" foreground-child@^3.1.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.2.1.tgz#767004ccf3a5b30df39bed90718bab43fe0a59f7" - integrity sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA== + version "3.3.0" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.0.tgz#0ac8644c06e431439f8561db8ecf29a7b5519c77" + integrity sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg== dependencies: cross-spawn "^7.0.0" signal-exit "^4.0.1" @@ -3792,18 +3678,19 @@ form-data-encoder@^2.1.2: integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw== form-data@^2.2.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.5.1.tgz#f2cbec57b5e59e23716e128fe44d4e5dd23895f4" - integrity sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA== + version "2.5.2" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.5.2.tgz#dc653743d1de2fcc340ceea38079daf6e9069fd2" + integrity sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q== dependencies: asynckit "^0.4.0" combined-stream "^1.0.6" mime-types "^2.1.12" + safe-buffer "^5.2.1" form-data@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" - integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + version "4.0.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.1.tgz#ba1076daaaa5bfd7e99c1a6cb02aa0a5cff90d48" + integrity sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw== dependencies: asynckit "^0.4.0" combined-stream "^1.0.8" @@ -3961,10 +3848,10 @@ get-symbol-description@^1.0.2: es-errors "^1.3.0" get-intrinsic "^1.2.4" -get-tsconfig@^4.7.0: - version "4.7.6" - resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.6.tgz#118fd5b7b9bae234cc7705a00cd771d7eb65d62a" - integrity sha512-ZAqrLlu18NbDdRaHq+AKXzAmqIUPswPWKUchfytdAjiRFnCe5ojG2bstg6mRiZabkKfCoL/e98pbBELIV/YCeA== +get-tsconfig@^4.8.1: + version "4.8.1" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.8.1.tgz#8995eb391ae6e1638d251118c7b56de7eb425471" + integrity sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg== dependencies: resolve-pkg-maps "^1.0.0" @@ -4002,7 +3889,7 @@ glob@7.2.0: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^10.3.7, glob@^10.4.1: +glob@^10.4.1: version "10.4.5" resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== @@ -4014,6 +3901,18 @@ glob@^10.3.7, glob@^10.4.1: package-json-from-dist "^1.0.0" path-scurry "^1.11.1" +glob@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-11.0.0.tgz#6031df0d7b65eaa1ccb9b29b5ced16cea658e77e" + integrity sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g== + dependencies: + foreground-child "^3.1.0" + jackspeak "^4.0.1" + minimatch "^10.0.0" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^2.0.0" + glob@^5.0.15: version "5.0.15" resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" @@ -4069,13 +3968,18 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^13.19.0, globals@^13.24.0: +globals@^13.19.0: version "13.24.0" resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== dependencies: type-fest "^0.20.2" +globals@^15.11.0: + version "15.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-15.12.0.tgz#1811872883ad8f41055b61457a130221297de5b5" + integrity sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ== + globalthis@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236" @@ -4137,7 +4041,7 @@ graphemer@^1.4.0: resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== -handlebars@^4.0.1: +handlebars@^4.0.1, handlebars@^4.7.7: version "4.7.8" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== @@ -4149,15 +4053,15 @@ handlebars@^4.0.1: optionalDependencies: uglify-js "^3.1.4" -hardhat-dependency-compiler@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/hardhat-dependency-compiler/-/hardhat-dependency-compiler-1.1.3.tgz#1e49e23f68878bd713f860c66648a711bc4a4a79" - integrity sha512-bCDqsOxGST6WkbMvj4lPchYWidNSSBm5CFnkyAex1T11cGmr9otZTGl81W6f9pmrtBXbKCvr3OSuNJ6Q394sAw== +hardhat-dependency-compiler@1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/hardhat-dependency-compiler/-/hardhat-dependency-compiler-1.2.1.tgz#31a00e388029591b648f49ade74f56bfab11243b" + integrity sha512-xG5iwbspTtxOEiP5UsPngEYQ1Hg+fjTjliapIjdTQmwGkCPofrsDhQDV2O/dopcYzcR68nTx2X8xTewYHgA2rQ== -hardhat-deploy@0.12.2: - version "0.12.2" - resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.12.2.tgz#1067bd0af61a65287bcf2a0ba7711ca1b54be2f6" - integrity sha512-Xp/4Lb5lC/j3kvitaWW5IZN5Meqv5D3kTIifc3ZwBoQtFLN26/fDfRV6MWAAcRO9gH64hZVokvtcDdl/fd7w3A== +hardhat-deploy@0.12.4: + version "0.12.4" + resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.12.4.tgz#5ebef37f1004f52a74987213b0465ad7c9433fb2" + integrity sha512-bYO8DIyeGxZWlhnMoCBon9HNZb6ji0jQn7ngP1t5UmGhC8rQYhji7B73qETMOFhzt5ECZPr+U52duj3nubsqdQ== dependencies: "@ethersproject/abi" "^5.7.0" "@ethersproject/abstract-signer" "^5.7.0" @@ -4184,10 +4088,10 @@ hardhat-deploy@0.12.2: qs "^6.9.4" zksync-ethers "^5.0.0" -hardhat-deploy@0.12.4: - version "0.12.4" - resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.12.4.tgz#5ebef37f1004f52a74987213b0465ad7c9433fb2" - integrity sha512-bYO8DIyeGxZWlhnMoCBon9HNZb6ji0jQn7ngP1t5UmGhC8rQYhji7B73qETMOFhzt5ECZPr+U52duj3nubsqdQ== +hardhat-deploy@0.14.0: + version "0.14.0" + resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.14.0.tgz#4897bd50c93b3a9ce135728f84fd4a1736469f6b" + integrity sha512-jZm0bJGHeH7dEyCzz69hsS8HlNNLJLjXDQVlStczulf54vYJUfRvZ+t3x20QsdXQoXUe6Qujlp8cKbx6JjFpZw== dependencies: "@ethersproject/abi" "^5.7.0" "@ethersproject/abstract-signer" "^5.7.0" @@ -4287,63 +4191,14 @@ hardhat@2.19.5: uuid "^8.3.2" ws "^7.4.6" -hardhat@2.22.2: - version "2.22.2" - resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.22.2.tgz#0cadd7ec93bf39bab09f81603e75bc5e92acea3d" - integrity sha512-0xZ7MdCZ5sJem4MrvpQWLR3R3zGDoHw5lsR+pBFimqwagimIOn3bWuZv69KA+veXClwI1s/zpqgwPwiFrd4Dxw== - dependencies: - "@ethersproject/abi" "^5.1.2" - "@metamask/eth-sig-util" "^4.0.0" - "@nomicfoundation/edr" "^0.3.1" - "@nomicfoundation/ethereumjs-common" "4.0.4" - "@nomicfoundation/ethereumjs-tx" "5.0.4" - "@nomicfoundation/ethereumjs-util" "9.0.4" - "@nomicfoundation/solidity-analyzer" "^0.1.0" - "@sentry/node" "^5.18.1" - "@types/bn.js" "^5.1.0" - "@types/lru-cache" "^5.1.0" - adm-zip "^0.4.16" - aggregate-error "^3.0.0" - ansi-escapes "^4.3.0" - boxen "^5.1.2" - chalk "^2.4.2" - chokidar "^3.4.0" - ci-info "^2.0.0" - debug "^4.1.1" - enquirer "^2.3.0" - env-paths "^2.2.0" - ethereum-cryptography "^1.0.3" - ethereumjs-abi "^0.6.8" - find-up "^2.1.0" - fp-ts "1.19.3" - fs-extra "^7.0.1" - glob "7.2.0" - immutable "^4.0.0-rc.12" - io-ts "1.10.4" - keccak "^3.0.2" - lodash "^4.17.11" - mnemonist "^0.38.0" - mocha "^10.0.0" - p-map "^4.0.0" - raw-body "^2.4.1" - resolve "1.17.0" - semver "^6.3.0" - solc "0.7.3" - source-map-support "^0.5.13" - stacktrace-parser "^0.1.10" - tsort "0.0.1" - undici "^5.14.0" - uuid "^8.3.2" - ws "^7.4.6" - -hardhat@^2.22.5: - version "2.22.7" - resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.22.7.tgz#3de0ce5074063cf468876c5e62f84c66d2408e8e" - integrity sha512-nrXQAl+qUr75TsCLDo8P41YXLc+5U7qQMMCIrbbmy1/uQaVPncdjDrD5BR0CENvHRj7EBqO+JkofpozXoIfJKg== +hardhat@2.22.15: + version "2.22.15" + resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.22.15.tgz#319b4948f875968fde3f0d09a7edfe74e16b1365" + integrity sha512-BpTGa9PE/sKAaHi4s/S1e9WGv63DR1m7Lzfd60C8gSEchDPfAJssVRSq0MZ2v2k76ig9m0kHAwVLf5teYwu/Mw== dependencies: "@ethersproject/abi" "^5.1.2" "@metamask/eth-sig-util" "^4.0.0" - "@nomicfoundation/edr" "^0.5.0" + "@nomicfoundation/edr" "^0.6.4" "@nomicfoundation/ethereumjs-common" "4.0.4" "@nomicfoundation/ethereumjs-tx" "5.0.4" "@nomicfoundation/ethereumjs-util" "9.0.4" @@ -4356,7 +4211,7 @@ hardhat@^2.22.5: ansi-escapes "^4.3.0" boxen "^5.1.2" chalk "^2.4.2" - chokidar "^3.4.0" + chokidar "^4.0.0" ci-info "^2.0.0" debug "^4.1.1" enquirer "^2.3.0" @@ -4369,6 +4224,7 @@ hardhat@^2.22.5: glob "7.2.0" immutable "^4.0.0-rc.12" io-ts "1.10.4" + json-stream-stringify "^3.1.4" keccak "^3.0.2" lodash "^4.17.11" mnemonist "^0.38.0" @@ -4533,10 +4389,10 @@ ieee754@^1.1.13, ieee754@^1.2.1: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore@^5.1.1, ignore@^5.2.0, ignore@^5.2.4: - version "5.3.1" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" - integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== +ignore@^5.1.1, ignore@^5.2.0, ignore@^5.2.4, ignore@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" + integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== immutable@^4.0.0-rc.12: version "4.3.7" @@ -4645,22 +4501,15 @@ is-buffer@^2.0.5: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== -is-builtin-module@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169" - integrity sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A== - dependencies: - builtin-modules "^3.3.0" - is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== -is-core-module@^2.12.1, is-core-module@^2.13.0, is-core-module@^2.13.1: - version "2.15.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.0.tgz#71c72ec5442ace7e76b306e9d48db361f22699ea" - integrity sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA== +is-core-module@^2.13.0, is-core-module@^2.15.1: + version "2.15.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.1.tgz#a7363a25bee942fefab0de13bf6aa372c82dcc37" + integrity sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ== dependencies: hasown "^2.0.2" @@ -4825,117 +4674,122 @@ jackspeak@^3.1.2: optionalDependencies: "@pkgjs/parseargs" "^0.11.0" -jest-diff@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-28.1.3.tgz#948a192d86f4e7a64c5264ad4da4877133d8792f" - integrity sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw== +jackspeak@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-4.0.2.tgz#11f9468a3730c6ff6f56823a820d7e3be9bef015" + integrity sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw== + dependencies: + "@isaacs/cliui" "^8.0.2" + +jest-diff@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" + integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== dependencies: chalk "^4.0.0" - diff-sequences "^28.1.1" - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + diff-sequences "^29.6.3" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" -jest-get-type@^28.0.2: - version "28.0.2" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-28.0.2.tgz#34622e628e4fdcd793d46db8a242227901fcf203" - integrity sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA== +jest-get-type@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" + integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== -jest-haste-map@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" - integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== +jest-haste-map@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104" + integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.6.3" "@types/graceful-fs" "^4.1.3" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.9" - jest-regex-util "^28.0.2" - jest-util "^28.1.3" - jest-worker "^28.1.3" + jest-regex-util "^29.6.3" + jest-util "^29.7.0" + jest-worker "^29.7.0" micromatch "^4.0.4" walker "^1.0.8" optionalDependencies: fsevents "^2.3.2" -jest-matcher-utils@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz#5a77f1c129dd5ba3b4d7fc20728806c78893146e" - integrity sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw== +jest-matcher-utils@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" + integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== dependencies: chalk "^4.0.0" - jest-diff "^28.1.3" - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" -jest-message-util@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-28.1.3.tgz#232def7f2e333f1eecc90649b5b94b0055e7c43d" - integrity sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g== +jest-message-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" + integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^28.1.3" + "@jest/types" "^29.6.3" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.9" micromatch "^4.0.4" - pretty-format "^28.1.3" + pretty-format "^29.7.0" slash "^3.0.0" stack-utils "^2.0.3" -jest-regex-util@^28.0.2: - version "28.0.2" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" - integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== +jest-regex-util@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52" + integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== -jest-snapshot@^28.1.1: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-28.1.3.tgz#17467b3ab8ddb81e2f605db05583d69388fc0668" - integrity sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg== +jest-snapshot@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" + integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== dependencies: "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-jsx" "^7.7.2" "@babel/plugin-syntax-typescript" "^7.7.2" - "@babel/traverse" "^7.7.2" "@babel/types" "^7.3.3" - "@jest/expect-utils" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" - "@types/babel__traverse" "^7.0.6" - "@types/prettier" "^2.1.5" + "@jest/expect-utils" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^28.1.3" + expect "^29.7.0" graceful-fs "^4.2.9" - jest-diff "^28.1.3" - jest-get-type "^28.0.2" - jest-haste-map "^28.1.3" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" natural-compare "^1.4.0" - pretty-format "^28.1.3" - semver "^7.3.5" + pretty-format "^29.7.0" + semver "^7.5.3" -jest-util@^28.1.1, jest-util@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-28.1.3.tgz#f4f932aa0074f0679943220ff9cbba7e497028b0" - integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== +jest-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" + integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.6.3" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" graceful-fs "^4.2.9" picomatch "^2.2.3" -jest-worker@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-28.1.3.tgz#7e3c4ce3fa23d1bb6accb169e7f396f98ed4bb98" - integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== +jest-worker@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" + integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== dependencies: "@types/node" "*" + jest-util "^29.7.0" merge-stream "^2.0.0" supports-color "^8.0.0" @@ -4969,10 +4823,10 @@ js-yaml@^4.1.0: dependencies: argparse "^2.0.1" -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== +jsesc@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.0.2.tgz#bb8b09a6597ba426425f2e4a07245c3d00b9343e" + integrity sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g== json-buffer@3.0.1: version "3.0.1" @@ -4999,6 +4853,11 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== +json-stream-stringify@^3.1.4: + version "3.1.6" + resolved "https://registry.yarnpkg.com/json-stream-stringify/-/json-stream-stringify-3.1.6.tgz#ebe32193876fb99d4ec9f612389a8d8e2b5d54d4" + integrity sha512-x7fpwxOkbhFCaJDJ8vb1fBY3DdSa4AlITaz+HHILQJzdPMnHEFjxPwVUi1ALIbcIxDE0PNe/0i7frnY8QnBQog== + json5@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" @@ -5174,7 +5033,7 @@ lodash.truncate@^4.4.2: resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== -lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.21: +lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.21: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -5204,6 +5063,11 @@ lru-cache@^10.2.0: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== +lru-cache@^11.0.0: + version "11.0.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-11.0.2.tgz#fbd8e7cf8211f5e7e5d91905c415a3f55755ca39" + integrity sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA== + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -5277,9 +5141,9 @@ micro-ftch@^0.3.1: integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== micromatch@^4.0.4: - version "4.0.7" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.7.tgz#33e8190d9fe474a9895525f5618eee136d46c2e5" - integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q== + version "4.0.8" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== dependencies: braces "^3.0.3" picomatch "^2.3.1" @@ -5323,6 +5187,13 @@ minimalistic-crypto-utils@^1.0.1: dependencies: brace-expansion "^1.1.7" +minimatch@^10.0.0: + version "10.0.1" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.0.1.tgz#ce0521856b453c86e25f2c4c0d03e6ff7ddc440b" + integrity sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ== + dependencies: + brace-expansion "^2.0.1" + minimatch@^5.0.1, minimatch@^5.1.6: version "5.1.6" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" @@ -5330,7 +5201,7 @@ minimatch@^5.0.1, minimatch@^5.1.6: dependencies: brace-expansion "^2.0.1" -minimatch@^9.0.3, minimatch@^9.0.4: +minimatch@^9.0.3, minimatch@^9.0.4, minimatch@^9.0.5: version "9.0.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== @@ -5371,23 +5242,23 @@ mnemonist@^0.38.0: dependencies: obliterator "^2.0.0" -mocha-chai-jest-snapshot@1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/mocha-chai-jest-snapshot/-/mocha-chai-jest-snapshot-1.1.4.tgz#0c8e15530968074b08d1b7fbf28c2ed8b92f4380" - integrity sha512-ybwtS10P8BXDJQn9B3QyQA8Lxr/CcYxtuyWKk1PxD9vJorH8VL3edB7re4GcG9dRAdDPE/B0BsfwmCo6W43O7w== +mocha-chai-jest-snapshot@1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/mocha-chai-jest-snapshot/-/mocha-chai-jest-snapshot-1.1.6.tgz#cba844aeec6e19ef830992eb71817745c75e2e09" + integrity sha512-DSPZ5PtY1Rome58XSeS2/mggDJ60BIXDMlh58wsdkGfm1VvqTjjpFkjmR3g1iCtFAtPDXDmR9mYck1MygUEArA== dependencies: - "@jest/test-result" "^28.1.1" + "@jest/test-result" "^29.7.0" chalk "^4.1.2" find-package-json "^1.2.0" - jest-snapshot "^28.1.1" - jest-util "^28.1.1" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" slash "^3.0.0" - yargs "^17.5.1" + yargs "^17.7.2" mocha@^10.0.0, mocha@^10.2.0: - version "10.7.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.7.0.tgz#9e5cbed8fa9b37537a25bd1f7fb4f6fc45458b9a" - integrity sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA== + version "10.8.2" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.8.2.tgz#8d8342d016ed411b12a429eb731b825f961afb96" + integrity sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg== dependencies: ansi-colors "^4.1.3" browser-stdout "^1.3.1" @@ -5415,11 +5286,6 @@ module-error@^1.0.1, module-error@^1.0.2: resolved "https://registry.yarnpkg.com/module-error/-/module-error-1.0.2.tgz#8d1a48897ca883f47a45816d4fb3e3c6ba404d86" integrity sha512-0yuvsqSCv8LbaOKhnsQ/T5JhyFlCYLPXK3U2sgV10zoKQwzs/MyfuQUOZQ1V/6OCOJsK/TRgNVrPuPDqtdMFtA== -ms@2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" @@ -5434,10 +5300,10 @@ murmur-128@^0.2.1: fmix "^0.1.0" imul "^1.0.0" -nan@^2.18.0, nan@^2.19.0: - version "2.20.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.20.0.tgz#08c5ea813dd54ed16e5bd6505bf42af4f7838ca3" - integrity sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw== +nan@^2.19.0, nan@^2.20.0: + version "2.22.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.22.0.tgz#31bc433fc33213c97bad36404bb68063de604de3" + integrity sha512-nbajikzWTMwsW+eSsNm3QwlOs7het9gGJU5dDZzRTQGk03vyBOauxgI4VakDzE0PtsGTmXPsXTbbjVhRwR5mpw== napi-macros@^2.2.2: version "2.2.2" @@ -5455,21 +5321,26 @@ neo-async@^2.6.2: integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== nise@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/nise/-/nise-6.0.0.tgz#ae56fccb5d912037363c3b3f29ebbfa28bde8b48" - integrity sha512-K8ePqo9BFvN31HXwEtTNGzgrPpmvgciDsFz8aztFjt4LqKO/JeFD8tBOeuDiCMXrIl/m1YvfH8auSpxfaD09wg== + version "6.1.1" + resolved "https://registry.yarnpkg.com/nise/-/nise-6.1.1.tgz#78ea93cc49be122e44cb7c8fdf597b0e8778b64a" + integrity sha512-aMSAzLVY7LyeM60gvBS423nBmIPP+Wy7St7hsb+8/fc1HmeoHJfLO8CKse4u3BtOZvQLJghYPI2i/1WZrEj5/g== dependencies: - "@sinonjs/commons" "^3.0.0" - "@sinonjs/fake-timers" "^11.2.2" - "@sinonjs/text-encoding" "^0.7.2" + "@sinonjs/commons" "^3.0.1" + "@sinonjs/fake-timers" "^13.0.1" + "@sinonjs/text-encoding" "^0.7.3" just-extend "^6.2.0" - path-to-regexp "^6.2.1" + path-to-regexp "^8.1.0" node-addon-api@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== +node-addon-api@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.1.0.tgz#49da1ca055e109a23d537e9de43c09cca21eb762" + integrity sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA== + node-emoji@^1.10.0: version "1.11.0" resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.11.0.tgz#69a0150e6946e2f115e9d7ea4df7971e2628301c" @@ -5485,9 +5356,9 @@ node-fetch@2.7.0, node-fetch@^2.6.0: whatwg-url "^5.0.0" node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: - version "4.8.1" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.1.tgz#976d3ad905e71b76086f4f0b0d3637fe79b6cda5" - integrity sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw== + version "4.8.2" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.2.tgz#4f802b71c1ab2ca16af830e6c1ea7dd1ad9496fa" + integrity sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw== node-int64@^0.4.0: version "0.4.0" @@ -5554,7 +5425,7 @@ object.assign@^4.1.5: has-symbols "^1.0.3" object-keys "^1.1.1" -object.fromentries@^2.0.7: +object.fromentries@^2.0.8: version "2.0.8" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.8.tgz#f7195d8a9b97bd95cbc1999ea939ecd1a2b00c65" integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== @@ -5564,7 +5435,7 @@ object.fromentries@^2.0.7: es-abstract "^1.23.2" es-object-atoms "^1.0.0" -object.groupby@^1.0.1: +object.groupby@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.3.tgz#9b125c36238129f6f7b61954a1e7176148d5002e" integrity sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ== @@ -5573,7 +5444,7 @@ object.groupby@^1.0.1: define-properties "^1.2.1" es-abstract "^1.23.2" -object.values@^1.1.7: +object.values@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.2.0.tgz#65405a9d92cee68ac2d303002e0b8470a4d9ab1b" integrity sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ== @@ -5693,9 +5564,9 @@ p-try@^2.0.0: integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== package-json-from-dist@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz#e501cd3094b278495eb4258d4c9f6d5ac3019f00" - integrity sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw== + version "1.0.1" + resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" + integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== package-json@^8.1.0: version "8.1.1" @@ -5767,10 +5638,18 @@ path-scurry@^1.11.1: lru-cache "^10.2.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" -path-to-regexp@^6.2.1: - version "6.2.2" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.2.2.tgz#324377a83e5049cbecadc5554d6a63a9a4866b36" - integrity sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw== +path-scurry@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-2.0.0.tgz#9f052289f23ad8bf9397a2a0425e7b8615c58580" + integrity sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg== + dependencies: + lru-cache "^11.0.0" + minipass "^7.1.2" + +path-to-regexp@^8.1.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.2.0.tgz#73990cc29e57a3ff2a0d914095156df5db79e8b4" + integrity sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ== path-type@^4.0.0: version "4.0.0" @@ -5793,10 +5672,10 @@ pbkdf2@^3.0.17: safe-buffer "^5.0.1" sha.js "^2.4.8" -picocolors@^1.0.0, picocolors@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" - integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== +picocolors@^1.0.0, picocolors@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" @@ -5843,13 +5722,12 @@ prettier@^2.8.3: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== -pretty-format@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-28.1.3.tgz#c9fba8cedf99ce50963a11b27d982a9ae90970d5" - integrity sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q== +pretty-format@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" + integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== dependencies: - "@jest/schemas" "^28.1.3" - ansi-regex "^5.0.1" + "@jest/schemas" "^29.6.3" ansi-styles "^5.0.0" react-is "^18.0.0" @@ -5893,9 +5771,9 @@ pump@^1.0.0: once "^1.3.1" pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== + version "3.0.2" + resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.2.tgz#836f3edd6bc2ee599256c924ffe0d88573ddcbf8" + integrity sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw== dependencies: end-of-stream "^1.1.0" once "^1.3.1" @@ -5986,6 +5864,11 @@ readable-stream@~1.0.26-4: isarray "0.0.1" string_decoder "~0.10.x" +readdirp@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.0.2.tgz#388fccb8b75665da3abffe2d8f8ed59fe74c230a" + integrity sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA== + readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -6008,14 +5891,14 @@ recursive-readdir@^2.2.2: minimatch "^3.0.5" regexp.prototype.flags@^1.5.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz#138f644a3350f981a858c44f6bb1a61ff59be334" - integrity sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw== + version "1.5.3" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz#b3ae40b1d2499b8350ab2c3fe6ef3845d3a96f42" + integrity sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ== dependencies: - call-bind "^1.0.6" + call-bind "^1.0.7" define-properties "^1.2.1" es-errors "^1.3.0" - set-function-name "^2.0.1" + set-function-name "^2.0.2" registry-auth-token@^5.0.1: version "5.0.2" @@ -6092,7 +5975,7 @@ resolve@1.17.0: dependencies: path-parse "^1.0.6" -resolve@^1.1.6, resolve@^1.22.2, resolve@^1.22.4: +resolve@^1.1.6, resolve@^1.22.4: version "1.22.8" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== @@ -6118,12 +6001,13 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@5.0.5: - version "5.0.5" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.5.tgz#9be65d2d6e683447d2e9013da2bf451139a61ccf" - integrity sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A== +rimraf@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-6.0.1.tgz#ffb8ad8844dd60332ab15f52bc104bc3ed71ea4e" + integrity sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A== dependencies: - glob "^10.3.7" + glob "^11.0.0" + package-json-from-dist "^1.0.0" rimraf@^2.2.8: version "2.7.1" @@ -6183,7 +6067,7 @@ safe-array-concat@^1.1.2: has-symbols "^1.0.3" isarray "^2.0.5" -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -6233,12 +6117,12 @@ scrypt-js@3.0.1, scrypt-js@^3.0.0: integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== secp256k1@^4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" - integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== + version "4.0.4" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.4.tgz#58f0bfe1830fe777d9ca1ffc7574962a8189f8ab" + integrity sha512-6JfvwvjUOn8F/jUoBY2Q1v5WY5XS+rj8qSe0v8Y4ezH4InLgTEeOOPQsRll9OV429Pvo6BCHGavIyJfr3TAhsw== dependencies: - elliptic "^6.5.4" - node-addon-api "^2.0.0" + elliptic "^6.5.7" + node-addon-api "^5.0.0" node-gyp-build "^4.2.0" semver@^5.5.0: @@ -6251,7 +6135,7 @@ semver@^6.3.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.0.0, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4, semver@^7.6.2: +semver@^7.3.4, semver@^7.3.7, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4, semver@^7.6.2, semver@^7.6.3: version "7.6.3" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== @@ -6275,7 +6159,7 @@ set-function-length@^1.2.1: gopd "^1.0.1" has-property-descriptors "^1.0.2" -set-function-name@^2.0.1: +set-function-name@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.2.tgz#16a705c5a0dc2f5e638ca96d8a8cd4e1c2b90985" integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ== @@ -6358,12 +6242,12 @@ sinon-chai@^3.7.0: integrity sha512-mf5NURdUaSdnatJx3uhoBOrY9dtL19fiOtAdT1Azxg3+lNJFiuN0uzaU3xX1LeAfL17kHQhTAJgpsfhbMJMY2g== sinon@^18.0.0: - version "18.0.0" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-18.0.0.tgz#69ca293dbc3e82590a8b0d46c97f63ebc1e5fc01" - integrity sha512-+dXDXzD1sBO6HlmZDd7mXZCR/y5ECiEiGCBSGuFD/kZ0bDTofPYc6JaeGmPSF+1j1MejGUWkORbYOLDyvqCWpA== + version "18.0.1" + resolved "https://registry.yarnpkg.com/sinon/-/sinon-18.0.1.tgz#464334cdfea2cddc5eda9a4ea7e2e3f0c7a91c5e" + integrity sha512-a2N2TDY1uGviajJ6r4D1CyRAkzE9NNVlYOV1wX5xQDuAk0ONgzgRl0EjCQuRCPxOwp13ghsMwt9Gdldujs39qw== dependencies: "@sinonjs/commons" "^3.0.1" - "@sinonjs/fake-timers" "^11.2.2" + "@sinonjs/fake-timers" "11.2.2" "@sinonjs/samsam" "^8.0.0" diff "^5.2.0" nise "^6.0.0" @@ -6411,14 +6295,14 @@ solc@0.8.26: semver "^5.5.0" tmp "0.0.33" -solhint@4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/solhint/-/solhint-4.1.1.tgz#137c935ef028f01ba13687a1f237288d94dae1bf" - integrity sha512-7G4iF8H5hKHc0tR+/uyZesSKtfppFIMvPSW+Ku6MSL25oVRuyFeqNhOsXHfkex64wYJyXs4fe+pvhB069I19Tw== +solhint@5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/solhint/-/solhint-5.0.3.tgz#b57f6d2534fe09a60f9db1b92e834363edd1cbde" + integrity sha512-OLCH6qm/mZTCpplTXzXTJGId1zrtNuDYP5c2e6snIv/hdRVxPfBBz/bAlL91bY/Accavkayp2Zp2BaDSrLVXTQ== dependencies: - "@solidity-parser/parser" "^0.16.0" + "@solidity-parser/parser" "^0.18.0" ajv "^6.12.6" - antlr4 "^4.11.0" + antlr4 "^4.13.1-patch-1" ast-parents "^0.0.1" chalk "^4.1.2" commander "^10.0.0" @@ -6437,10 +6321,15 @@ solhint@4.1.1: optionalDependencies: prettier "^2.8.3" -solidity-coverage@0.8.9: - version "0.8.9" - resolved "https://registry.yarnpkg.com/solidity-coverage/-/solidity-coverage-0.8.9.tgz#d885207df927faf6b4f729904fab8ce0943cfd14" - integrity sha512-ZhPsxlsLkYyzgwoVGh8RBN2ju7JVahvMkk+8RBVc0vP/3UNq88GzvL8kvbuY48lVIRL8eQjJ+0X8al2Bu9/2iQ== +solidity-ast@^0.4.38: + version "0.4.59" + resolved "https://registry.yarnpkg.com/solidity-ast/-/solidity-ast-0.4.59.tgz#290a2815aef70a61092591ab3e991da080ae5931" + integrity sha512-I+CX0wrYUN9jDfYtcgWSe+OAowaXy8/1YQy7NS4ni5IBDmIYBq7ZzaP/7QqouLjzZapmQtvGLqCaYgoUWqBo5g== + +solidity-coverage@0.8.13: + version "0.8.13" + resolved "https://registry.yarnpkg.com/solidity-coverage/-/solidity-coverage-0.8.13.tgz#8eeada2e82ae19d25568368aa782a2baad0e0ce7" + integrity sha512-RiBoI+kF94V3Rv0+iwOj3HQVSqNzA9qm/qDP1ZDXK5IX0Cvho1qiz8hAXTsAo6KOIUeP73jfscq0KlLqVxzGWA== dependencies: "@ethersproject/abi" "^5.0.9" "@solidity-parser/parser" "^0.18.0" @@ -6452,7 +6341,7 @@ solidity-coverage@0.8.9: global-modules "^2.0.0" globby "^10.0.1" jsonschema "^1.2.4" - lodash "^4.17.15" + lodash "^4.17.21" mocha "^10.2.0" node-emoji "^1.10.0" pify "^4.0.1" @@ -6462,6 +6351,14 @@ solidity-coverage@0.8.9: shelljs "^0.8.3" web3-utils "^1.3.6" +solidity-docgen@0.6.0-beta.36: + version "0.6.0-beta.36" + resolved "https://registry.yarnpkg.com/solidity-docgen/-/solidity-docgen-0.6.0-beta.36.tgz#9c76eda58580fb52e2db318c22fe3154e0c09dd1" + integrity sha512-f/I5G2iJgU1h0XrrjRD0hHMr7C10u276vYvm//rw1TzFcYQ4xTOyAoi9oNAHRU0JU4mY9eTuxdVc2zahdMuhaQ== + dependencies: + handlebars "^4.7.7" + solidity-ast "^0.4.38" + source-map-support@^0.5.13: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" @@ -6493,15 +6390,15 @@ sprintf-js@~1.0.2: integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== ssh2@^1.15.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/ssh2/-/ssh2-1.15.0.tgz#2f998455036a7f89e0df5847efb5421748d9871b" - integrity sha512-C0PHgX4h6lBxYx7hcXwu3QWdh4tg6tZZsTfXcdvc5caW/EMxaB4H9dWsl7qk+F7LAW762hp8VbXOX7x4xUYvEw== + version "1.16.0" + resolved "https://registry.yarnpkg.com/ssh2/-/ssh2-1.16.0.tgz#79221d40cbf4d03d07fe881149de0a9de928c9f0" + integrity sha512-r1X4KsBGedJqo7h8F5c4Ybpcr5RjyP+aWIG007uBPRjmdQWfEiVLzSK71Zji1B9sKxwaCvD8y8cwSkYrlLiRRg== dependencies: asn1 "^0.2.6" bcrypt-pbkdf "^1.0.2" optionalDependencies: - cpu-features "~0.0.9" - nan "^2.18.0" + cpu-features "~0.0.10" + nan "^2.20.0" stack-utils@^2.0.3: version "2.0.6" @@ -6522,7 +6419,7 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -6539,6 +6436,15 @@ string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" +string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -6595,7 +6501,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -6609,6 +6515,13 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -6698,6 +6611,11 @@ table@^6.8.0, table@^6.8.1: string-width "^4.2.3" strip-ansi "^6.0.1" +tapable@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + tar-fs@~1.16.3: version "1.16.3" resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-1.16.3.tgz#966a628841da2c4010406a82167cbd5e0c72d509" @@ -6778,7 +6696,7 @@ then-request@^6.0.0: resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== -tiny-invariant@^1.3.1: +tiny-invariant@^1.1.0: version "1.3.3" resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.3.3.tgz#46680b7a873a0d5d10005995eb90a70d74d60127" integrity sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg== @@ -6800,11 +6718,6 @@ to-buffer@^1.1.1: resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.1.1.tgz#493bd48f62d7c43fcded313a03dcadb2e1213a80" integrity sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg== -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== - to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -6840,10 +6753,10 @@ tsconfig-paths@^3.15.0: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== +tslib@2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" + integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== tslib@^1.9.3: version "1.14.1" @@ -6889,7 +6802,7 @@ type-detect@4.0.8: resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== -type-detect@^4.0.0, type-detect@^4.0.8, type-detect@^4.1.0: +type-detect@^4.0.0, type-detect@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.1.0.tgz#deb2453e8f08dcae7ae98c626b13dddb0155906c" integrity sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw== @@ -6959,9 +6872,9 @@ typedarray@^0.0.6: integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== uglify-js@^3.1.4: - version "3.19.1" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.1.tgz#2d5df6a0872c43da43187968308d7741d44b8056" - integrity sha512-y/2wiW+ceTYR2TSSptAhfnEtpLaQ4Ups5zrjB2d3kuVxHj16j/QJwPl5PvuGy9uARb39J0+iKxcRPvtpsx4A4A== + version "3.19.3" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.3.tgz#82315e9bbc6f2b25888858acd1fff8441035b77f" + integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ== unbox-primitive@^1.0.2: version "1.0.2" @@ -6973,10 +6886,10 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" -undici-types@~6.13.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.13.0.tgz#e3e79220ab8c81ed1496b5812471afd7cf075ea5" - integrity sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg== +undici-types@~6.19.2, undici-types@~6.19.8: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== undici@^5.14.0: version "5.28.4" @@ -6986,9 +6899,9 @@ undici@^5.14.0: "@fastify/busboy" "^2.0.0" undici@^6.18.2: - version "6.19.5" - resolved "https://registry.yarnpkg.com/undici/-/undici-6.19.5.tgz#5829101361b583b53206e81579f4df71c56d6be8" - integrity sha512-LryC15SWzqQsREHIOUybavaIHF5IoL0dJ9aWWxL/PgT1KfqAW5225FZpDUFlt9xiDMS2/S7DOKhFWA7RLksWdg== + version "6.20.1" + resolved "https://registry.yarnpkg.com/undici/-/undici-6.20.1.tgz#fbb87b1e2b69d963ff2d5410a40ffb4c9e81b621" + integrity sha512-AjQF1QsmqfJys+LXfGTNum+qw4S88CojRInG/6t31W/1fk6G59s92bnAvGz5Cmur+kQv2SURXEvvudLmbrE8QA== universalify@^0.1.0: version "0.1.2" @@ -7005,13 +6918,13 @@ unpipe@1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== -update-browserslist-db@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz#7ca61c0d8650766090728046e416a8cde682859e" - integrity sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ== +update-browserslist-db@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz#80846fba1d79e82547fb661f8d141e0945755fe5" + integrity sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A== dependencies: - escalade "^3.1.2" - picocolors "^1.0.1" + escalade "^3.2.0" + picocolors "^1.1.0" uri-js@^4.2.2: version "4.4.1" @@ -7132,7 +7045,16 @@ workerpool@^6.5.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -7155,7 +7077,7 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -write-file-atomic@^4.0.1: +write-file-atomic@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== @@ -7168,10 +7090,10 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@8.5.0: - version "8.5.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f" - integrity sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg== +ws@8.17.1: + version "8.17.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" + integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== ws@^7.4.6: version "7.5.10" @@ -7226,7 +7148,7 @@ yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" -yargs@^17.5.1: +yargs@^17.7.2: version "17.7.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== @@ -7244,15 +7166,15 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -zksync-ethers@6.9.0: - version "6.9.0" - resolved "https://registry.yarnpkg.com/zksync-ethers/-/zksync-ethers-6.9.0.tgz#efaff1d59e2cff837eeda84c4ba59fdca4972a91" - integrity sha512-2CppwvLHtz689L7E9EhevbFtsqVukKC/lVicwdeUS2yqV46ET4iBR11rYdEfGW2oEo1h6yJuuwIBDFm2SybkIA== +zksync-ethers@6.15.0: + version "6.15.0" + resolved "https://registry.yarnpkg.com/zksync-ethers/-/zksync-ethers-6.15.0.tgz#50aad345be01f5425ca52d06e59836069e7d24d6" + integrity sha512-zafUxA/lysBO+9Wd6B3qNtDElsPwvAc2b4nBc/YiB4QY4H0pIBvV3/JqxHXXTppEo4gyHAX/+M5brW2qb4YnKA== zksync-ethers@^5.0.0: - version "5.9.2" - resolved "https://registry.yarnpkg.com/zksync-ethers/-/zksync-ethers-5.9.2.tgz#1c5f34cb25ac0b040fd1a6118f2ba1c2c3bda090" - integrity sha512-Y2Mx6ovvxO6UdC2dePLguVzvNToOY8iLWeq5ne+jgGSJxAi/f4He/NF6FNsf6x1aWX0o8dy4Df8RcOQXAkj5qw== + version "5.10.0" + resolved "https://registry.yarnpkg.com/zksync-ethers/-/zksync-ethers-5.10.0.tgz#3caf25478539a3fd6e170c13555cec6a1dae32e2" + integrity sha512-OAjTGAHF9wbdkRGkj7XZuF/a1Sk/FVbwH4pmLjAKlR7mJ7sQtQhBhrPU2dCc67xLaNvEESPfwil19ES5wooYFg== dependencies: ethers "~5.7.0"