@dhedge/trading-widget 3.5.8-canary.2 → 3.6.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/core-kit/abi/aave/aave-asset-guard.d.ts +50 -0
- package/core-kit/abi/aave/aave-lending-pool.d.ts +846 -0
- package/core-kit/abi/dhedge-staking-v2.d.ts +127 -0
- package/core-kit/abi/easy-swapper-v2.d.ts +1042 -0
- package/core-kit/abi/erc20.d.ts +1 -0
- package/core-kit/abi/flatcoin-points-module.d.ts +57 -0
- package/core-kit/abi/index.d.ts +12 -0
- package/core-kit/abi/limit-order.d.ts +736 -0
- package/core-kit/abi/pool-factory.d.ts +57 -0
- package/core-kit/abi/pool-logic.d.ts +307 -0
- package/core-kit/abi/pool-manager-logic.d.ts +107 -0
- package/core-kit/abi/reward-distribution.d.ts +121 -0
- package/core-kit/abi/synthetix-v3/i-trusted-multicall-forwarder.d.ts +41 -0
- package/core-kit/abi/synthetix-v3/ierc-7412.d.ts +53 -0
- package/core-kit/abi/synthetix-v3/index.d.ts +5 -0
- package/core-kit/abi/synthetix-v3/synthetix-v3-asset-guard.d.ts +37 -0
- package/core-kit/abi/synthetix-v3/synthetix-v3-contract-guard.d.ts +45 -0
- package/core-kit/abi/synthetix-v3/synthetix-v3-core.d.ts +41 -0
- package/core-kit/const/config.d.ts +13 -0
- package/core-kit/const/contracts/arbitrum.d.ts +4 -0
- package/core-kit/const/contracts/base.d.ts +8 -0
- package/core-kit/const/contracts/index.d.ts +5 -0
- package/core-kit/const/contracts/optimism.d.ts +5 -0
- package/core-kit/const/contracts/polygon.d.ts +4 -0
- package/core-kit/const/currency.d.ts +2 -0
- package/core-kit/const/default-data.d.ts +28 -0
- package/core-kit/const/error.d.ts +14 -0
- package/core-kit/const/flat-money.d.ts +10 -0
- package/core-kit/const/index.d.ts +13 -0
- package/core-kit/const/links.d.ts +3 -0
- package/core-kit/const/logger.d.ts +40 -0
- package/core-kit/const/network.d.ts +682 -0
- package/core-kit/const/synthetix.d.ts +6 -0
- package/core-kit/const/tokens/arbitrum.d.ts +8 -0
- package/core-kit/const/tokens/base.d.ts +9 -0
- package/core-kit/const/tokens/index.d.ts +9 -0
- package/core-kit/const/tokens/optimism.d.ts +12 -0
- package/core-kit/const/tokens/polygon.d.ts +10 -0
- package/core-kit/const/trading.d.ts +10 -0
- package/core-kit/const/web3.d.ts +4 -0
- package/core-kit/hooks/component/index.d.ts +2 -0
- package/core-kit/hooks/component/panel.d.ts +1 -0
- package/core-kit/hooks/component/tab.d.ts +2 -0
- package/core-kit/hooks/pool/index.d.ts +16 -0
- package/core-kit/hooks/pool/multicall/index.d.ts +4 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +230 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +340 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +2434 -0
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +1096 -0
- package/core-kit/hooks/pool/synthetixV3/use-pool-token-price-mutable.d.ts +8 -0
- package/core-kit/hooks/pool/synthetixV3/use-synthetix-v3-asset-balance.d.ts +8 -0
- package/core-kit/hooks/pool/synthetixV3/use-total-funds-value-mutable.d.ts +8 -0
- package/core-kit/hooks/pool/use-check-whitelist.d.ts +2 -0
- package/core-kit/hooks/pool/use-contract-pool-composition.d.ts +3 -0
- package/core-kit/hooks/pool/use-has-nested-vault-in-composition.d.ts +64 -0
- package/core-kit/hooks/pool/use-invalidate-pool-contract-data.d.ts +1 -0
- package/core-kit/hooks/pool/use-manager-logic-address.d.ts +2 -0
- package/core-kit/hooks/pool/use-pool-composition-with-fraction.d.ts +14 -0
- package/core-kit/hooks/pool/use-pool-composition.d.ts +3 -0
- package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +20 -0
- package/core-kit/hooks/pool/use-pool-dynamic-exit-remaining-cooldown.d.ts +276 -0
- package/core-kit/hooks/pool/use-pool-fees.d.ts +14 -0
- package/core-kit/hooks/pool/use-pool-manager-logic-data.d.ts +16 -0
- package/core-kit/hooks/pool/use-pool-token-price.d.ts +9 -0
- package/core-kit/hooks/pool/use-vault-vested-points.d.ts +73 -0
- package/core-kit/hooks/referral/index.d.ts +1 -0
- package/core-kit/hooks/referral/use-referral-program.d.ts +2 -0
- package/core-kit/hooks/state/action.d.ts +25 -0
- package/core-kit/hooks/state/context.d.ts +2 -0
- package/core-kit/hooks/state/default-data.d.ts +1 -0
- package/core-kit/hooks/state/index.d.ts +9 -0
- package/core-kit/hooks/state/input.d.ts +13 -0
- package/core-kit/hooks/state/modal.d.ts +5 -0
- package/core-kit/hooks/state/pool.d.ts +14 -0
- package/core-kit/hooks/state/settings.d.ts +5 -0
- package/core-kit/hooks/state/transaction.d.ts +5 -0
- package/core-kit/hooks/state/type.d.ts +6 -0
- package/core-kit/hooks/trading/allowance/index.d.ts +3 -0
- package/core-kit/hooks/trading/allowance/use-approve.d.ts +9 -0
- package/core-kit/hooks/trading/allowance/use-can-spend.d.ts +11 -0
- package/core-kit/hooks/trading/allowance/use-token-allowance-handler.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/index.d.ts +16 -0
- package/core-kit/hooks/trading/deposit-v2/use-applied-deposit-slippage.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-allowance.d.ts +4 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-lock-time.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-price-diff.d.ts +5 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +1043 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-slippage.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit.d.ts +2 -0
- package/core-kit/hooks/trading/deposit-v2/use-handle-pool-deposit-data.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-is-custom-cooldown-deposit.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-is-deposit-with-swap-transaction.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-is-vault-deposit-locked.d.ts +4 -0
- package/core-kit/hooks/trading/deposit-v2/use-min-vault-tokens-received-amount.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-swap-data-based-on-send-token.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-vault-deposit-params.d.ts +2 -0
- package/core-kit/hooks/trading/deposit-v2/use-vault-deposit-token-amount.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-vault-deposit-tokens.d.ts +2 -0
- package/core-kit/hooks/trading/deposit-v2/use-vault-deposit-transaction-arguments.d.ts +2 -0
- package/core-kit/hooks/trading/index.d.ts +14 -0
- package/core-kit/hooks/trading/projected-earnings/use-deposit-projected-earnings.d.ts +2 -0
- package/core-kit/hooks/trading/projected-earnings/use-projected-earnings-core.d.ts +10 -0
- package/core-kit/hooks/trading/synthetix-v3/use-available-withdraw-liquidity.d.ts +47 -0
- package/core-kit/hooks/trading/synthetix-v3/use-oracles-update-transaction-data.d.ts +23 -0
- package/core-kit/hooks/trading/synthetix-v3/use-send-oracles-update-transaction.d.ts +4 -0
- package/core-kit/hooks/trading/synthetix-v3/use-synthetix-v3-oracles-update.d.ts +7 -0
- package/core-kit/hooks/trading/synthetix-v3/use-withdraw-liquidity.d.ts +5 -0
- package/core-kit/hooks/trading/use-asset-price.d.ts +8 -0
- package/core-kit/hooks/trading/use-easy-swapper-tracked-assets.d.ts +1046 -0
- package/core-kit/hooks/trading/use-exchange-rate.d.ts +5 -0
- package/core-kit/hooks/trading/use-handle-trade.d.ts +6 -0
- package/core-kit/hooks/trading/use-is-trading-enabled.d.ts +1 -0
- package/core-kit/hooks/trading/use-is-transaction-loading.d.ts +2 -0
- package/core-kit/hooks/trading/use-raw-asset-price.d.ts +8 -0
- package/core-kit/hooks/trading/use-send-token-debounced-value.d.ts +8 -0
- package/core-kit/hooks/trading/use-swap-data-query.d.ts +6 -0
- package/core-kit/hooks/trading/use-swaps-data-query.d.ts +13 -0
- package/core-kit/hooks/trading/use-trading-result-handling.d.ts +1 -0
- package/core-kit/hooks/trading/use-trading-settle-handler.d.ts +3 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/index.d.ts +10 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-expected-amount.d.ts +4 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-quote.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-receive-diff.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-swap-data.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-total-usd-value.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-tracked-assets.d.ts +210 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-transaction.d.ts +6 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-handle-complete-withdraw.d.ts +11 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-has-swappable-assets.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-is-complete-withdraw-step.d.ts +4 -0
- package/core-kit/hooks/trading/withdraw-v2/index.d.ts +4 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/index.d.ts +6 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-aave-swap-params.d.ts +6 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-aave-swap-data.d.ts +5 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-complex-asset-data.d.ts +6 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-get-init-withdraw-transaction-arguments.d.ts +10 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-allowance.d.ts +4 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-estimated-receive-assets.d.ts +210 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-quote.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction.d.ts +6 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-is-multi-asset-withdraw.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-is-offchain-aave-withdraw-supported.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-is-unroll-and-claim-transaction.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/use-applied-withdraw-slippage.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/use-min-withdraw-slippage.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/use-withdraw-assets-info.d.ts +219 -0
- package/core-kit/hooks/trading/withdraw-v2/use-withdraw-type-handler.d.ts +1 -0
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +1042 -0
- package/core-kit/hooks/user/index.d.ts +4 -0
- package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +1113 -0
- package/core-kit/hooks/user/use-flatmoney-points-user-balances.d.ts +10 -0
- package/core-kit/hooks/user/use-is-dhedge-vault-connected.d.ts +1 -0
- package/core-kit/hooks/user/use-is-insufficient-balance.d.ts +1 -0
- package/core-kit/hooks/user/use-user-token-balance.d.ts +8 -0
- package/core-kit/hooks/utils/index.d.ts +2 -0
- package/core-kit/hooks/utils/use-browser-storage.d.ts +1 -0
- package/core-kit/hooks/utils/use-debounce.d.ts +1 -0
- package/core-kit/hooks/web3/index.d.ts +13 -0
- package/core-kit/hooks/web3/use-account.d.ts +7 -0
- package/core-kit/hooks/web3/use-balance.d.ts +2 -0
- package/core-kit/hooks/web3/use-contract-function.d.ts +17 -0
- package/core-kit/hooks/web3/use-contract-read-error-logging.d.ts +6 -0
- package/core-kit/hooks/web3/use-contract-reads-error-logging.d.ts +5 -0
- package/core-kit/hooks/web3/use-gas-price.d.ts +2 -0
- package/core-kit/hooks/web3/use-invalidate-on-block.d.ts +6 -0
- package/core-kit/hooks/web3/use-invalidate-trading-queries.d.ts +4 -0
- package/core-kit/hooks/web3/use-is-wallet-connected.d.ts +1 -0
- package/core-kit/hooks/web3/use-network.d.ts +13 -0
- package/core-kit/hooks/web3/use-static-call-query.d.ts +13 -0
- package/core-kit/hooks/web3/use-token-allowance.d.ts +9 -0
- package/core-kit/index.d.ts +1 -0
- package/core-kit/models/estimation-error.d.ts +20 -0
- package/core-kit/models/index.d.ts +1 -0
- package/core-kit/providers/index.d.ts +6 -0
- package/core-kit/types/config.types.d.ts +33 -0
- package/core-kit/types/contract.types.d.ts +28 -0
- package/core-kit/types/index.d.ts +10 -0
- package/core-kit/types/pool.types.d.ts +17 -0
- package/core-kit/types/react-query.types.d.ts +11 -0
- package/core-kit/types/referral.types.d.ts +12 -0
- package/core-kit/types/state.types.d.ts +109 -0
- package/core-kit/types/synthetix-v3.types.d.ts +15 -0
- package/core-kit/types/trading-panel.types.d.ts +43 -0
- package/core-kit/types/trading.types.d.ts +32 -0
- package/core-kit/types/web3.types.d.ts +34 -0
- package/core-kit/utils/common.d.ts +4 -0
- package/core-kit/utils/error.d.ts +17 -0
- package/core-kit/utils/flat-money.d.ts +9 -0
- package/core-kit/utils/formatter.d.ts +17 -0
- package/core-kit/utils/index.d.ts +12 -0
- package/core-kit/utils/logger.d.ts +17 -0
- package/core-kit/utils/number.d.ts +8 -0
- package/core-kit/utils/synthetix-v3/eip-7412.d.ts +21 -0
- package/core-kit/utils/synthetix-v3/parse-error.d.ts +3 -0
- package/core-kit/utils/synthetix-v3/pyth-adapter.d.ts +13 -0
- package/core-kit/utils/synthetix.d.ts +2 -0
- package/core-kit/utils/token.d.ts +8 -0
- package/core-kit/utils/transaction.d.ts +39 -0
- package/core-kit/utils/ua.d.ts +1 -0
- package/core-kit/utils/url.d.ts +3 -0
- package/core-kit/utils/web3.d.ts +9 -0
- package/index-22789f33.cjs +217 -0
- package/index-5567d59f.js +42941 -0
- package/index.cjs +1 -0
- package/index.d.ts +18 -0
- package/index.js +242 -0
- package/limit-orders/component/common/action-button.d.ts +10 -0
- package/limit-orders/component/common/modal-content.d.ts +8 -0
- package/limit-orders/component/common/modal-dialog.d.ts +9 -0
- package/limit-orders/component/common/price-input.d.ts +20 -0
- package/limit-orders/component/input-group/input-group.d.ts +2 -0
- package/limit-orders/component/input-group/input-group.hooks.d.ts +15 -0
- package/limit-orders/component/limit-order-button/limit-order-approve-button.d.ts +2 -0
- package/limit-orders/component/limit-order-button/limit-order-approve-button.hooks.d.ts +5 -0
- package/limit-orders/component/limit-order-button/limit-order-button.d.ts +2 -0
- package/limit-orders/component/limit-order-button/limit-order-button.hooks.d.ts +9 -0
- package/limit-orders/component/limit-order-button/network-check-button.d.ts +2 -0
- package/limit-orders/component/limit-order-button/network-check-button.hooks.d.ts +4 -0
- package/limit-orders/component/limit-order-modal.d.ts +13 -0
- package/limit-orders/component/limit-order-modal.hooks.d.ts +6 -0
- package/limit-orders/constants.d.ts +1 -0
- package/limit-orders/hooks/state.d.ts +2 -0
- package/limit-orders/hooks/use-invalidate-limit-order-query.d.ts +1 -0
- package/limit-orders/hooks/use-is-limit-order-approved.d.ts +1 -0
- package/limit-orders/hooks/use-limit-order-approve-transaction.d.ts +4 -0
- package/limit-orders/hooks/use-listen-limit-order-execution.d.ts +1 -0
- package/limit-orders/hooks/use-on-limit-order-settled.d.ts +2 -0
- package/limit-orders/hooks/use-user-limit-order.d.ts +753 -0
- package/limit-orders/index.d.ts +2 -0
- package/limit-orders/providers/state-provider/reducer.d.ts +7 -0
- package/limit-orders/providers/state-provider/state-provider.d.ts +6 -0
- package/limit-orders/providers/state-provider/state-provider.types.d.ts +51 -0
- package/limit-orders/providers/theme-provider/index.d.ts +2 -0
- package/limit-orders/providers/theme-provider/theme-provider.d.ts +3 -0
- package/limit-orders/providers/theme-provider/theme-provider.types.d.ts +132 -0
- package/limit-orders/providers/translation-provider/index.d.ts +3 -0
- package/limit-orders/providers/translation-provider/translation-provider.d.ts +4 -0
- package/limit-orders/providers/translation-provider/translation-provider.defaults.d.ts +2 -0
- package/limit-orders/providers/translation-provider/translation-provider.hooks.d.ts +1 -0
- package/limit-orders/providers/translation-provider/translation-provider.types.d.ts +15 -0
- package/limit-orders/utils.d.ts +25 -0
- package/package.json +4 -20
- package/pyth-adapter-7336cdaa.js +5705 -0
- package/pyth-adapter-cc16310a.cjs +11 -0
- package/style.css +1 -0
- package/theme/colors.d.ts +49 -0
- package/trading-widget/components/common/alert/alert.d.ts +6 -0
- package/trading-widget/components/common/badge/token-badge/token-badge.d.ts +13 -0
- package/trading-widget/components/common/balance/balance.d.ts +7 -0
- package/trading-widget/components/common/balance/withdraw-assets-composition-table.d.ts +7 -0
- package/trading-widget/components/common/button/action-button/action-button.d.ts +10 -0
- package/trading-widget/components/common/button/disabled-button-with-prompt/disabled-button-with-prompt.d.ts +6 -0
- package/trading-widget/components/common/button/external-link-button/external-link-button.d.ts +9 -0
- package/trading-widget/components/common/button/icon-button/icon-button.d.ts +10 -0
- package/trading-widget/components/common/button/max-balance-button/max-balance-button.d.ts +6 -0
- package/trading-widget/components/common/button/reload-button/reload-button.d.ts +3 -0
- package/trading-widget/components/common/button/reload-button/reload-button.hooks.d.ts +10 -0
- package/trading-widget/components/common/icon/token-icon/token-icon.d.ts +14 -0
- package/trading-widget/components/common/index.d.ts +21 -0
- package/trading-widget/components/common/layout/balance/balance.d.ts +2 -0
- package/trading-widget/components/common/layout/index.d.ts +18 -0
- package/trading-widget/components/common/layout/input-group/input-group.d.ts +2 -0
- package/trading-widget/components/common/layout/meta/meta.d.ts +2 -0
- package/trading-widget/components/common/layout/notification/notification.d.ts +6 -0
- package/trading-widget/components/common/layout/overlay/overlay.d.ts +9 -0
- package/trading-widget/components/common/layout/panel/panel.d.ts +2 -0
- package/trading-widget/components/common/layout/settings/settings-popover/settings-popover.d.ts +8 -0
- package/trading-widget/components/common/layout/settings/settings.d.ts +2 -0
- package/trading-widget/components/common/meta/assets-composition-disclosure/assets-composition-disclosure.d.ts +3 -0
- package/trading-widget/components/common/meta/transaction-disclosure/transaction-disclosure-item/transaction-disclosure-item.d.ts +12 -0
- package/trading-widget/components/common/meta/transaction-disclosure/transaction-disclosure.d.ts +11 -0
- package/trading-widget/components/common/overlay/pending-overlay/pending-overlay.d.ts +7 -0
- package/trading-widget/components/common/settings/settings-option/settings-option.d.ts +7 -0
- package/trading-widget/components/common/skeleton/skeleton.d.ts +8 -0
- package/trading-widget/components/common/spinner/spinner.d.ts +6 -0
- package/trading-widget/components/common/switch/switch.d.ts +10 -0
- package/trading-widget/components/common/tab/tab-button/tab-button.d.ts +7 -0
- package/trading-widget/components/common/tooltip/info-tooltip/info-tooltip.d.ts +6 -0
- package/trading-widget/components/common/tooltip/tooltip-icon/tooltip-icon.d.ts +7 -0
- package/trading-widget/components/common/tooltip/tooltip-wrapper/tooltip-wrapper.d.ts +7 -0
- package/trading-widget/components/default-examples/image/image.d.ts +3 -0
- package/trading-widget/components/deposit/balance/balance.d.ts +2 -0
- package/trading-widget/components/deposit/balance/balance.hooks.d.ts +4 -0
- package/trading-widget/components/deposit/button/trade-button/trade-button.d.ts +2 -0
- package/trading-widget/components/deposit/button/trade-button/trade-button.hooks.d.ts +6 -0
- package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.d.ts +2 -0
- package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +18 -0
- package/trading-widget/components/deposit/index.d.ts +2 -0
- package/trading-widget/components/deposit/input-group/input-group.d.ts +1 -0
- package/trading-widget/components/deposit/input-group/input-group.hooks.d.ts +25 -0
- package/trading-widget/components/deposit/meta/meta.d.ts +2 -0
- package/trading-widget/components/deposit/meta/transaction-disclosure/transaction-disclosure.d.ts +1 -0
- package/trading-widget/components/deposit/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +13 -0
- package/trading-widget/components/deposit/settings/deposit-settings/deposit-settings.d.ts +2 -0
- package/trading-widget/components/deposit/tab-panel/tab-panel.d.ts +3 -0
- package/trading-widget/components/deposit/tab-panel/tab-panel.hooks.d.ts +1 -0
- package/trading-widget/components/index.d.ts +3 -0
- package/trading-widget/components/widget/widget-buttons/approve-button/approve-button.d.ts +3 -0
- package/trading-widget/components/widget/widget-buttons/approve-button/approve-button.hooks.d.ts +8 -0
- package/trading-widget/components/widget/widget-buttons/connect-wallet-button/connect-wallet-button.d.ts +2 -0
- package/trading-widget/components/widget/widget-buttons/index.d.ts +4 -0
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-deposit-swap-quote-button/reload-deposit-swap-quote-button.d.ts +2 -0
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-deposit-swap-quote-button/reload-deposit-swap-quote-button.hooks.d.ts +6 -0
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-swap-quote-button.d.ts +2 -0
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-withdraw-swap-quote-button/reload-withdraw-swap-quote-button.d.ts +2 -0
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-withdraw-swap-quote-button/reload-withdraw-swap-quote-button.hooks.d.ts +6 -0
- package/trading-widget/components/widget/widget-buttons/switch-network-button/switch-network-button.d.ts +1 -0
- package/trading-widget/components/widget/widget-buttons/valid-network-button/valid-network-button.d.ts +2 -0
- package/trading-widget/components/widget/widget-buttons/valid-network-button/valid-network-button.hooks.d.ts +4 -0
- package/trading-widget/components/widget/widget-input/all-assets-composition-table/all-assets-composition-table.d.ts +2 -0
- package/trading-widget/components/widget/widget-input/all-assets-composition-table/all-assets-composition-table.hooks.d.ts +15 -0
- package/trading-widget/components/widget/widget-input/all-assets-composition-table/withdraw-explanation-tip.d.ts +4 -0
- package/trading-widget/components/widget/widget-input/index.d.ts +1 -0
- package/trading-widget/components/widget/widget-input/token-selector/token-selector.d.ts +3 -0
- package/trading-widget/components/widget/widget-input/token-selector/token-selector.hooks.d.ts +9 -0
- package/trading-widget/components/widget/widget-input/widget-input.d.ts +3 -0
- package/trading-widget/components/widget/widget-input/widget-input.hooks.d.ts +27 -0
- package/trading-widget/components/widget/widget-input/widget-input.utils.d.ts +3 -0
- package/trading-widget/components/widget/widget-meta/exchange-rate/exchange-rate.d.ts +6 -0
- package/trading-widget/components/widget/widget-meta/index.d.ts +1 -0
- package/trading-widget/components/widget/widget-overlay/fmp-withdrawal-overlay/fmp-withdrawal-overlay.d.ts +3 -0
- package/trading-widget/components/widget/widget-overlay/fmp-withdrawal-overlay/fmp-withdrawal-overlay.hooks.d.ts +10 -0
- package/trading-widget/components/widget/widget-overlay/high-slippage-overlay/high-slippage-overlay.d.ts +3 -0
- package/trading-widget/components/widget/widget-overlay/index.d.ts +8 -0
- package/trading-widget/components/widget/widget-overlay/notification-overlay/notification-overlay.d.ts +3 -0
- package/trading-widget/components/widget/widget-overlay/notification-overlay/notification-overlay.hooks.d.ts +8 -0
- package/trading-widget/components/widget/widget-overlay/overlay-switch/overlay-switch.d.ts +2 -0
- package/trading-widget/components/widget/widget-overlay/pool-select-overlay/network-header/network-header.d.ts +7 -0
- package/trading-widget/components/widget/widget-overlay/pool-select-overlay/pool-select-overlay.d.ts +3 -0
- package/trading-widget/components/widget/widget-overlay/pool-select-overlay/pool-select-overlay.hooks.d.ts +31 -0
- package/trading-widget/components/widget/widget-overlay/terms-of-use-overlay/terms-of-use-overlay.d.ts +3 -0
- package/trading-widget/components/widget/widget-overlay/token-select-overlay/multi-token-select-item/multi-token-select-item.d.ts +2 -0
- package/trading-widget/components/widget/widget-overlay/token-select-overlay/multi-token-select-item/multi-token-select-item.hooks.d.ts +8 -0
- package/trading-widget/components/widget/widget-overlay/token-select-overlay/token-select-item/token-select-item.d.ts +2 -0
- package/trading-widget/components/widget/widget-overlay/token-select-overlay/token-select-item/token-select-item.hooks.d.ts +11 -0
- package/trading-widget/components/widget/widget-overlay/token-select-overlay/token-select-overlay.d.ts +3 -0
- package/trading-widget/components/widget/widget-overlay/token-select-overlay/token-select-overlay.hooks.d.ts +12 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-overlay.d.ts +3 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-overlay.hooks.d.ts +10 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/approve-summary.d.ts +7 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/oracles-update-summary.d.ts +2 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/swap-summary.d.ts +7 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/trading-summary.d.ts +2 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/vault-transaction-summary.d.ts +3 -0
- package/trading-widget/components/widget/widget-settings/index.d.ts +2 -0
- package/trading-widget/components/widget/widget-settings/slippage-selector/slippage-selector.d.ts +2 -0
- package/trading-widget/components/widget/widget-settings/slippage-selector/slippage-selector.hooks.d.ts +15 -0
- package/trading-widget/components/widget/widget-settings/token-allowance-switch/token-allowance-switch.d.ts +1 -0
- package/trading-widget/components/widget/widget-settings/widget-settings.d.ts +7 -0
- package/trading-widget/components/widget/widget-tabs/widget-tabs.d.ts +2 -0
- package/trading-widget/components/widget/widget.d.ts +2 -0
- package/trading-widget/components/widget/widget.hooks.d.ts +5 -0
- package/trading-widget/components/withdraw/complete-step/balance/complete-withdraw-balance.d.ts +2 -0
- package/trading-widget/components/withdraw/complete-step/balance/complete-withdraw-balance.hooks.d.ts +12 -0
- package/trading-widget/components/withdraw/complete-step/button/claim-button/claim-button.d.ts +3 -0
- package/trading-widget/components/withdraw/complete-step/button/claim-button/claim-button.hooks.d.ts +7 -0
- package/trading-widget/components/withdraw/complete-step/button/swap-button/swap-button.d.ts +2 -0
- package/trading-widget/components/withdraw/complete-step/button/swap-button/swap-button.hooks.d.ts +6 -0
- package/trading-widget/components/withdraw/complete-step/button/valid-swap-button/valid-swap-button.d.ts +2 -0
- package/trading-widget/components/withdraw/complete-step/button/valid-swap-button/valid-swap-button.hooks.d.ts +5 -0
- package/trading-widget/components/withdraw/complete-step/complete-step.d.ts +2 -0
- package/trading-widget/components/withdraw/complete-step/complete-step.hooks.d.ts +3 -0
- package/trading-widget/components/withdraw/complete-step/input-group/complete-withdraw-input-group.d.ts +2 -0
- package/trading-widget/components/withdraw/complete-step/input-group/complete-withdraw-input-group.hooks.d.ts +12 -0
- package/trading-widget/components/withdraw/complete-step/meta/meta.d.ts +2 -0
- package/trading-widget/components/withdraw/complete-step/meta/transaction-disclosure/transaction-disclosure.d.ts +1 -0
- package/trading-widget/components/withdraw/complete-step/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +6 -0
- package/trading-widget/components/withdraw/index.d.ts +2 -0
- package/trading-widget/components/withdraw/init-step/balance/init-withdraw-balance.d.ts +2 -0
- package/trading-widget/components/withdraw/init-step/balance/init-withdraw-balance.hooks.d.ts +4 -0
- package/trading-widget/components/withdraw/init-step/button/init-withdraw-button/init-withdraw-button.d.ts +2 -0
- package/trading-widget/components/withdraw/init-step/button/init-withdraw-button/init-withdraw-button.hooks.d.ts +6 -0
- package/trading-widget/components/withdraw/init-step/button/valid-init-withdraw-button/valid-init-withdraw-button.d.ts +2 -0
- package/trading-widget/components/withdraw/init-step/button/valid-init-withdraw-button/valid-init-withdraw-button.hooks.d.ts +21 -0
- package/trading-widget/components/withdraw/init-step/init-step.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/input-group/init-withdraw-input-group.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/input-group/init-withdraw-input-group.hooks.d.ts +22 -0
- package/trading-widget/components/withdraw/init-step/meta/meta.d.ts +2 -0
- package/trading-widget/components/withdraw/init-step/meta/transaction-disclosure/transaction-disclosure.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +9 -0
- package/trading-widget/components/withdraw/settings/withdraw-settings/withdraw-settings.d.ts +2 -0
- package/trading-widget/components/withdraw/stepper/withdraw-stepper.d.ts +2 -0
- package/trading-widget/components/withdraw/stepper/withdraw-stepper.hooks.d.ts +8 -0
- package/trading-widget/components/withdraw/tab-panel/tab-panel.d.ts +2 -0
- package/trading-widget/components/withdraw/tab-panel/tab-panel.hooks.d.ts +3 -0
- package/trading-widget/constants/synthetix-v3.d.ts +2 -0
- package/trading-widget/constants/tab.d.ts +1 -0
- package/trading-widget/hooks/index.d.ts +7 -0
- package/trading-widget/hooks/use-crypto-icon.d.ts +3 -0
- package/trading-widget/hooks/use-get-slippage-placeholder.d.ts +6 -0
- package/trading-widget/hooks/use-get-theme-type-by-slippage.d.ts +2 -0
- package/trading-widget/hooks/use-high-slippage-check.d.ts +5 -0
- package/trading-widget/hooks/use-leveraged-flat-money-withdrawal-checks.d.ts +4 -0
- package/trading-widget/hooks/use-synthetix-withdrawal-window.d.ts +4 -0
- package/trading-widget/hooks/use-trading-type-name.d.ts +2 -0
- package/trading-widget/hooks/use-user-staked-pools.d.ts +5 -0
- package/trading-widget/hooks/use-user-vault-balance.d.ts +3 -0
- package/trading-widget/hooks/use-user-vaults-balances.d.ts +2 -0
- package/trading-widget/providers/component-provider/component-provider.d.ts +14 -0
- package/trading-widget/providers/component-provider/component-provider.defaults.d.ts +2 -0
- package/trading-widget/providers/component-provider/component-provider.hooks.d.ts +11 -0
- package/trading-widget/providers/component-provider/component-provider.types.d.ts +31 -0
- package/trading-widget/providers/component-provider/index.d.ts +3 -0
- package/trading-widget/providers/config-provider/config-provider.d.ts +4 -0
- package/trading-widget/providers/config-provider/config-provider.defaults.d.ts +3 -0
- package/trading-widget/providers/config-provider/config-provider.hooks.d.ts +3 -0
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +39 -0
- package/trading-widget/providers/config-provider/index.d.ts +4 -0
- package/trading-widget/providers/index.d.ts +12 -0
- package/trading-widget/providers/overlay-provider/index.d.ts +2 -0
- package/trading-widget/providers/overlay-provider/overlay-provider.d.ts +2 -0
- package/trading-widget/providers/overlay-provider/overlay-provider.hooks.d.ts +16 -0
- package/trading-widget/providers/overlay-provider/overlay-provider.types.d.ts +16 -0
- package/trading-widget/providers/theme-provider/index.d.ts +2 -0
- package/trading-widget/providers/theme-provider/theme-provider.d.ts +3 -0
- package/trading-widget/providers/theme-provider/theme-provider.types.d.ts +225 -0
- package/trading-widget/providers/translation-provider/index.d.ts +3 -0
- package/trading-widget/providers/translation-provider/translation-provider.d.ts +4 -0
- package/trading-widget/providers/translation-provider/translation-provider.defaults.d.ts +2 -0
- package/trading-widget/providers/translation-provider/translation-provider.hooks.d.ts +1 -0
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +104 -0
- package/trading-widget/types/balance.types.d.ts +9 -0
- package/trading-widget/types/index.d.ts +5 -0
- package/trading-widget/types/overlay.types.d.ts +13 -0
- package/trading-widget/types/staking.types.d.ts +6 -0
- package/trading-widget/types/synthetix-v3.types.d.ts +24 -0
- package/trading-widget/types/theme.types.d.ts +9 -0
- package/trading-widget/utils/format.d.ts +6 -0
- package/trading-widget/utils/icon.d.ts +2 -0
- package/trading-widget/utils/synthetix-v3.d.ts +39 -0
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
import { arbitrum, base, optimism, polygon } from 'wagmi/chains';
|
|
2
|
+
import type { ChainId, ChainNativeTokenMap } from 'core-kit/types';
|
|
3
|
+
export declare const CHAIN_MAP: {
|
|
4
|
+
readonly 137: {
|
|
5
|
+
blockExplorers: {
|
|
6
|
+
readonly default: {
|
|
7
|
+
readonly name: "PolygonScan";
|
|
8
|
+
readonly url: "https://polygonscan.com";
|
|
9
|
+
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
contracts: {
|
|
13
|
+
readonly multicall3: {
|
|
14
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
15
|
+
readonly blockCreated: 25770160;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
id: 137;
|
|
19
|
+
name: "Polygon";
|
|
20
|
+
nativeCurrency: {
|
|
21
|
+
readonly name: "POL";
|
|
22
|
+
readonly symbol: "POL";
|
|
23
|
+
readonly decimals: 18;
|
|
24
|
+
};
|
|
25
|
+
rpcUrls: {
|
|
26
|
+
readonly default: {
|
|
27
|
+
readonly http: readonly ["https://polygon-rpc.com"];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
sourceId?: number | undefined;
|
|
31
|
+
testnet?: boolean | undefined;
|
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
|
33
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
34
|
+
formatters?: undefined;
|
|
35
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
36
|
+
};
|
|
37
|
+
readonly 10: {
|
|
38
|
+
blockExplorers: {
|
|
39
|
+
readonly default: {
|
|
40
|
+
readonly name: "Optimism Explorer";
|
|
41
|
+
readonly url: "https://optimistic.etherscan.io";
|
|
42
|
+
readonly apiUrl: "https://api-optimistic.etherscan.io/api";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
contracts: {
|
|
46
|
+
readonly disputeGameFactory: {
|
|
47
|
+
readonly 1: {
|
|
48
|
+
readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly l2OutputOracle: {
|
|
52
|
+
readonly 1: {
|
|
53
|
+
readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
readonly multicall3: {
|
|
57
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
58
|
+
readonly blockCreated: 4286263;
|
|
59
|
+
};
|
|
60
|
+
readonly portal: {
|
|
61
|
+
readonly 1: {
|
|
62
|
+
readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
readonly l1StandardBridge: {
|
|
66
|
+
readonly 1: {
|
|
67
|
+
readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
readonly gasPriceOracle: {
|
|
71
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
72
|
+
};
|
|
73
|
+
readonly l1Block: {
|
|
74
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
75
|
+
};
|
|
76
|
+
readonly l2CrossDomainMessenger: {
|
|
77
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
78
|
+
};
|
|
79
|
+
readonly l2Erc721Bridge: {
|
|
80
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
81
|
+
};
|
|
82
|
+
readonly l2StandardBridge: {
|
|
83
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
84
|
+
};
|
|
85
|
+
readonly l2ToL1MessagePasser: {
|
|
86
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
id: 10;
|
|
90
|
+
name: "OP Mainnet";
|
|
91
|
+
nativeCurrency: {
|
|
92
|
+
readonly name: "Ether";
|
|
93
|
+
readonly symbol: "ETH";
|
|
94
|
+
readonly decimals: 18;
|
|
95
|
+
};
|
|
96
|
+
rpcUrls: {
|
|
97
|
+
readonly default: {
|
|
98
|
+
readonly http: readonly ["https://mainnet.optimism.io"];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
sourceId: 1;
|
|
102
|
+
testnet?: boolean | undefined;
|
|
103
|
+
custom?: Record<string, unknown> | undefined;
|
|
104
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
105
|
+
formatters: {
|
|
106
|
+
readonly block: {
|
|
107
|
+
exclude: [] | undefined;
|
|
108
|
+
format: (args: import("wagmi/chains").OpStackRpcBlock<import("viem").BlockTag, boolean>) => {
|
|
109
|
+
baseFeePerGas: bigint | null;
|
|
110
|
+
blobGasUsed: bigint;
|
|
111
|
+
difficulty: bigint;
|
|
112
|
+
excessBlobGas: bigint;
|
|
113
|
+
extraData: `0x${string}`;
|
|
114
|
+
gasLimit: bigint;
|
|
115
|
+
gasUsed: bigint;
|
|
116
|
+
hash: `0x${string}` | null;
|
|
117
|
+
logsBloom: `0x${string}` | null;
|
|
118
|
+
miner: `0x${string}`;
|
|
119
|
+
mixHash: `0x${string}`;
|
|
120
|
+
nonce: `0x${string}` | null;
|
|
121
|
+
number: bigint | null;
|
|
122
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
123
|
+
parentHash: `0x${string}`;
|
|
124
|
+
receiptsRoot: `0x${string}`;
|
|
125
|
+
sealFields: `0x${string}`[];
|
|
126
|
+
sha3Uncles: `0x${string}`;
|
|
127
|
+
size: bigint;
|
|
128
|
+
stateRoot: `0x${string}`;
|
|
129
|
+
timestamp: bigint;
|
|
130
|
+
totalDifficulty: bigint | null;
|
|
131
|
+
transactions: `0x${string}`[] | import("wagmi/chains").OpStackTransaction<boolean>[];
|
|
132
|
+
transactionsRoot: `0x${string}`;
|
|
133
|
+
uncles: `0x${string}`[];
|
|
134
|
+
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
135
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
136
|
+
};
|
|
137
|
+
type: "block";
|
|
138
|
+
};
|
|
139
|
+
readonly transaction: {
|
|
140
|
+
exclude: [] | undefined;
|
|
141
|
+
format: (args: import("wagmi/chains").OpStackRpcTransaction<boolean>) => {
|
|
142
|
+
blockHash: `0x${string}` | null;
|
|
143
|
+
blockNumber: bigint | null;
|
|
144
|
+
from: `0x${string}`;
|
|
145
|
+
gas: bigint;
|
|
146
|
+
hash: `0x${string}`;
|
|
147
|
+
input: `0x${string}`;
|
|
148
|
+
nonce: number;
|
|
149
|
+
r: `0x${string}`;
|
|
150
|
+
s: `0x${string}`;
|
|
151
|
+
to: `0x${string}` | null;
|
|
152
|
+
transactionIndex: number | null;
|
|
153
|
+
typeHex: `0x${string}` | null;
|
|
154
|
+
v: bigint;
|
|
155
|
+
value: bigint;
|
|
156
|
+
yParity: number;
|
|
157
|
+
gasPrice?: undefined;
|
|
158
|
+
maxFeePerBlobGas?: undefined;
|
|
159
|
+
maxFeePerGas: bigint;
|
|
160
|
+
maxPriorityFeePerGas: bigint;
|
|
161
|
+
isSystemTx?: boolean | undefined;
|
|
162
|
+
mint?: bigint | undefined;
|
|
163
|
+
sourceHash: `0x${string}`;
|
|
164
|
+
type: "deposit";
|
|
165
|
+
} | {
|
|
166
|
+
r: `0x${string}`;
|
|
167
|
+
s: `0x${string}`;
|
|
168
|
+
v: bigint;
|
|
169
|
+
to: `0x${string}` | null;
|
|
170
|
+
from: `0x${string}`;
|
|
171
|
+
gas: bigint;
|
|
172
|
+
nonce: number;
|
|
173
|
+
value: bigint;
|
|
174
|
+
blockHash: `0x${string}` | null;
|
|
175
|
+
blockNumber: bigint | null;
|
|
176
|
+
hash: `0x${string}`;
|
|
177
|
+
input: `0x${string}`;
|
|
178
|
+
transactionIndex: number | null;
|
|
179
|
+
typeHex: `0x${string}` | null;
|
|
180
|
+
accessList?: undefined;
|
|
181
|
+
authorizationList?: undefined;
|
|
182
|
+
blobVersionedHashes?: undefined;
|
|
183
|
+
chainId?: number | undefined;
|
|
184
|
+
yParity?: undefined;
|
|
185
|
+
type: "legacy";
|
|
186
|
+
gasPrice: bigint;
|
|
187
|
+
maxFeePerBlobGas?: undefined;
|
|
188
|
+
maxFeePerGas?: undefined;
|
|
189
|
+
maxPriorityFeePerGas?: undefined;
|
|
190
|
+
isSystemTx?: undefined;
|
|
191
|
+
mint?: undefined;
|
|
192
|
+
sourceHash?: undefined;
|
|
193
|
+
} | {
|
|
194
|
+
blockHash: `0x${string}` | null;
|
|
195
|
+
blockNumber: bigint | null;
|
|
196
|
+
from: `0x${string}`;
|
|
197
|
+
gas: bigint;
|
|
198
|
+
hash: `0x${string}`;
|
|
199
|
+
input: `0x${string}`;
|
|
200
|
+
nonce: number;
|
|
201
|
+
r: `0x${string}`;
|
|
202
|
+
s: `0x${string}`;
|
|
203
|
+
to: `0x${string}` | null;
|
|
204
|
+
transactionIndex: number | null;
|
|
205
|
+
typeHex: `0x${string}` | null;
|
|
206
|
+
v: bigint;
|
|
207
|
+
value: bigint;
|
|
208
|
+
yParity: number;
|
|
209
|
+
accessList: import("viem").AccessList;
|
|
210
|
+
authorizationList?: undefined;
|
|
211
|
+
blobVersionedHashes?: undefined;
|
|
212
|
+
chainId: number;
|
|
213
|
+
type: "eip2930";
|
|
214
|
+
gasPrice: bigint;
|
|
215
|
+
maxFeePerBlobGas?: undefined;
|
|
216
|
+
maxFeePerGas?: undefined;
|
|
217
|
+
maxPriorityFeePerGas?: undefined;
|
|
218
|
+
isSystemTx?: undefined;
|
|
219
|
+
mint?: undefined;
|
|
220
|
+
sourceHash?: undefined;
|
|
221
|
+
} | {
|
|
222
|
+
blockHash: `0x${string}` | null;
|
|
223
|
+
blockNumber: bigint | null;
|
|
224
|
+
from: `0x${string}`;
|
|
225
|
+
gas: bigint;
|
|
226
|
+
hash: `0x${string}`;
|
|
227
|
+
input: `0x${string}`;
|
|
228
|
+
nonce: number;
|
|
229
|
+
r: `0x${string}`;
|
|
230
|
+
s: `0x${string}`;
|
|
231
|
+
to: `0x${string}` | null;
|
|
232
|
+
transactionIndex: number | null;
|
|
233
|
+
typeHex: `0x${string}` | null;
|
|
234
|
+
v: bigint;
|
|
235
|
+
value: bigint;
|
|
236
|
+
yParity: number;
|
|
237
|
+
accessList: import("viem").AccessList;
|
|
238
|
+
authorizationList?: undefined;
|
|
239
|
+
blobVersionedHashes?: undefined;
|
|
240
|
+
chainId: number;
|
|
241
|
+
type: "eip1559";
|
|
242
|
+
gasPrice?: undefined;
|
|
243
|
+
maxFeePerBlobGas?: undefined;
|
|
244
|
+
maxFeePerGas: bigint;
|
|
245
|
+
maxPriorityFeePerGas: bigint;
|
|
246
|
+
isSystemTx?: undefined;
|
|
247
|
+
mint?: undefined;
|
|
248
|
+
sourceHash?: undefined;
|
|
249
|
+
} | {
|
|
250
|
+
blockHash: `0x${string}` | null;
|
|
251
|
+
blockNumber: bigint | null;
|
|
252
|
+
from: `0x${string}`;
|
|
253
|
+
gas: bigint;
|
|
254
|
+
hash: `0x${string}`;
|
|
255
|
+
input: `0x${string}`;
|
|
256
|
+
nonce: number;
|
|
257
|
+
r: `0x${string}`;
|
|
258
|
+
s: `0x${string}`;
|
|
259
|
+
to: `0x${string}` | null;
|
|
260
|
+
transactionIndex: number | null;
|
|
261
|
+
typeHex: `0x${string}` | null;
|
|
262
|
+
v: bigint;
|
|
263
|
+
value: bigint;
|
|
264
|
+
yParity: number;
|
|
265
|
+
accessList: import("viem").AccessList;
|
|
266
|
+
authorizationList?: undefined;
|
|
267
|
+
blobVersionedHashes: readonly `0x${string}`[];
|
|
268
|
+
chainId: number;
|
|
269
|
+
type: "eip4844";
|
|
270
|
+
gasPrice?: undefined;
|
|
271
|
+
maxFeePerBlobGas: bigint;
|
|
272
|
+
maxFeePerGas: bigint;
|
|
273
|
+
maxPriorityFeePerGas: bigint;
|
|
274
|
+
isSystemTx?: undefined;
|
|
275
|
+
mint?: undefined;
|
|
276
|
+
sourceHash?: undefined;
|
|
277
|
+
} | {
|
|
278
|
+
blockHash: `0x${string}` | null;
|
|
279
|
+
blockNumber: bigint | null;
|
|
280
|
+
from: `0x${string}`;
|
|
281
|
+
gas: bigint;
|
|
282
|
+
hash: `0x${string}`;
|
|
283
|
+
input: `0x${string}`;
|
|
284
|
+
nonce: number;
|
|
285
|
+
r: `0x${string}`;
|
|
286
|
+
s: `0x${string}`;
|
|
287
|
+
to: `0x${string}` | null;
|
|
288
|
+
transactionIndex: number | null;
|
|
289
|
+
typeHex: `0x${string}` | null;
|
|
290
|
+
v: bigint;
|
|
291
|
+
value: bigint;
|
|
292
|
+
yParity: number;
|
|
293
|
+
accessList: import("viem").AccessList;
|
|
294
|
+
authorizationList: import("viem/experimental").SignedAuthorizationList<number>;
|
|
295
|
+
blobVersionedHashes?: undefined;
|
|
296
|
+
chainId: number;
|
|
297
|
+
type: "eip7702";
|
|
298
|
+
gasPrice?: undefined;
|
|
299
|
+
maxFeePerBlobGas?: undefined;
|
|
300
|
+
maxFeePerGas: bigint;
|
|
301
|
+
maxPriorityFeePerGas: bigint;
|
|
302
|
+
isSystemTx?: undefined;
|
|
303
|
+
mint?: undefined;
|
|
304
|
+
sourceHash?: undefined;
|
|
305
|
+
};
|
|
306
|
+
type: "transaction";
|
|
307
|
+
};
|
|
308
|
+
readonly transactionReceipt: {
|
|
309
|
+
exclude: [] | undefined;
|
|
310
|
+
format: (args: import("wagmi/chains").OpStackRpcTransactionReceipt) => {
|
|
311
|
+
blobGasPrice?: bigint | undefined;
|
|
312
|
+
blobGasUsed?: bigint | undefined;
|
|
313
|
+
blockHash: `0x${string}`;
|
|
314
|
+
blockNumber: bigint;
|
|
315
|
+
contractAddress: `0x${string}` | null | undefined;
|
|
316
|
+
cumulativeGasUsed: bigint;
|
|
317
|
+
effectiveGasPrice: bigint;
|
|
318
|
+
from: `0x${string}`;
|
|
319
|
+
gasUsed: bigint;
|
|
320
|
+
logs: import("viem").Log<bigint, number, false, undefined, undefined, undefined, undefined>[];
|
|
321
|
+
logsBloom: `0x${string}`;
|
|
322
|
+
root?: `0x${string}` | undefined;
|
|
323
|
+
status: "success" | "reverted";
|
|
324
|
+
to: `0x${string}` | null;
|
|
325
|
+
transactionHash: `0x${string}`;
|
|
326
|
+
transactionIndex: number;
|
|
327
|
+
type: import("viem").TransactionType;
|
|
328
|
+
l1GasPrice: bigint | null;
|
|
329
|
+
l1GasUsed: bigint | null;
|
|
330
|
+
l1Fee: bigint | null;
|
|
331
|
+
l1FeeScalar: number | null;
|
|
332
|
+
};
|
|
333
|
+
type: "transactionReceipt";
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
serializers: {
|
|
337
|
+
readonly transaction: typeof import("wagmi/chains").serializeTransactionOpStack;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
readonly 42161: {
|
|
341
|
+
blockExplorers: {
|
|
342
|
+
readonly default: {
|
|
343
|
+
readonly name: "Arbiscan";
|
|
344
|
+
readonly url: "https://arbiscan.io";
|
|
345
|
+
readonly apiUrl: "https://api.arbiscan.io/api";
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
contracts: {
|
|
349
|
+
readonly multicall3: {
|
|
350
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
351
|
+
readonly blockCreated: 7654707;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
id: 42161;
|
|
355
|
+
name: "Arbitrum One";
|
|
356
|
+
nativeCurrency: {
|
|
357
|
+
readonly name: "Ether";
|
|
358
|
+
readonly symbol: "ETH";
|
|
359
|
+
readonly decimals: 18;
|
|
360
|
+
};
|
|
361
|
+
rpcUrls: {
|
|
362
|
+
readonly default: {
|
|
363
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
sourceId?: number | undefined;
|
|
367
|
+
testnet?: boolean | undefined;
|
|
368
|
+
custom?: Record<string, unknown> | undefined;
|
|
369
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
370
|
+
formatters?: undefined;
|
|
371
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
372
|
+
};
|
|
373
|
+
readonly 8453: {
|
|
374
|
+
blockExplorers: {
|
|
375
|
+
readonly default: {
|
|
376
|
+
readonly name: "Basescan";
|
|
377
|
+
readonly url: "https://basescan.org";
|
|
378
|
+
readonly apiUrl: "https://api.basescan.org/api";
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
contracts: {
|
|
382
|
+
readonly disputeGameFactory: {
|
|
383
|
+
readonly 1: {
|
|
384
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
readonly l2OutputOracle: {
|
|
388
|
+
readonly 1: {
|
|
389
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
readonly multicall3: {
|
|
393
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
394
|
+
readonly blockCreated: 5022;
|
|
395
|
+
};
|
|
396
|
+
readonly portal: {
|
|
397
|
+
readonly 1: {
|
|
398
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
399
|
+
readonly blockCreated: 17482143;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
readonly l1StandardBridge: {
|
|
403
|
+
readonly 1: {
|
|
404
|
+
readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
|
|
405
|
+
readonly blockCreated: 17482143;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
readonly gasPriceOracle: {
|
|
409
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
410
|
+
};
|
|
411
|
+
readonly l1Block: {
|
|
412
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
413
|
+
};
|
|
414
|
+
readonly l2CrossDomainMessenger: {
|
|
415
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
416
|
+
};
|
|
417
|
+
readonly l2Erc721Bridge: {
|
|
418
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
419
|
+
};
|
|
420
|
+
readonly l2StandardBridge: {
|
|
421
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
422
|
+
};
|
|
423
|
+
readonly l2ToL1MessagePasser: {
|
|
424
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
id: 8453;
|
|
428
|
+
name: "Base";
|
|
429
|
+
nativeCurrency: {
|
|
430
|
+
readonly name: "Ether";
|
|
431
|
+
readonly symbol: "ETH";
|
|
432
|
+
readonly decimals: 18;
|
|
433
|
+
};
|
|
434
|
+
rpcUrls: {
|
|
435
|
+
readonly default: {
|
|
436
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
sourceId: 1;
|
|
440
|
+
testnet?: boolean | undefined;
|
|
441
|
+
custom?: Record<string, unknown> | undefined;
|
|
442
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
443
|
+
formatters: {
|
|
444
|
+
readonly block: {
|
|
445
|
+
exclude: [] | undefined;
|
|
446
|
+
format: (args: import("wagmi/chains").OpStackRpcBlock<import("viem").BlockTag, boolean>) => {
|
|
447
|
+
baseFeePerGas: bigint | null;
|
|
448
|
+
blobGasUsed: bigint;
|
|
449
|
+
difficulty: bigint;
|
|
450
|
+
excessBlobGas: bigint;
|
|
451
|
+
extraData: `0x${string}`;
|
|
452
|
+
gasLimit: bigint;
|
|
453
|
+
gasUsed: bigint;
|
|
454
|
+
hash: `0x${string}` | null;
|
|
455
|
+
logsBloom: `0x${string}` | null;
|
|
456
|
+
miner: `0x${string}`;
|
|
457
|
+
mixHash: `0x${string}`;
|
|
458
|
+
nonce: `0x${string}` | null;
|
|
459
|
+
number: bigint | null;
|
|
460
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
461
|
+
parentHash: `0x${string}`;
|
|
462
|
+
receiptsRoot: `0x${string}`;
|
|
463
|
+
sealFields: `0x${string}`[];
|
|
464
|
+
sha3Uncles: `0x${string}`;
|
|
465
|
+
size: bigint;
|
|
466
|
+
stateRoot: `0x${string}`;
|
|
467
|
+
timestamp: bigint;
|
|
468
|
+
totalDifficulty: bigint | null;
|
|
469
|
+
transactions: `0x${string}`[] | import("wagmi/chains").OpStackTransaction<boolean>[];
|
|
470
|
+
transactionsRoot: `0x${string}`;
|
|
471
|
+
uncles: `0x${string}`[];
|
|
472
|
+
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
473
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
474
|
+
};
|
|
475
|
+
type: "block";
|
|
476
|
+
};
|
|
477
|
+
readonly transaction: {
|
|
478
|
+
exclude: [] | undefined;
|
|
479
|
+
format: (args: import("wagmi/chains").OpStackRpcTransaction<boolean>) => {
|
|
480
|
+
blockHash: `0x${string}` | null;
|
|
481
|
+
blockNumber: bigint | null;
|
|
482
|
+
from: `0x${string}`;
|
|
483
|
+
gas: bigint;
|
|
484
|
+
hash: `0x${string}`;
|
|
485
|
+
input: `0x${string}`;
|
|
486
|
+
nonce: number;
|
|
487
|
+
r: `0x${string}`;
|
|
488
|
+
s: `0x${string}`;
|
|
489
|
+
to: `0x${string}` | null;
|
|
490
|
+
transactionIndex: number | null;
|
|
491
|
+
typeHex: `0x${string}` | null;
|
|
492
|
+
v: bigint;
|
|
493
|
+
value: bigint;
|
|
494
|
+
yParity: number;
|
|
495
|
+
gasPrice?: undefined;
|
|
496
|
+
maxFeePerBlobGas?: undefined;
|
|
497
|
+
maxFeePerGas: bigint;
|
|
498
|
+
maxPriorityFeePerGas: bigint;
|
|
499
|
+
isSystemTx?: boolean | undefined;
|
|
500
|
+
mint?: bigint | undefined;
|
|
501
|
+
sourceHash: `0x${string}`;
|
|
502
|
+
type: "deposit";
|
|
503
|
+
} | {
|
|
504
|
+
r: `0x${string}`;
|
|
505
|
+
s: `0x${string}`;
|
|
506
|
+
v: bigint;
|
|
507
|
+
to: `0x${string}` | null;
|
|
508
|
+
from: `0x${string}`;
|
|
509
|
+
gas: bigint;
|
|
510
|
+
nonce: number;
|
|
511
|
+
value: bigint;
|
|
512
|
+
blockHash: `0x${string}` | null;
|
|
513
|
+
blockNumber: bigint | null;
|
|
514
|
+
hash: `0x${string}`;
|
|
515
|
+
input: `0x${string}`;
|
|
516
|
+
transactionIndex: number | null;
|
|
517
|
+
typeHex: `0x${string}` | null;
|
|
518
|
+
accessList?: undefined;
|
|
519
|
+
authorizationList?: undefined;
|
|
520
|
+
blobVersionedHashes?: undefined;
|
|
521
|
+
chainId?: number | undefined;
|
|
522
|
+
yParity?: undefined;
|
|
523
|
+
type: "legacy";
|
|
524
|
+
gasPrice: bigint;
|
|
525
|
+
maxFeePerBlobGas?: undefined;
|
|
526
|
+
maxFeePerGas?: undefined;
|
|
527
|
+
maxPriorityFeePerGas?: undefined;
|
|
528
|
+
isSystemTx?: undefined;
|
|
529
|
+
mint?: undefined;
|
|
530
|
+
sourceHash?: undefined;
|
|
531
|
+
} | {
|
|
532
|
+
blockHash: `0x${string}` | null;
|
|
533
|
+
blockNumber: bigint | null;
|
|
534
|
+
from: `0x${string}`;
|
|
535
|
+
gas: bigint;
|
|
536
|
+
hash: `0x${string}`;
|
|
537
|
+
input: `0x${string}`;
|
|
538
|
+
nonce: number;
|
|
539
|
+
r: `0x${string}`;
|
|
540
|
+
s: `0x${string}`;
|
|
541
|
+
to: `0x${string}` | null;
|
|
542
|
+
transactionIndex: number | null;
|
|
543
|
+
typeHex: `0x${string}` | null;
|
|
544
|
+
v: bigint;
|
|
545
|
+
value: bigint;
|
|
546
|
+
yParity: number;
|
|
547
|
+
accessList: import("viem").AccessList;
|
|
548
|
+
authorizationList?: undefined;
|
|
549
|
+
blobVersionedHashes?: undefined;
|
|
550
|
+
chainId: number;
|
|
551
|
+
type: "eip2930";
|
|
552
|
+
gasPrice: bigint;
|
|
553
|
+
maxFeePerBlobGas?: undefined;
|
|
554
|
+
maxFeePerGas?: undefined;
|
|
555
|
+
maxPriorityFeePerGas?: undefined;
|
|
556
|
+
isSystemTx?: undefined;
|
|
557
|
+
mint?: undefined;
|
|
558
|
+
sourceHash?: undefined;
|
|
559
|
+
} | {
|
|
560
|
+
blockHash: `0x${string}` | null;
|
|
561
|
+
blockNumber: bigint | null;
|
|
562
|
+
from: `0x${string}`;
|
|
563
|
+
gas: bigint;
|
|
564
|
+
hash: `0x${string}`;
|
|
565
|
+
input: `0x${string}`;
|
|
566
|
+
nonce: number;
|
|
567
|
+
r: `0x${string}`;
|
|
568
|
+
s: `0x${string}`;
|
|
569
|
+
to: `0x${string}` | null;
|
|
570
|
+
transactionIndex: number | null;
|
|
571
|
+
typeHex: `0x${string}` | null;
|
|
572
|
+
v: bigint;
|
|
573
|
+
value: bigint;
|
|
574
|
+
yParity: number;
|
|
575
|
+
accessList: import("viem").AccessList;
|
|
576
|
+
authorizationList?: undefined;
|
|
577
|
+
blobVersionedHashes?: undefined;
|
|
578
|
+
chainId: number;
|
|
579
|
+
type: "eip1559";
|
|
580
|
+
gasPrice?: undefined;
|
|
581
|
+
maxFeePerBlobGas?: undefined;
|
|
582
|
+
maxFeePerGas: bigint;
|
|
583
|
+
maxPriorityFeePerGas: bigint;
|
|
584
|
+
isSystemTx?: undefined;
|
|
585
|
+
mint?: undefined;
|
|
586
|
+
sourceHash?: undefined;
|
|
587
|
+
} | {
|
|
588
|
+
blockHash: `0x${string}` | null;
|
|
589
|
+
blockNumber: bigint | null;
|
|
590
|
+
from: `0x${string}`;
|
|
591
|
+
gas: bigint;
|
|
592
|
+
hash: `0x${string}`;
|
|
593
|
+
input: `0x${string}`;
|
|
594
|
+
nonce: number;
|
|
595
|
+
r: `0x${string}`;
|
|
596
|
+
s: `0x${string}`;
|
|
597
|
+
to: `0x${string}` | null;
|
|
598
|
+
transactionIndex: number | null;
|
|
599
|
+
typeHex: `0x${string}` | null;
|
|
600
|
+
v: bigint;
|
|
601
|
+
value: bigint;
|
|
602
|
+
yParity: number;
|
|
603
|
+
accessList: import("viem").AccessList;
|
|
604
|
+
authorizationList?: undefined;
|
|
605
|
+
blobVersionedHashes: readonly `0x${string}`[];
|
|
606
|
+
chainId: number;
|
|
607
|
+
type: "eip4844";
|
|
608
|
+
gasPrice?: undefined;
|
|
609
|
+
maxFeePerBlobGas: bigint;
|
|
610
|
+
maxFeePerGas: bigint;
|
|
611
|
+
maxPriorityFeePerGas: bigint;
|
|
612
|
+
isSystemTx?: undefined;
|
|
613
|
+
mint?: undefined;
|
|
614
|
+
sourceHash?: undefined;
|
|
615
|
+
} | {
|
|
616
|
+
blockHash: `0x${string}` | null;
|
|
617
|
+
blockNumber: bigint | null;
|
|
618
|
+
from: `0x${string}`;
|
|
619
|
+
gas: bigint;
|
|
620
|
+
hash: `0x${string}`;
|
|
621
|
+
input: `0x${string}`;
|
|
622
|
+
nonce: number;
|
|
623
|
+
r: `0x${string}`;
|
|
624
|
+
s: `0x${string}`;
|
|
625
|
+
to: `0x${string}` | null;
|
|
626
|
+
transactionIndex: number | null;
|
|
627
|
+
typeHex: `0x${string}` | null;
|
|
628
|
+
v: bigint;
|
|
629
|
+
value: bigint;
|
|
630
|
+
yParity: number;
|
|
631
|
+
accessList: import("viem").AccessList;
|
|
632
|
+
authorizationList: import("viem/experimental").SignedAuthorizationList<number>;
|
|
633
|
+
blobVersionedHashes?: undefined;
|
|
634
|
+
chainId: number;
|
|
635
|
+
type: "eip7702";
|
|
636
|
+
gasPrice?: undefined;
|
|
637
|
+
maxFeePerBlobGas?: undefined;
|
|
638
|
+
maxFeePerGas: bigint;
|
|
639
|
+
maxPriorityFeePerGas: bigint;
|
|
640
|
+
isSystemTx?: undefined;
|
|
641
|
+
mint?: undefined;
|
|
642
|
+
sourceHash?: undefined;
|
|
643
|
+
};
|
|
644
|
+
type: "transaction";
|
|
645
|
+
};
|
|
646
|
+
readonly transactionReceipt: {
|
|
647
|
+
exclude: [] | undefined;
|
|
648
|
+
format: (args: import("wagmi/chains").OpStackRpcTransactionReceipt) => {
|
|
649
|
+
blobGasPrice?: bigint | undefined;
|
|
650
|
+
blobGasUsed?: bigint | undefined;
|
|
651
|
+
blockHash: `0x${string}`;
|
|
652
|
+
blockNumber: bigint;
|
|
653
|
+
contractAddress: `0x${string}` | null | undefined;
|
|
654
|
+
cumulativeGasUsed: bigint;
|
|
655
|
+
effectiveGasPrice: bigint;
|
|
656
|
+
from: `0x${string}`;
|
|
657
|
+
gasUsed: bigint;
|
|
658
|
+
logs: import("viem").Log<bigint, number, false, undefined, undefined, undefined, undefined>[];
|
|
659
|
+
logsBloom: `0x${string}`;
|
|
660
|
+
root?: `0x${string}` | undefined;
|
|
661
|
+
status: "success" | "reverted";
|
|
662
|
+
to: `0x${string}` | null;
|
|
663
|
+
transactionHash: `0x${string}`;
|
|
664
|
+
transactionIndex: number;
|
|
665
|
+
type: import("viem").TransactionType;
|
|
666
|
+
l1GasPrice: bigint | null;
|
|
667
|
+
l1GasUsed: bigint | null;
|
|
668
|
+
l1Fee: bigint | null;
|
|
669
|
+
l1FeeScalar: number | null;
|
|
670
|
+
};
|
|
671
|
+
type: "transactionReceipt";
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
serializers: {
|
|
675
|
+
readonly transaction: typeof import("wagmi/chains").serializeTransactionOpStack;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
export declare const CHAIN_NATIVE_TOKENS: ChainNativeTokenMap;
|
|
680
|
+
export declare const MAX_GAS_LIMIT_MAP: Record<ChainId, number>;
|
|
681
|
+
export declare const ALCHEMY_RPC_URL_MAP: Record<number, string>;
|
|
682
|
+
export { polygon, optimism, arbitrum, base };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Address, ChainId } from 'core-kit/types';
|
|
2
|
+
export declare const DHEDGE_SYNTHETIX_V3_ASSETS_MAP: Record<ChainId, Address>;
|
|
3
|
+
export declare const DHEDGE_SYNTHETIX_V3_VAULT_ADDRESSES: Address[];
|
|
4
|
+
export declare const SYNTHETIX_V3_VAULTS_WITHDRAW_ASSET_SYMBOL_MAP: Record<string, string>;
|
|
5
|
+
export declare const SYNTHETIX_V3_POSITION_DEBT_ARGUMENTS: Record<string, string[]>;
|
|
6
|
+
export declare const WITHDRAWAL_FEE_MAP: Map<`0x${string}`, number>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TradingToken } from 'core-kit/types';
|
|
2
|
+
export declare const BRIDGED_USDC_ARBITRUM: TradingToken;
|
|
3
|
+
export declare const USDC_ARBITRUM: TradingToken;
|
|
4
|
+
export declare const WETH_ARBITRUM: TradingToken;
|
|
5
|
+
export declare const WBTC_ARBITRUM: TradingToken;
|
|
6
|
+
export declare const TBTC_ARBITRUM: TradingToken;
|
|
7
|
+
export declare const WSTETH_ARBITRUM: TradingToken;
|
|
8
|
+
export declare const USDT_ARBITRUM: TradingToken;
|