@lumera/sdk-js
Preparing search index...
SuperNode
Type Alias SuperNode
Name
SuperNode
Package
lumera.supernode.v1
See
proto type: lumera.supernode.v1.SuperNode
type
SuperNode
=
{
typeUrl
:
string
;
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
BinaryReader
,
length
?:
number
,
)
:
SuperNode
;
encode
(
message
:
SuperNode
,
writer
?:
BinaryWriter
)
:
BinaryWriter
;
fromAmino
(
object
:
SuperNodeAmino
)
:
SuperNode
;
fromAminoMsg
(
object
:
SuperNodeAminoMsg
)
:
SuperNode
;
fromPartial
(
object
:
{
evidence
?:
{
actionId
?:
string
;
description
?:
string
;
evidenceType
?:
string
;
height
?:
number
;
reporterAddress
?:
string
;
severity
?:
bigint
;
validatorAddress
?:
string
;
}
[]
;
metrics
?:
{
height
?:
bigint
;
metrics
?:
{
[
key
:
string
]:
number
|
undefined
}
;
reportCount
?:
bigint
;
}
;
note
?:
string
;
p2pPort
?:
string
;
prevIpAddresses
?:
{
address
?:
string
;
height
?:
bigint
}
[]
;
prevSupernodeAccounts
?:
{
account
?:
string
;
height
?:
bigint
}
[]
;
states
?:
{
height
?:
bigint
;
state
?:
SuperNodeState
}
[]
;
supernodeAccount
?:
string
;
validatorAddress
?:
string
;
}
,
)
:
SuperNode
;
fromProtoMsg
(
message
:
SuperNodeProtoMsg
)
:
SuperNode
;
is
(
o
:
any
)
:
o
is
SuperNode
;
isAmino
(
o
:
any
)
:
o
is
SuperNodeAmino
;
registerTypeUrl
()
:
void
;
toAmino
(
message
:
SuperNode
)
:
SuperNodeAmino
;
toProto
(
message
:
SuperNode
)
:
Uint8Array
;
toProtoMsg
(
message
:
SuperNode
)
:
SuperNodeProtoMsg
;
}
Index
Properties
type
Url
Methods
decode
encode
from
Amino
from
Amino
Msg
from
Partial
from
Proto
Msg
is
is
Amino
register
Type
Url
to
Amino
to
Proto
to
Proto
Msg
Properties
type
Url
typeUrl
:
string
= "/lumera.supernode.v1.SuperNode"
Methods
decode
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
BinaryReader
,
length
?:
number
,
)
:
SuperNode
Parameters
input
:
Uint8Array
<
ArrayBufferLike
>
|
BinaryReader
Optional
length
:
number
Returns
SuperNode
encode
encode
(
message
:
SuperNode
,
writer
?:
BinaryWriter
)
:
BinaryWriter
Parameters
message
:
SuperNode
writer
:
BinaryWriter
= ...
Returns
BinaryWriter
from
Amino
fromAmino
(
object
:
SuperNodeAmino
)
:
SuperNode
Parameters
object
:
SuperNodeAmino
Returns
SuperNode
from
Amino
Msg
fromAminoMsg
(
object
:
SuperNodeAminoMsg
)
:
SuperNode
Parameters
object
:
SuperNodeAminoMsg
Returns
SuperNode
from
Partial
fromPartial
(
object
:
{
evidence
?:
{
actionId
?:
string
;
description
?:
string
;
evidenceType
?:
string
;
height
?:
number
;
reporterAddress
?:
string
;
severity
?:
bigint
;
validatorAddress
?:
string
;
}
[]
;
metrics
?:
{
height
?:
bigint
;
metrics
?:
{
[
key
:
string
]:
number
|
undefined
}
;
reportCount
?:
bigint
;
}
;
note
?:
string
;
p2pPort
?:
string
;
prevIpAddresses
?:
{
address
?:
string
;
height
?:
bigint
}
[]
;
prevSupernodeAccounts
?:
{
account
?:
string
;
height
?:
bigint
}
[]
;
states
?:
{
height
?:
bigint
;
state
?:
SuperNodeState
}
[]
;
supernodeAccount
?:
string
;
validatorAddress
?:
string
;
}
,
)
:
SuperNode
Parameters
object
:
{
evidence
?:
{
actionId
?:
string
;
description
?:
string
;
evidenceType
?:
string
;
height
?:
number
;
reporterAddress
?:
string
;
severity
?:
bigint
;
validatorAddress
?:
string
;
}
[]
;
metrics
?:
{
height
?:
bigint
;
metrics
?:
{
[
key
:
string
]:
number
|
undefined
}
;
reportCount
?:
bigint
;
}
;
note
?:
string
;
p2pPort
?:
string
;
prevIpAddresses
?:
{
address
?:
string
;
height
?:
bigint
}
[]
;
prevSupernodeAccounts
?:
{
account
?:
string
;
height
?:
bigint
}
[]
;
states
?:
{
height
?:
bigint
;
state
?:
SuperNodeState
}
[]
;
supernodeAccount
?:
string
;
validatorAddress
?:
string
;
}
Returns
SuperNode
from
Proto
Msg
fromProtoMsg
(
message
:
SuperNodeProtoMsg
)
:
SuperNode
Parameters
message
:
SuperNodeProtoMsg
Returns
SuperNode
is
is
(
o
:
any
)
:
o
is
SuperNode
Parameters
o
:
any
Returns
o
is
SuperNode
is
Amino
isAmino
(
o
:
any
)
:
o
is
SuperNodeAmino
Parameters
o
:
any
Returns
o
is
SuperNodeAmino
register
Type
Url
registerTypeUrl
()
:
void
Returns
void
to
Amino
toAmino
(
message
:
SuperNode
)
:
SuperNodeAmino
Parameters
message
:
SuperNode
Returns
SuperNodeAmino
to
Proto
toProto
(
message
:
SuperNode
)
:
Uint8Array
Parameters
message
:
SuperNode
Returns
Uint8Array
to
Proto
Msg
toProtoMsg
(
message
:
SuperNode
)
:
SuperNodeProtoMsg
Parameters
message
:
SuperNode
Returns
SuperNodeProtoMsg
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
type
Url
Methods
decode
encode
from
Amino
from
Amino
Msg
from
Partial
from
Proto
Msg
is
is
Amino
register
Type
Url
to
Amino
to
Proto
to
Proto
Msg
@lumera/sdk-js
Loading...
Name
SuperNode
Package
lumera.supernode.v1
See
proto type: lumera.supernode.v1.SuperNode