import { C as Tuple, S as Pretty, _ as TypedDataDomain, a as AbiParameterKind, b as Error$1, c as Address$1, d as SolidityBytes, f as SolidityFixedArrayRange, g as TypedData, h as SolidityTuple, i as AbiParameter, l as MBits, m as SolidityInt, n as AbiEvent, o as AbiStateMutability, p as SolidityFixedArraySizeLookup, r as AbiFunction, s as AbiType, t as Abi, u as SolidityArray, v as TypedDataParameter, w as ResolvedRegister$1, x as Merge, y as TypedDataType } from "./abi-Bjd7pZee.mjs"; import { A as UnionToTuple, C as RequiredBy, D as UnionOmit, E as UnionLooseOmit, O as UnionPartialBy, S as Prettify, T as UnionEvaluate, _ as MaybeRequired, a as SignableMessage, b as OneOf, c as Branded, d as IsNarrowable, f as IsNever, g as MaybePromise, h as MaybePartial, i as LogTopic, k as UnionRequiredBy, l as ExactPartial, m as IsUnion, n as Hash, o as Signature, p as IsUndefined, r as Hex$1, s as Assign, t as ByteArray, u as Filter$1, v as NoInfer, w as Some, x as PartialBy, y as Omit$1 } from "./misc-BASHpEmW.mjs"; //#region node_modules/.pnpm/abitype@1.2.3_typescript@6.0.2_zod@4.3.6/node_modules/abitype/dist/types/narrow.d.ts /** * Infers embedded primitive type of any type * * @param T - Type to infer * @returns Embedded type of {@link type} * * @example * type Result = Narrow<['foo', 'bar', 1]> */ type Narrow = (unknown extends type ? unknown : never) | (type extends Function ? type : never) | (type extends bigint | boolean | number | string ? type : never) | (type extends [] ? [] : never) | { [K in keyof type]: Narrow }; //#endregion //#region node_modules/.pnpm/abitype@1.2.3_typescript@6.0.2_zod@4.3.6/node_modules/abitype/dist/types/generated.d.ts interface AbiParameterTupleNameLookup extends Record { _a: [_a: type]; _acceptablePrice: [_acceptablePrice: type]; _account: [_account: type]; _accounts: [_accounts: type]; _action: [_action: type]; _actionId: [_actionId: type]; _active: [_active: type]; _adapter: [_adapter: type]; _adapterParams: [_adapterParams: type]; _add: [_add: type]; _addr: [_addr: type]; _address: [_address: type]; _addresses: [_addresses: type]; _admin: [_admin: type]; _agent: [_agent: type]; _aggregator: [_aggregator: type]; _allocPoint: [_allocPoint: type]; _allow: [_allow: type]; _allowed: [_allowed: type]; _amm: [_amm: type]; _amount: [_amount: type]; _amountIn: [_amountIn: type]; _amountOut: [_amountOut: type]; _amountOutMin: [_amountOutMin: type]; _amountSetToken: [_amountSetToken: type]; _amounts: [_amounts: type]; _amt: [_amt: type]; _app: [_app: type]; _approved: [_approved: type]; _args: [_args: type]; _asset: [_asset: type]; _assetAddr: [_assetAddr: type]; _assetId: [_assetId: type]; _assets: [_assets: type]; _attribute: [_attribute: type]; _auctionId: [_auctionId: type]; _avatar: [_avatar: type]; _b: [_b: type]; _balance: [_balance: type]; _balances: [_balances: type]; _base: [_base: type]; _baseToken: [_baseToken: type]; _baseURI: [_baseURI: type]; _batch: [_batch: type]; _batchId: [_batchId: type]; _beneficiary: [_beneficiary: type]; _bidId: [_bidId: type]; _block: [_block: type]; _blockNumber: [_blockNumber: type]; _bool: [_bool: type]; _borrowAmount: [_borrowAmount: type]; _borrower: [_borrower: type]; _bps: [_bps: type]; _bridge: [_bridge: type]; _bridgeData: [_bridgeData: type]; _burnFee: [_burnFee: type]; _burn_amount: [_burn_amount: type]; _buyFee: [_buyFee: type]; _buyInAmount: [_buyInAmount: type]; _buyer: [_buyer: type]; _c: [_c: type]; _cType: [_cType: type]; _callData: [_callData: type]; _calldata: [_calldata: type]; _caller: [_caller: type]; _campaignId: [_campaignId: type]; _cap: [_cap: type]; _category: [_category: type]; _categoryId: [_categoryId: type]; _ccy: [_ccy: type]; _cdpId: [_cdpId: type]; _chainId: [_chainId: type]; _cid: [_cid: type]; _claim: [_claim: type]; _claimId: [_claimId: type]; _claimer: [_claimer: type]; _clanId: [_clanId: type]; _code: [_code: type]; _collateral: [_collateral: type]; _collateralAddress: [_collateralAddress: type]; _collateralAmount: [_collateralAmount: type]; _collateralAsset: [_collateralAsset: type]; _collateralDelta: [_collateralDelta: type]; _collateralIndex: [_collateralIndex: type]; _collateralToken: [_collateralToken: type]; _collateralType: [_collateralType: type]; _collaterals: [_collaterals: type]; _collection: [_collection: type]; _collectionId: [_collectionId: type]; _component: [_component: type]; _compound: [_compound: type]; _comptrollerProxy: [_comptrollerProxy: type]; _config: [_config: type]; _contract: [_contract: type]; _contractAddress: [_contractAddress: type]; _contractName: [_contractName: type]; _contractURI: [_contractURI: type]; _contracts: [_contracts: type]; _contributor: [_contributor: type]; _controller: [_controller: type]; _cost: [_cost: type]; _count: [_count: type]; _creator: [_creator: type]; _currency: [_currency: type]; _dao: [_dao: type]; _data: [_data: type]; _date: [_date: type]; _day: [_day: type]; _days: [_days: type]; _deadline: [_deadline: type]; _debt: [_debt: type]; _decimals: [_decimals: type]; _defaultAdmin: [_defaultAdmin: type]; _delay: [_delay: type]; _delegate: [_delegate: type]; _delegatee: [_delegatee: type]; _delegator: [_delegator: type]; _delta: [_delta: type]; _denominator: [_denominator: type]; _deployer: [_deployer: type]; _deposit: [_deposit: type]; _depositAmount: [_depositAmount: type]; _depositId: [_depositId: type]; _depositToken: [_depositToken: type]; _depositor: [_depositor: type]; _description: [_description: type]; _destination: [_destination: type]; _dev: [_dev: type]; _devFee: [_devFee: type]; _dex: [_dex: type]; _discount: [_discount: type]; _disputeID: [_disputeID: type]; _distributor: [_distributor: type]; _domain: [_domain: type]; _dst: [_dst: type]; _dstChainId: [_dstChainId: type]; _dstEid: [_dstEid: type]; _dstPoolId: [_dstPoolId: type]; _duration: [_duration: type]; _editionId: [_editionId: type]; _editionNumber: [_editionNumber: type]; _editionSize: [_editionSize: type]; _eid: [_eid: type]; _enable: [_enable: type]; _enabled: [_enabled: type]; _end: [_end: type]; _endBlock: [_endBlock: type]; _endDate: [_endDate: type]; _endIndex: [_endIndex: type]; _endTime: [_endTime: type]; _endTimestamp: [_endTimestamp: type]; _entity: [_entity: type]; _entityAddress: [_entityAddress: type]; _epoch: [_epoch: type]; _epochId: [_epochId: type]; _erc20: [_erc20: type]; _eventId: [_eventId: type]; _evidence: [_evidence: type]; _exchange: [_exchange: type]; _executionFee: [_executionFee: type]; _executionFeeReceiver: [_executionFeeReceiver: type]; _executor: [_executor: type]; _expiration: [_expiration: type]; _expiry: [_expiry: type]; _extraData: [_extraData: type]; _factory: [_factory: type]; _fee: [_fee: type]; _feePercent: [_feePercent: type]; _feeRate: [_feeRate: type]; _feeReceiver: [_feeReceiver: type]; _feeRecipient: [_feeRecipient: type]; _feeToken: [_feeToken: type]; _fees: [_fees: type]; _flag: [_flag: type]; _for: [_for: type]; _from: [_from: type]; _fromToken: [_fromToken: type]; _futureId: [_futureId: type]; _game: [_game: type]; _gameId: [_gameId: type]; _gameIds: [_gameIds: type]; _gasLimit: [_gasLimit: type]; _gauge: [_gauge: type]; _gauges: [_gauges: type]; _generation: [_generation: type]; _governance: [_governance: type]; _group: [_group: type]; _groupId: [_groupId: type]; _guardian: [_guardian: type]; _handler: [_handler: type]; _hash: [_hash: type]; _hatId: [_hatId: type]; _holder: [_holder: type]; _hook: [_hook: type]; _hopData: [_hopData: type]; _iToken: [_iToken: type]; _id: [_id: type]; _idempotencyKey: [_idempotencyKey: type]; _ids: [_ids: type]; _idx: [_idx: type]; _implementation: [_implementation: type]; _index: [_index: type]; _indexToken: [_indexToken: type]; _indices: [_indices: type]; _info: [_info: type]; _initialOwner: [_initialOwner: type]; _input: [_input: type]; _inputToken: [_inputToken: type]; _inputs: [_inputs: type]; _integrator: [_integrator: type]; _interval: [_interval: type]; _isActive: [_isActive: type]; _isEnabled: [_isEnabled: type]; _isLong: [_isLong: type]; _isPaused: [_isPaused: type]; _issuer: [_issuer: type]; _itemId: [_itemId: type]; _itemIds: [_itemIds: type]; _keeper: [_keeper: type]; _key: [_key: type]; _keyHash: [_keyHash: type]; _l1Token: [_l1Token: type]; _label: [_label: type]; _legoId: [_legoId: type]; _lender: [_lender: type]; _lenderId: [_lenderId: type]; _length: [_length: type]; _level: [_level: type]; _leverage: [_leverage: type]; _limit: [_limit: type]; _linkId: [_linkId: type]; _liqUser: [_liqUser: type]; _liquidator: [_liquidator: type]; _liquidity: [_liquidity: type]; _liquidityFee: [_liquidityFee: type]; _listingId: [_listingId: type]; _loan: [_loan: type]; _loanId: [_loanId: type]; _location: [_location: type]; _lock: [_lock: type]; _lockDuration: [_lockDuration: type]; _lockId: [_lockId: type]; _long: [_long: type]; _lowerHint: [_lowerHint: type]; _lp: [_lp: type]; _lpAddress: [_lpAddress: type]; _lpAmount: [_lpAmount: type]; _lpToken: [_lpToken: type]; _manager: [_manager: type]; _marginDelta: [_marginDelta: type]; _market: [_market: type]; _marketId: [_marketId: type]; _marketIndex: [_marketIndex: type]; _marketKey: [_marketKey: type]; _marketing: [_marketing: type]; _marketingFee: [_marketingFee: type]; _maturity: [_maturity: type]; _max: [_max: type]; _maxAmount: [_maxAmount: type]; _maxFeePercentage: [_maxFeePercentage: type]; _maxPrice: [_maxPrice: type]; _maxSupply: [_maxSupply: type]; _member: [_member: type]; _memo: [_memo: type]; _merkleProof: [_merkleProof: type]; _merkleRoot: [_merkleRoot: type]; _message: [_message: type]; _messageId: [_messageId: type]; _metadata: [_metadata: type]; _min: [_min: type]; _minAmount: [_minAmount: type]; _minAmountOut: [_minAmountOut: type]; _minOut: [_minOut: type]; _minPrice: [_minPrice: type]; _minReturn: [_minReturn: type]; _mintAmount: [_mintAmount: type]; _mintPrice: [_mintPrice: type]; _minter: [_minter: type]; _mode: [_mode: type]; _module: [_module: type]; _multiplier: [_multiplier: type]; _n: [_n: type]; _name: [_name: type]; _names: [_names: type]; _new: [_new: type]; _newAddress: [_newAddress: type]; _newAmount: [_newAmount: type]; _newFee: [_newFee: type]; _newImpl: [_newImpl: type]; _newLimit: [_newLimit: type]; _newOwner: [_newOwner: type]; _newPrice: [_newPrice: type]; _newStatus: [_newStatus: type]; _newValue: [_newValue: type]; _nft: [_nft: type]; _nftAddress: [_nftAddress: type]; _nftContract: [_nftContract: type]; _nftContractAddress: [_nftContractAddress: type]; _nftID: [_nftID: type]; _nftId: [_nftId: type]; _nftIndex: [_nftIndex: type]; _nftTokenId: [_nftTokenId: type]; _nfts: [_nfts: type]; _node: [_node: type]; _nodeAddress: [_nodeAddress: type]; _nodeId: [_nodeId: type]; _nodeType: [_nodeType: type]; _nonce: [_nonce: type]; _num: [_num: type]; _number: [_number: type]; _of: [_of: type]; _offer: [_offer: type]; _offerId: [_offerId: type]; _offset: [_offset: type]; _open: [_open: type]; _operator: [_operator: type]; _option: [_option: type]; _optionId: [_optionId: type]; _options: [_options: type]; _oracle: [_oracle: type]; _order: [_order: type]; _orderId: [_orderId: type]; _orderIndex: [_orderIndex: type]; _orderType: [_orderType: type]; _origin: [_origin: type]; _outcome: [_outcome: type]; _outputToken: [_outputToken: type]; _owner: [_owner: type]; _ownerAddress: [_ownerAddress: type]; _owners: [_owners: type]; _pair: [_pair: type]; _pairId: [_pairId: type]; _pairIndex: [_pairIndex: type]; _pairs: [_pairs: type]; _param: [_param: type]; _parameters: [_parameters: type]; _params: [_params: type]; _participant: [_participant: type]; _path: [_path: type]; _pause: [_pause: type]; _paused: [_paused: type]; _payToken: [_payToken: type]; _payload: [_payload: type]; _paymentAmount: [_paymentAmount: type]; _paymentToken: [_paymentToken: type]; _percent: [_percent: type]; _percentage: [_percentage: type]; _period: [_period: type]; _permitData: [_permitData: type]; _phase: [_phase: type]; _pid: [_pid: type]; _pids: [_pids: type]; _platform: [_platform: type]; _player: [_player: type]; _playerId: [_playerId: type]; _plotID: [_plotID: type]; _point: [_point: type]; _pool: [_pool: type]; _poolAddress: [_poolAddress: type]; _poolID: [_poolID: type]; _poolId: [_poolId: type]; _poolManagerId: [_poolManagerId: type]; _poolToken: [_poolToken: type]; _poolTokenAddress: [_poolTokenAddress: type]; _pools: [_pools: type]; _posId: [_posId: type]; _position: [_position: type]; _positionId: [_positionId: type]; _positionManager: [_positionManager: type]; _price: [_price: type]; _priceData: [_priceData: type]; _priceFeed: [_priceFeed: type]; _priceInWei: [_priceInWei: type]; _priceUpdateData: [_priceUpdateData: type]; _prices: [_prices: type]; _productId: [_productId: type]; _profileId: [_profileId: type]; _projectId: [_projectId: type]; _proof: [_proof: type]; _proofs: [_proofs: type]; _prop: [_prop: type]; _property: [_property: type]; _proposal: [_proposal: type]; _proposalID: [_proposalID: type]; _proposalId: [_proposalId: type]; _protocolFee: [_protocolFee: type]; _protocolId: [_protocolId: type]; _provider: [_provider: type]; _proxy: [_proxy: type]; _qty: [_qty: type]; _quantities: [_quantities: type]; _quantity: [_quantity: type]; _questId: [_questId: type]; _quoteAsset: [_quoteAsset: type]; _r: [_r: type]; _raffleId: [_raffleId: type]; _rarity: [_rarity: type]; _rate: [_rate: type]; _ratio: [_ratio: type]; _realmId: [_realmId: type]; _reason: [_reason: type]; _receiver: [_receiver: type]; _receivers: [_receivers: type]; _recipient: [_recipient: type]; _recipients: [_recipients: type]; _refer: [_refer: type]; _referral: [_referral: type]; _referralCode: [_referralCode: type]; _referrer: [_referrer: type]; _refundAddress: [_refundAddress: type]; _registry: [_registry: type]; _reportId: [_reportId: type]; _request: [_request: type]; _requestId: [_requestId: type]; _reserve: [_reserve: type]; _reservePrice: [_reservePrice: type]; _reward: [_reward: type]; _rewardAmount: [_rewardAmount: type]; _rewardPerBlock: [_rewardPerBlock: type]; _rewardToken: [_rewardToken: type]; _rewardTokens: [_rewardTokens: type]; _rewarder: [_rewarder: type]; _rewards: [_rewards: type]; _rewardsToken: [_rewardsToken: type]; _role: [_role: type]; _root: [_root: type]; _round: [_round: type]; _roundID: [_roundID: type]; _roundId: [_roundId: type]; _route: [_route: type]; _router: [_router: type]; _s: [_s: type]; _safe: [_safe: type]; _saleId: [_saleId: type]; _salt: [_salt: type]; _season: [_season: type]; _seconds: [_seconds: type]; _selector: [_selector: type]; _sellFee: [_sellFee: type]; _seller: [_seller: type]; _sender: [_sender: type]; _seriesId: [_seriesId: type]; _set: [_set: type]; _setAmount: [_setAmount: type]; _setToken: [_setToken: type]; _settings: [_settings: type]; _share: [_share: type]; _shares: [_shares: type]; _sharesAmount: [_sharesAmount: type]; _side: [_side: type]; _sig: [_sig: type]; _signature: [_signature: type]; _signatures: [_signatures: type]; _signer: [_signer: type]; _sigs: [_sigs: type]; _silo: [_silo: type]; _size: [_size: type]; _sizeDelta: [_sizeDelta: type]; _slippage: [_slippage: type]; _slot: [_slot: type]; _source: [_source: type]; _spender: [_spender: type]; _srcAddress: [_srcAddress: type]; _srcChainId: [_srcChainId: type]; _stake: [_stake: type]; _stakeID: [_stakeID: type]; _stakeToken: [_stakeToken: type]; _staker: [_staker: type]; _stakerAddress: [_stakerAddress: type]; _staking: [_staking: type]; _stakingModuleId: [_stakingModuleId: type]; _stakingToken: [_stakingToken: type]; _start: [_start: type]; _startBlock: [_startBlock: type]; _startDate: [_startDate: type]; _startIndex: [_startIndex: type]; _startTime: [_startTime: type]; _startTimestamp: [_startTimestamp: type]; _state: [_state: type]; _status: [_status: type]; _strategies: [_strategies: type]; _strategist: [_strategist: type]; _strategy: [_strategy: type]; _subAccount: [_subAccount: type]; _subAccountId: [_subAccountId: type]; _subgraphDeploymentID: [_subgraphDeploymentID: type]; _subject: [_subject: type]; _subscriptionId: [_subscriptionId: type]; _supply: [_supply: type]; _swap: [_swap: type]; _swapData: [_swapData: type]; _swapRouter: [_swapRouter: type]; _symbol: [_symbol: type]; _t: [_t: type]; _target: [_target: type]; _targets: [_targets: type]; _taskId: [_taskId: type]; _team: [_team: type]; _teamId: [_teamId: type]; _threshold: [_threshold: type]; _tier: [_tier: type]; _tierId: [_tierId: type]; _tigAsset: [_tigAsset: type]; _time: [_time: type]; _timestamp: [_timestamp: type]; _to: [_to: type]; _toAddress: [_toAddress: type]; _toToken: [_toToken: type]; _token: [_token: type]; _token0: [_token0: type]; _token1: [_token1: type]; _tokenA: [_tokenA: type]; _tokenAddr: [_tokenAddr: type]; _tokenAddress: [_tokenAddress: type]; _tokenAddresses: [_tokenAddresses: type]; _tokenAmount: [_tokenAmount: type]; _tokenB: [_tokenB: type]; _tokenContract: [_tokenContract: type]; _tokenID: [_tokenID: type]; _tokenId: [_tokenId: type]; _tokenIds: [_tokenIds: type]; _tokenIn: [_tokenIn: type]; _tokenName: [_tokenName: type]; _tokenOut: [_tokenOut: type]; _tokenSymbol: [_tokenSymbol: type]; _tokenType: [_tokenType: type]; _tokenURI: [_tokenURI: type]; _tokens: [_tokens: type]; _total: [_total: type]; _totalAmount: [_totalAmount: type]; _totalSupply: [_totalSupply: type]; _tournamentId: [_tournamentId: type]; _trade: [_trade: type]; _tradeData: [_tradeData: type]; _trader: [_trader: type]; _tranche: [_tranche: type]; _transactionId: [_transactionId: type]; _transferFee: [_transferFee: type]; _treasury: [_treasury: type]; _treasuryFee: [_treasuryFee: type]; _trigger: [_trigger: type]; _triggerAboveThreshold: [_triggerAboveThreshold: type]; _triggerPrice: [_triggerPrice: type]; _troveId: [_troveId: type]; _type: [_type: type]; _underlying: [_underlying: type]; _underlyingAsset: [_underlyingAsset: type]; _universe: [_universe: type]; _unlockTime: [_unlockTime: type]; _updateData: [_updateData: type]; _upperHint: [_upperHint: type]; _uri: [_uri: type]; _user: [_user: type]; _userAddr: [_userAddr: type]; _userAddress: [_userAddress: type]; _users: [_users: type]; _v: [_v: type]; _val: [_val: type]; _validator: [_validator: type]; _validatorId: [_validatorId: type]; _value: [_value: type]; _values: [_values: type]; _vault: [_vault: type]; _vaultId: [_vaultId: type]; _vaultProxy: [_vaultProxy: type]; _vaultToken: [_vaultToken: type]; _vaults: [_vaults: type]; _verifier: [_verifier: type]; _version: [_version: type]; _vestingId: [_vestingId: type]; _voter: [_voter: type]; _wallet: [_wallet: type]; _walletAddress: [_walletAddress: type]; _week: [_week: type]; _weiAmount: [_weiAmount: type]; _weight: [_weight: type]; _weights: [_weights: type]; _weth: [_weth: type]; _whitelist: [_whitelist: type]; _who: [_who: type]; _withUpdate: [_withUpdate: type]; _withdrawAmount: [_withdrawAmount: type]; _worker: [_worker: type]; _x: [_x: type]; _y: [_y: type]; _zroPaymentAddress: [_zroPaymentAddress: type]; a: [a: type]; acceptableFixedInterestRate: [acceptableFixedInterestRate: type]; account: [account: type]; accountAddress: [accountAddress: type]; accountId: [accountId: type]; account_: [account_: type]; accounts: [accounts: type]; action: [action: type]; actions: [actions: type]; active: [active: type]; adapter: [adapter: type]; add: [add: type]; addr: [addr: type]; addr_: [addr_: type]; address: [address: type]; address_: [address_: type]; addresses: [addresses: type]; addrs: [addrs: type]; addy: [addy: type]; admin: [admin: type]; adr: [adr: type]; affiliate: [affiliate: type]; agent: [agent: type]; allocation: [allocation: type]; allow: [allow: type]; allowFailure: [allowFailure: type]; allowance: [allowance: type]; allowed: [allowed: type]; amm: [amm: type]; amount: [amount: type]; amount0: [amount0: type]; amount0Min: [amount0Min: type]; amount1: [amount1: type]; amount1Min: [amount1Min: type]; amountADesired: [amountADesired: type]; amountAMin: [amountAMin: type]; amountBDesired: [amountBDesired: type]; amountBMin: [amountBMin: type]; amountETHMin: [amountETHMin: type]; amountIn: [amountIn: type]; amountInMax: [amountInMax: type]; amountOut: [amountOut: type]; amountOutMin: [amountOutMin: type]; amountOutMinimum: [amountOutMinimum: type]; amountTokenDesired: [amountTokenDesired: type]; amountTokenMin: [amountTokenMin: type]; amount_: [amount_: type]; amounts: [amounts: type]; amounts_: [amounts_: type]; amt: [amt: type]; ancillaryData: [ancillaryData: type]; app: [app: type]; appId: [appId: type]; approveMax: [approveMax: type]; approved: [approved: type]; approver: [approver: type]; arg0: [arg0: type]; arg1: [arg1: type]; args: [args: type]; ask: [ask: type]; asset: [asset: type]; assetAddress: [assetAddress: type]; assetAmount: [assetAmount: type]; assetId: [assetId: type]; assetIds: [assetIds: type]; assetToken: [assetToken: type]; assetType: [assetType: type]; asset_: [asset_: type]; assets: [assets: type]; auctionId: [auctionId: type]; author: [author: type]; authority: [authority: type]; authorized: [authorized: type]; available: [available: type]; b: [b: type]; balance: [balance: type]; balances: [balances: type]; base: [base: type]; baseAmount: [baseAmount: type]; baseToken: [baseToken: type]; baseURI: [baseURI: type]; baseURI_: [baseURI_: type]; baseUri: [baseUri: type]; batch: [batch: type]; batchId: [batchId: type]; batchSize: [batchSize: type]; beneficiary: [beneficiary: type]; bid: [bid: type]; bidder: [bidder: type]; binStep: [binStep: type]; blockNumber: [blockNumber: type]; boardId: [boardId: type]; bond: [bond: type]; borrowAmount: [borrowAmount: type]; borrower: [borrower: type]; borrowers: [borrowers: type]; boxId: [boxId: type]; bps: [bps: type]; bridgeRequest: [bridgeRequest: type]; buffer: [buffer: type]; bundleId: [bundleId: type]; burn: [burn: type]; burnAmount: [burnAmount: type]; burner: [burner: type]; buy: [buy: type]; buyAmount: [buyAmount: type]; buyToken: [buyToken: type]; buyer: [buyer: type]; c: [c: type]; cToken: [cToken: type]; cTokens: [cTokens: type]; call: [call: type]; callData: [callData: type]; callback: [callback: type]; callbackData: [callbackData: type]; calldatas: [calldatas: type]; caller: [caller: type]; caller_: [caller_: type]; calls: [calls: type]; campaign: [campaign: type]; campaignId: [campaignId: type]; candidate: [candidate: type]; cap: [cap: type]; category: [category: type]; categoryId: [categoryId: type]; cdp: [cdp: type]; chainId: [chainId: type]; chainId_: [chainId_: type]; channel: [channel: type]; channelId: [channelId: type]; cityId: [cityId: type]; claim: [claim: type]; claimAmount: [claimAmount: type]; claimId: [claimId: type]; claimer: [claimer: type]; claims: [claims: type]; clone: [clone: type]; code: [code: type]; coin: [coin: type]; coinIndex: [coinIndex: type]; coinType: [coinType: type]; collateral: [collateral: type]; collateralAmount: [collateralAmount: type]; collateralAsset: [collateralAsset: type]; collateralId: [collateralId: type]; collateralToken: [collateralToken: type]; collateralType: [collateralType: type]; collection: [collection: type]; collectionAddress: [collectionAddress: type]; collectionId: [collectionId: type]; collection_: [collection_: type]; cometProxy: [cometProxy: type]; comment: [comment: type]; component: [component: type]; comptroller: [comptroller: type]; comptroller_: [comptroller_: type]; conditionId: [conditionId: type]; config: [config: type]; context: [context: type]; contractAddr: [contractAddr: type]; contractAddress: [contractAddress: type]; contributor: [contributor: type]; controller: [controller: type]; core: [core: type]; cost: [cost: type]; count: [count: type]; coverId: [coverId: type]; creator: [creator: type]; creatorContractAddress: [creatorContractAddress: type]; creditAccount: [creditAccount: type]; creditor: [creditor: type]; ctx: [ctx: type]; cup: [cup: type]; curr: [curr: type]; currency: [currency: type]; currencyAmount: [currencyAmount: type]; currencyCt: [currencyCt: type]; currencyId: [currencyId: type]; currencyKey: [currencyKey: type]; currencyKeys: [currencyKeys: type]; currency_: [currency_: type]; cursor: [cursor: type]; d: [d: type]; data: [data: type]; dataStore: [dataStore: type]; data_: [data_: type]; datas: [datas: type]; date: [date: type]; day: [day: type]; deadLine: [deadLine: type]; deadline: [deadline: type]; deadline_: [deadline_: type]; debt: [debt: type]; decimals: [decimals: type]; decimals_: [decimals_: type]; defaultAdmin: [defaultAdmin: type]; delegate: [delegate: type]; delegatee: [delegatee: type]; delegator: [delegator: type]; delta: [delta: type]; denominator: [denominator: type]; deployer: [deployer: type]; deposit: [deposit: type]; depositAmount: [depositAmount: type]; depositData: [depositData: type]; depositId: [depositId: type]; depositToken: [depositToken: type]; depositor: [depositor: type]; desc: [desc: type]; description: [description: type]; dest: [dest: type]; destToken: [destToken: type]; destination: [destination: type]; destinationAddress: [destinationAddress: type]; destinationChain: [destinationChain: type]; destinationChainId: [destinationChainId: type]; destinationDomain: [destinationDomain: type]; details: [details: type]; dev: [dev: type]; dexData: [dexData: type]; dexId: [dexId: type]; direction: [direction: type]; disabled: [disabled: type]; distributionId: [distributionId: type]; distributor: [distributor: type]; divisor: [divisor: type]; dns: [dns: type]; domain: [domain: type]; domainHash: [domainHash: type]; domainSeparator: [domainSeparator: type]; dropId: [dropId: type]; dsId: [dsId: type]; dst: [dst: type]; dstChainId: [dstChainId: type]; dungeonId: [dungeonId: type]; duration: [duration: type]; dx: [dx: type]; e: [e: type]; edition: [edition: type]; editionId: [editionId: type]; eid: [eid: type]; enable: [enable: type]; enabled: [enabled: type]; end: [end: type]; endIdx: [endIdx: type]; endIndex: [endIndex: type]; endTime: [endTime: type]; endTime_: [endTime_: type]; endTimestamp: [endTimestamp: type]; ens: [ens: type]; epoch: [epoch: type]; epochId: [epochId: type]; erc20: [erc20: type]; erc20Address: [erc20Address: type]; erc721Address: [erc721Address: type]; errorData: [errorData: type]; eth: [eth: type]; ethAmount: [ethAmount: type]; eventId: [eventId: type]; exchange: [exchange: type]; exchangeData: [exchangeData: type]; exchangeId: [exchangeId: type]; excluded: [excluded: type]; executor: [executor: type]; exempt: [exempt: type]; expiration: [expiration: type]; expirationTime: [expirationTime: type]; expiry: [expiry: type]; extension: [extension: type]; extraData: [extraData: type]; f: [f: type]; factory: [factory: type]; failures: [failures: type]; farmId: [farmId: type]; fee: [fee: type]; feeAmount: [feeAmount: type]; feeBps: [feeBps: type]; feeRecipient: [feeRecipient: type]; feeType: [feeType: type]; fee_: [fee_: type]; fees: [fees: type]; fid: [fid: type]; flag: [flag: type]; flags: [flags: type]; from: [from: type]; fromAmount: [fromAmount: type]; fromMode: [fromMode: type]; fromToken: [fromToken: type]; from_: [from_: type]; fund: [fund: type]; funder: [funder: type]; fyToken: [fyToken: type]; g: [g: type]; gameId: [gameId: type]; gas: [gas: type]; gasLimit: [gasLimit: type]; gateway: [gateway: type]; gateways: [gateways: type]; gauge: [gauge: type]; goodUntil: [goodUntil: type]; group: [group: type]; groupId: [groupId: type]; guardian: [guardian: type]; guildId: [guildId: type]; guy: [guy: type]; h: [h: type]; handler: [handler: type]; hash: [hash: type]; hashes: [hashes: type]; hero: [hero: type]; heroId: [heroId: type]; heroToken: [heroToken: type]; holder: [holder: type]; holders: [holders: type]; hook: [hook: type]; hookData: [hookData: type]; host: [host: type]; i: [i: type]; id: [id: type]; id_: [id_: type]; identifier: [identifier: type]; identity: [identity: type]; ids: [ids: type]; idsLength: [idsLength: type]; idx: [idx: type]; ilk: [ilk: type]; ilkIndex: [ilkIndex: type]; impl: [impl: type]; implementation: [implementation: type]; inbound_tkn: [inbound_tkn: type]; increase: [increase: type]; index: [index: type]; indexToken: [indexToken: type]; index_: [index_: type]; indexes: [indexes: type]; indices: [indices: type]; info: [info: type]; initData: [initData: type]; initialExchangeRateMantissa_: [initialExchangeRateMantissa_: type]; initialOwner: [initialOwner: type]; initiator: [initiator: type]; input: [input: type]; inputAmount: [inputAmount: type]; inputAsset: [inputAsset: type]; inputToken: [inputToken: type]; inputs: [inputs: type]; instanceId: [instanceId: type]; instrument: [instrument: type]; instrumentId: [instrumentId: type]; interestRateModel_: [interestRateModel_: type]; interfaceId: [interfaceId: type]; interval: [interval: type]; investor: [investor: type]; ipfsHash: [ipfsHash: type]; isActive: [isActive: type]; isAllowed: [isAllowed: type]; isEnabled: [isEnabled: type]; isExcluded: [isExcluded: type]; isLong: [isLong: type]; isPaused: [isPaused: type]; issuer: [issuer: type]; item: [item: type]; itemId: [itemId: type]; itemIds: [itemIds: type]; items: [items: type]; j: [j: type]; k: [k: type]; keeper: [keeper: type]; key: [key: type]; keys: [keys: type]; kind: [kind: type]; l: [l: type]; label: [label: type]; leaf: [leaf: type]; lender: [lender: type]; length: [length: type]; level: [level: type]; leverage: [leverage: type]; lien: [lien: type]; lienId: [lienId: type]; limit: [limit: type]; liquidator: [liquidator: type]; liquidity: [liquidity: type]; liquidityFee: [liquidityFee: type]; listingId: [listingId: type]; loan: [loan: type]; loanId: [loanId: type]; lock: [lock: type]; lockDuration: [lockDuration: type]; lockTime: [lockTime: type]; locked: [locked: type]; long: [long: type]; lp: [lp: type]; lpAmount: [lpAmount: type]; lpToken: [lpToken: type]; lpTokens: [lpTokens: type]; m: [m: type]; maker: [maker: type]; makerSignature: [makerSignature: type]; manager: [manager: type]; margin: [margin: type]; marginAccountID: [marginAccountID: type]; market: [market: type]; marketId: [marketId: type]; marketId_: [marketId_: type]; marketIndex: [marketIndex: type]; marketParams: [marketParams: type]; marketing: [marketing: type]; marketingFee: [marketingFee: type]; markets: [markets: type]; maturity: [maturity: type]; max: [max: type]; maxAmount: [maxAmount: type]; maxAmountIn: [maxAmountIn: type]; maxPrice: [maxPrice: type]; maxSupply: [maxSupply: type]; member: [member: type]; memo: [memo: type]; merchant: [merchant: type]; merkleProof: [merkleProof: type]; merkleProofs: [merkleProofs: type]; merkleRoot: [merkleRoot: type]; merkleRoot_: [merkleRoot_: type]; message: [message: type]; messageHash: [messageHash: type]; metadata: [metadata: type]; metadataURI: [metadataURI: type]; min: [min: type]; minAmount: [minAmount: type]; minAmountOut: [minAmountOut: type]; minAmounts: [minAmounts: type]; minBuyAmount: [minBuyAmount: type]; minOut: [minOut: type]; minPrice: [minPrice: type]; minReturn: [minReturn: type]; minReturnAmount: [minReturnAmount: type]; miner: [miner: type]; mintAmount: [mintAmount: type]; mintId: [mintId: type]; minter: [minter: type]; minter_: [minter_: type]; mode: [mode: type]; module: [module: type]; month: [month: type]; msgSender: [msgSender: type]; multiplier: [multiplier: type]; n: [n: type]; name: [name: type]; name_: [name_: type]; names: [names: type]; namespace: [namespace: type]; ne: [ne: type]; needed: [needed: type]; new: [new: type]; newAddress: [newAddress: type]; newAdmin: [newAdmin: type]; newAmount: [newAmount: type]; newContract: [newContract: type]; newFee: [newFee: type]; newImplementation: [newImplementation: type]; newLimit: [newLimit: type]; newManager: [newManager: type]; newMax: [newMax: type]; newName: [newName: type]; newOwner: [newOwner: type]; newPrice: [newPrice: type]; newRate: [newRate: type]; newRatio: [newRatio: type]; newRecipient: [newRecipient: type]; newStatus: [newStatus: type]; newThreshold: [newThreshold: type]; newValue: [newValue: type]; newWallet: [newWallet: type]; next: [next: type]; nextOwner: [nextOwner: type]; nft: [nft: type]; nftAddress: [nftAddress: type]; nftAsset: [nftAsset: type]; nftContract: [nftContract: type]; nftID: [nftID: type]; nftId: [nftId: type]; nftIds: [nftIds: type]; nftRecipient: [nftRecipient: type]; nftTokenId: [nftTokenId: type]; nft_: [nft_: type]; node: [node: type]; nodeID: [nodeID: type]; nodeId: [nodeId: type]; nodeIndex: [nodeIndex: type]; nodeOperatorId: [nodeOperatorId: type]; nonce: [nonce: type]; nonceKey: [nonceKey: type]; nonce_: [nonce_: type]; num: [num: type]; numToMint: [numToMint: type]; numTokens: [numTokens: type]; number: [number: type]; numberOfTokens: [numberOfTokens: type]; numerator: [numerator: type]; o: [o: type]; offer: [offer: type]; offerId: [offerId: type]; offerer: [offerer: type]; offset: [offset: type]; olKey: [olKey: type]; old: [old: type]; onBehalf: [onBehalf: type]; onBehalfOf: [onBehalfOf: type]; open: [open: type]; operation: [operation: type]; operator: [operator: type]; operatorId: [operatorId: type]; operatorIds: [operatorIds: type]; operators: [operators: type]; option: [option: type]; options: [options: type]; oracle: [oracle: type]; oracles: [oracles: type]; order: [order: type]; orderHash: [orderHash: type]; orderId: [orderId: type]; orderType: [orderType: type]; order_: [order_: type]; orders: [orders: type]; outbound_tkn: [outbound_tkn: type]; output: [output: type]; outputAmount: [outputAmount: type]; outputReference: [outputReference: type]; outputToken: [outputToken: type]; owner: [owner: type]; ownerAddress: [ownerAddress: type]; owner_: [owner_: type]; owners: [owners: type]; p: [p: type]; pToken: [pToken: type]; pageSize: [pageSize: type]; pair: [pair: type]; pairId: [pairId: type]; pairIndex: [pairIndex: type]; pairs: [pairs: type]; param: [param: type]; parameters: [parameters: type]; params: [params: type]; params_: [params_: type]; parentId: [parentId: type]; partner: [partner: type]; partyA: [partyA: type]; path: [path: type]; paths: [paths: type]; pause: [pause: type]; paused: [paused: type]; payee: [payee: type]; payer: [payer: type]; payload: [payload: type]; paymentToken: [paymentToken: type]; percent: [percent: type]; percentage: [percentage: type]; period: [period: type]; permission: [permission: type]; permissions: [permissions: type]; permit: [permit: type]; permitData: [permitData: type]; permitDeadline: [permitDeadline: type]; petId: [petId: type]; phase: [phase: type]; pid: [pid: type]; plan: [plan: type]; planId: [planId: type]; player: [player: type]; playerId: [playerId: type]; points: [points: type]; policyId: [policyId: type]; policyType: [policyType: type]; pool: [pool: type]; poolAddress: [poolAddress: type]; poolFee: [poolFee: type]; poolHash: [poolHash: type]; poolID: [poolID: type]; poolId: [poolId: type]; poolId_: [poolId_: type]; poolIndex: [poolIndex: type]; poolKey: [poolKey: type]; poolToken: [poolToken: type]; poolType: [poolType: type]; pool_: [pool_: type]; pools: [pools: type]; pos: [pos: type]; position: [position: type]; positionId: [positionId: type]; positions: [positions: type]; previous: [previous: type]; previousOwner: [previousOwner: type]; price: [price: type]; priceUpdateData: [priceUpdateData: type]; price_: [price_: type]; prices: [prices: type]; primary: [primary: type]; principal: [principal: type]; product: [product: type]; productId: [productId: type]; profileId: [profileId: type]; profit: [profit: type]; projectId: [projectId: type]; proof: [proof: type]; proof_: [proof_: type]; proofs: [proofs: type]; proposal: [proposal: type]; proposalId: [proposalId: type]; proposer: [proposer: type]; protocol: [protocol: type]; provider: [provider: type]; proxy: [proxy: type]; publicKey: [publicKey: type]; q: [q: type]; qty: [qty: type]; quantities: [quantities: type]; quantity: [quantity: type]; queries: [queries: type]; questID: [questID: type]; questId: [questId: type]; questId_: [questId_: type]; questionID: [questionID: type]; question_id: [question_id: type]; quorumNumber: [quorumNumber: type]; quote: [quote: type]; quoteId: [quoteId: type]; quoteToken: [quoteToken: type]; r: [r: type]; raffleId: [raffleId: type]; rarity: [rarity: type]; rate: [rate: type]; ratio: [ratio: type]; reason: [reason: type]; receiver: [receiver: type]; receiverAddress: [receiverAddress: type]; receiver_: [receiver_: type]; receivers: [receivers: type]; recipient: [recipient: type]; recipient_: [recipient_: type]; recipients: [recipients: type]; redeemer: [redeemer: type]; ref: [ref: type]; referral: [referral: type]; referralCode: [referralCode: type]; referralId: [referralId: type]; referrer: [referrer: type]; refund: [refund: type]; refundAddress: [refundAddress: type]; registry: [registry: type]; relayer: [relayer: type]; repayAmount: [repayAmount: type]; req: [req: type]; request: [request: type]; requestId: [requestId: type]; requestIds: [requestIds: type]; requester: [requester: type]; requests: [requests: type]; required: [required: type]; rescueOrder: [rescueOrder: type]; reserve: [reserve: type]; reserveId: [reserveId: type]; resolvedName: [resolvedName: type]; resolver: [resolver: type]; resourceID: [resourceID: type]; responses: [responses: type]; restricted: [restricted: type]; result: [result: type]; returnData: [returnData: type]; reverseName: [reverseName: type]; reverseResolver: [reverseResolver: type]; reward: [reward: type]; rewardAmount: [rewardAmount: type]; rewardToken: [rewardToken: type]; rewards: [rewards: type]; riskIndicatorsInputs: [riskIndicatorsInputs: type]; role: [role: type]; roleId: [roleId: type]; roles: [roles: type]; root: [root: type]; round: [round: type]; roundId: [roundId: type]; route: [route: type]; router: [router: type]; routes: [routes: type]; s: [s: type]; safe: [safe: type]; salt: [salt: type]; scId: [scId: type]; schainHash: [schainHash: type]; schainName: [schainName: type]; score: [score: type]; season: [season: type]; seasonId: [seasonId: type]; secret: [secret: type]; secs: [secs: type]; seed: [seed: type]; selector: [selector: type]; sell: [sell: type]; sellAmount: [sellAmount: type]; sellOrder: [sellOrder: type]; sellToken: [sellToken: type]; seller: [seller: type]; sender: [sender: type]; seriesId: [seriesId: type]; serviceId: [serviceId: type]; settings: [settings: type]; share: [share: type]; shareAmount: [shareAmount: type]; shares: [shares: type]; sharesAmount: [sharesAmount: type]; sharesSubject: [sharesSubject: type]; shares_: [shares_: type]; side: [side: type]; sig: [sig: type]; signature: [signature: type]; signature_: [signature_: type]; signatures: [signatures: type]; signer: [signer: type]; size: [size: type]; sizeDelta: [sizeDelta: type]; slippage: [slippage: type]; slot: [slot: type]; slot_: [slot_: type]; smartVault: [smartVault: type]; source: [source: type]; sourceAmount: [sourceAmount: type]; sourceToken: [sourceToken: type]; spender: [spender: type]; sqrtPriceLimitX96: [sqrtPriceLimitX96: type]; sqrtPriceX96: [sqrtPriceX96: type]; src: [src: type]; srcAmount: [srcAmount: type]; srcToken: [srcToken: type]; stable: [stable: type]; stage: [stage: type]; stake: [stake: type]; stakeAmount: [stakeAmount: type]; stakeId: [stakeId: type]; stakeIndex: [stakeIndex: type]; staker: [staker: type]; stakerAddr: [stakerAddr: type]; stakingToken: [stakingToken: type]; starkKey: [starkKey: type]; start: [start: type]; startDate: [startDate: type]; startIdx: [startIdx: type]; startIndex: [startIndex: type]; startTime: [startTime: type]; startTime_: [startTime_: type]; startTimestamp: [startTimestamp: type]; state: [state: type]; status: [status: type]; statuses: [statuses: type]; strategies: [strategies: type]; strategy: [strategy: type]; streamId: [streamId: type]; strike: [strike: type]; subAccountId: [subAccountId: type]; subId: [subId: type]; subaccount: [subaccount: type]; subject: [subject: type]; subjectType: [subjectType: type]; subscriber: [subscriber: type]; success: [success: type]; superToken: [superToken: type]; supply: [supply: type]; support: [support: type]; swap: [swap: type]; swapData: [swapData: type]; swapFee: [swapFee: type]; swapFeePercentage: [swapFeePercentage: type]; swapId: [swapId: type]; swapParams: [swapParams: type]; swapTarget: [swapTarget: type]; swaps: [swaps: type]; sweepTokens: [sweepTokens: type]; symbol: [symbol: type]; symbol_: [symbol_: type]; t: [t: type]; tAmount: [tAmount: type]; tableId: [tableId: type]; tag: [tag: type]; taker: [taker: type]; target: [target: type]; targetAddress: [targetAddress: type]; targetContract: [targetContract: type]; targetToken: [targetToken: type]; targets: [targets: type]; taskId: [taskId: type]; tax: [tax: type]; taxFee: [taxFee: type]; term: [term: type]; termAuctionId: [termAuctionId: type]; termId: [termId: type]; termRepoId: [termRepoId: type]; theSignature: [theSignature: type]; threshold: [threshold: type]; tick: [tick: type]; tickLower: [tickLower: type]; tickSpacing: [tickSpacing: type]; tickUpper: [tickUpper: type]; ticketId: [ticketId: type]; tid: [tid: type]; tier: [tier: type]; tierId: [tierId: type]; time: [time: type]; timestamp: [timestamp: type]; to: [to: type]; toAddress: [toAddress: type]; toChain: [toChain: type]; toChainId: [toChainId: type]; toToken: [toToken: type]; to_: [to_: type]; tok: [tok: type]; token: [token: type]; token0: [token0: type]; token1: [token1: type]; tokenA: [tokenA: type]; tokenAddr: [tokenAddr: type]; tokenAddress: [tokenAddress: type]; tokenAddresses: [tokenAddresses: type]; tokenAmount: [tokenAmount: type]; tokenAmountIn: [tokenAmountIn: type]; tokenAmounts: [tokenAmounts: type]; tokenB: [tokenB: type]; tokenContract: [tokenContract: type]; tokenID: [tokenID: type]; tokenIDs: [tokenIDs: type]; tokenId: [tokenId: type]; tokenId_: [tokenId_: type]; tokenIds: [tokenIds: type]; tokenIds_: [tokenIds_: type]; tokenIn: [tokenIn: type]; tokenIndex: [tokenIndex: type]; tokenName: [tokenName: type]; tokenOut: [tokenOut: type]; tokenOwner: [tokenOwner: type]; tokenRecipient: [tokenRecipient: type]; tokenSymbol: [tokenSymbol: type]; tokenType: [tokenType: type]; tokenURI: [tokenURI: type]; tokenUri: [tokenUri: type]; tokenX: [tokenX: type]; tokenY: [tokenY: type]; token_: [token_: type]; tokenid: [tokenid: type]; tokens: [tokens: type]; tokens_: [tokens_: type]; tos: [tos: type]; total: [total: type]; totalAmount: [totalAmount: type]; totalSupply: [totalSupply: type]; tournamentId: [tournamentId: type]; trade: [trade: type]; trader: [trader: type]; traitId: [traitId: type]; tranche: [tranche: type]; trancheId: [trancheId: type]; transactionId: [transactionId: type]; treasury: [treasury: type]; true_or_false: [true_or_false: type]; ts: [ts: type]; ttl: [ttl: type]; txHash: [txHash: type]; typeId: [typeId: type]; type_: [type_: type]; u: [u: type]; underlying: [underlying: type]; underlyingToken: [underlyingToken: type]; underlying_: [underlying_: type]; updateData: [updateData: type]; updater: [updater: type]; uri: [uri: type]; uri_: [uri_: type]; url: [url: type]; usdcAmount: [usdcAmount: type]; user: [user: type]; userAddr: [userAddr: type]; userAddress: [userAddress: type]; userData: [userData: type]; userId: [userId: type]; userOp: [userOp: type]; user_: [user_: type]; users: [users: type]; usr: [usr: type]; v: [v: type]; vToken: [vToken: type]; val: [val: type]; validAfter: [validAfter: type]; validBefore: [validBefore: type]; validUntil: [validUntil: type]; validator: [validator: type]; validatorId: [validatorId: type]; value: [value: type]; value_: [value_: type]; values: [values: type]; valuesLength: [valuesLength: type]; vars: [vars: type]; vault: [vault: type]; vaultAddress: [vaultAddress: type]; vaultAddresses: [vaultAddresses: type]; vaultID: [vaultID: type]; vaultId: [vaultId: type]; vault_: [vault_: type]; vectorId: [vectorId: type]; verifier: [verifier: type]; version: [version: type]; volume: [volume: type]; voter: [voter: type]; vs: [vs: type]; w: [w: type]; wad: [wad: type]; wallet: [wallet: type]; walletAddress: [walletAddress: type]; wallet_: [wallet_: type]; wallets: [wallets: type]; week: [week: type]; weight: [weight: type]; weights: [weights: type]; weth: [weth: type]; what: [what: type]; whitelist: [whitelist: type]; whitelisted: [whitelisted: type]; who: [who: type]; withdrawAmount: [withdrawAmount: type]; worldId: [worldId: type]; wrappedToken: [wrappedToken: type]; x: [x: type]; y: [y: type]; year: [year: type]; yieldToken: [yieldToken: type]; z: [z: type]; zeroForOne: [zeroForOne: type]; zone: [zone: type]; } //#endregion //#region node_modules/.pnpm/abitype@1.2.3_typescript@6.0.2_zod@4.3.6/node_modules/abitype/dist/types/utils.d.ts /** * Converts {@link AbiType} to corresponding TypeScript primitive type. * * Does not include full array or tuple conversion. Use {@link AbiParameterToPrimitiveType} to fully convert arrays and tuples. * * @param abiType - {@link AbiType} to convert to TypeScript representation * @param abiParameterKind - Optional {@link AbiParameterKind} to narrow by parameter type * @returns TypeScript primitive type */ type AbiTypeToPrimitiveType = abiType extends SolidityBytes ? PrimitiveTypeLookup[abiType][abiParameterKind] : PrimitiveTypeLookup[abiType]; interface PrimitiveTypeLookup extends SolidityIntMap, SolidityByteMap, SolidityArrayMap { address: ResolvedRegister$1['addressType']; bool: boolean; function: `${ResolvedRegister$1['addressType']}${string}`; string: string; tuple: Record; } type SolidityIntMap = { [_ in SolidityInt]: _ extends `${'u' | ''}int${infer bits extends keyof BitsTypeLookup}` ? BitsTypeLookup[bits] : never }; type SolidityByteMap = { [_ in SolidityBytes]: ResolvedRegister$1['bytesType'] }; type SolidityArrayMap = { [_ in SolidityArray]: readonly unknown[] }; type GreaterThan48Bits = Exclude; type LessThanOrEqualTo48Bits = Exclude; type NoBits = ''; type BitsTypeLookup = { [key in MBits]: ResolvedRegister$1[key extends LessThanOrEqualTo48Bits ? 'intType' : 'bigIntType'] }; /** * Converts {@link AbiParameter} to corresponding TypeScript primitive type. * * @param abiParameter - {@link AbiParameter} to convert to TypeScript representation * @param abiParameterKind - Optional {@link AbiParameterKind} to narrow by parameter type * @returns TypeScript primitive type */ type AbiParameterToPrimitiveType = abiParameter['type'] extends AbiBasicType ? AbiTypeToPrimitiveType : abiParameter extends { type: SolidityTuple; components: infer components extends readonly AbiParameter[]; } ? AbiComponentsToPrimitiveType : MaybeExtractArrayParameterType extends [infer head extends string, infer size] ? AbiArrayToPrimitiveType : ResolvedRegister$1['strictAbiType'] extends true ? Error$1<`Unknown type '${abiParameter['type'] & string}'.`> : abiParameter extends { components: Error$1; } ? abiParameter['components'] : unknown; type AbiBasicType = Exclude; type AbiComponentsToPrimitiveType = components extends readonly [] ? [] : components[number]['name'] extends Exclude ? { [component in components[number] as component['name'] & {}]: AbiParameterToPrimitiveType } : { [key in keyof components]: AbiParameterToPrimitiveType }; type MaybeExtractArrayParameterType = /** * First, infer `Head` against a known size type (either fixed-length array value or `""`). * * | Input | Head | * | --------------- | ------------ | * | `string[]` | `string` | * | `string[][][3]` | `string[][]` | */ type extends `${infer head}[${'' | `${SolidityFixedArrayRange}`}]` ? type extends `${head}[${infer size}]` ? [head, size] : undefined : undefined; type AbiArrayToPrimitiveType = size extends keyof SolidityFixedArraySizeLookup ? Tuple, abiParameterKind>, SolidityFixedArraySizeLookup[size]> : readonly AbiParameterToPrimitiveType, abiParameterKind>[]; /** * Converts array of {@link AbiParameter} to corresponding TypeScript primitive types. * * @param abiParameters - Array of {@link AbiParameter} to convert to TypeScript representations * @param abiParameterKind - Optional {@link AbiParameterKind} to narrow by parameter type * @returns Array of TypeScript primitive types */ type AbiParametersToPrimitiveTypes = experimental_namedTuples extends true ? AbiParametersToPrimitiveTypes_named : AbiParametersToPrimitiveTypes_mapped; type AbiParametersToPrimitiveTypes_mapped = Pretty<{ [key in keyof abiParameters]: AbiParameterToPrimitiveType }>; type AbiParametersToPrimitiveTypes_named = depth['length'] extends 15 ? readonly unknown[] : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter, infer head3 extends AbiParameter, infer head4 extends AbiParameter, infer head5 extends AbiParameter, infer head6 extends AbiParameter, ...infer tail extends readonly AbiParameter[]] ? AbiParametersToPrimitiveTypes_named, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple], [...depth, 1]> : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter, infer head3 extends AbiParameter, infer head4 extends AbiParameter, infer head5 extends AbiParameter] ? readonly [...acc, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple] : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter, infer head3 extends AbiParameter, infer head4 extends AbiParameter] ? readonly [...acc, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple] : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter, infer head3 extends AbiParameter] ? readonly [...acc, ...ToNamedTuple, ...ToNamedTuple, ...ToNamedTuple] : abiParameters extends readonly [infer head1 extends AbiParameter, infer head2 extends AbiParameter] ? readonly [...acc, ...ToNamedTuple, ...ToNamedTuple] : abiParameters extends readonly [infer head extends AbiParameter] ? readonly [...acc, ...ToNamedTuple] : acc extends readonly [] ? abiParameters extends readonly [] ? readonly [] : readonly unknown[] : acc; type ToNamedTuple = unwrapName, abiParameter['name']>; type unwrapName = name extends string ? AbiParameterTupleNameLookup[name] : [type]; /** * Checks if type is {@link Abi}. * * @param abi - {@link Abi} to check * @returns Boolean for whether {@link abi} is {@link Abi} */ /** * Extracts all {@link AbiFunction} types from {@link Abi}. * * @param abi - {@link Abi} to extract functions from * @param abiStateMutability - {@link AbiStateMutability} to filter by * @returns All {@link AbiFunction} types from {@link Abi} */ type ExtractAbiFunctions = Extract; /** * Extracts all {@link AbiFunction} names from {@link Abi}. * * @param abi - {@link Abi} to extract function names from * @param abiStateMutability - {@link AbiStateMutability} to filter by * @returns Union of function names */ type ExtractAbiFunctionNames = ExtractAbiFunctions['name']; /** * Extracts {@link AbiFunction} with name from {@link Abi}. * * @param abi - {@link Abi} to extract {@link AbiFunction} from * @param functionName - String name of function to extract from {@link Abi} * @param abiStateMutability - {@link AbiStateMutability} to filter by * @returns Matching {@link AbiFunction} */ type ExtractAbiFunction, abiStateMutability extends AbiStateMutability = AbiStateMutability> = Extract, { name: functionName; }>; /** * Extracts all {@link AbiEvent} types from {@link Abi}. * * @param abi - {@link Abi} to extract events from * @returns All {@link AbiEvent} types from {@link Abi} */ type ExtractAbiEvents = Extract; /** * Extracts all {@link AbiEvent} names from {@link Abi}. * * @param abi - {@link Abi} to extract event names from * @returns Union of event names */ type ExtractAbiEventNames = ExtractAbiEvents['name']; /** * Extracts {@link AbiEvent} with name from {@link Abi}. * * @param abi - {@link Abi} to extract {@link AbiEvent} from * @param eventName - String name of event to extract from {@link Abi} * @returns Matching {@link AbiEvent} */ type ExtractAbiEvent> = Extract, { name: eventName; }>; /** * Converts {@link typedData} to corresponding TypeScript primitive types. * * @param typedData - {@link TypedData} to convert * @param abiParameterKind - Optional {@link AbiParameterKind} to narrow by parameter type * @returns Union of TypeScript primitive types */ type TypedDataToPrimitiveTypes = { [key in keyof typedData]: { [key2 in typedData[key][number] as key2['name']]: key2['type'] extends key ? Error$1<`Cannot convert self-referencing struct '${key2['type']}' to primitive type.`> : key2['type'] extends keyof typedData ? key2['type'] extends keyof keyReferences ? Error$1<`Circular reference detected. '${key2['type']}' is a circular reference.`> : TypedDataToPrimitiveTypes, abiParameterKind, keyReferences & { [_ in key2['type'] | key]: true }>[key2['type']] : key2['type'] extends `${infer type extends keyof typedData & string}[${infer tail}]` ? AbiParameterToPrimitiveType<{ name: key2['name']; type: `tuple[${tail}]`; components: _TypedDataParametersToAbiParameters; }, abiParameterKind> : key2['type'] extends TypedDataType ? AbiParameterToPrimitiveType : Error$1<`Cannot convert unknown type '${key2['type']}' to primitive type.`> } } & unknown; type _TypedDataParametersToAbiParameters = { [key in keyof typedDataParameters]: typedDataParameters[key] extends infer typedDataParameter extends { name: string; type: unknown; } ? typedDataParameter['type'] extends keyof typedData & string ? { name: typedDataParameter['name']; type: 'tuple'; components: typedDataParameter['type'] extends keyof keyReferences ? Error$1<`Circular reference detected. '${typedDataParameter['type']}' is a circular reference.`> : _TypedDataParametersToAbiParameters; } : typedDataParameter['type'] extends `${infer type extends keyof typedData & string}[${infer tail}]` ? { name: typedDataParameter['name']; type: `tuple[${tail}]`; components: type extends keyof keyReferences ? Error$1<`Circular reference detected. '${typedDataParameter['type']}' is a circular reference.`> : _TypedDataParametersToAbiParameters; } : typedDataParameter : never }; //#endregion //#region node_modules/.pnpm/ox@0.14.7_typescript@6.0.2_zod@4.3.6/node_modules/ox/_types/core/Hex.d.ts /** Root type for a Hex string. */ type Hex = `0x${string}`; //#endregion //#region node_modules/.pnpm/ox@0.14.7_typescript@6.0.2_zod@4.3.6/node_modules/ox/_types/core/Address.d.ts /** Root type for Address. */ type Address = Address$1; //#endregion //#region node_modules/.pnpm/ox@0.14.7_typescript@6.0.2_zod@4.3.6/node_modules/ox/_types/core/Withdrawal.d.ts /** A Withdrawal as defined in the [Execution API specification](https://github.com/ethereum/execution-apis/blob/main/src/schemas/withdrawal.yaml). */ type Withdrawal$1 = { address: Hex; amount: bigintType; index: numberType; validatorIndex: numberType; }; //#endregion //#region node_modules/.pnpm/ox@0.14.7_typescript@6.0.2_zod@4.3.6/node_modules/ox/_types/core/BlockOverrides.d.ts /** * Block overrides. */ type BlockOverrides = { /** Base fee per gas. */baseFeePerGas?: bigintType | undefined; /** Blob base fee. */ blobBaseFee?: bigintType | undefined; /** Fee recipient (also known as coinbase). */ feeRecipient?: Address | undefined; /** Gas limit. */ gasLimit?: bigintType | undefined; /** Block number. */ number?: bigintType | undefined; /** The previous value of randomness beacon. */ prevRandao?: bigintType | undefined; /** Block timestamp. */ time?: bigintType | undefined; /** Withdrawals made by validators. */ withdrawals?: Withdrawal$1[] | undefined; }; /** * RPC block overrides. */ type Rpc = BlockOverrides; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/account.d.ts type DeriveAccount = accountOverride extends Account | Address$1 ? accountOverride : account; type GetAccountParameter = MaybeRequired<{ account?: accountOverride | Account | Address$1 | (nullish extends true ? null : never) | undefined; }, IsUndefined extends true ? required extends true ? true : false : false>; type ParseAccount = accountOrAddress extends Address$1 ? Prettify> : accountOrAddress; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/authorization.d.ts type Authorization = { /** Address of the contract to delegate to. */address: Address$1; /** Chain ID. */ chainId: uint32; /** Nonce of the EOA to delegate to. */ nonce: uint32; } & (signed extends true ? Signature : ExactPartial>); type AuthorizationList = readonly Authorization[]; type AuthorizationRequest = OneOf<{ /** Address of the contract to delegate to. */address: Address$1; } | { /** * Address of the contract to delegate to. * @alias `address` */ contractAddress: Address$1; }> & { /** Chain ID. */chainId: uint32; /** Nonce of the EOA to delegate to. */ nonce: uint32; }; type SignedAuthorization = Authorization; type SignedAuthorizationList = readonly SignedAuthorization[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/eip4844.d.ts type BlobSidecar = { /** The blob associated with the transaction. */blob: type; /** The KZG commitment corresponding to this blob. */ commitment: type; /** The KZG proof corresponding to this blob and commitment. */ proof: type; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/fee.d.ts type FeeHistory = { /** * An array of block base fees per gas (in wei). This includes the next block after * the newest of the returned range, because this value can be derived from the newest block. * Zeroes are returned for pre-EIP-1559 blocks. */ baseFeePerGas: quantity[]; /** An array of block gas used ratios. These are calculated as the ratio of gasUsed and gasLimit. */ gasUsedRatio: number[]; /** Lowest number block of the returned range. */ oldestBlock: quantity; /** An array of effective priority fees (in wei) per gas data points from a single block. All zeroes are returned if the block is empty. */ reward?: quantity[][] | undefined; }; type FeeValuesLegacy = { /** Base fee per gas. */gasPrice: quantity; maxFeePerBlobGas?: undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; }; type FeeValuesEIP1559 = { gasPrice?: undefined; maxFeePerBlobGas?: undefined; /** Total fee per gas in wei (gasPrice/baseFeePerGas + maxPriorityFeePerGas). */ maxFeePerGas: quantity; /** Max priority fee per gas (in wei). */ maxPriorityFeePerGas: quantity; }; type FeeValuesEIP4844 = { gasPrice?: undefined; /** Maximum total fee per gas sender is willing to pay for blob gas (in wei). */ maxFeePerBlobGas: quantity; /** Total fee per gas in wei (gasPrice/baseFeePerGas + maxPriorityFeePerGas). */ maxFeePerGas: quantity; /** Max priority fee per gas (in wei). */ maxPriorityFeePerGas: quantity; }; type FeeValuesType = 'legacy' | 'eip1559' | 'eip4844'; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/kzg.d.ts type Kzg = { /** * Convert a blob to a KZG commitment. */ blobToKzgCommitment(blob: ByteArray): ByteArray; /** * Given a blob, return the KZG proof that is used to verify it against the * commitment. */ computeBlobKzgProof(blob: ByteArray, commitment: ByteArray): ByteArray; }; type GetTransactionRequestKzgParameter = MaybeRequired<{ /** KZG implementation */kzg?: Kzg | undefined; }, request extends { account: LocalAccount; blobs: TransactionRequestEIP4844['blobs']; } ? true : false>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/contract.d.ts type ContractFunctionName = ExtractAbiFunctionNames extends infer functionName extends string ? [functionName] extends [never] ? string : functionName : string; type ContractEventName = ExtractAbiEventNames extends infer eventName extends string ? [eventName] extends [never] ? string : eventName : string; type ContractFunctionArgs = ContractFunctionName> = AbiParametersToPrimitiveTypes['inputs'], 'inputs', true> extends infer args ? [args] extends [never] ? readonly unknown[] : args : readonly unknown[]; type ContractConstructorArgs = AbiParametersToPrimitiveTypes['inputs'], 'inputs', true> extends infer args ? [args] extends [never] ? readonly unknown[] : args : readonly unknown[]; type ContractEventArgs = ContractEventName> = AbiEventParametersToPrimitiveTypes['inputs']> extends infer args ? [args] extends [never] ? readonly unknown[] | Record : args : readonly unknown[] | Record; type Widen = ([unknown] extends [type] ? unknown : never) | (type extends Function ? type : never) | (type extends ResolvedRegister$1['BigIntType'] ? bigint : never) | (type extends boolean ? boolean : never) | (type extends ResolvedRegister$1['IntType'] ? number : never) | (type extends string ? type extends ResolvedRegister$1['AddressType'] ? ResolvedRegister$1['AddressType'] : type extends ResolvedRegister$1['BytesType']['inputs'] ? ResolvedRegister$1['BytesType'] : string : never) | (type extends readonly [] ? readonly [] : never) | (type extends Record ? { [K in keyof type]: Widen } : never) | (type extends { length: number; } ? { [K in keyof type]: Widen } extends infer Val extends readonly unknown[] ? readonly [...Val] : never : never); type UnionWiden = type extends any ? Widen : never; type ExtractAbiFunctionForArgs, args extends ContractFunctionArgs> = ExtractAbiFunction extends infer abiFunction extends AbiFunction ? IsUnion extends true ? UnionToTuple extends infer abiFunctions extends readonly AbiFunction[] ? { [k in keyof abiFunctions]: CheckArgs }[number] : never : abiFunction : never; type CheckArgs = AbiParametersToPrimitiveTypes> = (readonly [] extends args ? readonly [] : args) extends targetArgs ? abiFunction : never; type ContractFunctionParameters = ContractFunctionName, args extends ContractFunctionArgs = ContractFunctionArgs, deployless extends boolean = false, allFunctionNames = ContractFunctionName, allArgs = ContractFunctionArgs, abiFunction = ExtractAbiFunction> = { abi: abi; functionName: allFunctionNames | (functionName extends allFunctionNames ? functionName : never); } & (readonly [] extends allArgs ? { args?: allArgs | (abi extends Abi ? Abi extends abi ? never : UnionWiden extends true ? args : allArgs> : never) | undefined; } : { args: IsUnion extends true ? args : allArgs; }) & (deployless extends true ? { address?: undefined; code: Hex$1; } : { address: Address$1; }); type ContractFunctionReturnType = ContractFunctionName, args extends ContractFunctionArgs = ContractFunctionArgs> = abi extends Abi ? Abi extends abi ? unknown : AbiParametersToPrimitiveTypes['outputs'], 'outputs', true> extends infer types ? types extends readonly [] ? void : types extends readonly [infer type] ? type : types : never : unknown; type GetValue : AbiFunction), _Narrowable extends boolean = IsNarrowable> = _Narrowable extends true ? abiFunction['stateMutability'] extends 'payable' ? { value?: NoInfer | undefined; } : abiFunction['payable'] extends true ? { value?: NoInfer | undefined; } : { value?: undefined; } : { value?: NoInfer | undefined; }; type MaybeAbiEventName = abiEvent extends AbiEvent ? abiEvent['name'] : undefined; type MaybeExtractEventArgsFromAbi = abi extends Abi | readonly unknown[] ? eventName extends string ? GetEventArgs : undefined : undefined; type GetEventArgs : AbiEvent & { type: 'event'; }), args = AbiEventParametersToPrimitiveTypes> = args extends Record ? readonly unknown[] | Record : args; type EventParameterOptions = { EnableUnion?: boolean; IndexedOnly?: boolean; Required?: boolean; }; type DefaultEventParameterOptions = { EnableUnion: true; IndexedOnly: true; Required: false; }; type AbiEventParametersToPrimitiveTypes = abiParameters extends readonly [] ? readonly [] : Filter$1 extends infer Filtered extends readonly AbiParameter[] ? _HasUnnamedAbiParameter extends true ? readonly [...{ [K in keyof Filtered]: AbiEventParameterToPrimitiveType }] | (_options['Required'] extends true ? never : Filtered extends readonly [...infer Head extends readonly AbiParameter[], infer _] ? AbiEventParametersToPrimitiveTypes }], _options> : never) : { [Parameter in Filtered[number] as Parameter extends { name: infer Name extends string; } ? Name : never]?: AbiEventParameterToPrimitiveType | undefined } extends infer Mapped ? Prettify> : never : never; type _HasUnnamedAbiParameter = abiParameters extends readonly [infer Head extends AbiParameter, ...infer Tail extends readonly AbiParameter[]] ? Head extends { name: string; } ? Head['name'] extends '' ? true : _HasUnnamedAbiParameter : true : false; /** * @internal */ type LogTopicType = topic extends Hex$1 ? primitiveType : topic extends Hex$1[] ? primitiveType[] : topic extends null ? null : never; /** * @internal */ type AbiEventParameterToPrimitiveType> = _options['EnableUnion'] extends true ? LogTopicType<_type> : _type; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/log.d.ts type Log = { /** The address from which this log originated */address: Address$1; /** Hash of block containing this log or `null` if pending */ blockHash: pending extends true ? null : Hash; /** Number of block containing this log or `null` if pending */ blockNumber: pending extends true ? null : quantity; /** Timestamp of block containing this log or `null` if pending */ blockTimestamp?: (pending extends true ? null : quantity) | undefined; /** Contains the non-indexed arguments of the log */ data: Hex$1; /** Index of this log within its block or `null` if pending */ logIndex: pending extends true ? null : index; /** Hash of the transaction that created this log or `null` if pending */ transactionHash: pending extends true ? null : Hash; /** Index of the transaction that created this log or `null` if pending */ transactionIndex: pending extends true ? null : index; /** `true` if this filter has been destroyed and is invalid */ removed: boolean; } & GetInferredLogValues; type Topics = head extends readonly [infer _Head, ...infer Tail extends AbiEvent['inputs']] ? _Head extends { indexed: true; } ? [Hex$1, ...Topics] : Topics : base; type GetTopics : undefined : undefined), _Args = (_AbiEvent extends AbiEvent ? AbiEventParametersToPrimitiveTypes<_AbiEvent['inputs']> : never), _FailedToParseArgs = ([_Args] extends [never] ? true : false) | (readonly unknown[] extends _Args ? true : false)> = true extends _FailedToParseArgs ? [Hex$1, ...Hex$1[]] | [] : abiEvent extends AbiEvent ? Topics : _AbiEvent extends AbiEvent ? Topics<_AbiEvent['inputs']> : [Hex$1, ...Hex$1[]] | []; type GetInferredLogValues : string)> = abi extends Abi ? eventName extends string ? { args: GetEventArgs; /** The event name decoded from `topics`. */ eventName: eventName; /** List of order-dependent topics */ topics: GetTopics; } : { [name in _EventNames]: { args: GetEventArgs; /** The event name decoded from `topics`. */ eventName: name; /** List of order-dependent topics */ topics: GetTopics; } }[_EventNames] : { topics: [Hex$1, ...Hex$1[]] | []; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/transaction.d.ts type AccessList = readonly { address: Address$1; storageKeys: readonly Hex$1[]; }[]; type TransactionType$1 = 'legacy' | 'eip1559' | 'eip2930' | 'eip4844' | 'eip7702' | (string & {}); type TransactionReceipt = { /** The actual value per gas deducted from the sender's account for blob gas. Only specified for blob transactions as defined by EIP-4844. */blobGasPrice?: quantity | undefined; /** The amount of blob gas used. Only specified for blob transactions as defined by EIP-4844. */ blobGasUsed?: quantity | undefined; /** Hash of block containing this transaction */ blockHash: Hash; /** Number of block containing this transaction */ blockNumber: quantity; /** Unix timestamp of when this block was collated */ blockTimestamp?: quantity | undefined; /** Address of new contract or `null` if no contract was created */ contractAddress: Address$1 | null | undefined; /** Gas used by this and all preceding transactions in this block */ cumulativeGasUsed: quantity; /** Pre-London, it is equal to the transaction's gasPrice. Post-London, it is equal to the actual gas price paid for inclusion. */ effectiveGasPrice: quantity; /** Transaction sender */ from: Address$1; /** Gas used by this transaction */ gasUsed: quantity; /** List of log objects generated by this transaction */ logs: Log[]; /** Logs bloom filter */ logsBloom: Hex$1; /** The post-transaction state root. Only specified for transactions included before the Byzantium upgrade. */ root?: Hash | undefined; /** `success` if this transaction was successful or `reverted` if it failed */ status: status; /** Transaction recipient or `null` if deploying a contract */ to: Address$1 | null; /** Hash of this transaction */ transactionHash: Hash; /** Index of this transaction in the block */ transactionIndex: index; /** Transaction type */ type: type; }; type TransactionBase = { /** Hash of block containing this transaction or `null` if pending */blockHash: isPending extends true ? null : Hash; /** Number of block containing this transaction or `null` if pending */ blockNumber: isPending extends true ? null : quantity; /** Transaction sender */ from: Address$1; /** Gas provided for transaction execution */ gas: quantity; /** Hash of this transaction */ hash: Hash; /** Contract code or a hashed method call */ input: Hex$1; /** Unique number identifying this transaction */ nonce: index; /** ECDSA signature r */ r: Hex$1; /** ECDSA signature s */ s: Hex$1; /** Transaction recipient or `null` if deploying a contract */ to: Address$1 | null; /** Index of this transaction in the block or `null` if pending */ transactionIndex: isPending extends true ? null : index; /** The type represented as hex. */ typeHex: Hex$1 | null; /** ECDSA recovery ID */ v: quantity; /** Value in wei sent with this transaction */ value: quantity; /** The parity of the y-value of the secp256k1 signature. */ yParity: index; }; type TransactionLegacy = Omit$1, 'yParity'> & { /** EIP-2930 Access List. */accessList?: undefined; authorizationList?: undefined; blobVersionedHashes?: undefined; /** Chain ID that this transaction is valid on. */ chainId?: index | undefined; yParity?: undefined; type: type; } & FeeValuesLegacy; type TransactionEIP2930 = TransactionBase & { /** EIP-2930 Access List. */accessList: AccessList; authorizationList?: undefined; blobVersionedHashes?: undefined; /** Chain ID that this transaction is valid on. */ chainId: index; type: type; } & FeeValuesLegacy; type TransactionEIP1559 = TransactionBase & { /** EIP-2930 Access List. */accessList: AccessList; authorizationList?: undefined; blobVersionedHashes?: undefined; /** Chain ID that this transaction is valid on. */ chainId: index; type: type; } & FeeValuesEIP1559; type TransactionEIP4844 = TransactionBase & { /** EIP-2930 Access List. */accessList: AccessList; authorizationList?: undefined; /** List of versioned blob hashes associated with the transaction's blobs. */ blobVersionedHashes: readonly Hex$1[]; /** Chain ID that this transaction is valid on. */ chainId: index; type: type; } & FeeValuesEIP4844; type TransactionEIP7702 = TransactionBase & { /** EIP-2930 Access List. */accessList: AccessList; /** Authorization list for the transaction. */ authorizationList: SignedAuthorizationList; blobVersionedHashes?: undefined; /** Chain ID that this transaction is valid on. */ chainId: index; type: type; } & FeeValuesEIP1559; type Transaction = OneOf | TransactionEIP2930 | TransactionEIP1559 | TransactionEIP4844 | TransactionEIP7702>; type TransactionRequestBase = { /** Contract code or a hashed method call with encoded args */data?: Hex$1 | undefined; /** Transaction sender */ from?: Address$1 | undefined; /** Gas provided for transaction execution */ gas?: quantity | undefined; /** Unique number identifying this transaction */ nonce?: index | undefined; /** Transaction recipient */ to?: Address$1 | null | undefined; /** Transaction type */ type?: type | undefined; /** Value in wei sent with this transaction */ value?: quantity | undefined; }; type TransactionRequestLegacy = TransactionRequestBase & ExactPartial>; type TransactionRequestEIP2930 = TransactionRequestBase & ExactPartial> & { accessList?: AccessList | undefined; }; type TransactionRequestEIP1559 = TransactionRequestBase & ExactPartial> & { accessList?: AccessList | undefined; }; type TransactionRequestEIP4844 = RequiredBy, 'to'> & ExactPartial> & { accessList?: AccessList | undefined; sidecars?: readonly BlobSidecar[] | undefined; } & OneOf<{ blobs?: readonly Hex$1[] | readonly ByteArray[] | undefined; blobVersionedHashes: readonly Hex$1[]; } | { blobs: readonly Hex$1[] | readonly ByteArray[]; blobVersionedHashes?: readonly Hex$1[] | undefined; kzg?: Kzg | undefined; }>; type TransactionRequestEIP7702 = TransactionRequestBase & ExactPartial> & { accessList?: AccessList | undefined; authorizationList?: AuthorizationList | undefined; }; type TransactionRequest = OneOf | TransactionRequestEIP2930 | TransactionRequestEIP1559 | TransactionRequestEIP4844 | TransactionRequestEIP7702>; type TransactionRequestGeneric = TransactionRequestBase & { accessList?: AccessList | undefined; blobs?: readonly Hex$1[] | readonly ByteArray[] | undefined; blobVersionedHashes?: readonly Hex$1[] | undefined; gasPrice?: quantity | undefined; maxFeePerBlobGas?: quantity | undefined; maxFeePerGas?: quantity | undefined; maxPriorityFeePerGas?: quantity | undefined; type?: string | undefined; }; type TransactionSerializedEIP1559 = `0x02${string}`; type TransactionSerializedEIP2930 = `0x01${string}`; type TransactionSerializedEIP4844 = `0x03${string}`; type TransactionSerializedEIP7702 = `0x04${string}`; type TransactionSerializedLegacy = Branded<`0x${string}`, 'legacy'>; type TransactionSerializedGeneric = `0x${string}`; type TransactionSerialized = IsNever extends true ? TransactionSerializedGeneric : result; type TransactionSerializableBase = Omit$1, 'from'> & ExactPartial; type TransactionSerializableLegacy = TransactionSerializableBase & ExactPartial> & { chainId?: number | undefined; type?: 'legacy' | undefined; }; type TransactionSerializableEIP2930 = TransactionSerializableBase & ExactPartial> & { accessList?: AccessList | undefined; chainId: number; type?: 'eip2930' | undefined; yParity?: number | undefined; }; type TransactionSerializableEIP1559 = TransactionSerializableBase & ExactPartial> & { accessList?: AccessList | undefined; chainId: number; type?: 'eip1559' | undefined; yParity?: number | undefined; }; type TransactionSerializableEIP4844 = RequiredBy, 'to'> & ExactPartial> & { accessList?: AccessList | undefined; chainId: number; sidecars?: readonly BlobSidecar[] | (nullableSidecars extends true ? false : never) | undefined; type?: 'eip4844' | undefined; yParity?: number | undefined; } & OneOf<{ blobs?: readonly Hex$1[] | readonly ByteArray[] | undefined; blobVersionedHashes: readonly Hex$1[]; } | { blobs: readonly Hex$1[] | readonly ByteArray[]; blobVersionedHashes?: readonly Hex$1[] | undefined; kzg: Kzg; }>; type TransactionSerializableEIP7702 = TransactionSerializableBase & ExactPartial> & { accessList?: AccessList | undefined; authorizationList: SignedAuthorizationList; chainId: number; type?: 'eip7702' | undefined; yParity?: number | undefined; }; type TransactionSerializable = OneOf | TransactionSerializableEIP2930 | TransactionSerializableEIP1559 | TransactionSerializableEIP4844 | TransactionSerializableEIP7702>; type TransactionSerializableGeneric = TransactionSerializableBase & { accessList?: AccessList | undefined; authorizationList?: AuthorizationList | undefined; blobs?: readonly Hex$1[] | readonly ByteArray[] | undefined; blobVersionedHashes?: readonly Hex$1[] | undefined; chainId?: number | undefined; gasPrice?: quantity | undefined; maxFeePerBlobGas?: quantity | undefined; maxFeePerGas?: quantity | undefined; maxPriorityFeePerGas?: quantity | undefined; sidecars?: readonly BlobSidecar[] | false | undefined; type?: string | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/typedData.d.ts type TypedDataDefinition = TypedData, primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData, primaryTypes = (typedData extends TypedData ? keyof typedData : string)> = primaryType extends 'EIP712Domain' ? EIP712DomainDefinition : MessageDefinition; type MessageDefinition = TypedData, primaryType extends keyof typedData = keyof typedData, messageKey extends string = 'message', primaryTypes = (typedData extends TypedData ? keyof typedData : string), schema extends Record = (typedData extends TypedData ? TypedDataToPrimitiveTypes : Record), message = schema[primaryType extends keyof schema ? primaryType : keyof schema]> = { types: typedData; } & { primaryType: primaryTypes | (primaryType extends primaryTypes ? primaryType : never); domain?: (schema extends { EIP712Domain: infer domain; } ? domain : Prettify) | undefined; } & { [k in messageKey]: { [_: string]: any; } extends message ? Record : message }; type EIP712DomainDefinition = TypedData, primaryType extends 'EIP712Domain' = 'EIP712Domain', schema extends Record = (typedData extends TypedData ? TypedDataToPrimitiveTypes : Record)> = { types?: typedData | undefined; } & { primaryType: 'EIP712Domain' | primaryType; domain: schema extends { EIP712Domain: infer domain; } ? domain : Prettify; message?: undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/withdrawal.d.ts type Withdrawal = { address: Hex$1; amount: Hex$1; index: Hex$1; validatorIndex: Hex$1; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/block.d.ts type Block> = { /** Base fee per gas */baseFeePerGas: quantity | null; /** Total used blob gas by all transactions in this block */ blobGasUsed: quantity; /** Difficulty for this block */ difficulty: quantity; /** Excess blob gas */ excessBlobGas: quantity; /** "Extra data" field of this block */ extraData: Hex$1; /** Maximum gas allowed in this block */ gasLimit: quantity; /** Total used gas by all transactions in this block */ gasUsed: quantity; /** Block hash or `null` if pending */ hash: blockTag extends 'pending' ? null : Hash; /** Logs bloom filter or `null` if pending */ logsBloom: blockTag extends 'pending' ? null : Hex$1; /** Address that received this block’s mining rewards, COINBASE address */ miner: Address$1; /** Unique identifier for the block. */ mixHash: Hash; /** Proof-of-work hash or `null` if pending */ nonce: blockTag extends 'pending' ? null : Hex$1; /** Block number or `null` if pending */ number: blockTag extends 'pending' ? null : quantity; /** Root of the parent beacon chain block */ parentBeaconBlockRoot?: Hex$1 | undefined; /** Parent block hash */ parentHash: Hash; /** Root of the this block’s receipts trie */ receiptsRoot: Hex$1; sealFields: Hex$1[]; /** SHA3 of the uncles data in this block */ sha3Uncles: Hash; /** Size of this block in bytes */ size: quantity; /** Root of this block’s final state trie */ stateRoot: Hash; /** Unix timestamp of when this block was collated */ timestamp: quantity; /** Total difficulty of the chain until this block */ totalDifficulty: quantity | null; /** List of transaction objects or hashes */ transactions: includeTransactions extends true ? transaction[] : Hash[]; /** Root of this block’s transaction trie */ transactionsRoot: Hash; /** List of uncle hashes */ uncles: Hash[]; /** List of withdrawal objects */ withdrawals?: Withdrawal[] | undefined; /** Root of the this block’s withdrawals trie */ withdrawalsRoot?: Hex$1 | undefined; }; type BlockIdentifier = { /** Whether or not to throw an error if the block is not in the canonical chain as described below. Only allowed in conjunction with the blockHash tag. Defaults to false. */requireCanonical?: boolean | undefined; } & ({ /** The block in the canonical chain with this number */blockNumber: BlockNumber; } | { /** The block uniquely identified by this hash. The `blockNumber` and `blockHash` properties are mutually exclusive; exactly one of them must be set. */blockHash: Hash; }); /** Represents a block number in the blockchain. */ type BlockNumber = quantity; /** * Specifies a particular block in the blockchain. * * - `"latest"`: the latest proposed block * - `"earliest"`: the earliest/genesis block – lowest numbered block the client has available * - `"pending"`: pending state/transactions – next block built by the client on top * of unsafe and containing the set of transactions usually taken from local mempool * - `"safe"`: the latest safe head block – the most recent block that is safe from * re-orgs under honest majority and certain synchronicity assumptions * - `"finalized"`: the latest finalized block – the most recent crypto-economically secure block; * cannot be re-orged outside of manual intervention driven by community coordination * * Using `pending`, while allowed, is not advised, as it may lead * to internally inconsistent results. Use of `latest` is safe and will not * lead to inconsistent results. Depending on the backing RPC networks caching system, * the usage of `pending` may lead to inconsistencies as a result of an * overly aggressive cache system. This may cause downstream errors/invalid states. */ type BlockTag = 'latest' | 'earliest' | 'pending' | 'safe' | 'finalized'; type Uncle> = Block; //#endregion //#region node_modules/.pnpm/ox@0.14.7_typescript@6.0.2_zod@4.3.6/node_modules/ox/_types/core/RpcResponse.d.ts /** JSON-RPC error object as per the [JSON-RPC 2.0 specification](https://www.jsonrpc.org/specification#error_object). */ type ErrorObject = { code: number; message: string; data?: unknown | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/proof.d.ts type AccountProof = Hash; type StorageProof = { key: Hash; proof: Hash[]; value: quantity; }; type Proof = { address: Address$1; balance: quantity; codeHash: Hash; nonce: index; storageHash: Hash; accountProof: AccountProof[]; storageProof: StorageProof[]; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/rpc.d.ts type Index = `0x${string}`; type Quantity = `0x${string}`; type Status = '0x0' | '0x1'; type TransactionType = '0x0' | '0x1' | '0x2' | '0x3' | '0x4' | (string & {}); type RpcAuthorization = { /** Address of the contract to set as code for the Authority. */address: Address$1; /** Chain ID to authorize. */ chainId: Hex$1; /** Nonce of the Authority to authorize. */ nonce: Hex$1; /** ECDSA r value. */ r: Hex$1; /** ECDSA s value. */ s: Hex$1; /** y parity. */ yParity: Hex$1; }; type RpcAuthorizationList = readonly RpcAuthorization[]; type RpcBlock> = Block; type RpcBlockNumber = BlockNumber; type RpcBlockIdentifier = BlockIdentifier; type RpcUncle = Uncle; type RpcFeeHistory = FeeHistory; type RpcLog = Log; type RpcProof = Proof; type RpcTransactionReceipt = TransactionReceipt; type RpcTransactionRequest = OneOf | TransactionRequestEIP2930 | TransactionRequestEIP1559 | TransactionRequestEIP4844 | (Omit$1, 'authorizationList'> & { authorizationList?: RpcAuthorizationList | undefined; })>; type RpcTransaction = OneOf, 'typeHex'> | PartialBy, 'typeHex'>, 'yParity'> | PartialBy, 'typeHex'>, 'yParity'> | PartialBy, 'typeHex'>, 'yParity'> | PartialBy, 'authorizationList' | 'typeHex'> & { authorizationList?: RpcAuthorizationList | undefined; }, 'yParity'>>; /** A key-value mapping of slot and storage values (supposedly 32 bytes each) */ type RpcStateMapping = { [slots: Hex$1]: Hex$1; }; type RpcAccountStateOverride = { /** Fake balance to set for the account before executing the call. <32 bytes */balance?: Hex$1 | undefined; /** Fake nonce to set for the account before executing the call. <8 bytes */ nonce?: Hex$1 | undefined; /** Fake EVM bytecode to inject into the account before executing the call. */ code?: Hex$1 | undefined; /** Fake key-value mapping to override all slots in the account storage before executing the call. */ state?: RpcStateMapping | undefined; /** Fake key-value mapping to override individual slots in the account storage before executing the call. */ stateDiff?: RpcStateMapping | undefined; }; type RpcStateOverride = { [address: Address$1]: RpcAccountStateOverride; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/account-abstraction/types/userOperation.d.ts /** @link https://eips.ethereum.org/EIPS/eip-4337#-eth_estimateuseroperationgas */ type EstimateUserOperationGasReturnType = OneOf<(entryPointVersion extends '0.9' ? { preVerificationGas: uint256; verificationGasLimit: uint256; callGasLimit: uint256; paymasterVerificationGasLimit?: uint256 | undefined; paymasterPostOpGasLimit?: uint256 | undefined; } : never) | (entryPointVersion extends '0.8' ? { preVerificationGas: uint256; verificationGasLimit: uint256; callGasLimit: uint256; paymasterVerificationGasLimit?: uint256 | undefined; paymasterPostOpGasLimit?: uint256 | undefined; } : never) | (entryPointVersion extends '0.7' ? { preVerificationGas: uint256; verificationGasLimit: uint256; callGasLimit: uint256; paymasterVerificationGasLimit?: uint256 | undefined; paymasterPostOpGasLimit?: uint256 | undefined; } : never) | (entryPointVersion extends '0.6' ? { preVerificationGas: uint256; verificationGasLimit: uint256; callGasLimit: uint256; } : never)>; /** @link https://eips.ethereum.org/EIPS/eip-4337#-eth_getuseroperationbyhash */ type GetUserOperationByHashReturnType = { blockHash: Hash; blockNumber: uint256; entryPoint: Address$1; transactionHash: Hash; userOperation: UserOperation; }; /** @link https://eips.ethereum.org/EIPS/eip-4337#useroperation */ type UserOperation = OneOf<(entryPointVersion extends '0.9' ? { /** Authorization data. */authorization?: SignedAuthorization | undefined; /** The data to pass to the `sender` during the main execution call. */ callData: Hex$1; /** The amount of gas to allocate the main execution call */ callGasLimit: uint256; /** Account factory. Only for new accounts. */ factory?: Address$1 | undefined; /** Data for account factory. */ factoryData?: Hex$1 | undefined; /** Maximum fee per gas. */ maxFeePerGas: uint256; /** Maximum priority fee per gas. */ maxPriorityFeePerGas: uint256; /** Anti-replay parameter. */ nonce: uint256; /** Address of paymaster contract. */ paymaster?: Address$1 | undefined; /** Data for paymaster. */ paymasterData?: Hex$1 | undefined; /** The amount of gas to allocate for the paymaster post-operation code. */ paymasterPostOpGasLimit?: uint256 | undefined; /** Paymaster signature. Can be provided separately for parallelizable signing. */ paymasterSignature?: Hex$1 | undefined; /** The amount of gas to allocate for the paymaster validation code. */ paymasterVerificationGasLimit?: uint256 | undefined; /** Extra gas to pay the Bundler. */ preVerificationGas: uint256; /** The account making the operation. */ sender: Address$1; /** Data passed into the account to verify authorization. */ signature: Hex$1; /** The amount of gas to allocate for the verification step. */ verificationGasLimit: uint256; } : never) | (entryPointVersion extends '0.8' ? { /** Authorization data. */authorization?: SignedAuthorization | undefined; /** The data to pass to the `sender` during the main execution call. */ callData: Hex$1; /** The amount of gas to allocate the main execution call */ callGasLimit: uint256; /** Account factory. Only for new accounts. */ factory?: Address$1 | undefined; /** Data for account factory. */ factoryData?: Hex$1 | undefined; /** Maximum fee per gas. */ maxFeePerGas: uint256; /** Maximum priority fee per gas. */ maxPriorityFeePerGas: uint256; /** Anti-replay parameter. */ nonce: uint256; /** Address of paymaster contract. */ paymaster?: Address$1 | undefined; /** Data for paymaster. */ paymasterData?: Hex$1 | undefined; /** The amount of gas to allocate for the paymaster post-operation code. */ paymasterPostOpGasLimit?: uint256 | undefined; /** The amount of gas to allocate for the paymaster validation code. */ paymasterVerificationGasLimit?: uint256 | undefined; /** Extra gas to pay the Bundler. */ preVerificationGas: uint256; /** The account making the operation. */ sender: Address$1; /** Data passed into the account to verify authorization. */ signature: Hex$1; /** The amount of gas to allocate for the verification step. */ verificationGasLimit: uint256; } : never) | (entryPointVersion extends '0.7' ? { /** Authorization data. */authorization?: SignedAuthorization | undefined; /** The data to pass to the `sender` during the main execution call. */ callData: Hex$1; /** The amount of gas to allocate the main execution call */ callGasLimit: uint256; /** Account factory. Only for new accounts. */ factory?: Address$1 | undefined; /** Data for account factory. */ factoryData?: Hex$1 | undefined; /** Maximum fee per gas. */ maxFeePerGas: uint256; /** Maximum priority fee per gas. */ maxPriorityFeePerGas: uint256; /** Anti-replay parameter. */ nonce: uint256; /** Address of paymaster contract. */ paymaster?: Address$1 | undefined; /** Data for paymaster. */ paymasterData?: Hex$1 | undefined; /** The amount of gas to allocate for the paymaster post-operation code. */ paymasterPostOpGasLimit?: uint256 | undefined; /** The amount of gas to allocate for the paymaster validation code. */ paymasterVerificationGasLimit?: uint256 | undefined; /** Extra gas to pay the Bundler. */ preVerificationGas: uint256; /** The account making the operation. */ sender: Address$1; /** Data passed into the account to verify authorization. */ signature: Hex$1; /** The amount of gas to allocate for the verification step. */ verificationGasLimit: uint256; } : never) | (entryPointVersion extends '0.6' ? { /** Authorization data. */authorization?: SignedAuthorization | undefined; /** The data to pass to the `sender` during the main execution call. */ callData: Hex$1; /** The amount of gas to allocate the main execution call */ callGasLimit: uint256; /** Account init code. Only for new accounts. */ initCode?: Hex$1 | undefined; /** Maximum fee per gas. */ maxFeePerGas: uint256; /** Maximum priority fee per gas. */ maxPriorityFeePerGas: uint256; /** Anti-replay parameter. */ nonce: uint256; /** Paymaster address with calldata. */ paymasterAndData?: Hex$1 | undefined; /** Extra gas to pay the Bundler. */ preVerificationGas: uint256; /** The account making the operation. */ sender: Address$1; /** Data passed into the account to verify authorization. */ signature: Hex$1; /** The amount of gas to allocate for the verification step. */ verificationGasLimit: uint256; } : never)>; type UserOperationRequest = OneOf<(entryPointVersion extends '0.9' ? UnionPartialBy, keyof EstimateUserOperationGasReturnType<'0.9'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never) | (entryPointVersion extends '0.8' ? UnionPartialBy, keyof EstimateUserOperationGasReturnType<'0.8'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never) | (entryPointVersion extends '0.7' ? UnionPartialBy, keyof EstimateUserOperationGasReturnType<'0.7'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never) | (entryPointVersion extends '0.6' ? UnionPartialBy, keyof EstimateUserOperationGasReturnType<'0.6'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never)>; /** @link https://eips.ethereum.org/EIPS/eip-4337#-eth_getuseroperationreceipt */ type UserOperationReceipt<_entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint, int32 = number, status = 'success' | 'reverted'> = { /** Actual gas cost. */actualGasCost: uint256; /** Actual gas used. */ actualGasUsed: uint256; /** Entrypoint address. */ entryPoint: Address$1; /** Logs emitted during execution. */ logs: Log[]; /** Anti-replay parameter. */ nonce: uint256; /** Paymaster for the user operation. */ paymaster?: Address$1 | undefined; /** Revert reason, if unsuccessful. */ reason?: string | undefined; /** Transaction receipt of the user operation execution. */ receipt: TransactionReceipt; sender: Address$1; /** If the user operation execution was successful. */ success: boolean; /** Hash of the user operation. */ userOpHash: Hash; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/account-abstraction/types/rpc.d.ts type RpcEstimateUserOperationGasReturnType = EstimateUserOperationGasReturnType; type RpcGetUserOperationByHashReturnType = GetUserOperationByHashReturnType; type RpcUserOperation = UserOperation & { eip7702Auth?: RpcAuthorization; }; type RpcUserOperationReceipt = UserOperationReceipt; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/promise/withRetry.d.ts type WithRetryParameters = { delay?: ((config: { count: number; error: Error; }) => number) | number | undefined; retryCount?: number | undefined; shouldRetry?: (({ count, error }: { count: number; error: Error; }) => Promise | boolean) | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/experimental/erc7895/actions/addSubAccount.d.ts type AddSubAccountParameters = Prettify>; type AddSubAccountReturnType = Prettify<{ address: Address$1; factory?: Address$1 | undefined; factoryData?: Hex$1 | undefined; }>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/siwe/types.d.ts /** * @description EIP-4361 message fields * * @see https://eips.ethereum.org/EIPS/eip-4361 */ type SiweMessage = { /** * The Ethereum address performing the signing. */ address: Address$1; /** * The [EIP-155](https://eips.ethereum.org/EIPS/eip-155) Chain ID to which the session is bound, */ chainId: number; /** * [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986) authority that is requesting the signing. */ domain: string; /** * Time when the signed authentication message is no longer valid. */ expirationTime?: Date | undefined; /** * Time when the message was generated, typically the current time. */ issuedAt?: Date | undefined; /** * A random string typically chosen by the relying party and used to prevent replay attacks. */ nonce: string; /** * Time when the signed authentication message will become valid. */ notBefore?: Date | undefined; /** * A system-specific identifier that may be used to uniquely refer to the sign-in request. */ requestId?: string | undefined; /** * A list of information or references to information the user wishes to have resolved as part of authentication by the relying party. */ resources?: string[] | undefined; /** * [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) URI scheme of the origin of the request. */ scheme?: string | undefined; /** * A human-readable ASCII assertion that the user will sign. */ statement?: string | undefined; /** * [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986) URI referring to the resource that is the subject of the signing (as in the subject of a claim). */ uri: string; /** * The current version of the SIWE Message. */ version: '1'; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/register.d.ts interface Register {} type ResolvedRegister = { CapabilitiesSchema: Register extends { CapabilitiesSchema: infer schema; } ? schema : DefaultRegister['CapabilitiesSchema']; }; /** @internal */ type DefaultRegister = { CapabilitiesSchema: DefaultCapabilitiesSchema; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/capabilities.d.ts type CapabilitiesSchema = ResolvedRegister['CapabilitiesSchema']; type DefaultCapabilitiesSchema = { connect: { Request: { unstable_addSubAccount?: { account: AddSubAccountParameters; } | undefined; unstable_signInWithEthereum?: RequiredBy, 'chainId' | 'nonce'> | undefined; }; ReturnType: { unstable_signInWithEthereum?: { message: string; signature: Hex$1; } | undefined; unstable_subAccounts?: readonly AddSubAccountReturnType[] | undefined; }; }; getCapabilities: { ReturnType: { atomic?: { status: 'supported' | 'ready' | 'unsupported'; } | undefined; unstable_addSubAccount?: { keyTypes: ('address' | 'p256' | 'webcrypto-p256' | 'webauthn-p256')[]; supported: boolean; } | undefined; paymasterService?: { supported: boolean; } | undefined; }; }; sendCalls: { Request: { paymasterService?: { context?: Record | undefined; optional?: boolean | undefined; url: string; } | undefined; }; }; }; type Capabilities = {}> = { [key: string]: any; } & capabilities; type ChainIdToCapabilities = { [chainId in id]: capabilities }; type ExtractCapabilities = Prettify } ? Capabilities : Capabilities : Capabilities>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/eip1193.d.ts type EIP1474Methods = [...PublicRpcSchema, ...WalletRpcSchema, ...BundlerRpcSchema, ...PaymasterRpcSchema]; type AddEthereumChainParameter = { /** A 0x-prefixed hexadecimal string */chainId: string; /** The chain name. */ chainName: string; /** Native currency for the chain. */ nativeCurrency?: { name: string; symbol: string; decimals: number; } | undefined; rpcUrls: readonly string[]; blockExplorerUrls?: string[] | undefined; iconUrls?: string[] | undefined; }; type NetworkSync = { /** The current block number */currentBlock: Quantity; /** Number of latest block on the network */ highestBlock: Quantity; /** Block number at which syncing started */ startingBlock: Quantity; }; type WalletCallReceipt = { logs: { address: Hex$1; data: Hex$1; topics: Hex$1[]; }[]; status: status; blockHash: Hex$1; blockNumber: quantity; gasUsed: quantity; transactionHash: Hex$1; }; type WalletGrantPermissionsParameters = { signer?: { type: string; data?: unknown | undefined; } | undefined; permissions: readonly { data: unknown; policies: readonly { data: unknown; type: string; }[]; required?: boolean | undefined; type: string; }[]; expiry: number; }; type WalletGrantPermissionsReturnType = { expiry: number; factory?: `0x${string}` | undefined; factoryData?: string | undefined; grantedPermissions: readonly { data: unknown; policies: readonly { data: unknown; type: string; }[]; required?: boolean | undefined; type: string; }[]; permissionsContext: string; signerData?: { userOpBuilder?: `0x${string}` | undefined; submitToAddress?: `0x${string}` | undefined; } | undefined; }; type WalletGetAssetsParameters = { account: Address$1; assetFilter?: { [chainId: Hex$1]: readonly { address: Address$1; type: 'native' | 'erc20' | 'erc721' | (string & {}); }[]; } | undefined; assetTypeFilter?: readonly ('native' | 'erc20' | 'erc721' | (string & {}))[] | undefined; chainFilter?: readonly Hex$1[] | undefined; }; type WalletGetAssetsReturnType = { [chainId: Hex$1]: readonly { address: Address$1 | 'native'; balance: Hex$1; metadata?: unknown | undefined; type: 'native' | 'erc20' | 'erc721' | (string & {}); }[]; }; type WalletGetCallsStatusReturnType = { atomic: boolean; capabilities?: capabilities | Capabilities | undefined; chainId: numberType; id: string; receipts?: WalletCallReceipt[] | undefined; status: number; version: string; }; type WalletPermissionCaveat = { type: string; value: any; }; type WalletPermission = { caveats: WalletPermissionCaveat[]; date: number; id: string; invoker: `http://${string}` | `https://${string}`; parentCapability: 'eth_accounts' | string; }; type WalletSendCallsParameters = [{ atomicRequired: boolean; calls: readonly { capabilities?: capabilities | Capabilities | undefined; to?: Address$1 | undefined; data?: Hex$1 | undefined; value?: quantity | undefined; }[]; capabilities?: capabilities | Capabilities | undefined; chainId?: chainId | undefined; id?: string | undefined; from?: Address$1 | undefined; version: string; }]; type WalletSendCallsReturnType = { capabilities?: capabilities | undefined; id: string; }; type WatchAssetParams = { /** Token type. */type: 'ERC20'; options: { /** The address of the token contract */address: string; /** A ticker symbol or shorthand, up to 11 characters */ symbol: string; /** The number of token decimals */ decimals: number; /** A string url of the token logo */ image?: string | undefined; }; }; type BundlerRpcSchema = [ /** * @description Returns the chain ID associated with the current network * * @link https://eips.ethereum.org/EIPS/eip-4337#-eth_chainid */ { Method: 'eth_chainId'; Parameters?: undefined; ReturnType: Hex$1; }, /** * @description Estimate the gas values for a UserOperation. * * @link https://eips.ethereum.org/EIPS/eip-4337#-eth_estimateuseroperationgas * * @example * provider.request({ * method: 'eth_estimateUserOperationGas', * params: [{ ... }] * }) * // => { ... } */ { Method: 'eth_estimateUserOperationGas'; Parameters: [userOperation: RpcUserOperation, entrypoint: Address$1] | [userOperation: RpcUserOperation, entrypoint: Address$1, stateOverrideSet: RpcStateOverride]; ReturnType: RpcEstimateUserOperationGasReturnType; }, /** * @description Return a UserOperation based on a hash. * * @link https://eips.ethereum.org/EIPS/eip-4337#-eth_getuseroperationbyhash * * @example * provider.request({ * method: 'eth_getUserOperationByHash', * params: ['0x...'] * }) * // => { ... } */ { Method: 'eth_getUserOperationByHash'; Parameters: [hash: Hash]; ReturnType: RpcGetUserOperationByHashReturnType | null; }, /** * @description Return a UserOperation receipt based on a hash. * * @link https://eips.ethereum.org/EIPS/eip-4337#-eth_getuseroperationreceipt * * @example * provider.request({ * method: 'eth_getUserOperationReceipt', * params: ['0x...'] * }) * // => { ... } */ { Method: 'eth_getUserOperationReceipt'; Parameters: [hash: Hash]; ReturnType: RpcUserOperationReceipt | null; }, /** * @description Submits a User Operation object to the User Operation pool of the client. * * @link https://eips.ethereum.org/EIPS/eip-4337#-eth_senduseroperation * * @example * provider.request({ * method: 'eth_sendUserOperation', * params: [{ ... }] * }) * // => '0x...' */ { Method: 'eth_sendUserOperation'; Parameters: [userOperation: RpcUserOperation, entrypoint: Address$1]; ReturnType: Hash; }, /** * @description Return the list of supported entry points by the client. * * @link https://eips.ethereum.org/EIPS/eip-4337#-eth_supportedentrypoints */ { Method: 'eth_supportedEntryPoints'; Parameters?: undefined; ReturnType: readonly Address$1[]; }]; type PaymasterRpcSchema = [ /** * @description Returns the chain ID associated with the current network * * @link https://eips.ethereum.org/EIPS/eip-4337#-eth_chainid */ { Method: 'pm_getPaymasterStubData'; Parameters?: [userOperation: OneOf, 'callData' | 'callGasLimit' | 'initCode' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'preVerificationGas' | 'verificationGasLimit'>, 'callGasLimit' | 'initCode' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'preVerificationGas' | 'verificationGasLimit'> | PartialBy, 'callData' | 'callGasLimit' | 'factory' | 'factoryData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'preVerificationGas' | 'verificationGasLimit'>, 'callGasLimit' | 'factory' | 'factoryData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'preVerificationGas' | 'verificationGasLimit'>>, entrypoint: Address$1, chainId: Hex$1, context: unknown]; ReturnType: OneOf<{ paymasterAndData: Hex$1; } | { paymaster: Address$1; paymasterData: Hex$1; paymasterVerificationGasLimit: Hex$1; paymasterPostOpGasLimit: Hex$1; }> & { sponsor?: { name: string; icon?: string | undefined; } | undefined; isFinal?: boolean | undefined; }; }, /** * @description Returns values to be used in paymaster-related fields of a signed user operation. * * @link https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7677.md#pm_getpaymasterdata */ { Method: 'pm_getPaymasterData'; Parameters?: [userOperation: Pick, 'callData' | 'callGasLimit' | 'initCode' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'preVerificationGas' | 'verificationGasLimit'> | Pick, 'callData' | 'callGasLimit' | 'factory' | 'factoryData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'preVerificationGas' | 'verificationGasLimit'>, entrypoint: Address$1, chainId: Hex$1, context: unknown]; ReturnType: OneOf<{ paymasterAndData: Hex$1; } | { paymaster: Address$1; paymasterData: Hex$1; paymasterVerificationGasLimit: Hex$1; paymasterPostOpGasLimit: Hex$1; }>; }]; type PublicRpcSchema = [ /** * @description Returns the version of the current client * * @example * provider.request({ method: 'web3_clientVersion' }) * // => 'MetaMask/v1.0.0' */ { Method: 'web3_clientVersion'; Parameters?: undefined; ReturnType: string; }, /** * @description Hashes data using the Keccak-256 algorithm * * @example * provider.request({ method: 'web3_sha3', params: ['0x68656c6c6f20776f726c64'] }) * // => '0xc94770007dda54cF92009BFF0dE90c06F603a09f' */ { Method: 'web3_sha3'; Parameters: [data: Hash]; ReturnType: string; }, /** * @description Determines if this client is listening for new network connections * * @example * provider.request({ method: 'net_listening' }) * // => true */ { Method: 'net_listening'; Parameters?: undefined; ReturnType: boolean; }, /** * @description Returns the number of peers currently connected to this client * * @example * provider.request({ method: 'net_peerCount' }) * // => '0x1' */ { Method: 'net_peerCount'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Returns the chain ID associated with the current network * * @example * provider.request({ method: 'net_version' }) * // => '1' */ { Method: 'net_version'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Returns the base fee per blob gas in wei. * * @example * provider.request({ method: 'eth_blobBaseFee' }) * // => '0x09184e72a000' */ { Method: 'eth_blobBaseFee'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Returns the number of the most recent block seen by this client * * @example * provider.request({ method: 'eth_blockNumber' }) * // => '0x1b4' */ { Method: 'eth_blockNumber'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Executes a new message call immediately without submitting a transaction to the network * * @example * provider.request({ method: 'eth_call', params: [{ to: '0x...', data: '0x...' }] }) * // => '0x...' */ { Method: 'eth_call'; Parameters: readonly [transaction: ExactPartial] | readonly [transaction: ExactPartial, block: RpcBlockNumber | BlockTag | RpcBlockIdentifier] | readonly [transaction: ExactPartial, block: RpcBlockNumber | BlockTag | RpcBlockIdentifier, stateOverrideSet: RpcStateOverride] | readonly [transaction: ExactPartial, block: RpcBlockNumber | BlockTag | RpcBlockIdentifier, stateOverrideSet: RpcStateOverride, blockOverrides: Rpc]; ReturnType: Hex$1; }, /** * @description Creates an EIP-2930 access list that can be included in a transaction. * * @example * provider.request({ method: 'eth_createAccessList', params: [{ to: '0x...', data: '0x...' }] }) * // => { * // accessList: ['0x...', '0x...'], * // gasUsed: '0x123', * // } */ { Method: 'eth_createAccessList'; Parameters: [transaction: ExactPartial] | [transaction: ExactPartial, block: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: { accessList: AccessList; gasUsed: Quantity; }; }, /** * @description Returns the chain ID associated with the current network * @example * provider.request({ method: 'eth_chainId' }) * // => '1' */ { Method: 'eth_chainId'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Returns the client coinbase address. * @example * provider.request({ method: 'eth_coinbase' }) * // => '0x...' */ { Method: 'eth_coinbase'; Parameters?: undefined; ReturnType: Address$1; }, /** * @description Estimates the gas necessary to complete a transaction without submitting it to the network * * @example * provider.request({ * method: 'eth_estimateGas', * params: [{ from: '0x...', to: '0x...', value: '0x...' }] * }) * // => '0x5208' */ { Method: 'eth_estimateGas'; Parameters: [transaction: RpcTransactionRequest] | [transaction: RpcTransactionRequest, block: RpcBlockNumber | BlockTag] | [transaction: RpcTransactionRequest, block: RpcBlockNumber | BlockTag, stateOverride: RpcStateOverride]; ReturnType: Quantity; }, /** * @description Fills a transaction with the necessary data to be signed. * * @example * provider.request({ method: 'eth_fillTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] }) * // => '0x...' */ { Method: 'eth_fillTransaction'; Parameters: [transaction: RpcTransactionRequest]; ReturnType: { raw: Hex$1; tx: RpcTransaction; }; }, /** * @description Returns a collection of historical gas information * * @example * provider.request({ * method: 'eth_feeHistory', * params: ['4', 'latest', ['25', '75']] * }) * // => { * // oldestBlock: '0x1', * // baseFeePerGas: ['0x1', '0x2', '0x3', '0x4'], * // gasUsedRatio: ['0x1', '0x2', '0x3', '0x4'], * // reward: [['0x1', '0x2'], ['0x3', '0x4'], ['0x5', '0x6'], ['0x7', '0x8']] * // } * */ { Method: 'eth_feeHistory'; Parameters: [/** Number of blocks in the requested range. Between 1 and 1024 blocks can be requested in a single query. Less than requested may be returned if not all blocks are available. */blockCount: Quantity, /** Highest number block of the requested range. */newestBlock: RpcBlockNumber | BlockTag, /** A monotonically increasing list of percentile values to sample from each block's effective priority fees per gas in ascending order, weighted by gas used. */rewardPercentiles: number[] | undefined]; ReturnType: RpcFeeHistory; }, /** * @description Returns the current price of gas expressed in wei * * @example * provider.request({ method: 'eth_gasPrice' }) * // => '0x09184e72a000' */ { Method: 'eth_gasPrice'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Returns the balance of an address in wei * * @example * provider.request({ method: 'eth_getBalance', params: ['0x...', 'latest'] }) * // => '0x12a05...' */ { Method: 'eth_getBalance'; Parameters: [address: Address$1, block: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Quantity; }, /** * @description Returns information about a block specified by hash * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getBlockByHash', params: ['0x...', true] }) * // => { * // number: '0x1b4', * // hash: '0x...', * // parentHash: '0x...', * // ... * // } */ { Method: 'eth_getBlockByHash'; Parameters: [/** hash of a block */hash: Hash, /** true will pull full transaction objects, false will pull transaction hashes */includeTransactionObjects: boolean]; ReturnType: RpcBlock | null; }, /** * @description Returns information about a block specified by number * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getBlockByNumber', params: ['0x1b4', true] }) * // => { * // number: '0x1b4', * // hash: '0x...', * // parentHash: '0x...', * // ... * // } */ { Method: 'eth_getBlockByNumber'; Parameters: [/** block number, or one of "latest", "safe", "finalized", "earliest" or "pending" */block: RpcBlockNumber | BlockTag, /** true will pull full transaction objects, false will pull transaction hashes */includeTransactionObjects: boolean]; ReturnType: RpcBlock | null; }, /** * @description Returns the number of transactions in a block specified by block hash * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getBlockTransactionCountByHash', params: ['0x...'] }) * // => '0x1' */ { Method: 'eth_getBlockTransactionCountByHash'; Parameters: [hash: Hash]; ReturnType: Quantity; }, /** * @description Returns the number of transactions in a block specified by block number * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getBlockTransactionCountByNumber', params: ['0x1b4'] }) * // => '0x1' */ { Method: 'eth_getBlockTransactionCountByNumber'; Parameters: [block: RpcBlockNumber | BlockTag]; ReturnType: Quantity; }, /** * @description Returns the contract code stored at a given address * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getCode', params: ['0x...', 'latest'] }) * // => '0x...' */ { Method: 'eth_getCode'; Parameters: [address: Address$1, block: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Hex$1; }, /** * @description Returns a list of all logs based on filter ID since the last log retrieval * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getFilterChanges', params: ['0x...'] }) * // => [{ ... }, { ... }] */ { Method: 'eth_getFilterChanges'; Parameters: [filterId: Quantity]; ReturnType: RpcLog[] | Hex$1[]; }, /** * @description Returns a list of all logs based on filter ID * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getFilterLogs', params: ['0x...'] }) * // => [{ ... }, { ... }] */ { Method: 'eth_getFilterLogs'; Parameters: [filterId: Quantity]; ReturnType: RpcLog[]; }, /** * @description Returns a list of all logs based on a filter object * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getLogs', params: [{ fromBlock: '0x...', toBlock: '0x...', address: '0x...', topics: ['0x...'] }] }) * // => [{ ... }, { ... }] */ { Method: 'eth_getLogs'; Parameters: [{ address?: Address$1 | Address$1[] | undefined; topics?: LogTopic[] | undefined; } & ({ fromBlock?: RpcBlockNumber | BlockTag | undefined; toBlock?: RpcBlockNumber | BlockTag | undefined; blockHash?: undefined; } | { fromBlock?: undefined; toBlock?: undefined; blockHash?: Hash | undefined; })]; ReturnType: RpcLog[]; }, /** * @description Returns the account and storage values of the specified account including the Merkle-proof. * @link https://eips.ethereum.org/EIPS/eip-1186 * @example * provider.request({ method: 'eth_getProof', params: ['0x...', ['0x...'], 'latest'] }) * // => { * // ... * // } */ { Method: 'eth_getProof'; Parameters: [/** Address of the account. */address: Address$1, /** An array of storage-keys that should be proofed and included. */storageKeys: Hash[], block: RpcBlockNumber | BlockTag]; ReturnType: RpcProof; }, /** * @description Returns the value from a storage position at an address * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getStorageAt', params: ['0x...', '0x...', 'latest'] }) * // => '0x...' */ { Method: 'eth_getStorageAt'; Parameters: [address: Address$1, index: Quantity, block: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Hex$1; }, /** * @description Returns information about a transaction specified by block hash and transaction index * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getTransactionByBlockHashAndIndex', params: ['0x...', '0x...'] }) * // => { ... } */ { Method: 'eth_getTransactionByBlockHashAndIndex'; Parameters: [hash: Hash, index: Quantity]; ReturnType: RpcTransaction | null; }, /** * @description Returns information about a transaction specified by block number and transaction index * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getTransactionByBlockNumberAndIndex', params: ['0x...', '0x...'] }) * // => { ... } */ { Method: 'eth_getTransactionByBlockNumberAndIndex'; Parameters: [block: RpcBlockNumber | BlockTag, index: Quantity]; ReturnType: RpcTransaction | null; }, /** * @description Returns information about a transaction specified by hash * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getTransactionByHash', params: ['0x...'] }) * // => { ... } */ { Method: 'eth_getTransactionByHash'; Parameters: [hash: Hash]; ReturnType: RpcTransaction | null; }, /** * @description Returns information about a transaction specified by sender and nonce * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getTransactionBySenderAndNonce', params: ['0x...', '0x...'] }) * // => { ... } */ { Method: 'eth_getTransactionBySenderAndNonce'; Parameters: [sender: Address$1, nonce: Quantity]; ReturnType: RpcTransaction | null; }, /** * @description Returns the number of transactions sent from an address * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getTransactionCount', params: ['0x...', 'latest'] }) * // => '0x1' */ { Method: 'eth_getTransactionCount'; Parameters: [address: Address$1, block: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Quantity; }, /** * @description Returns the receipt of a transaction specified by hash * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getTransactionReceipt', params: ['0x...'] }) * // => { ... } */ { Method: 'eth_getTransactionReceipt'; Parameters: [hash: Hash]; ReturnType: RpcTransactionReceipt | null; }, /** * @description Returns information about an uncle specified by block hash and uncle index position * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getUncleByBlockHashAndIndex', params: ['0x...', '0x...'] }) * // => { ... } */ { Method: 'eth_getUncleByBlockHashAndIndex'; Parameters: [hash: Hash, index: Quantity]; ReturnType: RpcUncle | null; }, /** * @description Returns information about an uncle specified by block number and uncle index position * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getUncleByBlockNumberAndIndex', params: ['0x...', '0x...'] }) * // => { ... } */ { Method: 'eth_getUncleByBlockNumberAndIndex'; Parameters: [block: RpcBlockNumber | BlockTag, index: Quantity]; ReturnType: RpcUncle | null; }, /** * @description Returns the number of uncles in a block specified by block hash * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getUncleCountByBlockHash', params: ['0x...'] }) * // => '0x1' */ { Method: 'eth_getUncleCountByBlockHash'; Parameters: [hash: Hash]; ReturnType: Quantity; }, /** * @description Returns the number of uncles in a block specified by block number * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_getUncleCountByBlockNumber', params: ['0x...'] }) * // => '0x1' */ { Method: 'eth_getUncleCountByBlockNumber'; Parameters: [block: RpcBlockNumber | BlockTag]; ReturnType: Quantity; }, /** * @description Returns the current maxPriorityFeePerGas in wei. * @link https://ethereum.github.io/execution-apis/api-documentation/ * @example * provider.request({ method: 'eth_maxPriorityFeePerGas' }) * // => '0x5f5e100' */ { Method: 'eth_maxPriorityFeePerGas'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Creates a filter to listen for new blocks that can be used with `eth_getFilterChanges` * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_newBlockFilter' }) * // => '0x1' */ { Method: 'eth_newBlockFilter'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Creates a filter to listen for specific state changes that can then be used with `eth_getFilterChanges` * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_newFilter', params: [{ fromBlock: '0x...', toBlock: '0x...', address: '0x...', topics: ['0x...'] }] }) * // => '0x1' */ { Method: 'eth_newFilter'; Parameters: [filter: { fromBlock?: RpcBlockNumber | BlockTag | undefined; toBlock?: RpcBlockNumber | BlockTag | undefined; address?: Address$1 | Address$1[] | undefined; topics?: LogTopic[] | undefined; }]; ReturnType: Quantity; }, /** * @description Creates a filter to listen for new pending transactions that can be used with `eth_getFilterChanges` * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_newPendingTransactionFilter' }) * // => '0x1' */ { Method: 'eth_newPendingTransactionFilter'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Returns the current Ethereum protocol version * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_protocolVersion' }) * // => '54' */ { Method: 'eth_protocolVersion'; Parameters?: undefined; ReturnType: string; }, /** * @description Sends a **signed** transaction to the network * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_sendRawTransaction', params: ['0x...'] }) * // => '0x...' */ { Method: 'eth_sendRawTransaction'; Parameters: [signedTransaction: Hex$1]; ReturnType: Hash; }, /** * @description Sends a **signed** transaction to the network synchronously * @link https://eips.ethereum.org/EIPS/eip-7966 * @example * provider.request({ method: 'eth_sendRawTransactionSync', params: ['0x...'] }) * // => '0x...' */ { Method: 'eth_sendRawTransactionSync'; Parameters: [signedTransaction: Hex$1] | [signedTransaction: Hex$1, timeout: number]; ReturnType: RpcTransactionReceipt; }, /** * @description Simulates execution of a set of calls with optional block and state overrides. * @example * provider.request({ method: 'eth_simulateV1', params: [{ blockStateCalls: [{ calls: [{ from: '0x...', to: '0x...', value: '0x...', data: '0x...' }] }] }, 'latest'] }) * // => { ... } */ { Method: 'eth_simulateV1'; Parameters: [{ blockStateCalls: readonly { blockOverrides?: Rpc | undefined; calls?: readonly ExactPartial[] | undefined; stateOverrides?: RpcStateOverride | undefined; }[]; returnFullTransactions?: boolean | undefined; traceTransfers?: boolean | undefined; validation?: boolean | undefined; }, RpcBlockNumber | BlockTag]; ReturnType: readonly (RpcBlock & { calls: readonly { error?: { data?: Hex$1 | undefined; code: number; message: string; } | undefined; logs?: readonly RpcLog[] | undefined; gasUsed: Hex$1; returnData: Hex$1; status: Hex$1; }[]; })[]; }, /** * @description Destroys a filter based on filter ID * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_uninstallFilter', params: ['0x1'] }) * // => true */ { Method: 'eth_uninstallFilter'; Parameters: [filterId: Quantity]; ReturnType: boolean; }]; type WalletRpcSchema = [ /** * @description Returns a list of addresses owned by this client * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_accounts' }) * // => ['0x0fB69...'] */ { Method: 'eth_accounts'; Parameters?: undefined; ReturnType: Address$1[]; }, /** * @description Returns the current chain ID associated with the wallet. * @example * provider.request({ method: 'eth_chainId' }) * // => '1' */ { Method: 'eth_chainId'; Parameters?: undefined; ReturnType: Quantity; }, /** * @description Estimates the gas necessary to complete a transaction without submitting it to the network * * @example * provider.request({ * method: 'eth_estimateGas', * params: [{ from: '0x...', to: '0x...', value: '0x...' }] * }) * // => '0x5208' */ { Method: 'eth_estimateGas'; Parameters: [transaction: RpcTransactionRequest] | [transaction: RpcTransactionRequest, block: RpcBlockNumber | BlockTag] | [transaction: RpcTransactionRequest, block: RpcBlockNumber | BlockTag, stateOverride: RpcStateOverride]; ReturnType: Quantity; }, /** * @description Fills a transaction with the necessary data to be signed. * * @example * provider.request({ method: 'eth_fillTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] }) * // => '0x...' */ { Method: 'eth_fillTransaction'; Parameters: [transaction: RpcTransactionRequest]; ReturnType: { raw: Hex$1; tx: RpcTransaction; }; }, /** * @description Requests that the user provides an Ethereum address to be identified by. Typically causes a browser extension popup to appear. * @link https://eips.ethereum.org/EIPS/eip-1102 * @example * provider.request({ method: 'eth_requestAccounts' }] }) * // => ['0x...', '0x...'] */ { Method: 'eth_requestAccounts'; Parameters?: undefined; ReturnType: Address$1[]; }, /** * @description Creates, signs, and sends a new transaction to the network * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_sendTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] }) * // => '0x...' */ { Method: 'eth_sendTransaction'; Parameters: [transaction: RpcTransactionRequest]; ReturnType: Hash; }, /** * @description Sends and already-signed transaction to the network * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_sendRawTransaction', params: ['0x...'] }) * // => '0x...' */ { Method: 'eth_sendRawTransaction'; Parameters: [signedTransaction: Hex$1]; ReturnType: Hash; }, /** * @description Sends and already-signed transaction to the network synchronously * @link https://eips.ethereum.org/EIPS/eip-7966 * @example * provider.request({ method: 'eth_sendRawTransactionSync', params: ['0x...'] }) * // => '0x...' */ { Method: 'eth_sendRawTransactionSync'; Parameters: [signedTransaction: Hex$1] | [signedTransaction: Hex$1, timeout: number]; ReturnType: RpcTransactionReceipt; }, /** * @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))` * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_sign', params: ['0x...', '0x...'] }) * // => '0x...' */ { Method: 'eth_sign'; Parameters: [/** Address to use for signing */address: Address$1, /** Data to sign */data: Hex$1]; ReturnType: Hex$1; }, /** * @description Signs a transaction that can be submitted to the network at a later time using with `eth_sendRawTransaction` * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_signTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] }) * // => '0x...' */ { Method: 'eth_signTransaction'; Parameters: [request: RpcTransactionRequest]; ReturnType: Hex$1; }, /** * @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))` * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_signTypedData_v4', params: [{ from: '0x...', data: [{ type: 'string', name: 'message', value: 'hello world' }] }] }) * // => '0x...' */ { Method: 'eth_signTypedData_v4'; Parameters: [/** Address to use for signing */address: Address$1, /** Message to sign containing type information, a domain separator, and data */message: string]; ReturnType: Hex$1; }, /** * @description Returns information about the status of this client’s network synchronization * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'eth_syncing' }) * // => { startingBlock: '0x...', currentBlock: '0x...', highestBlock: '0x...' } */ { Method: 'eth_syncing'; Parameters?: undefined; ReturnType: NetworkSync | false; }, /** * @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))` * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'personal_sign', params: ['0x...', '0x...'] }) * // => '0x...' */ { Method: 'personal_sign'; Parameters: [/** Data to sign */data: Hex$1, /** Address to use for signing */address: Address$1]; ReturnType: Hex$1; }, /** * @description Add an Ethereum chain to the wallet. * @link https://eips.ethereum.org/EIPS/eip-3085 * @example * provider.request({ method: 'wallet_addEthereumChain', params: [{ chainId: 1, rpcUrl: 'https://mainnet.infura.io/v3/...' }] }) * // => { ... } */ { Method: 'wallet_addEthereumChain'; Parameters: [chain: AddEthereumChainParameter]; ReturnType: null; }, /** * */ { Method: 'wallet_addSubAccount'; Parameters: [{ account: OneOf<{ keys: readonly { publicKey: Hex$1; type: 'address' | 'p256' | 'webcrypto-p256' | 'webauthn-p256'; }[]; type: 'create'; } | { address: Address$1; chainId?: number | undefined; type: 'deployed'; } | { address: Address$1; chainId?: number | undefined; factory: Address$1; factoryData: Hex$1; type: 'undeployed'; }>; version: string; }]; ReturnType: { address: Address$1; factory?: Address$1 | undefined; factoryData?: Hex$1 | undefined; }; }, /** * @description Requests to connect account(s). * @link https://github.com/ethereum/ERCs/blob/abd1c9f4eda2d6ad06ade0e3af314637a27d1ee7/ERCS/erc-7846.md * @example * provider.request({ method: 'wallet_connect' }) * // => { ... } */ { Method: 'wallet_connect'; Parameters: [{ capabilities?: Capabilities | undefined; version: string; }]; ReturnType: { accounts: readonly { address: Address$1; capabilities?: Capabilities | undefined; }[]; }; }, /** * @description Disconnects connected account(s). * @link https://github.com/ethereum/ERCs/blob/abd1c9f4eda2d6ad06ade0e3af314637a27d1ee7/ERCS/erc-7846.md * @example * provider.request({ method: 'wallet_disconnect' }) */ { Method: 'wallet_disconnect'; Parameters?: undefined; ReturnType: void; }, /** * @description Returns the assets owned by the wallet. * @link https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7811.md * @example * provider.request({ method: 'wallet_getAssets', params: [...] }) * // => { ... } */ { Method: 'wallet_getAssets'; Parameters?: [WalletGetAssetsParameters]; ReturnType: WalletGetAssetsReturnType; }, /** * @description Returns the status of a call batch that was sent via `wallet_sendCalls`. * @link https://eips.ethereum.org/EIPS/eip-5792 * @example * provider.request({ method: 'wallet_getCallsStatus' }) * // => { ... } */ { Method: 'wallet_getCallsStatus'; Parameters?: [string]; ReturnType: WalletGetCallsStatusReturnType; }, /** * @description Gets the connected wallet's capabilities. * @link https://eips.ethereum.org/EIPS/eip-5792 * @example * provider.request({ method: 'wallet_getCapabilities' }) * // => { ... } */ { Method: 'wallet_getCapabilities'; Parameters?: readonly [] | readonly [Address$1 | undefined] | readonly [Address$1 | undefined, readonly Hex$1[] | undefined] | undefined; ReturnType: Prettify; }, /** * @description Gets the wallets current permissions. * @link https://eips.ethereum.org/EIPS/eip-2255 * @example * provider.request({ method: 'wallet_getPermissions' }) * // => { ... } */ { Method: 'wallet_getPermissions'; Parameters?: undefined; ReturnType: WalletPermission[]; }, /** * @description Requests permissions from a wallet * @link https://eips.ethereum.org/EIPS/eip-7715 * @example * provider.request({ method: 'wallet_grantPermissions', params: [{ ... }] }) * // => { ... } */ { Method: 'wallet_grantPermissions'; Parameters?: [WalletGrantPermissionsParameters]; ReturnType: Prettify; }, /** * @description Requests the given permissions from the user. * @link https://eips.ethereum.org/EIPS/eip-2255 * @example * provider.request({ method: 'wallet_requestPermissions', params: [{ eth_accounts: {} }] }) * // => { ... } */ { Method: 'wallet_requestPermissions'; Parameters: [permissions: { eth_accounts: Record; }]; ReturnType: WalletPermission[]; }, /** * @description Revokes the given permissions from the user. * @link https://github.com/MetaMask/metamask-improvement-proposals/blob/main/MIPs/mip-2.md * @example * provider.request({ method: 'wallet_revokePermissions', params: [{ eth_accounts: {} }] }) * // => { ... } */ { Method: 'wallet_revokePermissions'; Parameters: [permissions: { eth_accounts: Record; }]; ReturnType: null; }, /** * @description Requests the connected wallet to send a batch of calls. * @link https://eips.ethereum.org/EIPS/eip-5792 * @example * provider.request({ method: 'wallet_sendCalls' }) * // => { ... } */ { Method: 'wallet_sendCalls'; Parameters?: WalletSendCallsParameters; ReturnType: WalletSendCallsReturnType; }, /** * @description Creates, signs, and sends a new transaction to the network * @link https://eips.ethereum.org/EIPS/eip-1474 * @example * provider.request({ method: 'wallet_sendTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] }) * // => '0x...' */ { Method: 'wallet_sendTransaction'; Parameters: [transaction: RpcTransactionRequest]; ReturnType: Hash; }, /** * @description Requests for the wallet to show information about a call batch * that was sent via `wallet_sendCalls`. * @link https://eips.ethereum.org/EIPS/eip-5792 * @example * provider.request({ method: 'wallet_showCallsStatus', params: ['...'] }) */ { Method: 'wallet_showCallsStatus'; Parameters?: [string]; ReturnType: void; }, /** * @description Switch the wallet to the given Ethereum chain. * @link https://eips.ethereum.org/EIPS/eip-3326 * @example * provider.request({ method: 'wallet_switchEthereumChain', params: [{ chainId: '0xf00' }] }) * // => { ... } */ { Method: 'wallet_switchEthereumChain'; Parameters: [chain: { chainId: string; }]; ReturnType: null; }, /** * @description Requests that the user tracks the token in their wallet. Returns a boolean indicating if the token was successfully added. * @link https://eips.ethereum.org/EIPS/eip-747 * @example * provider.request({ method: 'wallet_watchAsset' }] }) * // => true */ { Method: 'wallet_watchAsset'; Parameters: WatchAssetParams; ReturnType: boolean; }]; type RpcSchema = readonly { Method: string; Parameters?: unknown | undefined; ReturnType: unknown; }[]; type RpcSchemaOverride = Omit; type EIP1193Parameters = rpcSchema extends RpcSchema ? { [K in keyof rpcSchema]: Prettify<{ method: rpcSchema[K] extends rpcSchema[number] ? rpcSchema[K]['Method'] : never; } & (rpcSchema[K] extends rpcSchema[number] ? rpcSchema[K]['Parameters'] extends undefined ? { params?: undefined; } : { params: rpcSchema[K]['Parameters']; } : never)> }[number] : { method: string; params?: unknown | undefined; }; type EIP1193RequestOptions = { /** Deduplicate in-flight requests. */dedupe?: boolean | undefined; /** Methods to include or exclude from executing RPC requests. */ methods?: OneOf<{ include?: string[] | undefined; } | { exclude?: string[] | undefined; }> | undefined; /** The base delay (in ms) between retries. */ retryDelay?: number | undefined; /** The max number of times to retry. */ retryCount?: number | undefined; /** Unique identifier for the request. */ uid?: string | undefined; }; type DerivedRpcSchema = rpcSchemaOverride extends RpcSchemaOverride ? [rpcSchemaOverride & { Method: string; }] : rpcSchema; type EIP1193RequestFn = > = EIP1193Parameters>, _returnType = (DerivedRpcSchema extends RpcSchema ? raw extends true ? OneOf<{ result: Extract[number], { Method: _parameters['method']; }>['ReturnType']; } | { error: ErrorObject; }> : Extract[number], { Method: _parameters['method']; }>['ReturnType'] : raw extends true ? OneOf<{ result: unknown; } | { error: ErrorObject; }> : unknown)>(args: _parameters, options?: EIP1193RequestOptions | undefined) => Promise<_returnType>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/clients/transports/createTransport.d.ts type TransportConfig = { /** The name of the transport. */name: string; /** The key of the transport. */ key: string; /** Methods to include or exclude from executing RPC requests. */ methods?: OneOf<{ include?: string[] | undefined; } | { exclude?: string[] | undefined; }> | undefined; /** The JSON-RPC request function that matches the EIP-1193 request spec. */ request: eip1193RequestFn; /** The base delay (in ms) between retries. */ retryDelay?: number | undefined; /** The max number of times to retry. */ retryCount?: number | undefined; /** The timeout (in ms) for requests. */ timeout?: number | undefined; /** The type of the transport. */ type: type; }; type Transport, eip1193RequestFn extends EIP1193RequestFn = EIP1193RequestFn> = ({ chain }: { account?: Account | undefined; chain?: chain | undefined; pollingInterval?: ClientConfig['pollingInterval'] | undefined; retryCount?: TransportConfig['retryCount'] | undefined; timeout?: TransportConfig['timeout'] | undefined; }) => { config: TransportConfig; request: eip1193RequestFn; value?: rpcAttributes | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/stateOverride.d.ts type StateMapping = Array<{ slot: Hex$1; value: Hex$1; }>; type StateOverride = Array<{ address: Address$1; balance?: bigint | undefined; nonce?: number | undefined; code?: Hex$1 | undefined; } & OneOf<{ /** Fake key-value mapping to override all slots in the account storage before executing the call. */state?: StateMapping | undefined; } | { /** Fake key-value mapping to override individual slots in the account storage before executing the call. */stateDiff?: StateMapping | undefined; }>>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/transaction/getTransactionType.d.ts type GetTransactionType = TransactionSerializableGeneric, result = (transaction extends LegacyProperties ? 'legacy' : never) | (transaction extends EIP1559Properties ? 'eip1559' : never) | (transaction extends EIP2930Properties ? 'eip2930' : never) | (transaction extends EIP4844Properties ? 'eip4844' : never) | (transaction extends EIP7702Properties ? 'eip7702' : never) | (transaction['type'] extends TransactionSerializableGeneric['type'] ? Extract : never)> = IsNever extends true ? string : IsNever extends false ? result : string; type BaseProperties = { accessList?: undefined; authorizationList?: undefined; blobs?: undefined; blobVersionedHashes?: undefined; gasPrice?: undefined; maxFeePerBlobGas?: undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; sidecars?: undefined; }; type LegacyProperties = Assign; type EIP1559Properties = Assign & { accessList?: TransactionSerializableEIP2930['accessList'] | undefined; }>; type EIP2930Properties = Assign, { accessList: TransactionSerializableEIP2930['accessList']; }>; type EIP4844Properties = Assign, ExactPartial & OneOf<{ blobs: TransactionSerializableEIP4844['blobs']; } | { blobVersionedHashes: TransactionSerializableEIP4844['blobVersionedHashes']; } | { sidecars: TransactionSerializableEIP4844['sidecars']; }, TransactionSerializableEIP4844>>; type EIP7702Properties = Assign, { authorizationList: TransactionSerializableEIP7702['authorizationList']; }>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/transaction/serializeTransaction.d.ts type SerializedTransactionReturnType> = TransactionSerialized<_transactionType>; type SerializeTransactionFn = (transaction: OneOf, signature?: Signature | undefined) => MaybePromise, _transactionType>>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/accounts/utils/sign.d.ts type To$1 = 'object' | 'bytes' | 'hex'; type SignReturnType = (to extends 'object' ? Signature : never) | (to extends 'bytes' ? ByteArray : never) | (to extends 'hex' ? Hex$1 : never); //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/formatters/transactionRequest.d.ts type FormattedTransactionRequest = ExtractChainFormatterParameters; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getChainId.d.ts type GetChainIdReturnType = number; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/sendRawTransaction.d.ts type SendRawTransactionParameters = { /** The signed serialized transaction. */serializedTransaction: TransactionSerializedGeneric; }; type SendRawTransactionReturnType = Hash; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/sendTransaction.d.ts type SendTransactionRequest> = UnionOmit, 'from'> & GetTransactionRequestKzgParameter; type SendTransactionParameters = SendTransactionRequest> = request & GetAccountParameter & GetChainParameter & GetTransactionRequestKzgParameter & { /** Whether to assert that the client chain is on the correct chain. @default true */assertChainId?: boolean | undefined; /** Data to append to the end of the calldata. Takes precedence over `client.dataSuffix`. */ dataSuffix?: Hex$1 | undefined; }; type SendTransactionReturnType = Hash; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/estimateGas.d.ts type EstimateGasParameters = UnionOmit, 'from'> & { account?: Account | Address$1 | undefined; prepare?: boolean | readonly PrepareTransactionRequestParameterType[] | undefined; stateOverride?: StateOverride | undefined; } & ({ /** The balance of the account at a block number. */blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockNumber?: undefined; /** * The balance of the account at a block tag. * @default 'latest' */ blockTag?: BlockTag | undefined; }); type FormattedEstimateGas = FormattedTransactionRequest; type EstimateGasReturnType = bigint; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/formatters/transaction.d.ts type TransactionPendingDependencies = 'blockHash' | 'blockNumber' | 'transactionIndex'; type FormattedTransaction, _ExcludedPendingDependencies extends string = TransactionPendingDependencies & ExtractChainFormatterExclude> = UnionLooseOmit<_FormatterReturnType, TransactionPendingDependencies> & { [_K in _ExcludedPendingDependencies]: never } & Pick, TransactionPendingDependencies>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/formatters/block.d.ts type BlockPendingDependencies = 'hash' | 'logsBloom' | 'nonce' | 'number'; type FormattedBlock>, _ExcludedPendingDependencies extends string = BlockPendingDependencies & ExtractChainFormatterExclude, _Formatted = Omit<_FormatterReturnType, BlockPendingDependencies> & { [_key in _ExcludedPendingDependencies]: never } & Pick, BlockPendingDependencies>, _Transactions = (includeTransactions extends true ? Prettify>[] : Hash[])> = Omit<_Formatted, 'transactions'> & { transactions: _Transactions; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getBlock.d.ts type GetBlockParameters = { /** Whether or not to include transaction data in the response. */includeTransactions?: includeTransactions | undefined; } & ({ /** Hash of the block. */blockHash?: Hash | undefined; blockNumber?: undefined; blockTag?: undefined; } | { blockHash?: undefined; /** The block number. */ blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockHash?: undefined; blockNumber?: undefined; /** * The block tag. * @default 'latest' */ blockTag?: blockTag | BlockTag | undefined; }); type GetBlockReturnType = Prettify>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getTransactionCount.d.ts type GetTransactionCountParameters = { /** The account address. */address: Address$1; } & ({ /** The block number. */blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockNumber?: undefined; /** The block tag. Defaults to 'latest'. */ blockTag?: BlockTag | undefined; }); type GetTransactionCountReturnType = number; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/prepareTransactionRequest.d.ts declare const defaultParameters: readonly ["blobVersionedHashes", "chainId", "fees", "gas", "nonce", "type"]; type PrepareTransactionRequestParameterType = 'blobVersionedHashes' | 'chainId' | 'fees' | 'gas' | 'nonce' | 'sidecars' | 'type'; type ParameterTypeToParameters = parameterType extends 'fees' ? 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'gasPrice' : parameterType; type PrepareTransactionRequestRequest> = UnionOmit, 'from'> & GetTransactionRequestKzgParameter & { /** * Nonce manager to use for the transaction request. */ nonceManager?: NonceManager | undefined; /** * Parameters to prepare for the transaction request. * * @default ['blobVersionedHashes', 'chainId', 'fees', 'gas', 'nonce', 'type'] */ parameters?: readonly PrepareTransactionRequestParameterType[] | undefined; }; type PrepareTransactionRequestParameters = PrepareTransactionRequestRequest> = request & GetAccountParameter & GetChainParameter & GetTransactionRequestKzgParameter & { chainId?: number | undefined; }; type PrepareTransactionRequestReturnType = PrepareTransactionRequestRequest, _derivedAccount extends Account | Address$1 | undefined = DeriveAccount, _derivedChain extends Chain | undefined = DeriveChain, _transactionType = (request['type'] extends string | undefined ? request['type'] : GetTransactionType extends 'legacy' ? unknown : GetTransactionType), _transactionRequest extends TransactionRequest = (_transactionType extends 'legacy' ? TransactionRequestLegacy : never) | (_transactionType extends 'eip1559' ? TransactionRequestEIP1559 : never) | (_transactionType extends 'eip2930' ? TransactionRequestEIP2930 : never) | (_transactionType extends 'eip4844' ? TransactionRequestEIP4844 : never) | (_transactionType extends 'eip7702' ? TransactionRequestEIP7702 : never)> = Prettify, 'from'> & (_derivedChain extends Chain ? { chain: _derivedChain; } : { chain?: undefined; }) & (_derivedAccount extends Account ? { account: _derivedAccount; from: Address$1; } : { account?: undefined; from?: undefined; }), IsNever<_transactionRequest> extends true ? unknown : ExactPartial<_transactionRequest>> & { chainId?: number | undefined; }, ParameterTypeToParameters> & (unknown extends request['kzg'] ? {} : Pick)>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getGasPrice.d.ts type GetGasPriceReturnType = bigint; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts type EstimateMaxPriorityFeePerGasParameters = GetChainParameter; type EstimateMaxPriorityFeePerGasReturnType = bigint; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/estimateFeesPerGas.d.ts type EstimateFeesPerGasParameters = { /** * The type of fee values to return. * * - `legacy`: Returns the legacy gas price. * - `eip1559`: Returns the max fee per gas and max priority fee per gas. * * @default 'eip1559' */ type?: type | FeeValuesType | undefined; } & GetChainParameter; type EstimateFeesPerGasReturnType = (type extends 'legacy' ? FeeValuesLegacy : never) | (type extends 'eip1559' ? FeeValuesEIP1559 : never); //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/call.d.ts type CallParameters = UnionOmit, 'from'> & { /** Account attached to the call (msg.sender). */account?: Account | Address$1 | undefined; /** Whether or not to enable multicall batching on this call. */ batch?: boolean | undefined; /** Block overrides for the call. */ blockOverrides?: BlockOverrides | undefined; /** Bytecode to perform the call on. */ code?: Hex$1 | undefined; /** Contract deployment factory address (ie. Create2 factory, Smart Account factory, etc). */ factory?: Address$1 | undefined; /** Calldata to execute on the factory to deploy the contract. */ factoryData?: Hex$1 | undefined; /** State overrides for the call. */ stateOverride?: StateOverride | undefined; } & ({ /** The balance of the account at a block number. */blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockNumber?: undefined; /** * The balance of the account at a block tag. * @default 'latest' */ blockTag?: BlockTag | undefined; }); type FormattedCall = FormattedTransactionRequest; type CallReturnType = { data: Hex$1 | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getCode.d.ts type GetCodeParameters = { address: Address$1; } & ({ blockNumber?: undefined; blockTag?: BlockTag | undefined; } | { blockNumber?: bigint | undefined; blockTag?: undefined; }); type GetCodeReturnType = Hex$1 | undefined; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/readContract.d.ts type ReadContractParameters = ContractFunctionName, args extends ContractFunctionArgs = ContractFunctionArgs> = UnionEvaluate> & ContractFunctionParameters; type ReadContractReturnType = ContractFunctionName, args extends ContractFunctionArgs = ContractFunctionArgs> = ContractFunctionReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/verifyHash.d.ts type VerifyHashParameters = Pick & { /** The address that signed the original message. */address: Address$1; /** The chain to use. */ chain?: Chain | null | undefined; /** The address of the ERC-6492 signature verifier contract. */ erc6492VerifierAddress?: Address$1 | undefined; /** The hash to be verified. */ hash: Hex$1; /** Multicall3 address for ERC-8010 verification. */ multicallAddress?: Address$1 | undefined; /** The signature that was generated by signing the message with the address's private key. */ signature: Hex$1 | ByteArray | Signature; /** @deprecated use `erc6492VerifierAddress` instead. */ universalSignatureVerifierAddress?: Address$1 | undefined; /** Chooses which verification path to try first before falling back. */ mode?: 'auto' | 'eoa' | undefined; } & OneOf<{ factory: Address$1; factoryData: Hex$1; } | {}>; type VerifyHashReturnType = boolean; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/chain.d.ts type Chain | undefined = Record | undefined> = { /** Collection of block explorers */blockExplorers?: { [key: string]: ChainBlockExplorer; default: ChainBlockExplorer; } | undefined; /** Block time in milliseconds. */ blockTime?: number | undefined; /** Collection of contracts */ contracts?: Prettify<{ [key: string]: ChainContract | { [sourceId: number]: ChainContract | undefined; } | undefined; } & { ensRegistry?: ChainContract | undefined; ensUniversalResolver?: ChainContract | undefined; multicall3?: ChainContract | undefined; erc6492Verifier?: ChainContract | undefined; }> | undefined; /** Collection of ENS TLDs for the chain. */ ensTlds?: readonly string[] | undefined; /** ID in number form */ id: number; /** Human-readable name */ name: string; /** Currency used by chain */ nativeCurrency: ChainNativeCurrency; /** Preconfirmation time in milliseconds. */ experimental_preconfirmationTime?: number | undefined; /** Collection of RPC endpoints */ rpcUrls: { [key: string]: ChainRpcUrls; default: ChainRpcUrls; }; /** Source Chain ID (ie. the L1 chain) */ sourceId?: number | undefined; /** Flag for test networks */ testnet?: boolean | undefined; } & ChainConfig; type PrepareTransactionRequestPhase = 'beforeFillTransaction' | 'beforeFillParameters' | 'afterFillParameters'; type PrepareTransactionRequestFn = (args: PrepareTransactionRequestParameters, options: { phase: PrepareTransactionRequestPhase; }) => Promise; type ChainVerifyHashFn = (client: Client, parameters: VerifyHashParameters) => Promise; type ChainConfig | undefined = Record | undefined> = { /** Custom chain data. @deprecated use `.extend` instead. */custom?: extendSchema | undefined; /** Extend schema. */ extendSchema?: extendSchema | undefined; /** Modifies how fees are derived. */ fees?: ChainFees | undefined; /** Modifies how data is formatted and typed (e.g. blocks and transactions) */ formatters?: formatters | undefined; /** Function to prepare a transaction request. Runs before the transaction is filled. */ prepareTransactionRequest?: PrepareTransactionRequestFn | [fn: PrepareTransactionRequestFn | undefined, options: { /** * Phases to run the function at. * * - `beforeFillTransaction`: Before the transaction is attempted to be filled via `eth_fillTransaction`. * - `beforeFillParameters`: Before missing parameters are filled. * - `afterFillParameters`: After missing parameters are filled. */ runAt: readonly PrepareTransactionRequestPhase[]; }] | undefined; /** Modifies how data is serialized (e.g. transactions). */ serializers?: ChainSerializers | undefined; /** Chain-specific signature verification. */ verifyHash?: ChainVerifyHashFn | undefined; }; type ChainFeesFnParameters = { /** The latest block. */block: Prettify & { formatters: formatters; }>>; client: Client; /** * A transaction request. This value will be undefined if the caller * is outside of a transaction request context (e.g. a direct call to * the `estimateFeesPerGas` Action). */ request?: PrepareTransactionRequestParameters & { formatters: formatters; }, Account | undefined, undefined> | undefined; }; type ChainEstimateFeesPerGasFnParameters = { /** A function to multiply the base fee based on the `baseFeeMultiplier` value. */multiply: (x: bigint) => bigint; /** The type of fees to return. */ type: FeeValuesType; } & ChainFeesFnParameters; type ChainEstimateFeesPerGasFn = (args: ChainEstimateFeesPerGasFnParameters) => Promise; type ChainMaxPriorityFeePerGasFn = (args: ChainFeesFnParameters) => Promise | bigint | null; type ChainFees = { /** * The fee multiplier to use to account for fee fluctuations. * Used in the [`estimateFeesPerGas` Action](/docs/actions/public/estimateFeesPerGas). * * @default 1.2 */ baseFeeMultiplier?: number | ((args: ChainFeesFnParameters) => Promise | number); /** * The default `maxPriorityFeePerGas` to use when a priority * fee is not defined upon sending a transaction. * * Overrides the return value in the [`estimateMaxPriorityFeePerGas` Action](/docs/actions/public/estimateMaxPriorityFeePerGas). */ maxPriorityFeePerGas?: bigint | ChainMaxPriorityFeePerGasFn | undefined; /** @deprecated Use `maxPriorityFeePerGas` instead. */ defaultPriorityFee?: bigint | ChainMaxPriorityFeePerGasFn | undefined; /** * Allows customization of fee per gas values (e.g. `maxFeePerGas`/`maxPriorityFeePerGas`). * * Overrides the return value in the [`estimateFeesPerGas` Action](/docs/actions/public/estimateFeesPerGas). */ estimateFeesPerGas?: ChainEstimateFeesPerGasFn | undefined; }; type ChainFormatters = { /** Modifies how the Block structure is formatted & typed. */block?: ChainFormatter<'block'> | undefined; /** Modifies how the Transaction structure is formatted & typed. */ transaction?: ChainFormatter<'transaction'> | undefined; /** Modifies how the TransactionReceipt structure is formatted & typed. */ transactionReceipt?: ChainFormatter<'transactionReceipt'> | undefined; /** Modifies how the TransactionRequest structure is formatted & typed. */ transactionRequest?: ChainFormatter<'transactionRequest'> | undefined; }; type ChainFormatter = { format: (args: any, action?: string | undefined) => any; type: type; }; type ChainSerializers[0] : TransactionSerializable : TransactionSerializable)> = { /** Modifies how Transactions are serialized. */transaction?: SerializeTransactionFn | undefined; }; type ExtractChainFormatterExclude = chain extends { formatters?: infer formatters extends ChainFormatters; } ? formatters[type] extends { exclude: infer exclude; } ? Extract[number] : '' : ''; type ExtractChainFormatterParameters = chain extends { formatters?: infer formatters extends ChainFormatters; } ? formatters[type] extends ChainFormatter ? Parameters[0] : fallback : fallback; type ExtractChainFormatterReturnType = IsNarrowable extends true ? chain extends { formatters?: { [_ in type]?: infer formatter extends ChainFormatter } | undefined; } ? chain['formatters'] extends undefined ? fallback : IsNarrowable> extends true ? ReturnType : fallback : fallback : fallback; type DeriveChain = chainOverride extends Chain ? chainOverride : chain; type GetChainParameter = IsUndefined extends true ? { chain: chainOverride | null; } : { chain?: chainOverride | null | undefined; }; type ChainBlockExplorer = { name: string; url: string; apiUrl?: string | undefined; }; type ChainContract = { address: Address$1; blockCreated?: number | undefined; }; type ChainNativeCurrency = { name: string; /** 2-6 characters long */ symbol: string; decimals: number; }; type ChainRpcUrls = { http: readonly string[]; webSocket?: readonly string[] | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/dataSuffix.d.ts /** * Data suffix configuration for transaction attribution. * * Can be specified in two forms: * - Simple hex string: `"0x1234"` - Appended to transaction data, not required * - Object form: `{ value: "0x1234", required: true }` - Explicit required flag * * When `required` is `true`, transactions will fail if the suffix cannot be appended. * When `required` is `false` (default), the suffix is best-effort. */ type DataSuffix = Hex$1 | { value: Hex$1; required?: boolean | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/ccip.d.ts type CcipRequestParameters = { data: Hex$1; sender: Address$1; urls: readonly string[]; }; type CcipRequestReturnType = Hex$1; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/ens/getEnsAddress.d.ts type GetEnsAddressParameters = Prettify & { /** * ENSIP-9 compliant coinType (chain) to get ENS address for. * * To get the `coinType` for a chain id, use the `toCoinType` function: * ```ts * import { toCoinType } from 'viem' * import { base } from 'viem/chains' * * const coinType = toCoinType(base.id) * ``` * * @default 60n */ coinType?: bigint | undefined; /** * Universal Resolver gateway URLs to use for resolving CCIP-read requests. */ gatewayUrls?: string[] | undefined; /** * Name to get the address for. */ name: string; /** * Whether or not to throw errors propagated from the ENS Universal Resolver Contract. */ strict?: boolean | undefined; /** * Address of ENS Universal Resolver Contract. */ universalResolverAddress?: Address$1 | undefined; }>; type GetEnsAddressReturnType = Address$1 | null; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/ens.d.ts type AssetGateway = 'ipfs' | 'arweave'; type AssetGatewayUrls = { [_key in AssetGateway]?: string | undefined }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/ens/getEnsText.d.ts type GetEnsTextParameters = Prettify & { /** ENS name to get Text for. */name: string; /** Universal Resolver gateway URLs to use for resolving CCIP-read requests. */ gatewayUrls?: string[] | undefined; /** Text record to retrieve. */ key: string; /** Whether or not to throw errors propagated from the ENS Universal Resolver Contract. */ strict?: boolean | undefined; /** Address of ENS Universal Resolver Contract. */ universalResolverAddress?: Address$1 | undefined; }>; type GetEnsTextReturnType = string | null; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/ens/getEnsAvatar.d.ts type GetEnsAvatarParameters = Prettify & { /** Gateway urls to resolve IPFS and/or Arweave assets. */assetGatewayUrls?: AssetGatewayUrls | undefined; }>; type GetEnsAvatarReturnType = string | null; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/ens/getEnsName.d.ts type GetEnsNameParameters = Prettify & { /** * Address to get ENS name for. */ address: Address$1; /** * ENSIP-9 compliant coinType (chain) to get ENS name for. * * To get the `coinType` for a chain id, use the `toCoinType` function: * ```ts * import { toCoinType } from 'viem' * import { base } from 'viem/chains' * * const coinType = toCoinType(base.id) * ``` * * @default 60n */ coinType?: bigint | undefined; /** * Universal Resolver gateway URLs to use for resolving CCIP-read requests. */ gatewayUrls?: string[] | undefined; /** * Whether or not to throw errors propagated from the ENS Universal Resolver Contract. */ strict?: boolean | undefined; /** * Address of ENS Universal Resolver Contract. */ universalResolverAddress?: Address$1 | undefined; }>; type GetEnsNameReturnType = string | null; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/ens/getEnsResolver.d.ts type GetEnsResolverParameters = Prettify & { /** Name to get the address for. */name: string; /** Address of ENS Universal Resolver Contract. */ universalResolverAddress?: Address$1 | undefined; }>; type GetEnsResolverReturnType = Address$1; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/createAccessList.d.ts type CreateAccessListParameters = UnionOmit, 'from' | 'nonce' | 'accessList'> & { /** Account attached to the call (msg.sender). */account?: Account | Address$1 | undefined; } & ({ /** The balance of the account at a block number. */blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockNumber?: undefined; /** * The balance of the account at a block tag. * @default 'latest' */ blockTag?: BlockTag | undefined; }); type CreateAccessListReturnType = Prettify<{ accessList: AccessList; gasUsed: bigint; }>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/filter.d.ts type FilterType = 'transaction' | 'block' | 'event'; type FilterRpcSchema = Filter$1; type Filter | undefined = MaybeExtractEventArgsFromAbi, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined> = { id: Hex$1; request: EIP1193RequestFn; type: filterType; } & (filterType extends 'event' ? { fromBlock?: fromBlock | undefined; toBlock?: toBlock | undefined; } & (abi extends Abi ? undefined extends eventName ? { abi: abi; args?: undefined; eventName?: undefined; strict: strict; } : args extends MaybeExtractEventArgsFromAbi ? { abi: abi; args: args; eventName: eventName; strict: strict; } : { abi: abi; args?: undefined; eventName: eventName; strict: strict; } : { abi?: undefined; args?: undefined; eventName?: undefined; strict?: undefined; }) : {}); //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/createBlockFilter.d.ts type CreateBlockFilterReturnType = Filter<'block'>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/createContractEventFilter.d.ts type CreateContractEventFilterParameters | undefined = undefined, args extends MaybeExtractEventArgsFromAbi | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined> = { address?: Address$1 | Address$1[] | undefined; abi: abi; eventName?: eventName | ContractEventName | undefined; fromBlock?: fromBlock | BlockNumber | BlockTag | undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments in the event ABI item. * @default false */ strict?: strict | boolean | undefined; toBlock?: toBlock | BlockNumber | BlockTag | undefined; } & (undefined extends eventName ? { args?: undefined; } : MaybeExtractEventArgsFromAbi extends infer eventFilterArgs ? { args?: eventFilterArgs | (args extends eventFilterArgs ? args : never) | undefined; } : { args?: undefined; }); type CreateContractEventFilterReturnType | undefined = undefined, args extends MaybeExtractEventArgsFromAbi | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined> = Filter<'event', abi, eventName, args, strict, fromBlock, toBlock>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/createEventFilter.d.ts type CreateEventFilterParameters, _args extends MaybeExtractEventArgsFromAbi | undefined = undefined> = { address?: Address$1 | Address$1[] | undefined; fromBlock?: fromBlock | BlockNumber | BlockTag | undefined; toBlock?: toBlock | BlockNumber | BlockTag | undefined; } & (MaybeExtractEventArgsFromAbi extends infer eventFilterArgs ? { args: eventFilterArgs | (_args extends eventFilterArgs ? _args : never); event: abiEvent; events?: undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | undefined; } | { args?: undefined; event?: abiEvent | undefined; events?: undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | undefined; } | { args?: undefined; event?: undefined; events: abiEvents | undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | undefined; } | { args?: undefined; event?: undefined; events?: undefined; strict?: undefined; } : { args?: undefined; event?: undefined; events?: undefined; strict?: undefined; }); type CreateEventFilterReturnType, _args extends MaybeExtractEventArgsFromAbi | undefined = undefined> = Prettify>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/createPendingTransactionFilter.d.ts type CreatePendingTransactionFilterReturnType = Filter<'transaction'>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/estimateContractGas.d.ts type EstimateContractGasParameters = ContractFunctionName, args extends ContractFunctionArgs = ContractFunctionArgs, chain extends Chain | undefined = Chain | undefined> = ContractFunctionParameters & UnionOmit, 'data' | 'to' | 'value'> & GetValue extends EstimateGasParameters ? EstimateGasParameters['value'] : EstimateGasParameters['value']> & { /** Data to append to the end of the calldata. Useful for adding a ["domain" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f). */dataSuffix?: Hex$1 | undefined; }; type EstimateContractGasReturnType = bigint; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/fillTransaction.d.ts type FillTransactionParameters> = UnionOmit, 'from'> & GetAccountParameter & GetChainParameter & { /** * Nonce manager to use for the transaction request. */ nonceManager?: NonceManager | undefined; }; type FillTransactionReturnType> = { raw: Hex$1; transaction: FormattedTransaction<_derivedChain>; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getBalance.d.ts type GetBalanceParameters = { /** The address of the account. */address: Address$1; } & ({ /** The balance of the account at a block number. */blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockNumber?: undefined; /** The balance of the account at a block tag. */ blockTag?: BlockTag | undefined; }); type GetBalanceReturnType = bigint; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getBlobBaseFee.d.ts type GetBlobBaseFeeReturnType = bigint; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getBlockNumber.d.ts type GetBlockNumberParameters = { /** Time (in ms) that cached block number will remain in memory. */cacheTime?: number | undefined; }; type GetBlockNumberReturnType = bigint; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getBlockTransactionCount.d.ts type GetBlockTransactionCountParameters = { /** Hash of the block. */blockHash?: Hash | undefined; blockNumber?: undefined; blockTag?: undefined; } | { blockHash?: undefined; /** The block number. */ blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockHash?: undefined; blockNumber?: undefined; /** The block tag. Defaults to 'latest'. */ blockTag?: BlockTag | undefined; }; type GetBlockTransactionCountReturnType = number; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getLogs.d.ts type GetLogsParameters> = { /** Address or list of addresses from which logs originated */address?: Address$1 | Address$1[] | undefined; } & ({ event: abiEvent; events?: undefined; args?: MaybeExtractEventArgsFromAbi | undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | undefined; } | { event?: undefined; events: abiEvents; args?: undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | undefined; } | { event?: undefined; events?: undefined; args?: undefined; strict?: undefined; }) & ({ /** Block number or tag after which to include logs */fromBlock?: fromBlock | BlockNumber | BlockTag | undefined; /** Block number or tag before which to include logs */ toBlock?: toBlock | BlockNumber | BlockTag | undefined; blockHash?: undefined; } | { fromBlock?: undefined; toBlock?: undefined; /** Hash of block to include logs from */ blockHash?: Hash | undefined; }); type GetLogsReturnType, _pending extends boolean = (fromBlock extends 'pending' ? true : false) | (toBlock extends 'pending' ? true : false)> = Log[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getContractEvents.d.ts type GetContractEventsParameters | undefined = ContractEventName | undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined> = { /** The address of the contract. */address?: Address$1 | Address$1[] | undefined; /** Contract ABI. */ abi: abi; args?: ContractEventArgs ? eventName : ContractEventName> | undefined; /** Contract event. */ eventName?: eventName | ContractEventName | undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | boolean | undefined; } & ({ /** Block number or tag after which to include logs */fromBlock?: fromBlock | BlockNumber | BlockTag | undefined; /** Block number or tag before which to include logs */ toBlock?: toBlock | BlockNumber | BlockTag | undefined; blockHash?: undefined; } | { fromBlock?: undefined; toBlock?: undefined; /** Hash of block to include logs from */ blockHash?: Hash | undefined; }); type GetContractEventsReturnType | undefined = ContractEventName | undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined, isPending extends boolean = (fromBlock extends 'pending' ? true : false) | (toBlock extends 'pending' ? true : false)> = Log[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getDelegation.d.ts type GetDelegationParameters = { /** The address to check for delegation. */address: Address$1; } & ({ blockNumber?: undefined; blockTag?: BlockTag | undefined; } | { blockNumber?: bigint | undefined; blockTag?: undefined; }); type GetDelegationReturnType = Address$1 | undefined; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getEip712Domain.d.ts type GetEip712DomainParameters = { address: Address$1; } & Pick; type GetEip712DomainReturnType = { domain: RequiredBy; fields: Hex$1; extensions: readonly bigint[]; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getFeeHistory.d.ts type GetFeeHistoryParameters = { /** * Number of blocks in the requested range. Between 1 and 1024 blocks can be requested in a single query. Less than requested may be returned if not all blocks are available. */ blockCount: number; /** * A monotonically increasing list of percentile values to sample from each block's effective priority fees per gas in ascending order, weighted by gas used. */ rewardPercentiles: number[]; } & ({ blockNumber?: undefined; /** * Highest number block of the requested range. * @default 'latest' */ blockTag?: BlockTag | undefined; } | { /** Highest number block of the requested range. */blockNumber?: bigint | undefined; blockTag?: undefined; }); type GetFeeHistoryReturnType = FeeHistory; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getFilterChanges.d.ts type GetFilterChangesParameters = { filter: Filter; }; type GetFilterChangesReturnType : undefined : undefined), _Pending extends boolean = (fromBlock extends 'pending' ? true : false) | (toBlock extends 'pending' ? true : false)> = filterType extends 'event' ? Log[] : Hash[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getFilterLogs.d.ts type GetFilterLogsParameters = { filter: Filter<'event', abi, eventName, any, strict, fromBlock, toBlock>; }; type GetFilterLogsReturnType : undefined : undefined), _Pending extends boolean = (fromBlock extends 'pending' ? true : false) | (toBlock extends 'pending' ? true : false)> = Log[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getProof.d.ts type GetProofParameters = { /** Account address. */address: Address$1; /** Array of storage-keys that should be proofed and included. */ storageKeys: Hash[]; } & ({ /** The block number. */blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockNumber?: undefined; /** * The block tag. * @default 'latest' */ blockTag?: BlockTag | undefined; }); type GetProofReturnType = Proof; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getStorageAt.d.ts type GetStorageAtParameters = { address: Address$1; slot: Hex$1; } & ({ blockNumber?: undefined; blockTag?: BlockTag | undefined; } | { blockNumber?: bigint | undefined; blockTag?: undefined; }); type GetStorageAtReturnType = Hex$1 | undefined; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/accounts/utils/signAuthorization.d.ts type To = 'object' | 'bytes' | 'hex'; type SignAuthorizationReturnType$1 = Prettify>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getTransaction.d.ts type GetTransactionParameters = OneOf<{ /** The block hash */blockHash: Hash; /** The index of the transaction on the block. */ index: number; } | { /** The block number */blockNumber: bigint; /** The index of the transaction on the block. */ index: number; } | { /** The block tag. */blockTag: blockTag | BlockTag; /** The index of the transaction on the block. */ index: number; } | { /** The hash of the transaction. */hash: Hash; } | { /** The sender of the transaction. */sender: Address$1; /** The nonce of the transaction on the sender. */ nonce: number; }>; type GetTransactionReturnType = Prettify>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/formatters/transactionReceipt.d.ts type FormattedTransactionReceipt = ExtractChainFormatterReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getTransactionConfirmations.d.ts type GetTransactionConfirmationsParameters = { /** The transaction hash. */hash: Hash; transactionReceipt?: undefined; } | { hash?: undefined; /** The transaction receipt. */ transactionReceipt: FormattedTransactionReceipt; }; type GetTransactionConfirmationsReturnType = bigint; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/getTransactionReceipt.d.ts type GetTransactionReceiptParameters = { /** The hash of the transaction. */hash: Hash; }; type GetTransactionReceiptReturnType = FormattedTransactionReceipt; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/multicall.d.ts type MulticallContracts; } = { mutability: AbiStateMutability; }, result extends readonly any[] = []> = contracts extends readonly [] ? readonly [] : contracts extends readonly [infer contract] ? readonly [...result, MaybePartial & options['properties']>, options['optional']>] : contracts extends readonly [infer contract, ...infer rest] ? MulticallContracts<[...rest], options, [...result, MaybePartial & options['properties']>, options['optional']>]> : readonly unknown[] extends contracts ? contracts : contracts extends readonly (infer contract extends ContractFunctionParameters)[] ? readonly MaybePartial, options['optional']>[] : readonly MaybePartial, options['optional']>[]; type MulticallResults | undefined; mutability: AbiStateMutability; } = { error: Error; extraProperties: {}; mutability: AbiStateMutability; }, result extends any[] = []> = contracts extends readonly [] ? readonly [] : contracts extends readonly [infer contract] ? [...result, MulticallResponse, options['error'], allowFailure, options['extraProperties']>] : contracts extends readonly [infer contract, ...infer rest] ? MulticallResults<[...rest], allowFailure, options, [...result, MulticallResponse, options['error'], allowFailure, options['extraProperties']>]> : readonly unknown[] extends contracts ? MulticallResponse[] : contracts extends readonly (infer contract extends ContractFunctionParameters)[] ? MulticallResponse, options['error'], allowFailure, options['extraProperties']>[] : MulticallResponse[]; type MulticallResponse | undefined = {}> = allowFailure extends true ? (extraProperties & { error?: undefined; result: result; status: 'success'; }) | (extraProperties & { error: unknown extends error ? Error : error; result?: undefined; status: 'failure'; }) : result; type GetMulticallContractParameters = contract extends { abi: infer abi extends Abi; } ? contract extends { functionName: infer functionName extends ContractFunctionName; } ? contract extends { args: infer args extends ContractFunctionArgs; } ? ContractFunctionParameters : ContractFunctionParameters : Abi extends abi ? ContractFunctionParameters : ContractFunctionParameters : ContractFunctionParameters; type GetMulticallContractReturnType = contract extends { abi: infer abi extends Abi; } ? contract extends { functionName: infer functionName extends ContractFunctionName; } ? contract extends { args: infer args extends ContractFunctionArgs; } ? ContractFunctionReturnType : ContractFunctionReturnType : ContractFunctionReturnType : ContractFunctionReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/multicall.d.ts type MulticallParameters; } = {}> = Pick & { /** The account to use for the multicall. */account?: Address$1 | undefined; /** Whether to allow failures. */ allowFailure?: allowFailure | boolean | undefined; /** The size of each batch of calls. */ batchSize?: number | undefined; /** Enable deployless multicall. */ deployless?: boolean | undefined; /** The contracts to call. */ contracts: MulticallContracts, { mutability: AbiStateMutability; } & options>; /** The address of the multicall3 contract to use. */ multicallAddress?: Address$1 | undefined; }; type MulticallReturnType = MulticallResults, allowFailure, { mutability: AbiStateMutability; } & options>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/calls.d.ts type Call$1 = {}> = OneOf | Assign, 'address'> & { data?: Hex$1 | undefined; dataSuffix?: Hex$1 | undefined; to: Address$1; value?: bigint | undefined; }, extraProperties>>; type Calls = {}, result extends readonly any[] = []> = calls extends readonly [] ? readonly [] : calls extends readonly [infer call] ? readonly [...result, Prettify>] : calls extends readonly [infer call, ...infer rest] ? Calls<[...rest], extraProperties, [...result, Prettify>]> : readonly unknown[] extends calls ? calls : calls extends readonly (infer call extends OneOf>)[] ? readonly Prettify[] : readonly OneOf[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/simulateBlocks.d.ts type CallExtraProperties = ExactPartial> & { /** Account attached to the call (msg.sender). */account?: Account | Address$1 | undefined; /** Recipient. `null` if contract deployment. */ to?: Address$1 | null | undefined; }; type SimulateBlocksParameters = { /** Blocks to simulate. */blocks: readonly { /** Block overrides. */blockOverrides?: BlockOverrides | undefined; /** Calls to execute. */ calls: Calls, CallExtraProperties>; /** State overrides. */ stateOverrides?: StateOverride | undefined; }[]; /** Whether to return the full transactions. */ returnFullTransactions?: boolean | undefined; /** Whether to trace transfers. */ traceTransfers?: boolean | undefined; /** Whether to enable validation mode. */ validation?: boolean | undefined; } & ({ /** The balance of the account at a block number. */blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockNumber?: undefined; /** * The balance of the account at a block tag. * @default 'latest' */ blockTag?: BlockTag | undefined; }); type SimulateBlocksReturnType = readonly (Block & { calls: MulticallResults, true, { extraProperties: { data: Hex$1; gasUsed: bigint; logs?: Log[] | undefined; }; error: Error; mutability: AbiStateMutability; }>; })[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/simulateCalls.d.ts type SimulateCallsParameters = Omit & { /** Account attached to the calls (msg.sender). */account?: account | undefined; /** Calls to simulate. */ calls: Calls>; /** State overrides. */ stateOverrides?: StateOverride | undefined; /** Whether to trace asset changes. */ traceAssetChanges?: boolean | undefined; }; type SimulateCallsReturnType = { /** Asset changes. */assetChanges: readonly { token: { address: Address$1; decimals?: number | undefined; symbol?: string | undefined; }; value: { pre: bigint; post: bigint; diff: bigint; }; }[]; /** Block results. */ block: Block; /** Call results. */ results: MulticallResults, true, { extraProperties: { data: Hex$1; gasUsed: bigint; logs?: Log[] | undefined; }; error: Error; mutability: AbiStateMutability; }>; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/clients/transports/fallback.d.ts type OnResponseFn = (args: { method: string; params: unknown[]; transport: ReturnType; } & ({ error?: undefined; response: unknown; status: 'success'; } | { error: Error; response?: undefined; status: 'error'; })) => void; type FallbackTransport = Transport<'fallback', { onResponse: (fn: OnResponseFn) => void; transports: { [key in keyof transports]: ReturnType }; }>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/types/transport.d.ts type GetTransportConfig = ReturnType['config']; type GetPollOptions = (HasTransportType extends true ? { batch?: undefined; /** * Whether or not the WebSocket Transport should poll the JSON-RPC, rather than using `eth_subscribe`. * @default false */ poll?: false | undefined; pollingInterval?: undefined; } : never) | { poll?: true | undefined; /** * Whether or not the transaction hashes should be batched on each invocation. * @default true */ batch?: boolean | undefined; /** * Polling frequency (in ms). Defaults to Client's pollingInterval config. * @default client.pollingInterval */ pollingInterval?: number | undefined; }; type HasTransportType = GetTransportConfig['type'] extends type ? true : transport extends FallbackTransport ? Some<{ [key in keyof transports]: GetTransportConfig['type'] }, type> : false; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/watchBlockNumber.d.ts type OnBlockNumberParameter = GetBlockNumberReturnType; type OnBlockNumberFn = (blockNumber: OnBlockNumberParameter, prevBlockNumber: OnBlockNumberParameter | undefined) => void; type WatchBlockNumberParameters = { /** The callback to call when a new block number is received. */onBlockNumber: OnBlockNumberFn; /** The callback to call when an error occurred when trying to get for a new block. */ onError?: ((error: Error) => void) | undefined; } & ((HasTransportType extends true ? { emitMissed?: undefined; emitOnBegin?: undefined; /** Whether or not the WebSocket Transport should poll the JSON-RPC, rather than using `eth_subscribe`. */ poll?: false | undefined; pollingInterval?: undefined; } : never) | { /** Whether or not to emit the missed block numbers to the callback. */emitMissed?: boolean | undefined; /** Whether or not to emit the latest block number to the callback when the subscription opens. */ emitOnBegin?: boolean | undefined; poll?: true | undefined; /** Polling frequency (in ms). Defaults to Client's pollingInterval config. */ pollingInterval?: number | undefined; }); type WatchBlockNumberReturnType = () => void; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/waitForTransactionReceipt.d.ts type ReplacementReason = 'cancelled' | 'replaced' | 'repriced'; type ReplacementReturnType = { reason: ReplacementReason; replacedTransaction: Transaction; transaction: Transaction; transactionReceipt: GetTransactionReceiptReturnType; }; type WaitForTransactionReceiptReturnType = GetTransactionReceiptReturnType; type WaitForTransactionReceiptParameters = { /** * Whether to check for transaction replacements. * @default true */ checkReplacement?: boolean | undefined; /** * The number of confirmations (blocks that have passed) to wait before resolving. * @default 1 */ confirmations?: number | undefined; /** The hash of the transaction. */ hash: Hash; /** Optional callback to emit if the transaction has been replaced. */ onReplaced?: ((response: ReplacementReturnType) => void) | undefined; /** * Polling frequency (in ms). Defaults to the client's pollingInterval config. * @default client.pollingInterval */ pollingInterval?: number | undefined; /** * Number of times to retry if the transaction or block is not found. * @default 6 (exponential backoff) */ retryCount?: WithRetryParameters['retryCount'] | undefined; /** * Time to wait (in ms) between retries. * @default `({ count }) => ~~(1 << count) * 200` (exponential backoff) */ retryDelay?: WithRetryParameters['delay'] | undefined; /** * Optional timeout (in milliseconds) to wait before stopping polling. * @default 180_000 */ timeout?: number | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/addChain.d.ts type AddChainParameters = { /** The chain to add to the wallet. */chain: Chain; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/deployContract.d.ts type DeployContractParameters> = UnionOmit, 'accessList' | 'chain' | 'to' | 'data'> & GetChainParameter & UnionEvaluate & { abi: abi; bytecode: Hex$1; }; type DeployContractReturnType = SendTransactionReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/getAddresses.d.ts type GetAddressesReturnType = Address$1[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/getCallsStatus.d.ts type GetCallsStatusParameters = { id: string; }; type GetCallsStatusReturnType = Prettify, number, bigint, 'success' | 'reverted'>, 'status'> & { statusCode: number; status: 'pending' | 'success' | 'failure' | undefined; }>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/getCapabilities.d.ts type GetCapabilitiesParameters = { account?: Account | Address$1 | undefined; chainId?: chainId | number | undefined; }; type GetCapabilitiesReturnType = Prettify : ChainIdToCapabilities>, number>>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/getPermissions.d.ts type GetPermissionsReturnType = WalletPermission[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/prepareAuthorization.d.ts type PrepareAuthorizationParameters = GetAccountParameter & PartialBy & { /** * Whether the EIP-7702 Transaction will be executed by the EOA (signing this Authorization) or another Account. * * By default, it will be assumed that the EIP-7702 Transaction will * be executed by another Account. */ executor?: 'self' | Account | Address$1 | undefined; }; type PrepareAuthorizationReturnType = Authorization; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/requestAddresses.d.ts type RequestAddressesReturnType = Address$1[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/requestPermissions.d.ts type RequestPermissionsParameters = Prettify<{ eth_accounts: Record; } & { [key: string]: Record; }>; type RequestPermissionsReturnType = WalletPermission[]; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/sendCalls.d.ts type SendCallsParameters> = { chain?: chainOverride | Chain | undefined; calls: Calls>; capabilities?: ExtractCapabilities<'sendCalls', 'Request'> | undefined; experimental_fallback?: boolean | undefined; experimental_fallbackDelay?: number | undefined; forceAtomic?: boolean | undefined; id?: string | undefined; version?: WalletSendCallsParameters[number]['version'] | undefined; } & GetAccountParameter; type SendCallsReturnType = Prettify<{ capabilities?: ExtractCapabilities<'sendCalls', 'ReturnType'> | undefined; id: string; }>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/waitForCallsStatus.d.ts type WaitForCallsStatusParameters = { /** * The id of the call batch to wait for. */ id: string; /** * Polling frequency (in ms). Defaults to the client's pollingInterval config. * * @default client.pollingInterval */ pollingInterval?: number | undefined; /** * Number of times to retry if the call bundle failed. * @default 4 (exponential backoff) */ retryCount?: WithRetryParameters['retryCount'] | undefined; /** * Time to wait (in ms) between retries. * @default `({ count }) => ~~(1 << count) * 200` (exponential backoff) */ retryDelay?: WithRetryParameters['delay'] | undefined; /** * The status range to wait for. * * @default (status) => status >= 200 */ status?: ((parameters: GetCallsStatusReturnType) => boolean) | undefined; /** * Whether to throw an error if the call bundle fails. * * @default false */ throwOnFailure?: boolean | undefined; /** * Optional timeout (in milliseconds) to wait before stopping polling. * * @default 60_000 */ timeout?: number | undefined; }; type WaitForCallsStatusReturnType = GetCallsStatusReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/sendCallsSync.d.ts type SendCallsSyncParameters = SendCallsParameters & Pick & { /** Timeout (ms) to wait for calls to be included in a block. @default chain.blockTime * 3 */timeout?: number | undefined; }; type SendCallsSyncReturnType = GetCallsStatusReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/showCallsStatus.d.ts type ShowCallsStatusParameters = { id: string; }; type ShowCallsStatusReturnType = void; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/signAuthorization.d.ts type SignAuthorizationParameters = PrepareAuthorizationParameters; type SignAuthorizationReturnType = SignAuthorizationReturnType$1; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/signMessage.d.ts type SignMessageParameters = GetAccountParameter & { message: SignableMessage; }; type SignMessageReturnType = Hex$1; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/signTransaction.d.ts type SignTransactionRequest> = UnionOmit, 'from'>; type SignTransactionParameters = SignTransactionRequest> = request & GetAccountParameter & GetChainParameter & GetTransactionRequestKzgParameter; type SignTransactionReturnType = TransactionSerialized>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/signTypedData.d.ts type SignTypedDataParameters = TypedData, primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData, account extends Account | undefined = undefined, primaryTypes = (typedData extends TypedData ? keyof typedData : string)> = TypedDataDefinition & GetAccountParameter; type SignTypedDataReturnType = Hex$1; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/switchChain.d.ts type SwitchChainParameters = { /** ID of Chain to switch to */id: Chain['id']; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/watchAsset.d.ts type WatchAssetParameters = WatchAssetParams; type WatchAssetReturnType = boolean; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/writeContractSync.d.ts type WriteContractSyncParameters = ContractFunctionName, args extends ContractFunctionArgs = ContractFunctionArgs, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined> = WriteContractParameters & Pick, 'pollingInterval' | 'throwOnReceiptRevert' | 'timeout'>; type WriteContractSyncReturnType = SendTransactionSyncReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/clients/decorators/wallet.d.ts type WalletActions = { /** * Adds an EVM chain to the wallet. * * - Docs: https://viem.sh/docs/actions/wallet/addChain * - JSON-RPC Methods: [`eth_addEthereumChain`](https://eips.ethereum.org/EIPS/eip-3085) * * @param args - {@link AddChainParameters} * * @example * import { createWalletClient, custom } from 'viem' * import { optimism } from 'viem/chains' * * const client = createWalletClient({ * transport: custom(window.ethereum), * }) * await client.addChain({ chain: optimism }) */ addChain: (args: AddChainParameters) => Promise; /** * Deploys a contract to the network, given bytecode and constructor arguments. * * - Docs: https://viem.sh/docs/contract/deployContract * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts_deploying-contracts * * @param args - {@link DeployContractParameters} * @returns The [Transaction](https://viem.sh/docs/glossary/terms#transaction) hash. {@link DeployContractReturnType} * * @example * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: http(), * }) * const hash = await client.deployContract({ * abi: [], * account: '0x…, * bytecode: '0x608060405260405161083e38038061083e833981016040819052610...', * }) */ deployContract: (args: DeployContractParameters) => Promise; /** * Fills a transaction request with the necessary fields to be signed over. * * - Docs: https://viem.sh/docs/actions/public/fillTransaction * * @param client - Client to use * @param parameters - {@link FillTransactionParameters} * @returns The filled transaction. {@link FillTransactionReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const result = await client.fillTransaction({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: parseEther('1'), * }) */ fillTransaction: (args: FillTransactionParameters) => Promise>; /** * Returns a list of account addresses owned by the wallet or client. * * - Docs: https://viem.sh/docs/actions/wallet/getAddresses * - JSON-RPC Methods: [`eth_accounts`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_accounts) * * @returns List of account addresses owned by the wallet or client. {@link GetAddressesReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const accounts = await client.getAddresses() */ getAddresses: () => Promise; /** * Returns the status of a call batch that was sent via `sendCalls`. * * - Docs: https://viem.sh/docs/actions/wallet/getCallsStatus * - JSON-RPC Methods: [`wallet_getCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792) * * @param client - Client to use * @returns Status of the calls. {@link GetCallsStatusReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const { receipts, status } = await client.getCallsStatus({ id: '0xdeadbeef' }) */ getCallsStatus: (parameters: GetCallsStatusParameters) => Promise; /** * Extract capabilities that a connected wallet supports (e.g. paymasters, session keys, etc). * * - Docs: https://viem.sh/docs/actions/wallet/getCapabilities * - JSON-RPC Methods: [`wallet_getCapabilities`](https://eips.ethereum.org/EIPS/eip-5792) * * @param client - Client to use * @returns The wallet's capabilities. {@link GetCapabilitiesReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const capabilities = await client.getCapabilities({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) */ getCapabilities: (parameters?: GetCapabilitiesParameters) => Promise>; /** * Returns the chain ID associated with the current network. * * - Docs: https://viem.sh/docs/actions/public/getChainId * - JSON-RPC Methods: [`eth_chainId`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_chainid) * * @returns The current chain ID. {@link GetChainIdReturnType} * * @example * import { createWalletClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const chainId = await client.getChainId() * // 1 */ getChainId: () => Promise; /** * Gets the wallets current permissions. * * - Docs: https://viem.sh/docs/actions/wallet/getPermissions * - JSON-RPC Methods: [`wallet_getPermissions`](https://eips.ethereum.org/EIPS/eip-2255) * * @returns The wallet permissions. {@link GetPermissionsReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const permissions = await client.getPermissions() */ getPermissions: () => Promise; /** * Prepares an [EIP-7702 Authorization](https://eips.ethereum.org/EIPS/eip-7702) object for signing. * This Action will fill the required fields of the Authorization object if they are not provided (e.g. `nonce` and `chainId`). * * With the prepared Authorization object, you can use [`signAuthorization`](https://viem.sh/docs/eip7702/signAuthorization) to sign over the Authorization object. * * @param client - Client to use * @param parameters - {@link PrepareAuthorizationParameters} * @returns The prepared Authorization object. {@link PrepareAuthorizationReturnType} * * @example * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: http(), * }) * * const authorization = await client.prepareAuthorization({ * account: privateKeyToAccount('0x..'), * contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: http(), * }) * * const authorization = await client.prepareAuthorization({ * contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) */ prepareAuthorization: (parameters: PrepareAuthorizationParameters) => Promise; /** * Prepares a transaction request for signing. * * - Docs: https://viem.sh/docs/actions/wallet/prepareTransactionRequest * * @param args - {@link PrepareTransactionRequestParameters} * @returns The transaction request. {@link PrepareTransactionRequestReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const request = await client.prepareTransactionRequest({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * to: '0x0000000000000000000000000000000000000000', * value: 1n, * }) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: custom(window.ethereum), * }) * const request = await client.prepareTransactionRequest({ * to: '0x0000000000000000000000000000000000000000', * value: 1n, * }) */ prepareTransactionRequest: , chainOverride extends Chain | undefined = undefined, accountOverride extends Account | Address$1 | undefined = undefined>(args: PrepareTransactionRequestParameters) => Promise>; /** * Requests a list of accounts managed by a wallet. * * - Docs: https://viem.sh/docs/actions/wallet/requestAddresses * - JSON-RPC Methods: [`eth_requestAccounts`](https://eips.ethereum.org/EIPS/eip-1102) * * Sends a request to the wallet, asking for permission to access the user's accounts. After the user accepts the request, it will return a list of accounts (addresses). * * This API can be useful for dapps that need to access the user's accounts in order to execute transactions or interact with smart contracts. * * @returns List of accounts managed by a wallet {@link RequestAddressesReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const accounts = await client.requestAddresses() */ requestAddresses: () => Promise; /** * Requests permissions for a wallet. * * - Docs: https://viem.sh/docs/actions/wallet/requestPermissions * - JSON-RPC Methods: [`wallet_requestPermissions`](https://eips.ethereum.org/EIPS/eip-2255) * * @param args - {@link RequestPermissionsParameters} * @returns The wallet permissions. {@link RequestPermissionsReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const permissions = await client.requestPermissions({ * eth_accounts: {} * }) */ requestPermissions: (args: RequestPermissionsParameters) => Promise; /** * Requests the connected wallet to send a batch of calls. * * - Docs: https://viem.sh/docs/actions/wallet/sendCalls * - JSON-RPC Methods: [`wallet_sendCalls`](https://eips.ethereum.org/EIPS/eip-5792) * * @param client - Client to use * @returns Transaction identifier. {@link SendCallsReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const id = await client.sendCalls({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * calls: [ * { * data: '0xdeadbeef', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * }, * { * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: 69420n, * }, * ], * }) */ sendCalls: (parameters: SendCallsParameters) => Promise; /** * Requests the connected wallet to send a batch of calls, and waits for the calls to be included in a block. * * - Docs: https://viem.sh/docs/actions/wallet/sendCallsSync * - JSON-RPC Methods: [`wallet_sendCalls`](https://eips.ethereum.org/EIPS/eip-5792) * * @param client - Client to use * @returns Calls status. {@link SendCallsSyncReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const status = await client.sendCallsSync({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * calls: [ * { * data: '0xdeadbeef', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * }, * { * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: 69420n, * }, * ], * }) */ sendCallsSync: (parameters: SendCallsSyncParameters) => Promise; /** * Sends a **signed** transaction to the network * * - Docs: https://viem.sh/docs/actions/wallet/sendRawTransaction * - JSON-RPC Method: [`eth_sendRawTransaction`](https://ethereum.github.io/execution-apis/api-documentation/) * * @param client - Client to use * @param parameters - {@link SendRawTransactionParameters} * @returns The transaction hash. {@link SendRawTransactionReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * import { sendRawTransaction } from 'viem/wallet' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const hash = await client.sendRawTransaction({ * serializedTransaction: '0x02f850018203118080825208808080c080a04012522854168b27e5dc3d5839bab5e6b39e1a0ffd343901ce1622e3d64b48f1a04e00902ae0502c4728cbf12156290df99c3ed7de85b1dbfe20b5c36931733a33' * }) */ sendRawTransaction: (args: SendRawTransactionParameters) => Promise; /** * Sends a **signed** transaction to the network synchronously, * and waits for the transaction to be included in a block. * * - Docs: https://viem.sh/docs/actions/wallet/sendRawTransactionSync * - JSON-RPC Method: [`eth_sendRawTransactionSync`](https://eips.ethereum.org/EIPS/eip-7966) * * @param client - Client to use * @param parameters - {@link SendRawTransactionSyncParameters} * @returns The transaction receipt. {@link SendRawTransactionSyncReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * import { sendRawTransactionSync } from 'viem/wallet' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const receipt = await client.sendRawTransactionSync({ * serializedTransaction: '0x02f850018203118080825208808080c080a04012522854168b27e5dc3d5839bab5e6b39e1a0ffd343901ce1622e3d64b48f1a04e00902ae0502c4728cbf12156290df99c3ed7de85b1dbfe20b5c36931733a33' * }) */ sendRawTransactionSync: (args: SendRawTransactionSyncParameters) => Promise>; /** * Creates, signs, and sends a new transaction to the network. * * - Docs: https://viem.sh/docs/actions/wallet/sendTransaction * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions_sending-transactions * - JSON-RPC Methods: * - JSON-RPC Accounts: [`eth_sendTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendtransaction) * - Local Accounts: [`eth_sendRawTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendrawtransaction) * * @param args - {@link SendTransactionParameters} * @returns The [Transaction](https://viem.sh/docs/glossary/terms#transaction) hash. {@link SendTransactionReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const hash = await client.sendTransaction({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: 1000000000000000000n, * }) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: http(), * }) * const hash = await client.sendTransaction({ * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: 1000000000000000000n, * }) */ sendTransaction: , chainOverride extends Chain | undefined = undefined>(args: SendTransactionParameters) => Promise; /** * Creates, signs, and sends a new transaction to the network synchronously. * Returns the transaction receipt. * * - Docs: https://viem.sh/docs/actions/wallet/sendTransactionSync * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions_sending-transactions * - JSON-RPC Methods: * - JSON-RPC Accounts: [`eth_sendTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendtransaction) * - Local Accounts: [`eth_sendRawTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendrawtransaction) * * @param args - {@link SendTransactionParameters} * @returns The transaction receipt. {@link SendTransactionReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const receipt = await client.sendTransactionSync({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: 1000000000000000000n, * }) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: http(), * }) * const receipt = await client.sendTransactionSync({ * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: 1000000000000000000n, * }) */ sendTransactionSync: , chainOverride extends Chain | undefined = undefined>(args: SendTransactionSyncParameters) => Promise>; /** * Requests for the wallet to show information about a call batch * that was sent via `sendCalls`. * * - Docs: https://viem.sh/docs/actions/wallet/showCallsStatus * - JSON-RPC Methods: [`wallet_showCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792) * * @param client - Client to use * @returns Displays status of the calls in wallet. {@link ShowCallsStatusReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * await client.showCallsStatus({ id: '0xdeadbeef' }) */ showCallsStatus: (parameters: ShowCallsStatusParameters) => Promise; /** * Signs an [EIP-7702 Authorization](https://eips.ethereum.org/EIPS/eip-7702) object. * * With the calculated signature, you can: * - use [`verifyAuthorization`](https://viem.sh/docs/eip7702/verifyAuthorization) to verify the signed Authorization object, * - use [`recoverAuthorizationAddress`](https://viem.sh/docs/eip7702/recoverAuthorizationAddress) to recover the signing address from the signed Authorization object. * * @param client - Client to use * @param parameters - {@link SignAuthorizationParameters} * @returns The signed Authorization object. {@link SignAuthorizationReturnType} * * @example * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: http(), * }) * * const signature = await client.signAuthorization({ * account: privateKeyToAccount('0x..'), * contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: http(), * }) * * const signature = await client.signAuthorization({ * contractAddress: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) */ signAuthorization: (parameters: SignAuthorizationParameters) => Promise; /** * Calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`. * * - Docs: https://viem.sh/docs/actions/wallet/signMessage * - JSON-RPC Methods: * - JSON-RPC Accounts: [`personal_sign`](https://docs.metamask.io/guide/signing-data#personal-sign) * - Local Accounts: Signs locally. No JSON-RPC request. * * With the calculated signature, you can: * - use [`verifyMessage`](https://viem.sh/docs/utilities/verifyMessage) to verify the signature, * - use [`recoverMessageAddress`](https://viem.sh/docs/utilities/recoverMessageAddress) to recover the signing address from a signature. * * @param args - {@link SignMessageParameters} * @returns The signed message. {@link SignMessageReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const signature = await client.signMessage({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * message: 'hello world', * }) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: http(), * }) * const signature = await client.signMessage({ * message: 'hello world', * }) */ signMessage: (args: SignMessageParameters) => Promise; /** * Signs a transaction. * * - Docs: https://viem.sh/docs/actions/wallet/signTransaction * - JSON-RPC Methods: * - JSON-RPC Accounts: [`eth_signTransaction`](https://ethereum.github.io/execution-apis/api-documentation/) * - Local Accounts: Signs locally. No JSON-RPC request. * * @param args - {@link SignTransactionParameters} * @returns The signed message. {@link SignTransactionReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const request = await client.prepareTransactionRequest({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * to: '0x0000000000000000000000000000000000000000', * value: 1n, * }) * const signature = await client.signTransaction(request) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: custom(window.ethereum), * }) * const request = await client.prepareTransactionRequest({ * to: '0x0000000000000000000000000000000000000000', * value: 1n, * }) * const signature = await client.signTransaction(request) */ signTransaction: = SignTransactionRequest>(args: SignTransactionParameters) => Promise>; /** * Signs typed data and calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`. * * - Docs: https://viem.sh/docs/actions/wallet/signTypedData * - JSON-RPC Methods: * - JSON-RPC Accounts: [`eth_signTypedData_v4`](https://docs.metamask.io/guide/signing-data#signtypeddata-v4) * - Local Accounts: Signs locally. No JSON-RPC request. * * @param client - Client to use * @param args - {@link SignTypedDataParameters} * @returns The signed data. {@link SignTypedDataReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const signature = await client.signTypedData({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * domain: { * name: 'Ether Mail', * version: '1', * chainId: 1, * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC', * }, * types: { * Person: [ * { name: 'name', type: 'string' }, * { name: 'wallet', type: 'address' }, * ], * Mail: [ * { name: 'from', type: 'Person' }, * { name: 'to', type: 'Person' }, * { name: 'contents', type: 'string' }, * ], * }, * primaryType: 'Mail', * message: { * from: { * name: 'Cow', * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826', * }, * to: { * name: 'Bob', * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB', * }, * contents: 'Hello, Bob!', * }, * }) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: http(), * }) * const signature = await client.signTypedData({ * domain: { * name: 'Ether Mail', * version: '1', * chainId: 1, * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC', * }, * types: { * Person: [ * { name: 'name', type: 'string' }, * { name: 'wallet', type: 'address' }, * ], * Mail: [ * { name: 'from', type: 'Person' }, * { name: 'to', type: 'Person' }, * { name: 'contents', type: 'string' }, * ], * }, * primaryType: 'Mail', * message: { * from: { * name: 'Cow', * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826', * }, * to: { * name: 'Bob', * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB', * }, * contents: 'Hello, Bob!', * }, * }) */ signTypedData: (args: SignTypedDataParameters) => Promise; /** * Switch the target chain in a wallet. * * - Docs: https://viem.sh/docs/actions/wallet/switchChain * - JSON-RPC Methods: [`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-3326) * * @param args - {@link SwitchChainParameters} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet, optimism } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * await client.switchChain({ id: optimism.id }) */ switchChain: (args: SwitchChainParameters) => Promise; /** * Waits for the status & receipts of a call bundle that was sent via `sendCalls`. * * - Docs: https://viem.sh/docs/actions/wallet/waitForCallsStatus * - JSON-RPC Methods: [`wallet_getCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792) * * @param client - Client to use * @param parameters - {@link WaitForCallsStatusParameters} * @returns Status & receipts of the call bundle. {@link WaitForCallsStatusReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const { receipts, status } = await waitForCallsStatus(client, { id: '0xdeadbeef' }) */ waitForCallsStatus: (parameters: WaitForCallsStatusParameters) => Promise; /** * Adds an EVM chain to the wallet. * * - Docs: https://viem.sh/docs/actions/wallet/watchAsset * - JSON-RPC Methods: [`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-747) * * @param args - {@link WatchAssetParameters} * @returns Boolean indicating if the token was successfully added. {@link WatchAssetReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const success = await client.watchAsset({ * type: 'ERC20', * options: { * address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', * decimals: 18, * symbol: 'WETH', * }, * }) */ watchAsset: (args: WatchAssetParameters) => Promise; /** * Executes a write function on a contract. * * - Docs: https://viem.sh/docs/contract/writeContract * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts_writing-to-contracts * * A "write" function on a Solidity contract modifies the state of the blockchain. These types of functions require gas to be executed, and hence a [Transaction](https://viem.sh/docs/glossary/terms) is needed to be broadcast in order to change the state. * * Internally, uses a [Wallet Client](https://viem.sh/docs/clients/wallet) to call the [`sendTransaction` action](https://viem.sh/docs/actions/wallet/sendTransaction) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData). * * __Warning: The `write` internally sends a transaction – it does not validate if the contract write will succeed (the contract may throw an error). It is highly recommended to [simulate the contract write with `contract.simulate`](https://viem.sh/docs/contract/writeContract#usage) before you execute it.__ * * @param args - {@link WriteContractParameters} * @returns A [Transaction Hash](https://viem.sh/docs/glossary/terms#hash). {@link WriteContractReturnType} * * @example * import { createWalletClient, custom, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const hash = await client.writeContract({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']), * functionName: 'mint', * args: [69420], * }) * * @example * // With Validation * import { createWalletClient, custom, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const { request } = await client.simulateContract({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']), * functionName: 'mint', * args: [69420], * } * const hash = await client.writeContract(request) */ writeContract: , args extends ContractFunctionArgs, chainOverride extends Chain | undefined = undefined>(args: WriteContractParameters) => Promise; /** * Executes a write function on a contract synchronously. * Returns the transaction receipt. * * - Docs: https://viem.sh/docs/contract/writeContract * * A "write" function on a Solidity contract modifies the state of the blockchain. These types of functions require gas to be executed, and hence a [Transaction](https://viem.sh/docs/glossary/terms) is needed to be broadcast in order to change the state. * * Internally, uses a [Wallet Client](https://viem.sh/docs/clients/wallet) to call the [`sendTransaction` action](https://viem.sh/docs/actions/wallet/sendTransaction) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData). * * __Warning: The `write` internally sends a transaction – it does not validate if the contract write will succeed (the contract may throw an error). It is highly recommended to [simulate the contract write with `contract.simulate`](https://viem.sh/docs/contract/writeContract#usage) before you execute it.__ * * @param args - {@link WriteContractSyncParameters} * @returns A [Transaction Receipt](https://viem.sh/docs/glossary/terms#receipt). {@link WriteContractSyncReturnType} * * @example * import { createWalletClient, custom, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const receipt = await client.writeContractSync({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']), * functionName: 'mint', * args: [69420], * }) */ writeContractSync: , args extends ContractFunctionArgs, chainOverride extends Chain | undefined = undefined>(args: WriteContractSyncParameters) => Promise; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/sendRawTransactionSync.d.ts type SendRawTransactionSyncParameters = { /** The signed serialized transaction. */serializedTransaction: TransactionSerializedGeneric; /** Whether to throw an error if the transaction was detected as reverted. @default true */ throwOnReceiptRevert?: boolean | undefined; /** The timeout for the transaction. */ timeout?: number | undefined; }; type SendRawTransactionSyncReturnType = FormattedTransactionReceipt; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/sendTransactionSync.d.ts type SendTransactionSyncRequest> = UnionOmit, 'from'> & GetTransactionRequestKzgParameter; type SendTransactionSyncParameters = SendTransactionSyncRequest> = request & GetAccountParameter & GetChainParameter & GetTransactionRequestKzgParameter & { /** Whether to assert that the client chain is on the correct chain. @default true */assertChainId?: boolean | undefined; /** Data to append to the end of the calldata. Takes precedence over `client.dataSuffix`. */ dataSuffix?: Hex$1 | undefined; /** Polling interval (ms) to poll for the transaction receipt. @default client.pollingInterval */ pollingInterval?: number | undefined; /** Whether to throw an error if the transaction was detected as reverted. @default true */ throwOnReceiptRevert?: boolean | undefined; /** Timeout (ms) to wait for a response. @default Math.max(chain.blockTime * 3, 5_000) */ timeout?: number | undefined; }; type SendTransactionSyncReturnType = SendRawTransactionSyncReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/wallet/writeContract.d.ts type WriteContractParameters = ContractFunctionName, args extends ContractFunctionArgs = ContractFunctionArgs, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, allFunctionNames = ContractFunctionName, derivedChain extends Chain | undefined = DeriveChain> = ContractFunctionParameters & GetChainParameter & Prettify & GetMutabilityAwareValue['value'], args> & { /** Data to append to the end of the calldata. Useful for adding a ["domain" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f). */dataSuffix?: Hex$1 | undefined; }> & UnionEvaluate, 'data' | 'from' | 'to' | 'value'>>; type WriteContractReturnType = SendTransactionReturnType; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/simulateContract.d.ts type GetMutabilityAwareValue = ContractFunctionName, valueType = TransactionRequest['value'], args extends ContractFunctionArgs = ContractFunctionArgs, abiFunction extends AbiFunction = (abi extends Abi ? ExtractAbiFunctionForArgs : AbiFunction), _Narrowable extends boolean = IsNarrowable> = _Narrowable extends true ? abiFunction['stateMutability'] extends 'payable' ? { value?: NoInfer | undefined; } : abiFunction['payable'] extends true ? { value?: NoInfer | undefined; } : { value?: undefined; } : { value?: NoInfer | undefined; }; type SimulateContractParameters = ContractFunctionName, args extends ContractFunctionArgs = ContractFunctionArgs, chain extends Chain | undefined = Chain | undefined, chainOverride extends Chain | undefined = Chain | undefined, accountOverride extends Account | Address$1 | null | undefined = undefined, derivedChain extends Chain | undefined = DeriveChain, callParameters extends CallParameters = CallParameters> = { account?: accountOverride | null | undefined; chain?: chainOverride | undefined; /** Data to append to the end of the calldata. Useful for adding a ["domain" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f). */ dataSuffix?: Hex$1 | undefined; } & ContractFunctionParameters & UnionOmit & GetMutabilityAwareValue; type SimulateContractReturnType = ContractFunctionName, in out args extends ContractFunctionArgs = ContractFunctionArgs, /** @ts-expect-error cast variance */out chain extends Chain | undefined = Chain | undefined, out account extends Account | undefined = Account | undefined, out chainOverride extends Chain | undefined = Chain | undefined, out accountOverride extends Account | Address$1 | null | undefined = Account | Address$1 | null | undefined, in out minimizedAbi extends Abi = readonly [ExtractAbiFunctionForArgs], out resolvedAccount extends Account | null | undefined = (accountOverride extends Account | Address$1 | null ? ParseAccount : account)> = { result: ContractFunctionReturnType; request: Prettify, 'account' | 'abi' | 'args' | 'chain' | 'functionName'>> & ContractFunctionParameters & { chain: DeriveChain; } & (resolvedAccount extends Account | null ? { account: resolvedAccount; } : { account?: undefined; })>; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/uninstallFilter.d.ts type UninstallFilterParameters = { filter: Filter; }; type UninstallFilterReturnType = boolean; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/verifyMessage.d.ts type VerifyMessageParameters = Prettify & { /** The address that signed the original message. */address: Address$1; /** The message to be verified. */ message: SignableMessage; /** The signature that was generated by signing the message with the address's private key. */ signature: Hex$1 | ByteArray | Signature; }>; type VerifyMessageReturnType = boolean; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/verifyTypedData.d.ts type VerifyTypedDataParameters = TypedData, primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData> = Omit & TypedDataDefinition & { /** The address to verify the typed data for. */address: Address$1; /** The signature to verify */ signature: Hex$1 | ByteArray | Signature; }; type VerifyTypedDataReturnType = boolean; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/watchBlocks.d.ts type OnBlockParameter = GetBlockReturnType; type OnBlock = (block: OnBlockParameter, prevBlock: OnBlockParameter | undefined) => void; type WatchBlocksParameters = { /** The callback to call when a new block is received. */onBlock: OnBlock; /** The callback to call when an error occurred when trying to get for a new block. */ onError?: ((error: Error) => void) | undefined; } & ((HasTransportType extends true ? { blockTag?: undefined; emitMissed?: undefined; emitOnBegin?: undefined; includeTransactions?: undefined; /** Whether or not the WebSocket Transport should poll the JSON-RPC, rather than using `eth_subscribe`. */ poll?: false | undefined; pollingInterval?: undefined; } : never) | { /** The block tag. Defaults to "latest". */blockTag?: blockTag | BlockTag | undefined; /** Whether or not to emit the missed blocks to the callback. */ emitMissed?: boolean | undefined; /** Whether or not to emit the block to the callback when the subscription opens. */ emitOnBegin?: boolean | undefined; /** Whether or not to include transaction data in the response. */ includeTransactions?: includeTransactions | undefined; poll?: true | undefined; /** Polling frequency (in ms). Defaults to the client's pollingInterval config. */ pollingInterval?: number | undefined; }); type WatchBlocksReturnType = () => void; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/watchContractEvent.d.ts type WatchContractEventOnLogsParameter = ContractEventName, strict extends boolean | undefined = undefined> = abi extends Abi ? Abi extends abi ? Log[] : Log, strict>[] : Log[]; type WatchContractEventOnLogsFn = ContractEventName, strict extends boolean | undefined = undefined> = (logs: WatchContractEventOnLogsParameter) => void; type WatchContractEventParameters | undefined = ContractEventName, strict extends boolean | undefined = undefined, transport extends Transport = Transport> = { /** The address of the contract. */address?: Address$1 | Address$1[] | undefined; /** Contract ABI. */ abi: abi; args?: ContractEventArgs ? eventName : ContractEventName> | undefined; /** Contract event. */ eventName?: eventName | ContractEventName | undefined; /** Block to start listening from. */ fromBlock?: BlockNumber | undefined; /** The callback to call when an error occurred when trying to get for a new block. */ onError?: ((error: Error) => void) | undefined; /** The callback to call when new event logs are received. */ onLogs: WatchContractEventOnLogsFn ? eventName : ContractEventName, strict>; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | boolean | undefined; } & GetPollOptions; type WatchContractEventReturnType = () => void; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/watchEvent.d.ts type WatchEventOnLogsParameter> = Log[]; type WatchEventOnLogsFn> = (logs: WatchEventOnLogsParameter) => void; type WatchEventParameters> = { /** The address of the contract. */address?: Address$1 | Address$1[] | undefined; /** Block to start listening from. */ fromBlock?: BlockNumber | undefined; /** The callback to call when an error occurred when trying to get for a new block. */ onError?: ((error: Error) => void) | undefined; /** The callback to call when new event logs are received. */ onLogs: WatchEventOnLogsFn; } & GetPollOptions & ({ event: abiEvent; events?: undefined; args?: MaybeExtractEventArgsFromAbi | undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | undefined; } | { event?: undefined; events?: abiEvents | undefined; args?: undefined; /** * Whether or not the logs must match the indexed/non-indexed arguments on `event`. * @default false */ strict?: strict | undefined; } | { event?: undefined; events?: undefined; args?: undefined; strict?: undefined; }); type WatchEventReturnType = () => void; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/public/watchPendingTransactions.d.ts type OnTransactionsParameter = Hash[]; type OnTransactionsFn = (transactions: OnTransactionsParameter) => void; type WatchPendingTransactionsParameters = { /** The callback to call when an error occurred when trying to get for a new block. */onError?: ((error: Error) => void) | undefined; /** The callback to call when new transactions are received. */ onTransactions: OnTransactionsFn; } & GetPollOptions; type WatchPendingTransactionsReturnType = () => void; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/siwe/validateSiweMessage.d.ts type ValidateSiweMessageParameters = { /** * Ethereum address to check against. */ address?: Address$1 | undefined; /** * [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986) authority to check against. */ domain?: string | undefined; /** * EIP-4361 message fields. */ message: ExactPartial; /** * Random string to check against. */ nonce?: string | undefined; /** * [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) URI scheme to check against. */ scheme?: string | undefined; /** * Current time to check optional `expirationTime` and `notBefore` fields. * * @default new Date() */ time?: Date | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/actions/siwe/verifySiweMessage.d.ts type VerifySiweMessageParameters = Prettify & Pick & { /** * EIP-4361 formatted message. */ message: string; /** * Signature to check against. */ signature: Hex$1; }>; type VerifySiweMessageReturnType = boolean; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/clients/decorators/public.d.ts type PublicActions = { /** * Executes a new message call immediately without submitting a transaction to the network. * * - Docs: https://viem.sh/docs/actions/public/call * - JSON-RPC Methods: [`eth_call`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call) * * @param args - {@link CallParameters} * @returns The call data. {@link CallReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const data = await client.call({ * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266', * data: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * }) */ call: (parameters: CallParameters) => Promise; /** * Creates an EIP-2930 access list that you can include in a transaction. * * - Docs: https://viem.sh/docs/actions/public/createAccessList * - JSON-RPC Methods: `eth_createAccessList` * * @param args - {@link CreateAccessListParameters} * @returns The call data. {@link CreateAccessListReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * * const data = await client.createAccessList({ * data: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * }) */ createAccessList: (parameters: CreateAccessListParameters) => Promise; /** * Creates a Filter to listen for new block hashes that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges). * * - Docs: https://viem.sh/docs/actions/public/createBlockFilter * - JSON-RPC Methods: [`eth_newBlockFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newBlockFilter) * * @returns Filter. {@link CreateBlockFilterReturnType} * * @example * import { createPublicClient, createBlockFilter, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await createBlockFilter(client) * // { id: "0x345a6572337856574a76364e457a4366", type: 'block' } */ createBlockFilter: () => Promise; /** * Creates a Filter to retrieve event logs that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges) or [`getFilterLogs`](https://viem.sh/docs/actions/public/getFilterLogs). * * - Docs: https://viem.sh/docs/contract/createContractEventFilter * * @param args - {@link CreateContractEventFilterParameters} * @returns [`Filter`](https://viem.sh/docs/glossary/types#filter). {@link CreateContractEventFilterReturnType} * * @example * import { createPublicClient, http, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await client.createContractEventFilter({ * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']), * }) */ createContractEventFilter: | undefined, args extends MaybeExtractEventArgsFromAbi | undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined>(args: CreateContractEventFilterParameters) => Promise>; /** * Creates a [`Filter`](https://viem.sh/docs/glossary/types#filter) to listen for new events that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges). * * - Docs: https://viem.sh/docs/actions/public/createEventFilter * - JSON-RPC Methods: [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter) * * @param args - {@link CreateEventFilterParameters} * @returns [`Filter`](https://viem.sh/docs/glossary/types#filter). {@link CreateEventFilterReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await client.createEventFilter({ * address: '0xfba3912ca04dd458c843e2ee08967fc04f3579c2', * }) */ createEventFilter: , _Args extends MaybeExtractEventArgsFromAbi | undefined = undefined>(args?: CreateEventFilterParameters | undefined) => Promise>; /** * Creates a Filter to listen for new pending transaction hashes that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges). * * - Docs: https://viem.sh/docs/actions/public/createPendingTransactionFilter * - JSON-RPC Methods: [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter) * * @returns [`Filter`](https://viem.sh/docs/glossary/types#filter). {@link CreateBlockFilterReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await client.createPendingTransactionFilter() * // { id: "0x345a6572337856574a76364e457a4366", type: 'transaction' } */ createPendingTransactionFilter: () => Promise; /** * Estimates the gas required to successfully execute a contract write function call. * * - Docs: https://viem.sh/docs/contract/estimateContractGas * * @remarks * Internally, uses a [Public Client](https://viem.sh/docs/clients/public) to call the [`estimateGas` action](https://viem.sh/docs/actions/public/estimateGas) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData). * * @param args - {@link EstimateContractGasParameters} * @returns The gas estimate (in wei). {@link EstimateContractGasReturnType} * * @example * import { createPublicClient, http, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const gas = await client.estimateContractGas({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi: parseAbi(['function mint() public']), * functionName: 'mint', * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266', * }) */ estimateContractGas: , args extends ContractFunctionArgs>(args: EstimateContractGasParameters) => Promise; /** * Estimates the gas necessary to complete a transaction without submitting it to the network. * * - Docs: https://viem.sh/docs/actions/public/estimateGas * - JSON-RPC Methods: [`eth_estimateGas`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_estimategas) * * @param args - {@link EstimateGasParameters} * @returns The gas estimate (in wei). {@link EstimateGasReturnType} * * @example * import { createPublicClient, http, parseEther } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const gasEstimate = await client.estimateGas({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: parseEther('1'), * }) */ estimateGas: (args: EstimateGasParameters) => Promise; /** * Fills a transaction request with the necessary fields to be signed over. * * - Docs: https://viem.sh/docs/actions/public/fillTransaction * * @param client - Client to use * @param parameters - {@link FillTransactionParameters} * @returns The filled transaction. {@link FillTransactionReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const result = await client.fillTransaction({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: parseEther('1'), * }) */ fillTransaction: (args: FillTransactionParameters) => Promise>; /** * Returns the balance of an address in wei. * * - Docs: https://viem.sh/docs/actions/public/getBalance * - JSON-RPC Methods: [`eth_getBalance`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getbalance) * * @remarks * You can convert the balance to ether units with [`formatEther`](https://viem.sh/docs/utilities/formatEther). * * ```ts * const balance = await getBalance(client, { * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * blockTag: 'safe' * }) * const balanceAsEther = formatEther(balance) * // "6.942" * ``` * * @param args - {@link GetBalanceParameters} * @returns The balance of the address in wei. {@link GetBalanceReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const balance = await client.getBalance({ * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) * // 10000000000000000000000n (wei) */ getBalance: (args: GetBalanceParameters) => Promise; /** * Returns the base fee per blob gas in wei. * * - Docs: https://viem.sh/docs/actions/public/getBlobBaseFee * - JSON-RPC Methods: [`eth_blobBaseFee`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blobBaseFee) * * @param client - Client to use * @returns The blob base fee (in wei). {@link GetBlobBaseFeeReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { getBlobBaseFee } from 'viem/public' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const blobBaseFee = await client.getBlobBaseFee() */ getBlobBaseFee: () => Promise; /** * Returns information about a block at a block number, hash, or tag. * * - Docs: https://viem.sh/docs/actions/public/getBlock * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks_fetching-blocks * - JSON-RPC Methods: * - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) for `blockNumber` & `blockTag`. * - Calls [`eth_getBlockByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbyhash) for `blockHash`. * * @param args - {@link GetBlockParameters} * @returns Information about the block. {@link GetBlockReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const block = await client.getBlock() */ getBlock: (args?: GetBlockParameters | undefined) => Promise>; /** * Returns the number of the most recent block seen. * * - Docs: https://viem.sh/docs/actions/public/getBlockNumber * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks_fetching-blocks * - JSON-RPC Methods: [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber) * * @param args - {@link GetBlockNumberParameters} * @returns The number of the block. {@link GetBlockNumberReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const blockNumber = await client.getBlockNumber() * // 69420n */ getBlockNumber: (args?: GetBlockNumberParameters | undefined) => Promise; /** * Returns the number of Transactions at a block number, hash, or tag. * * - Docs: https://viem.sh/docs/actions/public/getBlockTransactionCount * - JSON-RPC Methods: * - Calls [`eth_getBlockTransactionCountByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbynumber) for `blockNumber` & `blockTag`. * - Calls [`eth_getBlockTransactionCountByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbyhash) for `blockHash`. * * @param args - {@link GetBlockTransactionCountParameters} * @returns The block transaction count. {@link GetBlockTransactionCountReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const count = await client.getBlockTransactionCount() */ getBlockTransactionCount: (args?: GetBlockTransactionCountParameters | undefined) => Promise; /** @deprecated Use `getCode` instead. */ getBytecode: (args: GetCodeParameters) => Promise; /** * Returns the chain ID associated with the current network. * * - Docs: https://viem.sh/docs/actions/public/getChainId * - JSON-RPC Methods: [`eth_chainId`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_chainid) * * @returns The current chain ID. {@link GetChainIdReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const chainId = await client.getChainId() * // 1 */ getChainId: () => Promise; /** * Retrieves the bytecode at an address. * * - Docs: https://viem.sh/docs/contract/getCode * - JSON-RPC Methods: [`eth_getCode`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getcode) * * @param args - {@link GetBytecodeParameters} * @returns The contract's bytecode. {@link GetBytecodeReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const code = await client.getCode({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * }) */ getCode: (args: GetCodeParameters) => Promise; /** * Returns a list of event logs emitted by a contract. * * - Docs: https://viem.sh/docs/actions/public/getContractEvents * - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs) * * @param client - Client to use * @param parameters - {@link GetContractEventsParameters} * @returns A list of event logs. {@link GetContractEventsReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { wagmiAbi } from './abi' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const logs = await client.getContractEvents(client, { * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi: wagmiAbi, * eventName: 'Transfer' * }) */ getContractEvents: | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined>(args: GetContractEventsParameters) => Promise>; /** * Returns the address that an account has delegated to via EIP-7702. * * - Docs: https://viem.sh/docs/actions/public/getDelegation * * @param args - {@link GetDelegationParameters} * @returns The delegated address, or undefined if not delegated. {@link GetDelegationReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const delegation = await client.getDelegation({ * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) */ getDelegation: (args: GetDelegationParameters) => Promise; /** * Reads the EIP-712 domain from a contract, based on the ERC-5267 specification. * * @param client - A {@link Client} instance. * @param parameters - The parameters of the action. {@link GetEip712DomainParameters} * @returns The EIP-712 domain, fields, and extensions. {@link GetEip712DomainReturnType} * * @example * ```ts * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * * const domain = await client.getEip712Domain({ * address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', * }) * // { * // domain: { * // name: 'ExampleContract', * // version: '1', * // chainId: 1, * // verifyingContract: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', * // }, * // fields: '0x0f', * // extensions: [], * // } * ``` */ getEip712Domain: (args: GetEip712DomainParameters) => Promise; /** * Gets address for ENS name. * * - Docs: https://viem.sh/docs/ens/actions/getEnsAddress * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens * * @remarks * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract. * * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize) function for this. * * @param args - {@link GetEnsAddressParameters} * @returns Address for ENS name or `null` if not found. {@link GetEnsAddressReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { normalize } from 'viem/ens' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const ensAddress = await client.getEnsAddress({ * name: normalize('wevm.eth'), * }) * // '0xd2135CfB216b74109775236E36d4b433F1DF507B' */ getEnsAddress: (args: GetEnsAddressParameters) => Promise; /** * Gets the avatar of an ENS name. * * - Docs: https://viem.sh/docs/ens/actions/getEnsAvatar * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens * * @remarks * Calls [`getEnsText`](https://viem.sh/docs/ens/actions/getEnsText) with `key` set to `'avatar'`. * * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize) function for this. * * @param args - {@link GetEnsAvatarParameters} * @returns Avatar URI or `null` if not found. {@link GetEnsAvatarReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { normalize } from 'viem/ens' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const ensAvatar = await client.getEnsAvatar({ * name: normalize('wevm.eth'), * }) * // 'https://ipfs.io/ipfs/Qma8mnp6xV3J2cRNf3mTth5C8nV11CAnceVinc3y8jSbio' */ getEnsAvatar: (args: GetEnsAvatarParameters) => Promise; /** * Gets primary name for specified address. * * - Docs: https://viem.sh/docs/ens/actions/getEnsName * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens * * @remarks * Calls `reverse(bytes)` on ENS Universal Resolver Contract to "reverse resolve" the address to the primary ENS name. * * @param args - {@link GetEnsNameParameters} * @returns Name or `null` if not found. {@link GetEnsNameReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const ensName = await client.getEnsName({ * address: '0xd2135CfB216b74109775236E36d4b433F1DF507B', * }) * // 'wevm.eth' */ getEnsName: (args: GetEnsNameParameters) => Promise; /** * Gets resolver for ENS name. * * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens * * @remarks * Calls `findResolver(bytes)` on ENS Universal Resolver Contract to retrieve the resolver of an ENS name. * * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize) function for this. * * @param args - {@link GetEnsResolverParameters} * @returns Address for ENS resolver. {@link GetEnsResolverReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { normalize } from 'viem/ens' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const resolverAddress = await client.getEnsResolver({ * name: normalize('wevm.eth'), * }) * // '0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41' */ getEnsResolver: (args: GetEnsResolverParameters) => Promise; /** * Gets a text record for specified ENS name. * * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens * * @remarks * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract. * * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize) function for this. * * @param args - {@link GetEnsTextParameters} * @returns Address for ENS resolver. {@link GetEnsTextReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { normalize } from 'viem/ens' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const twitterRecord = await client.getEnsText({ * name: normalize('wevm.eth'), * key: 'com.twitter', * }) * // 'wevm_dev' */ getEnsText: (args: GetEnsTextParameters) => Promise; /** * Returns a collection of historical gas information. * * - Docs: https://viem.sh/docs/actions/public/getFeeHistory * - JSON-RPC Methods: [`eth_feeHistory`](https://docs.alchemy.com/reference/eth-feehistory) * * @param args - {@link GetFeeHistoryParameters} * @returns The gas estimate (in wei). {@link GetFeeHistoryReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const feeHistory = await client.getFeeHistory({ * blockCount: 4, * rewardPercentiles: [25, 75], * }) */ getFeeHistory: (args: GetFeeHistoryParameters) => Promise; /** * Returns an estimate for the fees per gas for a transaction to be included * in the next block. * * - Docs: https://viem.sh/docs/actions/public/estimateFeesPerGas * * @param client - Client to use * @param parameters - {@link EstimateFeesPerGasParameters} * @returns An estimate (in wei) for the fees per gas. {@link EstimateFeesPerGasReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const maxPriorityFeePerGas = await client.estimateFeesPerGas() * // { maxFeePerGas: ..., maxPriorityFeePerGas: ... } */ estimateFeesPerGas: (args?: EstimateFeesPerGasParameters | undefined) => Promise>; /** * Returns a list of logs or hashes based on a [Filter](/docs/glossary/terms#filter) since the last time it was called. * * - Docs: https://viem.sh/docs/actions/public/getFilterChanges * - JSON-RPC Methods: [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges) * * @remarks * A Filter can be created from the following actions: * * - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter) * - [`createContractEventFilter`](https://viem.sh/docs/contract/createContractEventFilter) * - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter) * - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter) * * Depending on the type of filter, the return value will be different: * * - If the filter was created with `createContractEventFilter` or `createEventFilter`, it returns a list of logs. * - If the filter was created with `createPendingTransactionFilter`, it returns a list of transaction hashes. * - If the filter was created with `createBlockFilter`, it returns a list of block hashes. * * @param args - {@link GetFilterChangesParameters} * @returns Logs or hashes. {@link GetFilterChangesReturnType} * * @example * // Blocks * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await client.createBlockFilter() * const hashes = await client.getFilterChanges({ filter }) * * @example * // Contract Events * import { createPublicClient, http, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await client.createContractEventFilter({ * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']), * eventName: 'Transfer', * }) * const logs = await client.getFilterChanges({ filter }) * * @example * // Raw Events * import { createPublicClient, http, parseAbiItem } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await client.createEventFilter({ * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', * event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'), * }) * const logs = await client.getFilterChanges({ filter }) * * @example * // Transactions * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await client.createPendingTransactionFilter() * const hashes = await client.getFilterChanges({ filter }) */ getFilterChanges: (args: GetFilterChangesParameters) => Promise>; /** * Returns a list of event logs since the filter was created. * * - Docs: https://viem.sh/docs/actions/public/getFilterLogs * - JSON-RPC Methods: [`eth_getFilterLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterlogs) * * @remarks * `getFilterLogs` is only compatible with **event filters**. * * @param args - {@link GetFilterLogsParameters} * @returns A list of event logs. {@link GetFilterLogsReturnType} * * @example * import { createPublicClient, http, parseAbiItem } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const filter = await client.createEventFilter({ * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', * event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'), * }) * const logs = await client.getFilterLogs({ filter }) */ getFilterLogs: (args: GetFilterLogsParameters) => Promise>; /** * Returns the current price of gas (in wei). * * - Docs: https://viem.sh/docs/actions/public/getGasPrice * - JSON-RPC Methods: [`eth_gasPrice`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gasprice) * * @returns The gas price (in wei). {@link GetGasPriceReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const gasPrice = await client.getGasPrice() */ getGasPrice: () => Promise; /** * Returns a list of event logs matching the provided parameters. * * - Docs: https://viem.sh/docs/actions/public/getLogs * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/logs_event-logs * - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs) * * @param args - {@link GetLogsParameters} * @returns A list of event logs. {@link GetLogsReturnType} * * @example * import { createPublicClient, http, parseAbiItem } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const logs = await client.getLogs() */ getLogs: (args?: GetLogsParameters | undefined) => Promise>; /** * Returns the account and storage values of the specified account including the Merkle-proof. * * - Docs: https://viem.sh/docs/actions/public/getProof * - JSON-RPC Methods: * - Calls [`eth_getProof`](https://eips.ethereum.org/EIPS/eip-1186) * * @param client - Client to use * @param parameters - {@link GetProofParameters} * @returns Proof data. {@link GetProofReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const block = await client.getProof({ * address: '0x...', * storageKeys: ['0x...'], * }) */ getProof: (args: GetProofParameters) => Promise; /** * Returns an estimate for the max priority fee per gas (in wei) for a transaction * to be included in the next block. * * - Docs: https://viem.sh/docs/actions/public/estimateMaxPriorityFeePerGas * * @param client - Client to use * @returns An estimate (in wei) for the max priority fee per gas. {@link EstimateMaxPriorityFeePerGasReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const maxPriorityFeePerGas = await client.estimateMaxPriorityFeePerGas() * // 10000000n */ estimateMaxPriorityFeePerGas: (args?: EstimateMaxPriorityFeePerGasParameters | undefined) => Promise; /** * Returns the value from a storage slot at a given address. * * - Docs: https://viem.sh/docs/contract/getStorageAt * - JSON-RPC Methods: [`eth_getStorageAt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getstorageat) * * @param args - {@link GetStorageAtParameters} * @returns The value of the storage slot. {@link GetStorageAtReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { getStorageAt } from 'viem/contract' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const code = await client.getStorageAt({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * slot: toHex(0), * }) */ getStorageAt: (args: GetStorageAtParameters) => Promise; /** * Returns information about a [Transaction](https://viem.sh/docs/glossary/terms#transaction) given a hash or block identifier. * * - Docs: https://viem.sh/docs/actions/public/getTransaction * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions_fetching-transactions * - JSON-RPC Methods: [`eth_getTransactionByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionByHash) * * @param args - {@link GetTransactionParameters} * @returns The transaction information. {@link GetTransactionReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const transaction = await client.getTransaction({ * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d', * }) */ getTransaction: (args: GetTransactionParameters) => Promise>; /** * Returns the number of blocks passed (confirmations) since the transaction was processed on a block. * * - Docs: https://viem.sh/docs/actions/public/getTransactionConfirmations * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions_fetching-transactions * - JSON-RPC Methods: [`eth_getTransactionConfirmations`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionConfirmations) * * @param args - {@link GetTransactionConfirmationsParameters} * @returns The number of blocks passed since the transaction was processed. If confirmations is 0, then the Transaction has not been confirmed & processed yet. {@link GetTransactionConfirmationsReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const confirmations = await client.getTransactionConfirmations({ * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d', * }) */ getTransactionConfirmations: (args: GetTransactionConfirmationsParameters) => Promise; /** * Returns the number of [Transactions](https://viem.sh/docs/glossary/terms#transaction) an Account has broadcast / sent. * * - Docs: https://viem.sh/docs/actions/public/getTransactionCount * - JSON-RPC Methods: [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount) * * @param args - {@link GetTransactionCountParameters} * @returns The number of transactions an account has sent. {@link GetTransactionCountReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const transactionCount = await client.getTransactionCount({ * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) */ getTransactionCount: (args: GetTransactionCountParameters) => Promise; /** * Returns the [Transaction Receipt](https://viem.sh/docs/glossary/terms#transaction-receipt) given a [Transaction](https://viem.sh/docs/glossary/terms#transaction) hash. * * - Docs: https://viem.sh/docs/actions/public/getTransactionReceipt * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions_fetching-transactions * - JSON-RPC Methods: [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt) * * @param args - {@link GetTransactionReceiptParameters} * @returns The transaction receipt. {@link GetTransactionReceiptReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const transactionReceipt = await client.getTransactionReceipt({ * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d', * }) */ getTransactionReceipt: (args: GetTransactionReceiptParameters) => Promise>; /** * Similar to [`readContract`](https://viem.sh/docs/contract/readContract), but batches up multiple functions on a contract in a single RPC call via the [`multicall3` contract](https://github.com/mds1/multicall). * * - Docs: https://viem.sh/docs/contract/multicall * * @param args - {@link MulticallParameters} * @returns An array of results with accompanying status. {@link MulticallReturnType} * * @example * import { createPublicClient, http, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const abi = parseAbi([ * 'function balanceOf(address) view returns (uint256)', * 'function totalSupply() view returns (uint256)', * ]) * const result = await client.multicall({ * contracts: [ * { * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi, * functionName: 'balanceOf', * args: ['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'], * }, * { * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi, * functionName: 'totalSupply', * }, * ], * }) * // [{ result: 424122n, status: 'success' }, { result: 1000000n, status: 'success' }] */ multicall: (args: MulticallParameters) => Promise>; /** * Prepares a transaction request for signing. * * - Docs: https://viem.sh/docs/actions/wallet/prepareTransactionRequest * * @param args - {@link PrepareTransactionRequestParameters} * @returns The transaction request. {@link PrepareTransactionRequestReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * const request = await client.prepareTransactionRequest({ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * to: '0x0000000000000000000000000000000000000000', * value: 1n, * }) * * @example * // Account Hoisting * import { createWalletClient, http } from 'viem' * import { privateKeyToAccount } from 'viem/accounts' * import { mainnet } from 'viem/chains' * * const client = createWalletClient({ * account: privateKeyToAccount('0x…'), * chain: mainnet, * transport: custom(window.ethereum), * }) * const request = await client.prepareTransactionRequest({ * to: '0x0000000000000000000000000000000000000000', * value: 1n, * }) */ prepareTransactionRequest: , chainOverride extends Chain | undefined = undefined, accountOverride extends Account | Address$1 | undefined = undefined>(args: PrepareTransactionRequestParameters) => Promise>; /** * Calls a read-only function on a contract, and returns the response. * * - Docs: https://viem.sh/docs/contract/readContract * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts_reading-contracts * * @remarks * A "read-only" function (constant function) on a Solidity contract is denoted by a `view` or `pure` keyword. They can only read the state of the contract, and cannot make any changes to it. Since read-only methods do not change the state of the contract, they do not require any gas to be executed, and can be called by any user without the need to pay for gas. * * Internally, uses a [Public Client](https://viem.sh/docs/clients/public) to call the [`call` action](https://viem.sh/docs/actions/public/call) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData). * * @param args - {@link ReadContractParameters} * @returns The response from the contract. Type is inferred. {@link ReadContractReturnType} * * @example * import { createPublicClient, http, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * import { readContract } from 'viem/contract' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const result = await client.readContract({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi: parseAbi(['function balanceOf(address) view returns (uint256)']), * functionName: 'balanceOf', * args: ['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'], * }) * // 424122n */ readContract: , const args extends ContractFunctionArgs>(args: ReadContractParameters) => Promise>; /** * Sends a **signed** transaction to the network * * - Docs: https://viem.sh/docs/actions/wallet/sendRawTransaction * - JSON-RPC Method: [`eth_sendRawTransaction`](https://ethereum.github.io/execution-apis/api-documentation/) * * @param client - Client to use * @param parameters - {@link SendRawTransactionParameters} * @returns The transaction hash. {@link SendRawTransactionReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * import { sendRawTransaction } from 'viem/wallet' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const hash = await client.sendRawTransaction({ * serializedTransaction: '0x02f850018203118080825208808080c080a04012522854168b27e5dc3d5839bab5e6b39e1a0ffd343901ce1622e3d64b48f1a04e00902ae0502c4728cbf12156290df99c3ed7de85b1dbfe20b5c36931733a33' * }) */ sendRawTransaction: (args: SendRawTransactionParameters) => Promise; /** * Sends a **signed** transaction to the network * * - Docs: https://viem.sh/docs/actions/wallet/sendRawTransactionSync * - JSON-RPC Method: [`eth_sendRawTransactionSync`](https://eips.ethereum.org/EIPS/eip-7966) * * @param client - Client to use * @param parameters - {@link SendRawTransactionSyncParameters} * @returns The transaction receipt. {@link SendRawTransactionSyncReturnType} * * @example * import { createWalletClient, custom } from 'viem' * import { mainnet } from 'viem/chains' * import { sendRawTransactionSync } from 'viem/wallet' * * const client = createWalletClient({ * chain: mainnet, * transport: custom(window.ethereum), * }) * * const receipt = await client.sendRawTransactionSync({ * serializedTransaction: '0x02f850018203118080825208808080c080a04012522854168b27e5dc3d5839bab5e6b39e1a0ffd343901ce1622e3d64b48f1a04e00902ae0502c4728cbf12156290df99c3ed7de85b1dbfe20b5c36931733a33' * }) */ sendRawTransactionSync: (args: SendRawTransactionSyncParameters) => Promise>; /** * @deprecated Use `simulateBlocks` instead. */ simulate: (args: SimulateBlocksParameters) => Promise>; /** * Simulates a set of calls on block(s) with optional block and state overrides. * * @example * ```ts * import { createPublicClient, http, parseEther } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * * const result = await client.simulateBlocks({ * blocks: [{ * blockOverrides: { * number: 69420n, * }, * calls: [{ * { * account: '0x5a0b54d5dc17e482fe8b0bdca5320161b95fb929', * data: '0xdeadbeef', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * }, * { * account: '0x5a0b54d5dc17e482fe8b0bdca5320161b95fb929', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: parseEther('1'), * }, * }], * stateOverrides: [{ * address: '0x5a0b54d5dc17e482fe8b0bdca5320161b95fb929', * balance: parseEther('10'), * }], * }] * }) * ``` * * @param client - Client to use. * @param parameters - {@link SimulateParameters} * @returns Simulated blocks. {@link SimulateReturnType} */ simulateBlocks: (args: SimulateBlocksParameters) => Promise>; /** * Simulates a set of calls. * * @example * ```ts * import { createPublicClient, http, parseEther } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * * const result = await client.simulateCalls({ * account: '0x5a0b54d5dc17e482fe8b0bdca5320161b95fb929', * calls: [{ * { * data: '0xdeadbeef', * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * }, * { * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', * value: parseEther('1'), * }, * ] * }) * ``` * * @param client - Client to use. * @param parameters - {@link SimulateCallsParameters} * @returns Results. {@link SimulateCallsReturnType} */ simulateCalls: (args: SimulateCallsParameters) => Promise>; /** * Simulates/validates a contract interaction. This is useful for retrieving **return data** and **revert reasons** of contract write functions. * * - Docs: https://viem.sh/docs/contract/simulateContract * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts_writing-to-contracts * * @remarks * This function does not require gas to execute and _**does not**_ change the state of the blockchain. It is almost identical to [`readContract`](https://viem.sh/docs/contract/readContract), but also supports contract write functions. * * Internally, uses a [Public Client](https://viem.sh/docs/clients/public) to call the [`call` action](https://viem.sh/docs/actions/public/call) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData). * * @param args - {@link SimulateContractParameters} * @returns The simulation result and write request. {@link SimulateContractReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const result = await client.simulateContract({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi: parseAbi(['function mint(uint32) view returns (uint32)']), * functionName: 'mint', * args: ['69420'], * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', * }) */ simulateContract: , const args extends ContractFunctionArgs, chainOverride extends Chain | undefined, accountOverride extends Account | Address$1 | undefined = undefined>(args: SimulateContractParameters) => Promise>; /** * Verify that a hash was signed by the provided address. * * - Docs {@link https://viem.sh/docs/actions/public/verifyHash} * * @param parameters - {@link VerifyHashParameters} * @returns Whether or not the signature is valid. {@link VerifyHashReturnType} */ verifyHash: (args: VerifyHashParameters) => Promise; /** * Verify that a message was signed by the provided address. * * Compatible with Smart Contract Accounts & Externally Owned Accounts via [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492). * * - Docs {@link https://viem.sh/docs/actions/public/verifyMessage} * * @param parameters - {@link VerifyMessageParameters} * @returns Whether or not the signature is valid. {@link VerifyMessageReturnType} */ verifyMessage: (args: VerifyMessageParameters) => Promise; /** * Verifies [EIP-4361](https://eips.ethereum.org/EIPS/eip-4361) formatted message was signed. * * Compatible with Smart Contract Accounts & Externally Owned Accounts via [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492). * * - Docs {@link https://viem.sh/docs/siwe/actions/verifySiweMessage} * * @param parameters - {@link VerifySiweMessageParameters} * @returns Whether or not the signature is valid. {@link VerifySiweMessageReturnType} */ verifySiweMessage: (args: VerifySiweMessageParameters) => Promise; /** * Verify that typed data was signed by the provided address. * * - Docs {@link https://viem.sh/docs/actions/public/verifyTypedData} * * @param parameters - {@link VerifyTypedDataParameters} * @returns Whether or not the signature is valid. {@link VerifyTypedDataReturnType} */ verifyTypedData: (args: VerifyTypedDataParameters) => Promise; /** * Destroys a Filter that was created from one of the following Actions: * * - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter) * - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter) * - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter) * * - Docs: https://viem.sh/docs/actions/public/uninstallFilter * - JSON-RPC Methods: [`eth_uninstallFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_uninstallFilter) * * @param args - {@link UninstallFilterParameters} * @returns A boolean indicating if the Filter was successfully uninstalled. {@link UninstallFilterReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * import { createPendingTransactionFilter, uninstallFilter } from 'viem/public' * * const filter = await client.createPendingTransactionFilter() * const uninstalled = await client.uninstallFilter({ filter }) * // true */ uninstallFilter: (args: UninstallFilterParameters) => Promise; /** * Waits for the [Transaction](https://viem.sh/docs/glossary/terms#transaction) to be included on a [Block](https://viem.sh/docs/glossary/terms#block) (one confirmation), and then returns the [Transaction Receipt](https://viem.sh/docs/glossary/terms#transaction-receipt). If the Transaction reverts, then the action will throw an error. * * - Docs: https://viem.sh/docs/actions/public/waitForTransactionReceipt * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions_sending-transactions * - JSON-RPC Methods: * - Polls [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt) on each block until it has been processed. * - If a Transaction has been replaced: * - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) and extracts the transactions * - Checks if one of the Transactions is a replacement * - If so, calls [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt). * * @remarks * The `waitForTransactionReceipt` action additionally supports Replacement detection (e.g. sped up Transactions). * * Transactions can be replaced when a user modifies their transaction in their wallet (to speed up or cancel). Transactions are replaced when they are sent from the same nonce. * * There are 3 types of Transaction Replacement reasons: * * - `repriced`: The gas price has been modified (e.g. different `maxFeePerGas`) * - `cancelled`: The Transaction has been cancelled (e.g. `value === 0n`) * - `replaced`: The Transaction has been replaced (e.g. different `value` or `data`) * * @param args - {@link WaitForTransactionReceiptParameters} * @returns The transaction receipt. {@link WaitForTransactionReceiptReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const transactionReceipt = await client.waitForTransactionReceipt({ * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d', * }) */ waitForTransactionReceipt: (args: WaitForTransactionReceiptParameters) => Promise>; /** * Watches and returns incoming block numbers. * * - Docs: https://viem.sh/docs/actions/public/watchBlockNumber * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks_watching-blocks * - JSON-RPC Methods: * - When `poll: true`, calls [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber) on a polling interval. * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `"newHeads"` event. * * @param args - {@link WatchBlockNumberParameters} * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlockNumberReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const unwatch = await client.watchBlockNumber({ * onBlockNumber: (blockNumber) => console.log(blockNumber), * }) */ watchBlockNumber: (args: WatchBlockNumberParameters) => WatchBlockNumberReturnType; /** * Watches and returns information for incoming blocks. * * - Docs: https://viem.sh/docs/actions/public/watchBlocks * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks_watching-blocks * - JSON-RPC Methods: * - When `poll: true`, calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getBlockByNumber) on a polling interval. * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `"newHeads"` event. * * @param args - {@link WatchBlocksParameters} * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlocksReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const unwatch = await client.watchBlocks({ * onBlock: (block) => console.log(block), * }) */ watchBlocks: (args: WatchBlocksParameters) => WatchBlocksReturnType; /** * Watches and returns emitted contract event logs. * * - Docs: https://viem.sh/docs/contract/watchContractEvent * * @remarks * This Action will batch up all the event logs found within the [`pollingInterval`](https://viem.sh/docs/contract/watchContractEvent#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/contract/watchContractEvent#onLogs). * * `watchContractEvent` will attempt to create an [Event Filter](https://viem.sh/docs/contract/createContractEventFilter) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchContractEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs) instead. * * @param args - {@link WatchContractEventParameters} * @returns A function that can be invoked to stop watching for new event logs. {@link WatchContractEventReturnType} * * @example * import { createPublicClient, http, parseAbi } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const unwatch = client.watchContractEvent({ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', * abi: parseAbi(['event Transfer(address indexed from, address indexed to, uint256 value)']), * eventName: 'Transfer', * args: { from: '0xc961145a54C96E3aE9bAA048c4F4D6b04C13916b' }, * onLogs: (logs) => console.log(logs), * }) */ watchContractEvent: , strict extends boolean | undefined = undefined>(args: WatchContractEventParameters) => WatchContractEventReturnType; /** * Watches and returns emitted [Event Logs](https://viem.sh/docs/glossary/terms#event-log). * * - Docs: https://viem.sh/docs/actions/public/watchEvent * - JSON-RPC Methods: * - **RPC Provider supports `eth_newFilter`:** * - Calls [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter) to create a filter (called on initialize). * - On a polling interval, it will call [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges). * - **RPC Provider does not support `eth_newFilter`:** * - Calls [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs) for each block between the polling interval. * * @remarks * This Action will batch up all the Event Logs found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchEvent#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/actions/public/watchEvent#onLogs). * * `watchEvent` will attempt to create an [Event Filter](https://viem.sh/docs/actions/public/createEventFilter) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs) instead. * * @param args - {@link WatchEventParameters} * @returns A function that can be invoked to stop watching for new Event Logs. {@link WatchEventReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const unwatch = client.watchEvent({ * onLogs: (logs) => console.log(logs), * }) */ watchEvent: (args: WatchEventParameters) => WatchEventReturnType; /** * Watches and returns pending transaction hashes. * * - Docs: https://viem.sh/docs/actions/public/watchPendingTransactions * - JSON-RPC Methods: * - When `poll: true` * - Calls [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter) to initialize the filter. * - Calls [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getFilterChanges) on a polling interval. * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `"newPendingTransactions"` event. * * @remarks * This Action will batch up all the pending transactions found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchPendingTransactions#pollinginterval-optional), and invoke them via [`onTransactions`](https://viem.sh/docs/actions/public/watchPendingTransactions#ontransactions). * * @param args - {@link WatchPendingTransactionsParameters} * @returns A function that can be invoked to stop watching for new pending transaction hashes. {@link WatchPendingTransactionsReturnType} * * @example * import { createPublicClient, http } from 'viem' * import { mainnet } from 'viem/chains' * * const client = createPublicClient({ * chain: mainnet, * transport: http(), * }) * const unwatch = await client.watchPendingTransactions({ * onTransactions: (hashes) => console.log(hashes), * }) */ watchPendingTransactions: (args: WatchPendingTransactionsParameters) => WatchPendingTransactionsReturnType; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/clients/createClient.d.ts type ClientConfig = { /** The Account to use for the Client. This will be used for Actions that require an account as an argument. */account?: accountOrAddress | Account | Address$1 | undefined; /** Flags for batch settings. */ batch?: { /** Toggle to enable `eth_call` multicall aggregation. */multicall?: boolean | Prettify | undefined; } | undefined; /** * Default block tag to use for RPC requests. * * If the chain supports a pre-confirmation mechanism * (set via `chain.experimental_preconfirmationTime`), defaults to `'pending'`. * * @default 'latest' */ experimental_blockTag?: BlockTag | undefined; /** * Time (in ms) that cached data will remain in memory. * @default chain.blockTime / 3 */ cacheTime?: number | undefined; /** * [CCIP Read](https://eips.ethereum.org/EIPS/eip-3668) configuration. * If `false`, the client will not support offchain CCIP lookups. */ ccipRead?: { /** * A function that will be called to make the offchain CCIP lookup request. * @see https://eips.ethereum.org/EIPS/eip-3668#client-lookup-protocol */ request?: (parameters: CcipRequestParameters) => Promise; } | false | undefined; /** Chain for the client. */ chain?: Chain | undefined | chain; /** Data suffix to append to transaction data. */ dataSuffix?: DataSuffix | undefined; /** A key for the client. */ key?: string | undefined; /** A name for the client. */ name?: string | undefined; /** * Frequency (in ms) for polling enabled actions & events. * @default chain.blockTime / 3 */ pollingInterval?: number | undefined; /** * Typed JSON-RPC schema for the client. */ rpcSchema?: rpcSchema | undefined; /** The RPC transport */ transport: transport; /** The type of client. */ type?: string | undefined; }; type ExtendableProtectedActions = Pick, 'call' | 'createContractEventFilter' | 'createEventFilter' | 'estimateContractGas' | 'estimateGas' | 'getBlock' | 'getBlockNumber' | 'getChainId' | 'getContractEvents' | 'getEnsText' | 'getFilterChanges' | 'getGasPrice' | 'getLogs' | 'getTransaction' | 'getTransactionCount' | 'getTransactionReceipt' | 'prepareTransactionRequest' | 'readContract' | 'sendRawTransaction' | 'simulateContract' | 'uninstallFilter' | 'watchBlockNumber' | 'watchContractEvent'> & Pick, 'sendTransaction' | 'writeContract'>; type Client = Client_Base & (extended extends Extended ? extended : unknown) & { extend: >>(fn: (client: Client) => client) => Client & (extended extends Extended ? extended : unknown)>; }; type Client_Base = { /** The Account of the Client. */account: account; /** Flags for batch settings. */ batch?: ClientConfig['batch'] | undefined; /** Time (in ms) that cached data will remain in memory. */ cacheTime: number; /** [CCIP Read](https://eips.ethereum.org/EIPS/eip-3668) configuration. */ ccipRead?: ClientConfig['ccipRead'] | undefined; /** Chain for the client. */ chain: chain; /** Data suffix to append to transaction data. */ dataSuffix?: DataSuffix | undefined; /** Default block tag to use for RPC requests. */ experimental_blockTag?: BlockTag | undefined; /** A key for the client. */ key: string; /** A name for the client. */ name: string; /** Frequency (in ms) for polling enabled actions & events. Defaults to 4_000 milliseconds. */ pollingInterval: number; /** Request function wrapped with friendly error handling */ request: EIP1193RequestFn; /** The RPC transport */ transport: ReturnType['config'] & ReturnType['value']; /** The type of client. */ type: string; /** A unique ID for the client. */ uid: string; }; type Extended = Prettify<{ [_ in keyof Client_Base]?: undefined } & { [key: string]: unknown; }>; type MulticallBatchOptions = { /** The maximum size (in bytes) for each calldata chunk. @default 1_024 */batchSize?: number | undefined; /** Enable deployless multicall. */ deployless?: boolean | undefined; /** The maximum number of milliseconds to wait before sending a batch. @default 0 */ wait?: number | undefined; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/utils/nonceManager.d.ts type FunctionParameters = { address: Address$1; chainId: number; }; type NonceManager = { /** Get and increment a nonce. */consume: (parameters: FunctionParameters & { client: Client; }) => Promise; /** Increment a nonce. */ increment: (chainId: FunctionParameters) => void; /** Get a nonce. */ get: (chainId: FunctionParameters & { client: Client; }) => Promise; /** Reset a nonce. */ reset: (chainId: FunctionParameters) => void; }; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/accounts/types.d.ts type Account
= OneOf | LocalAccount | SmartAccount>; type CustomSource = { address: Address$1; nonceManager?: NonceManager | undefined; sign?: ((parameters: { hash: Hash; }) => Promise) | undefined; signAuthorization?: ((parameters: AuthorizationRequest) => Promise) | undefined; signMessage: ({ message }: { message: SignableMessage; }) => Promise; signTransaction: = SerializeTransactionFn, transaction extends Parameters[0] = Parameters[0]>(transaction: transaction, options?: { serializer?: serializer | undefined; } | undefined) => Promise; signTypedData: , primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData>(parameters: TypedDataDefinition) => Promise; }; type JsonRpcAccount
= { address: address; type: 'json-rpc'; }; type LocalAccount = Prettify; type PrivateKeyAccount = Prettify & { sign: NonNullable; signAuthorization: NonNullable; }>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/account-abstraction/accounts/types.d.ts type Call = { to: Hex$1; data?: Hex$1 | undefined; value?: bigint | undefined; }; type SmartAccountImplementation = { /** Client used to retrieve Smart Account data, and perform signing (if owner is a JSON-RPC Account). */client: Client; /** Compatible EntryPoint of the Smart Account. */ entryPoint: { /** Compatible EntryPoint ABI. */abi: entryPointAbi; /** Compatible EntryPoint address. */ address: Address$1; /** Compatible EntryPoint version. */ version: entryPointVersion; }; /** Extend the Smart Account with custom properties. */ extend?: extend | undefined; /** * Retrieves the Smart Account's address. * * @example * ```ts * const address = await account.getAddress() * // '0x...' * ``` */ getAddress: () => Promise; /** * Decodes calldata into structured calls. * * @example * ```ts * const calls = await account.decodeCalls('0x...') * // [{ to: '0x...', data: '0x...', value: 100n }, ...] * ``` */ decodeCalls?: ((data: Hex$1) => Promise) | undefined; /** * Encodes the calls into calldata for executing a User Operation. * * @example * ```ts * const callData = await account.encodeCalls([ * { to: '0x...', data: '0x...' }, * { to: '0x...', data: '0x...', value: 100n }, * ]) * // '0x...' * ``` */ encodeCalls: (calls: readonly Call[]) => Promise; /** * Retrieves the calldata for factory call to deploy a Smart Account. * If the Smart Account has already been deployed, this will return undefined values. * * @example Counterfactual account * ```ts * const { factory, factoryData } = await account.getFactoryArgs() * // { factory: '0x...', factoryData: '0x...' } * ``` * * @example Deployed account * ```ts * const { factory, factoryData } = await account.getFactoryArgs() * // { factory: undefined, factoryData: undefined } * ``` */ getFactoryArgs: () => Promise<{ factory?: Address$1 | undefined; factoryData?: Hex$1 | undefined; }>; /** * Retrieves the nonce of the Account. * * @example * ```ts * const nonce = await account.getNonce() * // 1n * ``` */ getNonce?: ((parameters?: { key?: bigint | undefined; } | undefined) => Promise) | undefined; /** * Retrieves the User Operation "stub" signature for gas estimation. * * ```ts * const signature = await account.getStubSignature() * // '0x...' * ``` */ getStubSignature: (parameters?: UserOperationRequest | undefined) => Promise; /** Custom nonce key manager. */ nonceKeyManager?: NonceManager | undefined; /** * Signs a hash via the Smart Account's owner. * * @example * ```ts * const signature = await account.sign({ * hash: '0x...' * }) * // '0x...' * ``` */ sign?: ((parameters: { hash: Hash; }) => Promise) | undefined; /** * Signs a [EIP-191 Personal Sign message](https://eips.ethereum.org/EIPS/eip-191). * * @example * ```ts * const signature = await account.signMessage({ * message: 'Hello, World!' * }) * // '0x...' * ``` */ signMessage: (parameters: { message: SignableMessage; }) => Promise; /** * Signs [EIP-712 Typed Data](https://eips.ethereum.org/EIPS/eip-712). * * @example * ```ts * const signature = await account.signTypedData({ * domain, * types, * primaryType: 'Mail', * message, * }) * ``` */ signTypedData: , primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData>(parameters: TypedDataDefinition) => Promise; /** * Signs the User Operation. * * @example * ```ts * const signature = await account.signUserOperation({ * chainId: 1, * userOperation, * }) * ``` */ signUserOperation: (parameters: UnionPartialBy & { chainId?: number | undefined; }) => Promise; /** User Operation configuration properties. */ userOperation?: { /** Prepares gas properties for the User Operation request. */estimateGas?: ((userOperation: UserOperationRequest) => Promise | undefined>) | undefined; } | undefined; } & (eip7702 extends true ? { /** EIP-7702 authorization properties, if applicable. */authorization: { /** EOA to delegate to. */account: PrivateKeyAccount; /** Delegation address. */ address: Address$1; }; } : { authorization?: undefined; }); type SmartAccount = Assign; /** Whether or not the Smart Account has been deployed. */ isDeployed: () => Promise; /** Type of account. */ type: 'smart'; }>>; //#endregion //#region node_modules/.pnpm/viem@2.47.6_typescript@6.0.2_zod@4.3.6/node_modules/viem/_types/account-abstraction/types/entryPointVersion.d.ts /** @link https://github.com/eth-infinitism/account-abstraction/releases */ type EntryPointVersion = '0.6' | '0.7' | '0.8' | '0.9'; //#endregion export { Chain as a, EIP1193RequestFn as c, WalletRpcSchema as d, WalletActions as i, PublicRpcSchema as l, Client as n, Transport as o, PublicActions as r, TransportConfig as s, Account as t, RpcSchema as u }; //# sourceMappingURL=entryPointVersion-Cm2jyUEb.d.mts.map