index.ts 990 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * A **Contract** object is a meta-class (a class whose definition is
  3. * defined at runtime), which communicates with a deployed smart contract
  4. * on the blockchain and provides a simple JavaScript interface to call
  5. * methods, send transaction, query historic logs and listen for its events.
  6. *
  7. * @_section: api/contract:Contracts [about-contracts]
  8. */
  9. export {
  10. BaseContract, Contract
  11. } from "./contract.js";
  12. export {
  13. ContractFactory
  14. } from "./factory.js";
  15. export {
  16. ContractEventPayload, ContractUnknownEventPayload,
  17. ContractTransactionReceipt, ContractTransactionResponse,
  18. EventLog, UndecodedEventLog
  19. } from "./wrappers.js";
  20. export type {
  21. BaseContractMethod, ConstantContractMethod,
  22. PostfixOverrides,
  23. ContractEvent, ContractEventArgs, ContractEventName,
  24. ContractDeployTransaction,
  25. ContractInterface, ContractMethod, ContractMethodArgs, ContractTransaction,
  26. DeferredTopicFilter, Overrides,
  27. WrappedFallback
  28. } from "./types.js";