txn

package
v0.66.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command byte

Command ...

const (
	// SubmitOrderCommand ...
	SubmitOrderCommand Command = 0x40
	// CancelOrderCommand ...
	CancelOrderCommand Command = 0x41
	// AmendOrderCommand ...
	AmendOrderCommand Command = 0x42
	// WithdrawCommand ...
	WithdrawCommand Command = 0x44
	// ProposeCommand ...
	ProposeCommand Command = 0x45
	// VoteCommand ...
	VoteCommand Command = 0x46
	// AnnounceNodeCommand ...
	AnnounceNodeCommand Command = 0x47
	// NodeVoteCommand ...
	NodeVoteCommand Command = 0x48
	// NodeSignatureCommand ...
	NodeSignatureCommand Command = 0x49
	// LiquidityProvisionCommand ...
	LiquidityProvisionCommand Command = 0x4A
	// CancelLiquidityProvisionCommand ...
	CancelLiquidityProvisionCommand Command = 0x52
	// AmendLiquidityProvisionCommand ...
	AmendLiquidityProvisionCommand Command = 0x53
	// ChainEventCommand ...
	ChainEventCommand Command = 0x4B
	// SubmitOracleDataCommand ...
	SubmitOracleDataCommand Command = 0x4C
	// DelegateCommand ...
	DelegateCommand Command = 0x4D
	// UndelegateCommand ...
	UndelegateCommand Command = 0x4E
	// RotateKeySubmissionCommand ...
	RotateKeySubmissionCommand Command = 0x50
	// StateVariableProposalCommand ...
	StateVariableProposalCommand Command = 0x51
	// TransferFundsCommand ...
	TransferFundsCommand Command = 0x54
	// CancelTransferFundsCommand ...
	CancelTransferFundsCommand Command = 0x55
	// ValidatorHeartbeat ...
	ValidatorHeartbeatCommand Command = 0x56
	// RotateEthereumKeySubmissionCommand ...
	RotateEthereumKeySubmissionCommand Command = 0x57
	// ProtocolUpgradeCommand Command ...
	ProtocolUpgradeCommand Command = 0x58
	// ProtocolUpgradeCommand Command ...
	IssueSignatures Command = 0x59
	// ProtocolUpgradeCommand Command ...
	BatchMarketInstructions Command = 0x5A
)

Custom blockchain command encoding, lighter-weight than proto.

func (Command) IsValidatorCommand

func (cmd Command) IsValidatorCommand() bool

func (Command) String

func (cmd Command) String() string

String return the.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL