PerennialPosition
Defined in: packages/scheme-qorechain/src/chain.ts:35
The parts of a Perennial position the pq-perennial scheme checks.
Properties
Section titled “Properties”beneficiary
Section titled “beneficiary”beneficiary:
`0x${string}`
Defined in: packages/scheme-qorechain/src/chain.ts:36
budgetMode
Section titled “budgetMode”budgetMode:
boolean
Defined in: packages/scheme-qorechain/src/chain.ts:48
Budget mode (fixed when the position is opened): every spend counts against a
per-period budget (budgetRemaining), and is paid from the buffer, then the principal.
budgetRemaining
Section titled “budgetRemaining”budgetRemaining:
bigint
Defined in: packages/scheme-qorechain/src/chain.ts:51
What a budget-mode position may still spend this period; zero otherwise.
buffer
Section titled “buffer”buffer:
bigint
Defined in: packages/scheme-qorechain/src/chain.ts:39
closed
Section titled “closed”closed:
boolean
Defined in: packages/scheme-qorechain/src/chain.ts:42
nonce:
bigint
Defined in: packages/scheme-qorechain/src/chain.ts:38
Action nonce; each signed action consumes one.
pendingYield
Section titled “pendingYield”pendingYield:
bigint
Defined in: packages/scheme-qorechain/src/chain.ts:41
Yield spend harvests into the buffer before paying.
principal
Section titled “principal”principal:
bigint
Defined in: packages/scheme-qorechain/src/chain.ts:49
succeeded
Section titled “succeeded”succeeded:
boolean
Defined in: packages/scheme-qorechain/src/chain.ts:43