Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions bindings/go/iota_sdk_ffi/iota_sdk_ffi.go
Original file line number Diff line number Diff line change
Expand Up @@ -24207,6 +24207,8 @@ type Epoch struct {
TotalTransactions *uint64
// Validator related properties. For active validators, see
// `active_validators` API.
// For epochs other than the current the data provided refer to the start
// of the epoch.
ValidatorSet *ValidatorSet
}

Expand Down Expand Up @@ -26949,12 +26951,13 @@ type Validator struct {
// behalf of the validator.
OperationCap *[]byte
// Pending pool token withdrawn during the current epoch, emptied at epoch
// boundaries.
// boundaries. Zero for past epochs.
PendingPoolTokenWithdraw *uint64
// Pending stake amount for this epoch.
// Pending stake amount for the current epoch, emptied at epoch boundaries.
// Zero for past epochs.
PendingStake *uint64
// Pending stake withdrawn during the current epoch, emptied at epoch
// boundaries.
// boundaries. Zero for past epochs.
PendingTotalIotaWithdraw *uint64
// Total number of pool tokens issued by the pool.
PoolTokenBalance *uint64
Expand Down
9 changes: 6 additions & 3 deletions bindings/kotlin/lib/iota_sdk/iota_sdk_ffi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43706,6 +43706,8 @@ data class Epoch (
/**
* Validator related properties. For active validators, see
* `active_validators` API.
* For epochs other than the current the data provided refer to the start
* of the epoch.
*/
var `validatorSet`: ValidatorSet? = null
) : Disposable {
Expand Down Expand Up @@ -46681,16 +46683,17 @@ data class Validator (
var `operationCap`: kotlin.ByteArray? = null,
/**
* Pending pool token withdrawn during the current epoch, emptied at epoch
* boundaries.
* boundaries. Zero for past epochs.
*/
var `pendingPoolTokenWithdraw`: kotlin.ULong? = null,
/**
* Pending stake amount for this epoch.
* Pending stake amount for the current epoch, emptied at epoch boundaries.
* Zero for past epochs.
*/
var `pendingStake`: kotlin.ULong? = null,
/**
* Pending stake withdrawn during the current epoch, emptied at epoch
* boundaries.
* boundaries. Zero for past epochs.
*/
var `pendingTotalIotaWithdraw`: kotlin.ULong? = null,
/**
Expand Down
9 changes: 6 additions & 3 deletions bindings/python/lib/iota_sdk_ffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10055,6 +10055,8 @@ class Epoch:
"""
Validator related properties. For active validators, see
`active_validators` API.
For epochs other than the current the data provided refer to the start
of the epoch.
"""

def __init__(self, *, epoch_id: "int", fund_inflow: "typing.Optional[str]" = _DEFAULT, fund_outflow: "typing.Optional[str]" = _DEFAULT, fund_size: "typing.Optional[str]" = _DEFAULT, live_object_set_digest: "typing.Optional[str]" = _DEFAULT, net_inflow: "typing.Optional[str]" = _DEFAULT, protocol_configs: "typing.Optional[ProtocolConfigs]" = _DEFAULT, reference_gas_price: "typing.Optional[str]" = _DEFAULT, start_timestamp: "int", end_timestamp: "typing.Optional[int]" = _DEFAULT, system_state_version: "typing.Optional[int]" = _DEFAULT, total_checkpoints: "typing.Optional[int]" = _DEFAULT, total_gas_fees: "typing.Optional[str]" = _DEFAULT, total_stake_rewards: "typing.Optional[str]" = _DEFAULT, total_transactions: "typing.Optional[int]" = _DEFAULT, validator_set: "typing.Optional[ValidatorSet]" = _DEFAULT):
Expand Down Expand Up @@ -13445,18 +13447,19 @@ class Validator:
pending_pool_token_withdraw: "typing.Optional[int]"
"""
Pending pool token withdrawn during the current epoch, emptied at epoch
boundaries.
boundaries. Zero for past epochs.
"""

pending_stake: "typing.Optional[int]"
"""
Pending stake amount for this epoch.
Pending stake amount for the current epoch, emptied at epoch boundaries.
Zero for past epochs.
"""

pending_total_iota_withdraw: "typing.Optional[int]"
"""
Pending stake withdrawn during the current epoch, emptied at epoch
boundaries.
boundaries. Zero for past epochs.
"""

pool_token_balance: "typing.Optional[int]"
Expand Down
10 changes: 7 additions & 3 deletions crates/iota-graphql-client-build/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,9 @@ type Epoch {
referenceGasPrice: BigInt
"""
Validator related properties, including the active validators.

For epochs other than the current the data provided refer to the start
of the epoch.
"""
validatorSet: ValidatorSet
"""
Expand Down Expand Up @@ -4754,17 +4757,18 @@ type Validator {
"""
poolTokenBalance: BigInt
"""
Pending stake amount for this epoch.
Pending stake amount for the current epoch, emptied at epoch boundaries.
Zero for past epochs.
"""
pendingStake: BigInt
"""
Pending stake withdrawn during the current epoch, emptied at epoch
boundaries.
boundaries. Zero for past epochs.
"""
pendingTotalIotaWithdraw: BigInt
"""
Pending pool token withdrawn during the current epoch, emptied at epoch
boundaries.
boundaries. Zero for past epochs.
"""
pendingPoolTokenWithdraw: BigInt
"""
Expand Down
9 changes: 6 additions & 3 deletions crates/iota-sdk-ffi/src/types/graphql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ pub struct Epoch {
pub total_transactions: Option<u64>,
/// Validator related properties. For active validators, see
/// `active_validators` API.
/// For epochs other than the current the data provided refer to the start
/// of the epoch.
#[uniffi(default = None)]
pub validator_set: Option<ValidatorSet>,
}
Expand Down Expand Up @@ -774,14 +776,15 @@ pub struct Validator {
#[uniffi(default = None)]
pub operation_cap: Option<Vec<u8>>,
/// Pending pool token withdrawn during the current epoch, emptied at epoch
/// boundaries.
/// boundaries. Zero for past epochs.
#[uniffi(default = None)]
pub pending_pool_token_withdraw: Option<u64>,
/// Pending stake amount for this epoch.
/// Pending stake amount for the current epoch, emptied at epoch boundaries.
/// Zero for past epochs.
#[uniffi(default = None)]
pub pending_stake: Option<u64>,
/// Pending stake withdrawn during the current epoch, emptied at epoch
/// boundaries.
/// boundaries. Zero for past epochs.
#[uniffi(default = None)]
pub pending_total_iota_withdraw: Option<u64>,
/// Total number of pool tokens issued by the pool.
Expand Down
Loading