v2api

package
v1.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2025 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Overview

Package v2api provides an interface for interacting with the v2 full node APIs within the Filecoin network.

This package is experimental and the API may change without notice.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotSupported = xerrors.New("method not supported")

Functions

This section is empty.

Types

type FullNode

type FullNode interface {

	// ChainGetTipSet retrieves a tipset that corresponds to the specified selector
	// criteria. The criteria can be provided in the form of a tipset key, a
	// blockchain height including an optional fallback to previous non-null tipset,
	// or a designated tag such as "latest", "finalized", or "safe".
	//
	// The "Finalized" tag returns the tipset that is considered finalized based on
	// the consensus protocol of the current node, either Filecoin EC Finality or
	// Filecoin Fast Finality (F3). The finalized tipset selection gracefully falls
	// back to EC finality in cases where F3 isn't ready or not running.
	//
	// The "Safe" tag returns the tipset between the "Finalized" tipset and
	// "Latest - build.SafeHeightDistance". This provides a balance between
	// finality confidence and recency. If the tipset at the safe height is null,
	// the first non-nil parent tipset is returned, similar to the behavior of
	// selecting by height with the 'previous' option set to true.
	//
	// In a case where no selector is provided, an error is returned. The selector
	// must be explicitly specified.
	//
	// For more details, refer to the types.TipSetSelector.
	//
	// Example usage:
	//
	//  selector := types.TipSetSelectors.Latest
	//  tipSet, err := node.ChainGetTipSet(context.Background(), selector)
	//  if err != nil {
	//     fmt.Println("Error retrieving tipset:", err)
	//     return
	//  }
	//  fmt.Printf("Latest TipSet: %v\n", tipSet)
	//
	ChainGetTipSet(context.Context, types.TipSetSelector) (*types.TipSet, error) //perm:read

	// StateGetActor retrieves the actor information for the specified address at the
	// selected tipset.
	//
	// This function returns the on-chain Actor object including:
	//   - Code CID (determines the actor's type)
	//   - State root CID
	//   - Balance in attoFIL
	//   - Nonce (for account actors)
	//
	// The TipSetSelector parameter provides flexible options for selecting the tipset:
	//   - TipSetSelectors.Latest: the most recent tipset with the heaviest weight
	//   - TipSetSelectors.Finalized: the most recent finalized tipset
	//   - TipSetSelectors.Height(epoch, previous, anchor): tipset at the specified height
	//   - TipSetSelectors.Key(key): tipset with the specified key
	//
	// See types.TipSetSelector documentation for additional details.
	//
	// If the actor does not exist at the specified tipset, this function returns nil.
	//
	// Experimental: This API is experimental and may change without notice.
	StateGetActor(context.Context, address.Address, types.TipSetSelector) (*types.Actor, error) //perm:read

	// StateGetID retrieves the ID address for the specified address at the selected tipset.
	//
	// Every actor on the Filecoin network has a unique ID address (format: f0123).
	// This function resolves any address type (ID, robust, or delegated) to its canonical
	// ID address representation at the specified tipset.
	//
	// The function is particularly useful for:
	//   - Normalizing different address formats to a consistent representation
	//   - Following address changes across state transitions
	//   - Verifying that an address corresponds to an existing actor
	//
	// The TipSetSelector parameter provides flexible options for selecting the tipset.
	// See StateGetActor documentation for details on selection options.
	//
	// If the address cannot be resolved at the specified tipset, this function returns nil.
	//
	// Experimental: This API is experimental and may change without notice.
	StateGetID(context.Context, address.Address, types.TipSetSelector) (*address.Address, error) //perm:read

	// EthAddressToFilecoinAddress converts an Ethereum address to a Filecoin f410 address.
	EthAddressToFilecoinAddress(ctx context.Context, ethAddress ethtypes.EthAddress) (address.Address, error) //perm:read

	// FilecoinAddressToEthAddress converts any Filecoin address to an EthAddress.
	//
	// This method supports all Filecoin address types:
	// - "f0" and "f4" addresses: Converted directly.
	// - "f1", "f2", and "f3" addresses: First converted to their corresponding "f0" ID address, then to an EthAddress.
	//
	// Requirements:
	// - For "f1", "f2", and "f3" addresses, they must be instantiated on-chain, as "f0" ID addresses are only assigned to actors when they are created on-chain.
	// The simplest way to instantiate an address on chain is to send a transaction to the address.
	//
	// Note on chain reorganizations:
	// "f0" ID addresses are not permanent and can be affected by chain reorganizations. To account for this,
	// the API includes a `blkNum` parameter, which specifies the block number that is used to determine the tipset state to use for converting an
	// "f1"/"f2"/"f3" address to an "f0" address. This parameter functions similarly to the `blkNum` parameter in the existing `EthGetBlockByNumber` API.
	// See https://docs.alchemy.com/reference/eth-getblockbynumber for more details.
	//
	// Parameters:
	// - ctx: The context for the API call.
	// - filecoinAddress: The Filecoin address to convert.
	// - blkNum: The block number or state for the conversion. Defaults to "finalized" for maximum safety.
	//   Possible values: "pending", "latest", "finalized", "safe", or a specific block number represented as hex.
	//
	// Returns:
	// - The corresponding EthAddress.
	// - An error if the conversion fails.
	FilecoinAddressToEthAddress(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthAddress, error) //perm:read

	// Web3ClientVersion returns the client version.
	// Maps to JSON-RPC method: "web3_clientVersion".
	Web3ClientVersion(ctx context.Context) (string, error) //perm:read

	// EthChainId retrieves the chain ID of the Ethereum-compatible network.
	// Maps to JSON-RPC method: "eth_chainId".
	EthChainId(ctx context.Context) (ethtypes.EthUint64, error) //perm:read

	// NetVersion retrieves the current network ID.
	// Maps to JSON-RPC method: "net_version".
	NetVersion(ctx context.Context) (string, error) //perm:read

	// NetListening checks if the node is actively listening for network connections.
	// Maps to JSON-RPC method: "net_listening".
	NetListening(ctx context.Context) (bool, error) //perm:read

	// EthProtocolVersion retrieves the Ethereum protocol version supported by the node.
	// Maps to JSON-RPC method: "eth_protocolVersion".
	EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error) //perm:read

	// EthSyncing checks if the node is currently syncing and returns the sync status.
	// Maps to JSON-RPC method: "eth_syncing".
	EthSyncing(ctx context.Context) (ethtypes.EthSyncingResult, error) //perm:read

	// EthAccounts returns a list of Ethereum accounts managed by the node.
	// Maps to JSON-RPC method: "eth_accounts".
	// Lotus does not manage private keys, so this will always return an empty array.
	EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error) //perm:read

	// EthSendRawTransaction submits a raw Ethereum transaction to the network.
	// Maps to JSON-RPC method: "eth_sendRawTransaction".
	EthSendRawTransaction(ctx context.Context, rawTx ethtypes.EthBytes) (ethtypes.EthHash, error) //perm:read

	// EthSendRawTransactionUntrusted submits a raw Ethereum transaction from an untrusted source.
	EthSendRawTransactionUntrusted(ctx context.Context, rawTx ethtypes.EthBytes) (ethtypes.EthHash, error) //perm:read

	// EthBlockNumber returns the number of the latest executed block (head - 1).
	// Maps to JSON-RPC method: "eth_blockNumber".
	EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error) //perm:read

	// EthGetBlockTransactionCountByNumber returns the number of transactions in a block identified by
	// its block number or a special tag like "latest" or "finalized".
	// Maps to JSON-RPC method: "eth_getBlockTransactionCountByNumber".
	EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum string) (ethtypes.EthUint64, error) //perm:read

	// EthGetBlockTransactionCountByHash returns the number of transactions in a block identified by
	// its block hash.
	// Maps to JSON-RPC method: "eth_getBlockTransactionCountByHash".
	EthGetBlockTransactionCountByHash(ctx context.Context, blkHash ethtypes.EthHash) (ethtypes.EthUint64, error) //perm:read

	// EthGetBlockByHash retrieves a block by its hash. If fullTxInfo is true, it includes full
	// transaction objects; otherwise, it includes only transaction hashes.
	// Maps to JSON-RPC method: "eth_getBlockByHash".
	EthGetBlockByHash(ctx context.Context, blkHash ethtypes.EthHash, fullTxInfo bool) (ethtypes.EthBlock, error) //perm:read

	// EthGetBlockByNumber retrieves a block by its number or a special tag like "latest" or
	// "finalized". If fullTxInfo is true, it includes full transaction objects; otherwise, it
	// includes only transaction hashes.
	// Maps to JSON-RPC method: "eth_getBlockByNumber".
	EthGetBlockByNumber(ctx context.Context, blkNum string, fullTxInfo bool) (ethtypes.EthBlock, error) //perm:read

	// EthGetTransactionByHash retrieves a transaction by its hash.
	// Maps to JSON-RPC method: "eth_getTransactionByHash".
	EthGetTransactionByHash(ctx context.Context, txHash *ethtypes.EthHash) (*ethtypes.EthTx, error) //perm:read

	// EthGetTransactionByHashLimited retrieves a transaction by its hash, with an optional limit on
	// the chain epoch for state resolution.
	EthGetTransactionByHashLimited(ctx context.Context, txHash *ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTx, error) //perm:read

	// EthGetTransactionByBlockHashAndIndex retrieves a transaction by its block hash and index.
	// Maps to JSON-RPC method: "eth_getTransactionByBlockHashAndIndex".
	EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, txIndex ethtypes.EthUint64) (*ethtypes.EthTx, error) //perm:read

	// EthGetTransactionByBlockNumberAndIndex retrieves a transaction by its block number and index.
	// Maps to JSON-RPC method: "eth_getTransactionByBlockNumberAndIndex".
	EthGetTransactionByBlockNumberAndIndex(ctx context.Context, blkNum string, txIndex ethtypes.EthUint64) (*ethtypes.EthTx, error) //perm:read

	// EthGetMessageCidByTransactionHash retrieves the Filecoin CID corresponding to an Ethereum
	// transaction hash.
	// Maps to JSON-RPC method: "eth_getMessageCidByTransactionHash".
	EthGetMessageCidByTransactionHash(ctx context.Context, txHash *ethtypes.EthHash) (*cid.Cid, error) //perm:read

	// EthGetTransactionHashByCid retrieves the Ethereum transaction hash corresponding to a Filecoin
	// CID.
	// Maps to JSON-RPC method: "eth_getTransactionHashByCid".
	EthGetTransactionHashByCid(ctx context.Context, cid cid.Cid) (*ethtypes.EthHash, error) //perm:read

	// EthGetTransactionCount retrieves the number of transactions sent from an address at a specific
	// block, identified by its number, hash, or a special tag like "latest" or "finalized".
	// Maps to JSON-RPC method: "eth_getTransactionCount".
	EthGetTransactionCount(ctx context.Context, sender ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) //perm:read

	// EthGetTransactionReceipt retrieves the receipt of a transaction by its hash.
	// Maps to JSON-RPC method: "eth_getTransactionReceipt".
	EthGetTransactionReceipt(ctx context.Context, txHash ethtypes.EthHash) (*ethtypes.EthTxReceipt, error) //perm:read

	// EthGetTransactionReceiptLimited retrieves the receipt of a transaction by its hash, with an
	// optional limit on the chain epoch for state resolution.
	EthGetTransactionReceiptLimited(ctx context.Context, txHash ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTxReceipt, error) //perm:read

	// EthGetBlockReceipts retrieves all transaction receipts for a block identified by its number,
	// hash or a special tag like "latest" or "finalized".
	// Maps to JSON-RPC method: "eth_getBlockReceipts".
	EthGetBlockReceipts(ctx context.Context, blkParam ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error) //perm:read

	// EthGetBlockReceiptsLimited retrieves all transaction receipts for a block identified by its
	// number, hash or a special tag like "latest" or "finalized", along with an optional limit on the
	// chain epoch for state resolution.
	EthGetBlockReceiptsLimited(ctx context.Context, blkParam ethtypes.EthBlockNumberOrHash, limit abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error) //perm:read

	// EthGetCode retrieves the contract code at a specific address and block state, identified by
	// its number, hash, or a special tag like "latest" or "finalized".
	// Maps to JSON-RPC method: "eth_getCode".
	EthGetCode(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) //perm:read

	// EthGetStorageAt retrieves the storage value at a specific position for a contract
	// at a given block state, identified by its number, hash, or a special tag like "latest" or
	// "finalized".
	// Maps to JSON-RPC method: "eth_getStorageAt".
	EthGetStorageAt(ctx context.Context, address ethtypes.EthAddress, position ethtypes.EthBytes, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) //perm:read

	// EthGetBalance retrieves the balance of an Ethereum address at a specific block state,
	// identified by its number, hash, or a special tag like "latest" or "finalized".
	// Maps to JSON-RPC method: "eth_getBalance".
	EthGetBalance(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) //perm:read

	// EthTraceBlock returns an OpenEthereum-compatible trace of the given block.
	// Maps to JSON-RPC method: "trace_block".
	//
	// Translates Filecoin semantics into Ethereum semantics and traces both EVM and FVM calls.
	//
	// Features:
	//
	// - FVM actor create events, calls, etc. show up as if they were EVM smart contract events.
	// - Native FVM call inputs are ABI-encoded (Solidity ABI) as if they were calls to a
	//   `handle_filecoin_method(uint64 method, uint64 codec, bytes params)` function
	//   (where `codec` is the IPLD codec of `params`).
	// - Native FVM call outputs (return values) are ABI-encoded as `(uint32 exit_code, uint64
	//   codec, bytes output)` where `codec` is the IPLD codec of `output`.
	//
	// Limitations (for now):
	//
	// 1. Block rewards are not included in the trace.
	// 2. SELFDESTRUCT operations are not included in the trace.
	// 3. EVM smart contract "create" events always specify `0xfe` as the "code" for newly created EVM
	//    smart contracts.
	EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error) //perm:read

	// EthTraceReplayBlockTransactions replays all transactions in a block returning the requested
	// traces for each transaction.
	// Maps to JSON-RPC method: "trace_replayBlockTransactions".
	//
	// The block can be identified by its number, hash or a special tag like "latest" or "finalized".
	// The `traceTypes` parameter allows filtering the traces based on their types.
	EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) //perm:read

	// EthTraceTransaction returns an OpenEthereum-compatible trace of a specific transaction.
	// Maps to JSON-RPC method: "trace_transaction".
	EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error) //perm:read

	// EthTraceFilter returns traces matching the given filter criteria.
	// Maps to JSON-RPC method: "trace_filter".
	EthTraceFilter(ctx context.Context, filter ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error) //perm:read

	// EthGasPrice retrieves the current gas price in the network.
	// Maps to JSON-RPC method: "eth_gasPrice".
	EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error) //perm:read

	// EthFeeHistory retrieves historical gas fee data for a range of blocks.
	// Maps to JSON-RPC method: "eth_feeHistory".
	EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) //perm:read

	// EthMaxPriorityFeePerGas retrieves the maximum priority fee per gas in the network.
	// Maps to JSON-RPC method: "eth_maxPriorityFeePerGas".
	EthMaxPriorityFeePerGas(ctx context.Context) (ethtypes.EthBigInt, error) //perm:read

	// EthEstimateGas estimates the gas required to execute a transaction.
	// Maps to JSON-RPC method: "eth_estimateGas".
	EthEstimateGas(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthUint64, error) //perm:read

	// EthCall executes a read-only call to a contract at a specific block state, identified by
	// its number, hash, or a special tag like "latest" or "finalized".
	// Maps to JSON-RPC method: "eth_call".
	EthCall(ctx context.Context, tx ethtypes.EthCall, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) //perm:read

	// EthGetLogs retrieves event logs matching given filter specification.
	// Maps to JSON-RPC method: "eth_getLogs".
	EthGetLogs(ctx context.Context, filter *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) //perm:read

	// EthNewBlockFilter installs a persistent filter to notify when a new block arrives.
	// Maps to JSON-RPC method: "eth_newBlockFilter".
	EthNewBlockFilter(ctx context.Context) (ethtypes.EthFilterID, error) //perm:read

	// EthNewPendingTransactionFilter installs a persistent filter to notify when new messages arrive
	// in the message pool.
	// Maps to JSON-RPC method: "eth_newPendingTransactionFilter".
	EthNewPendingTransactionFilter(ctx context.Context) (ethtypes.EthFilterID, error) //perm:read

	// EthNewFilter installs a persistent filter based on given filter specification.
	// Maps to JSON-RPC method: "eth_newFilter".
	EthNewFilter(ctx context.Context, filter *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) //perm:read

	// EthUninstallFilter uninstalls a filter with given id.
	// Maps to JSON-RPC method: "eth_uninstallFilter".
	EthUninstallFilter(ctx context.Context, id ethtypes.EthFilterID) (bool, error) //perm:read

	// EthGetFilterChanges retrieves event logs that occurred since the last poll for a filter.
	// Maps to JSON-RPC method: "eth_getFilterChanges".
	EthGetFilterChanges(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) //perm:read

	// EthGetFilterLogs retrieves event logs matching filter with given id.
	// Maps to JSON-RPC method: "eth_getFilterLogs".
	EthGetFilterLogs(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) //perm:read

	// EthSubscribe subscribes to different event types using websockets.
	// Maps to JSON-RPC method: "eth_subscribe".
	//
	// eventTypes is one or more of:
	//  - newHeads: notify when new blocks arrive.
	//  - pendingTransactions: notify when new messages arrive in the message pool.
	//  - logs: notify new event logs that match a criteria
	//
	// params contains additional parameters used with the log event type
	// The client will receive a stream of EthSubscriptionResponse values until EthUnsubscribe is called.
	EthSubscribe(ctx context.Context, params jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) //perm:read

	// EthUnsubscribe unsubscribes from a websocket subscription.
	// Maps to JSON-RPC method: "eth_unsubscribe".
	EthUnsubscribe(ctx context.Context, id ethtypes.EthSubscriptionID) (bool, error) //perm:read
}

