Documentation ¶
Index ¶
Constants ¶
View Source
const ( OperationPurposeUnknown = 0 OperationPurposeGroupEvent = 1 OperationPurposeAddProcess = 11 OperationPurposeCreditProcess = 12 )
View Source
const (
EventExtraMaxSize = 256
)
Variables ¶
This section is empty.
Functions ¶
func JSONMarshalPanic ¶
func JSONMarshalPanic(val interface{}) []byte
func JSONUnmarshal ¶
Types ¶
type Event ¶
type Event struct { Process string Asset string Members []string // need to do user mask per process Threshold int Amount common.Integer Extra []byte Timestamp uint64 Nonce uint64 Signature []byte }
MTG => VM process || nonce || asset || amount || extra || timestamp || members || threshold || sig
VM => MTG process || nonce || asset || amount || extra || timestamp || members || threshold
func DecodeEvent ¶
Click to show internal directories.
Click to hide internal directories.