IFactory
Git Source Inherits: IFactoryEvents Author: @oscarsernarosero @mpetersoCode55 @cirsteve function signatures of a Pool FactoryFunctions
VERSION
version of the pool factory| Name | Type | Description |
|---|---|---|
<none> | string | the version of the pool factory |
setYTokenAllowList
sets the y token allow list| Name | Type | Description |
|---|---|---|
_address | address | of the allow list contract |
getYTokenAllowList
gets the y token allow list| Name | Type | Description |
|---|---|---|
_address | address | of the current allow list contract |
setDeployerAllowList
sets the deployer allow list| Name | Type | Description |
|---|---|---|
_address | address | of the allow list contract |
getDeployerAllowList
gets the deployer allow list| Name | Type | Description |
|---|---|---|
_address | address | of the current allow list contract |
protocolFee
fee percentage for swaps for the protocol| Name | Type | Description |
|---|---|---|
<none> | uint16 | the percentage for swaps in basis points that will go towards the protocol |
protocolFeeCollector
protocol-fee collector address| Name | Type | Description |
|---|---|---|
<none> | address | the current protocolFeeCollector address |
proposedProtocolFeeCollector
proposed protocol-fee collector address| Name | Type | Description |
|---|---|---|
<none> | address | the current proposedProtocolFeeCollector address |
setProtocolFee
This is the function to update the protocol fees per trading.| Name | Type | Description |
|---|---|---|
_protocolFee | uint16 | percentage of the transaction that will get collected as fees (in percentage basis points: 10000 -> 100.00%; 500 -> 5.00%; 1 -> 0.01%) |
proposeProtocolFeeCollector
that only the current fee collector address can call this function function to propose a new protocol fee collector| Name | Type | Description |
|---|---|---|
_protocolFeeCollector | address | the new fee collector |