For the complete documentation index, see llms.txt. This page is also available as Markdown.

RigoblockPoolProxyFactory

RigoblockPoolProxyFactory

implementation

address implementation

Returns the implementation address for the pool proxies.

Return Values

Name

Type

Description

onlyRigoblockDao

modifier onlyRigoblockDao()

constructor

constructor(address newImplementation, address registry) public

createPool

function createPool(string name, string symbol, address baseToken) external returns (address newPoolAddress, bytes32 poolId)

Creates a new Rigoblock pool.

Parameters

Name
Type
Description

name

string

String of the name.

symbol

string

String of the symbol.

baseToken

address

Address of the base token.

Return Values

Name
Type
Description

newPoolAddress

address

Address of the new pool.

poolId

bytes32

Id of the new pool.

setImplementation

Allows Rigoblock Dao to update factory pool implementation.

Parameters

Name
Type
Description

newImplementation

address

Address of the new implementation contract.

setRegistry

Allows owner to update the registry.

Parameters

Name
Type
Description

newRegistry

address

Address of the new registry.

parameters

Returns the pool initialization parameters at proxy deploy.

Return Values

Name
Type
Description

[0]

struct IRigoblockPoolProxyFactory.Parameters

Tuple of the pool parameters.

getRegistry

Returns the address of the pool registry.

Return Values

Name
Type
Description

[0]

address

Address of the registry.

_createPool

Creates a pool and routes to eventful.

Parameters

Name
Type
Description

name

string

String of the name.

symbol

string

String of the symbol.

baseToken

address

Address of the base token.

Last updated