JB721InitTiersConfig
Config to initialize a JB721TiersHook
with tiers and price data.
The tiers
must be sorted by price (from least to greatest).
Notes:
-
member: tiers The tiers to initialize the hook with.
-
member: currency The currency that the tier prices are denoted in. See
JBPrices
. -
member: decimals The number of decimals in the fixed point tier prices.
-
member: prices A contract that exposes price feeds that can be used to calculate prices in different currencies. To only accept payments in
currency
, setprices
to the zero address. SeeJBPrices
.
struct JB721InitTiersConfig {
JB721TierConfig[] tiers;
uint32 currency;
uint8 decimals;
IJBPrices prices;
}