txn

package
v0.73.0-preview.15 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: AGPL-3.0 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
	// ValidatorHeartbeatCommand ...
	ValidatorHeartbeatCommand Command = 0x56
	// RotateEthereumKeySubmissionCommand ...
	RotateEthereumKeySubmissionCommand Command = 0x57
	// ProtocolUpgradeCommand Command ...
	ProtocolUpgradeCommand Command = 0x58
	// IssueSignatures Command ...
	IssueSignatures Command = 0x59
	// BatchMarketInstructions Command ...
	BatchMarketInstructions Command = 0x5A
	// StopOrdersSubmissionCommand ...
	StopOrdersSubmissionCommand Command = 0x5B
	// StopOrdersCancellationCommand ...
	StopOrdersCancellationCommand Command = 0x5C
	// CreateReferralSetCommand ...
	CreateReferralSetCommand Command = 0x5D
	// UpdateReferralSetCommand ...
	UpdateReferralSetCommand Command = 0x5E
	// ApplyReferralCodeCommand ...
	ApplyReferralCodeCommand Command = 0x5F
)

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