FullNode represents an interface for the v2 full node APIs. This interface currently consists of chain-related functionalities and the API is experimental and therefore subject to change as we explore the appropriate design for the Filecoin v2 APIs. The v1 API is stable and is recommended where stable APIs are preferred.

func PermissionedFullAPI

func PermissionedFullAPI(a FullNode) FullNode

type FullNodeMethods

type FullNodeMethods struct {
	ChainGetTipSet func(p0 context.Context, p1 types.TipSetSelector) (*types.TipSet, error) `perm:"read"`

	EthAccounts func(p0 context.Context) ([]ethtypes.EthAddress, error) `perm:"read"`

	EthAddressToFilecoinAddress func(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error) `perm:"read"`

	EthBlockNumber func(p0 context.Context) (ethtypes.EthUint64, error) `perm:"read"`

	EthCall func(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `perm:"read"`

	EthChainId func(p0 context.Context) (ethtypes.EthUint64, error) `perm:"read"`

	EthEstimateGas func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthUint64, error) `perm:"read"`

	EthFeeHistory func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) `perm:"read"`

	EthGasPrice func(p0 context.Context) (ethtypes.EthBigInt, error) `perm:"read"`

	EthGetBalance func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) `perm:"read"`

	EthGetBlockByHash func(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error) `perm:"read"`

	EthGetBlockByNumber func(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error) `perm:"read"`

	EthGetBlockReceipts func(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error) `perm:"read"`

	EthGetBlockReceiptsLimited func(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error) `perm:"read"`

	EthGetBlockTransactionCountByHash func(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error) `perm:"read"`

	EthGetBlockTransactionCountByNumber func(p0 context.Context, p1 string) (ethtypes.EthUint64, error) `perm:"read"`

	EthGetCode func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `perm:"read"`

	EthGetFilterChanges func(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) `perm:"read"`

	EthGetFilterLogs func(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) `perm:"read"`

	EthGetLogs func(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) `perm:"read"`

	EthGetMessageCidByTransactionHash func(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error) `perm:"read"`

	EthGetStorageAt func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `perm:"read"`

	EthGetTransactionByBlockHashAndIndex func(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error) `perm:"read"`

	EthGetTransactionByBlockNumberAndIndex func(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error) `perm:"read"`

	EthGetTransactionByHash func(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error) `perm:"read"`

	EthGetTransactionByHashLimited func(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error) `perm:"read"`

	EthGetTransactionCount func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) `perm:"read"`

	EthGetTransactionHashByCid func(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error) `perm:"read"`

	EthGetTransactionReceipt func(p0 context.Context, p1 ethtypes.EthHash) (*ethtypes.EthTxReceipt, error) `perm:"read"`

	EthGetTransactionReceiptLimited func(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTxReceipt, error) `perm:"read"`

	EthMaxPriorityFeePerGas func(p0 context.Context) (ethtypes.EthBigInt, error) `perm:"read"`

	EthNewBlockFilter func(p0 context.Context) (ethtypes.EthFilterID, error) `perm:"read"`

	EthNewFilter func(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) `perm:"read"`

	EthNewPendingTransactionFilter func(p0 context.Context) (ethtypes.EthFilterID, error) `perm:"read"`

	EthProtocolVersion func(p0 context.Context) (ethtypes.EthUint64, error) `perm:"read"`

	EthSendRawTransaction func(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error) `perm:"read"`

	EthSendRawTransactionUntrusted func(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error) `perm:"read"`

	EthSubscribe func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) `perm:"read"`

	EthSyncing func(p0 context.Context) (ethtypes.EthSyncingResult, error) `perm:"read"`

	EthTraceBlock func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error) `perm:"read"`

	EthTraceFilter func(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error) `perm:"read"`

	EthTraceReplayBlockTransactions func(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) `perm:"read"`

	EthTraceTransaction func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) `perm:"read"`

	EthUninstallFilter func(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) `perm:"read"`

	EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) `perm:"read"`

	FilecoinAddressToEthAddress func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, error) `perm:"read"`

	NetListening func(p0 context.Context) (bool, error) `perm:"read"`

	NetVersion func(p0 context.Context) (string, error) `perm:"read"`

	StateGetActor func(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*types.Actor, error) `perm:"read"`

	StateGetID func(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*address.Address, error) `perm:"read"`

	Web3ClientVersion func(p0 context.Context) (string, error) `perm:"read"`
}

