Manage Pool
Once you've initiated a rewards program and incentives are being paid out to LPs, your job is mostly done.
However, there are certain managerial operations that a pool sponsor may want to access in the course of running a pool.
Some projects may want to add a managerial role for an address with permissions to initiate rewards or reinvest LP fees. This address does not have the power to upgrade the pool proxy or add other managers.
To set a manager:
- On the explorer website (e.g., Etherscan) for the network your pool is deployed on, navigate to your pool address (this is the address string at the end of your pool URL)
- Go to
Write Contract
or equivalent and connect wallet at top of view - In the
addManager
function:- for param
_manager
, enter the the address of the signer you want to give managerial access to - execute function
You can overwrite an old manager with a new manager following the same steps.
Over time, your incentivized LP pool will generate organic fees from people trading the pair on Uniswap V3. A quirk of Uniswap V3 compared to V2 is that you as the pool manager will need to periodically reinvest the accumulated fees into the pool. We are working on an added feature on the pool details page for pool owners and managers to see how much in fees the pool has accumulated. On this interface, pool owners/managers will be able to collect fees, swap into the proper ratio of assets if necessary and reinvest the proceeds in the pool, benefiting all LPs proportionally.
From time to time, we may push an upgrade to the pool implementation. As the pool owner is in full control of the proxy contract, these upgrades will be entirely opt-in.
To upgrade pool implementation (you must be the proxy owner):
- On the explorer website (e.g., Etherscan) for the network your pool is deployed on, navigate to the ProxyAdmin contract (Addresses).
- Go to
Write Contract
or equivalent and connect wallet at top of view - In the
upgrade
function:- for param
proxy
, enter your pool address - for param
implementation
, you'll need to find the latest CLR implementation on your network. You can read theclrImplementation
variable off of the CLRDeployer contract. Address for CLRDeployer found on the Addresses page.
The address that deploys the Mining pool will be automatically set as the
owner
of the pool proxy contract and as the owner
of the managerial functions ("implementation"). What does this mean? Your address is the only signer that can upgrade your pool's implementation (we may push opt-in upgrades to the pool from time to time) and the only address that can execute some of the other operations below.You may want to transfer these powers to another address or to a multisig wallet. Be aware that transferring ownership of the proxy is a separate operation from transferring ownership of the implementation.
Review: If you want to transfer the power to initialize rewards or to reinvest LP fees, you want to "transfer ownership". If you want to transfer the power to upgrade the pool (which will rarely come into play), you want to transfer proxy ownership. If you deployed from an EOA and want to transfer full powers to a multisig, you will likely want to do both of these operations.
To transfer ownership of the implementation:
- On the explorer website (e.g., Etherscan) for the network your pool is deployed on, navigate to your pool address
- Go to
Write Contract
or equivalent and connect wallet at top of view - In the
transferOwnership
function:- for param
newOwner
, enter the address of the new owner to transfer control to - execute function
To transfer ownership of the proxy:
- On the explorer website (e.g., Etherscan) for the network your pool is deployed on, navigate to the ProxyAdmin contract (Addresses).
- Go to
Write Contract
or equivalent and connect wallet at top of view - In the
transferProxyOwnership
function:- for param
proxy
, enter your pool address. This is the address in the url on your pool details page - for param
newAdmin
, enter the address you want to transfer control to - execute the function
Last modified 2mo ago