package
0.99.99-test-ignore
Repository: https://github.com/ava-labs/avalanchego.git
Documentation: pkg.go.dev

# Functions

CreateStaticService ...
NewClient returns a Client for interacting with the P Chain endpoint.
Reward returns the amount of tokens to reward the staker with.

# Constants

List of possible status values [Unknown] Zero value, means the status is not known [Preferred] means the operation is known and preferred, but hasn't been decided yet [Created] means the operation occurred, but isn't managed locally [Validating] means the operation was accepted and is managed locally.
BatchSize is the number of decision transaction to place into a block.
List of possible status values [Unknown] Zero value, means the status is not known [Preferred] means the operation is known and preferred, but hasn't been decided yet [Created] means the operation occurred, but isn't managed locally [Validating] means the operation was accepted and is managed locally.
List of possible status values [Unknown] Zero value, means the status is not known [Preferred] means the operation is known and preferred, but hasn't been decided yet [Created] means the operation occurred, but isn't managed locally [Validating] means the operation was accepted and is managed locally.
List of possible status values [Unknown] Zero value, means the status is not known [Preferred] means the operation is known and preferred, but hasn't been decided yet [Created] means the operation occurred, but isn't managed locally [Validating] means the operation was accepted and is managed locally.
2%.
10%.
PercentDenominator is the denominator used to calculate percentages.
List of possible status values [Unknown] Zero value, means the status is not known [Preferred] means the operation is known and preferred, but hasn't been decided yet [Created] means the operation occurred, but isn't managed locally [Validating] means the operation was accepted and is managed locally.
List of possible status values [Unknown] Zero value, means the status is not known [Preferred] means the operation is known and preferred, but hasn't been decided yet [Created] means the operation occurred, but isn't managed locally [Validating] means the operation was accepted and is managed locally.
SupplyCap is the maximum amount of AVAX that should ever exist.
List of possible status values [Unknown] Zero value, means the status is not known [Preferred] means the operation is known and preferred, but hasn't been decided yet [Created] means the operation occurred, but isn't managed locally [Validating] means the operation was accepted and is managed locally.
List of possible status values [Unknown] Zero value, means the status is not known [Preferred] means the operation is known and preferred, but hasn't been decided yet [Created] means the operation occurred, but isn't managed locally [Validating] means the operation was accepted and is managed locally.

# Variables

Codecs do serialization and deserialization.
Codecs do serialization and deserialization.
ID of the platform VM.

# Structs