type FullNodeStruct

type FullNodeStruct struct {
	Internal FullNodeMethods
}

func (*FullNodeStruct) ChainGetTipSet

func (s *FullNodeStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetSelector) (*types.TipSet, error)

func (*FullNodeStruct) EthAccounts

func (s *FullNodeStruct) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)

func (*FullNodeStruct) EthAddressToFilecoinAddress

func (s *FullNodeStruct) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error)

func (*FullNodeStruct) EthBlockNumber

func (s *FullNodeStruct) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error)

func (*FullNodeStruct) EthCall

func (*FullNodeStruct) EthChainId

func (s *FullNodeStruct) EthChainId(p0 context.Context) (ethtypes.EthUint64, error)

func (*FullNodeStruct) EthEstimateGas

func (s *FullNodeStruct) EthEstimateGas(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthUint64, error)

func (*FullNodeStruct) EthFeeHistory

func (s *FullNodeStruct) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)

func (*FullNodeStruct) EthGasPrice

func (s *FullNodeStruct) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error)

func (*FullNodeStruct) EthGetBalance

func (*FullNodeStruct) EthGetBlockByHash

func (s *FullNodeStruct) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error)

func (*FullNodeStruct) EthGetBlockByNumber

func (s *FullNodeStruct) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error)

func (*FullNodeStruct) EthGetBlockReceipts

