@oakagentkit/core 0.1.1 → 0.1.9
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/build/dist/api/addresses.d.ts +0 -1219
- package/build/dist/api/addresses.js +1 -1
- package/build/dist/api/amounts.d.ts +0 -1
- package/build/dist/api/amounts.js +1 -1
- package/build/dist/api/args.d.ts +19 -0
- package/build/dist/api/args.js +1 -0
- package/build/dist/api/canonical.d.ts +0 -1
- package/build/dist/api/canonical.js +1 -1
- package/build/dist/api/chain.d.ts +2 -0
- package/build/dist/api/chain.js +1 -1
- package/build/dist/api/errors.js +1 -1
- package/build/dist/api/gas.js +1 -1
- package/build/dist/api/grandfather.js +1 -1
- package/build/dist/api/guards.d.ts +23 -0
- package/build/dist/api/guards.js +1 -0
- package/build/dist/api/history.js +1 -1
- package/build/dist/api/http.js +1 -1
- package/build/dist/api/identity-link.js +1 -1
- package/build/dist/api/launch.d.ts +1 -0
- package/build/dist/api/launch.js +1 -1
- package/build/dist/api/merkle.js +1 -1
- package/build/dist/api/metadata.js +1 -1
- package/build/dist/api/module.js +1 -1
- package/build/dist/api/modules/beefy/boosts.d.ts +132 -0
- package/build/dist/api/modules/beefy/boosts.js +1 -0
- package/build/dist/api/modules/beefy/clm.d.ts +282 -0
- package/build/dist/api/modules/beefy/clm.js +1 -0
- package/build/dist/api/modules/beefy/guard.d.ts +5 -0
- package/build/dist/api/modules/beefy/guard.js +1 -0
- package/build/dist/api/modules/beefy/index.js +1 -1
- package/build/dist/api/modules/beefy/liquidity.d.ts +237 -0
- package/build/dist/api/modules/beefy/liquidity.js +1 -0
- package/build/dist/api/modules/beefy/management.d.ts +100 -0
- package/build/dist/api/modules/beefy/management.js +1 -0
- package/build/dist/api/modules/beefy/vaults.d.ts +14 -0
- package/build/dist/api/modules/beefy/vaults.js +1 -0
- package/build/dist/api/modules/clanker/extensions.d.ts +62 -0
- package/build/dist/api/modules/clanker/extensions.js +1 -0
- package/build/dist/api/modules/clanker/index.js +1 -1
- package/build/dist/api/modules/clanker/manage.d.ts +2 -0
- package/build/dist/api/modules/clanker/manage.js +1 -0
- package/build/dist/api/modules/clanker/pool-config.d.ts +96 -0
- package/build/dist/api/modules/clanker/pool-config.js +1 -0
- package/build/dist/api/modules/clanker/protocol.d.ts +2 -0
- package/build/dist/api/modules/clanker/protocol.js +1 -0
- package/build/dist/api/modules/clanker/state.d.ts +246 -0
- package/build/dist/api/modules/clanker/state.js +1 -0
- package/build/dist/api/modules/erc8004/abi.d.ts +808 -0
- package/build/dist/api/modules/erc8004/abi.js +1 -0
- package/build/dist/api/modules/erc8004/common.d.ts +69 -0
- package/build/dist/api/modules/erc8004/common.js +1 -0
- package/build/dist/api/modules/erc8004/domain.d.ts +3 -0
- package/build/dist/api/modules/erc8004/domain.js +1 -0
- package/build/dist/api/modules/erc8004/index.d.ts +3 -171
- package/build/dist/api/modules/erc8004/index.js +1 -1
- package/build/dist/api/modules/erc8004/management.d.ts +4 -0
- package/build/dist/api/modules/erc8004/management.js +1 -0
- package/build/dist/api/modules/erc8004/reputation.d.ts +3 -0
- package/build/dist/api/modules/erc8004/reputation.js +1 -0
- package/build/dist/api/modules/erc8004/services.d.ts +2 -0
- package/build/dist/api/modules/erc8004/services.js +1 -0
- package/build/dist/api/modules/erc8004/validation.d.ts +2 -0
- package/build/dist/api/modules/erc8004/validation.js +1 -0
- package/build/dist/api/modules/grove/index.js +1 -1
- package/build/dist/api/modules/heyresearch/freshness.d.ts +12 -0
- package/build/dist/api/modules/heyresearch/freshness.js +1 -0
- package/build/dist/api/modules/heyresearch/index.js +1 -1
- package/build/dist/api/modules/heyresearch/public-reads.d.ts +5 -0
- package/build/dist/api/modules/heyresearch/public-reads.js +1 -0
- package/build/dist/api/modules/hoodag/chain-reads.d.ts +33 -0
- package/build/dist/api/modules/hoodag/chain-reads.js +1 -0
- package/build/dist/api/modules/hoodag/index.d.ts +9 -1
- package/build/dist/api/modules/hoodag/index.js +1 -1
- package/build/dist/api/modules/hoodag/management.d.ts +2 -0
- package/build/dist/api/modules/hoodag/management.js +1 -0
- package/build/dist/api/modules/hoodag/public-reads.d.ts +2 -0
- package/build/dist/api/modules/hoodag/public-reads.js +1 -0
- package/build/dist/api/modules/hoodag/reconstruct.d.ts +14 -0
- package/build/dist/api/modules/hoodag/reconstruct.js +1 -0
- package/build/dist/api/modules/hoodlock/airdrop.js +1 -1
- package/build/dist/api/modules/hoodlock/buyback.d.ts +28 -0
- package/build/dist/api/modules/hoodlock/buyback.js +1 -0
- package/build/dist/api/modules/hoodlock/commerce.d.ts +24 -0
- package/build/dist/api/modules/hoodlock/commerce.js +1 -0
- package/build/dist/api/modules/hoodlock/fee.d.ts +15 -0
- package/build/dist/api/modules/hoodlock/fee.js +1 -0
- package/build/dist/api/modules/hoodlock/guard.d.ts +5 -0
- package/build/dist/api/modules/hoodlock/guard.js +1 -0
- package/build/dist/api/modules/hoodlock/index.d.ts +4 -0
- package/build/dist/api/modules/hoodlock/index.js +1 -1
- package/build/dist/api/modules/hoodlock/lifecycle.d.ts +285 -0
- package/build/dist/api/modules/hoodlock/lifecycle.js +1 -0
- package/build/dist/api/modules/hoodlock/locks-burn.d.ts +3 -3
- package/build/dist/api/modules/hoodlock/locks-burn.js +1 -1
- package/build/dist/api/modules/hoodlock/public.d.ts +3 -0
- package/build/dist/api/modules/hoodlock/public.js +1 -0
- package/build/dist/api/modules/hookr/actions.d.ts +4 -0
- package/build/dist/api/modules/hookr/actions.js +1 -0
- package/build/dist/api/modules/hookr/addons.d.ts +4 -0
- package/build/dist/api/modules/hookr/addons.js +1 -0
- package/build/dist/api/modules/hookr/contracts.d.ts +30 -0
- package/build/dist/api/modules/hookr/contracts.js +1 -0
- package/build/dist/api/modules/hookr/create-cancel.d.ts +10 -73
- package/build/dist/api/modules/hookr/create-cancel.js +1 -1
- package/build/dist/api/modules/hookr/discovery.d.ts +3 -0
- package/build/dist/api/modules/hookr/discovery.js +1 -0
- package/build/dist/api/modules/hookr/fill-bounty.js +1 -1
- package/build/dist/api/modules/hookr/index.d.ts +0 -3
- package/build/dist/api/modules/hookr/index.js +1 -1
- package/build/dist/api/modules/hookr/public-reads.d.ts +4 -0
- package/build/dist/api/modules/hookr/public-reads.js +1 -0
- package/build/dist/api/modules/hookr/relay.d.ts +304 -0
- package/build/dist/api/modules/hookr/relay.js +1 -0
- package/build/dist/api/modules/hookr/revenue.d.ts +5 -0
- package/build/dist/api/modules/hookr/revenue.js +1 -0
- package/build/dist/api/modules/kyberswap/index.d.ts +18 -2
- package/build/dist/api/modules/kyberswap/index.js +1 -1
- package/build/dist/api/modules/kyberswap/source-pools.d.ts +9 -0
- package/build/dist/api/modules/kyberswap/source-pools.js +1 -0
- package/build/dist/api/modules/lighter/index.js +1 -1
- package/build/dist/api/modules/longbow/administration.d.ts +119 -0
- package/build/dist/api/modules/longbow/administration.js +1 -0
- package/build/dist/api/modules/longbow/analytics.d.ts +272 -0
- package/build/dist/api/modules/longbow/analytics.js +1 -0
- package/build/dist/api/modules/longbow/fixed.d.ts +126 -0
- package/build/dist/api/modules/longbow/fixed.js +1 -0
- package/build/dist/api/modules/longbow/index.d.ts +20 -2
- package/build/dist/api/modules/longbow/index.js +1 -1
- package/build/dist/api/modules/longbow/nft.d.ts +236 -0
- package/build/dist/api/modules/longbow/nft.js +1 -0
- package/build/dist/api/modules/longbow/rebates.d.ts +152 -0
- package/build/dist/api/modules/longbow/rebates.js +1 -0
- package/build/dist/api/modules/longbow/staking.d.ts +4 -0
- package/build/dist/api/modules/longbow/staking.js +1 -0
- package/build/dist/api/modules/meridian/index.js +1 -1
- package/build/dist/api/modules/meridian/markets.js +1 -1
- package/build/dist/api/modules/meridian/perps-batch.d.ts +4 -0
- package/build/dist/api/modules/meridian/perps-batch.js +1 -0
- package/build/dist/api/modules/meridian/perps-common.d.ts +56 -0
- package/build/dist/api/modules/meridian/perps-common.js +1 -0
- package/build/dist/api/modules/meridian/perps-guards.d.ts +3 -0
- package/build/dist/api/modules/meridian/perps-guards.js +1 -0
- package/build/dist/api/modules/meridian/perps-intents.d.ts +18 -0
- package/build/dist/api/modules/meridian/perps-intents.js +1 -0
- package/build/dist/api/modules/meridian/perps-stream.d.ts +3 -0
- package/build/dist/api/modules/meridian/perps-stream.js +1 -0
- package/build/dist/api/modules/meridian/perps.d.ts +3 -0
- package/build/dist/api/modules/meridian/perps.js +1 -0
- package/build/dist/api/modules/meridian/predict-read.d.ts +2 -0
- package/build/dist/api/modules/meridian/predict-read.js +1 -0
- package/build/dist/api/modules/meridian/rfq.d.ts +29 -0
- package/build/dist/api/modules/meridian/rfq.js +1 -1
- package/build/dist/api/modules/merkl/discovery.d.ts +2 -0
- package/build/dist/api/modules/merkl/discovery.js +1 -0
- package/build/dist/api/modules/merkl/index.d.ts +10 -1
- package/build/dist/api/modules/merkl/index.js +1 -1
- package/build/dist/api/modules/merkl/manage.d.ts +2 -0
- package/build/dist/api/modules/merkl/manage.js +1 -0
- package/build/dist/api/modules/merkl/protocol.d.ts +2 -0
- package/build/dist/api/modules/merkl/protocol.js +1 -0
- package/build/dist/api/modules/morpho/allocator.d.ts +308 -0
- package/build/dist/api/modules/morpho/allocator.js +1 -0
- package/build/dist/api/modules/morpho/bundles-abi.d.ts +705 -0
- package/build/dist/api/modules/morpho/bundles-abi.js +1 -0
- package/build/dist/api/modules/morpho/bundles.d.ts +3 -0
- package/build/dist/api/modules/morpho/bundles.js +1 -0
- package/build/dist/api/modules/morpho/in-kind.d.ts +85 -0
- package/build/dist/api/modules/morpho/in-kind.js +1 -0
- package/build/dist/api/modules/morpho/index.d.ts +11 -3
- package/build/dist/api/modules/morpho/index.js +1 -12
- package/build/dist/api/modules/morpho/local-guard.d.ts +26 -0
- package/build/dist/api/modules/morpho/local-guard.js +1 -0
- package/build/dist/api/modules/morpho/midnight-abi.d.ts +1690 -0
- package/build/dist/api/modules/morpho/midnight-abi.js +1 -0
- package/build/dist/api/modules/morpho/midnight.d.ts +179 -0
- package/build/dist/api/modules/morpho/midnight.js +1 -0
- package/build/dist/api/modules/morpho/protocol.d.ts +290 -0
- package/build/dist/api/modules/morpho/protocol.js +1 -0
- package/build/dist/api/modules/morpho/surface.d.ts +4 -0
- package/build/dist/api/modules/morpho/surface.js +1 -0
- package/build/dist/api/modules/morpho/vault-management.d.ts +10 -0
- package/build/dist/api/modules/morpho/vault-management.js +1 -0
- package/build/dist/api/modules/morpho/vault-tools.d.ts +6 -0
- package/build/dist/api/modules/morpho/vault-tools.js +1 -0
- package/build/dist/api/modules/morpho/vault-v2.d.ts +190 -0
- package/build/dist/api/modules/morpho/vault-v2.js +1 -0
- package/build/dist/api/modules/netnet/blackjack-hashes.d.ts +89 -0
- package/build/dist/api/modules/netnet/blackjack-hashes.js +1 -0
- package/build/dist/api/modules/netnet/card-abi.d.ts +3758 -0
- package/build/dist/api/modules/netnet/card-abi.js +1 -0
- package/build/dist/api/modules/netnet/card-plan.d.ts +43 -0
- package/build/dist/api/modules/netnet/card-plan.js +1 -0
- package/build/dist/api/modules/netnet/card-policy.d.ts +10 -0
- package/build/dist/api/modules/netnet/card-policy.js +1 -0
- package/build/dist/api/modules/netnet/card-read.d.ts +2 -0
- package/build/dist/api/modules/netnet/card-read.js +1 -0
- package/build/dist/api/modules/netnet/card-recovery.d.ts +2 -0
- package/build/dist/api/modules/netnet/card-recovery.js +1 -0
- package/build/dist/api/modules/netnet/desk-action-abi.d.ts +2 -0
- package/build/dist/api/modules/netnet/desk-action-abi.js +1 -0
- package/build/dist/api/modules/netnet/desk-action.d.ts +3 -0
- package/build/dist/api/modules/netnet/desk-action.js +1 -0
- package/build/dist/api/modules/netnet/desk-read.d.ts +5 -0
- package/build/dist/api/modules/netnet/desk-read.js +1 -0
- package/build/dist/api/modules/netnet/desk-registry.d.ts +5 -0
- package/build/dist/api/modules/netnet/desk-registry.js +1 -0
- package/build/dist/api/modules/netnet/financial-abi.d.ts +1764 -0
- package/build/dist/api/modules/netnet/financial-abi.js +1 -0
- package/build/dist/api/modules/netnet/financial.d.ts +13 -0
- package/build/dist/api/modules/netnet/financial.js +1 -0
- package/build/dist/api/modules/netnet/index.d.ts +1 -0
- package/build/dist/api/modules/netnet/index.js +1 -1
- package/build/dist/api/modules/netnet/staking.d.ts +8 -0
- package/build/dist/api/modules/netnet/staking.js +1 -0
- package/build/dist/api/modules/orbio/gateway.d.ts +24 -0
- package/build/dist/api/modules/orbio/gateway.js +1 -0
- package/build/dist/api/modules/orbio/index.d.ts +3 -1
- package/build/dist/api/modules/orbio/index.js +1 -1
- package/build/dist/api/modules/orbio/pins.d.ts +457 -0
- package/build/dist/api/modules/orbio/pins.js +1 -0
- package/build/dist/api/modules/pons/claim.d.ts +33 -1
- package/build/dist/api/modules/pons/claim.js +1 -1
- package/build/dist/api/modules/pons/holder-directory.d.ts +35 -0
- package/build/dist/api/modules/pons/holder-directory.js +1 -0
- package/build/dist/api/modules/pons/index.js +1 -1
- package/build/dist/api/modules/pons/launch-status.d.ts +151 -5
- package/build/dist/api/modules/pons/launch-status.js +1 -1
- package/build/dist/api/modules/pons/prices.js +1 -1
- package/build/dist/api/modules/pons/reads.d.ts +3 -0
- package/build/dist/api/modules/pons/reads.js +1 -0
- package/build/dist/api/modules/pons/swap-terms.d.ts +77 -0
- package/build/dist/api/modules/pons/swap-terms.js +1 -0
- package/build/dist/api/modules/pons/trade.d.ts +15 -2
- package/build/dist/api/modules/pons/trade.js +1 -1
- package/build/dist/api/modules/poolstrade/index.js +1 -1
- package/build/dist/api/modules/priors/coverage.d.ts +23 -0
- package/build/dist/api/modules/priors/coverage.js +1 -0
- package/build/dist/api/modules/priors/discovery.d.ts +4 -0
- package/build/dist/api/modules/priors/discovery.js +1 -0
- package/build/dist/api/modules/priors/features.d.ts +62 -0
- package/build/dist/api/modules/priors/features.js +1 -0
- package/build/dist/api/modules/priors/index.d.ts +9 -2
- package/build/dist/api/modules/priors/index.js +1 -1
- package/build/dist/api/modules/priors/integration.d.ts +6 -0
- package/build/dist/api/modules/priors/integration.js +1 -0
- package/build/dist/api/modules/priors/market.d.ts +10 -0
- package/build/dist/api/modules/priors/market.js +1 -0
- package/build/dist/api/modules/priors/pt.d.ts +421 -0
- package/build/dist/api/modules/priors/pt.js +1 -0
- package/build/dist/api/modules/priors/savings-exit.d.ts +85 -0
- package/build/dist/api/modules/priors/savings-exit.js +1 -0
- package/build/dist/api/modules/priors/starter-line.d.ts +495 -0
- package/build/dist/api/modules/priors/starter-line.js +1 -0
- package/build/dist/api/modules/priors/stock-swap.d.ts +101 -0
- package/build/dist/api/modules/priors/stock-swap.js +1 -0
- package/build/dist/api/modules/relay/api.d.ts +52 -0
- package/build/dist/api/modules/relay/api.js +1 -0
- package/build/dist/api/modules/relay/bootstrap.d.ts +2 -0
- package/build/dist/api/modules/relay/bootstrap.js +1 -0
- package/build/dist/api/modules/relay/discovery.d.ts +2 -0
- package/build/dist/api/modules/relay/discovery.js +1 -0
- package/build/dist/api/modules/relay/inbound.js +1 -1
- package/build/dist/api/modules/relay/index.d.ts +2 -0
- package/build/dist/api/modules/relay/index.js +1 -1
- package/build/dist/api/modules/relay/order.d.ts +2 -0
- package/build/dist/api/modules/relay/order.js +1 -0
- package/build/dist/api/modules/relay/outbound-status.js +1 -1
- package/build/dist/api/modules/relay/readiness.d.ts +5 -0
- package/build/dist/api/modules/relay/readiness.js +1 -0
- package/build/dist/api/modules/relay/reads.d.ts +3 -0
- package/build/dist/api/modules/relay/reads.js +1 -0
- package/build/dist/api/modules/relay/vaults.d.ts +24 -0
- package/build/dist/api/modules/relay/vaults.js +1 -0
- package/build/dist/api/modules/spark/actions.d.ts +2 -0
- package/build/dist/api/modules/spark/actions.js +1 -0
- package/build/dist/api/modules/spark/details.d.ts +3 -0
- package/build/dist/api/modules/spark/details.js +1 -0
- package/build/dist/api/modules/spark/index.js +1 -1
- package/build/dist/api/modules/spark/management.d.ts +7 -0
- package/build/dist/api/modules/spark/management.js +1 -0
- package/build/dist/api/modules/steakhouse/analytics.d.ts +2 -0
- package/build/dist/api/modules/steakhouse/analytics.js +1 -0
- package/build/dist/api/modules/steakhouse/erc4626.d.ts +2 -0
- package/build/dist/api/modules/steakhouse/erc4626.js +1 -0
- package/build/dist/api/modules/steakhouse/index.js +1 -1
- package/build/dist/api/modules/steakhouse/local-guard.d.ts +7 -0
- package/build/dist/api/modules/steakhouse/local-guard.js +1 -0
- package/build/dist/api/modules/steakhouse/management.d.ts +3 -0
- package/build/dist/api/modules/steakhouse/management.js +1 -0
- package/build/dist/api/modules/steakhouse/v2-exit.d.ts +19 -0
- package/build/dist/api/modules/steakhouse/v2-exit.js +1 -0
- package/build/dist/api/modules/tickerspring/basket-routes.d.ts +2 -0
- package/build/dist/api/modules/tickerspring/basket-routes.js +1 -0
- package/build/dist/api/modules/tickerspring/contract-reads.d.ts +2 -0
- package/build/dist/api/modules/tickerspring/contract-reads.js +1 -0
- package/build/dist/api/modules/tickerspring/discovery.d.ts +27 -0
- package/build/dist/api/modules/tickerspring/discovery.js +1 -0
- package/build/dist/api/modules/tickerspring/exit-preview.d.ts +14 -0
- package/build/dist/api/modules/tickerspring/exit-preview.js +1 -0
- package/build/dist/api/modules/tickerspring/guards.d.ts +7 -0
- package/build/dist/api/modules/tickerspring/guards.js +1 -0
- package/build/dist/api/modules/tickerspring/index.d.ts +80 -1
- package/build/dist/api/modules/tickerspring/index.js +1 -1
- package/build/dist/api/modules/tickerspring/journeys.d.ts +31 -0
- package/build/dist/api/modules/tickerspring/journeys.js +1 -0
- package/build/dist/api/modules/tickerspring/ladder.d.ts +8 -0
- package/build/dist/api/modules/tickerspring/ladder.js +1 -0
- package/build/dist/api/modules/tickerspring/maker.d.ts +8 -0
- package/build/dist/api/modules/tickerspring/maker.js +1 -0
- package/build/dist/api/modules/tickerspring/order-accounting.d.ts +4 -0
- package/build/dist/api/modules/tickerspring/order-accounting.js +1 -0
- package/build/dist/api/modules/tickerspring/research.d.ts +2 -0
- package/build/dist/api/modules/tickerspring/research.js +1 -0
- package/build/dist/api/modules/tickerspring/strategies.d.ts +17 -0
- package/build/dist/api/modules/tickerspring/strategies.js +1 -0
- package/build/dist/api/modules/uniswap/auction-create.d.ts +112 -0
- package/build/dist/api/modules/uniswap/auction-create.js +1 -0
- package/build/dist/api/modules/uniswap/auction.d.ts +212 -0
- package/build/dist/api/modules/uniswap/auction.js +1 -0
- package/build/dist/api/modules/uniswap/batch.d.ts +22 -0
- package/build/dist/api/modules/uniswap/batch.js +1 -0
- package/build/dist/api/modules/uniswap/common.d.ts +12 -0
- package/build/dist/api/modules/uniswap/common.js +1 -0
- package/build/dist/api/modules/uniswap/fees.d.ts +54 -0
- package/build/dist/api/modules/uniswap/fees.js +1 -0
- package/build/dist/api/modules/uniswap/index.d.ts +2 -1
- package/build/dist/api/modules/uniswap/index.js +1 -1
- package/build/dist/api/modules/uniswap/local-guard.d.ts +16 -0
- package/build/dist/api/modules/uniswap/local-guard.js +1 -0
- package/build/dist/api/modules/uniswap/oracle.d.ts +2 -0
- package/build/dist/api/modules/uniswap/oracle.js +1 -0
- package/build/dist/api/modules/uniswap/pool-math.d.ts +13 -0
- package/build/dist/api/modules/uniswap/pool-math.js +1 -0
- package/build/dist/api/modules/uniswap/pools.d.ts +30 -0
- package/build/dist/api/modules/uniswap/pools.js +1 -0
- package/build/dist/api/modules/uniswap/position.d.ts +69 -0
- package/build/dist/api/modules/uniswap/position.js +1 -0
- package/build/dist/api/modules/uniswap/protocol.d.ts +154 -0
- package/build/dist/api/modules/uniswap/protocol.js +1 -0
- package/build/dist/api/modules/uniswap/token-jar.d.ts +52 -0
- package/build/dist/api/modules/uniswap/token-jar.js +1 -0
- package/build/dist/api/modules/uniswap/trade-batch.d.ts +2 -0
- package/build/dist/api/modules/uniswap/trade-batch.js +1 -0
- package/build/dist/api/modules/uniswap/trade.d.ts +406 -0
- package/build/dist/api/modules/uniswap/trade.js +1 -0
- package/build/dist/api/modules/uniswap/v2.d.ts +180 -0
- package/build/dist/api/modules/uniswap/v2.js +1 -0
- package/build/dist/api/modules/uniswap/v3.d.ts +23 -2
- package/build/dist/api/modules/uniswap/v3.js +1 -1
- package/build/dist/api/modules/uniswap/v4.d.ts +17 -28
- package/build/dist/api/modules/uniswap/v4.js +1 -1
- package/build/dist/api/modules/uniswap/wrap.d.ts +17 -0
- package/build/dist/api/modules/uniswap/wrap.js +1 -0
- package/build/dist/api/modules/velora/claims.d.ts +86 -0
- package/build/dist/api/modules/velora/claims.js +1 -0
- package/build/dist/api/modules/velora/delta-reads.d.ts +2 -0
- package/build/dist/api/modules/velora/delta-reads.js +1 -0
- package/build/dist/api/modules/velora/index.js +1 -1
- package/build/dist/api/owner-signature.d.ts +29 -0
- package/build/dist/api/owner-signature.js +1 -0
- package/build/dist/api/positions.js +1 -1
- package/build/dist/api/pricenote.d.ts +0 -1
- package/build/dist/api/pricenote.js +1 -1
- package/build/dist/api/prices.js +1 -1
- package/build/dist/api/pricing.d.ts +6 -15
- package/build/dist/api/pricing.js +1 -1
- package/build/dist/api/routes.js +1 -1
- package/build/dist/api/rpc.d.ts +23 -0
- package/build/dist/api/rpc.js +1 -0
- package/build/dist/api/secret-fields.js +1 -1
- package/build/dist/api/send.d.ts +45 -0
- package/build/dist/api/send.js +1 -0
- package/build/dist/api/signing-registry.d.ts +19 -0
- package/build/dist/api/signing-registry.js +1 -0
- package/build/dist/api/signing.d.ts +162 -0
- package/build/dist/api/signing.js +1 -0
- package/build/dist/api/simulate.js +1 -1
- package/build/dist/api/swap.d.ts +62 -27
- package/build/dist/api/swap.js +1 -1
- package/build/dist/api/tokens.d.ts +5 -0
- package/build/dist/api/tokens.js +1 -1
- package/build/dist/api/tool-policy.d.ts +7 -0
- package/build/dist/api/tool-policy.js +1 -1
- package/build/dist/api/tx.js +1 -1
- package/build/dist/api/types.d.ts +12 -0
- package/build/dist/api/untrusted.js +1 -1
- package/build/dist/api/vendor-limits.js +1 -1
- package/build/dist/chunks/2EDXKJ3B.js +1 -0
- package/build/dist/chunks/2EGFALNH.js +1 -0
- package/build/dist/chunks/2LM5C7FQ.js +1 -0
- package/build/dist/chunks/2NA6JLEC.js +1 -0
- package/build/dist/chunks/2O6A6WEX.js +1 -0
- package/build/dist/chunks/37QNUNED.js +1 -0
- package/build/dist/chunks/3CCBUYUM.js +1 -0
- package/build/dist/chunks/3RFSGU2Y.js +1 -0
- package/build/dist/chunks/{XTUXR43N.js → 3Z3U4YPA.js} +1 -1
- package/build/dist/chunks/4CDR7F4I.js +1 -0
- package/build/dist/chunks/4X6JEMSF.js +1 -0
- package/build/dist/chunks/53N7PNJH.js +1 -0
- package/build/dist/chunks/5EHQM6DM.js +1 -0
- package/build/dist/chunks/5H3MQWH7.js +18 -0
- package/build/dist/chunks/5XFXH2JT.js +1 -0
- package/build/dist/chunks/5YS5V2LK.js +1 -0
- package/build/dist/chunks/65QFM4JU.js +1 -0
- package/build/dist/chunks/67TJOOBI.js +1 -0
- package/build/dist/chunks/6HV5BR7P.js +1 -0
- package/build/dist/chunks/{VBWJOG3N.js → 6IM6A5VA.js} +1 -1
- package/build/dist/chunks/6JCEJ66K.js +1 -0
- package/build/dist/chunks/6NR7SVRO.js +1 -0
- package/build/dist/chunks/6SB3FB3P.js +1 -0
- package/build/dist/chunks/6SCCW74G.js +1 -0
- package/build/dist/chunks/73N3TOJL.js +1 -0
- package/build/dist/chunks/74BPMUAG.js +1 -0
- package/build/dist/chunks/7B5UH2VS.js +1 -0
- package/build/dist/chunks/7LDAJ6BM.js +1 -0
- package/build/dist/chunks/7MR37STI.js +1 -0
- package/build/dist/chunks/7US6PD56.js +1 -0
- package/build/dist/chunks/7YU6DELJ.js +1 -0
- package/build/dist/chunks/AFHHRDPJ.js +1 -0
- package/build/dist/chunks/AIWZGIZ6.js +1 -0
- package/build/dist/chunks/AXYOJBX6.js +1 -0
- package/build/dist/chunks/AYM5L6L7.js +1 -0
- package/build/dist/chunks/B72Q2EQ2.js +1 -0
- package/build/dist/chunks/B7V7AA5A.js +1 -0
- package/build/dist/chunks/BBQVTEYB.js +1 -0
- package/build/dist/chunks/BQLLTY4L.js +1 -0
- package/build/dist/chunks/BYXBS45D.js +1 -0
- package/build/dist/chunks/C2FEXLMA.js +1 -0
- package/build/dist/chunks/C3TJLARP.js +1 -0
- package/build/dist/chunks/C3ZZSGSP.js +1 -0
- package/build/dist/chunks/C5LR6F4B.js +1 -0
- package/build/dist/chunks/CAYBSVA6.js +1 -0
- package/build/dist/chunks/CBA776XQ.js +1 -0
- package/build/dist/chunks/CCEWSOBT.js +1 -0
- package/build/dist/chunks/CEQNXF6A.js +1 -0
- package/build/dist/chunks/CS55ERS3.js +1 -0
- package/build/dist/chunks/CXMC3T6B.js +1 -0
- package/build/dist/chunks/{PQHU5A3U.js → D3OWLDVB.js} +1 -1
- package/build/dist/chunks/DHXVYHT4.js +1 -0
- package/build/dist/chunks/E2IVNGLC.js +1 -0
- package/build/dist/chunks/E2Q5IA67.js +1 -0
- package/build/dist/chunks/{RYOVSHKO.js → E7ASOYQI.js} +1 -1
- package/build/dist/chunks/EAEQOS7Y.js +1 -0
- package/build/dist/chunks/EC5W3UZD.js +1 -0
- package/build/dist/chunks/{XAB4OIE3.js → EG6M6SSO.js} +1 -1
- package/build/dist/chunks/EHVPRQHS.js +1 -0
- package/build/dist/chunks/EKGHKEKV.js +1 -0
- package/build/dist/chunks/EVANKNJV.js +1 -0
- package/build/dist/chunks/F2YH72GF.js +1 -0
- package/build/dist/chunks/F3TJCOVV.js +1 -0
- package/build/dist/chunks/F6WBPPBN.js +1 -0
- package/build/dist/chunks/FL3EF72E.js +1 -0
- package/build/dist/chunks/FLXID6I3.js +1 -0
- package/build/dist/chunks/FYTF2QMS.js +1 -0
- package/build/dist/chunks/G7UKNO2I.js +1 -0
- package/build/dist/chunks/GZ5TW3WB.js +1 -0
- package/build/dist/chunks/H4S2ZCWK.js +1 -0
- package/build/dist/chunks/H6ED3RHF.js +1 -0
- package/build/dist/chunks/HACP2Q6D.js +3 -0
- package/build/dist/chunks/HF2AGJZC.js +1 -0
- package/build/dist/chunks/HFQS5344.js +1 -0
- package/build/dist/chunks/{74X7PXPR.js → HIMVOTIU.js} +1 -1
- package/build/dist/chunks/HL2MLC3O.js +1 -0
- package/build/dist/chunks/HNMOB76J.js +1 -0
- package/build/dist/chunks/HQVC6X3T.js +1 -0
- package/build/dist/chunks/HYIEQG4X.js +1 -0
- package/build/dist/chunks/HZUWK5B2.js +1 -0
- package/build/dist/chunks/IHGVCPVA.js +2 -0
- package/build/dist/chunks/IKP3Z3RX.js +1 -0
- package/build/dist/chunks/ITIIHCZK.js +1 -0
- package/build/dist/chunks/IWALIX7Q.js +1 -0
- package/build/dist/chunks/JOMK32QW.js +1 -0
- package/build/dist/chunks/JRO6WTK4.js +1 -0
- package/build/dist/chunks/JRVTSGAT.js +1 -0
- package/build/dist/chunks/JRZLKIYB.js +1 -0
- package/build/dist/chunks/JVTVOK6P.js +1 -0
- package/build/dist/chunks/{XN4WDN3O.js → JXOEJPJ4.js} +1 -1
- package/build/dist/chunks/K2LWX3PZ.js +1 -0
- package/build/dist/chunks/KEPQXFHU.js +1 -0
- package/build/dist/chunks/L24EOVLT.js +1 -0
- package/build/dist/chunks/L2MTPRU7.js +1 -0
- package/build/dist/chunks/LBEMCOND.js +1 -0
- package/build/dist/chunks/LFKSXD3S.js +1 -0
- package/build/dist/chunks/MRWCFTMS.js +1 -0
- package/build/dist/chunks/MWWYIFXJ.js +1 -0
- package/build/dist/chunks/MYBDO5SA.js +1 -0
- package/build/dist/chunks/N77ANGBT.js +1 -0
- package/build/dist/chunks/NCQFWPAW.js +1 -0
- package/build/dist/chunks/NHCRJC5X.js +1 -0
- package/build/dist/chunks/NNZ4SZZ4.js +1 -0
- package/build/dist/chunks/NUWL6TJM.js +1 -0
- package/build/dist/chunks/O47JXRXN.js +1 -0
- package/build/dist/chunks/{MEZH7RPA.js → OG5HRQU4.js} +1 -1
- package/build/dist/chunks/OJLMF5AR.js +1 -0
- package/build/dist/chunks/OJMYESQU.js +1 -0
- package/build/dist/chunks/OJP7Y4AM.js +1 -0
- package/build/dist/chunks/OK3TQFXZ.js +1 -0
- package/build/dist/chunks/OW7GOYKA.js +1 -0
- package/build/dist/chunks/P4UQGWCP.js +1 -0
- package/build/dist/chunks/P6ELT4ZV.js +1 -0
- package/build/dist/chunks/PHXWBC4O.js +1 -0
- package/build/dist/chunks/Q2VMH2LB.js +1 -0
- package/build/dist/chunks/QH3AL3UN.js +1 -0
- package/build/dist/chunks/QHHZDXRG.js +1 -0
- package/build/dist/chunks/QNPEKNWM.js +1 -0
- package/build/dist/chunks/QOY4AANB.js +1 -0
- package/build/dist/chunks/QRUC7EFE.js +1 -0
- package/build/dist/chunks/QYKXWBZC.js +1 -0
- package/build/dist/chunks/REGJY5RC.js +1 -0
- package/build/dist/chunks/RETS2ZEK.js +1 -0
- package/build/dist/chunks/RFJCG4NA.js +1 -0
- package/build/dist/chunks/RNEMTLQG.js +1 -0
- package/build/dist/chunks/RRSODRGT.js +1 -0
- package/build/dist/chunks/SEW7UP5U.js +1 -0
- package/build/dist/chunks/SLSPWXR6.js +1 -0
- package/build/dist/chunks/SPRVVJXI.js +1 -0
- package/build/dist/chunks/SQ5BNSXR.js +1 -0
- package/build/dist/chunks/SQH7A4O3.js +1 -0
- package/build/dist/chunks/SS7U3CMZ.js +1 -0
- package/build/dist/chunks/SXX52Y27.js +1 -0
- package/build/dist/chunks/SYZ55RCX.js +1 -0
- package/build/dist/chunks/T6MTTMLQ.js +1 -0
- package/build/dist/chunks/TAI63P6E.js +1 -0
- package/build/dist/chunks/TCS3ICNE.js +2 -0
- package/build/dist/chunks/TRCP7X5P.js +1 -0
- package/build/dist/chunks/TWR7BF72.js +1 -0
- package/build/dist/chunks/UEYFMXV3.js +1 -0
- package/build/dist/chunks/UWOFA6GV.js +1 -0
- package/build/dist/chunks/UXG67LH3.js +1 -0
- package/build/dist/chunks/V6SDKPZS.js +1 -0
- package/build/dist/chunks/VCWDJQDE.js +1 -0
- package/build/dist/chunks/{6YQ2RX5I.js → VXLJRRKV.js} +1 -1
- package/build/dist/chunks/W6G2QGYF.js +1 -0
- package/build/dist/chunks/WCKMQFGS.js +1117 -0
- package/build/dist/chunks/WHT45EFX.js +1 -0
- package/build/dist/chunks/WIDTTGSH.js +1 -0
- package/build/dist/chunks/WQZLYX64.js +1 -0
- package/build/dist/chunks/X5V2Z2NM.js +1 -0
- package/build/dist/chunks/{Z53DADZ4.js → XCFA73P2.js} +1 -1
- package/build/dist/chunks/XPFVT2EA.js +1 -0
- package/build/dist/chunks/XV6F3RET.js +1 -0
- package/build/dist/chunks/XW7RH7YY.js +1 -0
- package/build/dist/chunks/YHPOXAKA.js +1 -0
- package/build/dist/chunks/YONRUWN7.js +1 -0
- package/build/dist/chunks/YR3QJVJQ.js +1 -0
- package/build/dist/chunks/Z4LJ2GTX.js +1 -0
- package/build/dist/chunks/ZL3KVABO.js +1 -0
- package/build/dist/chunks/ZPM2MFXZ.js +1 -0
- package/build/dist/chunks/ZPNGV34U.js +1 -0
- package/build/dist/chunks/ZQI7B2Z7.js +1 -0
- package/build/dist/chunks/ZT67OMLW.js +1 -0
- package/package.json +13 -9
- package/build/dist/chunks/5B3UVWMV.js +0 -1
- package/build/dist/chunks/5BP72XOA.js +0 -1
- package/build/dist/chunks/5SH3C7XP.js +0 -1
- package/build/dist/chunks/7I6TXFXR.js +0 -1
- package/build/dist/chunks/A5O3SRHY.js +0 -1
- package/build/dist/chunks/B2LA6VVF.js +0 -3
- package/build/dist/chunks/CWQ5WXZQ.js +0 -1
- package/build/dist/chunks/F3TOOLFQ.js +0 -1
- package/build/dist/chunks/GOIVHR4B.js +0 -1
- package/build/dist/chunks/M643PYHO.js +0 -1
- package/build/dist/chunks/NDHEJGWR.js +0 -1
- package/build/dist/chunks/NNJLMS7F.js +0 -1
- package/build/dist/chunks/R5CBH2CR.js +0 -1
- package/build/dist/chunks/SUQ6PIAV.js +0 -1
- package/build/dist/chunks/SXBGOGYQ.js +0 -1
- package/build/dist/chunks/T4IYMYZD.js +0 -1
- package/build/dist/chunks/TFYLOWFO.js +0 -1
- package/build/dist/chunks/TU3KHOZK.js +0 -1
- package/build/dist/chunks/UB5U6SI2.js +0 -1
- package/build/dist/chunks/UIJWIFGV.js +0 -1
- package/build/dist/chunks/WFE3NXBF.js +0 -2
- package/build/dist/chunks/XEN45QST.js +0 -1
- package/build/dist/chunks/XKZOMGC3.js +0 -1
- package/build/dist/chunks/Y2SGXWFM.js +0 -1
- package/build/dist/chunks/Z3FZWNAJ.js +0 -1
- package/build/dist/chunks/ZJUNO5N7.js +0 -1
- package/build/dist/chunks/ZZLHDHOT.js +0 -1
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
import type { Address, Hex, ModuleContext, ProjectModulePart, ToolArgs, UnsignedTx } from '../../types.js';
|
|
2
|
+
import { type V4PoolKey } from './v4.js';
|
|
3
|
+
export declare const V3_QUOTER: `0x${string}`;
|
|
4
|
+
export declare const V4_QUOTER: `0x${string}`;
|
|
5
|
+
export declare const universalRouterAbi: readonly [{
|
|
6
|
+
readonly name: "execute";
|
|
7
|
+
readonly type: "function";
|
|
8
|
+
readonly stateMutability: "payable";
|
|
9
|
+
readonly inputs: readonly [{
|
|
10
|
+
readonly type: "bytes";
|
|
11
|
+
readonly name: "commands";
|
|
12
|
+
}, {
|
|
13
|
+
readonly type: "bytes[]";
|
|
14
|
+
readonly name: "inputs";
|
|
15
|
+
}, {
|
|
16
|
+
readonly type: "uint256";
|
|
17
|
+
readonly name: "deadline";
|
|
18
|
+
}];
|
|
19
|
+
readonly outputs: readonly [];
|
|
20
|
+
}];
|
|
21
|
+
export declare const permitAbi: readonly [{
|
|
22
|
+
readonly name: "approve";
|
|
23
|
+
readonly type: "function";
|
|
24
|
+
readonly stateMutability: "nonpayable";
|
|
25
|
+
readonly inputs: readonly [{
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
readonly name: "token";
|
|
28
|
+
}, {
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
readonly name: "spender";
|
|
31
|
+
}, {
|
|
32
|
+
readonly type: "uint160";
|
|
33
|
+
readonly name: "amount";
|
|
34
|
+
}, {
|
|
35
|
+
readonly type: "uint48";
|
|
36
|
+
readonly name: "expiration";
|
|
37
|
+
}];
|
|
38
|
+
readonly outputs: readonly [];
|
|
39
|
+
}];
|
|
40
|
+
export declare const v3QuoterAbi: readonly [{
|
|
41
|
+
readonly name: "factory";
|
|
42
|
+
readonly type: "function";
|
|
43
|
+
readonly stateMutability: "view";
|
|
44
|
+
readonly inputs: readonly [];
|
|
45
|
+
readonly outputs: readonly [{
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}];
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "quoteExactInput";
|
|
50
|
+
readonly type: "function";
|
|
51
|
+
readonly stateMutability: "nonpayable";
|
|
52
|
+
readonly inputs: readonly [{
|
|
53
|
+
readonly type: "bytes";
|
|
54
|
+
readonly name: "path";
|
|
55
|
+
}, {
|
|
56
|
+
readonly type: "uint256";
|
|
57
|
+
readonly name: "amountIn";
|
|
58
|
+
}];
|
|
59
|
+
readonly outputs: readonly [{
|
|
60
|
+
readonly type: "uint256";
|
|
61
|
+
}, {
|
|
62
|
+
readonly type: "uint160[]";
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "uint32[]";
|
|
65
|
+
}, {
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}];
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "quoteExactOutput";
|
|
70
|
+
readonly type: "function";
|
|
71
|
+
readonly stateMutability: "nonpayable";
|
|
72
|
+
readonly inputs: readonly [{
|
|
73
|
+
readonly type: "bytes";
|
|
74
|
+
readonly name: "path";
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "uint256";
|
|
77
|
+
readonly name: "amountOut";
|
|
78
|
+
}];
|
|
79
|
+
readonly outputs: readonly [{
|
|
80
|
+
readonly type: "uint256";
|
|
81
|
+
}, {
|
|
82
|
+
readonly type: "uint160[]";
|
|
83
|
+
}, {
|
|
84
|
+
readonly type: "uint32[]";
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "uint256";
|
|
87
|
+
}];
|
|
88
|
+
}];
|
|
89
|
+
export declare const v4QuoterAbi: readonly [{
|
|
90
|
+
readonly name: "quoteExactInput";
|
|
91
|
+
readonly type: "function";
|
|
92
|
+
readonly stateMutability: "nonpayable";
|
|
93
|
+
readonly inputs: readonly [{
|
|
94
|
+
readonly type: "tuple";
|
|
95
|
+
readonly components: readonly [{
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
readonly name: "exactCurrency";
|
|
98
|
+
}, {
|
|
99
|
+
readonly type: "tuple[]";
|
|
100
|
+
readonly components: readonly [{
|
|
101
|
+
readonly type: "address";
|
|
102
|
+
readonly name: "intermediateCurrency";
|
|
103
|
+
}, {
|
|
104
|
+
readonly type: "uint24";
|
|
105
|
+
readonly name: "fee";
|
|
106
|
+
}, {
|
|
107
|
+
readonly type: "int24";
|
|
108
|
+
readonly name: "tickSpacing";
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
readonly name: "hooks";
|
|
112
|
+
}, {
|
|
113
|
+
readonly type: "bytes";
|
|
114
|
+
readonly name: "hookData";
|
|
115
|
+
}];
|
|
116
|
+
readonly name: "path";
|
|
117
|
+
}, {
|
|
118
|
+
readonly type: "uint128";
|
|
119
|
+
readonly name: "exactAmount";
|
|
120
|
+
}];
|
|
121
|
+
readonly name: "params";
|
|
122
|
+
}];
|
|
123
|
+
readonly outputs: readonly [{
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}, {
|
|
126
|
+
readonly type: "uint256";
|
|
127
|
+
}];
|
|
128
|
+
}, {
|
|
129
|
+
readonly name: "quoteExactOutput";
|
|
130
|
+
readonly type: "function";
|
|
131
|
+
readonly stateMutability: "nonpayable";
|
|
132
|
+
readonly inputs: readonly [{
|
|
133
|
+
readonly type: "tuple";
|
|
134
|
+
readonly components: readonly [{
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
readonly name: "exactCurrency";
|
|
137
|
+
}, {
|
|
138
|
+
readonly type: "tuple[]";
|
|
139
|
+
readonly components: readonly [{
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
readonly name: "intermediateCurrency";
|
|
142
|
+
}, {
|
|
143
|
+
readonly type: "uint24";
|
|
144
|
+
readonly name: "fee";
|
|
145
|
+
}, {
|
|
146
|
+
readonly type: "int24";
|
|
147
|
+
readonly name: "tickSpacing";
|
|
148
|
+
}, {
|
|
149
|
+
readonly type: "address";
|
|
150
|
+
readonly name: "hooks";
|
|
151
|
+
}, {
|
|
152
|
+
readonly type: "bytes";
|
|
153
|
+
readonly name: "hookData";
|
|
154
|
+
}];
|
|
155
|
+
readonly name: "path";
|
|
156
|
+
}, {
|
|
157
|
+
readonly type: "uint128";
|
|
158
|
+
readonly name: "exactAmount";
|
|
159
|
+
}];
|
|
160
|
+
readonly name: "params";
|
|
161
|
+
}];
|
|
162
|
+
readonly outputs: readonly [{
|
|
163
|
+
readonly type: "uint256";
|
|
164
|
+
}, {
|
|
165
|
+
readonly type: "uint256";
|
|
166
|
+
}];
|
|
167
|
+
}, {
|
|
168
|
+
readonly name: "quoteExactInputSingle";
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
readonly stateMutability: "nonpayable";
|
|
171
|
+
readonly inputs: readonly [{
|
|
172
|
+
readonly type: "tuple";
|
|
173
|
+
readonly components: readonly [{
|
|
174
|
+
readonly type: "tuple";
|
|
175
|
+
readonly components: readonly [{
|
|
176
|
+
readonly type: "address";
|
|
177
|
+
readonly name: "currency0";
|
|
178
|
+
}, {
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
readonly name: "currency1";
|
|
181
|
+
}, {
|
|
182
|
+
readonly type: "uint24";
|
|
183
|
+
readonly name: "fee";
|
|
184
|
+
}, {
|
|
185
|
+
readonly type: "int24";
|
|
186
|
+
readonly name: "tickSpacing";
|
|
187
|
+
}, {
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
readonly name: "hooks";
|
|
190
|
+
}];
|
|
191
|
+
readonly name: "poolKey";
|
|
192
|
+
}, {
|
|
193
|
+
readonly type: "bool";
|
|
194
|
+
readonly name: "zeroForOne";
|
|
195
|
+
}, {
|
|
196
|
+
readonly type: "uint128";
|
|
197
|
+
readonly name: "exactAmount";
|
|
198
|
+
}, {
|
|
199
|
+
readonly type: "bytes";
|
|
200
|
+
readonly name: "hookData";
|
|
201
|
+
}];
|
|
202
|
+
readonly name: "params";
|
|
203
|
+
}];
|
|
204
|
+
readonly outputs: readonly [{
|
|
205
|
+
readonly type: "uint256";
|
|
206
|
+
}, {
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
}];
|
|
209
|
+
}, {
|
|
210
|
+
readonly name: "quoteExactOutputSingle";
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
readonly stateMutability: "nonpayable";
|
|
213
|
+
readonly inputs: readonly [{
|
|
214
|
+
readonly type: "tuple";
|
|
215
|
+
readonly components: readonly [{
|
|
216
|
+
readonly type: "tuple";
|
|
217
|
+
readonly components: readonly [{
|
|
218
|
+
readonly type: "address";
|
|
219
|
+
readonly name: "currency0";
|
|
220
|
+
}, {
|
|
221
|
+
readonly type: "address";
|
|
222
|
+
readonly name: "currency1";
|
|
223
|
+
}, {
|
|
224
|
+
readonly type: "uint24";
|
|
225
|
+
readonly name: "fee";
|
|
226
|
+
}, {
|
|
227
|
+
readonly type: "int24";
|
|
228
|
+
readonly name: "tickSpacing";
|
|
229
|
+
}, {
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
readonly name: "hooks";
|
|
232
|
+
}];
|
|
233
|
+
readonly name: "poolKey";
|
|
234
|
+
}, {
|
|
235
|
+
readonly type: "bool";
|
|
236
|
+
readonly name: "zeroForOne";
|
|
237
|
+
}, {
|
|
238
|
+
readonly type: "uint128";
|
|
239
|
+
readonly name: "exactAmount";
|
|
240
|
+
}, {
|
|
241
|
+
readonly type: "bytes";
|
|
242
|
+
readonly name: "hookData";
|
|
243
|
+
}];
|
|
244
|
+
readonly name: "params";
|
|
245
|
+
}];
|
|
246
|
+
readonly outputs: readonly [{
|
|
247
|
+
readonly type: "uint256";
|
|
248
|
+
}, {
|
|
249
|
+
readonly type: "uint256";
|
|
250
|
+
}];
|
|
251
|
+
}];
|
|
252
|
+
export declare const swapV4MultiParams: readonly [{
|
|
253
|
+
readonly type: "tuple";
|
|
254
|
+
readonly components: readonly [{
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
readonly name: "exactCurrency";
|
|
257
|
+
}, {
|
|
258
|
+
readonly type: "tuple[]";
|
|
259
|
+
readonly components: readonly [{
|
|
260
|
+
readonly type: "address";
|
|
261
|
+
readonly name: "intermediateCurrency";
|
|
262
|
+
}, {
|
|
263
|
+
readonly type: "uint24";
|
|
264
|
+
readonly name: "fee";
|
|
265
|
+
}, {
|
|
266
|
+
readonly type: "int24";
|
|
267
|
+
readonly name: "tickSpacing";
|
|
268
|
+
}, {
|
|
269
|
+
readonly type: "address";
|
|
270
|
+
readonly name: "hooks";
|
|
271
|
+
}, {
|
|
272
|
+
readonly type: "bytes";
|
|
273
|
+
readonly name: "hookData";
|
|
274
|
+
}];
|
|
275
|
+
readonly name: "path";
|
|
276
|
+
}, {
|
|
277
|
+
readonly type: "uint256[]";
|
|
278
|
+
readonly name: "minHopPriceX36";
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "uint128";
|
|
281
|
+
readonly name: "amount";
|
|
282
|
+
}, {
|
|
283
|
+
readonly type: "uint128";
|
|
284
|
+
readonly name: "limit";
|
|
285
|
+
}];
|
|
286
|
+
}];
|
|
287
|
+
export declare function v4Path(keys: V4PoolKey[], input: Address, output: Address, exactOutput: boolean): {
|
|
288
|
+
intermediateCurrency: Address;
|
|
289
|
+
fee: number;
|
|
290
|
+
tickSpacing: number;
|
|
291
|
+
hooks: Address;
|
|
292
|
+
hookData: Hex;
|
|
293
|
+
}[];
|
|
294
|
+
export declare const swapV4Params: readonly [{
|
|
295
|
+
readonly type: "tuple";
|
|
296
|
+
readonly components: readonly [{
|
|
297
|
+
readonly type: "tuple";
|
|
298
|
+
readonly components: readonly [{
|
|
299
|
+
readonly type: "address";
|
|
300
|
+
readonly name: "currency0";
|
|
301
|
+
}, {
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
readonly name: "currency1";
|
|
304
|
+
}, {
|
|
305
|
+
readonly type: "uint24";
|
|
306
|
+
readonly name: "fee";
|
|
307
|
+
}, {
|
|
308
|
+
readonly type: "int24";
|
|
309
|
+
readonly name: "tickSpacing";
|
|
310
|
+
}, {
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
readonly name: "hooks";
|
|
313
|
+
}];
|
|
314
|
+
readonly name: "poolKey";
|
|
315
|
+
}, {
|
|
316
|
+
readonly type: "bool";
|
|
317
|
+
readonly name: "zeroForOne";
|
|
318
|
+
}, {
|
|
319
|
+
readonly type: "uint128";
|
|
320
|
+
readonly name: "amount";
|
|
321
|
+
}, {
|
|
322
|
+
readonly type: "uint128";
|
|
323
|
+
readonly name: "limit";
|
|
324
|
+
}, {
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
readonly name: "minHopPriceX36";
|
|
327
|
+
}, {
|
|
328
|
+
readonly type: "bytes";
|
|
329
|
+
readonly name: "hookData";
|
|
330
|
+
}];
|
|
331
|
+
}];
|
|
332
|
+
export declare const swapV3Params: readonly [{
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
readonly name: "recipient";
|
|
335
|
+
}, {
|
|
336
|
+
readonly type: "uint256";
|
|
337
|
+
readonly name: "amount";
|
|
338
|
+
}, {
|
|
339
|
+
readonly type: "uint256";
|
|
340
|
+
readonly name: "limit";
|
|
341
|
+
}, {
|
|
342
|
+
readonly type: "bytes";
|
|
343
|
+
readonly name: "path";
|
|
344
|
+
}, {
|
|
345
|
+
readonly type: "bool";
|
|
346
|
+
readonly name: "payerIsUser";
|
|
347
|
+
}, {
|
|
348
|
+
readonly type: "uint256[]";
|
|
349
|
+
readonly name: "minHopPriceX36";
|
|
350
|
+
}];
|
|
351
|
+
export declare const swapV2Params: readonly [{
|
|
352
|
+
readonly type: "address";
|
|
353
|
+
readonly name: "recipient";
|
|
354
|
+
}, {
|
|
355
|
+
readonly type: "uint256";
|
|
356
|
+
readonly name: "amount";
|
|
357
|
+
}, {
|
|
358
|
+
readonly type: "uint256";
|
|
359
|
+
readonly name: "limit";
|
|
360
|
+
}, {
|
|
361
|
+
readonly type: "address[]";
|
|
362
|
+
readonly name: "path";
|
|
363
|
+
}, {
|
|
364
|
+
readonly type: "bool";
|
|
365
|
+
readonly name: "payerIsUser";
|
|
366
|
+
}, {
|
|
367
|
+
readonly type: "uint256[]";
|
|
368
|
+
readonly name: "minHopPriceX36";
|
|
369
|
+
}];
|
|
370
|
+
export declare function v3Path(tokens: Address[], fees: number[], exactOutput: boolean): Hex;
|
|
371
|
+
export declare function trade(context: ModuleContext, args: ToolArgs, wallet: Address, quoteOnly?: boolean): Promise<{
|
|
372
|
+
quote: {
|
|
373
|
+
[x: string]: unknown;
|
|
374
|
+
version: unknown;
|
|
375
|
+
input: {
|
|
376
|
+
token: import("../../types.js").Token;
|
|
377
|
+
amount: string;
|
|
378
|
+
};
|
|
379
|
+
output: {
|
|
380
|
+
token: import("../../types.js").Token;
|
|
381
|
+
amount: string;
|
|
382
|
+
};
|
|
383
|
+
blockNumber: string;
|
|
384
|
+
expiresAt: string;
|
|
385
|
+
};
|
|
386
|
+
summary: string;
|
|
387
|
+
} | {
|
|
388
|
+
quote: {
|
|
389
|
+
[x: string]: unknown;
|
|
390
|
+
version: unknown;
|
|
391
|
+
input: {
|
|
392
|
+
token: import("../../types.js").Token;
|
|
393
|
+
amount: string;
|
|
394
|
+
};
|
|
395
|
+
output: {
|
|
396
|
+
token: import("../../types.js").Token;
|
|
397
|
+
amount: string;
|
|
398
|
+
};
|
|
399
|
+
blockNumber: string;
|
|
400
|
+
expiresAt: string;
|
|
401
|
+
};
|
|
402
|
+
txs: UnsignedTx[];
|
|
403
|
+
preview: import("../../types.js").Preview;
|
|
404
|
+
summary: string;
|
|
405
|
+
}>;
|
|
406
|
+
export declare function createTradePart(context: ModuleContext): ProjectModulePart;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n}from"../../../chunks/6SB3FB3P.js";import"../../../chunks/HF2AGJZC.js";import"../../../chunks/FL3EF72E.js";import"../../../chunks/ITIIHCZK.js";import"../../../chunks/FYTF2QMS.js";import"../../../chunks/E7ASOYQI.js";import"../../../chunks/D3OWLDVB.js";import"../../../chunks/CCEWSOBT.js";import"../../../chunks/RFJCG4NA.js";import"../../../chunks/HZUWK5B2.js";import"../../../chunks/WHT45EFX.js";import"../../../chunks/HACP2Q6D.js";import"../../../chunks/FLXID6I3.js";import"../../../chunks/NNZ4SZZ4.js";import"../../../chunks/EAEQOS7Y.js";import"../../../chunks/HQVC6X3T.js";import"../../../chunks/ZQI7B2Z7.js";import"../../../chunks/XCFA73P2.js";import"../../../chunks/LIUXNOLP.js";import"../../../chunks/HFQS5344.js";import"../../../chunks/G7UKNO2I.js";import"../../../chunks/BYXBS45D.js";import"../../../chunks/GZ5TW3WB.js";import"../../../chunks/5EHQM6DM.js";import"../../../chunks/AXYOJBX6.js";import"../../../chunks/Z25UKUJF.js";import"../../../chunks/6IM6A5VA.js";import"../../../chunks/P4UQGWCP.js";import"../../../chunks/MYBDO5SA.js";import"../../../chunks/HIMVOTIU.js";import"../../../chunks/OG5HRQU4.js";import"../../../chunks/UWOFA6GV.js";import"../../../chunks/73N3TOJL.js";import"../../../chunks/RETS2ZEK.js";import"../../../chunks/5HCXZWUH.js";import"../../../chunks/IWALIX7Q.js";import"../../../chunks/XPFVT2EA.js";import"../../../chunks/EG6M6SSO.js";import"../../../chunks/5YS5V2LK.js";import"../../../chunks/JXOEJPJ4.js";export{a as V3_QUOTER,b as V4_QUOTER,n as createTradePart,d as permitAbi,k as swapV2Params,j as swapV3Params,g as swapV4MultiParams,i as swapV4Params,m as trade,c as universalRouterAbi,l as v3Path,e as v3QuoterAbi,h as v4Path,f as v4QuoterAbi};
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import type { Address, ModuleContext, ProjectModulePart } from '../../types.js';
|
|
2
|
+
export declare const V2_FACTORY: `0x${string}`;
|
|
3
|
+
export declare const V2_ROUTER: `0x${string}`;
|
|
4
|
+
export declare const v2FactoryAbi: readonly [{
|
|
5
|
+
readonly name: "getPair";
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly stateMutability: "view";
|
|
8
|
+
readonly inputs: readonly [{
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}, {
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}];
|
|
13
|
+
readonly outputs: readonly [{
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}];
|
|
16
|
+
}];
|
|
17
|
+
export declare const v2PairAbi: readonly [{
|
|
18
|
+
readonly name: "token0";
|
|
19
|
+
readonly type: "function";
|
|
20
|
+
readonly stateMutability: "view";
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly outputs: readonly [{
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}];
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: "token1";
|
|
27
|
+
readonly type: "function";
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly outputs: readonly [{
|
|
31
|
+
readonly type: "address";
|
|
32
|
+
}];
|
|
33
|
+
}, {
|
|
34
|
+
readonly name: "getReserves";
|
|
35
|
+
readonly type: "function";
|
|
36
|
+
readonly stateMutability: "view";
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly outputs: readonly [{
|
|
39
|
+
readonly type: "uint112";
|
|
40
|
+
}, {
|
|
41
|
+
readonly type: "uint112";
|
|
42
|
+
}, {
|
|
43
|
+
readonly type: "uint32";
|
|
44
|
+
}];
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "totalSupply";
|
|
47
|
+
readonly type: "function";
|
|
48
|
+
readonly stateMutability: "view";
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly outputs: readonly [{
|
|
51
|
+
readonly type: "uint256";
|
|
52
|
+
}];
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "balanceOf";
|
|
55
|
+
readonly type: "function";
|
|
56
|
+
readonly stateMutability: "view";
|
|
57
|
+
readonly inputs: readonly [{
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}];
|
|
60
|
+
readonly outputs: readonly [{
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
}];
|
|
63
|
+
}];
|
|
64
|
+
export declare const v2RouterAbi: readonly [{
|
|
65
|
+
readonly name: "factory";
|
|
66
|
+
readonly type: "function";
|
|
67
|
+
readonly stateMutability: "view";
|
|
68
|
+
readonly inputs: readonly [];
|
|
69
|
+
readonly outputs: readonly [{
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
}];
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "addLiquidity";
|
|
74
|
+
readonly type: "function";
|
|
75
|
+
readonly stateMutability: "nonpayable";
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly type: "address";
|
|
78
|
+
readonly name: "tokenA";
|
|
79
|
+
}, {
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
readonly name: "tokenB";
|
|
82
|
+
}, {
|
|
83
|
+
readonly type: "uint256";
|
|
84
|
+
readonly name: "amountADesired";
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "uint256";
|
|
87
|
+
readonly name: "amountBDesired";
|
|
88
|
+
}, {
|
|
89
|
+
readonly type: "uint256";
|
|
90
|
+
readonly name: "amountAMin";
|
|
91
|
+
}, {
|
|
92
|
+
readonly type: "uint256";
|
|
93
|
+
readonly name: "amountBMin";
|
|
94
|
+
}, {
|
|
95
|
+
readonly type: "address";
|
|
96
|
+
readonly name: "to";
|
|
97
|
+
}, {
|
|
98
|
+
readonly type: "uint256";
|
|
99
|
+
readonly name: "deadline";
|
|
100
|
+
}];
|
|
101
|
+
readonly outputs: readonly [{
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
}, {
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
}, {
|
|
106
|
+
readonly type: "uint256";
|
|
107
|
+
}];
|
|
108
|
+
}, {
|
|
109
|
+
readonly name: "removeLiquidity";
|
|
110
|
+
readonly type: "function";
|
|
111
|
+
readonly stateMutability: "nonpayable";
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly type: "address";
|
|
114
|
+
readonly name: "tokenA";
|
|
115
|
+
}, {
|
|
116
|
+
readonly type: "address";
|
|
117
|
+
readonly name: "tokenB";
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: "uint256";
|
|
120
|
+
readonly name: "liquidity";
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "uint256";
|
|
123
|
+
readonly name: "amountAMin";
|
|
124
|
+
}, {
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
readonly name: "amountBMin";
|
|
127
|
+
}, {
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
readonly name: "to";
|
|
130
|
+
}, {
|
|
131
|
+
readonly type: "uint256";
|
|
132
|
+
readonly name: "deadline";
|
|
133
|
+
}];
|
|
134
|
+
readonly outputs: readonly [{
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
}, {
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
}];
|
|
139
|
+
}, {
|
|
140
|
+
readonly name: "getAmountsOut";
|
|
141
|
+
readonly type: "function";
|
|
142
|
+
readonly stateMutability: "view";
|
|
143
|
+
readonly inputs: readonly [{
|
|
144
|
+
readonly type: "uint256";
|
|
145
|
+
readonly name: "amountIn";
|
|
146
|
+
}, {
|
|
147
|
+
readonly type: "address[]";
|
|
148
|
+
readonly name: "path";
|
|
149
|
+
}];
|
|
150
|
+
readonly outputs: readonly [{
|
|
151
|
+
readonly type: "uint256[]";
|
|
152
|
+
readonly name: "amounts";
|
|
153
|
+
}];
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "getAmountsIn";
|
|
156
|
+
readonly type: "function";
|
|
157
|
+
readonly stateMutability: "view";
|
|
158
|
+
readonly inputs: readonly [{
|
|
159
|
+
readonly type: "uint256";
|
|
160
|
+
readonly name: "amountOut";
|
|
161
|
+
}, {
|
|
162
|
+
readonly type: "address[]";
|
|
163
|
+
readonly name: "path";
|
|
164
|
+
}];
|
|
165
|
+
readonly outputs: readonly [{
|
|
166
|
+
readonly type: "uint256[]";
|
|
167
|
+
readonly name: "amounts";
|
|
168
|
+
}];
|
|
169
|
+
}];
|
|
170
|
+
export declare function v2Pool(context: ModuleContext, a: Address, b: Address, wallet: Address): Promise<{
|
|
171
|
+
pair: `0x${string}`;
|
|
172
|
+
tokenA: import("../../types.js").Token;
|
|
173
|
+
tokenB: import("../../types.js").Token;
|
|
174
|
+
reserveA: bigint;
|
|
175
|
+
reserveB: bigint;
|
|
176
|
+
supply: bigint;
|
|
177
|
+
balance: bigint;
|
|
178
|
+
blockNumber: bigint;
|
|
179
|
+
}>;
|
|
180
|
+
export declare function createV2Part(context: ModuleContext): ProjectModulePart;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../../../chunks/HF2AGJZC.js";import"../../../chunks/ITIIHCZK.js";import"../../../chunks/FYTF2QMS.js";import"../../../chunks/E7ASOYQI.js";import"../../../chunks/D3OWLDVB.js";import"../../../chunks/CCEWSOBT.js";import"../../../chunks/RFJCG4NA.js";import"../../../chunks/HZUWK5B2.js";import"../../../chunks/WHT45EFX.js";import"../../../chunks/HACP2Q6D.js";import"../../../chunks/FLXID6I3.js";import"../../../chunks/NNZ4SZZ4.js";import"../../../chunks/EAEQOS7Y.js";import"../../../chunks/HQVC6X3T.js";import"../../../chunks/ZQI7B2Z7.js";import"../../../chunks/XCFA73P2.js";import"../../../chunks/LIUXNOLP.js";import"../../../chunks/HFQS5344.js";import"../../../chunks/G7UKNO2I.js";import"../../../chunks/BYXBS45D.js";import"../../../chunks/GZ5TW3WB.js";import"../../../chunks/5EHQM6DM.js";import"../../../chunks/AXYOJBX6.js";import"../../../chunks/Z25UKUJF.js";import"../../../chunks/6IM6A5VA.js";import"../../../chunks/P4UQGWCP.js";import"../../../chunks/MYBDO5SA.js";import"../../../chunks/HIMVOTIU.js";import"../../../chunks/OG5HRQU4.js";import"../../../chunks/UWOFA6GV.js";import"../../../chunks/73N3TOJL.js";import"../../../chunks/RETS2ZEK.js";import"../../../chunks/5HCXZWUH.js";import"../../../chunks/IWALIX7Q.js";import"../../../chunks/XPFVT2EA.js";import"../../../chunks/EG6M6SSO.js";import"../../../chunks/5YS5V2LK.js";import"../../../chunks/JXOEJPJ4.js";export{a as V2_FACTORY,b as V2_ROUTER,g as createV2Part,c as v2FactoryAbi,d as v2PairAbi,f as v2Pool,e as v2RouterAbi};
|
|
@@ -271,6 +271,27 @@ export declare const UNISWAP_V3_POSITION_MANAGER_ABI: readonly [{
|
|
|
271
271
|
readonly name: "tokenId";
|
|
272
272
|
}];
|
|
273
273
|
readonly outputs: readonly [];
|
|
274
|
+
}, {
|
|
275
|
+
readonly name: "createAndInitializePoolIfNecessary";
|
|
276
|
+
readonly type: "function";
|
|
277
|
+
readonly stateMutability: "payable";
|
|
278
|
+
readonly inputs: readonly [{
|
|
279
|
+
readonly type: "address";
|
|
280
|
+
readonly name: "token0";
|
|
281
|
+
}, {
|
|
282
|
+
readonly type: "address";
|
|
283
|
+
readonly name: "token1";
|
|
284
|
+
}, {
|
|
285
|
+
readonly type: "uint24";
|
|
286
|
+
readonly name: "fee";
|
|
287
|
+
}, {
|
|
288
|
+
readonly type: "uint160";
|
|
289
|
+
readonly name: "sqrtPriceX96";
|
|
290
|
+
}];
|
|
291
|
+
readonly outputs: readonly [{
|
|
292
|
+
readonly type: "address";
|
|
293
|
+
readonly name: "pool";
|
|
294
|
+
}];
|
|
274
295
|
}];
|
|
275
296
|
export declare const UNISWAP_V3_FACTORY_ABI: readonly [{
|
|
276
297
|
readonly name: "getPool";
|
|
@@ -444,7 +465,9 @@ export declare function encodeSwapRouter02ExactInputSingle(params: {
|
|
|
444
465
|
amountOutMinimum: bigint | string;
|
|
445
466
|
sqrtPriceLimitX96?: bigint | string;
|
|
446
467
|
}): Hex;
|
|
468
|
+
export declare function resolveInitialSqrtPrice(input: ToolArgs, decimals0: number, decimals1: number): bigint;
|
|
447
469
|
export declare function uniswapAddV3(context: ModuleContext, input: ToolArgs, wallet: Address): Promise<V3ActionResult>;
|
|
470
|
+
export declare function uniswapCreatePoolV3(context: ModuleContext, input: ToolArgs, wallet: Address): Promise<V3ActionResult>;
|
|
448
471
|
export declare function uniswapCollectV3(context: ModuleContext, input: ToolArgs, wallet: Address): Promise<V3ActionResult>;
|
|
449
472
|
export declare function uniswapRemoveV3(context: ModuleContext, input: ToolArgs, wallet: Address): Promise<V3ActionResult>;
|
|
450
473
|
export declare function readUniswapV3Positions(context: ModuleContext, wallet: Address, options?: {
|
|
@@ -458,7 +481,5 @@ export declare function uniswapListPositionsV3(context: ModuleContext, input: To
|
|
|
458
481
|
}>;
|
|
459
482
|
export declare function createUniswapV3Tools(context: ModuleContext): ToolDefinition[];
|
|
460
483
|
export declare const createUniswapV3Part: CreateModulePart;
|
|
461
|
-
export declare const createV3Part: CreateModulePart;
|
|
462
|
-
export declare const createPart: CreateModulePart;
|
|
463
484
|
export declare const createModulePart: CreateModulePart;
|
|
464
485
|
export default createUniswapV3Part;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../../../chunks/
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../../../chunks/JVTVOK6P.js";import"../../../chunks/FYTF2QMS.js";import"../../../chunks/E7ASOYQI.js";import"../../../chunks/D3OWLDVB.js";import"../../../chunks/CCEWSOBT.js";import"../../../chunks/RFJCG4NA.js";import"../../../chunks/HZUWK5B2.js";import"../../../chunks/WHT45EFX.js";import"../../../chunks/HACP2Q6D.js";import"../../../chunks/FLXID6I3.js";import"../../../chunks/NNZ4SZZ4.js";import"../../../chunks/EAEQOS7Y.js";import"../../../chunks/HQVC6X3T.js";import"../../../chunks/ZQI7B2Z7.js";import"../../../chunks/XCFA73P2.js";import"../../../chunks/LIUXNOLP.js";import"../../../chunks/HFQS5344.js";import"../../../chunks/G7UKNO2I.js";import"../../../chunks/BYXBS45D.js";import"../../../chunks/GZ5TW3WB.js";import"../../../chunks/5EHQM6DM.js";import"../../../chunks/AXYOJBX6.js";import"../../../chunks/Z25UKUJF.js";import"../../../chunks/6IM6A5VA.js";import"../../../chunks/P4UQGWCP.js";import"../../../chunks/MYBDO5SA.js";import"../../../chunks/HIMVOTIU.js";import"../../../chunks/OG5HRQU4.js";import"../../../chunks/UWOFA6GV.js";import"../../../chunks/73N3TOJL.js";import"../../../chunks/RETS2ZEK.js";import"../../../chunks/5HCXZWUH.js";import"../../../chunks/IWALIX7Q.js";import"../../../chunks/XPFVT2EA.js";import"../../../chunks/EG6M6SSO.js";import"../../../chunks/5YS5V2LK.js";import"../../../chunks/JXOEJPJ4.js";export{b as MAX_TICK,c as MAX_UINT128,a as MIN_TICK,j as UNISWAP_SWAP_ROUTER02_ABI,d as UNISWAP_V3_ADDRESSES,h as UNISWAP_V3_FACTORY_ABI,e as UNISWAP_V3_FEE_TICK_SPACING,f as UNISWAP_V3_MEASURED_POOLS,i as UNISWAP_V3_POOL_ABI,g as UNISWAP_V3_POSITION_MANAGER_ABI,y as createModulePart,x as createUniswapV3Part,w as createUniswapV3Tools,m as decodeV3PositionTuple,z as default,o as encodeSwapRouter02ExactInputSingle,n as extractV3TokenIdsFromReceipt,l as formatPreviewDelta,u as readUniswapV3Positions,p as resolveInitialSqrtPrice,q as uniswapAddV3,s as uniswapCollectV3,r as uniswapCreatePoolV3,v as uniswapListPositionsV3,t as uniswapRemoveV3,k as validateV3TickRange};
|