Abort being accepted results in the proposal of its parent (which must be a proposal block) being rejected.
AddDelegatorArgs are the arguments to AddDelegator.
AddSubnetValidatorArgs are the arguments to AddSubnetValidator.
AddValidatorArgs are the arguments to AddValidator.
APIBlockchain is the representation of a blockchain used in API calls.
APIChain defines a chain that exists at the network's genesis.
APIOwner is the repr.
APIPrimaryDelegator is the repr.
APIPrimaryValidator is the repr.
APIStaker is the representation of a staker sent via APIs.
APISubnet is a representation of a subnet used in API calls.
APIUTXO is a UTXO on the Platform Chain that exists at the chain's genesis.
AtomicBlock being accepted results in the transaction contained in the block to be accepted and committed to the chain.
BaseTx contains fields common to many transaction types.
BuildGenesisArgs are the arguments used to create the genesis data of the Platform Chain.
BuildGenesisReply is the reply from BuildGenesis.
Client ...
Commit being accepted results in the proposal of its parent (which must be a proposal block) being enacted.
CommonBlock contains the fields common to all blocks of the Platform Chain.
CommonDecisionBlock contains the fields and methods common to all decision blocks.
CreateBlockchainArgs is the arguments for calling CreateBlockchain.
CreateSubnetArgs are the arguments to CreateSubnet.
DoubleDecisionBlock contains the accept for a pair of blocks.
EventHeap is a collection of timedTxs where elements are ordered by either their startTime or their endTime.
ExportAVAXArgs are the arguments to ExportAVAX.
ExportKeyArgs are arguments for ExportKey.
ExportKeyReply is the response for ExportKey.
Factory can create new instances of the Platform Chain.
Genesis represents a genesis state of the platform chain.
GenesisUTXO adds messages to UTXOs.
GetBalanceResponse ...
GetBlockchainsResponse is the response from a call to GetBlockchains.
GetBlockchainStatusArgs is the arguments for calling GetBlockchainStatus [BlockchainID] is the ID of or an alias of the blockchain to get the status of.
GetBlockchainStatusReply is the reply from calling GetBlockchainStatus [Status] is the blockchain's status.
GetCurrentSupplyReply are the results from calling GetCurrentSupply.
GetCurrentValidatorsArgs are the arguments for calling GetCurrentValidators.
GetCurrentValidatorsReply are the results from calling GetCurrentValidators.
GetHeightResponse ...
GetMaxStakeAmountArgs is the request for calling GetMaxStakeAmount.
GetMaxStakeAmountReply is the response from calling GetMaxStakeAmount.
GetMinStakeReply is the response from calling GetMinStake.
GetPendingValidatorsArgs are the arguments for calling GetPendingValidators.
GetPendingValidatorsReply are the results from calling GetPendingValidators.
No description provided by the author
GetStakeReply is the response from calling GetStake.
GetStakingAssetIDArgs are the arguments to GetStakingAssetID.
GetStakingAssetIDResponse is the response from calling GetStakingAssetID.
GetSubnetsArgs are the arguments to GetSubnet.
GetSubnetsResponse is the response from calling GetSubnets.
GetTotalStakeReply is the response from calling GetTotalStake.
GetTxStatusArgs ...
GetTxStatusResponse ...
GetUTXOsArgs are arguments for passing into GetUTXOs.
GetUTXOsResponse defines the GetUTXOs replies returned from the API.
ImportAVAXArgs are the arguments to ImportAVAX.
ImportKeyArgs are arguments for ImportKey.
Index is an address and an associated UTXO.
Mempool implements a simple mempool to convert txs into valid blocks.
ProposalBlock is a proposal to change the chain's state.
SampleValidatorsArgs are the arguments for calling SampleValidators.
SampleValidatorsReply are the results from calling Sample.
Service defines the API calls that can be made to the platform chain.
SingleDecisionBlock contains the accept for standalone decision blocks.
StakeableLockIn ...
StakeableLockOut ...
StandardBlock being accepted results in the transactions contained in the block to be accepted and committed to the chain.
StaticService defines the static API methods exposed by the platform VM.
SubnetValidator validates a subnet on the Avalanche network.
Tx is a signed transaction.
UnsignedAddDelegatorTx is an unsigned addDelegatorTx.
UnsignedAddSubnetValidatorTx is an unsigned addSubnetValidatorTx.
UnsignedAddValidatorTx is an unsigned addValidatorTx.
UnsignedAdvanceTimeTx is a transaction to increase the chain's timestamp.
UnsignedCreateChainTx is an unsigned CreateChainTx.
UnsignedCreateSubnetTx is an unsigned proposal to create a new subnet.
UnsignedExportTx is an unsigned ExportTx.
UnsignedImportTx is an unsigned ImportTx.
UnsignedRewardValidatorTx is a transaction that represents a proposal to remove a validator that is currently validating from the validator set.
ValidatedByArgs is the arguments for calling ValidatedBy.
ValidatedByResponse is the reply from calling ValidatedBy.
ValidatesArgs are the arguments to Validates.
ValidatesResponse is the response from calling Validates.
Validator is a validator.
VM implements the snowman.ChainVM interface.

# Interfaces

Block is the common interface that all staking blocks must have.
Fx is the interface a feature extension must implement to support the Platform Chain.
Owned ...
A Subnet is a set of validators that are validating a set of blockchains Each blockchain is validated by one subnet; one subnet may validate many blockchains.
TimedTx ...
TxError provides the ability for errors to be distinguished as permanent or temporary.
UnsignedAtomicTx is an unsigned operation that can be atomically accepted.
UnsignedDecisionTx is an unsigned operation that can be immediately decided.
UnsignedProposalTx is an unsigned operation that can be proposed.
UnsignedTx is an unsigned transaction.

# Type aliases

Status ...