func (*FullNodeStruct) EthGetBlockReceiptsLimited

func (s *FullNodeStruct) EthGetBlockReceiptsLimited(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)

func (*FullNodeStruct) EthGetBlockTransactionCountByHash

func (s *FullNodeStruct) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)

func (*FullNodeStruct) EthGetBlockTransactionCountByNumber

func (s *FullNodeStruct) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 string) (ethtypes.EthUint64, error)

func (*FullNodeStruct) EthGetCode

func (*FullNodeStruct) EthGetFilterChanges

func (s *FullNodeStruct) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)

func (*FullNodeStruct) EthGetFilterLogs

func (*FullNodeStruct) EthGetLogs

func (*FullNodeStruct) EthGetMessageCidByTransactionHash

func (s *FullNodeStruct) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error)

func (*FullNodeStruct) EthGetTransactionByBlockHashAndIndex

func (s *FullNodeStruct) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)

func (*FullNodeStruct) EthGetTransactionByBlockNumberAndIndex

func (s *FullNodeStruct) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)

func (*FullNodeStruct) EthGetTransactionByHash

func (s *FullNodeStruct) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error)

func (*FullNodeStruct) EthGetTransactionByHashLimited

func (s *FullNodeStruct) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)

func (*FullNodeStruct) EthGetTransactionCount

