sushi 6.7.1 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/_cjs/evm/api/price.js.map +1 -1
- package/_cjs/evm/api/quote.js +16 -4
- package/_cjs/evm/api/quote.js.map +1 -1
- package/_cjs/evm/api/swap.js +40 -2
- package/_cjs/evm/api/swap.js.map +1 -1
- package/_cjs/evm/api/types.js.map +1 -1
- package/_cjs/evm/chain/chains.js.map +1 -1
- package/_cjs/evm/chain/define-chain.js.map +1 -1
- package/_cjs/evm/config/features/aggregator.js.map +1 -1
- package/_cjs/evm/config/features/api.js.map +1 -1
- package/_cjs/evm/config/features/blade.js.map +1 -1
- package/_cjs/evm/config/features/fee-collector.js.map +1 -1
- package/_cjs/evm/config/features/master-chef.js.map +1 -1
- package/_cjs/evm/config/features/merkl.js.map +1 -1
- package/_cjs/evm/config/features/mini-chef.js.map +1 -1
- package/_cjs/evm/config/features/operations-multisig.js.map +1 -1
- package/_cjs/evm/config/features/pancakeswap-v2.js +2 -2
- package/_cjs/evm/config/features/pancakeswap-v2.js.map +1 -1
- package/_cjs/evm/config/features/pancakeswap-v3.js.map +1 -1
- package/_cjs/evm/config/features/red-snwapper.js.map +1 -1
- package/_cjs/evm/config/features/sushiswap-v2.js.map +1 -1
- package/_cjs/evm/config/features/sushiswap-v3.js.map +1 -1
- package/_cjs/evm/config/features/sushiswap.js.map +1 -1
- package/_cjs/evm/config/features/token-security.js.map +1 -1
- package/_cjs/evm/config/features/uniswap-v2.js +3 -1
- package/_cjs/evm/config/features/uniswap-v2.js.map +1 -1
- package/_cjs/evm/config/features/uniswap-v3.js.map +1 -1
- package/_cjs/evm/config/subgraphs/get-subgraph-url.js.map +1 -1
- package/_cjs/evm/config/subgraphs/hosts.js.map +1 -1
- package/_cjs/evm/config/tokens/address-map-to-token-map.js.map +1 -1
- package/_cjs/evm/config/tokens/token-maps/lsds.js.map +1 -1
- package/_cjs/evm/config/tokens/token-maps/short-name-to-currency.js.map +1 -1
- package/_cjs/evm/config/tokens/token-maps/stables.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/AAVE.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/AERO.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/AGEUR.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/AMPL.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ANKR.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/APE.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ARB.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/AUSD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/BAL.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/BCT.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/BTC_b.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/BUSD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/COMP.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/CRV.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/DAI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/DOC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ENJ.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/FEI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/FRAX.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/FXS.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/GALA.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/GNO.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/GNS.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/GRT.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/GUSD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/JPY.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/JUGNI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/KLIMA.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/KNCv2.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/KP3R.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/LBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/LDO.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/LINK.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/LUSD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/MAI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/MANA.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/MATIC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/METH.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/MIM.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/MKR.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/NFTX.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/OCEAN.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/OHM.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/OP.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/OPTICS_USDC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/PRIMATE.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/QUICK.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/RBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/RNDR.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/SAND.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/SGETH.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/SKL.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/SNX.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/STG.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/STONE.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/SUSHI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/SWISE.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/SolvBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/TEL.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/TRIBE.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/TUSD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/UNI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/USDB.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/USDC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/USDP.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/USDPLUS.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/USDT.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/USDT0.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/USD_PLUS.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/USDe.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/WAVAX.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/WBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/WETH9.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/WRBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/WstETH.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/XSUSHI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/YFI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ape/ETH.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ape/USD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/axlDAI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/axlETH.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/axlUSDC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/axlUSDT.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/axlWBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/base/USDbC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/berachain/HONEY.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/bttc/USDC_BSC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/bttc/USDC_Ethereum.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/bttc/USDC_Tron.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/bttc/USDT_BSC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/bttc/USDT_Ethereum.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/bttc/USDT_Tron.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ethereum/CRV_FRAX.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ethereum/CRV_REN_WSBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ethereum/CRV_USD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ethereum/STETH.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/ethereum/THREE_CRV.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/filecoin/USDC.Celer.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/filecoin/USDT.Celer.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/hemi/HEMI.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/hemi/VUSD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/hemi/hemiBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/megaeth/MEGA.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/megaeth/USDm.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/rETH.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/rETH2.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/renBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/sETH2.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/thundercore/anyBUSD.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/thundercore/anyUSDC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/thundercore/anyUSDT.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/xSolvBTC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/zeta/USDC.BSC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/zeta/USDC.ETH.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/zeta/USDT.BSC.js.map +1 -1
- package/_cjs/evm/config/tokens/tokens/zeta/USDT.ETH.js.map +1 -1
- package/_cjs/evm/config/tokens/wrapped-native.js.map +1 -1
- package/_cjs/evm/currency/currency.js.map +1 -1
- package/_cjs/evm/currency/deserialize-currency.js +6 -6
- package/_cjs/evm/currency/deserialize-currency.js.map +1 -1
- package/_cjs/evm/currency/native.js.map +1 -1
- package/_cjs/evm/currency/token.js +5 -53
- package/_cjs/evm/currency/token.js.map +1 -1
- package/_cjs/evm/currency/unwrap-token.js.map +1 -1
- package/_cjs/evm/dex/errors.js.map +1 -1
- package/_cjs/evm/dex/fee.js.map +1 -1
- package/_cjs/evm/dex/pool.js.map +1 -1
- package/_cjs/evm/dex/trade-type.js.map +1 -1
- package/_cjs/evm/format/hash.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v2/compute-sushiswap-v2-pool-address.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v2/sushiswap-v2-pool.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v2/zod.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/Multicall.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/Payments.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/Position.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/SelfPermit.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/SushiSwapV3Pool.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/Tick.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/TickDataProvider.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/entities/TickListDataProvider.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/internalConstants.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/computePoolAddress.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/encodeSqrtRatioX96.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/fullMath.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/isSorted.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/liquidityMath.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/maxLiquidityForAmounts.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/misc.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/mostSignificantBit.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/nearestUsableTick.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/position.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/priceTickConversions.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/sqrtPriceMath.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/swapMath.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/tickLibrary.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/tickList.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/tickMath.js.map +1 -1
- package/_cjs/evm/pool/sushiswap-v3/utils/validateAndParseAddress.js.map +1 -1
- package/_cjs/evm/token-list/constants.js.map +1 -1
- package/_cjs/evm/token-list/index.js +0 -1
- package/_cjs/evm/token-list/index.js.map +1 -1
- package/_cjs/evm/types/sushi-pool/maybe-nested-pool.js.map +1 -1
- package/_cjs/evm/types/sushi-pool/pool-v2.js.map +1 -1
- package/_cjs/evm/types/sushi-pool/pool-v3.js.map +1 -1
- package/_cjs/evm/types/sushi-pool/pool-with-incentives.js.map +1 -1
- package/_cjs/evm/utils/add-gas-margin.js.map +1 -1
- package/_cjs/evm/utils/get-create-2-address.js.map +1 -1
- package/_cjs/evm/utils/normalize-address.js.map +1 -1
- package/_cjs/evm/validate/zod.js +2 -40
- package/_cjs/evm/validate/zod.js.map +1 -1
- package/_cjs/generic/chain/chains.js.map +1 -1
- package/_cjs/generic/chain/define-chain.js +14 -0
- package/_cjs/generic/chain/define-chain.js.map +1 -0
- package/_cjs/generic/chain/index.js +1 -0
- package/_cjs/generic/chain/index.js.map +1 -1
- package/_cjs/generic/currency/amount.js.map +1 -1
- package/_cjs/generic/currency/currency.js.map +1 -1
- package/_cjs/generic/currency/deserialize-currency.js +12 -0
- package/_cjs/generic/currency/deserialize-currency.js.map +1 -0
- package/_cjs/generic/currency/for-chain.js.map +1 -1
- package/_cjs/generic/currency/index.js +2 -0
- package/_cjs/generic/currency/index.js.map +1 -1
- package/_cjs/generic/currency/native.js.map +1 -1
- package/_cjs/generic/currency/price.js.map +1 -1
- package/_cjs/generic/currency/serialized-currency.js.map +1 -1
- package/_cjs/generic/currency/serialized-token.js +61 -0
- package/_cjs/generic/currency/serialized-token.js.map +1 -0
- package/_cjs/generic/currency/token.js.map +1 -1
- package/_cjs/generic/currency/unwrap-token.js.map +1 -1
- package/_cjs/generic/format/address.js.map +1 -1
- package/_cjs/generic/format/number.js.map +1 -1
- package/_cjs/generic/format/percent.js.map +1 -1
- package/_cjs/generic/format/price.js.map +1 -1
- package/_cjs/generic/format/string.js.map +1 -1
- package/_cjs/generic/math/abs.js.map +1 -1
- package/_cjs/generic/math/difference.js.map +1 -1
- package/_cjs/generic/math/fraction.js.map +1 -1
- package/_cjs/generic/math/maximum.js.map +1 -1
- package/_cjs/generic/math/minimum.js.map +1 -1
- package/_cjs/generic/math/number-to-bigint.js.map +1 -1
- package/_cjs/generic/math/percent.js.map +1 -1
- package/_cjs/generic/math/sqrt.js.map +1 -1
- package/_cjs/generic/utils/assert-never.js.map +1 -1
- package/_cjs/generic/utils/id.js.map +1 -1
- package/_cjs/generic/utils/lowercase-map.js.map +1 -1
- package/_cjs/generic/utils/native-address.js.map +1 -1
- package/_cjs/generic/utils/normalize-address.js.map +1 -1
- package/_cjs/generic/utils/subtract-slippage.js.map +1 -1
- package/_cjs/generic/utils/wrapped-native.js.map +1 -1
- package/_cjs/generic/validate/create-address-schema.js +50 -0
- package/_cjs/generic/validate/create-address-schema.js.map +1 -0
- package/_cjs/generic/validate/index.js +1 -0
- package/_cjs/generic/validate/index.js.map +1 -1
- package/_cjs/generic/validate/isPromiseFulfilled.js.map +1 -1
- package/_cjs/generic/validate/isPromiseRejected.js.map +1 -1
- package/_cjs/generic/validate/zod.js.map +1 -1
- package/_cjs/mvm/chain/chains.js.map +1 -1
- package/_cjs/mvm/chain/define-chain.js +6 -7
- package/_cjs/mvm/chain/define-chain.js.map +1 -1
- package/_cjs/mvm/currency/token.js +5 -53
- package/_cjs/mvm/currency/token.js.map +1 -1
- package/_cjs/mvm/utils/normalize-address.js.map +1 -1
- package/_cjs/mvm/validate/zod.js +2 -38
- package/_cjs/mvm/validate/zod.js.map +1 -1
- package/_cjs/stellar/address.js.map +1 -1
- package/_cjs/stellar/chain/chains.js.map +1 -1
- package/_cjs/stellar/chain/define-chain.js +8 -9
- package/_cjs/stellar/chain/define-chain.js.map +1 -1
- package/_cjs/stellar/config/tokens/token-maps/stables.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/CETES.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/EURC.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/PYUSD.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/SolvBTC.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/USDC.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/USDY.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/USTRY.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/XLM.js.map +1 -1
- package/_cjs/stellar/config/tokens/tokens/xSolvBTC.js.map +1 -1
- package/_cjs/stellar/currency/currency.js.map +1 -1
- package/_cjs/stellar/currency/deserialize-currency.js +3 -1
- package/_cjs/stellar/currency/deserialize-currency.js.map +1 -1
- package/_cjs/stellar/currency/token.js +12 -24
- package/_cjs/stellar/currency/token.js.map +1 -1
- package/_cjs/stellar/currency/unwrap-token.js.map +1 -1
- package/_cjs/stellar/utils/normalize-address.js.map +1 -1
- package/_cjs/stellar/validate/zod.js +4 -46
- package/_cjs/stellar/validate/zod.js.map +1 -1
- package/_cjs/svm/chain/chains.js.map +1 -1
- package/_cjs/svm/chain/define-chain.js +6 -7
- package/_cjs/svm/chain/define-chain.js.map +1 -1
- package/_cjs/svm/config/tokens/token-maps/stables.js.map +1 -1
- package/_cjs/svm/config/tokens/tokens/USDC.js.map +1 -1
- package/_cjs/svm/config/tokens/tokens/USDT.js.map +1 -1
- package/_cjs/svm/config/tokens/tokens/WBTC.js.map +1 -1
- package/_cjs/svm/config/tokens/tokens/WETH.js.map +1 -1
- package/_cjs/svm/config/tokens/tokens/WSOL.js.map +1 -1
- package/_cjs/svm/config/tokens/wrapped-native.js.map +1 -1
- package/_cjs/svm/currency/currency.js.map +1 -1
- package/_cjs/svm/currency/deserialize-currency.js +6 -6
- package/_cjs/svm/currency/deserialize-currency.js.map +1 -1
- package/_cjs/svm/currency/native.js.map +1 -1
- package/_cjs/svm/currency/token.js +5 -53
- package/_cjs/svm/currency/token.js.map +1 -1
- package/_cjs/svm/currency/unwrap-token.js.map +1 -1
- package/_cjs/svm/utils/normalize-address.js.map +1 -1
- package/_cjs/svm/validate/zod.js +2 -38
- package/_cjs/svm/validate/zod.js.map +1 -1
- package/_cjs/version.js +1 -1
- package/_esm/evm/api/quote.js +17 -6
- package/_esm/evm/api/quote.js.map +1 -1
- package/_esm/evm/api/swap.js +41 -4
- package/_esm/evm/api/swap.js.map +1 -1
- package/_esm/evm/chain/define-chain.js.map +1 -1
- package/_esm/evm/config/features/master-chef.js +0 -4
- package/_esm/evm/config/features/master-chef.js.map +1 -1
- package/_esm/evm/config/features/pancakeswap-v2.js +2 -5
- package/_esm/evm/config/features/pancakeswap-v2.js.map +1 -1
- package/_esm/evm/config/features/uniswap-v2.js +1 -0
- package/_esm/evm/config/features/uniswap-v2.js.map +1 -1
- package/_esm/evm/currency/currency.js.map +1 -1
- package/_esm/evm/currency/deserialize-currency.js +6 -6
- package/_esm/evm/currency/deserialize-currency.js.map +1 -1
- package/_esm/evm/currency/native.js.map +1 -1
- package/_esm/evm/currency/token.js +5 -20
- package/_esm/evm/currency/token.js.map +1 -1
- package/_esm/evm/dex/errors.js.map +1 -1
- package/_esm/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.js.map +1 -1
- package/_esm/evm/pool/sushiswap-v3/entities/SushiSwapV3Pool.js.map +1 -1
- package/_esm/evm/pool/sushiswap-v3/entities/TickDataProvider.js.map +1 -1
- package/_esm/evm/pool/sushiswap-v3/utils/tickList.js +0 -1
- package/_esm/evm/pool/sushiswap-v3/utils/tickList.js.map +1 -1
- package/_esm/evm/pool/sushiswap-v3/utils/tickMath.js.map +1 -1
- package/_esm/evm/token-list/index.js +0 -1
- package/_esm/evm/token-list/index.js.map +1 -1
- package/_esm/evm/validate/zod.js +2 -7
- package/_esm/evm/validate/zod.js.map +1 -1
- package/_esm/generic/chain/chains.js.map +1 -1
- package/_esm/generic/chain/define-chain.js +11 -0
- package/_esm/generic/chain/define-chain.js.map +1 -0
- package/_esm/generic/chain/index.js +1 -0
- package/_esm/generic/chain/index.js.map +1 -1
- package/_esm/generic/currency/amount.js.map +1 -1
- package/_esm/generic/currency/deserialize-currency.js +9 -0
- package/_esm/generic/currency/deserialize-currency.js.map +1 -0
- package/_esm/generic/currency/index.js +2 -0
- package/_esm/generic/currency/index.js.map +1 -1
- package/_esm/generic/currency/serialized-currency.js.map +1 -1
- package/_esm/generic/currency/serialized-token.js +25 -0
- package/_esm/generic/currency/serialized-token.js.map +1 -0
- package/_esm/generic/format/string.js.map +1 -1
- package/_esm/generic/math/percent.js.map +1 -1
- package/_esm/generic/utils/id.js.map +1 -1
- package/_esm/generic/validate/create-address-schema.js +14 -0
- package/_esm/generic/validate/create-address-schema.js.map +1 -0
- package/_esm/generic/validate/index.js +1 -0
- package/_esm/generic/validate/index.js.map +1 -1
- package/_esm/mvm/chain/define-chain.js +6 -7
- package/_esm/mvm/chain/define-chain.js.map +1 -1
- package/_esm/mvm/currency/token.js +5 -20
- package/_esm/mvm/currency/token.js.map +1 -1
- package/_esm/mvm/validate/zod.js +2 -5
- package/_esm/mvm/validate/zod.js.map +1 -1
- package/_esm/stellar/chain/define-chain.js +8 -9
- package/_esm/stellar/chain/define-chain.js.map +1 -1
- package/_esm/stellar/currency/currency.js.map +1 -1
- package/_esm/stellar/currency/deserialize-currency.js +3 -1
- package/_esm/stellar/currency/deserialize-currency.js.map +1 -1
- package/_esm/stellar/currency/token.js +12 -24
- package/_esm/stellar/currency/token.js.map +1 -1
- package/_esm/stellar/validate/zod.js +4 -13
- package/_esm/stellar/validate/zod.js.map +1 -1
- package/_esm/svm/chain/define-chain.js +6 -7
- package/_esm/svm/chain/define-chain.js.map +1 -1
- package/_esm/svm/currency/currency.js.map +1 -1
- package/_esm/svm/currency/deserialize-currency.js +6 -6
- package/_esm/svm/currency/deserialize-currency.js.map +1 -1
- package/_esm/svm/currency/native.js.map +1 -1
- package/_esm/svm/currency/token.js +5 -20
- package/_esm/svm/currency/token.js.map +1 -1
- package/_esm/svm/validate/zod.js +2 -5
- package/_esm/svm/validate/zod.js.map +1 -1
- package/_esm/version.js +1 -1
- package/_types/evm/abi/eip2612Abi/eip2612Abi_DOMAIN_SEPARATOR.d.ts +5 -5
- package/_types/evm/abi/eip2612Abi/eip2612Abi_DOMAIN_SEPARATOR.d.ts.map +1 -1
- package/_types/evm/abi/eip2612Abi/eip2612Abi_nonces.d.ts +7 -7
- package/_types/evm/abi/eip2612Abi/eip2612Abi_nonces.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_allowance.d.ts +9 -9
- package/_types/evm/abi/erc20Abi/erc20Abi_allowance.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_approve.d.ts +9 -9
- package/_types/evm/abi/erc20Abi/erc20Abi_approve.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_balanceOf.d.ts +7 -7
- package/_types/evm/abi/erc20Abi/erc20Abi_balanceOf.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_decimals.d.ts +5 -5
- package/_types/evm/abi/erc20Abi/erc20Abi_decimals.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_name.d.ts +5 -5
- package/_types/evm/abi/erc20Abi/erc20Abi_name.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_symbol.d.ts +5 -5
- package/_types/evm/abi/erc20Abi/erc20Abi_symbol.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_totalSupply.d.ts +5 -5
- package/_types/evm/abi/erc20Abi/erc20Abi_totalSupply.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_transfer.d.ts +9 -9
- package/_types/evm/abi/erc20Abi/erc20Abi_transfer.d.ts.map +1 -1
- package/_types/evm/abi/erc20Abi/erc20Abi_transferFrom.d.ts +11 -11
- package/_types/evm/abi/erc20Abi/erc20Abi_transferFrom.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_BONUS_MULTIPLIER.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_BONUS_MULTIPLIER.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_add.d.ts +12 -12
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_add.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_bonusEndBlock.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_bonusEndBlock.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_deposit.d.ts +9 -9
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_deposit.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_dev.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_dev.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_devaddr.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_devaddr.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_emergencyWithdraw.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_emergencyWithdraw.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_getMultiplier.d.ts +12 -12
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_getMultiplier.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_massUpdatePools.d.ts +3 -3
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_massUpdatePools.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_migrate.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_migrate.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_migrator.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_migrator.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_owner.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_owner.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_pendingSushi.d.ts +12 -12
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_pendingSushi.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_poolInfo.d.ts +18 -18
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_poolInfo.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_poolLength.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_poolLength.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_renounceOwnership.d.ts +3 -3
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_renounceOwnership.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_set.d.ts +12 -12
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_set.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_setMigrator.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_setMigrator.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_startBlock.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_startBlock.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_sushi.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_sushi.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_sushiPerBlock.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_sushiPerBlock.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_totalAllocPoint.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_totalAllocPoint.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_transferOwnership.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_transferOwnership.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_updatePool.d.ts +6 -6
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_updatePool.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_userInfo.d.ts +15 -15
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_userInfo.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_withdraw.d.ts +9 -9
- package/_types/evm/abi/masterChefV1Abi/masterChefV1Abi_withdraw.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_MASTER_CHEF.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_MASTER_CHEF.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_MASTER_PID.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_MASTER_PID.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_SUSHI.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_SUSHI.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_add.d.ts +12 -12
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_add.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_batch.d.ts +15 -15
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_batch.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_claimOwnership.d.ts +3 -3
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_claimOwnership.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_deposit.d.ts +12 -12
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_deposit.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_emergencyWithdraw.d.ts +9 -9
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_emergencyWithdraw.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_harvest.d.ts +9 -9
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_harvest.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_harvestFromMasterChef.d.ts +3 -3
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_harvestFromMasterChef.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_init.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_init.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_lpToken.d.ts +9 -9
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_lpToken.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_massUpdatePools.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_massUpdatePools.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_migrate.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_migrate.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_migrator.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_migrator.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_owner.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_owner.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_pendingOwner.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_pendingOwner.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_pendingSushi.d.ts +12 -12
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_pendingSushi.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_permitToken.d.ts +27 -27
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_permitToken.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_poolInfo.d.ts +15 -15
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_poolInfo.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_poolLength.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_poolLength.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_rewarder.d.ts +9 -9
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_rewarder.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_set.d.ts +15 -15
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_set.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_setMigrator.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_setMigrator.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_sushiPerBlock.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_sushiPerBlock.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_totalAllocPoint.d.ts +6 -6
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_totalAllocPoint.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_transferOwnership.d.ts +12 -12
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_transferOwnership.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_updatePool.d.ts +18 -18
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_updatePool.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_userInfo.d.ts +15 -15
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_userInfo.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_withdraw.d.ts +12 -12
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_withdraw.d.ts.map +1 -1
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_withdrawAndHarvest.d.ts +12 -12
- package/_types/evm/abi/masterChefV2Abi/masterChefV2Abi_withdrawAndHarvest.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_SUSHI.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_SUSHI.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_add.d.ts +12 -12
- package/_types/evm/abi/miniChefAbi/miniChefAbi_add.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_batch.d.ts +15 -15
- package/_types/evm/abi/miniChefAbi/miniChefAbi_batch.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_claimOwnership.d.ts +3 -3
- package/_types/evm/abi/miniChefAbi/miniChefAbi_claimOwnership.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_deposit.d.ts +12 -12
- package/_types/evm/abi/miniChefAbi/miniChefAbi_deposit.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_emergencyWithdraw.d.ts +9 -9
- package/_types/evm/abi/miniChefAbi/miniChefAbi_emergencyWithdraw.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_harvest.d.ts +9 -9
- package/_types/evm/abi/miniChefAbi/miniChefAbi_harvest.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_lpToken.d.ts +9 -9
- package/_types/evm/abi/miniChefAbi/miniChefAbi_lpToken.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_massUpdatePools.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_massUpdatePools.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_migrate.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_migrate.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_migrator.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_migrator.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_owner.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_owner.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_pendingOwner.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_pendingOwner.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_pendingSushi.d.ts +12 -12
- package/_types/evm/abi/miniChefAbi/miniChefAbi_pendingSushi.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_permitToken.d.ts +27 -27
- package/_types/evm/abi/miniChefAbi/miniChefAbi_permitToken.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_poolInfo.d.ts +15 -15
- package/_types/evm/abi/miniChefAbi/miniChefAbi_poolInfo.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_poolLength.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_poolLength.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_rewarder.d.ts +9 -9
- package/_types/evm/abi/miniChefAbi/miniChefAbi_rewarder.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_set.d.ts +15 -15
- package/_types/evm/abi/miniChefAbi/miniChefAbi_set.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_setMigrator.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_setMigrator.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_setSushiPerSecond.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_setSushiPerSecond.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_sushiPerSecond.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_sushiPerSecond.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_totalAllocPoint.d.ts +6 -6
- package/_types/evm/abi/miniChefAbi/miniChefAbi_totalAllocPoint.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_transferOwnership.d.ts +12 -12
- package/_types/evm/abi/miniChefAbi/miniChefAbi_transferOwnership.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_updatePool.d.ts +18 -18
- package/_types/evm/abi/miniChefAbi/miniChefAbi_updatePool.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_userInfo.d.ts +15 -15
- package/_types/evm/abi/miniChefAbi/miniChefAbi_userInfo.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_withdraw.d.ts +12 -12
- package/_types/evm/abi/miniChefAbi/miniChefAbi_withdraw.d.ts.map +1 -1
- package/_types/evm/abi/miniChefAbi/miniChefAbi_withdrawAndHarvest.d.ts +12 -12
- package/_types/evm/abi/miniChefAbi/miniChefAbi_withdrawAndHarvest.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_SUSHI.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_SUSHI.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_add.d.ts +12 -12
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_add.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_batch.d.ts +15 -15
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_batch.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_claimOwnership.d.ts +3 -3
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_claimOwnership.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_deposit.d.ts +12 -12
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_deposit.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_emergencyWithdraw.d.ts +9 -9
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_emergencyWithdraw.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_harvest.d.ts +9 -9
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_harvest.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_lpToken.d.ts +9 -9
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_lpToken.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_massUpdatePools.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_massUpdatePools.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_migrate.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_migrate.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_migrator.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_migrator.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_owner.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_owner.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_pendingOwner.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_pendingOwner.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_pendingSushi.d.ts +12 -12
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_pendingSushi.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_permitToken.d.ts +27 -27
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_permitToken.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_poolInfo.d.ts +15 -15
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_poolInfo.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_poolLength.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_poolLength.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_rewarder.d.ts +9 -9
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_rewarder.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_set.d.ts +15 -15
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_set.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_setMigrator.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_setMigrator.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_setSushiPerSecond.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_setSushiPerSecond.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_sushiPerSecond.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_sushiPerSecond.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_totalAllocPoint.d.ts +6 -6
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_totalAllocPoint.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_transferOwnership.d.ts +12 -12
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_transferOwnership.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_updatePool.d.ts +18 -18
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_updatePool.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_userInfo.d.ts +15 -15
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_userInfo.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_withdraw.d.ts +12 -12
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_withdraw.d.ts.map +1 -1
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_withdrawAndHarvest.d.ts +12 -12
- package/_types/evm/abi/miniChefV2Abi/miniChefV2Abi_withdrawAndHarvest.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_aggregate.d.ts +18 -18
- package/_types/evm/abi/multicall2Abi/multicall2Abi_aggregate.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_blockAndAggregate.d.ts +27 -27
- package/_types/evm/abi/multicall2Abi/multicall2Abi_blockAndAggregate.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getBlockHash.d.ts +9 -9
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getBlockHash.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getBlockNumber.d.ts +6 -6
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getBlockNumber.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockCoinbase.d.ts +6 -6
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockCoinbase.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockDifficulty.d.ts +6 -6
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockDifficulty.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockGasLimit.d.ts +6 -6
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockGasLimit.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockTimestamp.d.ts +6 -6
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockTimestamp.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getEthBalance.d.ts +9 -9
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getEthBalance.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getLastBlockHash.d.ts +6 -6
- package/_types/evm/abi/multicall2Abi/multicall2Abi_getLastBlockHash.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_tryAggregate.d.ts +24 -24
- package/_types/evm/abi/multicall2Abi/multicall2Abi_tryAggregate.d.ts.map +1 -1
- package/_types/evm/abi/multicall2Abi/multicall2Abi_tryBlockAndAggregate.d.ts +30 -30
- package/_types/evm/abi/multicall2Abi/multicall2Abi_tryBlockAndAggregate.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_aggregate.d.ts +18 -18
- package/_types/evm/abi/multicall3Abi/multicall3Abi_aggregate.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_aggregate3.d.ts +24 -24
- package/_types/evm/abi/multicall3Abi/multicall3Abi_aggregate3.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_aggregate3Value.d.ts +27 -27
- package/_types/evm/abi/multicall3Abi/multicall3Abi_aggregate3Value.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_blockAndAggregate.d.ts +27 -27
- package/_types/evm/abi/multicall3Abi/multicall3Abi_blockAndAggregate.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getBasefee.d.ts +6 -6
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getBasefee.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getBlockHash.d.ts +9 -9
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getBlockHash.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getBlockNumber.d.ts +6 -6
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getBlockNumber.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getChainId.d.ts +6 -6
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getChainId.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockCoinbase.d.ts +6 -6
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockCoinbase.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockDifficulty.d.ts +6 -6
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockDifficulty.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockGasLimit.d.ts +6 -6
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockGasLimit.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockTimestamp.d.ts +6 -6
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockTimestamp.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getEthBalance.d.ts +9 -9
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getEthBalance.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getLastBlockHash.d.ts +6 -6
- package/_types/evm/abi/multicall3Abi/multicall3Abi_getLastBlockHash.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_tryAggregate.d.ts +24 -24
- package/_types/evm/abi/multicall3Abi/multicall3Abi_tryAggregate.d.ts.map +1 -1
- package/_types/evm/abi/multicall3Abi/multicall3Abi_tryBlockAndAggregate.d.ts +30 -30
- package/_types/evm/abi/multicall3Abi/multicall3Abi_tryBlockAndAggregate.d.ts.map +1 -1
- package/_types/evm/abi/multicallAbi/multicallAbi_multicall.d.ts +9 -9
- package/_types/evm/abi/multicallAbi/multicallAbi_multicall.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_DOMAIN_SEPARATOR.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_DOMAIN_SEPARATOR.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_PERMIT_TYPEHASH.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_PERMIT_TYPEHASH.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_WETH9.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_WETH9.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_approve.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_approve.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_balanceOf.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_balanceOf.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_baseURI.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_baseURI.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_burn.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_burn.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_collect.d.ts +24 -24
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_collect.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_createAndInitializePoolIfNecessary.d.ts +18 -18
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_createAndInitializePoolIfNecessary.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_decreaseLiquidity.d.ts +27 -27
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_decreaseLiquidity.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_factory.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_factory.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_getApproved.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_getApproved.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_increaseLiquidity.d.ts +33 -33
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_increaseLiquidity.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_isApprovedForAll.d.ts +12 -12
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_isApprovedForAll.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_mint.d.ts +51 -51
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_mint.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_multicall.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_multicall.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_name.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_name.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_ownerOf.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_ownerOf.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_permit.d.ts +21 -21
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_permit.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_positions.d.ts +42 -42
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_positions.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_refundETH.d.ts +3 -3
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_refundETH.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_safeTransferFrom.d.ts +27 -27
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_safeTransferFrom.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermit.d.ts +21 -21
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermit.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitAllowed.d.ts +21 -21
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitAllowed.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitAllowedIfNecessary.d.ts +21 -21
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitAllowedIfNecessary.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitIfNecessary.d.ts +21 -21
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitIfNecessary.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_setApprovalForAll.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_setApprovalForAll.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_supportsInterface.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_supportsInterface.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_sweepToken.d.ts +12 -12
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_sweepToken.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_symbol.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_symbol.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenByIndex.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenByIndex.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenOfOwnerByIndex.d.ts +12 -12
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenOfOwnerByIndex.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenURI.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenURI.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_totalSupply.d.ts +6 -6
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_totalSupply.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_transferFrom.d.ts +12 -12
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_transferFrom.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_uniswapV3MintCallback.d.ts +12 -12
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_uniswapV3MintCallback.d.ts.map +1 -1
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_unwrapWETH9.d.ts +9 -9
- package/_types/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_unwrapWETH9.d.ts.map +1 -1
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_refundETH.d.ts +3 -3
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_refundETH.d.ts.map +1 -1
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_sweepToken.d.ts +12 -12
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_sweepToken.d.ts.map +1 -1
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_sweepTokenWithFee.d.ts +18 -18
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_sweepTokenWithFee.d.ts.map +1 -1
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_unwrapWETH9.d.ts +9 -9
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_unwrapWETH9.d.ts.map +1 -1
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_unwrapWETH9WithFee.d.ts +15 -15
- package/_types/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_unwrapWETH9WithFee.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_DOMAIN_SEPARATOR.d.ts +6 -6
- package/_types/evm/abi/permit2Abi/permit2Abi_DOMAIN_SEPARATOR.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_allowance.d.ts +21 -21
- package/_types/evm/abi/permit2Abi/permit2Abi_allowance.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_approve.d.ts +15 -15
- package/_types/evm/abi/permit2Abi/permit2Abi_approve.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_invalidateNonces.d.ts +12 -12
- package/_types/evm/abi/permit2Abi/permit2Abi_invalidateNonces.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_invalidateUnorderedNonces.d.ts +9 -9
- package/_types/evm/abi/permit2Abi/permit2Abi_invalidateUnorderedNonces.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_lockdown.d.ts +12 -12
- package/_types/evm/abi/permit2Abi/permit2Abi_lockdown.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_nonceBitmap.d.ts +12 -12
- package/_types/evm/abi/permit2Abi/permit2Abi_nonceBitmap.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_permit.d.ts +33 -33
- package/_types/evm/abi/permit2Abi/permit2Abi_permit.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_permitTransferFrom.d.ts +36 -36
- package/_types/evm/abi/permit2Abi/permit2Abi_permitTransferFrom.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_permitWitnessTransferFrom.d.ts +42 -42
- package/_types/evm/abi/permit2Abi/permit2Abi_permitWitnessTransferFrom.d.ts.map +1 -1
- package/_types/evm/abi/permit2Abi/permit2Abi_transferFrom.d.ts +15 -15
- package/_types/evm/abi/permit2Abi/permit2Abi_transferFrom.d.ts.map +1 -1
- package/_types/evm/abi/selfPermitAbi/selfPermitAbi_selfPermit.d.ts +21 -21
- package/_types/evm/abi/selfPermitAbi/selfPermitAbi_selfPermit.d.ts.map +1 -1
- package/_types/evm/abi/selfPermitAbi/selfPermitAbi_selfPermitAllowed.d.ts +21 -21
- package/_types/evm/abi/selfPermitAbi/selfPermitAbi_selfPermitAllowed.d.ts.map +1 -1
- package/_types/evm/abi/slot0Abi/slot0Abi_slot0.d.ts +24 -24
- package/_types/evm/abi/slot0Abi/slot0Abi_slot0.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_allPairs.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_allPairs.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_allPairsLength.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_allPairsLength.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_createPair.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_createPair.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_feeTo.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_feeTo.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_feeToSetter.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_feeToSetter.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_getPair.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_getPair.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_migrator.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_migrator.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_pairCodeHash.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_pairCodeHash.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setFeeTo.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setFeeTo.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setFeeToSetter.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setFeeToSetter.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setMigrator.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setMigrator.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_DOMAIN_SEPARATOR.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_DOMAIN_SEPARATOR.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_MINIMUM_LIQUIDITY.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_MINIMUM_LIQUIDITY.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_PERMIT_TYPEHASH.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_PERMIT_TYPEHASH.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_allowance.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_allowance.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_approve.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_approve.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_balanceOf.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_balanceOf.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_burn.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_burn.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_decimals.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_decimals.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_factory.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_factory.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_getReserves.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_getReserves.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_initialize.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_initialize.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_kLast.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_kLast.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_mint.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_mint.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_name.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_name.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_nonces.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_nonces.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_permit.d.ts +24 -24
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_permit.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_price0CumulativeLast.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_price0CumulativeLast.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_price1CumulativeLast.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_price1CumulativeLast.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_skim.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_skim.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_swap.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_swap.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_symbol.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_symbol.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_sync.d.ts +3 -3
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_sync.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_token0.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_token0.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_token1.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_token1.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_totalSupply.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_totalSupply.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_transfer.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_transfer.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_transferFrom.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV2PairAbi/sushiSwapV2PairAbi_transferFrom.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_WETH.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_WETH.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_addLiquidity.d.ts +36 -36
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_addLiquidity.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_addLiquidityETH.d.ts +30 -30
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_addLiquidityETH.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_factory.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_factory.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_getAmountIn.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_getAmountIn.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_getAmountOut.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_getAmountOut.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_getAmountsIn.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_getAmountsIn.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_getAmountsOut.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_getAmountsOut.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_quote.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_quote.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidity.d.ts +30 -30
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidity.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityETH.d.ts +27 -27
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityETH.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityETHSupportingFeeOnTransferTokens.d.ts +24 -24
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityETHSupportingFeeOnTransferTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityETHWithPermit.d.ts +39 -39
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityETHWithPermit.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityETHWithPermitSupportingFeeOnTransferTokens.d.ts +36 -36
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityETHWithPermitSupportingFeeOnTransferTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityWithPermit.d.ts +42 -42
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_removeLiquidityWithPermit.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapETHForExactTokens.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapETHForExactTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactETHForTokens.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactETHForTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactETHForTokensSupportingFeeOnTransferTokens.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactETHForTokensSupportingFeeOnTransferTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactTokensForETH.d.ts +21 -21
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactTokensForETH.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactTokensForETHSupportingFeeOnTransferTokens.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactTokensForETHSupportingFeeOnTransferTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactTokensForTokens.d.ts +21 -21
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactTokensForTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactTokensForTokensSupportingFeeOnTransferTokens.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapExactTokensForTokensSupportingFeeOnTransferTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapTokensForExactETH.d.ts +21 -21
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapTokensForExactETH.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapTokensForExactTokens.d.ts +21 -21
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiSwapV2RouterAbi_swapTokensForExactTokens.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiswapV2RouterAbi.d.ts +526 -526
- package/_types/evm/abi/sushiSwapV2RouterAbi/sushiswapV2RouterAbi.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_createPool.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_createPool.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_enableFeeAmount.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_enableFeeAmount.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_feeAmountTickSpacing.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_feeAmountTickSpacing.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_getPool.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_getPool.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_owner.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_owner.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_parameters.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_parameters.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_setOwner.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3FactoryAbi/sushiSwapV3FactoryAbi_setOwner.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_burn.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_burn.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_collect.d.ts +24 -24
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_collect.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_collectProtocol.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_collectProtocol.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_factory.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_factory.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_fee.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_fee.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_feeGrowthGlobal0X128.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_feeGrowthGlobal0X128.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_feeGrowthGlobal1X128.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_feeGrowthGlobal1X128.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_flash.d.ts +15 -15
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_flash.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_increaseObservationCardinalityNext.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_increaseObservationCardinalityNext.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_initialize.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_initialize.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_liquidity.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_liquidity.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_maxLiquidityPerTick.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_maxLiquidityPerTick.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_mint.d.ts +24 -24
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_mint.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_observations.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_observations.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_observe.d.ts +12 -12
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_observe.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_positions.d.ts +21 -21
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_positions.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_protocolFees.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_protocolFees.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_setFeeProtocol.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_setFeeProtocol.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_slot0.d.ts +24 -24
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_slot0.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_snapshotCumulativesInside.d.ts +18 -18
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_snapshotCumulativesInside.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_swap.d.ts +24 -24
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_swap.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_tickBitmap.d.ts +9 -9
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_tickBitmap.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_tickSpacing.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_tickSpacing.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_ticks.d.ts +30 -30
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_ticks.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_token0.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_token0.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_token1.d.ts +6 -6
- package/_types/evm/abi/sushiSwapV3PoolAbi/sushiSwapV3PoolAbi_token1.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PositionHelperAbi/sushiSwapV3PositionHelperAbi_getPosition.d.ts +34 -34
- package/_types/evm/abi/sushiSwapV3PositionHelperAbi/sushiSwapV3PositionHelperAbi_getPosition.d.ts.map +1 -1
- package/_types/evm/abi/sushiSwapV3PositionHelperAbi/sushiSwapV3PositionHelperAbi_getUserPositions.d.ts +57 -57
- package/_types/evm/abi/sushiSwapV3PositionHelperAbi/sushiSwapV3PositionHelperAbi_getUserPositions.d.ts.map +1 -1
- package/_types/evm/abi/tickLensAbi/tickLensAbi_getPopulatedTicksInWord.d.ts +21 -21
- package/_types/evm/abi/tickLensAbi/tickLensAbi_getPopulatedTicksInWord.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_allowance.d.ts +9 -9
- package/_types/evm/abi/weth9Abi/weth9Abi_allowance.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_approve.d.ts +9 -9
- package/_types/evm/abi/weth9Abi/weth9Abi_approve.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_balanceOf.d.ts +7 -7
- package/_types/evm/abi/weth9Abi/weth9Abi_balanceOf.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_decimals.d.ts +5 -5
- package/_types/evm/abi/weth9Abi/weth9Abi_decimals.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_deposit.d.ts +3 -3
- package/_types/evm/abi/weth9Abi/weth9Abi_deposit.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_name.d.ts +5 -5
- package/_types/evm/abi/weth9Abi/weth9Abi_name.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_symbol.d.ts +5 -5
- package/_types/evm/abi/weth9Abi/weth9Abi_symbol.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_totalSupply.d.ts +5 -5
- package/_types/evm/abi/weth9Abi/weth9Abi_totalSupply.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_transfer.d.ts +9 -9
- package/_types/evm/abi/weth9Abi/weth9Abi_transfer.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_transferFrom.d.ts +11 -11
- package/_types/evm/abi/weth9Abi/weth9Abi_transferFrom.d.ts.map +1 -1
- package/_types/evm/abi/weth9Abi/weth9Abi_withdraw.d.ts +5 -5
- package/_types/evm/abi/weth9Abi/weth9Abi_withdraw.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_allowance.d.ts +12 -12
- package/_types/evm/abi/xsushiAbi/xsushiAbi_allowance.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_approve.d.ts +12 -12
- package/_types/evm/abi/xsushiAbi/xsushiAbi_approve.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_balanceOf.d.ts +9 -9
- package/_types/evm/abi/xsushiAbi/xsushiAbi_balanceOf.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_decimals.d.ts +6 -6
- package/_types/evm/abi/xsushiAbi/xsushiAbi_decimals.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_decreaseAllowance.d.ts +12 -12
- package/_types/evm/abi/xsushiAbi/xsushiAbi_decreaseAllowance.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_enter.d.ts +6 -6
- package/_types/evm/abi/xsushiAbi/xsushiAbi_enter.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_increaseAllowance.d.ts +12 -12
- package/_types/evm/abi/xsushiAbi/xsushiAbi_increaseAllowance.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_leave.d.ts +6 -6
- package/_types/evm/abi/xsushiAbi/xsushiAbi_leave.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_name.d.ts +6 -6
- package/_types/evm/abi/xsushiAbi/xsushiAbi_name.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_sushi.d.ts +6 -6
- package/_types/evm/abi/xsushiAbi/xsushiAbi_sushi.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_symbol.d.ts +6 -6
- package/_types/evm/abi/xsushiAbi/xsushiAbi_symbol.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_totalSupply.d.ts +6 -6
- package/_types/evm/abi/xsushiAbi/xsushiAbi_totalSupply.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_transfer.d.ts +12 -12
- package/_types/evm/abi/xsushiAbi/xsushiAbi_transfer.d.ts.map +1 -1
- package/_types/evm/abi/xsushiAbi/xsushiAbi_transferFrom.d.ts +15 -15
- package/_types/evm/abi/xsushiAbi/xsushiAbi_transferFrom.d.ts.map +1 -1
- package/_types/evm/api/quote.d.ts +26 -27
- package/_types/evm/api/quote.d.ts.map +1 -1
- package/_types/evm/api/swap.d.ts +35 -35
- package/_types/evm/api/swap.d.ts.map +1 -1
- package/_types/evm/chain/chains.d.ts +868 -249
- package/_types/evm/chain/chains.d.ts.map +1 -1
- package/_types/evm/chain/define-chain.d.ts +8 -8
- package/_types/evm/chain/define-chain.d.ts.map +1 -1
- package/_types/evm/config/features/aggregator.d.ts.map +1 -1
- package/_types/evm/config/features/api.d.ts.map +1 -1
- package/_types/evm/config/features/blade.d.ts.map +1 -1
- package/_types/evm/config/features/fee-collector.d.ts +4 -3
- package/_types/evm/config/features/fee-collector.d.ts.map +1 -1
- package/_types/evm/config/features/master-chef.d.ts +2 -2
- package/_types/evm/config/features/master-chef.d.ts.map +1 -1
- package/_types/evm/config/features/merkl.d.ts +2 -2
- package/_types/evm/config/features/merkl.d.ts.map +1 -1
- package/_types/evm/config/features/mini-chef.d.ts +14 -14
- package/_types/evm/config/features/mini-chef.d.ts.map +1 -1
- package/_types/evm/config/features/operations-multisig.d.ts.map +1 -1
- package/_types/evm/config/features/pancakeswap-v2.d.ts.map +1 -1
- package/_types/evm/config/features/pancakeswap-v3.d.ts.map +1 -1
- package/_types/evm/config/features/red-snwapper.d.ts.map +1 -1
- package/_types/evm/config/features/sushiswap-v2.d.ts.map +1 -1
- package/_types/evm/config/features/sushiswap-v3.d.ts.map +1 -1
- package/_types/evm/config/features/sushiswap.d.ts +1 -1
- package/_types/evm/config/features/token-security.d.ts.map +1 -1
- package/_types/evm/config/features/uniswap-v2.d.ts +1 -0
- package/_types/evm/config/features/uniswap-v2.d.ts.map +1 -1
- package/_types/evm/config/features/uniswap-v3.d.ts.map +1 -1
- package/_types/evm/config/subgraphs/get-subgraph-url.d.ts +1 -1
- package/_types/evm/config/subgraphs/hosts.d.ts.map +1 -1
- package/_types/evm/config/subgraphs/subgraphs/blade.d.ts +2 -2
- package/_types/evm/config/subgraphs/subgraphs/blocks.d.ts +2 -2
- package/_types/evm/config/subgraphs/subgraphs/master-chef-v1.d.ts +1 -1
- package/_types/evm/config/subgraphs/subgraphs/master-chef-v2.d.ts +1 -1
- package/_types/evm/config/subgraphs/subgraphs/mini-chef.d.ts +2 -2
- package/_types/evm/config/subgraphs/subgraphs/sushi-bar.d.ts +1 -1
- package/_types/evm/config/subgraphs/subgraphs/sushiswap-v2.d.ts +2 -2
- package/_types/evm/config/subgraphs/subgraphs/sushiswap-v3.d.ts +2 -2
- package/_types/evm/config/tokens/token-maps/default-quote.d.ts +36 -36
- package/_types/evm/config/tokens/token-maps/short-name-to-currency.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/AAVE.d.ts +7 -7
- package/_types/evm/config/tokens/tokens/AAVE.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/AERO.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/AERO.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/AGEUR.d.ts +9 -9
- package/_types/evm/config/tokens/tokens/AGEUR.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/AMPL.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/AMPL.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ANKR.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/ANKR.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/APE.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/APE.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ARB.d.ts +3 -3
- package/_types/evm/config/tokens/tokens/ARB.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/AUSD.d.ts +4 -4
- package/_types/evm/config/tokens/tokens/AUSD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/BAL.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/BAL.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/BCT.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/BCT.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/BTC_b.d.ts +3 -3
- package/_types/evm/config/tokens/tokens/BTC_b.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/BUSD.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/BUSD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/COMP.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/COMP.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/CRV.d.ts +4 -4
- package/_types/evm/config/tokens/tokens/CRV.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/DAI.d.ts +21 -21
- package/_types/evm/config/tokens/tokens/DAI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/DOC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/DOC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ENJ.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/ENJ.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/FEI.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/FEI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/FRAX.d.ts +11 -11
- package/_types/evm/config/tokens/tokens/FRAX.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/FXS.d.ts +10 -10
- package/_types/evm/config/tokens/tokens/FXS.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/GALA.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/GALA.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/GNO.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/GNO.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/GNS.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/GNS.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/GRT.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/GRT.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/GUSD.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/GUSD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/JPY.d.ts +5 -5
- package/_types/evm/config/tokens/tokens/JPY.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/JUGNI.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/JUGNI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/KLIMA.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/KLIMA.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/KNCv2.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/KNCv2.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/KP3R.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/KP3R.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/LBTC.d.ts +3 -3
- package/_types/evm/config/tokens/tokens/LBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/LDO.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/LDO.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/LINK.d.ts +9 -9
- package/_types/evm/config/tokens/tokens/LINK.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/LUSD.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/LUSD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/MAI.d.ts +14 -14
- package/_types/evm/config/tokens/tokens/MAI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/MANA.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/MANA.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/MATIC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/MATIC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/METH.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/METH.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/MIM.d.ts +6 -6
- package/_types/evm/config/tokens/tokens/MIM.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/MKR.d.ts +4 -4
- package/_types/evm/config/tokens/tokens/MKR.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/NFTX.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/NFTX.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/OCEAN.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/OCEAN.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/OHM.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/OHM.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/OP.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/OP.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/OPTICS_USDC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/OPTICS_USDC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/PRIMATE.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/PRIMATE.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/QUICK.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/QUICK.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/RBTC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/RBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/RNDR.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/RNDR.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/SAND.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/SAND.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/SGETH.d.ts +6 -6
- package/_types/evm/config/tokens/tokens/SGETH.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/SKL.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/SKL.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/SNX.d.ts +6 -6
- package/_types/evm/config/tokens/tokens/SNX.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/STG.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/STG.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/STONE.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/STONE.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/SUSHI.d.ts +18 -18
- package/_types/evm/config/tokens/tokens/SUSHI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/SWISE.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/SWISE.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/SolvBTC.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/SolvBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/TEL.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/TEL.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/TRIBE.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/TRIBE.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/TUSD.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/TUSD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/UNI.d.ts +9 -9
- package/_types/evm/config/tokens/tokens/UNI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/USDB.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/USDB.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/USDC.d.ts +67 -67
- package/_types/evm/config/tokens/tokens/USDC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/USDP.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/USDP.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/USDPLUS.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/USDPLUS.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/USDT.d.ts +64 -64
- package/_types/evm/config/tokens/tokens/USDT.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/USDT0.d.ts +8 -8
- package/_types/evm/config/tokens/tokens/USDT0.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/USD_PLUS.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/USD_PLUS.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/USDe.d.ts +6 -6
- package/_types/evm/config/tokens/tokens/USDe.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/WAVAX.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/WAVAX.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/WBTC.d.ts +25 -25
- package/_types/evm/config/tokens/tokens/WBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/WETH9.d.ts +76 -76
- package/_types/evm/config/tokens/tokens/WETH9.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/WRBTC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/WRBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/WstETH.d.ts +8 -8
- package/_types/evm/config/tokens/tokens/WstETH.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/XSUSHI.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/XSUSHI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/YFI.d.ts +7 -7
- package/_types/evm/config/tokens/tokens/YFI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ape/ETH.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/ape/ETH.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ape/USD.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/ape/USD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/axlDAI.d.ts +14 -14
- package/_types/evm/config/tokens/tokens/axlDAI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/axlETH.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/axlETH.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/axlUSDC.d.ts +16 -16
- package/_types/evm/config/tokens/tokens/axlUSDC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/axlUSDT.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/axlUSDT.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/axlWBTC.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/axlWBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/base/USDbC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/base/USDbC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/berachain/HONEY.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/berachain/HONEY.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDC_BSC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDC_BSC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDC_Ethereum.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDC_Ethereum.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDC_Tron.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDC_Tron.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDT_BSC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDT_BSC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDT_Ethereum.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDT_Ethereum.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDT_Tron.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/bttc/USDT_Tron.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/CRV_FRAX.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/CRV_FRAX.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/CRV_REN_WSBTC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/CRV_REN_WSBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/CRV_USD.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/CRV_USD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/STETH.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/STETH.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/THREE_CRV.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/ethereum/THREE_CRV.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/filecoin/USDC.Celer.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/filecoin/USDC.Celer.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/filecoin/USDT.Celer.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/filecoin/USDT.Celer.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/hemi/HEMI.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/hemi/HEMI.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/hemi/VUSD.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/hemi/VUSD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/hemi/hemiBTC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/hemi/hemiBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/megaeth/MEGA.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/megaeth/MEGA.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/megaeth/USDm.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/megaeth/USDm.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/rETH.d.ts +9 -9
- package/_types/evm/config/tokens/tokens/rETH.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/rETH2.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/rETH2.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/renBTC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/renBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/sETH2.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/sETH2.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/thundercore/anyBUSD.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/thundercore/anyBUSD.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/thundercore/anyUSDC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/thundercore/anyUSDC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/thundercore/anyUSDT.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/thundercore/anyUSDT.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/xSolvBTC.d.ts +2 -2
- package/_types/evm/config/tokens/tokens/xSolvBTC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/zeta/USDC.BSC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/zeta/USDC.BSC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/zeta/USDC.ETH.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/zeta/USDC.ETH.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/zeta/USDT.BSC.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/zeta/USDT.BSC.d.ts.map +1 -1
- package/_types/evm/config/tokens/tokens/zeta/USDT.ETH.d.ts +1 -1
- package/_types/evm/config/tokens/tokens/zeta/USDT.ETH.d.ts.map +1 -1
- package/_types/evm/config/tokens/wrapped-native.d.ts +25 -25
- package/_types/evm/config/tokens/wrapped-native.d.ts.map +1 -1
- package/_types/evm/currency/currency.d.ts +3 -3
- package/_types/evm/currency/currency.d.ts.map +1 -1
- package/_types/evm/currency/deserialize-currency.d.ts.map +1 -1
- package/_types/evm/currency/native.d.ts +1 -1
- package/_types/evm/currency/native.d.ts.map +1 -1
- package/_types/evm/currency/token.d.ts +4 -4
- package/_types/evm/currency/token.d.ts.map +1 -1
- package/_types/evm/dex/errors.d.ts.map +1 -1
- package/_types/evm/dex/pool.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v2/compute-sushiswap-v2-pool-address.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v2/sushiswap-v2-pool.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v2/zod.d.ts +4 -4
- package/_types/evm/pool/sushiswap-v3/entities/Multicall.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/entities/Payments.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/entities/Position.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/entities/SelfPermit.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/entities/SushiSwapV3Pool.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/entities/Tick.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/entities/TickDataProvider.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/entities/TickListDataProvider.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/fullMath.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/liquidityMath.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/misc.d.ts +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/misc.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/position.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/sqrtPriceMath.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/swapMath.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/tickLibrary.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/tickList.d.ts.map +1 -1
- package/_types/evm/pool/sushiswap-v3/utils/tickMath.d.ts.map +1 -1
- package/_types/evm/token-list/index.d.ts +0 -1
- package/_types/evm/token-list/index.d.ts.map +1 -1
- package/_types/evm/types/sushi-pool/protocol.d.ts +3 -3
- package/_types/evm/types/sushi-pool/protocol.d.ts.map +1 -1
- package/_types/evm/types/sushi-pool/steer-vault-id.d.ts +2 -2
- package/_types/evm/validate/zod.d.ts +2 -3
- package/_types/evm/validate/zod.d.ts.map +1 -1
- package/_types/generic/chain/chains.d.ts +873 -253
- package/_types/generic/chain/chains.d.ts.map +1 -1
- package/_types/generic/chain/define-chain.d.ts +15 -0
- package/_types/generic/chain/define-chain.d.ts.map +1 -0
- package/_types/generic/chain/index.d.ts +1 -0
- package/_types/generic/chain/index.d.ts.map +1 -1
- package/_types/generic/chain/interface.d.ts +5 -3
- package/_types/generic/chain/interface.d.ts.map +1 -1
- package/_types/generic/currency/amount.d.ts.map +1 -1
- package/_types/generic/currency/currency.d.ts.map +1 -1
- package/_types/generic/currency/deserialize-currency.d.ts +4 -0
- package/_types/generic/currency/deserialize-currency.d.ts.map +1 -0
- package/_types/generic/currency/index.d.ts +2 -0
- package/_types/generic/currency/index.d.ts.map +1 -1
- package/_types/generic/currency/native.d.ts.map +1 -1
- package/_types/generic/currency/price.d.ts.map +1 -1
- package/_types/generic/currency/serialized-currency.d.ts +11 -11
- package/_types/generic/currency/serialized-currency.d.ts.map +1 -1
- package/_types/generic/currency/serialized-token.d.ts +17 -0
- package/_types/generic/currency/serialized-token.d.ts.map +1 -0
- package/_types/generic/currency/token.d.ts.map +1 -1
- package/_types/generic/currency/unwrap-token.d.ts +1 -1
- package/_types/generic/format/number.d.ts.map +1 -1
- package/_types/generic/format/percent.d.ts.map +1 -1
- package/_types/generic/format/price.d.ts.map +1 -1
- package/_types/generic/math/fraction.d.ts.map +1 -1
- package/_types/generic/math/percent.d.ts.map +1 -1
- package/_types/generic/utils/id.d.ts +1 -1
- package/_types/generic/utils/lowercase-map.d.ts.map +1 -1
- package/_types/generic/utils/wrapped-native.d.ts.map +1 -1
- package/_types/generic/validate/create-address-schema.d.ts +3 -0
- package/_types/generic/validate/create-address-schema.d.ts.map +1 -0
- package/_types/generic/validate/index.d.ts +1 -0
- package/_types/generic/validate/index.d.ts.map +1 -1
- package/_types/generic/validate/isPromiseFulfilled.d.ts.map +1 -1
- package/_types/generic/validate/isPromiseRejected.d.ts.map +1 -1
- package/_types/generic/validate/zod.d.ts +7 -7
- package/_types/mvm/chain/chains.d.ts.map +1 -1
- package/_types/mvm/chain/define-chain.d.ts +2 -2
- package/_types/mvm/chain/define-chain.d.ts.map +1 -1
- package/_types/mvm/currency/token.d.ts +4 -4
- package/_types/mvm/currency/token.d.ts.map +1 -1
- package/_types/mvm/validate/zod.d.ts +2 -3
- package/_types/mvm/validate/zod.d.ts.map +1 -1
- package/_types/stellar/chain/chains.d.ts.map +1 -1
- package/_types/stellar/chain/define-chain.d.ts +2 -2
- package/_types/stellar/chain/define-chain.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/CETES.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/CETES.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/EURC.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/EURC.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/PYUSD.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/PYUSD.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/SolvBTC.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/SolvBTC.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/USDC.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/USDC.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/USDY.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/USDY.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/USTRY.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/USTRY.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/XLM.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/XLM.d.ts.map +1 -1
- package/_types/stellar/config/tokens/tokens/xSolvBTC.d.ts +1 -1
- package/_types/stellar/config/tokens/tokens/xSolvBTC.d.ts.map +1 -1
- package/_types/stellar/currency/currency.d.ts +3 -3
- package/_types/stellar/currency/currency.d.ts.map +1 -1
- package/_types/stellar/currency/deserialize-currency.d.ts.map +1 -1
- package/_types/stellar/currency/token.d.ts +4 -4
- package/_types/stellar/currency/token.d.ts.map +1 -1
- package/_types/stellar/validate/zod.d.ts +6 -7
- package/_types/stellar/validate/zod.d.ts.map +1 -1
- package/_types/svm/chain/chains.d.ts.map +1 -1
- package/_types/svm/chain/define-chain.d.ts +2 -2
- package/_types/svm/chain/define-chain.d.ts.map +1 -1
- package/_types/svm/config/tokens/wrapped-native.d.ts.map +1 -1
- package/_types/svm/currency/currency.d.ts +3 -3
- package/_types/svm/currency/currency.d.ts.map +1 -1
- package/_types/svm/currency/deserialize-currency.d.ts.map +1 -1
- package/_types/svm/currency/native.d.ts +1 -1
- package/_types/svm/currency/native.d.ts.map +1 -1
- package/_types/svm/currency/token.d.ts +4 -4
- package/_types/svm/currency/token.d.ts.map +1 -1
- package/_types/svm/validate/zod.d.ts +2 -4
- package/_types/svm/validate/zod.d.ts.map +1 -1
- package/_types/version.d.ts +1 -1
- package/evm/api/quote.test.ts +34 -1
- package/evm/api/quote.ts +22 -11
- package/evm/api/swap.test.ts +54 -1
- package/evm/api/swap.ts +46 -10
- package/evm/chain/define-chain.ts +5 -3
- package/evm/config/features/init-code-hash.test.ts +15 -0
- package/evm/config/features/master-chef.ts +0 -4
- package/evm/config/features/pancakeswap-v2.ts +2 -5
- package/evm/config/features/uniswap-v2.ts +5 -0
- package/evm/currency/deserialize-currency.ts +7 -5
- package/evm/currency/token.ts +7 -22
- package/evm/pool/sushiswap-v3/utils/tickList.ts +0 -1
- package/evm/token-list/index.ts +0 -1
- package/evm/types/sushi-pool/steer-vault-id.ts +2 -2
- package/evm/validate/zod.ts +3 -8
- package/generic/chain/chains.test-d.ts +35 -0
- package/generic/chain/chains.ts +8 -4
- package/generic/chain/define-chain.ts +45 -0
- package/generic/chain/index.ts +1 -0
- package/generic/chain/interface.ts +28 -5
- package/generic/currency/currency.test-d.ts +4 -4
- package/generic/currency/deserialize-currency.ts +11 -0
- package/generic/currency/index.ts +2 -0
- package/generic/currency/serialized-token.ts +41 -0
- package/generic/utils/id.test-d.ts +2 -2
- package/generic/validate/create-address-schema.ts +18 -0
- package/generic/validate/index.ts +1 -0
- package/mvm/chain/chains.test.ts +20 -0
- package/mvm/chain/define-chain.ts +11 -14
- package/mvm/currency/token.test.ts +46 -0
- package/mvm/currency/token.ts +7 -22
- package/mvm/validate/zod.test.ts +19 -0
- package/mvm/validate/zod.ts +3 -6
- package/package.json +8 -8
- package/stellar/chain/chains.test.ts +29 -0
- package/stellar/chain/define-chain.ts +10 -15
- package/stellar/currency/deserialize-currency.ts +4 -1
- package/stellar/currency/token.test.ts +53 -0
- package/stellar/currency/token.ts +12 -25
- package/stellar/validate/zod.test.ts +37 -0
- package/stellar/validate/zod.ts +4 -20
- package/svm/chain/chains.test.ts +22 -0
- package/svm/chain/define-chain.ts +11 -13
- package/svm/currency/deserialize-currency.ts +7 -5
- package/svm/currency/token.test.ts +55 -0
- package/svm/currency/token.ts +7 -22
- package/svm/validate/zod.test.ts +20 -0
- package/svm/validate/zod.ts +3 -6
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import { MvmChainId } from '../chain/chains.js'
|
|
3
|
+
import { MvmToken, serializedMvmTokenSchema } from './token.js'
|
|
4
|
+
|
|
5
|
+
const address = '0x1::aptos_coin::AptosCoin' as const
|
|
6
|
+
|
|
7
|
+
describe('MvmToken', () => {
|
|
8
|
+
const token = new MvmToken({
|
|
9
|
+
chainId: MvmChainId.APTOS,
|
|
10
|
+
address,
|
|
11
|
+
symbol: 'APT',
|
|
12
|
+
name: 'Aptos Coin',
|
|
13
|
+
decimals: 8,
|
|
14
|
+
metadata: { verified: true },
|
|
15
|
+
})
|
|
16
|
+
|
|
17
|
+
it('uses Move coin types as token IDs and wraps to itself', () => {
|
|
18
|
+
expect(token.id).toBe(`${MvmChainId.APTOS}:${address}`)
|
|
19
|
+
expect(token.wrap()).toBe(token)
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
it('round-trips through JSON and the serialized schema', () => {
|
|
23
|
+
const serialized = serializedMvmTokenSchema().parse(token.toJSON())
|
|
24
|
+
const restored = MvmToken.fromJSON(serialized)
|
|
25
|
+
|
|
26
|
+
expect(restored).toEqual(token)
|
|
27
|
+
expect(restored.toJSON()).toEqual(serialized)
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
it('defaults missing metadata and rejects invalid serialized tokens', () => {
|
|
31
|
+
const serialized = token.toJSON()
|
|
32
|
+
expect(
|
|
33
|
+
serializedMvmTokenSchema().parse({ ...serialized, metadata: undefined })
|
|
34
|
+
.metadata,
|
|
35
|
+
).toEqual({})
|
|
36
|
+
expect(() =>
|
|
37
|
+
serializedMvmTokenSchema().parse({ ...serialized, chainId: -5 }),
|
|
38
|
+
).toThrow()
|
|
39
|
+
expect(() =>
|
|
40
|
+
serializedMvmTokenSchema().parse({ ...serialized, decimals: -1 }),
|
|
41
|
+
).toThrow()
|
|
42
|
+
expect(() =>
|
|
43
|
+
serializedMvmTokenSchema().parse({ ...serialized, type: 'native' }),
|
|
44
|
+
).toThrow()
|
|
45
|
+
})
|
|
46
|
+
})
|
package/mvm/currency/token.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import * as z from 'zod'
|
|
1
|
+
import type * as z from 'zod'
|
|
2
2
|
import type { CurrencyMetadata } from '../../generic/currency/currency.js'
|
|
3
|
+
import { createSerializedTokenSchema } from '../../generic/currency/serialized-token.js'
|
|
3
4
|
import { Token } from '../../generic/currency/token.js'
|
|
4
5
|
import { isMvmChainId, type MvmChainId } from '../chain/chains.js'
|
|
5
6
|
import { normalizeMvmAddress } from '../utils/normalize-address.js'
|
|
@@ -38,7 +39,7 @@ export class MvmToken<
|
|
|
38
39
|
type: this.type,
|
|
39
40
|
|
|
40
41
|
metadata: this.metadata,
|
|
41
|
-
}
|
|
42
|
+
}
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
static fromJSON<TMetadata extends CurrencyMetadata>(
|
|
@@ -57,26 +58,10 @@ export const serializedMvmTokenSchema = <
|
|
|
57
58
|
}: {
|
|
58
59
|
metadata?: z.ZodType<TMetadata>
|
|
59
60
|
} = {}) =>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.refine(isMvmChainId)
|
|
65
|
-
.transform((chainId) => chainId as MvmChainId),
|
|
66
|
-
address: z
|
|
67
|
-
.string()
|
|
68
|
-
.refine(isMvmAddress)
|
|
69
|
-
.transform((address) => address as MvmAddress),
|
|
70
|
-
symbol: z.string(),
|
|
71
|
-
name: z.string(),
|
|
72
|
-
decimals: z.number().int().nonnegative(),
|
|
73
|
-
type: z.literal('token'),
|
|
74
|
-
|
|
75
|
-
metadata: (metadata ||
|
|
76
|
-
z
|
|
77
|
-
.record(z.string(), z.unknown())
|
|
78
|
-
.optional()
|
|
79
|
-
.default({})) as z.ZodType<TMetadata>,
|
|
61
|
+
createSerializedTokenSchema({
|
|
62
|
+
isChainId: isMvmChainId,
|
|
63
|
+
isAddress: isMvmAddress,
|
|
64
|
+
metadata,
|
|
80
65
|
})
|
|
81
66
|
|
|
82
67
|
export type SerializedMvmToken<
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import { mvmAddress } from './zod.js'
|
|
3
|
+
|
|
4
|
+
describe('mvmAddress', () => {
|
|
5
|
+
it('accepts Move coin-type addresses', () => {
|
|
6
|
+
expect(mvmAddress().parse('0x1::aptos_coin::AptosCoin')).toBe(
|
|
7
|
+
'0x1::aptos_coin::AptosCoin',
|
|
8
|
+
)
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
it.each([
|
|
12
|
+
'',
|
|
13
|
+
'0x1',
|
|
14
|
+
'0x1::coin',
|
|
15
|
+
'0x1::coin::',
|
|
16
|
+
' 0x1::coin::Coin',
|
|
17
|
+
])('rejects %j', (address) =>
|
|
18
|
+
expect(() => mvmAddress().parse(address)).toThrow())
|
|
19
|
+
})
|
package/mvm/validate/zod.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { isMvmAddress
|
|
1
|
+
import { createAddressSchema } from '../../generic/validate/create-address-schema.js'
|
|
2
|
+
import { isMvmAddress } from '../currency/token.js'
|
|
3
3
|
import { normalizeMvmAddress } from '../utils/normalize-address.js'
|
|
4
4
|
|
|
5
5
|
export const mvmAddress = () =>
|
|
6
|
-
|
|
7
|
-
.string()
|
|
8
|
-
.refine(isMvmAddress, { message: 'Invalid address' })
|
|
9
|
-
.transform((value) => normalizeMvmAddress(value as MvmAddress))
|
|
6
|
+
createAddressSchema(isMvmAddress, normalizeMvmAddress)
|
|
10
7
|
|
|
11
8
|
export const szmvm = {
|
|
12
9
|
address: mvmAddress,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sushi",
|
|
3
3
|
"description": "Sushi",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.0.0",
|
|
5
5
|
"main": "./_cjs/generic/index.js",
|
|
6
6
|
"module": "./_esm/generic/index.js",
|
|
7
7
|
"types": "./_types/generic/index.d.ts",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"mvm",
|
|
16
16
|
"stellar",
|
|
17
17
|
"svm",
|
|
18
|
+
"LICENSE",
|
|
18
19
|
"package.json"
|
|
19
20
|
],
|
|
20
21
|
"exports": {
|
|
@@ -67,20 +68,19 @@
|
|
|
67
68
|
}
|
|
68
69
|
},
|
|
69
70
|
"dependencies": {
|
|
70
|
-
"@solana/addresses": "
|
|
71
|
-
"@uniswap/token-lists": "1.0.0-beta.33",
|
|
71
|
+
"@solana/addresses": "7.0.0",
|
|
72
72
|
"tiny-invariant": "1.3.3"
|
|
73
73
|
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"viem": "2.55.0",
|
|
76
|
+
"zod": "4.4.3"
|
|
77
|
+
},
|
|
74
78
|
"peerDependencies": {
|
|
75
|
-
"
|
|
76
|
-
"typescript": ">= 5.8.3 < 7",
|
|
79
|
+
"typescript": ">= 5.8.3 < 8",
|
|
77
80
|
"viem": "*",
|
|
78
81
|
"zod": ">=4"
|
|
79
82
|
},
|
|
80
83
|
"peerDependenciesMeta": {
|
|
81
|
-
"@solana/addresses": {
|
|
82
|
-
"optional": true
|
|
83
|
-
},
|
|
84
84
|
"typescript": {
|
|
85
85
|
"optional": true
|
|
86
86
|
},
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import type {
|
|
3
|
+
StellarAccountAddress,
|
|
4
|
+
StellarContractAddress,
|
|
5
|
+
} from '../address.js'
|
|
6
|
+
import {
|
|
7
|
+
getStellarChainById,
|
|
8
|
+
isStellarChainId,
|
|
9
|
+
StellarChainId,
|
|
10
|
+
} from './chains.js'
|
|
11
|
+
|
|
12
|
+
describe('Stellar chains', () => {
|
|
13
|
+
const account =
|
|
14
|
+
'GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7' as StellarAccountAddress
|
|
15
|
+
const contract =
|
|
16
|
+
'CCRSMJDITH3VK5QOGYCVZDAKIY5GL3RCG4TCVLIAVB662IW2V5KJGZGF' as StellarContractAddress
|
|
17
|
+
|
|
18
|
+
it('builds transaction, account, contract, and asset URLs', () => {
|
|
19
|
+
const chain = getStellarChainById(StellarChainId.STELLAR)
|
|
20
|
+
const base = 'https://stellar.expert/explorer/public'
|
|
21
|
+
|
|
22
|
+
expect(chain.getTransactionUrl('hash')).toBe(`${base}/tx/hash`)
|
|
23
|
+
expect(chain.getAccountUrl(account)).toBe(`${base}/account/${account}`)
|
|
24
|
+
expect(chain.getAccountUrl(contract)).toBe(`${base}/contract/${contract}`)
|
|
25
|
+
expect(chain.getTokenUrl(contract)).toBe(`${base}/asset/${contract}`)
|
|
26
|
+
expect(isStellarChainId(StellarChainId.STELLAR)).toBe(true)
|
|
27
|
+
expect(isStellarChainId(1)).toBe(false)
|
|
28
|
+
})
|
|
29
|
+
})
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { defineChain } from '../../generic/chain/define-chain.js'
|
|
1
2
|
import type {
|
|
2
3
|
BlockExplorers,
|
|
3
|
-
|
|
4
|
+
ChainDefinition,
|
|
4
5
|
NetType,
|
|
5
6
|
} from '../../generic/chain/interface.js'
|
|
6
7
|
import { isStellarContractAddress } from '../address.js'
|
|
@@ -11,9 +12,8 @@ export type StellarChainType = 'stellar'
|
|
|
11
12
|
type StellarChainBase<
|
|
12
13
|
TChainId extends number,
|
|
13
14
|
TChainKey extends string,
|
|
14
|
-
> =
|
|
15
|
+
> = ChainDefinition<
|
|
15
16
|
StellarChainType,
|
|
16
|
-
// @ts-expect-error prevent infinite loop
|
|
17
17
|
TChainId,
|
|
18
18
|
TChainKey,
|
|
19
19
|
Readonly<string>,
|
|
@@ -34,19 +34,14 @@ type StellarChainInput = Omit<
|
|
|
34
34
|
export function defineStellarChain<const T extends StellarChainInput>(
|
|
35
35
|
chain: T,
|
|
36
36
|
) {
|
|
37
|
-
return {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
getTransactionUrl: (input: string) =>
|
|
42
|
-
`${chain.blockExplorers.default.url}/tx/${input}`,
|
|
43
|
-
getAccountUrl: (input: string) => {
|
|
37
|
+
return defineChain('stellar', chain, {
|
|
38
|
+
transaction: (url, input) => `${url}/tx/${input}`,
|
|
39
|
+
account: (url, input) => {
|
|
44
40
|
if (isStellarContractAddress(input)) {
|
|
45
|
-
return `${
|
|
41
|
+
return `${url}/contract/${input}`
|
|
46
42
|
}
|
|
47
|
-
return `${
|
|
43
|
+
return `${url}/account/${input}`
|
|
48
44
|
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} as const satisfies StellarChainBase<number, string>
|
|
45
|
+
token: (url, input) => `${url}/asset/${input}`,
|
|
46
|
+
})
|
|
52
47
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { createCurrencyDeserializer } from '../../generic/currency/deserialize-currency.js'
|
|
1
2
|
import { type SerializedStellarToken, StellarToken } from './token.js'
|
|
2
3
|
|
|
3
4
|
function deserializeStellarCurrency(data: SerializedStellarToken) {
|
|
4
|
-
return
|
|
5
|
+
return deserialize(data)
|
|
5
6
|
}
|
|
6
7
|
|
|
8
|
+
const deserialize = createCurrencyDeserializer({ token: StellarToken })
|
|
9
|
+
|
|
7
10
|
export { deserializeStellarCurrency }
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import type {
|
|
3
|
+
StellarAccountAddress,
|
|
4
|
+
StellarContractAddress,
|
|
5
|
+
} from '../address.js'
|
|
6
|
+
import { StellarChainId } from '../chain/chains.js'
|
|
7
|
+
import { deserializeStellarCurrency } from './deserialize-currency.js'
|
|
8
|
+
import { StellarToken, serializedStellarTokenSchema } from './token.js'
|
|
9
|
+
|
|
10
|
+
const accountAddress =
|
|
11
|
+
'GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7' as StellarAccountAddress
|
|
12
|
+
const contractAddress =
|
|
13
|
+
'CCRSMJDITH3VK5QOGYCVZDAKIY5GL3RCG4TCVLIAVB662IW2V5KJGZGF' as StellarContractAddress
|
|
14
|
+
|
|
15
|
+
describe('StellarToken', () => {
|
|
16
|
+
const token = new StellarToken({
|
|
17
|
+
chainId: StellarChainId.STELLAR,
|
|
18
|
+
address: contractAddress.toLowerCase() as StellarContractAddress,
|
|
19
|
+
issuer: accountAddress.toLowerCase() as StellarAccountAddress,
|
|
20
|
+
symbol: 'TOKEN',
|
|
21
|
+
name: 'Stellar Token',
|
|
22
|
+
decimals: 7,
|
|
23
|
+
origin: 'stellar',
|
|
24
|
+
metadata: { verified: true },
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
it('normalizes contract and issuer addresses and wraps to itself', () => {
|
|
28
|
+
expect(token.address).toBe(contractAddress)
|
|
29
|
+
expect(token.issuer).toBe(accountAddress)
|
|
30
|
+
expect(token.wrap()).toBe(token)
|
|
31
|
+
})
|
|
32
|
+
|
|
33
|
+
it('round-trips issuer and metadata through serialization', () => {
|
|
34
|
+
const serialized = serializedStellarTokenSchema().parse(token.toJSON())
|
|
35
|
+
const restored = deserializeStellarCurrency(serialized)
|
|
36
|
+
|
|
37
|
+
expect(restored).toBeInstanceOf(StellarToken)
|
|
38
|
+
expect(restored.toJSON()).toEqual(serialized)
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it('rejects the wrong address kind and invalid decimals', () => {
|
|
42
|
+
const serialized = token.toJSON()
|
|
43
|
+
expect(() =>
|
|
44
|
+
serializedStellarTokenSchema().parse({
|
|
45
|
+
...serialized,
|
|
46
|
+
address: accountAddress,
|
|
47
|
+
}),
|
|
48
|
+
).toThrow()
|
|
49
|
+
expect(() =>
|
|
50
|
+
serializedStellarTokenSchema().parse({ ...serialized, decimals: -1 }),
|
|
51
|
+
).toThrow()
|
|
52
|
+
})
|
|
53
|
+
})
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod'
|
|
2
2
|
import type { CurrencyMetadata } from '../../generic/currency/currency.js'
|
|
3
|
+
import { createSerializedTokenSchema } from '../../generic/currency/serialized-token.js'
|
|
3
4
|
import { Token } from '../../generic/currency/token.js'
|
|
4
5
|
import {
|
|
5
6
|
isStellarAccountAddress,
|
|
@@ -66,31 +67,17 @@ export const serializedStellarTokenSchema = <
|
|
|
66
67
|
}: {
|
|
67
68
|
metadata?: z.ZodType<TMetadata>
|
|
68
69
|
} = {}) =>
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
.string()
|
|
81
|
-
.refine(isStellarAccountAddress)
|
|
82
|
-
.transform((address) => address as StellarAccountAddress)
|
|
83
|
-
.optional(),
|
|
84
|
-
symbol: z.string(),
|
|
85
|
-
name: z.string(),
|
|
86
|
-
decimals: z.number().int().nonnegative(),
|
|
87
|
-
type: z.literal('token'),
|
|
88
|
-
|
|
89
|
-
metadata: (metadata ||
|
|
90
|
-
z
|
|
91
|
-
.record(z.string(), z.unknown())
|
|
92
|
-
.optional()
|
|
93
|
-
.default({})) as z.ZodType<TMetadata>,
|
|
70
|
+
createSerializedTokenSchema({
|
|
71
|
+
isChainId: isStellarChainId,
|
|
72
|
+
isAddress: isStellarContractAddress,
|
|
73
|
+
metadata,
|
|
74
|
+
extra: {
|
|
75
|
+
issuer: z
|
|
76
|
+
.string()
|
|
77
|
+
.refine(isStellarAccountAddress)
|
|
78
|
+
.transform((value) => value as StellarAccountAddress)
|
|
79
|
+
.optional(),
|
|
80
|
+
},
|
|
94
81
|
})
|
|
95
82
|
|
|
96
83
|
export type SerializedStellarToken<
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import {
|
|
3
|
+
stellarAccountAddress,
|
|
4
|
+
stellarAddress,
|
|
5
|
+
stellarContractAddress,
|
|
6
|
+
} from './zod.js'
|
|
7
|
+
|
|
8
|
+
const accountAddress =
|
|
9
|
+
'GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7'
|
|
10
|
+
const contractAddress =
|
|
11
|
+
'CCRSMJDITH3VK5QOGYCVZDAKIY5GL3RCG4TCVLIAVB662IW2V5KJGZGF'
|
|
12
|
+
|
|
13
|
+
describe('Stellar address schemas', () => {
|
|
14
|
+
it('normalizes before validating', () => {
|
|
15
|
+
expect(stellarAccountAddress().parse(accountAddress.toLowerCase())).toBe(
|
|
16
|
+
accountAddress,
|
|
17
|
+
)
|
|
18
|
+
expect(stellarContractAddress().parse(contractAddress.toLowerCase())).toBe(
|
|
19
|
+
contractAddress,
|
|
20
|
+
)
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
it('distinguishes account and contract addresses', () => {
|
|
24
|
+
expect(() => stellarAccountAddress().parse(contractAddress)).toThrow()
|
|
25
|
+
expect(() => stellarContractAddress().parse(accountAddress)).toThrow()
|
|
26
|
+
expect(stellarAddress().parse(accountAddress)).toBe(accountAddress)
|
|
27
|
+
expect(stellarAddress().parse(contractAddress)).toBe(contractAddress)
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
it.each([
|
|
31
|
+
'',
|
|
32
|
+
'0x1234',
|
|
33
|
+
`M${'A'.repeat(55)}`,
|
|
34
|
+
`G${'0'.repeat(55)}`,
|
|
35
|
+
])('rejects %j', (value) =>
|
|
36
|
+
expect(() => stellarAddress().parse(value)).toThrow())
|
|
37
|
+
})
|
package/stellar/validate/zod.ts
CHANGED
|
@@ -1,35 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { createAddressSchema } from '../../generic/validate/create-address-schema.js'
|
|
2
2
|
import {
|
|
3
3
|
isStellarAccountAddress,
|
|
4
4
|
isStellarAddress,
|
|
5
5
|
isStellarContractAddress,
|
|
6
|
-
type StellarAccountAddress,
|
|
7
|
-
type StellarAddress,
|
|
8
|
-
type StellarContractAddress,
|
|
9
6
|
} from '../address.js'
|
|
10
7
|
import { normalizeStellarAddress } from '../utils/normalize-address.js'
|
|
11
8
|
|
|
12
9
|
export const stellarAddress = () =>
|
|
13
|
-
|
|
14
|
-
.string()
|
|
15
|
-
.transform((value) => normalizeStellarAddress(value as StellarAddress))
|
|
16
|
-
.refine(isStellarAddress, { message: 'Invalid address' })
|
|
10
|
+
createAddressSchema(isStellarAddress, normalizeStellarAddress, true)
|
|
17
11
|
|
|
18
12
|
export const stellarAccountAddress = () =>
|
|
19
|
-
|
|
20
|
-
.string()
|
|
21
|
-
.transform((value) =>
|
|
22
|
-
normalizeStellarAddress(value as StellarAccountAddress),
|
|
23
|
-
)
|
|
24
|
-
.refine(isStellarAccountAddress, { message: 'Invalid address' })
|
|
13
|
+
createAddressSchema(isStellarAccountAddress, normalizeStellarAddress, true)
|
|
25
14
|
|
|
26
15
|
export const stellarContractAddress = () =>
|
|
27
|
-
|
|
28
|
-
.string()
|
|
29
|
-
.transform((value) =>
|
|
30
|
-
normalizeStellarAddress(value as StellarContractAddress),
|
|
31
|
-
)
|
|
32
|
-
.refine(isStellarContractAddress, { message: 'Invalid address' })
|
|
16
|
+
createAddressSchema(isStellarContractAddress, normalizeStellarAddress, true)
|
|
33
17
|
|
|
34
18
|
export const szstellar = {
|
|
35
19
|
accountAddress: stellarAccountAddress,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import { svmAddress } from '../currency/token.js'
|
|
3
|
+
import { getSvmChainById, isSvmChainId, SvmChainId } from './chains.js'
|
|
4
|
+
|
|
5
|
+
describe('SVM chains', () => {
|
|
6
|
+
it('returns Solana with working explorer URLs', () => {
|
|
7
|
+
const chain = getSvmChainById(SvmChainId.SOLANA)
|
|
8
|
+
const address = svmAddress('EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v')
|
|
9
|
+
|
|
10
|
+
expect(chain.getTransactionUrl('signature')).toBe(
|
|
11
|
+
'https://solscan.io/tx/signature',
|
|
12
|
+
)
|
|
13
|
+
expect(chain.getAccountUrl(address)).toBe(
|
|
14
|
+
`https://solscan.io/account/${address}`,
|
|
15
|
+
)
|
|
16
|
+
expect(chain.getTokenUrl(address)).toBe(
|
|
17
|
+
`https://solscan.io/token/${address}`,
|
|
18
|
+
)
|
|
19
|
+
expect(isSvmChainId(SvmChainId.SOLANA)).toBe(true)
|
|
20
|
+
expect(isSvmChainId(1)).toBe(false)
|
|
21
|
+
})
|
|
22
|
+
})
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { defineChain } from '../../generic/chain/define-chain.js'
|
|
1
2
|
import type {
|
|
2
3
|
BlockExplorers,
|
|
3
|
-
|
|
4
|
+
ChainDefinition,
|
|
4
5
|
NetType,
|
|
5
6
|
} from '../../generic/chain/interface.js'
|
|
6
7
|
import type { SvmAddress } from '../currency/token.js'
|
|
@@ -14,9 +15,11 @@ type SvmChainNativeCurrency = {
|
|
|
14
15
|
decimals: number
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
type SvmChainBase<
|
|
18
|
+
type SvmChainBase<
|
|
19
|
+
TChainId extends number,
|
|
20
|
+
TChainKey extends string,
|
|
21
|
+
> = ChainDefinition<
|
|
18
22
|
SvmChainType,
|
|
19
|
-
// @ts-expect-error infinite loop
|
|
20
23
|
TChainId,
|
|
21
24
|
TChainKey,
|
|
22
25
|
Readonly<string>,
|
|
@@ -37,14 +40,9 @@ type SvmChainInput = Omit<
|
|
|
37
40
|
>
|
|
38
41
|
|
|
39
42
|
export function defineSvmChain<const T extends SvmChainInput>(chain: T) {
|
|
40
|
-
return {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
getAccountUrl: (input: string) =>
|
|
46
|
-
`${chain.blockExplorers.default.url}/account/${input}`,
|
|
47
|
-
getTokenUrl: (input: string) =>
|
|
48
|
-
`${chain.blockExplorers.default.url}/token/${input}`,
|
|
49
|
-
} as const satisfies SvmChainBase<number, string>
|
|
43
|
+
return defineChain('svm', chain, {
|
|
44
|
+
transaction: (url, input) => `${url}/tx/${input}`,
|
|
45
|
+
account: (url, input) => `${url}/account/${input}`,
|
|
46
|
+
token: (url, input) => `${url}/token/${input}`,
|
|
47
|
+
})
|
|
50
48
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createCurrencyDeserializer } from '../../generic/currency/deserialize-currency.js'
|
|
1
2
|
import { type SerializedSvmNative, SvmNative } from './native.js'
|
|
2
3
|
import { type SerializedSvmToken, SvmToken } from './token.js'
|
|
3
4
|
|
|
@@ -7,11 +8,12 @@ function deserializeSvmCurrency(data: SerializedSvmNative): SvmNative
|
|
|
7
8
|
function deserializeSvmCurrency(
|
|
8
9
|
data: SerializedSvmNative | SerializedSvmToken,
|
|
9
10
|
) {
|
|
10
|
-
|
|
11
|
-
return new SvmNative(data)
|
|
12
|
-
} else {
|
|
13
|
-
return new SvmToken(data)
|
|
14
|
-
}
|
|
11
|
+
return deserialize({ ...data, type: data.type })
|
|
15
12
|
}
|
|
16
13
|
|
|
14
|
+
const deserialize = createCurrencyDeserializer({
|
|
15
|
+
native: SvmNative,
|
|
16
|
+
token: SvmToken,
|
|
17
|
+
})
|
|
18
|
+
|
|
17
19
|
export { deserializeSvmCurrency }
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import { SvmChainId } from '../chain/chains.js'
|
|
3
|
+
import { SVM_WNATIVE_ADDRESS } from '../config/tokens/wrapped-native.js'
|
|
4
|
+
import { deserializeSvmCurrency } from './deserialize-currency.js'
|
|
5
|
+
import { SvmNative } from './native.js'
|
|
6
|
+
import { SvmToken, serializedSvmTokenSchema, svmAddress } from './token.js'
|
|
7
|
+
import { unwrapSvmToken } from './unwrap-token.js'
|
|
8
|
+
|
|
9
|
+
const usdcAddress = svmAddress('EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v')
|
|
10
|
+
|
|
11
|
+
describe('SVM currencies', () => {
|
|
12
|
+
const token = new SvmToken({
|
|
13
|
+
chainId: SvmChainId.SOLANA,
|
|
14
|
+
address: usdcAddress,
|
|
15
|
+
symbol: 'USDC',
|
|
16
|
+
name: 'USD Coin',
|
|
17
|
+
decimals: 6,
|
|
18
|
+
metadata: { verified: true },
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
it('preserves case-sensitive addresses and wraps to itself', () => {
|
|
22
|
+
expect(token.address).toBe(usdcAddress)
|
|
23
|
+
expect(token.wrap()).toBe(token)
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
it('round-trips tokens through JSON, schema, and deserialization', () => {
|
|
27
|
+
const serialized = serializedSvmTokenSchema().parse(token.toJSON())
|
|
28
|
+
const restored = deserializeSvmCurrency(serialized)
|
|
29
|
+
|
|
30
|
+
expect(restored).toBeInstanceOf(SvmToken)
|
|
31
|
+
expect(restored).toEqual(token)
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
it('wraps native SOL to WSOL and unwraps WSOL', () => {
|
|
35
|
+
const native = SvmNative.fromChainId(SvmChainId.SOLANA)
|
|
36
|
+
const wrapped = native.wrap()
|
|
37
|
+
|
|
38
|
+
expect(wrapped.address).toBe(SVM_WNATIVE_ADDRESS[SvmChainId.SOLANA])
|
|
39
|
+
expect(unwrapSvmToken(wrapped)).toEqual(native)
|
|
40
|
+
expect(unwrapSvmToken(token)).toBe(token)
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
it('rejects invalid serialized tokens', () => {
|
|
44
|
+
const serialized = token.toJSON()
|
|
45
|
+
expect(() =>
|
|
46
|
+
serializedSvmTokenSchema().parse({ ...serialized, chainId: -1 }),
|
|
47
|
+
).toThrow()
|
|
48
|
+
expect(() =>
|
|
49
|
+
serializedSvmTokenSchema().parse({ ...serialized, address: 'invalid' }),
|
|
50
|
+
).toThrow()
|
|
51
|
+
expect(() =>
|
|
52
|
+
serializedSvmTokenSchema().parse({ ...serialized, decimals: 1.5 }),
|
|
53
|
+
).toThrow()
|
|
54
|
+
})
|
|
55
|
+
})
|
package/svm/currency/token.ts
CHANGED
|
@@ -3,8 +3,9 @@ import {
|
|
|
3
3
|
type Address as SvmAddress,
|
|
4
4
|
address as svmAddress,
|
|
5
5
|
} from '@solana/addresses'
|
|
6
|
-
import * as z from 'zod'
|
|
6
|
+
import type * as z from 'zod'
|
|
7
7
|
import type { CurrencyMetadata } from '../../generic/currency/currency.js'
|
|
8
|
+
import { createSerializedTokenSchema } from '../../generic/currency/serialized-token.js'
|
|
8
9
|
import { Token } from '../../generic/currency/token.js'
|
|
9
10
|
import { isSvmChainId, type SvmChainId } from '../chain/chains.js'
|
|
10
11
|
import { normalizeSvmAddress } from '../utils/normalize-address.js'
|
|
@@ -46,7 +47,7 @@ export class SvmToken<
|
|
|
46
47
|
type: this.type,
|
|
47
48
|
|
|
48
49
|
metadata: this.metadata,
|
|
49
|
-
}
|
|
50
|
+
}
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
static fromJSON<TMetadata extends CurrencyMetadata>(
|
|
@@ -65,26 +66,10 @@ export const serializedSvmTokenSchema = <
|
|
|
65
66
|
}: {
|
|
66
67
|
metadata?: z.ZodType<TMetadata>
|
|
67
68
|
} = {}) =>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
.refine(isSvmChainId)
|
|
73
|
-
.transform((chainId) => chainId as SvmChainId),
|
|
74
|
-
address: z
|
|
75
|
-
.string()
|
|
76
|
-
.refine(isSvmAddress)
|
|
77
|
-
.transform((address) => address as SvmAddress),
|
|
78
|
-
symbol: z.string(),
|
|
79
|
-
name: z.string(),
|
|
80
|
-
decimals: z.number().int().nonnegative(),
|
|
81
|
-
type: z.literal('token'),
|
|
82
|
-
|
|
83
|
-
metadata: (metadata ||
|
|
84
|
-
z
|
|
85
|
-
.record(z.string(), z.unknown())
|
|
86
|
-
.optional()
|
|
87
|
-
.default({})) as z.ZodType<TMetadata>,
|
|
69
|
+
createSerializedTokenSchema({
|
|
70
|
+
isChainId: isSvmChainId,
|
|
71
|
+
isAddress: isSvmAddress,
|
|
72
|
+
metadata,
|
|
88
73
|
})
|
|
89
74
|
|
|
90
75
|
export type SerializedSvmToken<
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest'
|
|
2
|
+
import { svmAddress } from '../currency/token.js'
|
|
3
|
+
import { svmAddressSchema } from './zod.js'
|
|
4
|
+
|
|
5
|
+
describe('svmAddressSchema', () => {
|
|
6
|
+
const address = svmAddress('EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v')
|
|
7
|
+
|
|
8
|
+
it('accepts valid Solana addresses', () => {
|
|
9
|
+
expect(svmAddressSchema().parse(address)).toBe(address)
|
|
10
|
+
})
|
|
11
|
+
|
|
12
|
+
it.each([
|
|
13
|
+
'',
|
|
14
|
+
'0x1234',
|
|
15
|
+
'not-base58',
|
|
16
|
+
`${address}0`,
|
|
17
|
+
` ${address}`,
|
|
18
|
+
])('rejects %j', (value) =>
|
|
19
|
+
expect(() => svmAddressSchema().parse(value)).toThrow())
|
|
20
|
+
})
|