Class PoolState
PoolState
is a type that is serialized to the blockchain to track the state of the user's pool singleton
target_puzzle_hash
is either the pool address, or the self-pooling address that pool rewards will be paid to.
target_puzzle_hash
is NOT the p2_singleton puzzle that block rewards are sent to.
The p2_singleton
address is the initial address, and the target_puzzle_hash
is the final destination.
relative_lock_height
is zero when in SELF_POOLING state
public record PoolState : IEquatable<PoolState>
- Inheritance
-
PoolState
- Implements
- Inherited Members
- Extension Methods
Properties
OwnerPubkey
owner_pubkey is set by the wallet, once
public string OwnerPubkey { get; init; }
Property Value
- string
- PoolState is a type that is serialized to the blockchain to track the state of the user's pool singleton target_puzzle_hash is either the pool address, or the self-pooling address that pool rewards will be paid to. target_puzzle_hash is NOT the p2_singleton puzzle that block rewards are sent to. The p2_singleton address is the initial address, and the target_puzzle_hash is the final destination. relative_lock_height is zero when in SELF_POOLING state
PoolUrl
public string? PoolUrl { get; init; }
Property Value
- string
- PoolState is a type that is serialized to the blockchain to track the state of the user's pool singleton target_puzzle_hash is either the pool address, or the self-pooling address that pool rewards will be paid to. target_puzzle_hash is NOT the p2_singleton puzzle that block rewards are sent to. The p2_singleton address is the initial address, and the target_puzzle_hash is the final destination. relative_lock_height is zero when in SELF_POOLING state
RelativeLockHeight
public uint RelativeLockHeight { get; init; }
Property Value
- uint
- PoolState is a type that is serialized to the blockchain to track the state of the user's pool singleton target_puzzle_hash is either the pool address, or the self-pooling address that pool rewards will be paid to. target_puzzle_hash is NOT the p2_singleton puzzle that block rewards are sent to. The p2_singleton address is the initial address, and the target_puzzle_hash is the final destination. relative_lock_height is zero when in SELF_POOLING state
State
PoolSingletonState
public PoolSingletonState State { get; init; }
Property Value
- PoolSingletonState
- PoolState is a type that is serialized to the blockchain to track the state of the user's pool singleton target_puzzle_hash is either the pool address, or the self-pooling address that pool rewards will be paid to. target_puzzle_hash is NOT the p2_singleton puzzle that block rewards are sent to. The p2_singleton address is the initial address, and the target_puzzle_hash is the final destination. relative_lock_height is zero when in SELF_POOLING state
TargetPuzzleHash
A puzzle_hash we pay to When self-farming, this is a main wallet address When farming-to-pool, the pool sends this to the farmer during pool protocol setup
public string TargetPuzzleHash { get; init; }
Property Value
- string
- PoolState is a type that is serialized to the blockchain to track the state of the user's pool singleton target_puzzle_hash is either the pool address, or the self-pooling address that pool rewards will be paid to. target_puzzle_hash is NOT the p2_singleton puzzle that block rewards are sent to. The p2_singleton address is the initial address, and the target_puzzle_hash is the final destination. relative_lock_height is zero when in SELF_POOLING state
Version
public byte Version { get; init; }
Property Value
- byte
- PoolState is a type that is serialized to the blockchain to track the state of the user's pool singleton target_puzzle_hash is either the pool address, or the self-pooling address that pool rewards will be paid to. target_puzzle_hash is NOT the p2_singleton puzzle that block rewards are sent to. The p2_singleton address is the initial address, and the target_puzzle_hash is the final destination. relative_lock_height is zero when in SELF_POOLING state