func (*FullNodeStruct) EthGetTransactionHashByCid

func (s *FullNodeStruct) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error)

func (*FullNodeStruct) EthGetTransactionReceipt

func (s *FullNodeStruct) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*ethtypes.EthTxReceipt, error)

func (*FullNodeStruct) EthGetTransactionReceiptLimited

func (s *FullNodeStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTxReceipt, error)

func (*FullNodeStruct) EthMaxPriorityFeePerGas

func (s *FullNodeStruct) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error)

func (*FullNodeStruct) EthNewBlockFilter

func (s *FullNodeStruct) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)

func (*FullNodeStruct) EthNewFilter

func (*FullNodeStruct) EthNewPendingTransactionFilter

func (s *FullNodeStruct) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)

func (*FullNodeStruct) EthProtocolVersion

func (s *FullNodeStruct) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error)

func (*FullNodeStruct) EthSendRawTransaction

func (s *FullNodeStruct) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)

func (*FullNodeStruct) EthSendRawTransactionUntrusted

func (s *FullNodeStruct) EthSendRawTransactionUntrusted(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)

func (*FullNodeStruct) EthSubscribe

func (s *FullNodeStruct) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)

func (*FullNodeStruct) EthSyncing

func (*FullNodeStruct) EthTraceBlock

func (s *FullNodeStruct) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)

func (*FullNodeStruct) EthTraceFilter

func (*FullNodeStruct) EthTraceReplayBlockTransactions

func (s *FullNodeStruct) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)

func (*FullNodeStruct) EthTraceTransaction

func (s *FullNodeStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error)

func (*FullNodeStruct) EthUninstallFilter

func (s *FullNodeStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)

func (*FullNodeStruct) EthUnsubscribe

func (s *FullNodeStruct) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)

func (*FullNodeStruct) FilecoinAddressToEthAddress

func (s *FullNodeStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, error)

func (*FullNodeStruct) NetListening

func (s *FullNodeStruct) NetListening(p0 context.Context) (bool, error)

func (*FullNodeStruct) NetVersion

func (s *FullNodeStruct) NetVersion(p0 context.Context) (string, error)

func (*FullNodeStruct) StateGetActor

func (s *FullNodeStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*types.Actor, error)

func (*FullNodeStruct) StateGetID

func (s *FullNodeStruct) StateGetID(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*address.Address, error)

func (*FullNodeStruct) Web3ClientVersion

func (s *FullNodeStruct) Web3ClientVersion(p0 context.Context) (string, error)

type FullNodeStub

type FullNodeStub struct {
}

func (*FullNodeStub) ChainGetTipSet

func (s *FullNodeStub) ChainGetTipSet(p0 context.Context, p1 types.TipSetSelector) (*types.TipSet, error)

func (*FullNodeStub) EthAccounts

func (s *FullNodeStub) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)

func (*FullNodeStub) EthAddressToFilecoinAddress

func (s *FullNodeStub) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error)

func (*FullNodeStub) EthBlockNumber

func (s *FullNodeStub) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error)

func (*FullNodeStub) EthCall

func (*FullNodeStub) EthChainId

func (s *FullNodeStub) EthChainId(p0 context.Context) (ethtypes.EthUint64, error)

func (*FullNodeStub) EthEstimateGas

func (s *FullNodeStub) EthEstimateGas(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthUint64, error)

func (*FullNodeStub) EthFeeHistory

func (s *FullNodeStub) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)

func (*FullNodeStub) EthGasPrice

func (s *FullNodeStub) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error)

func (*FullNodeStub) EthGetBalance

func (*FullNodeStub) EthGetBlockByHash

func (s *FullNodeStub) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error)

func (*FullNodeStub) EthGetBlockByNumber

func (s *FullNodeStub) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error)

func (*FullNodeStub) EthGetBlockReceipts

func (s *FullNodeStub) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)

func (*FullNodeStub) EthGetBlockReceiptsLimited

func (s *FullNodeStub) EthGetBlockReceiptsLimited(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)

func (*FullNodeStub) EthGetBlockTransactionCountByHash

func (s *FullNodeStub) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)

func (*FullNodeStub) EthGetBlockTransactionCountByNumber

func (s *FullNodeStub) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 string) (ethtypes.EthUint64, error)

func (*FullNodeStub) EthGetCode

func (*FullNodeStub) EthGetFilterChanges

func (s *FullNodeStub) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)

func (*FullNodeStub) EthGetFilterLogs

func (*FullNodeStub) EthGetLogs

func (*FullNodeStub) EthGetMessageCidByTransactionHash

func (s *FullNodeStub) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error)

func (*FullNodeStub) EthGetTransactionByBlockHashAndIndex

func (s *FullNodeStub) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)

func (*FullNodeStub) EthGetTransactionByBlockNumberAndIndex

func (s *FullNodeStub) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)

func (*FullNodeStub) EthGetTransactionByHash

func (s *FullNodeStub) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error)

func (*FullNodeStub) EthGetTransactionByHashLimited

func (s *FullNodeStub) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)

func (*FullNodeStub) EthGetTransactionCount

func (*FullNodeStub) EthGetTransactionHashByCid

func (s *FullNodeStub) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error)

func (*FullNodeStub) EthGetTransactionReceipt

func (s *FullNodeStub) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*ethtypes.EthTxReceipt, error)

func (*FullNodeStub) EthGetTransactionReceiptLimited

func (s *FullNodeStub) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTxReceipt, error)

func (*FullNodeStub) EthMaxPriorityFeePerGas

func (s *FullNodeStub) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error)

func (*FullNodeStub) EthNewBlockFilter

func (s *FullNodeStub) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)

func (*FullNodeStub) EthNewFilter

func (*FullNodeStub) EthNewPendingTransactionFilter

func (s *FullNodeStub) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)

func (*FullNodeStub) EthProtocolVersion

func (s *FullNodeStub) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error)

func (*FullNodeStub) EthSendRawTransaction

func (s *FullNodeStub) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)

