package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetNetwork fetches the networking identifier for the given shard.
No description provided by the author
NewError create a new error with a given detail structure.

# Constants

Blockchain ..
CollectRewardsOperation is an operation that only affects the native currency.
ContractCreationOperation is an operation that only affects the native currency.
CreateValidatorOperation is an operation that only affects the native currency.
CurveType ..
DelegateOperation is an operation that only affects the native currency.
EditValidatorOperation is an operation that only affects the native currency.
ExpendGasOperation is an operation that only affects the native currency.
GenesisFundsOperation is a side effect operation for genesis block only.
NativeCrossShardTransferOperation is an operation that only affects the native currency.
NativePrecision in the number of decimal places.
NativeSymbol ..
NativeTransferOperation is an operation that only affects the native currency.
PreStakingBlockRewardOperation is a side effect operation for pre-staking era only.
TODO (dm): set variable via build flags.
SignatureType ..
Sync status enum.
Sync status enum.
Sync status enum.
UndelegateOperation is an operation that only affects the native currency.
UndelegationPayoutOperation is a side effect operation for committee election block only.

# Variables

BlockNotFoundError ..
CatchAllError ..
ContractFailureOperationStatus for tx operations who's amount does not affect the account due to a contract call failure (but still incurs gas).
ErrCallExecute ..
ErrCallMethodInvalid ..
ErrCallParametersInvalid ..
ErrGetStakingInfo ..
FailureOperationStatus ..
IdleTimeout ..
InvalidNetworkError ..
InvalidStakingConstructionError ..
InvalidTransactionConstructionError ..
MutuallyExclusiveOperations for invariant: A transaction can only contain 1 type of 'native' operation.
NativeCurrency ..
NativeCurrencyHash for quick equivalent checks.
PlainOperationTypes ..
ReadTimeout ..
ReceiptNotFoundError ..
SanityCheckError ..
StakingOperationTypes ..
StakingTransactionSubmissionError ..
SuccessOperationStatus for tx operations who's amount affects the account.
TransactionNotFoundError ..
TransactionSubmissionError ..
UnsupportedCurveTypeError ..
WriteTimeout ..

# Structs

CrossShardTransactionOperationMetadata ..
No description provided by the author
SubNetworkMetadata for the sub network identifier of a shard.

# Type aliases

CollectRewardsMetadata ..
CreateValidatorOperationMetadata ..
DelegateOperationMetadata ..
EditValidatorOperationMetadata ..
SyncStatus ..
UndelegateOperationMetadata ..