46 lines
2.4 KiB
TypeScript
46 lines
2.4 KiB
TypeScript
import { TransactionForAccessList, AbiFunctionFragment, TransactionWithSenderAPI, TransactionCall, HexString, Address, NonPayableCallOptions, PayableCallOptions, ContractOptions, Numbers, AbiConstructorFragment } from 'web3-types';
|
|
export declare const getSendTxParams: ({ abi, params, options, contractOptions, }: {
|
|
abi: AbiFunctionFragment | AbiConstructorFragment;
|
|
params: unknown[];
|
|
options?: ((NonPayableCallOptions | PayableCallOptions) & {
|
|
input?: string | undefined;
|
|
data?: string | undefined;
|
|
to?: string | undefined;
|
|
dataInputFill?: "data" | "input" | "both" | undefined;
|
|
}) | undefined;
|
|
contractOptions: ContractOptions;
|
|
}) => TransactionCall;
|
|
export declare const getEthTxCallParams: ({ abi, params, options, contractOptions, }: {
|
|
abi: AbiFunctionFragment;
|
|
params: unknown[];
|
|
options?: ((NonPayableCallOptions | PayableCallOptions) & {
|
|
to?: string | undefined;
|
|
dataInputFill?: "data" | "input" | "both" | undefined;
|
|
}) | undefined;
|
|
contractOptions: ContractOptions;
|
|
}) => TransactionCall;
|
|
export declare const getEstimateGasParams: ({ abi, params, options, contractOptions, }: {
|
|
abi: AbiFunctionFragment;
|
|
params: unknown[];
|
|
options?: ((NonPayableCallOptions | PayableCallOptions) & {
|
|
dataInputFill?: "data" | "input" | "both" | undefined;
|
|
}) | undefined;
|
|
contractOptions: ContractOptions;
|
|
}) => Partial<TransactionWithSenderAPI>;
|
|
export declare const isWeb3ContractContext: (options: unknown) => options is Partial<import("web3-core").Web3ContextInitOptions<import("web3-types").EthExecutionAPI, {
|
|
logs: typeof import("./log_subscription.js").LogsSubscription;
|
|
newHeads: typeof import("web3-eth").NewHeadsSubscription;
|
|
newBlockHeaders: typeof import("web3-eth").NewHeadsSubscription;
|
|
}>>;
|
|
export declare const getCreateAccessListParams: ({ abi, params, options, contractOptions, }: {
|
|
abi: AbiFunctionFragment;
|
|
params: unknown[];
|
|
options?: ((NonPayableCallOptions | PayableCallOptions) & {
|
|
to?: string | undefined;
|
|
dataInputFill?: "data" | "input" | "both" | undefined;
|
|
}) | undefined;
|
|
contractOptions: ContractOptions;
|
|
}) => TransactionForAccessList;
|
|
export declare const createContractAddress: (from: Address, nonce: Numbers) => Address;
|
|
export declare const create2ContractAddress: (from: Address, salt: HexString, initCode: HexString) => Address;
|