/** * The depositor's commission ceiling (`maxAcceptableCommissionBps`) policy: * quoted VP commission + drift headroom, capped below the contract's * exclusive bound. Shared by the fresh path (`PeginManager`) and the * resume-rebuild path so both compute the same ceiling. * * @module deposit-terms/commissionCeiling */ /** * Headroom (in basis points) added to the current VP commission to compute * `maxAcceptableCommissionBps` at submit time. Lets the VP raise its * commission by up to this amount between read and submit without forcing * a re-quote. Capped by {@link MAX_ACCEPTABLE_COMMISSION_BPS_CAP}. * * Contract check is strict `>` (PeginLogic.sol `VaultProviderCommissionExceeded` * revert), so +25 allows up * to +25 bps of drift. */ export declare const COMMISSION_BPS_HEADROOM = 25; /** * Hard ceiling for `maxAcceptableCommissionBps`. The contract enforces * `commissionBps < 10000`, so any value at/above that is unreachable; * `9999` is the maximum useful cap. */ export declare const MAX_ACCEPTABLE_COMMISSION_BPS_CAP = 9999; /** * The commission ceiling submitted as registration calldata and mirrored * into `DepositTerms.commissionFee`: quoted + drift headroom, capped. * Single source for both consumers — feed it the SAME quoted bps at prepare * and register time so device-accept stays coextensive with contract-accept. */ export declare function capMaxAcceptableCommissionBps(bps: number): number; //# sourceMappingURL=commissionCeiling.d.ts.map