MasterDeployer

A contract that distributes the Concentrated Liquidity Pool, which manages the permission of the factory that creates the pool.

Overview

Pangea adopted the design that separates the factory that creates the pool and the deployer that distributes the pool, as suggested by the Trident. By doing so, specification changes of the pool in the future became more flexible. And furthermore, implementing a customized pool according to the requirements of other DAPPs is made possible.

For example, rebasing tokens such as Ampleforth, whose total supply changes over time, were difficult to be accommodated with the existing pool spec. However, in Pangea, which separates the deployer and the factory, custom pools for such tokens can be developed and distributed according to the request of the protocol.

Methods

airdropDistributor

Returns Airdrop Distributor address

deployPool

Creates pool through factory

getFactoryAddress

Returns the address of the Factory which deployed the pool

getPoolAddress

Return the address of the pool by index

pools

Returns whether the pool was deployed via a deployer

protocolFeeTo

Returns the address receiving protocol fees from Pool

totalPoolsCount

Returns the number of pools deployed from the masterDeployer

Events

AddToWhitelistFactory

DeployPool

ProtocolFeeToUpdated

RemoveFromWhitelistFactory

Last updated