StaticaddedCasts a V1 direct AddedRewardEvent payload to the normalized event type.
StaticaddedCasts a V2 AddedRewardEvent whose payload is wrapped under pos0.
StaticcreatedCasts a V1 direct pool-created event and converts its numeric fields.
StaticcreatedCasts a V2 wrapped pool-created event and converts its numeric fields.
StaticdepositedCasts a V1 direct principal-deposit event.
StaticdepositedCasts a V2 wrapped principal-deposit event.
StaticdestroyedCasts a V1 direct staked-position-destroyed event.
StaticdestroyedCasts a V2 wrapped staked-position-destroyed event.
StaticharvestedCasts a V1 direct reward-harvest event and preserves parallel reward arrays.
StaticharvestedCasts a V2 wrapped reward-harvest event and preserves parallel reward arrays.
StaticincreasedCasts a V1 direct emission-increase event.
StaticinitializedCasts a V1 direct reward-initialized event.
StaticinitializedCasts a V2 wrapped reward-initialized event.
StaticjoinedCasts a V1 direct position-joined event.
StaticjoinedCasts a V2 wrapped position-joined event.
StaticlockedCasts a V1 direct position-locked event.
StaticlockedCasts a V2 wrapped position-locked event.
StaticpartialCasts a V1 staked-position object into the partial SDK position shape.
Raw Sui object view with V1 legacy fields.
A partial position with normalized coin type, bigint balances,
and reward entries in the source array order.
StaticpartialCasts a V2 staked-position object into the partial SDK position shape.
Raw Sui object view with V2 vault fields.
A partial V2 position with normalized coin type, bigint
balances, and reward entries in the source array order.
StaticsplitCasts a V1 direct position-split event.
StaticsplitCasts a V2 wrapped position-split event.
StaticstakedCasts a V1 direct strict-stake event.
StaticstakedCasts a V2 wrapped strict-stake event.
StaticstakedCasts a V1 direct relaxed-stake event.
StaticstakingCasts a V1 staking-pool one-time admin capability object.
Raw Sui object view containing afterburner_vault_id.
The normalized one-time admin capability and its V1 pool ID.
StaticstakingCasts a V2 one-time admin capability from either JSON-RPC or gRPC shape.
The nested cap field is unwrapped before the authority for field is
read, so callers receive the same result from both transports.
Raw Sui object view containing the nested authority cap.
The normalized one-time admin capability and its V2 pool ID.
StaticstakingCasts a V1 staking-pool owner capability object.
Raw Sui object view containing afterburner_vault_id.
The normalized owner-cap object and its V1 pool ID.
StaticstakingCasts a V2 staking-pool owner capability object.
Raw Sui object view containing the authority for field.
The normalized owner-cap object and its V2 pool ID.
StaticunlockedCasts a V1 direct position-unlocked event.
StaticunlockedCasts a V2 wrapped position-unlocked event.
StaticupdatedCasts a V2 wrapped emission-update event into the normalized increase-event type.
StaticwithdrewCasts a V1 direct principal-withdrawal event.
StaticwithdrewCasts a V2 wrapped principal-withdrawal event.
Converts raw farm object and event responses into the SDK's normalized farm types.
V1 casters read direct
parsedJsonor legacy object fields. V2 event casters read the payload underparsedJson.pos0. Numeric strings are converted tobigintfor balances and fixed-point multipliers, or tonumberfor millisecond timestamps.Example