Extends
BaseContract<this> &Omit<ContractInterface, keyofBaseContract>
Properties
Methods
addListener()
Parameters
Returns
Promise<Contract>
Inherited from
_ContractBase().addListener
Source
contract/contract.ts:1490attach()
target.
Parameters
Returns
BaseContract
The new contract instance.
Inherited from
_ContractBase().attach
Source
contract/contract.ts:1167connect()
runner.
Parameters
Returns
BaseContract
The new contract instance.
Inherited from
_ContractBase().connect
Source
contract/contract.ts:1157deploymentTransaction()
Returns
null | ContractTransactionResponse
The transaction used to deploy this contract or null.
Inherited from
_ContractBase().deploymentTransaction
Source
contract/contract.ts:1248emit()
event calling all listeners with args.
Resolves to true if any listeners were called.
Parameters
Returns
Promise<boolean>
true if any listeners were called.
Inherited from
_ContractBase().emit
Source
contract/contract.ts:1379getAddress()
Returns
Promise<string>
The resolved address.
Inherited from
_ContractBase().getAddress
Source
contract/contract.ts:1176getDeployedCode()
Returns
Promise<null | string>
The deployed bytecode or null.
Inherited from
_ContractBase().getDeployedCode
Throws
If the runner does not support .provider.Source
contract/contract.ts:1186getEvent()
prototype or when using a Contract programatically.
Parameters
Returns
ContractEvent<any[]>
The event for the given name.
Inherited from
_ContractBase().getEvent
Source
contract/contract.ts:1274getFunction()
prototype or when using a Contract programatically.
Type parameters
Parameters
Returns
T
The function for the given name.
Inherited from
_ContractBase().getFunction
Source
contract/contract.ts:1259listenerCount()
event or the total number of listeners if unspecified.
Parameters
Returns
Promise<number>
The number of listeners.
Inherited from
_ContractBase().listenerCount
Source
contract/contract.ts:1389listeners()
event or all listeners if unspecified.
Parameters
Returns
Promise<Listener[]>
The listeners.
Inherited from
_ContractBase().listeners
Source
contract/contract.ts:1413off()
listener from the listeners for event or remove all listeners if unspecified.
Parameters
Returns
Promise<Contract>
This contract instance.
Inherited from
_ContractBase().off
Source
contract/contract.ts:1438on()
listener for the event.
Parameters
Returns
Promise<Contract>
This contract instance.
Inherited from
_ContractBase().on
Source
contract/contract.ts:1350once()
listener for the event, but remove the listener after it is fired once.
Parameters
Returns
Promise<Contract>
Inherited from
_ContractBase().once
Source
contract/contract.ts:1363queryFilter()
event in the range fromBlock (default: 0) to toBlock (default:
"latest") inclusive.
Parameters
Returns
Promise<(EventLog | Log)[]>
An array of event logs.
Inherited from
_ContractBase().queryFilter
Source
contract/contract.ts:1300removeAllListeners()
event or remove all listeners if unspecified.
Parameters
Returns
Promise<Contract>
This contract instance.
Inherited from
_ContractBase().removeAllListeners
Source
contract/contract.ts:1465removeListener()
Parameters
Returns
Promise<Contract>
Inherited from
_ContractBase().removeListener
Source
contract/contract.ts:1500waitForDeployment()
Returns
Promise<Contract>
The contract instance.
Inherited from
_ContractBase().waitForDeployment
