Search…
Operator Methods

registerOperator

Call params
Parameter
Type
Description
operatorName
string
The operator’s display name.
publicKey
bytes
The operator public key (generated as part of the node setup).
operatorFee
uint256 (casted to uint64)
The fee charged by the operator (denominated as $SSV tokens per block)

removeOperator

Call params
Parameter
Type
Description
operatorId
uint32
The operator id

getOperatorById

Call params
Parameter
Type
Description
operatorId
uint32
The operator id
Return values
Parameter
Type
Description
name
string
The operator's display name
ownerAddress
address
The operator’s admin address (for management purposes).
publicKey
bytes
The operator public key
validators
uint256
The amount of managed validators
fee
uint256
The fee charged by the operator (denominated as $SSV tokens per block)
score
uint256
The operator score
active
boolean
Operator network status

declareOperatorFee

Call params
Parameter
Type
Description
operatorId
uint32
The operator id
operatorFee
uint256 (casted to uint64)
New fee (denominated as $SSV tokens per block).

executeOperatorFee

Call params
Parameter
Type
Description
operatorId
uint32
The operator id

cancelDeclaredOperatorFee

Call params
Parameter
Type
Description
operatorId
uint32
The operator id

getOperatorDeclaredFee

Call params
Parameter
Type
Description
operatorId
uint32
The operator id
Return values
Parameter
Type
Description
declaredFee
uint256
The declared fee to be charged by the operator (denominated as $SSV tokens per block)
executionBeginTime
uint256
The timestamp of when the operator can execute the declared fee
executionExpirationTime
uint256
The timestamp of when the declared fee is expired

getOperatorFee

Call params
Parameter
Type
Description
operatorId
uint32
The operator id
Return values
Parameter
Type
Description
declaredFee
uint256
The fee charged by the operator (denominated as $SSV tokens per block)