pool registry docs
PoolRegistry
authority
Returns the address of the Rigoblock authority contract.
Return Values
rigoblockDao
Returns the address of the Rigoblock Dao.
Return Values
_mapIdByAddress
_poolMetaByAddress
onlyWhitelistedFactory
onlyPoolOperator
onlyRigoblockDao
whenAddressFree
whenPoolRegistered
constructor
register
Allows a factory which is an authority to register a pool.
Parameters
pool
address
Address of the pool.
name
string
String name of the pool (31 characters/bytes or less).
symbol
string
String symbol of the pool (3 to 5 characters/bytes).
poolId
bytes32
Bytes32 of the pool id.
setAuthority
Allows Rigoblock governance to update authority.
Parameters
newAuthority
address
setMeta
Allows pool owner to set metadata for a pool.
Parameters
pool
address
Address of the pool.
key
bytes32
Bytes32 of the key.
value
bytes32
Bytes32 of the value.
setRigoblockDao
Allows Rigoblock Dao to update its address.
Creates internal record.
Parameters
newRigoblockDao
address
Address of the Rigoblock Dao.
getPoolIdFromAddress
Returns the id of a pool from its address.
Parameters
pool
address
Address of the pool.
Return Values
poolId
bytes32
bytes32 id of the pool.
getMeta
Returns metadata for a given pool.
Parameters
pool
address
Address of the pool.
key
bytes32
Bytes32 key.
Return Values
poolMeta
bytes32
Meta by key.
_assertValidNameAndSymbol
_isContract
Last updated