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

32 lines
972 B
TypeScript
Raw Normal View History

2022-11-28 05:56:22 +03: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-28 05:56:22 +03:00
*
2023-02-13 05:21:11 +03:00
* @_section: api/contract:Contracts [about-contracts]
2022-11-28 05:56:22 +03:00
*/
2022-09-05 23:14:43 +03:00
export {
BaseContract, Contract
} from "./contract.js";
export {
ContractFactory
} from "./factory.js";
export {
2023-01-27 07:25:55 +03:00
ContractEventPayload, ContractUnknownEventPayload,
ContractTransactionReceipt, ContractTransactionResponse,
EventLog,
2022-09-05 23:14:43 +03:00
} from "./wrappers.js";
export type {
2023-01-27 07:25:55 +03:00
BaseContractMethod, ConstantContractMethod,
PostfixOverrides,
ContractEvent, ContractEventArgs, ContractEventName,
ContractDeployTransaction,
2022-09-05 23:14:43 +03:00
ContractInterface, ContractMethod, ContractMethodArgs, ContractTransaction,
DeferredTopicFilter, Overrides,
WrappedFallback
2022-09-05 23:14:43 +03:00
} from "./types.js";