Readonly
[internal]Readonly
fallbackThe fallback or receive function if any.
Readonly
filtersAll the Events available on this contract.
Readonly
interfaceThe contract Interface.
Readonly
runnerThe connected runner. This is generally a [[Provider]] or a [[Signer]], which dictates what operations are supported.
For example, a Contract connected to a [[Provider]] may only execute read-only operations.
Readonly
targetThe target to connect to.
This can be an address, ENS name or any [[Addressable]], such as
another contract. To get the resovled address, use the getAddress
method.
Alias for [on].
Return a new Contract instance with the same ABI and runner, but a different %%target%%.
Return a new Contract instance with the same target and ABI, but a different %%runner%%.
Return the transaction used to deploy this contract.
This is only available if this instance was returned from a [[ContractFactory]].
Emit an %%event%% calling all listeners with %%args%%.
Resolves to true
if any listeners were called.
Return the resolved address of this Contract.
Return the deployed bytecode or null if no bytecode is found.
Return the event for a given name. This is useful when a contract
event name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Resolves to the number of listeners of %%event%% or the total number of listeners if unspecified.
Optional
event: ContractEventNameResolves to the listeners subscribed to %%event%% or all listeners if unspecified.
Optional
event: ContractEventNameRemove the %%listener%% from the listeners for %%event%% or remove all listeners if unspecified.
Optional
listener: ListenerAdd an event %%listener%% for the %%event%%.
Add an event %%listener%% for the %%event%%, but remove the listener after it is fired once.
Provide historic access to event data for %%event%% in the range
%%fromBlock%% (default: 0
) to %%toBlock%% (default: "latest"
)
inclusive.
Optional
fromBlock: BlockTagOptional
toBlock: BlockTag@_ignore:
Remove all the listeners for %%event%% or remove all listeners if unspecified.
Optional
event: ContractEventNameAlias for [off].
Resolve to this Contract once the bytecode has been deployed, or resolve immediately if already deployed.
@_ignore: