JBFundAccessConstraints
Codeβ
Definitionβ
/**
@member terminal The terminal within which the distribution limit and the overflow allowance applies.
@member token The token for which the fund access constraints apply.
@member distributionLimit The amount of the distribution limit, as a fixed point number with the same number of decimals as the terminal within which the limit applies.
@member distributionLimitCurrency The currency of the distribution limit.
@member overflowAllowance The amount of the allowance, as a fixed point number with the same number of decimals as the terminal within which the allowance applies.
@member overflowAllowanceCurrency The currency of the overflow allowance.
*/
struct JBFundAccessConstraints {
IJBPaymentTerminal terminal;
address token;
uint256 distributionLimit;
uint256 distributionLimitCurrency;
uint256 overflowAllowance;
uint256 overflowAllowanceCurrency;
}
terminalis the terminal within which the distribution limit and the overflow allowance applies.tokenis the token for which the fund access constraints apply.distributionLimitis the amount of the distribution limit, as a fixed point number with the same number of decimals as the terminal within which the limit applies.distributionLimitCurrencyis the currency of the distribution limit.overflowAllowanceis the amount of the allowance, as a fixed point number with the same number of decimals as the terminal within which the allowance applies.overflowAllowanceCurrencyis the currency of the overflow allowance.