Primitive Operators

From Nexus Wiki
Jump to navigation Jump to search

Find below the primitive operators:

Used for pattern matching

WILDCARD = 0x00,

Register Operations

WRITE = 0x01,
CREATE = 0x02,
AUTHORIZE = 0x03, //to be determined how this will work
TRANSFER = 0x04,
CLAIM = 0x05,
APPEND = 0x06,

Financial Operations

DEBIT = 0x10,
CREDIT = 0x11,
COINBASE = 0x12,
GENESIS = 0x13, //for proof of stake
TRUST = 0x14,
FEE = 0x17, //to pay fees to network

Consensus Operations

ACK = 0x30, //a vote to credit trust towards a proposal
NACK = 0x31, //a vote to withdrawl trust from a proposal

Conditional Operations

VALIDATE = 0x40,
CONDITION = 0x41,

Legacy Operations

LEGACY = 0x50,
MIGRATE = 0x51,

Reserved

//0x31 = 0x6f RESERVED
//final reserved ENUM
RESERVED = 0xff