2022-11-27 21:56:22 -05:00
|
|
|
/**
|
2023-06-01 17:42:48 -04: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,
|
2023-03-20 12:49:58 -04:00
|
|
|
DeferredTopicFilter, Overrides,
|
|
|
|
WrappedFallback
|
2022-09-05 16:14:43 -04:00
|
|
|
} from "./types.js";
|