2022-11-28 05:56:22 +03:00
|
|
|
/**
|
2023-06-02 00:42:48 +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,
|
2023-08-03 01:29:50 +03:00
|
|
|
EventLog, UndecodedEventLog
|
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,
|
2023-03-20 19:49:58 +03:00
|
|
|
DeferredTopicFilter, Overrides,
|
|
|
|
WrappedFallback
|
2022-09-05 23:14:43 +03:00
|
|
|
} from "./types.js";
|