AnchorFactory
Functions
deployAnchor
function deployAnchor(
string memory name,
address committee
) external payable returns (address anchor)
Deploys an anchor for a given name and committee.
Params
Name
Type
Description
name
string
The name of the anchor
committee
address
The committee which is created in BOOLNetwork
Return Values
Name
Type
Description
anchor
address
The address of the newly deployed anchor
NOTE that although deployAnchor
is designed as an externally callable function, it should be triggered in BOOLScan to synchronize the connection between a committee and an anchor.
Last updated