perennialVaultAbi
constperennialVaultAbi: readonly [{inputs: readonly [];name:"ASSET";outputs: readonly [{type:"address"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [];name:"ACTION_DOMAIN";outputs: readonly [{type:"bytes32"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }];name:"position";outputs: readonly [{components: readonly [{name:"owner";type:"address"; }, {name:"beneficiary";type:"address"; }, {name:"ownerCanClose";type:"bool"; }, {name:"succeeded";type:"bool"; }, {name:"closed";type:"bool"; }, {name:"payoutInterval";type:"uint64"; }, {name:"checkInPeriod";type:"uint64"; }, {name:"gracePeriod";type:"uint64"; }, {name:"lastCheckIn";type:"uint64"; }, {name:"lastPayout";type:"uint64"; }, {name:"payoutAmount";type:"uint256"; }, {name:"principal";type:"uint256"; }, {name:"shares";type:"uint256"; }, {name:"buffer";type:"uint256"; }, {name:"nonce";type:"uint256"; }, {name:"bufferCap";type:"uint256"; }, {name:"budgetMode";type:"bool"; }, {name:"windowStart";type:"uint64"; }, {name:"windowSpent";type:"uint256"; }];type:"tuple"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }];name:"pendingYield";outputs: readonly [{type:"uint256"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }];name:"budgetRemaining";outputs: readonly [{type:"uint256"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }, {name:"action";type:"uint8"; }, {name:"nonce";type:"uint256"; }, {name:"deadline";type:"uint256"; }, {name:"paramsHash";type:"bytes32"; }];name:"actionMessage";outputs: readonly [{type:"bytes"; }];stateMutability:"view";type:"function"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }, {name:"to";type:"address"; }, {name:"amount";type:"uint256"; }, {name:"ref";type:"bytes32"; }, {name:"deadline";type:"uint256"; }, {name:"signature";type:"bytes"; }];name:"spend";outputs: readonly [];stateMutability:"nonpayable";type:"function"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }, {name:"amount";type:"uint256"; }];name:"fund";outputs: readonly [];stateMutability:"nonpayable";type:"function"; }, {inputs: readonly [{indexed:true;name:"positionId";type:"uint256"; }, {indexed:true;name:"to";type:"address"; }, {name:"amount";type:"uint256"; }, {indexed:true;name:"ref";type:"bytes32"; }];name:"Spent";type:"event"; }, {inputs: readonly [{indexed:true;name:"positionId";type:"uint256"; }, {indexed:true;name:"from";type:"address"; }, {name:"amount";type:"uint256"; }];name:"Funded";type:"event"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }, {name:"remaining";type:"uint256"; }];name:"BudgetExceeded";type:"error"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }, {name:"available";type:"uint256"; }];name:"InsufficientBuffer";type:"error"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }];name:"PositionClosed";type:"error"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }];name:"PositionSucceeded";type:"error"; }, {inputs: readonly [{name:"deadline";type:"uint256"; }];name:"SignatureExpired";type:"error"; }, {inputs: readonly [{name:"positionId";type:"uint256"; }];name:"UnknownPosition";type:"error"; }, {inputs: readonly [];name:"ZeroAmount";type:"error"; }, {inputs: readonly [];name:"ZeroAddress";type:"error"; }, {inputs: readonly [{name:"account";type:"address"; }];name:"PQCSignatureInvalid";type:"error"; }, {inputs: readonly [{name:"account";type:"address"; }];name:"PQCKeyNotProven";type:"error"; }, {inputs: readonly [{name:"account";type:"address"; }];name:"PQCKeyNotRegistered";type:"error"; }, {inputs: readonly [{name:"account";type:"address"; }];name:"PQCKeyUnsupported";type:"error"; }, {inputs: readonly [{name:"precompile";type:"address"; }];name:"PQCUnavailable";type:"error"; }]
Defined in: packages/scheme-qorechain/src/abi.ts:33
The parts of the Perennial vault the pq-perennial scheme uses, copied from
the vault’s compiled ABI (deployed 16 November 2026). The spend signature,
the Spent event and Action.Spend = 4 are fixed by the Perennial project.