IRigoblockPoolProxyFactory
Overview
License: Apache-2.0-or-later
interface IRigoblockPoolProxyFactoryAuthor: Gabriele Rigo - gab@rigoblock.com
Structs info
Parameters
struct Parameters {
string name;
bytes8 symbol;
address owner;
address baseToken;
}Pool initialization parameters.
params: baseToken Address of the base token.
Events info
PoolCreated
Emitted when a new pool is created.
Parameters:
poolAddress
address
Address of the new pool.
Upgraded
Emitted when a new implementation is set by the Rigoblock Dao.
Parameters:
implementation
address
Address of the new implementation.
RegistryUpgraded
Emitted when registry address is upgraded by the Rigoblock Dao.
Parameters:
registry
address
Address of the new registry.
Functions info
implementation (0x5c60da1b)
Returns the implementation address for the pool proxies.
Return values:
[0]
address
Address of the implementation.
createPool (0x1d7d13cc)
Creates a new Rigoblock pool.
Parameters:
name
string
String of the name.
symbol
string
String of the symbol.
baseToken
address
Address of the base token.
Return values:
newPoolAddress
address
Address of the new pool.
poolId
bytes32
Id of the new pool.
setImplementation (0xd784d426)
Allows Rigoblock Dao to update factory pool implementation.
Parameters:
newImplementation
address
Address of the new implementation contract.
setRegistry (0xa91ee0dc)
Allows owner to update the registry.
Parameters:
newRegistry
address
Address of the new registry.
getRegistry (0x5ab1bd53)
Returns the address of the pool registry.
Return values:
[0]
address
Address of the registry.
parameters (0x89035730)
Returns the pool initialization parameters at proxy deploy.
Return values:
[0]
struct IRigoblockPoolProxyFactory.Parameters
Tuple of the pool parameters.
Last updated