NativePoolFactory
Deploys Native pools, and manage pool creators
Functions
checkPoolCreator
Check if a given address is allowed to create pool
Parameters:
Name
Type
Description
_poolcreator
address
The address to check
addPoolCreator
Add a new address to be allowed to create pool
Parameters:
Name
Type
Description
_poolcreator
address
The address to add
removePoolCreator
Remove an address's right to create pool
Parameters:
Name
Type
Description
_poolcreator
address
The address to remove
createNewPool
Create a new Native pool with initial parameters, returns the pool created
Must be called by pool creators. registry must be set for factory before creating any pools
Name
Type
Description
treasuryAddress
address
Treasury that holds
Last updated