AccountState
AccountState =
object
Defined in: packages/synapse-core/src/pay/types.ts:19
Raw account fields (from accounts()) + the current epoch.
Shared input shape for pure account-state helpers like resolveAccountState and calculateAccountDebt.
Properties
Section titled “Properties”currentEpoch
Section titled “currentEpoch”currentEpoch:
bigint
Defined in: packages/synapse-core/src/pay/types.ts:29
Current epoch (block number on Filecoin).
funds:
bigint
Defined in: packages/synapse-core/src/pay/types.ts:21
Total funds deposited by the account (from accounts()).
lockupCurrent
Section titled “lockupCurrent”lockupCurrent:
bigint
Defined in: packages/synapse-core/src/pay/types.ts:23
Lockup amount at lockupLastSettledAt (fixed lockup + rate lockup accrued so far).
lockupLastSettledAt
Section titled “lockupLastSettledAt”lockupLastSettledAt:
bigint
Defined in: packages/synapse-core/src/pay/types.ts:27
Epoch when lockup was last settled.
lockupRate
Section titled “lockupRate”lockupRate:
bigint
Defined in: packages/synapse-core/src/pay/types.ts:25
Aggregate per-epoch lockup rate across all active rails.