ALTBCFactory
Git Source Inherits: Ownable, FactoryBase Author: @oscarsernarosero @mpetersoCode55 @cirsteve creates the pools in an automated and permissioned fashionFunctions
constructor
createPool
Only allowed deployers can deploy pools and only allowed yTokens are allowed deploys an ALTBC pool| Name | Type | Description |
|---|---|---|
_xToken | address | address of the X token (x axis) |
_yToken | address | address of the Y token (y axis) |
_lpFee | uint16 | percentage of the fees in percentage basis points |
_tbcInput | ALTBCInput | input data for the pool |
_liquidityRemovalAllowed | bool | if true, liquidity can be removed at any time. Removal of liquidity forbidden otherwise |
| Name | Type | Description |
|---|---|---|
deployedPool | address | the address of the deployed pool |