func (*FullNodeStub) EthSendRawTransactionUntrusted

func (s *FullNodeStub) EthSendRawTransactionUntrusted(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)

func (*FullNodeStub) EthSubscribe

func (s *FullNodeStub) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)

func (*FullNodeStub) EthSyncing

func (*FullNodeStub) EthTraceBlock

func (s *FullNodeStub) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)

func (*FullNodeStub) EthTraceFilter

func (*FullNodeStub) EthTraceReplayBlockTransactions

func (s *FullNodeStub) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)

func (*FullNodeStub) EthTraceTransaction

func (s *FullNodeStub) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error)

func (*FullNodeStub) EthUninstallFilter

func (s *FullNodeStub) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)

func (*FullNodeStub) EthUnsubscribe

func (s *FullNodeStub) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)

func (*FullNodeStub) FilecoinAddressToEthAddress

func (s *FullNodeStub) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, error)

func (*FullNodeStub) NetListening

func (s *FullNodeStub) NetListening(p0 context.Context) (bool, error)

func (*FullNodeStub) NetVersion

func (s *FullNodeStub) NetVersion(p0 context.Context) (string, error)

func (*FullNodeStub) StateGetActor

func (s *FullNodeStub) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*types.Actor, error)

func (*FullNodeStub) StateGetID

func (s *FullNodeStub) StateGetID(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*address.Address, error)

func (*FullNodeStub) Web3ClientVersion

func (s *FullNodeStub) Web3ClientVersion(p0 context.Context) (string, error)

type Gateway

type Gateway interface {
	ChainGetTipSet(context.Context, types.TipSetSelector) (*types.TipSet, error)
	StateGetActor(context.Context, address.Address, types.TipSetSelector) (*types.Actor, error)
	StateGetID(context.Context, address.Address, types.TipSetSelector) (*address.Address, error)
	EthAddressToFilecoinAddress(ctx context.Context, ethAddress ethtypes.EthAddress) (address.Address, error)
	FilecoinAddressToEthAddress(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthAddress, error)
	Web3ClientVersion(ctx context.Context) (string, error)
	EthChainId(ctx context.Context) (ethtypes.EthUint64, error)
	NetVersion(ctx context.Context) (string, error)
	NetListening(ctx context.Context) (bool, error)
	EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error)
	EthSyncing(ctx context.Context) (ethtypes.EthSyncingResult, error)
	EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error)
	EthSendRawTransaction(ctx context.Context, rawTx ethtypes.EthBytes) (ethtypes.EthHash, error)
	EthSendRawTransactionUntrusted(ctx context.Context, rawTx ethtypes.EthBytes) (ethtypes.EthHash, error)
	EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error)
	EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum string) (ethtypes.EthUint64, error)
	EthGetBlockTransactionCountByHash(ctx context.Context, blkHash ethtypes.EthHash) (ethtypes.EthUint64, error)
	EthGetBlockByHash(ctx context.Context, blkHash ethtypes.EthHash, fullTxInfo bool) (ethtypes.EthBlock, error)
	EthGetBlockByNumber(ctx context.Context, blkNum string, fullTxInfo bool) (ethtypes.EthBlock, error)
	EthGetTransactionByHash(ctx context.Context, txHash *ethtypes.EthHash) (*ethtypes.EthTx, error)
	EthGetTransactionByHashLimited(ctx context.Context, txHash *ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTx, error)
	EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, txIndex ethtypes.EthUint64) (*ethtypes.EthTx, error)
	EthGetTransactionByBlockNumberAndIndex(ctx context.Context, blkNum string, txIndex ethtypes.EthUint64) (*ethtypes.EthTx, error)
	EthGetMessageCidByTransactionHash(ctx context.Context, txHash *ethtypes.EthHash) (*cid.Cid, error)
	EthGetTransactionHashByCid(ctx context.Context, cid cid.Cid) (*ethtypes.EthHash, error)
	EthGetTransactionCount(ctx context.Context, sender ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
	EthGetTransactionReceipt(ctx context.Context, txHash ethtypes.EthHash) (*ethtypes.EthTxReceipt, error)
	EthGetTransactionReceiptLimited(ctx context.Context, txHash ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTxReceipt, error)
	EthGetBlockReceipts(ctx context.Context, blkParam ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
	EthGetBlockReceiptsLimited(ctx context.Context, blkParam ethtypes.EthBlockNumberOrHash, limit abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)
	EthGetCode(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
	EthGetStorageAt(ctx context.Context, address ethtypes.EthAddress, position ethtypes.EthBytes, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
	EthGetBalance(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
	EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error)
	EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
	EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error)
	EthTraceFilter(ctx context.Context, filter ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
	EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error)
	EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
	EthMaxPriorityFeePerGas(ctx context.Context) (ethtypes.EthBigInt, error)
	EthEstimateGas(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthUint64, error)
	EthCall(ctx context.Context, tx ethtypes.EthCall, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
	EthGetLogs(ctx context.Context, filter *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
	EthNewBlockFilter(ctx context.Context) (ethtypes.EthFilterID, error)
	EthNewPendingTransactionFilter(ctx context.Context) (ethtypes.EthFilterID, error)
	EthNewFilter(ctx context.Context, filter *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
	EthUninstallFilter(ctx context.Context, id ethtypes.EthFilterID) (bool, error)
	EthGetFilterChanges(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
	EthGetFilterLogs(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
	EthSubscribe(ctx context.Context, params jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
	EthUnsubscribe(ctx context.Context, id ethtypes.EthSubscriptionID) (bool, error)

	Discover(context.Context) (apitypes.OpenRPCDocument, error)
}

type GatewayMethods

type GatewayMethods struct {
	ChainGetTipSet func(p0 context.Context, p1 types.TipSetSelector) (*types.TipSet, error) ``

	Discover func(p0 context.Context) (apitypes.OpenRPCDocument, error) ``

	EthAccounts func(p0 context.Context) ([]ethtypes.EthAddress, error) ``

	EthAddressToFilecoinAddress func(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error) ``

	EthBlockNumber func(p0 context.Context) (ethtypes.EthUint64, error) ``

	EthCall func(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) ``

	EthChainId func(p0 context.Context) (ethtypes.EthUint64, error) ``

	EthEstimateGas func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthUint64, error) ``

	EthFeeHistory func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) ``

	EthGasPrice func(p0 context.Context) (ethtypes.EthBigInt, error) ``

	EthGetBalance func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) ``

	EthGetBlockByHash func(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error) ``

	EthGetBlockByNumber func(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error) ``

	EthGetBlockReceipts func(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error) ``

	EthGetBlockReceiptsLimited func(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error) ``

	EthGetBlockTransactionCountByHash func(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error) ``

	EthGetBlockTransactionCountByNumber func(p0 context.Context, p1 string) (ethtypes.EthUint64, error) ``

	EthGetCode func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) ``

	EthGetFilterChanges func(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) ``

	EthGetFilterLogs func(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) ``

	EthGetLogs func(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) ``

	EthGetMessageCidByTransactionHash func(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error) ``

	EthGetStorageAt func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) ``

	EthGetTransactionByBlockHashAndIndex func(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error) ``

	EthGetTransactionByBlockNumberAndIndex func(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error) ``

	EthGetTransactionByHash func(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error) ``

	EthGetTransactionByHashLimited func(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error) ``

	EthGetTransactionCount func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) ``

	EthGetTransactionHashByCid func(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error) ``

	EthGetTransactionReceipt func(p0 context.Context, p1 ethtypes.EthHash) (*ethtypes.EthTxReceipt, error) ``

	EthGetTransactionReceiptLimited func(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTxReceipt, error) ``

	EthMaxPriorityFeePerGas func(p0 context.Context) (ethtypes.EthBigInt, error) ``

	EthNewBlockFilter func(p0 context.Context) (ethtypes.EthFilterID, error) ``

	EthNewFilter func(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) ``

	EthNewPendingTransactionFilter func(p0 context.Context) (ethtypes.EthFilterID, error) ``

	EthProtocolVersion func(p0 context.Context) (ethtypes.EthUint64, error) ``

	EthSendRawTransaction func(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error) ``

	EthSendRawTransactionUntrusted func(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error) ``

	EthSubscribe func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) ``

	EthSyncing func(p0 context.Context) (ethtypes.EthSyncingResult, error) ``

	EthTraceBlock func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error) ``

	EthTraceFilter func(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error) ``

	EthTraceReplayBlockTransactions func(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) ``

	EthTraceTransaction func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) ``

	EthUninstallFilter func(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) ``

	EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) ``

	FilecoinAddressToEthAddress func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, error) ``

	NetListening func(p0 context.Context) (bool, error) ``

	NetVersion func(p0 context.Context) (string, error) ``

	StateGetActor func(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*types.Actor, error) ``

	StateGetID func(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*address.Address, error) ``

	Web3ClientVersion func(p0 context.Context) (string, error) ``
}

