IAnchorFactory
Last updated
Last updated
Stores the descriptive information of an anchor. It can be fetched via fetchInfo
.
Name | Type | Description |
---|---|---|
Emitted when a new anchor deployed.
Returns the messenger address on the local blockchain. Any anchor deployed through this AnchorFactory will be initially connected to this messenger.
Returns the total number of anchors which have been deployed.
Returns the unique identification of the input anchor. Each identification is unique on the local blockchain and can be passed as a key to fetch the description information of the corresponding anchor.
Returns the description information of the anchor with the input identification.
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
version
uint8
The version of the anchor contract
anchor
address
The address of the anchor
committee
address
The committee of the anchor
deployer
address
The initial deployer of the anchor
deployer
address
The deployer of the anchor
anchorId
uint32
The unique identification of the anchor
anchor
address
The address of the anchor
committee
address
The committee of the anchor
address
The address of the messenger
uint32
The total number of anchors which have been deployed via the AnchorFactory
anchor
address
The address for which the unique identification will be fetched
uint32
The unique identification of the input anchor
id
uint32
The unique identification for which the description information will be fetched