# Functions
DefaultGenesisState returns default genesis state (validation is done on module init).
GetEventSourceAttribute returns SDK event attribute for VM event source (script / module) serialized to string.
GetProposalQueueKey returns gov proposal queue storage key.
GetStatusCodesFromVMStatus extracts majorStatus, subStatus and abortLocation from vm_grpc.VMStatus panic if error exist but error object == nil.
GetStrCode returns majorCode string representation.
GetVMTypeByString converts {typeTag} gRPC enum string representation to gRPC VMTypeTag.
NewContractEvents creates Events on successful / failed VM execution.
No description provided by the author
No description provided by the author
NewMoveEvent converts VM event to SDK event.
NewMsgDeployModule creates a new MsgDeployModule message.
NewMsgExecuteScript creates a new MsgExecuteScript message.
NewPlan creates a Plan object.
NewScriptArg creates a new ScriptArg object.
NewStdlibUpdateProposal creates a StdlibUpdateProposal object.
No description provided by the author
NewTxVMStatus creates a new TxVMStatus object.
NewVMStatus creates a new VMStatus error.
NewVMStatusFromABCILogs converts SDK TxResponse log events to TxVMStatus.
PrintVMStackTrace prints VM stack trace if contract is not executed successfully.
RegisterCodec registers module specific messages.
SplitProposalQueueKey returns gov proposal queue ID for the key.
StringifyEventType returns vm_grpc.LcsTag Move serialization.
StringifyEventTypePanic wraps StringifyEventType and panic on error.
StringifySenderAddress converts VM address to string (0x1 for stdlib and wallet1..
StringifyVMEvent converts vm_grpc.VMEvent to string representation.
StringifyVMExecStatus converts vm_grpc.ContractStatus to string representation.
StringifyVMLCSTag converts vm_grpc.LcsTag to string representation (recursive).
StringifyVMLCSTagPanic wraps StringifyVMLCSTag and panics on error.
StringifyVMPath converts vm_grpc.VMAccessPath to HEX string.
StringifyVMTypeTag convert vm_grpc.VMTypeTag to string representation.
StringifyVMTypeTagPanic wraps StringifyVMTypeTag and panics on error.
StringifyVMWriteOp converts vm_grpc.VmWriteOp to string representation.
StringifyVMWriteSet converts vm_grpc.VMValue (writeSet) to string representation.
# Constants
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
defines number of nesting levels that do not charge gas.
initial gas for processing event type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DS start/stop/setContext.
Init genesis, gov operations.
Read from VM storage.
Write to VM storage.
Read POA data.
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
gas unit price for VM execution.
No description provided by the author
# Variables
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
error breaks consensus.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
is storage has that key, InitGenesis was done.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
DumbGasMeter is a gas meter that doesn't count amount of gas during usage.
GenesisState is module's genesis (initial state).
Genesis writeSet operation.
Client request for LCS view writeSet data.
Client message to deploy a module (contract) to VM.
Client message to deploy a script with args to VM.
PathData is used to store VM paths in the storage (as JSON marshal used, we have to wrap it to struct).
Plan is an object used for proposal scheduling.
ScriptArg defines VM script argument.
StdlibUpdateProposal is a gov proposal used to update DVM stdlib code.
TestProposal is only used for unit tests.
TxVMStatus is a response containing TX hash with VM errors.
Client request for writeSet data.
Client response for writeSet data.
No description provided by the author
VMStatus is a VM error response.
# Interfaces
PlannedProposal is interface for all VM module proposals.
# Type aliases
Contract defines Move contract data (bytes).
No description provided by the author
No description provided by the author
Slice of VMStatus objects (VM error responses).