StaticstakedCasts an on-chain StakedEvent to the normalized StakedEvent type.
Decimal amount and epoch strings become bigint, the validator fee's
18-decimal fixed-point value becomes a decimal ratio, and a nullable
on-chain referrer becomes an omitted value when it is null.
Event envelope with a parsed staking payload.
The normalized staking event, including timestamp and transaction digest.
StaticstakedCasts a stakedSui vault state object response to its normalized shape.
The caster accepts both bare gRPC JSON fields and JSON-RPC-style nested
{ type, fields } structs. It returns raw balances and epochs as bigint
and preserves atomic-unstake fees as 18-decimal fixed-point bigints.
Sui object response containing StakedSuiVaultStateV1 fields.
The normalized StakedSuiVaultStateObject.
StaticunstakedCasts a completed on-chain unstake event to UnstakedEvent.
The afSUI and SUI amounts and epoch become bigint; address fields are
normalized; timestampMs becomes the event timestamp number.
Event envelope with a parsed completed-unstake payload.
The normalized completed-unstake event.
StaticunstakeCasts a queued on-chain unstake request to UnstakeRequestedEvent.
The afSUI amount and epoch become bigint; address fields are normalized;
timestampMs becomes the event timestamp number. A request has no returned
SUI coin or amount.
Event envelope with a parsed request payload.
The normalized queued-unstake event.
StaticvalidatorCasts a validator operation-cap object response to its normalized shape.
The caster reads authorizer_validator_address from the Move fields and
expands it to the SDK's normalized Sui address format.
Sui object response containing validator operation-cap fields.
The normalized ValidatorOperationCapObject.
Converts staking object and event responses into the SDK's normalized types.
These static methods perform local parsing only. They accept the transport shapes used by the Sui object and event clients, convert decimal integer strings to
bigint, normalize addresses, and convert 18-decimal validator fees to decimal ratios. They do not perform network I/O.