Deployer
State Variables
TOKEN_JAR
ITokenJar public immutable TOKEN_JAR
RELEASER
IReleaser public immutable RELEASER
FEE_ADAPTER
IV3FeeAdapter public immutable FEE_ADAPTER
UNI_MINTER
IUNIMinter public immutable UNI_MINTER
RESOURCE
address public constant RESOURCE = 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
THRESHOLD
uint256 public constant THRESHOLD = 69_420
V3_FACTORY
IUniswapV3Factory public constant V3_FACTORY =
IUniswapV3Factory(0x1F98431c8aD98523631AE4a59f267346ea31F984)
SALT_TOKEN_JAR
bytes32 constant SALT_TOKEN_JAR = 0
SALT_RELEASER
bytes32 constant SALT_RELEASER = 0
SALT_FEE_ADAPTER
bytes32 constant SALT_FEE_ADAPTER = 0
Functions
constructor
- Deploy the TokenJar
- Set the releaser on the token jar.
- Update the owner on the token jar. RELEASER:
- Deploy the Releaser.
- Update the thresholdSetter on the releaser to the owner.
- Update the owner on the releaser. FEE_ADAPTER:
- Deploy the FeeAdapter.
- Update the feeSetter to the owner.
- Store fee tiers.
- Update the owner on the fee adapter. UNIMinter
- Deploy the UNIMinter
- To enable the UNIMinter, the owner must call
setMinteron the UNI contract
constructor() ;