type GatewayStruct

type GatewayStruct struct {
	Internal GatewayMethods
}

func (*GatewayStruct) ChainGetTipSet

func (s *GatewayStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetSelector) (*types.TipSet, error)

func (*GatewayStruct) Discover

func (*GatewayStruct) EthAccounts

func (s *GatewayStruct) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)

func (*GatewayStruct) EthAddressToFilecoinAddress

func (s *GatewayStruct) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error)

func (*GatewayStruct) EthBlockNumber

func (s *GatewayStruct) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error)

func (*GatewayStruct) EthCall

func (*GatewayStruct) EthChainId

func (s *GatewayStruct) EthChainId(p0 context.Context) (ethtypes.EthUint64, error)

func (*GatewayStruct) EthEstimateGas

func (s *GatewayStruct) EthEstimateGas(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthUint64, error)

func (*GatewayStruct) EthFeeHistory

func (s *GatewayStruct) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)

func (*GatewayStruct) EthGasPrice

func (s *GatewayStruct) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error)

func (*GatewayStruct) EthGetBalance

func (*GatewayStruct) EthGetBlockByHash

func (s *GatewayStruct) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error)

func (*GatewayStruct) EthGetBlockByNumber

func (s *GatewayStruct) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error)

func (*GatewayStruct) EthGetBlockReceipts

func (*GatewayStruct) EthGetBlockReceiptsLimited

func (s *GatewayStruct) EthGetBlockReceiptsLimited(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)

func (*GatewayStruct) EthGetBlockTransactionCountByHash

func (s *GatewayStruct) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)

func (*GatewayStruct) EthGetBlockTransactionCountByNumber

func (s *GatewayStruct) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 string) (ethtypes.EthUint64, error)

func (*GatewayStruct) EthGetCode

func (*GatewayStruct) EthGetFilterChanges

func (s *GatewayStruct) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)

func (*GatewayStruct) EthGetFilterLogs

func (*GatewayStruct) EthGetLogs

func (*GatewayStruct) EthGetMessageCidByTransactionHash

func (s *GatewayStruct) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error)

func (*GatewayStruct) EthGetTransactionByBlockHashAndIndex

func (s *GatewayStruct) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)

func (*GatewayStruct) EthGetTransactionByBlockNumberAndIndex

func (s *GatewayStruct) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)

func (*GatewayStruct) EthGetTransactionByHash

func (s *GatewayStruct) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error)

func (*GatewayStruct) EthGetTransactionByHashLimited

func (s *GatewayStruct) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)

func (*GatewayStruct) EthGetTransactionCount

func (*GatewayStruct) EthGetTransactionHashByCid

func (s *GatewayStruct) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error)

func (*GatewayStruct) EthGetTransactionReceipt

func (s *GatewayStruct) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*ethtypes.EthTxReceipt, error)

func (*GatewayStruct) EthGetTransactionReceiptLimited

func (s *GatewayStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTxReceipt, error)

func (*GatewayStruct) EthMaxPriorityFeePerGas

func (s *GatewayStruct) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error)

func (*GatewayStruct) EthNewBlockFilter

func (s *GatewayStruct) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)

func (*GatewayStruct) EthNewFilter

func (*GatewayStruct) EthNewPendingTransactionFilter

func (s *GatewayStruct) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)

func (*GatewayStruct) EthProtocolVersion

func (s *GatewayStruct) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error)

func (*GatewayStruct) EthSendRawTransaction

func (s *GatewayStruct) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)

func (*GatewayStruct) EthSendRawTransactionUntrusted

func (s *GatewayStruct) EthSendRawTransactionUntrusted(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)

