Clanker
Source:Verified
Write Functions / initialize
Overview

The initialize function in the Clanker contract sets up various configurations necessary for the contract's operation, including Uniswap and liquidity locker settings. It ensures that only the contract owner can call this function and approves the maximum allowance for the WETH token to the position manager.

Inputs
  • uniswapV3Factory_ (address): The address of the Uniswap V3 factory contract.
  • positionManager_ (address): The address of the Non-fungible Position Manager contract.
  • swapRouter_ (address): The address of the swap router contract.
  • weth_ (address): The address of the WETH token contract.
  • liquidityLocker_ (address): The address of the liquidity locker contract.
  • vault_ (address): The address of the vault contract.
Outputs
  • None: This function does not return any values.
Emits Zero Events
Functions will often emit events during execution, often signifying key changes in state. There are no events emited by this function
Recent Transactions Calling This Function
This returns the latest 20 times that this function was called directly by a wallet or internally by another contract.
Looking for transactions where this function was called...