Initializes a new instance of the PoolParams class.
Key that uniquely identifies the operator of the pool.
This is the hash of the pool's Verifiable Random Function key. It's used for leader selection in the Ouroboros Praos consensus protocol.
The amount of ADA that the stake pool operator themselves will delegate to the pool.
The minimum cost per epoch that the pool will charge. This is the cost that covers the operational expenses of the pool.
This is the percentage of the rewards that will be taken by the pool before distributing the rest to its delegators.
The address where the pool's rewards will be sent.
The public keys of the owners of the stake pool.
The network addresses (IP and/or DNS) of the relay nodes running in the pool.
Optional
poolMetadata: Serialization.PoolMetadataIf the pool has associated metadata, this will include the hash of that metadata and the URL where the metadata file can be found.
Private
#costPrivate
#marginPrivate
#operatorPrivate
#originalPrivate
#pledgePrivate
Optional
#poolPrivate
#poolPrivate
#relaysPrivate
#rewardPrivate
#vrfStatic
Readonly
subgroupGets the percentage of the rewards that will be taken by the pool before distributing the rest to its delegators.
The margin of the pool.
Gets the key hash of the stake pool operator.
Key that uniquely identifies the operator of the pool.
Gets the pool associated metadata.
The pool associated metadata if any; otherwise; undefined.
Gets the public keys of the owners of the stake pool.
The pool owners key hashes.
Gets the network addresses (IP and/or DNS) of the relay nodes running in the pool.
The network addresses of the pool relay nodes.
Gets the address where the pool's rewards will be sent.
The pool's rewards address.
Sets the percentage of the rewards that will be taken by the pool before distributing the rest to its delegators.
The margin of the pool.
Sets the key hash of the stake pool operator.
Key that uniquely identifies the operator of the pool.
Sets the pool associated metadata.
The pool associated metadata if any; otherwise; undefined.
Sets the public keys of the owners of the stake pool.
The pool owners key hashes.
Sets the network addresses (IP and/or DNS) of the relay nodes running in the pool.
The network addresses of the pool relay nodes.
Sets the address where the pool's rewards will be sent.
The pool's rewards address.
Creates a Core PoolParameters object from the current PoolParams object.
The Core PoolParameters object.
Serializes a PoolMetadata flattened (without grouping), into CBOR format, assuming the caller already created the grouping. An example is the PoolRegistration certificate which flattens the pool parameters in the pool_registration, rather than insert as a subgroup
The PoolMetadata in CBOR format.
the parent writer that already created the subgroup
Static
fromDeserializes the PoolParams from a CBOR byte array.
The new PoolParams instance.
The CBOR encoded PoolParams object.
Static
fromCreates a PoolParams object from the given Core PoolParameters object.
core PoolParameters object.
Static
fromRead the params one by one. Reading the grouping array was done previously. An example is the PoolRegistration certificate which flattens the pool parameters into an array that includes the certificate type.
The new PoolParams instance.
The reader that started reading the subgroup
Generated using TypeDoc
Stake pool update certificate parameters.
When a stake pool operator wants to change the parameters of their pool, they must submit a pool update certificate with these parameters.