Skip to main content

Deployer

Git Source

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​

  1. Deploy the TokenJar
  2. Set the releaser on the token jar.
  3. Update the owner on the token jar. RELEASER:
  4. Deploy the Releaser.
  5. Update the thresholdSetter on the releaser to the owner.
  6. Update the owner on the releaser. FEE_ADAPTER:
  7. Deploy the FeeAdapter.
  8. Update the feeSetter to the owner.
  9. Store fee tiers.
  10. Update the owner on the fee adapter. UNIMinter
  11. Deploy the UNIMinter
  • To enable the UNIMinter, the owner must call setMinter on the UNI contract
constructor() ;