Skip to main content

JBConstants

Git Source

Global constants used across Juicebox contracts.

State Variables

NATIVE_TOKEN

Each chain's native token address in Juicebox is represented by 0x000000000000000000000000000000000000EEEe.

address public constant NATIVE_TOKEN = address(0x000000000000000000000000000000000000EEEe);

MAX_RESERVED_PERCENT

uint16 public constant MAX_RESERVED_PERCENT = 10_000;

MAX_CASH_OUT_TAX_RATE

uint16 public constant MAX_CASH_OUT_TAX_RATE = 10_000;

MAX_WEIGHT_CUT_PERCENT

uint32 public constant MAX_WEIGHT_CUT_PERCENT = 1_000_000_000;

SPLITS_TOTAL_PERCENT

uint32 public constant SPLITS_TOTAL_PERCENT = 1_000_000_000;

MAX_FEE

uint16 public constant MAX_FEE = 1000;