OPNet
Preparing search index...
OPNetEvent
Class OPNetEvent<T>
An OPNet Contract event. This class is used to represent an event that has been decoded.
Type Parameters
T
extends
ContractDecodedObjectResult
=
{}
Hierarchy
NetEvent
OPNetEvent
Implements
IDecodedEvent
Index
Constructors
constructor
Properties
data
properties
type
values
Methods
set
Decoded
Constructors
constructor
new
OPNetEvent
<
T
extends
ContractDecodedObjectResult
=
{}
>
(
type
:
string
,
data
:
Uint8Array
,
)
:
OPNetEvent
<
T
>
Type Parameters
T
extends
ContractDecodedObjectResult
=
{}
Parameters
type
:
string
data
:
Uint8Array
Returns
OPNetEvent
<
T
>
Properties
Readonly
data
data
:
Uint8Array
properties
properties
:
T
= ...
Readonly
type
type
:
string
values
values
:
DecodedCallResult
[]
= []
Methods
set
Decoded
setDecoded
(
decoded
:
DecodedOutput
)
:
void
Parameters
decoded
:
DecodedOutput
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
data
properties
type
values
Methods
set
Decoded
OPNet
Loading...
An OPNet Contract event. This class is used to represent an event that has been decoded.