@wharfkit/session - v4.0.1
    Preparing search index...

    Class powerup_state_resource

    Interface that should be implemented by ABI serializable objects.

    Hierarchy (View Summary)

    • Struct
      • powerup_state_resource
    Index
    adjusted_utilization: Int64
    assumed_stake_weight: Int64
    decay_secs: UInt32
    exponent: Float64
    initial_timestamp: TimePointSec
    initial_weight_ratio: Int64
    max_price: Asset
    min_price: Asset
    target_timestamp: TimePointSec
    target_weight_ratio: Int64
    utilization: Int64
    utilization_timestamp: TimePointSec
    version: UInt8
    weight: Int64
    weight_ratio: Int64
    abiFields: ABIField[]
    abiName: string
    • get structFields(): ABIField[]

      Returns ABIField[]

    • Return true if this struct equals the other.

      Note: This compares the ABI encoded bytes of both structs, subclasses should implement their own fast equality check when possible.

      Parameters

      • other: any

      Returns boolean

    • Type Parameters

      Parameters

      • this: T
      • value: any

      Returns InstanceType<T>

    • Parameters

      • value: any

      Returns unknown