# Packages
This file provides implementation for the governance SC, the ChainNode management functions.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetChainInfo returns global variables of the chain.
No description provided by the author
GetGasFeePolicy returns gas policy from the state.
No description provided by the author
No description provided by the author
No description provided by the author
GetRotationAddress tries to read the state of 'governance' and extract rotation address If succeeds, it means this block is fake.
MustGetChainInfo return global variables of the chain.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
contract constants.
No description provided by the author
No description provided by the author
No description provided by the author
contract constants.
DefaultMinBaseTokensOnCommonAccount can't harvest the minimum.
request parameters.
request parameters.
access nodes: addCandidateNode.
request parameters.
request parameters.
state pruning.
chain info.
chain owner.
access nodes: changeAccessNodes.
request parameters.
gas.
request parameters.
request parameters.
request parameters.
public chain metadata (provided by the webapi, located by the public url).
L1 metadata (stored and provided in the tangle).
set min SD.
set payout AgentID.
state controller.
covered in: TestAccessNodes.
covered in: TestAccessNodes.
covered in: TestGovernance1.
covered in: TestMetadata.
covered in: TestMetadata.
covered in: TestMaintenanceMode.
covered in: TestMetadata.
covered in: TestMetadata.
covered in: TestMetadata.
covered in: TestMetadata.
covered in: TestMetadata.
covered in: TestMetadata.
covered in: TestL1Metadata.
should never persist in the state.
# Variables
No description provided by the author
No description provided by the author
access nodes.
No description provided by the author
chain owner (L1 entity that is the "owner of the chain").
No description provided by the author
No description provided by the author
No description provided by the author
state controller (entity that owns the state output via AliasAddress).
evm fees.
gas.
No description provided by the author
public chain metadata.
No description provided by the author
No description provided by the author
maintenance.
No description provided by the author
No description provided by the author
chain info.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AccessNodeInfo conveys all the information that is maintained on the governance SC about a specific node.
No description provided by the author
ContractFeesRecord is a structure which contains the fee information for a contract.
GetChainNodesRequest.
GetChainNodesResponse.
No description provided by the author
# Type aliases
No description provided by the author
NodeOwnershipCertificate is a proof that a specified address is an owner of the specified node.