ethers.js/src.ts/contract/index.ts

32 lines
972 B
TypeScript
Raw Permalink Normal View History

2022-11-27 21:56:22 -05:00
/**
* A **Contract** object is a meta-class (a class whose definition is
* defined at runtime), which communicates with a deployed smart contract
* on the blockchain and provides a simple JavaScript interface to call
* methods, send transaction, query historic logs and listen for its events.
2022-11-27 21:56:22 -05:00
*
2023-02-12 21:21:11 -05:00
* @_section: api/contract:Contracts [about-contracts]
2022-11-27 21:56:22 -05:00
*/
2022-09-05 16:14:43 -04:00
export {
BaseContract, Contract
} from "./contract.js";
export {
ContractFactory
} from "./factory.js";
export {
2023-01-26 23:25:55 -05:00
ContractEventPayload, ContractUnknownEventPayload,
ContractTransactionReceipt, ContractTransactionResponse,
EventLog,
2022-09-05 16:14:43 -04:00
} from "./wrappers.js";
export type {
2023-01-26 23:25:55 -05:00
BaseContractMethod, ConstantContractMethod,
PostfixOverrides,
ContractEvent, ContractEventArgs, ContractEventName,
ContractDeployTransaction,
2022-09-05 16:14:43 -04:00
ContractInterface, ContractMethod, ContractMethodArgs, ContractTransaction,
DeferredTopicFilter, Overrides,
WrappedFallback
2022-09-05 16:14:43 -04:00
} from "./types.js";