WithdrawPolicy is the per-address withdraw policy.

interface VaultWithdrawPolicy {
    limit_amount: Uint8Array;
    limit_interval: longnum;
}

Properties

limit_amount: Uint8Array

LimitAmount is the maximum amount of tokens that may be withdrawn in the given interval.

limit_interval: longnum

LimitInterval is the interval (in blocks) when the limit amount resets.