Added missing exports.

This commit is contained in:
Richard Moore 2023-01-26 23:25:55 -05:00
parent e8a408565e
commit 3b0a800635
2 changed files with 13 additions and 3 deletions

@ -126,6 +126,9 @@ function getProvider(value: null | ContractRunner): null | Provider {
return value.provider || null;
}
/**
* @_ignore:
*/
export async function copyOverrides(arg: any): Promise<Omit<ContractTransaction, "data" | "to">> {
// Create a shallow copy (we'll deep-ify anything needed during normalizing)
@ -147,6 +150,9 @@ export async function copyOverrides(arg: any): Promise<Omit<ContractTransaction,
return <Omit<ContractTransaction, "data" | "to">>overrides;
}
/**
* @_ignore:
*/
export async function resolveArgs(_runner: null | ContractRunner, inputs: ReadonlyArray<ParamType>, args: Array<any>): Promise<Array<any>> {
// Recursively descend into args and resolve any addresses
const runner = getRunner(_runner, "resolveName");

@ -12,12 +12,16 @@ export {
} from "./factory.js";
export {
ContractEventPayload, ContractTransactionReceipt, ContractTransactionResponse,
EventLog
ContractEventPayload, ContractUnknownEventPayload,
ContractTransactionReceipt, ContractTransactionResponse,
EventLog,
} from "./wrappers.js";
export type {
ConstantContractMethod, ContractEvent, ContractEventArgs, ContractEventName,
BaseContractMethod, ConstantContractMethod,
PostfixOverrides,
ContractEvent, ContractEventArgs, ContractEventName,
ContractDeployTransaction,
ContractInterface, ContractMethod, ContractMethodArgs, ContractTransaction,
DeferredTopicFilter, Overrides
} from "./types.js";