func (*GatewayStruct) EthSubscribe

func (s *GatewayStruct) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)

func (*GatewayStruct) EthSyncing

func (*GatewayStruct) EthTraceBlock

func (s *GatewayStruct) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)

func (*GatewayStruct) EthTraceFilter

func (*GatewayStruct) EthTraceReplayBlockTransactions

func (s *GatewayStruct) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)

func (*GatewayStruct) EthTraceTransaction

func (s *GatewayStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error)

func (*GatewayStruct) EthUninstallFilter

func (s *GatewayStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)

func (*GatewayStruct) EthUnsubscribe

func (s *GatewayStruct) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)

func (*GatewayStruct) FilecoinAddressToEthAddress

func (s *GatewayStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, error)

func (*GatewayStruct) NetListening

func (s *GatewayStruct) NetListening(p0 context.Context) (bool, error)

func (*GatewayStruct) NetVersion

func (s *GatewayStruct) NetVersion(p0 context.Context) (string, error)

func (*GatewayStruct) StateGetActor

func (s *GatewayStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*types.Actor, error)

func (*GatewayStruct) StateGetID

func (s *GatewayStruct) StateGetID(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*address.Address, error)

func (*GatewayStruct) Web3ClientVersion

func (s *GatewayStruct) Web3ClientVersion(p0 context.Context) (string, error)

type GatewayStub

type GatewayStub struct {
}

func (*GatewayStub) ChainGetTipSet

func (s *GatewayStub) ChainGetTipSet(p0 context.Context, p1 types.TipSetSelector) (*types.TipSet, error)

func (*GatewayStub) Discover

func (*GatewayStub) EthAccounts

func (s *GatewayStub) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)

func (*GatewayStub) EthAddressToFilecoinAddress

func (s *GatewayStub) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error)

func (*GatewayStub) EthBlockNumber

func (s *GatewayStub) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error)

func (*GatewayStub) EthCall

func (*GatewayStub) EthChainId

func (s *GatewayStub) EthChainId(p0 context.Context) (ethtypes.EthUint64, error)

func (*GatewayStub) EthEstimateGas

func (s *GatewayStub) EthEstimateGas(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthUint64, error)

func (*GatewayStub) EthFeeHistory

func (s *GatewayStub) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)

func (*GatewayStub) EthGasPrice

func (s *GatewayStub) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error)

func (*GatewayStub) EthGetBalance

func (*GatewayStub) EthGetBlockByHash

func (s *GatewayStub) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error)

func (*GatewayStub) EthGetBlockByNumber

func (s *GatewayStub) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error)

func (*GatewayStub) EthGetBlockReceipts

func (s *GatewayStub) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)

func (*GatewayStub) EthGetBlockReceiptsLimited

func (s *GatewayStub) EthGetBlockReceiptsLimited(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)

func (*GatewayStub) EthGetBlockTransactionCountByHash

func (s *GatewayStub) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)

func (*GatewayStub) EthGetBlockTransactionCountByNumber

func (s *GatewayStub) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 string) (ethtypes.EthUint64, error)

func (*GatewayStub) EthGetFilterChanges

func (s *GatewayStub) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)

func (*GatewayStub) EthGetFilterLogs

func (s *GatewayStub) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)

func (*GatewayStub) EthGetLogs

func (*GatewayStub) EthGetMessageCidByTransactionHash

func (s *GatewayStub) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error)

func (*GatewayStub) EthGetTransactionByBlockHashAndIndex

func (s *GatewayStub) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)

func (*GatewayStub) EthGetTransactionByBlockNumberAndIndex

func (s *GatewayStub) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)

func (*GatewayStub) EthGetTransactionByHash

func (s *GatewayStub) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error)

func (*GatewayStub) EthGetTransactionByHashLimited

func (s *GatewayStub) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)

func (*GatewayStub) EthGetTransactionCount

func (*GatewayStub) EthGetTransactionHashByCid

func (s *GatewayStub) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error)

func (*GatewayStub) EthGetTransactionReceipt

func (s *GatewayStub) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*ethtypes.EthTxReceipt, error)

func (*GatewayStub) EthGetTransactionReceiptLimited

func (s *GatewayStub) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTxReceipt, error)

func (*GatewayStub) EthMaxPriorityFeePerGas

func (s *GatewayStub) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error)

func (*GatewayStub) EthNewBlockFilter

func (s *GatewayStub) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)

func (*GatewayStub) EthNewFilter

func (*GatewayStub) EthNewPendingTransactionFilter

func (s *GatewayStub) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)

func (*GatewayStub) EthProtocolVersion

func (s *GatewayStub) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error)

func (*GatewayStub) EthSendRawTransaction

func (s *GatewayStub) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)

func (*GatewayStub) EthSendRawTransactionUntrusted

func (s *GatewayStub) EthSendRawTransactionUntrusted(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)

func (*GatewayStub) EthSubscribe

func (s *GatewayStub) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)

func (*GatewayStub) EthSyncing

func (*GatewayStub) EthTraceBlock

func (s *GatewayStub) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)

func (*GatewayStub) EthTraceFilter

func (*GatewayStub) EthTraceReplayBlockTransactions

func (s *GatewayStub) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)

func (*GatewayStub) EthTraceTransaction

func (s *GatewayStub) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error)

func (*GatewayStub) EthUninstallFilter

func (s *GatewayStub) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)

func (*GatewayStub) EthUnsubscribe

func (s *GatewayStub) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)

func (*GatewayStub) FilecoinAddressToEthAddress

func (s *GatewayStub) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, error)

func (*GatewayStub) NetListening

func (s *GatewayStub) NetListening(p0 context.Context) (bool, error)

func (*GatewayStub) NetVersion

func (s *GatewayStub) NetVersion(p0 context.Context) (string, error)

func (*GatewayStub) StateGetActor

func (s *GatewayStub) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*types.Actor, error)

func (*GatewayStub) StateGetID

func (s *GatewayStub) StateGetID(p0 context.Context, p1 address.Address, p2 types.TipSetSelector) (*address.Address, error)

func (*GatewayStub) Web3ClientVersion

func (s *GatewayStub) Web3ClientVersion(p0 context.Context) (string, error)

Directories

Path Synopsis
Package v2mocks is a generated GoMock package.
Package v2mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL