package
0.0.0-20200412164013-30b2b69674b6
Repository: https://github.com/the729/go-libra.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AccountReceivedEventPath returns the raw path to the coin received events, which is "0x01+hash(0x0.LibraAccount.T)"/received_events_count/.
AccountResourcePath returns the raw path to the Account resource, which is 0x01+hash(0x0.LibraAccount.T).
AccountResourceTag returns the path tag to the Account resource, which is 0x01+hash(0x0.LibraAccount.T).
AccountSentEventPath returns the raw path to the coin sent events, which is "0x01+hash(0x0.LibraAccount.T)"/sent_events_count/.
BalanceResourcePath returns the raw path to the Balance resource, which is 0x01+hash(0x0.LibraAccount.Balance).
BalanceResourceTag returns the path tag to the Balance resource, which is 0x01+hash(0x0.LibraAccount.Balance).
InferPathTagName returns the name of known path root tags, by tag hash and type.
No description provided by the author
ResourcePath builds a path based on address, module, name and access pathes.

# Constants

No description provided by the author
No description provided by the author
We tried to create an account at an address where an account already exists.
AccountAddressLength is the length of an account address, which is 16 bytes.
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
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
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
The sender is trying to publish a module named `M`, but the sender's account already contains a module with this name.
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
We accessed an account that is evicted.
Length of program field in raw transaction exceeded max length.
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
Gas unit price submitted with the transaction is above the maximum gas price set in the VM.
Gas unit price submitted with transaction is below minimum gas price set in the VM.
No description provided by the author
No description provided by the author
No description provided by the author
Insufficient balance to pay minimum transaction fee.
No description provided by the author
No description provided by the author
No description provided by the author
Bad account authentication key.
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
The transaction has a bad signature.
No description provided by the author
This write set transaction cannot be applied to the current state.
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
Max gas units submitted with transaction not enough to cover the intrinsic cost of the transaction.
Max gas units submitted with transaction exceeds max gas units bound in VM.
No description provided by the author
No description provided by the author
No description provided by the author
The self address of a module the transaction is publishing is not the sender address.
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
The module does not have any module handles.
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
No description provided by the author
No description provided by the author
No description provided by the author
This write set transaction was rejected because it did not meet the requirements for one.
No description provided by the author
No description provided by the author
We tried to create a resource under an account where that resource already exists.
We tried to access a resource that does not exist under the account.
No description provided by the author
No description provided by the author
No description provided by the author
The sending account does not exist.
Sequence number is too new.
Sequence number is too old.
No description provided by the author
No description provided by the author
No description provided by the author
The transaction has expired.
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
Errors that can arise from binary decoding (deserialization) Deserializtion Errors: 3000-3999.
These are errors that the VM might raise if a violation of internal invariants takes place.
Transaction is trying to publish a new module.
No description provided by the author
Errors that can arise at runtime Runtime Errors: 4000-4999.
This script is not on our whitelist of script.
No description provided by the author
No description provided by the author
A reserved status to represent an unknown vm status.
No description provided by the author
The status of a transaction as determined by the prologue.
When a code module/script is published it is verified.
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

# Variables

ErrNilInput is error when nil input is not expected.
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

AccessPath is access path to an event.
AccountBlob is the blob of an account.
AccountResource is the Libra coin resource of an account.
AccountState is an account state.
AccountStateProof is a chain of proof that a certain account state is included in the ledger, or the account does not exist.
AccountStateWithProof is an account state with proof.
BalanceResource is LBR balance resource.
No description provided by the author
No description provided by the author
ContractEventV0 is a output event of transaction.
DecodedPath is a decoded path.
No description provided by the author
No description provided by the author
EventProof is a chain of proof that a event is included in the ledger.
EventWithProof is an event with proof.
LedgerInfo is a information struct of a version (height) of the ledger.
No description provided by the author
LedgerInfoWithSignaturesV0 is a ledger info with signature from trusted validators.
ProvenAccountBlob is and account blob proven to be included in the ledger.
ProvenAccountState is an account state proven to be equal to the state of the ledger.
ProvenEvent is an event proven to be included in the ledger.
ProvenLedgerInfo is a ledger info proven to be history state of the ledger.
ProvenTransaction is a transaction which has been proven to be included in the ledger.
ProvenTransactionList is a consecutive list of transactions which has been proven to be included in the ledger.
No description provided by the author
RawTag is a tag with raw hash values.
RawTransaction is a raw user transaction.
No description provided by the author
SignedTransaction is a signed user transaction, which consists of a raw transaction and the signature and public key.
StructTag is a tag to form a resource path.
SubmittedTransaction is an abstract transaction (user txn, writeset, or block metadata) with execution outputs.
Transaction is an abstraction of user transaction and system transaction such as WriteSet and BlockMetaData.
TransactionInfo is a information struct of a submitted transaction.
TransactionListWithProof is a consecutive list of transactions with a Merkle Tree accumulator range proof to prove inclusion of all transactions in the list.
TransactionWithProof is a submitted transaction with a Merkle Tree accumulator proof to prove its inclusion in a version of the ledger.
TxnPayloadScript is variant of TransactionPayload.
TxnPayloadWriteSet is variant of TransactionPayload.
No description provided by the author
ValidatorChangeProof is a vector of LedgerInfo with contiguous increasing epoch numbers to prove a sequence of validator changes from the first LedgerInfo's epoch.
ValidatorInfo is the set of public keys and info of a validator.
No description provided by the author
ValidatorVerifier is a validator set that can verify ledger infos.
Waypoint keeps information about the LedgerInfo on a given reconfiguration.
WriteOpDeletion is a variant of WriteOp.
WriteOpWithPath is write op with access path.

# Interfaces

AccessPathTag is an interface that can be used to construct the root of an access path.
LedgerInfoVerifier can verify a LedgerInfoWithSignatures.
TransactionArgument is the enum type of TransactionArgument.
TransactionPayload is the enum type of transaction payload.
No description provided by the author
No description provided by the author
VSScheme is the enum type of ValidatorSet Scheme, currently only ED25519.
WriteOp is an enum type of either value or deletion.

# Type aliases

AccountAddress is an account address.
No description provided by the author
EventList is a list of events.
HashValue is equivalent to sha3libra.HashValue, which is []byte.
RawAccountBlob is the raw blob of an account.
TxnArgAddress is transaction argument of account address type.
TxnArgBool is boolean transaction argument.
TxnArgBytes is byte array transaction argument.
TxnArgU64 is uint64 transaction argument.
TxnPayloadModule is variant of TransactionPayload.
TypeTagAddress is account address type.
TypeTagBool is bool.
TypeTagStructTag is StructTag.
TypeTagTypeTags is a vector of TypeTags.
TypeTagU128 is [16]byte.
TypeTagU64 is uint64.
TypeTagU8 is uint8.
No description provided by the author
WriteOpValue is a variant of WriteOp.
No description provided by the author