v1

package
v0.0.0-...-212fe83 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddressCategory_name = map[int32]string{
		0: "ADDRESS_CATEGORY_UNSPECIFIED",
		1: "ADDRESS_CATEGORY_USER_ADDRESS",
		2: "ADDRESS_CATEGORY_SC_ADDRESS",
	}
	AddressCategory_value = map[string]int32{
		"ADDRESS_CATEGORY_UNSPECIFIED":  0,
		"ADDRESS_CATEGORY_USER_ADDRESS": 1,
		"ADDRESS_CATEGORY_SC_ADDRESS":   2,
	}
)

Enum value maps for AddressCategory.

View Source
var (
	BlockStatus_name = map[int32]string{
		0: "BLOCK_STATUS_UNSPECIFIED",
		1: "BLOCK_STATUS_NON_FINAL_BLOCKCLIQUE",
		2: "BLOCK_STATUS_FINAL",
		3: "BLOCK_STATUS_NON_FINAL_ALTERNATE_CLIQUE",
		4: "BLOCK_STATUS_DISCARDED",
	}
	BlockStatus_value = map[string]int32{
		"BLOCK_STATUS_UNSPECIFIED":                0,
		"BLOCK_STATUS_NON_FINAL_BLOCKCLIQUE":      1,
		"BLOCK_STATUS_FINAL":                      2,
		"BLOCK_STATUS_NON_FINAL_ALTERNATE_CLIQUE": 3,
		"BLOCK_STATUS_DISCARDED":                  4,
	}
)

Enum value maps for BlockStatus.

View Source
var (
	ComparisonResult_name = map[int32]string{
		0: "COMPARISON_RESULT_UNSPECIFIED",
		1: "COMPARISON_RESULT_LOWER",
		2: "COMPARISON_RESULT_EQUAL",
		3: "COMPARISON_RESULT_GREATER",
	}
	ComparisonResult_value = map[string]int32{
		"COMPARISON_RESULT_UNSPECIFIED": 0,
		"COMPARISON_RESULT_LOWER":       1,
		"COMPARISON_RESULT_EQUAL":       2,
		"COMPARISON_RESULT_GREATER":     3,
	}
)

Enum value maps for ComparisonResult.

View Source
var (
	ScExecutionEventStatus_name = map[int32]string{
		0: "SC_EXECUTION_EVENT_STATUS_UNSPECIFIED",
		1: "SC_EXECUTION_EVENT_STATUS_FINAL",
		2: "SC_EXECUTION_EVENT_STATUS_READ_ONLY",
		3: "SC_EXECUTION_EVENT_STATUS_CANDIDATE",
	}
	ScExecutionEventStatus_value = map[string]int32{
		"SC_EXECUTION_EVENT_STATUS_UNSPECIFIED": 0,
		"SC_EXECUTION_EVENT_STATUS_FINAL":       1,
		"SC_EXECUTION_EVENT_STATUS_READ_ONLY":   2,
		"SC_EXECUTION_EVENT_STATUS_CANDIDATE":   3,
	}
)

Enum value maps for ScExecutionEventStatus.

View Source
var (
	ExecutionOutputStatus_name = map[int32]string{
		0: "EXECUTION_OUTPUT_STATUS_UNSPECIFIED",
		1: "EXECUTION_OUTPUT_STATUS_CANDIDATE",
		2: "EXECUTION_OUTPUT_STATUS_FINAL",
		3: "EXECUTION_OUTPUT_STATUS_UNKNOWN",
	}
	ExecutionOutputStatus_value = map[string]int32{
		"EXECUTION_OUTPUT_STATUS_UNSPECIFIED": 0,
		"EXECUTION_OUTPUT_STATUS_CANDIDATE":   1,
		"EXECUTION_OUTPUT_STATUS_FINAL":       2,
		"EXECUTION_OUTPUT_STATUS_UNKNOWN":     3,
	}
)

Enum value maps for ExecutionOutputStatus.

View Source
var (
	OperationExecutionStatus_name = map[int32]string{
		0: "OPERATION_EXECUTION_STATUS_UNSPECIFIED",
		1: "OPERATION_EXECUTION_STATUS_SUCCESS",
		2: "OPERATION_EXECUTION_STATUS_FAILED",
	}
	OperationExecutionStatus_value = map[string]int32{
		"OPERATION_EXECUTION_STATUS_UNSPECIFIED": 0,
		"OPERATION_EXECUTION_STATUS_SUCCESS":     1,
		"OPERATION_EXECUTION_STATUS_FAILED":      2,
	}
)

Enum value maps for OperationExecutionStatus.

View Source
var (
	AsyncPoolChangeType_name = map[int32]string{
		0: "ASYNC_POOL_CHANGE_TYPE_UNSPECIFIED",
		1: "ASYNC_POOL_CHANGE_TYPE_SET",
		2: "ASYNC_POOL_CHANGE_TYPE_UPDATE",
		3: "ASYNC_POOL_CHANGE_TYPE_DELETE",
	}
	AsyncPoolChangeType_value = map[string]int32{
		"ASYNC_POOL_CHANGE_TYPE_UNSPECIFIED": 0,
		"ASYNC_POOL_CHANGE_TYPE_SET":         1,
		"ASYNC_POOL_CHANGE_TYPE_UPDATE":      2,
		"ASYNC_POOL_CHANGE_TYPE_DELETE":      3,
	}
)

Enum value maps for AsyncPoolChangeType.

View Source
var (
	LedgerChangeType_name = map[int32]string{
		0: "LEDGER_CHANGE_TYPE_UNSPECIFIED",
		1: "LEDGER_CHANGE_TYPE_SET",
		2: "LEDGER_CHANGE_TYPE_UPDATE",
		3: "LEDGER_CHANGE_TYPE_DELETE",
	}
	LedgerChangeType_value = map[string]int32{
		"LEDGER_CHANGE_TYPE_UNSPECIFIED": 0,
		"LEDGER_CHANGE_TYPE_SET":         1,
		"LEDGER_CHANGE_TYPE_UPDATE":      2,
		"LEDGER_CHANGE_TYPE_DELETE":      3,
	}
)

Enum value maps for LedgerChangeType.

View Source
var (
	ConnectionType_name = map[int32]string{
		0: "CONNECTION_TYPE_UNSPECIFIED",
		1: "CONNECTION_TYPE_INCOMING",
		2: "CONNECTION_TYPE_OUTGOING",
	}
	ConnectionType_value = map[string]int32{
		"CONNECTION_TYPE_UNSPECIFIED": 0,
		"CONNECTION_TYPE_INCOMING":    1,
		"CONNECTION_TYPE_OUTGOING":    2,
	}
)

Enum value maps for ConnectionType.

View Source
var (
	OpType_name = map[int32]string{
		0: "OP_TYPE_UNSPECIFIED",
		1: "OP_TYPE_TRANSACTION",
		2: "OP_TYPE_ROLL_BUY",
		3: "OP_TYPE_ROLL_SELL",
		4: "OP_TYPE_EXECUTE_SC",
		5: "OP_TYPE_CALL_SC",
	}
	OpType_value = map[string]int32{
		"OP_TYPE_UNSPECIFIED": 0,
		"OP_TYPE_TRANSACTION": 1,
		"OP_TYPE_ROLL_BUY":    2,
		"OP_TYPE_ROLL_SELL":   3,
		"OP_TYPE_EXECUTE_SC":  4,
		"OP_TYPE_CALL_SC":     5,
	}
)

Enum value maps for OpType.

View Source
var (
	ComponentStateId_name = map[int32]string{
		0: "COMPONENT_STATE_ID_UNSPECIFIED",
		1: "COMPONENT_STATE_ID_ERROR",
		2: "COMPONENT_STATE_ID_DEFINED",
		3: "COMPONENT_STATE_ID_STARTED",
		4: "COMPONENT_STATE_ID_LOCKEDIN",
		5: "COMPONENT_STATE_ID_ACTIVE",
		6: "COMPONENT_STATE_ID_FAILED",
	}
	ComponentStateId_value = map[string]int32{
		"COMPONENT_STATE_ID_UNSPECIFIED": 0,
		"COMPONENT_STATE_ID_ERROR":       1,
		"COMPONENT_STATE_ID_DEFINED":     2,
		"COMPONENT_STATE_ID_STARTED":     3,
		"COMPONENT_STATE_ID_LOCKEDIN":    4,
		"COMPONENT_STATE_ID_ACTIVE":      5,
		"COMPONENT_STATE_ID_FAILED":      6,
	}
)

Enum value maps for ComponentStateId.

View Source
var (
	MipComponent_name = map[int32]string{
		0: "MIP_COMPONENT_UNSPECIFIED",
		1: "MIP_COMPONENT_ADDRESS",
		2: "MIP_COMPONENT_KEYPAIR",
	}
	MipComponent_value = map[string]int32{
		"MIP_COMPONENT_UNSPECIFIED": 0,
		"MIP_COMPONENT_ADDRESS":     1,
		"MIP_COMPONENT_KEYPAIR":     2,
	}
)

Enum value maps for MipComponent.

View Source
var File_massa_model_v1_address_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_amount_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_block_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_commons_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_datastore_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_denunciation_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_draw_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_endorsement_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_execution_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_node_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_operation_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_slot_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_staker_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_stats_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_time_proto protoreflect.FileDescriptor
View Source
var File_massa_model_v1_versioning_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddressCategory

type AddressCategory int32

Address category discriminant

const (
	// Unspecified address category
	AddressCategory_ADDRESS_CATEGORY_UNSPECIFIED AddressCategory = 0
	// User address
	AddressCategory_ADDRESS_CATEGORY_USER_ADDRESS AddressCategory = 1
	// Smart contract address
	AddressCategory_ADDRESS_CATEGORY_SC_ADDRESS AddressCategory = 2
)

func (AddressCategory) Descriptor

func (AddressCategory) Enum

func (x AddressCategory) Enum() *AddressCategory

func (AddressCategory) EnumDescriptor deprecated

func (AddressCategory) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddressCategory.Descriptor instead.

func (AddressCategory) Number

func (AddressCategory) String

func (x AddressCategory) String() string

func (AddressCategory) Type

type AddressKeyEntry

type AddressKeyEntry struct {

	// Associated address of the entry
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Datastore key
	Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

AddressKeyEntry

func (*AddressKeyEntry) Descriptor deprecated

func (*AddressKeyEntry) Descriptor() ([]byte, []int)

Deprecated: Use AddressKeyEntry.ProtoReflect.Descriptor instead.

func (*AddressKeyEntry) GetAddress

func (x *AddressKeyEntry) GetAddress() string

func (*AddressKeyEntry) GetKey

func (x *AddressKeyEntry) GetKey() []byte

func (*AddressKeyEntry) ProtoMessage

func (*AddressKeyEntry) ProtoMessage()

func (*AddressKeyEntry) ProtoReflect

func (x *AddressKeyEntry) ProtoReflect() protoreflect.Message

func (*AddressKeyEntry) Reset

func (x *AddressKeyEntry) Reset()

func (*AddressKeyEntry) String

func (x *AddressKeyEntry) String() string

type AddressKeysEntries

type AddressKeysEntries struct {

	// List of address- key entries
	AddressKeyEntries []*AddressKeyEntry `protobuf:"bytes,1,rep,name=address_key_entries,json=addressKeyEntries,proto3" json:"address_key_entries,omitempty"`
	// contains filtered or unexported fields
}

AddressKeys holds a list of addresses - keys

func (*AddressKeysEntries) Descriptor deprecated

func (*AddressKeysEntries) Descriptor() ([]byte, []int)

Deprecated: Use AddressKeysEntries.ProtoReflect.Descriptor instead.

func (*AddressKeysEntries) GetAddressKeyEntries

func (x *AddressKeysEntries) GetAddressKeyEntries() []*AddressKeyEntry

func (*AddressKeysEntries) ProtoMessage

func (*AddressKeysEntries) ProtoMessage()

func (*AddressKeysEntries) ProtoReflect

func (x *AddressKeysEntries) ProtoReflect() protoreflect.Message

func (*AddressKeysEntries) Reset

func (x *AddressKeysEntries) Reset()

func (*AddressKeysEntries) String

func (x *AddressKeysEntries) String() string

type Addresses

type Addresses struct {

	// Addresses
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

Addresses holds addresses

func (*Addresses) Descriptor deprecated

func (*Addresses) Descriptor() ([]byte, []int)

Deprecated: Use Addresses.ProtoReflect.Descriptor instead.

func (*Addresses) GetAddresses

func (x *Addresses) GetAddresses() []string

func (*Addresses) ProtoMessage

func (*Addresses) ProtoMessage()

func (*Addresses) ProtoReflect

func (x *Addresses) ProtoReflect() protoreflect.Message

func (*Addresses) Reset

func (x *Addresses) Reset()

func (*Addresses) String

func (x *Addresses) String() string

type ArrayOfBytesWrapper

type ArrayOfBytesWrapper struct {

	// Repeated bytes
	Items [][]byte `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Array of bytes wrapper

func (*ArrayOfBytesWrapper) Descriptor deprecated

func (*ArrayOfBytesWrapper) Descriptor() ([]byte, []int)

Deprecated: Use ArrayOfBytesWrapper.ProtoReflect.Descriptor instead.

func (*ArrayOfBytesWrapper) GetItems

func (x *ArrayOfBytesWrapper) GetItems() [][]byte

func (*ArrayOfBytesWrapper) ProtoMessage

func (*ArrayOfBytesWrapper) ProtoMessage()

func (*ArrayOfBytesWrapper) ProtoReflect

func (x *ArrayOfBytesWrapper) ProtoReflect() protoreflect.Message

func (*ArrayOfBytesWrapper) Reset

func (x *ArrayOfBytesWrapper) Reset()

func (*ArrayOfBytesWrapper) String

func (x *ArrayOfBytesWrapper) String() string

type AsyncMessage

type AsyncMessage struct {

	// Slot at which the message was emitted
	EmissionSlot *Slot `protobuf:"bytes,1,opt,name=emission_slot,json=emissionSlot,proto3" json:"emission_slot,omitempty"`
	// Index of the emitted message within the `emission_slot`.
	// This is used for disambiguate the emission of multiple messages at the same slot.
	EmissionIndex uint64 `protobuf:"varint,2,opt,name=emission_index,json=emissionIndex,proto3" json:"emission_index,omitempty"`
	// The address that sent the message
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// The address towards which the message is being sent
	Destination string `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
	// the handler function name within the destination address' bytecode
	Handler string `protobuf:"bytes,5,opt,name=handler,proto3" json:"handler,omitempty"`
	// Maximum gas to use when processing the message
	MaxGas uint64 `protobuf:"varint,6,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
	// Fee paid by the sender when the message is processed.
	Fee *NativeAmount `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"`
	// Coins sent from the sender to the target address of the message.
	// Those coins are spent by the sender address when the message is sent,
	// and credited to the destination address when receiving the message.
	// In case of failure or discard, those coins are reimbursed to the sender.
	Coins *NativeAmount `protobuf:"bytes,8,opt,name=coins,proto3" json:"coins,omitempty"`
	// Slot at which the message starts being valid (bound included in the validity range)
	ValidityStart *Slot `protobuf:"bytes,9,opt,name=validity_start,json=validityStart,proto3" json:"validity_start,omitempty"`
	// Slot at which the message stops being valid (bound not included in the validity range)
	ValidityEnd *Slot `protobuf:"bytes,10,opt,name=validity_end,json=validityEnd,proto3" json:"validity_end,omitempty"`
	// Raw payload data of the message
	Data []byte `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"`
	// Trigger that define whenever a message can be executed
	Trigger *AsyncMessageTrigger `protobuf:"bytes,12,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// Boolean that determine if the message can be executed. For messages without filter this boolean is always true.
	// For messages with filter, this boolean is true if the filter has been matched between `validity_start` and current slot.
	CanBeExecuted bool `protobuf:"varint,13,opt,name=can_be_executed,json=canBeExecuted,proto3" json:"can_be_executed,omitempty"`
	// contains filtered or unexported fields
}

Asynchronous smart contract message

func (*AsyncMessage) Descriptor deprecated

func (*AsyncMessage) Descriptor() ([]byte, []int)

Deprecated: Use AsyncMessage.ProtoReflect.Descriptor instead.

func (*AsyncMessage) GetCanBeExecuted

func (x *AsyncMessage) GetCanBeExecuted() bool

func (*AsyncMessage) GetCoins

func (x *AsyncMessage) GetCoins() *NativeAmount

func (*AsyncMessage) GetData

func (x *AsyncMessage) GetData() []byte

func (*AsyncMessage) GetDestination

func (x *AsyncMessage) GetDestination() string

func (*AsyncMessage) GetEmissionIndex

func (x *AsyncMessage) GetEmissionIndex() uint64

func (*AsyncMessage) GetEmissionSlot

func (x *AsyncMessage) GetEmissionSlot() *Slot

func (*AsyncMessage) GetFee

func (x *AsyncMessage) GetFee() *NativeAmount

func (*AsyncMessage) GetHandler

func (x *AsyncMessage) GetHandler() string

func (*AsyncMessage) GetMaxGas

func (x *AsyncMessage) GetMaxGas() uint64

func (*AsyncMessage) GetSender

func (x *AsyncMessage) GetSender() string

func (*AsyncMessage) GetTrigger

func (x *AsyncMessage) GetTrigger() *AsyncMessageTrigger

func (*AsyncMessage) GetValidityEnd

func (x *AsyncMessage) GetValidityEnd() *Slot

func (*AsyncMessage) GetValidityStart

func (x *AsyncMessage) GetValidityStart() *Slot

func (*AsyncMessage) ProtoMessage

func (*AsyncMessage) ProtoMessage()

func (*AsyncMessage) ProtoReflect

func (x *AsyncMessage) ProtoReflect() protoreflect.Message

func (*AsyncMessage) Reset

func (x *AsyncMessage) Reset()

func (*AsyncMessage) String

func (x *AsyncMessage) String() string

type AsyncMessageTrigger

type AsyncMessageTrigger struct {

	// Filter on the address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Filter on the datastore key (Optional)
	DatastoreKey *wrapperspb.BytesValue `protobuf:"bytes,2,opt,name=datastore_key,json=datastoreKey,proto3" json:"datastore_key,omitempty"`
	// contains filtered or unexported fields
}

Structure defining a trigger for an asynchronous message

func (*AsyncMessageTrigger) Descriptor deprecated

func (*AsyncMessageTrigger) Descriptor() ([]byte, []int)

Deprecated: Use AsyncMessageTrigger.ProtoReflect.Descriptor instead.

func (*AsyncMessageTrigger) GetAddress

func (x *AsyncMessageTrigger) GetAddress() string

func (*AsyncMessageTrigger) GetDatastoreKey

func (x *AsyncMessageTrigger) GetDatastoreKey() *wrapperspb.BytesValue

func (*AsyncMessageTrigger) ProtoMessage

func (*AsyncMessageTrigger) ProtoMessage()

func (*AsyncMessageTrigger) ProtoReflect

func (x *AsyncMessageTrigger) ProtoReflect() protoreflect.Message

func (*AsyncMessageTrigger) Reset

func (x *AsyncMessageTrigger) Reset()

func (*AsyncMessageTrigger) String

func (x *AsyncMessageTrigger) String() string

type AsyncMessageUpdate

type AsyncMessageUpdate struct {

	// Change the slot at which the message was emitted
	EmissionSlot *SetOrKeepSlot `protobuf:"bytes,1,opt,name=emission_slot,json=emissionSlot,proto3" json:"emission_slot,omitempty"`
	// Change the index of the emitted message within the `emission_slot`.
	// This is used for disambiguate the emission of multiple messages at the same slot.
	EmissionIndex *SetOrKeepUint64 `protobuf:"bytes,2,opt,name=emission_index,json=emissionIndex,proto3" json:"emission_index,omitempty"`
	// Change the address that sent the message
	Sender *SetOrKeepString `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// Change the address towards which the message is being sent
	Destination *SetOrKeepString `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
	// Change the handler function name within the destination address' bytecode
	Handler *SetOrKeepString `protobuf:"bytes,5,opt,name=handler,proto3" json:"handler,omitempty"`
	// Change the maximum gas to use when processing the message
	MaxGas *SetOrKeepUint64 `protobuf:"bytes,6,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
	// Change the fee paid by the sender when the message is processed.
	Fee *SetOrKeepUint64 `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"`
	// Change the coins sent from the sender to the target address of the message.
	// Those coins are spent by the sender address when the message is sent,
	// and credited to the destination address when receiving the message.
	// In case of failure or discard, those coins are reimbursed to the sender.
	Coins *SetOrKeepUint64 `protobuf:"bytes,8,opt,name=coins,proto3" json:"coins,omitempty"`
	// Change the slot at which the message starts being valid (bound included in the validity range)
	ValidityStart *SetOrKeepSlot `protobuf:"bytes,9,opt,name=validity_start,json=validityStart,proto3" json:"validity_start,omitempty"`
	// Change the slot at which the message stops being valid (bound not included in the validity range)
	ValidityEnd *SetOrKeepSlot `protobuf:"bytes,10,opt,name=validity_end,json=validityEnd,proto3" json:"validity_end,omitempty"`
	// Change the raw payload data of the message
	Data *SetOrKeepBytes `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"`
	// Change the trigger that define whenever a message can be executed
	Trigger *SetOrKeepAsyncMessageTrigger `protobuf:"bytes,12,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// Change the boolean that determine if the message can be executed. For messages without filter this boolean is always true.
	// For messages with filter, this boolean is true if the filter has been matched between `validity_start` and current slot.
	CanBeExecuted *SetOrKeepBool `protobuf:"bytes,13,opt,name=can_be_executed,json=canBeExecuted,proto3" json:"can_be_executed,omitempty"`
	// contains filtered or unexported fields
}

Asynchronous smart contract message

func (*AsyncMessageUpdate) Descriptor deprecated

func (*AsyncMessageUpdate) Descriptor() ([]byte, []int)

Deprecated: Use AsyncMessageUpdate.ProtoReflect.Descriptor instead.

func (*AsyncMessageUpdate) GetCanBeExecuted

func (x *AsyncMessageUpdate) GetCanBeExecuted() *SetOrKeepBool

func (*AsyncMessageUpdate) GetCoins

func (x *AsyncMessageUpdate) GetCoins() *SetOrKeepUint64

func (*AsyncMessageUpdate) GetData

func (x *AsyncMessageUpdate) GetData() *SetOrKeepBytes

func (*AsyncMessageUpdate) GetDestination

func (x *AsyncMessageUpdate) GetDestination() *SetOrKeepString

func (*AsyncMessageUpdate) GetEmissionIndex

func (x *AsyncMessageUpdate) GetEmissionIndex() *SetOrKeepUint64

func (*AsyncMessageUpdate) GetEmissionSlot

func (x *AsyncMessageUpdate) GetEmissionSlot() *SetOrKeepSlot

func (*AsyncMessageUpdate) GetFee

func (x *AsyncMessageUpdate) GetFee() *SetOrKeepUint64

func (*AsyncMessageUpdate) GetHandler

func (x *AsyncMessageUpdate) GetHandler() *SetOrKeepString

func (*AsyncMessageUpdate) GetMaxGas

func (x *AsyncMessageUpdate) GetMaxGas() *SetOrKeepUint64

func (*AsyncMessageUpdate) GetSender

func (x *AsyncMessageUpdate) GetSender() *SetOrKeepString

func (*AsyncMessageUpdate) GetTrigger

func (*AsyncMessageUpdate) GetValidityEnd

func (x *AsyncMessageUpdate) GetValidityEnd() *SetOrKeepSlot

func (*AsyncMessageUpdate) GetValidityStart

func (x *AsyncMessageUpdate) GetValidityStart() *SetOrKeepSlot

func (*AsyncMessageUpdate) ProtoMessage

func (*AsyncMessageUpdate) ProtoMessage()

func (*AsyncMessageUpdate) ProtoReflect

func (x *AsyncMessageUpdate) ProtoReflect() protoreflect.Message

func (*AsyncMessageUpdate) Reset

func (x *AsyncMessageUpdate) Reset()

func (*AsyncMessageUpdate) String

func (x *AsyncMessageUpdate) String() string

type AsyncPoolChangeEntry

type AsyncPoolChangeEntry struct {

	// Async message id
	AsyncMessageId string `protobuf:"bytes,1,opt,name=async_message_id,json=asyncMessageId,proto3" json:"async_message_id,omitempty"`
	// AsyncPool message
	Value *AsyncPoolChangeValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

AsyncPoolChange Entry

func (*AsyncPoolChangeEntry) Descriptor deprecated

func (*AsyncPoolChangeEntry) Descriptor() ([]byte, []int)

Deprecated: Use AsyncPoolChangeEntry.ProtoReflect.Descriptor instead.

func (*AsyncPoolChangeEntry) GetAsyncMessageId

func (x *AsyncPoolChangeEntry) GetAsyncMessageId() string

func (*AsyncPoolChangeEntry) GetValue

func (*AsyncPoolChangeEntry) ProtoMessage

func (*AsyncPoolChangeEntry) ProtoMessage()

func (*AsyncPoolChangeEntry) ProtoReflect

func (x *AsyncPoolChangeEntry) ProtoReflect() protoreflect.Message

func (*AsyncPoolChangeEntry) Reset

func (x *AsyncPoolChangeEntry) Reset()

func (*AsyncPoolChangeEntry) String

func (x *AsyncPoolChangeEntry) String() string

type AsyncPoolChangeType

type AsyncPoolChangeType int32

AsyncPoolChangeType type enum

const (
	AsyncPoolChangeType_ASYNC_POOL_CHANGE_TYPE_UNSPECIFIED AsyncPoolChangeType = 0 // Default enum value
	AsyncPoolChangeType_ASYNC_POOL_CHANGE_TYPE_SET         AsyncPoolChangeType = 1 // Set type
	AsyncPoolChangeType_ASYNC_POOL_CHANGE_TYPE_UPDATE      AsyncPoolChangeType = 2 // Activate only type
	AsyncPoolChangeType_ASYNC_POOL_CHANGE_TYPE_DELETE      AsyncPoolChangeType = 3 // Delete only type
)

func (AsyncPoolChangeType) Descriptor

func (AsyncPoolChangeType) Enum

func (AsyncPoolChangeType) EnumDescriptor deprecated

func (AsyncPoolChangeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AsyncPoolChangeType.Descriptor instead.

func (AsyncPoolChangeType) Number

func (AsyncPoolChangeType) String

func (x AsyncPoolChangeType) String() string

func (AsyncPoolChangeType) Type

type AsyncPoolChangeValue

type AsyncPoolChangeValue struct {

	// The type of the change
	Type AsyncPoolChangeType `protobuf:"varint,1,opt,name=type,proto3,enum=massa.model.v1.AsyncPoolChangeType" json:"type,omitempty"`
	// AsyncPool message
	//
	// Types that are assignable to Message:
	//
	//	*AsyncPoolChangeValue_CreatedMessage
	//	*AsyncPoolChangeValue_UpdatedMessage
	Message isAsyncPoolChangeValue_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

AsyncPoolChangeValue

func (*AsyncPoolChangeValue) Descriptor deprecated

func (*AsyncPoolChangeValue) Descriptor() ([]byte, []int)

Deprecated: Use AsyncPoolChangeValue.ProtoReflect.Descriptor instead.

func (*AsyncPoolChangeValue) GetCreatedMessage

func (x *AsyncPoolChangeValue) GetCreatedMessage() *AsyncMessage

func (*AsyncPoolChangeValue) GetMessage

func (m *AsyncPoolChangeValue) GetMessage() isAsyncPoolChangeValue_Message

func (*AsyncPoolChangeValue) GetType

func (*AsyncPoolChangeValue) GetUpdatedMessage

func (x *AsyncPoolChangeValue) GetUpdatedMessage() *AsyncMessageUpdate

func (*AsyncPoolChangeValue) ProtoMessage

func (*AsyncPoolChangeValue) ProtoMessage()

func (*AsyncPoolChangeValue) ProtoReflect

func (x *AsyncPoolChangeValue) ProtoReflect() protoreflect.Message

func (*AsyncPoolChangeValue) Reset

func (x *AsyncPoolChangeValue) Reset()

func (*AsyncPoolChangeValue) String

func (x *AsyncPoolChangeValue) String() string

type AsyncPoolChangeValue_CreatedMessage

type AsyncPoolChangeValue_CreatedMessage struct {
	// Created ledger entry
	CreatedMessage *AsyncMessage `protobuf:"bytes,2,opt,name=created_message,json=createdMessage,proto3,oneof"`
}

type AsyncPoolChangeValue_UpdatedMessage

type AsyncPoolChangeValue_UpdatedMessage struct {
	// Update ledger entry
	UpdatedMessage *AsyncMessageUpdate `protobuf:"bytes,3,opt,name=updated_message,json=updatedMessage,proto3,oneof"`
}

type Block

type Block struct {

	// Signed header
	Header *SignedBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Operations ids
	Operations []string `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

Block

func (*Block) Descriptor deprecated

func (*Block) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetHeader

func (x *Block) GetHeader() *SignedBlockHeader

func (*Block) GetOperations

func (x *Block) GetOperations() []string

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type BlockHeader

type BlockHeader struct {

	// Current network version
	CurrentVersion uint32 `protobuf:"varint,1,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
	// Announced network version(Optional)
	AnnouncedVersion *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=announced_version,json=announcedVersion,proto3" json:"announced_version,omitempty"`
	// Slot
	Slot *Slot `protobuf:"bytes,3,opt,name=slot,proto3" json:"slot,omitempty"`
	// parents
	Parents []string `protobuf:"bytes,4,rep,name=parents,proto3" json:"parents,omitempty"`
	// All operations hash
	OperationsHash string `protobuf:"bytes,5,opt,name=operations_hash,json=operationsHash,proto3" json:"operations_hash,omitempty"`
	// Signed endorsements
	Endorsements []*SignedEndorsement `protobuf:"bytes,6,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
	// contains filtered or unexported fields
}

Block header

func (*BlockHeader) Descriptor deprecated

func (*BlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetAnnouncedVersion

func (x *BlockHeader) GetAnnouncedVersion() *wrapperspb.UInt32Value

func (*BlockHeader) GetCurrentVersion

func (x *BlockHeader) GetCurrentVersion() uint32

func (*BlockHeader) GetEndorsements

func (x *BlockHeader) GetEndorsements() []*SignedEndorsement

func (*BlockHeader) GetOperationsHash

func (x *BlockHeader) GetOperationsHash() string

func (*BlockHeader) GetParents

func (x *BlockHeader) GetParents() []string

func (*BlockHeader) GetSlot

func (x *BlockHeader) GetSlot() *Slot

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

func (x *BlockHeader) ProtoReflect() protoreflect.Message

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

type BlockIds

type BlockIds struct {

	// Block ids
	BlockIds []string `protobuf:"bytes,1,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"`
	// contains filtered or unexported fields
}

BlockIds holds block ids

func (*BlockIds) Descriptor deprecated

func (*BlockIds) Descriptor() ([]byte, []int)

Deprecated: Use BlockIds.ProtoReflect.Descriptor instead.

func (*BlockIds) GetBlockIds

func (x *BlockIds) GetBlockIds() []string

func (*BlockIds) ProtoMessage

func (*BlockIds) ProtoMessage()

func (*BlockIds) ProtoReflect

func (x *BlockIds) ProtoReflect() protoreflect.Message

func (*BlockIds) Reset

func (x *BlockIds) Reset()

func (*BlockIds) String

func (x *BlockIds) String() string

type BlockInfo

type BlockInfo struct {

	// The unique ID of the block.
	BlockId string `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	// The execution status of the block
	Status BlockStatus `protobuf:"varint,2,opt,name=status,proto3,enum=massa.model.v1.BlockStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Informations about a block with its metadata

func (*BlockInfo) Descriptor deprecated

func (*BlockInfo) Descriptor() ([]byte, []int)

Deprecated: Use BlockInfo.ProtoReflect.Descriptor instead.

func (*BlockInfo) GetBlockId

func (x *BlockInfo) GetBlockId() string

func (*BlockInfo) GetStatus

func (x *BlockInfo) GetStatus() BlockStatus

func (*BlockInfo) ProtoMessage

func (*BlockInfo) ProtoMessage()

func (*BlockInfo) ProtoReflect

func (x *BlockInfo) ProtoReflect() protoreflect.Message

func (*BlockInfo) Reset

func (x *BlockInfo) Reset()

func (*BlockInfo) String

func (x *BlockInfo) String() string

type BlockParent

type BlockParent struct {

	// Block id
	BlockId string `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	// Period
	Period uint64 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"`
	// contains filtered or unexported fields
}

Block parent tuple

func (*BlockParent) Descriptor deprecated

func (*BlockParent) Descriptor() ([]byte, []int)

Deprecated: Use BlockParent.ProtoReflect.Descriptor instead.

func (*BlockParent) GetBlockId

func (x *BlockParent) GetBlockId() string

func (*BlockParent) GetPeriod

func (x *BlockParent) GetPeriod() uint64

func (*BlockParent) ProtoMessage

func (*BlockParent) ProtoMessage()

func (*BlockParent) ProtoReflect

func (x *BlockParent) ProtoReflect() protoreflect.Message

func (*BlockParent) Reset

func (x *BlockParent) Reset()

func (*BlockParent) String

func (x *BlockParent) String() string

type BlockStatus

type BlockStatus int32

Possible statuses for a block

const (
	BlockStatus_BLOCK_STATUS_UNSPECIFIED                BlockStatus = 0 // Default enum value
	BlockStatus_BLOCK_STATUS_NON_FINAL_BLOCKCLIQUE      BlockStatus = 1 // The block is in the greatest clique (and not final)
	BlockStatus_BLOCK_STATUS_FINAL                      BlockStatus = 2 // The block is final
	BlockStatus_BLOCK_STATUS_NON_FINAL_ALTERNATE_CLIQUE BlockStatus = 3 // The block is candidate (active any clique but not final)
	BlockStatus_BLOCK_STATUS_DISCARDED                  BlockStatus = 4 // The block is discarded
)

func (BlockStatus) Descriptor

func (BlockStatus) Enum

func (x BlockStatus) Enum() *BlockStatus

func (BlockStatus) EnumDescriptor deprecated

func (BlockStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use BlockStatus.Descriptor instead.

func (BlockStatus) Number

func (x BlockStatus) Number() protoreflect.EnumNumber

func (BlockStatus) String

func (x BlockStatus) String() string

func (BlockStatus) Type

type BlockWrapper

type BlockWrapper struct {

	// The execution status of the block
	Status BlockStatus `protobuf:"varint,1,opt,name=status,proto3,enum=massa.model.v1.BlockStatus" json:"status,omitempty"`
	// The block object itself
	Block *Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

A wrapper around a block with its metadata

func (*BlockWrapper) Descriptor deprecated

func (*BlockWrapper) Descriptor() ([]byte, []int)

Deprecated: Use BlockWrapper.ProtoReflect.Descriptor instead.

func (*BlockWrapper) GetBlock

func (x *BlockWrapper) GetBlock() *Block

func (*BlockWrapper) GetStatus

func (x *BlockWrapper) GetStatus() BlockStatus

func (*BlockWrapper) ProtoMessage

func (*BlockWrapper) ProtoMessage()

func (*BlockWrapper) ProtoReflect

func (x *BlockWrapper) ProtoReflect() protoreflect.Message

func (*BlockWrapper) Reset

func (x *BlockWrapper) Reset()

func (*BlockWrapper) String

func (x *BlockWrapper) String() string

type BytecodeExecution

type BytecodeExecution struct {

	// Byte code
	Bytecode []byte `protobuf:"bytes,1,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	// Serialized datastore (key value store)  for `ExecuteSC` Operation (Optional)
	OperationDatastore []byte `protobuf:"bytes,2,opt,name=operation_datastore,json=operationDatastore,proto3" json:"operation_datastore,omitempty"`
	// contains filtered or unexported fields
}

/ Execute a bytecode

func (*BytecodeExecution) Descriptor deprecated

func (*BytecodeExecution) Descriptor() ([]byte, []int)

Deprecated: Use BytecodeExecution.ProtoReflect.Descriptor instead.

func (*BytecodeExecution) GetBytecode

func (x *BytecodeExecution) GetBytecode() []byte

func (*BytecodeExecution) GetOperationDatastore

func (x *BytecodeExecution) GetOperationDatastore() []byte

func (*BytecodeExecution) ProtoMessage

func (*BytecodeExecution) ProtoMessage()

func (*BytecodeExecution) ProtoReflect

func (x *BytecodeExecution) ProtoReflect() protoreflect.Message

func (*BytecodeExecution) Reset

func (x *BytecodeExecution) Reset()

func (*BytecodeExecution) String

func (x *BytecodeExecution) String() string

type BytesMapFieldEntry

type BytesMapFieldEntry struct {

	// bytes key
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// bytes key
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

BytesMapFieldEntry

func (*BytesMapFieldEntry) Descriptor deprecated

func (*BytesMapFieldEntry) Descriptor() ([]byte, []int)

Deprecated: Use BytesMapFieldEntry.ProtoReflect.Descriptor instead.

func (*BytesMapFieldEntry) GetKey

func (x *BytesMapFieldEntry) GetKey() []byte

func (*BytesMapFieldEntry) GetValue

func (x *BytesMapFieldEntry) GetValue() []byte

func (*BytesMapFieldEntry) ProtoMessage

func (*BytesMapFieldEntry) ProtoMessage()

func (*BytesMapFieldEntry) ProtoReflect

func (x *BytesMapFieldEntry) ProtoReflect() protoreflect.Message

func (*BytesMapFieldEntry) Reset

func (x *BytesMapFieldEntry) Reset()

func (*BytesMapFieldEntry) String

func (x *BytesMapFieldEntry) String() string

type CallSC

type CallSC struct {

	// Target smart contract address
	TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"`
	// Target function name. No function is called if empty
	TargetFunction string `protobuf:"bytes,2,opt,name=target_function,json=targetFunction,proto3" json:"target_function,omitempty"`
	// Parameter to pass to the target function
	Parameter []byte `protobuf:"bytes,3,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// The maximum amount of gas that the execution of the contract is allowed to cost
	MaxGas uint64 `protobuf:"varint,4,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
	// Extra coins that are spent from the caller's balance and transferred to the target
	Coins *NativeAmount `protobuf:"bytes,5,opt,name=coins,proto3" json:"coins,omitempty"`
	// contains filtered or unexported fields
}

Calls an exported function from a stored smart contract

func (*CallSC) Descriptor deprecated

func (*CallSC) Descriptor() ([]byte, []int)

Deprecated: Use CallSC.ProtoReflect.Descriptor instead.

func (*CallSC) GetCoins

func (x *CallSC) GetCoins() *NativeAmount

func (*CallSC) GetMaxGas

func (x *CallSC) GetMaxGas() uint64

func (*CallSC) GetParameter

func (x *CallSC) GetParameter() []byte

func (*CallSC) GetTargetAddress

func (x *CallSC) GetTargetAddress() string

func (*CallSC) GetTargetFunction

func (x *CallSC) GetTargetFunction() string

func (*CallSC) ProtoMessage

func (*CallSC) ProtoMessage()

func (*CallSC) ProtoReflect

func (x *CallSC) ProtoReflect() protoreflect.Message

func (*CallSC) Reset

func (x *CallSC) Reset()

func (*CallSC) String

func (x *CallSC) String() string

type CompactConfig

type CompactConfig struct {

	// Time in milliseconds when the blockclique started.
	GenesisTimestamp *NativeTime `protobuf:"bytes,1,opt,name=genesis_timestamp,json=genesisTimestamp,proto3" json:"genesis_timestamp,omitempty"`
	// TESTNET: time when the blockclique is ended.
	EndTimestamp *NativeTime `protobuf:"bytes,2,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
	// Number of threads
	ThreadCount uint32 `protobuf:"varint,3,opt,name=thread_count,json=threadCount,proto3" json:"thread_count,omitempty"`
	// Time between the periods in the same thread.
	T0 *NativeTime `protobuf:"bytes,4,opt,name=t0,proto3" json:"t0,omitempty"`
	// Threshold for fitness.
	DeltaF0 uint64 `protobuf:"varint,5,opt,name=delta_f0,json=deltaF0,proto3" json:"delta_f0,omitempty"`
	// Maximum operation validity period count
	OperationValidityPeriods uint64 `` /* 136-byte string literal not displayed */
	// cycle duration in periods
	PeriodsPerCycle uint64 `protobuf:"varint,7,opt,name=periods_per_cycle,json=periodsPerCycle,proto3" json:"periods_per_cycle,omitempty"`
	// Reward amount for a block creation
	BlockReward *NativeAmount `protobuf:"bytes,8,opt,name=block_reward,json=blockReward,proto3" json:"block_reward,omitempty"`
	// Price of a roll on the network
	RollPrice *NativeAmount `protobuf:"bytes,9,opt,name=roll_price,json=rollPrice,proto3" json:"roll_price,omitempty"`
	// Max total size of a block
	MaxBlockSize uint32 `protobuf:"varint,10,opt,name=max_block_size,json=maxBlockSize,proto3" json:"max_block_size,omitempty"`
	// contains filtered or unexported fields
}

Compact configuration

func (*CompactConfig) Descriptor deprecated

func (*CompactConfig) Descriptor() ([]byte, []int)

Deprecated: Use CompactConfig.ProtoReflect.Descriptor instead.

func (*CompactConfig) GetBlockReward

func (x *CompactConfig) GetBlockReward() *NativeAmount

func (*CompactConfig) GetDeltaF0

func (x *CompactConfig) GetDeltaF0() uint64

func (*CompactConfig) GetEndTimestamp

func (x *CompactConfig) GetEndTimestamp() *NativeTime

func (*CompactConfig) GetGenesisTimestamp

func (x *CompactConfig) GetGenesisTimestamp() *NativeTime

func (*CompactConfig) GetMaxBlockSize

func (x *CompactConfig) GetMaxBlockSize() uint32

func (*CompactConfig) GetOperationValidityPeriods

func (x *CompactConfig) GetOperationValidityPeriods() uint64

func (*CompactConfig) GetPeriodsPerCycle

func (x *CompactConfig) GetPeriodsPerCycle() uint64

func (*CompactConfig) GetRollPrice

func (x *CompactConfig) GetRollPrice() *NativeAmount

func (*CompactConfig) GetT0

func (x *CompactConfig) GetT0() *NativeTime

func (*CompactConfig) GetThreadCount

func (x *CompactConfig) GetThreadCount() uint32

func (*CompactConfig) ProtoMessage

func (*CompactConfig) ProtoMessage()

func (*CompactConfig) ProtoReflect

func (x *CompactConfig) ProtoReflect() protoreflect.Message

func (*CompactConfig) Reset

func (x *CompactConfig) Reset()

func (*CompactConfig) String

func (x *CompactConfig) String() string

type ComparisonResult

type ComparisonResult int32

Comparison result

const (
	ComparisonResult_COMPARISON_RESULT_UNSPECIFIED ComparisonResult = 0
	// left is lower
	ComparisonResult_COMPARISON_RESULT_LOWER ComparisonResult = 1
	// left and right are equal
	ComparisonResult_COMPARISON_RESULT_EQUAL ComparisonResult = 2
	// left is greater
	ComparisonResult_COMPARISON_RESULT_GREATER ComparisonResult = 3
)

func (ComparisonResult) Descriptor

func (ComparisonResult) Enum

func (ComparisonResult) EnumDescriptor deprecated

func (ComparisonResult) EnumDescriptor() ([]byte, []int)

Deprecated: Use ComparisonResult.Descriptor instead.

func (ComparisonResult) Number

func (ComparisonResult) String

func (x ComparisonResult) String() string

func (ComparisonResult) Type

type ComponentStateId

type ComponentStateId int32

State machine for a Versioning component that tracks the deployment state

const (
	ComponentStateId_COMPONENT_STATE_ID_UNSPECIFIED ComponentStateId = 0 // Default enum value
	ComponentStateId_COMPONENT_STATE_ID_ERROR       ComponentStateId = 1 // Error state
	ComponentStateId_COMPONENT_STATE_ID_DEFINED     ComponentStateId = 2 // Initial state
	ComponentStateId_COMPONENT_STATE_ID_STARTED     ComponentStateId = 3 // Past start, can only go to LockedIn after the threshold is above a given value
	ComponentStateId_COMPONENT_STATE_ID_LOCKEDIN    ComponentStateId = 4 // Locked but wait for some time before going to active (to let users the time to upgrade)
	ComponentStateId_COMPONENT_STATE_ID_ACTIVE      ComponentStateId = 5 // After LockedIn, deployment is considered successful (after activation delay)
	ComponentStateId_COMPONENT_STATE_ID_FAILED      ComponentStateId = 6 // Past the timeout, if LockedIn is not reach
)

func (ComponentStateId) Descriptor

func (ComponentStateId) Enum

func (ComponentStateId) EnumDescriptor deprecated

func (ComponentStateId) EnumDescriptor() ([]byte, []int)

Deprecated: Use ComponentStateId.Descriptor instead.

func (ComponentStateId) Number

func (ComponentStateId) String

func (x ComponentStateId) String() string

func (ComponentStateId) Type

type ConnectedNode

type ConnectedNode struct {

	// Node id
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Node ip
	NodeIp string `protobuf:"bytes,2,opt,name=node_ip,json=nodeIp,proto3" json:"node_ip,omitempty"`
	// Connection type
	ConnectionType ConnectionType `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Connected node

func (*ConnectedNode) Descriptor deprecated

func (*ConnectedNode) Descriptor() ([]byte, []int)

Deprecated: Use ConnectedNode.ProtoReflect.Descriptor instead.

func (*ConnectedNode) GetConnectionType

func (x *ConnectedNode) GetConnectionType() ConnectionType

func (*ConnectedNode) GetNodeId

func (x *ConnectedNode) GetNodeId() string

func (*ConnectedNode) GetNodeIp

func (x *ConnectedNode) GetNodeIp() string

func (*ConnectedNode) ProtoMessage

func (*ConnectedNode) ProtoMessage()

func (*ConnectedNode) ProtoReflect

func (x *ConnectedNode) ProtoReflect() protoreflect.Message

func (*ConnectedNode) Reset

func (x *ConnectedNode) Reset()

func (*ConnectedNode) String

func (x *ConnectedNode) String() string

type ConnectionType

type ConnectionType int32

ConnectionType enum

const (
	ConnectionType_CONNECTION_TYPE_UNSPECIFIED ConnectionType = 0 // Default enum value
	ConnectionType_CONNECTION_TYPE_INCOMING    ConnectionType = 1 // Incoming connection
	ConnectionType_CONNECTION_TYPE_OUTGOING    ConnectionType = 2 // Outgoing connection
)

func (ConnectionType) Descriptor

func (ConnectionType) Enum

func (x ConnectionType) Enum() *ConnectionType

func (ConnectionType) EnumDescriptor deprecated

func (ConnectionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConnectionType.Descriptor instead.

func (ConnectionType) Number

func (ConnectionType) String

func (x ConnectionType) String() string

func (ConnectionType) Type

type ConsensusStats

type ConsensusStats struct {

	// Start of the time span for stats
	StartTimespan *NativeTime `protobuf:"bytes,1,opt,name=start_timespan,json=startTimespan,proto3" json:"start_timespan,omitempty"`
	// End of the time span for stats
	EndTimespan *NativeTime `protobuf:"bytes,2,opt,name=end_timespan,json=endTimespan,proto3" json:"end_timespan,omitempty"`
	// Number of final blocks
	FinalBlockCount uint64 `protobuf:"varint,3,opt,name=final_block_count,json=finalBlockCount,proto3" json:"final_block_count,omitempty"`
	// Number of stale blocks in memory
	StaleBlockCount uint64 `protobuf:"varint,4,opt,name=stale_block_count,json=staleBlockCount,proto3" json:"stale_block_count,omitempty"`
	// Number of actives cliques
	CliqueCount uint64 `protobuf:"varint,5,opt,name=clique_count,json=cliqueCount,proto3" json:"clique_count,omitempty"`
	// contains filtered or unexported fields
}

Consensus statistics

func (*ConsensusStats) Descriptor deprecated

func (*ConsensusStats) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusStats.ProtoReflect.Descriptor instead.

func (*ConsensusStats) GetCliqueCount

func (x *ConsensusStats) GetCliqueCount() uint64

func (*ConsensusStats) GetEndTimespan

func (x *ConsensusStats) GetEndTimespan() *NativeTime

func (*ConsensusStats) GetFinalBlockCount

func (x *ConsensusStats) GetFinalBlockCount() uint64

func (*ConsensusStats) GetStaleBlockCount

func (x *ConsensusStats) GetStaleBlockCount() uint64

func (*ConsensusStats) GetStartTimespan

func (x *ConsensusStats) GetStartTimespan() *NativeTime

func (*ConsensusStats) ProtoMessage

func (*ConsensusStats) ProtoMessage()

func (*ConsensusStats) ProtoReflect

func (x *ConsensusStats) ProtoReflect() protoreflect.Message

func (*ConsensusStats) Reset

func (x *ConsensusStats) Reset()

func (*ConsensusStats) String

func (x *ConsensusStats) String() string

type DatastoreEntry

type DatastoreEntry struct {

	// final datastore entry value
	FinalValue []byte `protobuf:"bytes,1,opt,name=final_value,json=finalValue,proto3" json:"final_value,omitempty"`
	// candidate_value datastore entry value
	CandidateValue []byte `protobuf:"bytes,2,opt,name=candidate_value,json=candidateValue,proto3" json:"candidate_value,omitempty"`
	// contains filtered or unexported fields
}

DatastoreEntry

func (*DatastoreEntry) Descriptor deprecated

func (*DatastoreEntry) Descriptor() ([]byte, []int)

Deprecated: Use DatastoreEntry.ProtoReflect.Descriptor instead.

func (*DatastoreEntry) GetCandidateValue

func (x *DatastoreEntry) GetCandidateValue() []byte

func (*DatastoreEntry) GetFinalValue

func (x *DatastoreEntry) GetFinalValue() []byte

func (*DatastoreEntry) ProtoMessage

func (*DatastoreEntry) ProtoMessage()

func (*DatastoreEntry) ProtoReflect

func (x *DatastoreEntry) ProtoReflect() protoreflect.Message

func (*DatastoreEntry) Reset

func (x *DatastoreEntry) Reset()

func (*DatastoreEntry) String

func (x *DatastoreEntry) String() string

type DenunciationBlockHeader

type DenunciationBlockHeader struct {

	// Denounciation slot
	Slot *Slot `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

Variant for Block header denunciation index

func (*DenunciationBlockHeader) Descriptor deprecated

func (*DenunciationBlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use DenunciationBlockHeader.ProtoReflect.Descriptor instead.

func (*DenunciationBlockHeader) GetSlot

func (x *DenunciationBlockHeader) GetSlot() *Slot

func (*DenunciationBlockHeader) ProtoMessage

func (*DenunciationBlockHeader) ProtoMessage()

func (*DenunciationBlockHeader) ProtoReflect

func (x *DenunciationBlockHeader) ProtoReflect() protoreflect.Message

func (*DenunciationBlockHeader) Reset

func (x *DenunciationBlockHeader) Reset()

func (*DenunciationBlockHeader) String

func (x *DenunciationBlockHeader) String() string

type DenunciationEndorsement

type DenunciationEndorsement struct {

	// Denounciation slot
	Slot *Slot `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// Denounciation index
	Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

Variant for Endorsement denunciation index

func (*DenunciationEndorsement) Descriptor deprecated

func (*DenunciationEndorsement) Descriptor() ([]byte, []int)

Deprecated: Use DenunciationEndorsement.ProtoReflect.Descriptor instead.

func (*DenunciationEndorsement) GetIndex

func (x *DenunciationEndorsement) GetIndex() uint32

func (*DenunciationEndorsement) GetSlot

func (x *DenunciationEndorsement) GetSlot() *Slot

func (*DenunciationEndorsement) ProtoMessage

func (*DenunciationEndorsement) ProtoMessage()

func (*DenunciationEndorsement) ProtoReflect

func (x *DenunciationEndorsement) ProtoReflect() protoreflect.Message

func (*DenunciationEndorsement) Reset

func (x *DenunciationEndorsement) Reset()

func (*DenunciationEndorsement) String

func (x *DenunciationEndorsement) String() string

type DenunciationIndex

type DenunciationIndex struct {

	// DenunciationBlockHeader or DenunciationEndorsement
	//
	// Types that are assignable to Entry:
	//
	//	*DenunciationIndex_BlockHeader
	//	*DenunciationIndex_Endorsement
	Entry isDenunciationIndex_Entry `protobuf_oneof:"entry"`
	// contains filtered or unexported fields
}

Index for Denunciations in collections (e.g. like a HashMap...)

func (*DenunciationIndex) Descriptor deprecated

func (*DenunciationIndex) Descriptor() ([]byte, []int)

Deprecated: Use DenunciationIndex.ProtoReflect.Descriptor instead.

func (*DenunciationIndex) GetBlockHeader

func (x *DenunciationIndex) GetBlockHeader() *DenunciationBlockHeader

func (*DenunciationIndex) GetEndorsement

func (x *DenunciationIndex) GetEndorsement() *DenunciationEndorsement

func (*DenunciationIndex) GetEntry

func (m *DenunciationIndex) GetEntry() isDenunciationIndex_Entry

func (*DenunciationIndex) ProtoMessage

func (*DenunciationIndex) ProtoMessage()

func (*DenunciationIndex) ProtoReflect

func (x *DenunciationIndex) ProtoReflect() protoreflect.Message

func (*DenunciationIndex) Reset

func (x *DenunciationIndex) Reset()

func (*DenunciationIndex) String

func (x *DenunciationIndex) String() string

type DenunciationIndex_BlockHeader

type DenunciationIndex_BlockHeader struct {
	// Denunciation block header
	BlockHeader *DenunciationBlockHeader `protobuf:"bytes,1,opt,name=block_header,json=blockHeader,proto3,oneof"`
}

type DenunciationIndex_Endorsement

type DenunciationIndex_Endorsement struct {
	// Denunciation endorsement
	Endorsement *DenunciationEndorsement `protobuf:"bytes,2,opt,name=endorsement,proto3,oneof"`
}

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

Empty

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Endorsement

type Endorsement struct {

	// Slot in which the endorsement can be included
	Slot *Slot `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// Endorsement index inside the including block
	Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// Hash of endorsed block
	// This is the parent in thread `self.slot.thread` of the block in which the endorsement is included
	EndorsedBlock string `protobuf:"bytes,3,opt,name=endorsed_block,json=endorsedBlock,proto3" json:"endorsed_block,omitempty"`
	// contains filtered or unexported fields
}

An endorsement, as sent in the network

func (*Endorsement) Descriptor deprecated

func (*Endorsement) Descriptor() ([]byte, []int)

Deprecated: Use Endorsement.ProtoReflect.Descriptor instead.

func (*Endorsement) GetEndorsedBlock

func (x *Endorsement) GetEndorsedBlock() string

func (*Endorsement) GetIndex

func (x *Endorsement) GetIndex() uint32

func (*Endorsement) GetSlot

func (x *Endorsement) GetSlot() *Slot

func (*Endorsement) ProtoMessage

func (*Endorsement) ProtoMessage()

func (*Endorsement) ProtoReflect

func (x *Endorsement) ProtoReflect() protoreflect.Message

func (*Endorsement) Reset

func (x *Endorsement) Reset()

func (*Endorsement) String

func (x *Endorsement) String() string

type EndorsementDraw

type EndorsementDraw struct {

	// Endorsement index
	Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// Producer address
	Producer string `protobuf:"bytes,2,opt,name=producer,proto3" json:"producer,omitempty"`
	// contains filtered or unexported fields
}

Endorsement draw

func (*EndorsementDraw) Descriptor deprecated

func (*EndorsementDraw) Descriptor() ([]byte, []int)

Deprecated: Use EndorsementDraw.ProtoReflect.Descriptor instead.

func (*EndorsementDraw) GetIndex

func (x *EndorsementDraw) GetIndex() uint64

func (*EndorsementDraw) GetProducer

func (x *EndorsementDraw) GetProducer() string

func (*EndorsementDraw) ProtoMessage

func (*EndorsementDraw) ProtoMessage()

func (*EndorsementDraw) ProtoReflect

func (x *EndorsementDraw) ProtoReflect() protoreflect.Message

func (*EndorsementDraw) Reset

func (x *EndorsementDraw) Reset()

func (*EndorsementDraw) String

func (x *EndorsementDraw) String() string

type EndorsementIds

type EndorsementIds struct {

	// Endorsements ids
	EndorsementIds []string `protobuf:"bytes,1,rep,name=endorsement_ids,json=endorsementIds,proto3" json:"endorsement_ids,omitempty"`
	// contains filtered or unexported fields
}

EndorsementIds holds endorsements ids

func (*EndorsementIds) Descriptor deprecated

func (*EndorsementIds) Descriptor() ([]byte, []int)

Deprecated: Use EndorsementIds.ProtoReflect.Descriptor instead.

func (*EndorsementIds) GetEndorsementIds

func (x *EndorsementIds) GetEndorsementIds() []string

func (*EndorsementIds) ProtoMessage

func (*EndorsementIds) ProtoMessage()

func (*EndorsementIds) ProtoReflect

func (x *EndorsementIds) ProtoReflect() protoreflect.Message

func (*EndorsementIds) Reset

func (x *EndorsementIds) Reset()

func (*EndorsementIds) String

func (x *EndorsementIds) String() string

type EndorsementInfo

type EndorsementInfo struct {

	// The endorsement id
	EndorsementId string `protobuf:"bytes,1,opt,name=endorsement_id,json=endorsementId,proto3" json:"endorsement_id,omitempty"`
	// Whether the endorsement is still in pool
	InPool bool `protobuf:"varint,2,opt,name=in_pool,json=inPool,proto3" json:"in_pool,omitempty"`
	// The endorsement appears in `in_blocks`
	// If it appears in multiple blocks, these blocks are in different cliques
	InBlocks []string `protobuf:"bytes,3,rep,name=in_blocks,json=inBlocks,proto3" json:"in_blocks,omitempty"`
	// Whether the the endorsement is final (for example in a final block)
	IsFinal bool `protobuf:"varint,4,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
	// contains filtered or unexported fields
}

Informations about an endorsement with its metadata

func (*EndorsementInfo) Descriptor deprecated

func (*EndorsementInfo) Descriptor() ([]byte, []int)

Deprecated: Use EndorsementInfo.ProtoReflect.Descriptor instead.

func (*EndorsementInfo) GetEndorsementId

func (x *EndorsementInfo) GetEndorsementId() string

func (*EndorsementInfo) GetInBlocks

func (x *EndorsementInfo) GetInBlocks() []string

func (*EndorsementInfo) GetInPool

func (x *EndorsementInfo) GetInPool() bool

func (*EndorsementInfo) GetIsFinal

func (x *EndorsementInfo) GetIsFinal() bool

func (*EndorsementInfo) ProtoMessage

func (*EndorsementInfo) ProtoMessage()

func (*EndorsementInfo) ProtoReflect

func (x *EndorsementInfo) ProtoReflect() protoreflect.Message

func (*EndorsementInfo) Reset

func (x *EndorsementInfo) Reset()

func (*EndorsementInfo) String

func (x *EndorsementInfo) String() string

type EndorsementWrapper

type EndorsementWrapper struct {

	// Whether the endorsement is still in pool
	InPool bool `protobuf:"varint,1,opt,name=in_pool,json=inPool,proto3" json:"in_pool,omitempty"`
	// The endorsement appears in `in_blocks`
	// If it appears in multiple blocks, these blocks are in different cliques
	InBlocks []string `protobuf:"bytes,2,rep,name=in_blocks,json=inBlocks,proto3" json:"in_blocks,omitempty"`
	// Whether the the endorsement is final (for example in a final block)
	IsFinal bool `protobuf:"varint,3,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
	// The endorsement itself
	Endorsement *SignedEndorsement `protobuf:"bytes,4,opt,name=endorsement,proto3" json:"endorsement,omitempty"`
	// contains filtered or unexported fields
}

A wrapper around an endorsement with its metadata

func (*EndorsementWrapper) Descriptor deprecated

func (*EndorsementWrapper) Descriptor() ([]byte, []int)

Deprecated: Use EndorsementWrapper.ProtoReflect.Descriptor instead.

func (*EndorsementWrapper) GetEndorsement

func (x *EndorsementWrapper) GetEndorsement() *SignedEndorsement

func (*EndorsementWrapper) GetInBlocks

func (x *EndorsementWrapper) GetInBlocks() []string

func (*EndorsementWrapper) GetInPool

func (x *EndorsementWrapper) GetInPool() bool

func (*EndorsementWrapper) GetIsFinal

func (x *EndorsementWrapper) GetIsFinal() bool

func (*EndorsementWrapper) ProtoMessage

func (*EndorsementWrapper) ProtoMessage()

func (*EndorsementWrapper) ProtoReflect

func (x *EndorsementWrapper) ProtoReflect() protoreflect.Message

func (*EndorsementWrapper) Reset

func (x *EndorsementWrapper) Reset()

func (*EndorsementWrapper) String

func (x *EndorsementWrapper) String() string

type Error

type Error struct {

	// The error code
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// A developer-facing error message, which should be in English
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Massa error

func (*Error) Descriptor deprecated

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() int32

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type ExecuteSC

type ExecuteSC struct {

	// Smart contract bytecode.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// The maximum of coins that could be spent by the operation sender
	MaxCoins uint64 `protobuf:"varint,2,opt,name=max_coins,json=maxCoins,proto3" json:"max_coins,omitempty"`
	// The maximum amount of gas that the execution of the contract is allowed to cost
	MaxGas uint64 `protobuf:"varint,3,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
	// A key-value store associating a hash to arbitrary bytes
	Datastore []*BytesMapFieldEntry `protobuf:"bytes,4,rep,name=datastore,proto3" json:"datastore,omitempty"`
	// contains filtered or unexported fields
}

Execute a smart contract

func (*ExecuteSC) Descriptor deprecated

func (*ExecuteSC) Descriptor() ([]byte, []int)

Deprecated: Use ExecuteSC.ProtoReflect.Descriptor instead.

func (*ExecuteSC) GetData

func (x *ExecuteSC) GetData() []byte

func (*ExecuteSC) GetDatastore

func (x *ExecuteSC) GetDatastore() []*BytesMapFieldEntry

func (*ExecuteSC) GetMaxCoins

func (x *ExecuteSC) GetMaxCoins() uint64

func (*ExecuteSC) GetMaxGas

func (x *ExecuteSC) GetMaxGas() uint64

func (*ExecuteSC) ProtoMessage

func (*ExecuteSC) ProtoMessage()

func (*ExecuteSC) ProtoReflect

func (x *ExecuteSC) ProtoReflect() protoreflect.Message

func (*ExecuteSC) Reset

func (x *ExecuteSC) Reset()

func (*ExecuteSC) String

func (x *ExecuteSC) String() string

type ExecutedOpsChangeEntry

type ExecutedOpsChangeEntry struct {

	// string
	OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// ExecutedOpsChangeValue
	Value *ExecutedOpsChangeValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

ExecutedOpsChangeEntry

func (*ExecutedOpsChangeEntry) Descriptor deprecated

func (*ExecutedOpsChangeEntry) Descriptor() ([]byte, []int)

Deprecated: Use ExecutedOpsChangeEntry.ProtoReflect.Descriptor instead.

func (*ExecutedOpsChangeEntry) GetOperationId

func (x *ExecutedOpsChangeEntry) GetOperationId() string

func (*ExecutedOpsChangeEntry) GetValue

func (*ExecutedOpsChangeEntry) ProtoMessage

func (*ExecutedOpsChangeEntry) ProtoMessage()

func (*ExecutedOpsChangeEntry) ProtoReflect

func (x *ExecutedOpsChangeEntry) ProtoReflect() protoreflect.Message

func (*ExecutedOpsChangeEntry) Reset

func (x *ExecutedOpsChangeEntry) Reset()

func (*ExecutedOpsChangeEntry) String

func (x *ExecutedOpsChangeEntry) String() string

type ExecutedOpsChangeValue

type ExecutedOpsChangeValue struct {

	// The status of the execution of the operation
	Status OperationExecutionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=massa.model.v1.OperationExecutionStatus" json:"status,omitempty"`
	// Slot until which the operation remains valid (included)
	Slot *Slot `protobuf:"bytes,2,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

ExecutedOpsChangeValue

func (*ExecutedOpsChangeValue) Descriptor deprecated

func (*ExecutedOpsChangeValue) Descriptor() ([]byte, []int)

Deprecated: Use ExecutedOpsChangeValue.ProtoReflect.Descriptor instead.

func (*ExecutedOpsChangeValue) GetSlot

func (x *ExecutedOpsChangeValue) GetSlot() *Slot

func (*ExecutedOpsChangeValue) GetStatus

func (*ExecutedOpsChangeValue) ProtoMessage

func (*ExecutedOpsChangeValue) ProtoMessage()

func (*ExecutedOpsChangeValue) ProtoReflect

func (x *ExecutedOpsChangeValue) ProtoReflect() protoreflect.Message

func (*ExecutedOpsChangeValue) Reset

func (x *ExecutedOpsChangeValue) Reset()

func (*ExecutedOpsChangeValue) String

func (x *ExecutedOpsChangeValue) String() string

type ExecutionOutput

type ExecutionOutput struct {

	// Slot
	Slot *Slot `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// Block id at that slot (Optional)
	BlockId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	// Events emitted by the execution step
	Events []*ScExecutionEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
	// State changes caused by the execution step
	StateChanges *StateChanges `protobuf:"bytes,4,opt,name=state_changes,json=stateChanges,proto3" json:"state_changes,omitempty"`
	// contains filtered or unexported fields
}

ExecutionOutput

func (*ExecutionOutput) Descriptor deprecated

func (*ExecutionOutput) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionOutput.ProtoReflect.Descriptor instead.

func (*ExecutionOutput) GetBlockId

func (x *ExecutionOutput) GetBlockId() *wrapperspb.StringValue

func (*ExecutionOutput) GetEvents

func (x *ExecutionOutput) GetEvents() []*ScExecutionEvent

func (*ExecutionOutput) GetSlot

func (x *ExecutionOutput) GetSlot() *Slot

func (*ExecutionOutput) GetStateChanges

func (x *ExecutionOutput) GetStateChanges() *StateChanges

func (*ExecutionOutput) ProtoMessage

func (*ExecutionOutput) ProtoMessage()

func (*ExecutionOutput) ProtoReflect

func (x *ExecutionOutput) ProtoReflect() protoreflect.Message

func (*ExecutionOutput) Reset

func (x *ExecutionOutput) Reset()

func (*ExecutionOutput) String

func (x *ExecutionOutput) String() string

type ExecutionOutputStatus

type ExecutionOutputStatus int32

ExecutionOutputStatus type enum

const (
	ExecutionOutputStatus_EXECUTION_OUTPUT_STATUS_UNSPECIFIED ExecutionOutputStatus = 0 // Default enum value
	ExecutionOutputStatus_EXECUTION_OUTPUT_STATUS_CANDIDATE   ExecutionOutputStatus = 1 // Candidate status
	ExecutionOutputStatus_EXECUTION_OUTPUT_STATUS_FINAL       ExecutionOutputStatus = 2 // Final status
	ExecutionOutputStatus_EXECUTION_OUTPUT_STATUS_UNKNOWN     ExecutionOutputStatus = 3 // Unknown status
)

func (ExecutionOutputStatus) Descriptor

func (ExecutionOutputStatus) Enum

func (ExecutionOutputStatus) EnumDescriptor deprecated

func (ExecutionOutputStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExecutionOutputStatus.Descriptor instead.

func (ExecutionOutputStatus) Number

func (ExecutionOutputStatus) String

func (x ExecutionOutputStatus) String() string

func (ExecutionOutputStatus) Type

type ExecutionStackElement

type ExecutionStackElement struct {

	// Called address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Coins transferred to the target address during the call
	Coins *NativeAmount `protobuf:"bytes,2,opt,name=coins,proto3" json:"coins,omitempty"`
	// List of addresses owned by the current call, and on which the current call has write access.
	// This list should contain `ExecutionStackElement::address` in the sense that an address should have write access to itself.
	// This list should also contain all addresses created previously during the call
	// to allow write access on newly created addresses in order to set them up,
	// but only within the scope of the current stack element.
	// That way, only the current scope and neither its caller not the functions it calls gain this write access,
	// which is important for security.
	// Note that we use a vector instead of a pre-hashed set to ensure order determinism,
	// the performance hit of linear search remains minimal because `owned_addresses` will always contain very few elements.
	OwnedAddresses []string `protobuf:"bytes,3,rep,name=owned_addresses,json=ownedAddresses,proto3" json:"owned_addresses,omitempty"`
	// Datastore (key value store) for `ExecuteSC` Operation (Optional)
	OperationDatastore []*BytesMapFieldEntry `protobuf:"bytes,4,rep,name=operation_datastore,json=operationDatastore,proto3" json:"operation_datastore,omitempty"`
	// contains filtered or unexported fields
}

Structure describing an element of the execution stack. Every time a function is called from bytecode, a new `ExecutionStackElement` is pushed at the top of the execution stack to represent the local execution context of the called function, instead of the caller's which should lie just below in the stack.

func (*ExecutionStackElement) Descriptor deprecated

func (*ExecutionStackElement) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionStackElement.ProtoReflect.Descriptor instead.

func (*ExecutionStackElement) GetAddress

func (x *ExecutionStackElement) GetAddress() string

func (*ExecutionStackElement) GetCoins

func (x *ExecutionStackElement) GetCoins() *NativeAmount

func (*ExecutionStackElement) GetOperationDatastore

func (x *ExecutionStackElement) GetOperationDatastore() []*BytesMapFieldEntry

func (*ExecutionStackElement) GetOwnedAddresses

func (x *ExecutionStackElement) GetOwnedAddresses() []string

func (*ExecutionStackElement) ProtoMessage

func (*ExecutionStackElement) ProtoMessage()

func (*ExecutionStackElement) ProtoReflect

func (x *ExecutionStackElement) ProtoReflect() protoreflect.Message

func (*ExecutionStackElement) Reset

func (x *ExecutionStackElement) Reset()

func (*ExecutionStackElement) String

func (x *ExecutionStackElement) String() string

type ExecutionStats

type ExecutionStats struct {

	// Time window start
	TimeWindowStart *NativeTime `protobuf:"bytes,1,opt,name=time_window_start,json=timeWindowStart,proto3" json:"time_window_start,omitempty"`
	// Time window end
	TimeWindowEnd *NativeTime `protobuf:"bytes,2,opt,name=time_window_end,json=timeWindowEnd,proto3" json:"time_window_end,omitempty"`
	// Number of final blocks in the time window
	FinalBlockCount uint64 `protobuf:"varint,3,opt,name=final_block_count,json=finalBlockCount,proto3" json:"final_block_count,omitempty"`
	// Number of final executed operations in the time window
	FinalExecutedOperationsCount uint64 `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

Execution statistics

func (*ExecutionStats) Descriptor deprecated

func (*ExecutionStats) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionStats.ProtoReflect.Descriptor instead.

func (*ExecutionStats) GetFinalBlockCount

func (x *ExecutionStats) GetFinalBlockCount() uint64

func (*ExecutionStats) GetFinalExecutedOperationsCount

func (x *ExecutionStats) GetFinalExecutedOperationsCount() uint64

func (*ExecutionStats) GetTimeWindowEnd

func (x *ExecutionStats) GetTimeWindowEnd() *NativeTime

func (*ExecutionStats) GetTimeWindowStart

func (x *ExecutionStats) GetTimeWindowStart() *NativeTime

func (*ExecutionStats) ProtoMessage

func (*ExecutionStats) ProtoMessage()

func (*ExecutionStats) ProtoReflect

func (x *ExecutionStats) ProtoReflect() protoreflect.Message

func (*ExecutionStats) Reset

func (x *ExecutionStats) Reset()

func (*ExecutionStats) String

func (x *ExecutionStats) String() string

type FilledBlock

type FilledBlock struct {

	// Signed header
	Header *SignedBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Operations
	Operations []*FilledOperationEntry `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

Filled block

func (*FilledBlock) Descriptor deprecated

func (*FilledBlock) Descriptor() ([]byte, []int)

Deprecated: Use FilledBlock.ProtoReflect.Descriptor instead.

func (*FilledBlock) GetHeader

func (x *FilledBlock) GetHeader() *SignedBlockHeader

func (*FilledBlock) GetOperations

func (x *FilledBlock) GetOperations() []*FilledOperationEntry

func (*FilledBlock) ProtoMessage

func (*FilledBlock) ProtoMessage()

func (*FilledBlock) ProtoReflect

func (x *FilledBlock) ProtoReflect() protoreflect.Message

func (*FilledBlock) Reset

func (x *FilledBlock) Reset()

func (*FilledBlock) String

func (x *FilledBlock) String() string

type FilledOperationEntry

type FilledOperationEntry struct {

	// Operation id
	OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// Signed operation
	Operation *SignedOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

Filled Operation Tuple

func (*FilledOperationEntry) Descriptor deprecated

func (*FilledOperationEntry) Descriptor() ([]byte, []int)

Deprecated: Use FilledOperationEntry.ProtoReflect.Descriptor instead.

func (*FilledOperationEntry) GetOperation

func (x *FilledOperationEntry) GetOperation() *SignedOperation

func (*FilledOperationEntry) GetOperationId

func (x *FilledOperationEntry) GetOperationId() string

func (*FilledOperationEntry) ProtoMessage

func (*FilledOperationEntry) ProtoMessage()

func (*FilledOperationEntry) ProtoReflect

func (x *FilledOperationEntry) ProtoReflect() protoreflect.Message

func (*FilledOperationEntry) Reset

func (x *FilledOperationEntry) Reset()

func (*FilledOperationEntry) String

func (x *FilledOperationEntry) String() string

type FinalizedExecutionOutput

type FinalizedExecutionOutput struct {

	// Slot
	Slot *Slot `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

FinalizedExecutionOutput

func (*FinalizedExecutionOutput) Descriptor deprecated

func (*FinalizedExecutionOutput) Descriptor() ([]byte, []int)

Deprecated: Use FinalizedExecutionOutput.ProtoReflect.Descriptor instead.

func (*FinalizedExecutionOutput) GetSlot

func (x *FinalizedExecutionOutput) GetSlot() *Slot

func (*FinalizedExecutionOutput) ProtoMessage

func (*FinalizedExecutionOutput) ProtoMessage()

func (*FinalizedExecutionOutput) ProtoReflect

func (x *FinalizedExecutionOutput) ProtoReflect() protoreflect.Message

func (*FinalizedExecutionOutput) Reset

func (x *FinalizedExecutionOutput) Reset()

func (*FinalizedExecutionOutput) String

func (x *FinalizedExecutionOutput) String() string

type FunctionCall

type FunctionCall struct {

	// Target address
	TargetAddress string `protobuf:"bytes,1,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"`
	// Target function
	TargetFunction string `protobuf:"bytes,2,opt,name=target_function,json=targetFunction,proto3" json:"target_function,omitempty"`
	// Parameter to pass to the target function
	Parameter []byte `protobuf:"bytes,3,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// Coins transferred to the target address during the call
	Coins *NativeAmount `protobuf:"bytes,4,opt,name=coins,proto3" json:"coins,omitempty"`
	// contains filtered or unexported fields
}

Execute a function call

func (*FunctionCall) Descriptor deprecated

func (*FunctionCall) Descriptor() ([]byte, []int)

Deprecated: Use FunctionCall.ProtoReflect.Descriptor instead.

func (*FunctionCall) GetCoins

func (x *FunctionCall) GetCoins() *NativeAmount

func (*FunctionCall) GetParameter

func (x *FunctionCall) GetParameter() []byte

func (*FunctionCall) GetTargetAddress

func (x *FunctionCall) GetTargetAddress() string

func (*FunctionCall) GetTargetFunction

func (x *FunctionCall) GetTargetFunction() string

func (*FunctionCall) ProtoMessage

func (*FunctionCall) ProtoMessage()

func (*FunctionCall) ProtoReflect

func (x *FunctionCall) ProtoReflect() protoreflect.Message

func (*FunctionCall) Reset

func (x *FunctionCall) Reset()

func (*FunctionCall) String

func (x *FunctionCall) String() string

type IndexedSlot

type IndexedSlot struct {

	// Slot
	Slot *Slot `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// Endorsement index in the slot
	Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

When an address is drawn to create an endorsement it is selected for a specific index

func (*IndexedSlot) Descriptor deprecated

func (*IndexedSlot) Descriptor() ([]byte, []int)

Deprecated: Use IndexedSlot.ProtoReflect.Descriptor instead.

func (*IndexedSlot) GetIndex

func (x *IndexedSlot) GetIndex() uint64

func (*IndexedSlot) GetSlot

func (x *IndexedSlot) GetSlot() *Slot

func (*IndexedSlot) ProtoMessage

func (*IndexedSlot) ProtoMessage()

func (*IndexedSlot) ProtoReflect

func (x *IndexedSlot) ProtoReflect() protoreflect.Message

func (*IndexedSlot) Reset

func (x *IndexedSlot) Reset()

func (*IndexedSlot) String

func (x *IndexedSlot) String() string

type KeyPair

type KeyPair struct {

	// Public key
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Secret key
	SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// contains filtered or unexported fields
}

KeyPair

func (*KeyPair) Descriptor deprecated

func (*KeyPair) Descriptor() ([]byte, []int)

Deprecated: Use KeyPair.ProtoReflect.Descriptor instead.

func (*KeyPair) GetPublicKey

func (x *KeyPair) GetPublicKey() string

func (*KeyPair) GetSecretKey

func (x *KeyPair) GetSecretKey() string

func (*KeyPair) ProtoMessage

func (*KeyPair) ProtoMessage()

func (*KeyPair) ProtoReflect

func (x *KeyPair) ProtoReflect() protoreflect.Message

func (*KeyPair) Reset

func (x *KeyPair) Reset()

func (*KeyPair) String

func (x *KeyPair) String() string

type LedgerChangeEntry

type LedgerChangeEntry struct {

	// Address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Ledger message
	Value *LedgerChangeValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

LedgerChangeEntry

func (*LedgerChangeEntry) Descriptor deprecated

func (*LedgerChangeEntry) Descriptor() ([]byte, []int)

Deprecated: Use LedgerChangeEntry.ProtoReflect.Descriptor instead.

func (*LedgerChangeEntry) GetAddress

func (x *LedgerChangeEntry) GetAddress() string

func (*LedgerChangeEntry) GetValue

func (x *LedgerChangeEntry) GetValue() *LedgerChangeValue

func (*LedgerChangeEntry) ProtoMessage

func (*LedgerChangeEntry) ProtoMessage()

func (*LedgerChangeEntry) ProtoReflect

func (x *LedgerChangeEntry) ProtoReflect() protoreflect.Message

func (*LedgerChangeEntry) Reset

func (x *LedgerChangeEntry) Reset()

func (*LedgerChangeEntry) String

func (x *LedgerChangeEntry) String() string

type LedgerChangeType

type LedgerChangeType int32

LedgerChangeType type enum

const (
	LedgerChangeType_LEDGER_CHANGE_TYPE_UNSPECIFIED LedgerChangeType = 0 // Default enum value
	LedgerChangeType_LEDGER_CHANGE_TYPE_SET         LedgerChangeType = 1 // Set type
	LedgerChangeType_LEDGER_CHANGE_TYPE_UPDATE      LedgerChangeType = 2 // Update type
	LedgerChangeType_LEDGER_CHANGE_TYPE_DELETE      LedgerChangeType = 3 // Delete type
)

func (LedgerChangeType) Descriptor

func (LedgerChangeType) Enum

func (LedgerChangeType) EnumDescriptor deprecated

func (LedgerChangeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LedgerChangeType.Descriptor instead.

func (LedgerChangeType) Number

func (LedgerChangeType) String

func (x LedgerChangeType) String() string

func (LedgerChangeType) Type

type LedgerChangeValue

type LedgerChangeValue struct {

	// The type of the change
	Type LedgerChangeType `protobuf:"varint,1,opt,name=type,proto3,enum=massa.model.v1.LedgerChangeType" json:"type,omitempty"`
	// LedgerEntry or LedgerEntryUpdate
	//
	// Types that are assignable to Entry:
	//
	//	*LedgerChangeValue_CreatedEntry
	//	*LedgerChangeValue_UpdatedEntry
	Entry isLedgerChangeValue_Entry `protobuf_oneof:"entry"`
	// contains filtered or unexported fields
}

LedgerChangeValue

func (*LedgerChangeValue) Descriptor deprecated

func (*LedgerChangeValue) Descriptor() ([]byte, []int)

Deprecated: Use LedgerChangeValue.ProtoReflect.Descriptor instead.

func (*LedgerChangeValue) GetCreatedEntry

func (x *LedgerChangeValue) GetCreatedEntry() *LedgerEntry

func (*LedgerChangeValue) GetEntry

func (m *LedgerChangeValue) GetEntry() isLedgerChangeValue_Entry

func (*LedgerChangeValue) GetType

func (x *LedgerChangeValue) GetType() LedgerChangeType

func (*LedgerChangeValue) GetUpdatedEntry

func (x *LedgerChangeValue) GetUpdatedEntry() *LedgerEntryUpdate

func (*LedgerChangeValue) ProtoMessage

func (*LedgerChangeValue) ProtoMessage()

func (*LedgerChangeValue) ProtoReflect

func (x *LedgerChangeValue) ProtoReflect() protoreflect.Message

func (*LedgerChangeValue) Reset

func (x *LedgerChangeValue) Reset()

func (*LedgerChangeValue) String

func (x *LedgerChangeValue) String() string

type LedgerChangeValue_CreatedEntry

type LedgerChangeValue_CreatedEntry struct {
	// Created ledger entry
	CreatedEntry *LedgerEntry `protobuf:"bytes,2,opt,name=created_entry,json=createdEntry,proto3,oneof"`
}

type LedgerChangeValue_UpdatedEntry

type LedgerChangeValue_UpdatedEntry struct {
	// Update ledger entry
	UpdatedEntry *LedgerEntryUpdate `protobuf:"bytes,3,opt,name=updated_entry,json=updatedEntry,proto3,oneof"`
}

type LedgerEntry

type LedgerEntry struct {

	// The balance of that entry
	Balance *NativeAmount `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// Executable bytecode
	Bytecode []byte `protobuf:"bytes,2,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	// A key-value store associating a hash to arbitrary bytes
	Datastore []*BytesMapFieldEntry `protobuf:"bytes,3,rep,name=datastore,proto3" json:"datastore,omitempty"`
	// contains filtered or unexported fields
}

An entry associated to an address in the `FinalLedger`

func (*LedgerEntry) Descriptor deprecated

func (*LedgerEntry) Descriptor() ([]byte, []int)

Deprecated: Use LedgerEntry.ProtoReflect.Descriptor instead.

func (*LedgerEntry) GetBalance

func (x *LedgerEntry) GetBalance() *NativeAmount

func (*LedgerEntry) GetBytecode

func (x *LedgerEntry) GetBytecode() []byte

func (*LedgerEntry) GetDatastore

func (x *LedgerEntry) GetDatastore() []*BytesMapFieldEntry

func (*LedgerEntry) ProtoMessage

func (*LedgerEntry) ProtoMessage()

func (*LedgerEntry) ProtoReflect

func (x *LedgerEntry) ProtoReflect() protoreflect.Message

func (*LedgerEntry) Reset

func (x *LedgerEntry) Reset()

func (*LedgerEntry) String

func (x *LedgerEntry) String() string

type LedgerEntryUpdate

type LedgerEntryUpdate struct {

	// Change the balance
	Balance *SetOrKeepBalance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// Change the executable bytecode
	Bytecode *SetOrKeepBytes `protobuf:"bytes,2,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	// Change datastore entries
	Datastore []*SetOrDeleteDatastoreEntry `protobuf:"bytes,3,rep,name=datastore,proto3" json:"datastore,omitempty"`
	// contains filtered or unexported fields
}

Represents an update to one or more fields of a `LedgerEntry`

func (*LedgerEntryUpdate) Descriptor deprecated

func (*LedgerEntryUpdate) Descriptor() ([]byte, []int)

Deprecated: Use LedgerEntryUpdate.ProtoReflect.Descriptor instead.

func (*LedgerEntryUpdate) GetBalance

func (x *LedgerEntryUpdate) GetBalance() *SetOrKeepBalance

func (*LedgerEntryUpdate) GetBytecode

func (x *LedgerEntryUpdate) GetBytecode() *SetOrKeepBytes

func (*LedgerEntryUpdate) GetDatastore

func (x *LedgerEntryUpdate) GetDatastore() []*SetOrDeleteDatastoreEntry

func (*LedgerEntryUpdate) ProtoMessage

func (*LedgerEntryUpdate) ProtoMessage()

func (*LedgerEntryUpdate) ProtoReflect

func (x *LedgerEntryUpdate) ProtoReflect() protoreflect.Message

func (*LedgerEntryUpdate) Reset

func (x *LedgerEntryUpdate) Reset()

func (*LedgerEntryUpdate) String

func (x *LedgerEntryUpdate) String() string

type MipComponent

type MipComponent int32

Versioning component enum

const (
	MipComponent_MIP_COMPONENT_UNSPECIFIED MipComponent = 0 // Default enum value
	MipComponent_MIP_COMPONENT_ADDRESS     MipComponent = 1 // Address component
	MipComponent_MIP_COMPONENT_KEYPAIR     MipComponent = 2 // Keypair component
)

func (MipComponent) Descriptor

func (MipComponent) Enum

func (x MipComponent) Enum() *MipComponent

func (MipComponent) EnumDescriptor deprecated

func (MipComponent) EnumDescriptor() ([]byte, []int)

Deprecated: Use MipComponent.Descriptor instead.

func (MipComponent) Number

func (MipComponent) String

func (x MipComponent) String() string

func (MipComponent) Type

type MipComponentEntry

type MipComponentEntry struct {

	// Kind
	Kind MipComponent `protobuf:"varint,1,opt,name=kind,proto3,enum=massa.model.v1.MipComponent" json:"kind,omitempty"`
	// Version
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

MipComponentEntry

func (*MipComponentEntry) Descriptor deprecated

func (*MipComponentEntry) Descriptor() ([]byte, []int)

Deprecated: Use MipComponentEntry.ProtoReflect.Descriptor instead.

func (*MipComponentEntry) GetKind

func (x *MipComponentEntry) GetKind() MipComponent

func (*MipComponentEntry) GetVersion

func (x *MipComponentEntry) GetVersion() uint32

func (*MipComponentEntry) ProtoMessage

func (*MipComponentEntry) ProtoMessage()

func (*MipComponentEntry) ProtoReflect

func (x *MipComponentEntry) ProtoReflect() protoreflect.Message

func (*MipComponentEntry) Reset

func (x *MipComponentEntry) Reset()

func (*MipComponentEntry) String

func (x *MipComponentEntry) String() string

type MipInfo

type MipInfo struct {

	// MIP name or descriptive name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Network (or global) version (to be included in block header)
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// A timestamp at which the version gains its meaning (e.g. announced in block header)
	Start *NativeTime `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	// A timestamp at the which the deployment is considered failed
	Timeout *NativeTime `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Once deployment has been locked, wait for this duration before deployment is considered active
	ActivationDelay *NativeTime `protobuf:"bytes,5,opt,name=activation_delay,json=activationDelay,proto3" json:"activation_delay,omitempty"`
	// Components concerned by this versioning (e.g. a new Block version), and the associated component_version
	Components []*MipComponentEntry `protobuf:"bytes,6,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

MIP info (name & versions & time range for a MIP)

func (*MipInfo) Descriptor deprecated

func (*MipInfo) Descriptor() ([]byte, []int)

Deprecated: Use MipInfo.ProtoReflect.Descriptor instead.

func (*MipInfo) GetActivationDelay

func (x *MipInfo) GetActivationDelay() *NativeTime

func (*MipInfo) GetComponents

func (x *MipInfo) GetComponents() []*MipComponentEntry

func (*MipInfo) GetName

func (x *MipInfo) GetName() string

func (*MipInfo) GetStart

func (x *MipInfo) GetStart() *NativeTime

func (*MipInfo) GetTimeout

func (x *MipInfo) GetTimeout() *NativeTime

func (*MipInfo) GetVersion

func (x *MipInfo) GetVersion() uint32

func (*MipInfo) ProtoMessage

func (*MipInfo) ProtoMessage()

func (*MipInfo) ProtoReflect

func (x *MipInfo) ProtoReflect() protoreflect.Message

func (*MipInfo) Reset

func (x *MipInfo) Reset()

func (*MipInfo) String

func (x *MipInfo) String() string

type MipStatusEntry

type MipStatusEntry struct {

	// Mip info
	MipInfo *MipInfo `protobuf:"bytes,1,opt,name=mip_info,json=mipInfo,proto3" json:"mip_info,omitempty"`
	// State id
	StateId ComponentStateId `protobuf:"varint,2,opt,name=state_id,json=stateId,proto3,enum=massa.model.v1.ComponentStateId" json:"state_id,omitempty"`
	// contains filtered or unexported fields
}

Entry for GetMipStatusResponse

func (*MipStatusEntry) Descriptor deprecated

func (*MipStatusEntry) Descriptor() ([]byte, []int)

Deprecated: Use MipStatusEntry.ProtoReflect.Descriptor instead.

func (*MipStatusEntry) GetMipInfo

func (x *MipStatusEntry) GetMipInfo() *MipInfo

func (*MipStatusEntry) GetStateId

func (x *MipStatusEntry) GetStateId() ComponentStateId

func (*MipStatusEntry) ProtoMessage

func (*MipStatusEntry) ProtoMessage()

func (*MipStatusEntry) ProtoReflect

func (x *MipStatusEntry) ProtoReflect() protoreflect.Message

func (*MipStatusEntry) Reset

func (x *MipStatusEntry) Reset()

func (*MipStatusEntry) String

func (x *MipStatusEntry) String() string

type NativeAddress

type NativeAddress struct {

	// Address category
	Category AddressCategory `protobuf:"varint,1,opt,name=category,proto3,enum=massa.model.v1.AddressCategory" json:"category,omitempty"`
	// Address version
	Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Address content
	Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

Massa NativeAddress

func (*NativeAddress) Descriptor deprecated

func (*NativeAddress) Descriptor() ([]byte, []int)

Deprecated: Use NativeAddress.ProtoReflect.Descriptor instead.

func (*NativeAddress) GetCategory

func (x *NativeAddress) GetCategory() AddressCategory

func (*NativeAddress) GetContent

func (x *NativeAddress) GetContent() []byte

func (*NativeAddress) GetVersion

func (x *NativeAddress) GetVersion() uint64

func (*NativeAddress) ProtoMessage

func (*NativeAddress) ProtoMessage()

func (*NativeAddress) ProtoReflect

func (x *NativeAddress) ProtoReflect() protoreflect.Message

func (*NativeAddress) Reset

func (x *NativeAddress) Reset()

func (*NativeAddress) String

func (x *NativeAddress) String() string

type NativeAmount

type NativeAmount struct {

	// Mantissa
	Mantissa uint64 `protobuf:"varint,1,opt,name=mantissa,proto3" json:"mantissa,omitempty"`
	// Scale
	Scale uint32 `protobuf:"varint,2,opt,name=scale,proto3" json:"scale,omitempty"`
	// contains filtered or unexported fields
}

NativeAmount is represented as a fraction so precision can be adjusted in the future. value = mantissa / (10^scale)

func (*NativeAmount) Descriptor deprecated

func (*NativeAmount) Descriptor() ([]byte, []int)

Deprecated: Use NativeAmount.ProtoReflect.Descriptor instead.

func (*NativeAmount) GetMantissa

func (x *NativeAmount) GetMantissa() uint64

func (*NativeAmount) GetScale

func (x *NativeAmount) GetScale() uint32

func (*NativeAmount) ProtoMessage

func (*NativeAmount) ProtoMessage()

func (*NativeAmount) ProtoReflect

func (x *NativeAmount) ProtoReflect() protoreflect.Message

func (*NativeAmount) Reset

func (x *NativeAmount) Reset()

func (*NativeAmount) String

func (x *NativeAmount) String() string

type NativeTime

type NativeTime struct {

	// Milliseconds
	Milliseconds uint64 `protobuf:"varint,1,opt,name=milliseconds,proto3" json:"milliseconds,omitempty"`
	// contains filtered or unexported fields
}

NativeTime represents a native duration or unix timestamp

func (*NativeTime) Descriptor deprecated

func (*NativeTime) Descriptor() ([]byte, []int)

Deprecated: Use NativeTime.ProtoReflect.Descriptor instead.

func (*NativeTime) GetMilliseconds

func (x *NativeTime) GetMilliseconds() uint64

func (*NativeTime) ProtoMessage

func (*NativeTime) ProtoMessage()

func (*NativeTime) ProtoReflect

func (x *NativeTime) ProtoReflect() protoreflect.Message

func (*NativeTime) Reset

func (x *NativeTime) Reset()

func (*NativeTime) String

func (x *NativeTime) String() string

type NetworkStats

type NetworkStats struct {

	// In connections count
	InConnectionCount uint64 `protobuf:"varint,1,opt,name=in_connection_count,json=inConnectionCount,proto3" json:"in_connection_count,omitempty"`
	// Out connections count
	OutConnectionCount uint64 `protobuf:"varint,2,opt,name=out_connection_count,json=outConnectionCount,proto3" json:"out_connection_count,omitempty"`
	// Total known peers count
	KnownPeerCount uint64 `protobuf:"varint,3,opt,name=known_peer_count,json=knownPeerCount,proto3" json:"known_peer_count,omitempty"`
	// Banned node count
	BannedPeerCount uint64 `protobuf:"varint,4,opt,name=banned_peer_count,json=bannedPeerCount,proto3" json:"banned_peer_count,omitempty"`
	// Active node count
	ActiveNodeCount uint64 `protobuf:"varint,5,opt,name=active_node_count,json=activeNodeCount,proto3" json:"active_node_count,omitempty"`
	// contains filtered or unexported fields
}

Network statistics

func (*NetworkStats) Descriptor deprecated

func (*NetworkStats) Descriptor() ([]byte, []int)

Deprecated: Use NetworkStats.ProtoReflect.Descriptor instead.

func (*NetworkStats) GetActiveNodeCount

func (x *NetworkStats) GetActiveNodeCount() uint64

func (*NetworkStats) GetBannedPeerCount

func (x *NetworkStats) GetBannedPeerCount() uint64

func (*NetworkStats) GetInConnectionCount

func (x *NetworkStats) GetInConnectionCount() uint64

func (*NetworkStats) GetKnownPeerCount

func (x *NetworkStats) GetKnownPeerCount() uint64

func (*NetworkStats) GetOutConnectionCount

func (x *NetworkStats) GetOutConnectionCount() uint64

func (*NetworkStats) ProtoMessage

func (*NetworkStats) ProtoMessage()

func (*NetworkStats) ProtoReflect

func (x *NetworkStats) ProtoReflect() protoreflect.Message

func (*NetworkStats) Reset

func (x *NetworkStats) Reset()

func (*NetworkStats) String

func (x *NetworkStats) String() string

type NodeStatus

type NodeStatus struct {

	// Our node id
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Optional node ip
	NodeIp string `protobuf:"bytes,2,opt,name=node_ip,json=nodeIp,proto3" json:"node_ip,omitempty"`
	// Node version
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Now
	CurrentTime *NativeTime `protobuf:"bytes,4,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"`
	// Current cycle
	CurrentCycle uint64 `protobuf:"varint,5,opt,name=current_cycle,json=currentCycle,proto3" json:"current_cycle,omitempty"`
	// Current cycle starting timestamp
	CurrentCycleTime *NativeTime `protobuf:"bytes,6,opt,name=current_cycle_time,json=currentCycleTime,proto3" json:"current_cycle_time,omitempty"`
	// Next cycle starting timestamp
	NextCycleTime *NativeTime `protobuf:"bytes,7,opt,name=next_cycle_time,json=nextCycleTime,proto3" json:"next_cycle_time,omitempty"`
	// Connected nodes
	ConnectedNodes []*ConnectedNode `protobuf:"bytes,8,rep,name=connected_nodes,json=connectedNodes,proto3" json:"connected_nodes,omitempty"`
	// Last executed final slot
	LastExecutedFinalSlot *Slot `` /* 128-byte string literal not displayed */
	// Last executed speculative slot
	LastExecutedSpeculativeSlot *Slot `` /* 147-byte string literal not displayed */
	// The hash of the XOF final state hash
	FinalStateFingerprint string `` /* 127-byte string literal not displayed */
	// Consensus stats
	ConsensusStats *ConsensusStats `protobuf:"bytes,12,opt,name=consensus_stats,json=consensusStats,proto3" json:"consensus_stats,omitempty"`
	// Pool stats (operation count and endorsement count)
	PoolStats *PoolStats `protobuf:"bytes,13,opt,name=pool_stats,json=poolStats,proto3" json:"pool_stats,omitempty"`
	// Network stats
	NetworkStats *NetworkStats `protobuf:"bytes,14,opt,name=network_stats,json=networkStats,proto3" json:"network_stats,omitempty"`
	// Execution stats
	ExecutionStats *ExecutionStats `protobuf:"bytes,15,opt,name=execution_stats,json=executionStats,proto3" json:"execution_stats,omitempty"`
	// Compact configuration
	Config *CompactConfig `protobuf:"bytes,16,opt,name=config,proto3" json:"config,omitempty"`
	// Chain id
	ChainId uint64 `protobuf:"varint,17,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

Node status

func (*NodeStatus) Descriptor deprecated

func (*NodeStatus) Descriptor() ([]byte, []int)

Deprecated: Use NodeStatus.ProtoReflect.Descriptor instead.

func (*NodeStatus) GetChainId

func (x *NodeStatus) GetChainId() uint64

func (*NodeStatus) GetConfig

func (x *NodeStatus) GetConfig() *CompactConfig

func (*NodeStatus) GetConnectedNodes

func (x *NodeStatus) GetConnectedNodes() []*ConnectedNode

func (*NodeStatus) GetConsensusStats

func (x *NodeStatus) GetConsensusStats() *ConsensusStats

func (*NodeStatus) GetCurrentCycle

func (x *NodeStatus) GetCurrentCycle() uint64

func (*NodeStatus) GetCurrentCycleTime

func (x *NodeStatus) GetCurrentCycleTime() *NativeTime

func (*NodeStatus) GetCurrentTime

func (x *NodeStatus) GetCurrentTime() *NativeTime

func (*NodeStatus) GetExecutionStats

func (x *NodeStatus) GetExecutionStats() *ExecutionStats

func (*NodeStatus) GetFinalStateFingerprint

func (x *NodeStatus) GetFinalStateFingerprint() string

func (*NodeStatus) GetLastExecutedFinalSlot

func (x *NodeStatus) GetLastExecutedFinalSlot() *Slot

func (*NodeStatus) GetLastExecutedSpeculativeSlot

func (x *NodeStatus) GetLastExecutedSpeculativeSlot() *Slot

func (*NodeStatus) GetNetworkStats

func (x *NodeStatus) GetNetworkStats() *NetworkStats

func (*NodeStatus) GetNextCycleTime

func (x *NodeStatus) GetNextCycleTime() *NativeTime

func (*NodeStatus) GetNodeId

func (x *NodeStatus) GetNodeId() string

func (*NodeStatus) GetNodeIp

func (x *NodeStatus) GetNodeIp() string

func (*NodeStatus) GetPoolStats

func (x *NodeStatus) GetPoolStats() *PoolStats

func (*NodeStatus) GetVersion

func (x *NodeStatus) GetVersion() string

func (*NodeStatus) ProtoMessage

func (*NodeStatus) ProtoMessage()

func (*NodeStatus) ProtoReflect

func (x *NodeStatus) ProtoReflect() protoreflect.Message

func (*NodeStatus) Reset

func (x *NodeStatus) Reset()

func (*NodeStatus) String

func (x *NodeStatus) String() string

type OpType

type OpType int32

Operation type enum

const (
	OpType_OP_TYPE_UNSPECIFIED OpType = 0 // Default enum value
	OpType_OP_TYPE_TRANSACTION OpType = 1 // Transaction
	OpType_OP_TYPE_ROLL_BUY    OpType = 2 // Roll buy
	OpType_OP_TYPE_ROLL_SELL   OpType = 3 // Roll sell
	OpType_OP_TYPE_EXECUTE_SC  OpType = 4 // Execute smart contract
	OpType_OP_TYPE_CALL_SC     OpType = 5 // Call smart contract
)

func (OpType) Descriptor

func (OpType) Descriptor() protoreflect.EnumDescriptor

func (OpType) Enum

func (x OpType) Enum() *OpType

func (OpType) EnumDescriptor deprecated

func (OpType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OpType.Descriptor instead.

func (OpType) Number

func (x OpType) Number() protoreflect.EnumNumber

func (OpType) String

func (x OpType) String() string

func (OpType) Type

func (OpType) Type() protoreflect.EnumType

type OpTypes

type OpTypes struct {

	// Operations types
	OpTypes []OpType `protobuf:"varint,1,rep,packed,name=op_types,json=opTypes,proto3,enum=massa.model.v1.OpType" json:"op_types,omitempty"`
	// contains filtered or unexported fields
}

OpTypes

func (*OpTypes) Descriptor deprecated

func (*OpTypes) Descriptor() ([]byte, []int)

Deprecated: Use OpTypes.ProtoReflect.Descriptor instead.

func (*OpTypes) GetOpTypes

func (x *OpTypes) GetOpTypes() []OpType

func (*OpTypes) ProtoMessage

func (*OpTypes) ProtoMessage()

func (*OpTypes) ProtoReflect

func (x *OpTypes) ProtoReflect() protoreflect.Message

func (*OpTypes) Reset

func (x *OpTypes) Reset()

func (*OpTypes) String

func (x *OpTypes) String() string

type Operation

type Operation struct {

	// The fee they have decided for this operation
	Fee *NativeAmount `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
	// After `expire_period` slot the operation won't be included in a block
	ExpirePeriod uint64 `protobuf:"varint,2,opt,name=expire_period,json=expirePeriod,proto3" json:"expire_period,omitempty"`
	// The type specific operation part
	Op *OperationType `protobuf:"bytes,3,opt,name=op,proto3" json:"op,omitempty"`
	// contains filtered or unexported fields
}

The operation as sent in the network

func (*Operation) Descriptor deprecated

func (*Operation) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetExpirePeriod

func (x *Operation) GetExpirePeriod() uint64

func (*Operation) GetFee

func (x *Operation) GetFee() *NativeAmount

func (*Operation) GetOp

func (x *Operation) GetOp() *OperationType

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type OperationExecutionStatus

type OperationExecutionStatus int32

OperationExecutionStatus type enum

const (
	OperationExecutionStatus_OPERATION_EXECUTION_STATUS_UNSPECIFIED OperationExecutionStatus = 0 // Default enum value
	OperationExecutionStatus_OPERATION_EXECUTION_STATUS_SUCCESS     OperationExecutionStatus = 1 // Success status
	OperationExecutionStatus_OPERATION_EXECUTION_STATUS_FAILED      OperationExecutionStatus = 2 // Failed only status
)

func (OperationExecutionStatus) Descriptor

func (OperationExecutionStatus) Enum

func (OperationExecutionStatus) EnumDescriptor deprecated

func (OperationExecutionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperationExecutionStatus.Descriptor instead.

func (OperationExecutionStatus) Number

func (OperationExecutionStatus) String

func (x OperationExecutionStatus) String() string

func (OperationExecutionStatus) Type

type OperationIds

type OperationIds struct {

	// Operations ids
	OperationIds []string `protobuf:"bytes,1,rep,name=operation_ids,json=operationIds,proto3" json:"operation_ids,omitempty"`
	// contains filtered or unexported fields
}

OperationIds

func (*OperationIds) Descriptor deprecated

func (*OperationIds) Descriptor() ([]byte, []int)

Deprecated: Use OperationIds.ProtoReflect.Descriptor instead.

func (*OperationIds) GetOperationIds

func (x *OperationIds) GetOperationIds() []string

func (*OperationIds) ProtoMessage

func (*OperationIds) ProtoMessage()

func (*OperationIds) ProtoReflect

func (x *OperationIds) ProtoReflect() protoreflect.Message

func (*OperationIds) Reset

func (x *OperationIds) Reset()

func (*OperationIds) String

func (x *OperationIds) String() string

type OperationInfo

type OperationInfo struct {

	// The unique ID of the operation.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The IDs of the blocks in which the operation appears
	BlockIds []string `protobuf:"bytes,2,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"`
	// The thread in which the operation can be included
	Thread uint32 `protobuf:"varint,3,opt,name=thread,proto3" json:"thread,omitempty"`
	// contains filtered or unexported fields
}

Information about an operation with its metadata

func (*OperationInfo) Descriptor deprecated

func (*OperationInfo) Descriptor() ([]byte, []int)

Deprecated: Use OperationInfo.ProtoReflect.Descriptor instead.

func (*OperationInfo) GetBlockIds

func (x *OperationInfo) GetBlockIds() []string

func (*OperationInfo) GetId

func (x *OperationInfo) GetId() string

func (*OperationInfo) GetThread

func (x *OperationInfo) GetThread() uint32

func (*OperationInfo) ProtoMessage

func (*OperationInfo) ProtoMessage()

func (*OperationInfo) ProtoReflect

func (x *OperationInfo) ProtoReflect() protoreflect.Message

func (*OperationInfo) Reset

func (x *OperationInfo) Reset()

func (*OperationInfo) String

func (x *OperationInfo) String() string

type OperationType

type OperationType struct {

	// Types that are assignable to Type:
	//
	//	*OperationType_Transaction
	//	*OperationType_RollBuy
	//	*OperationType_RollSell
	//	*OperationType_ExecutSc
	//	*OperationType_CallSc
	Type isOperationType_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Type specific operation content

func (*OperationType) Descriptor deprecated

func (*OperationType) Descriptor() ([]byte, []int)

Deprecated: Use OperationType.ProtoReflect.Descriptor instead.

func (*OperationType) GetCallSc

func (x *OperationType) GetCallSc() *CallSC

func (*OperationType) GetExecutSc

func (x *OperationType) GetExecutSc() *ExecuteSC

func (*OperationType) GetRollBuy

func (x *OperationType) GetRollBuy() *RollBuy

func (*OperationType) GetRollSell

func (x *OperationType) GetRollSell() *RollSell

func (*OperationType) GetTransaction

func (x *OperationType) GetTransaction() *Transaction

func (*OperationType) GetType

func (m *OperationType) GetType() isOperationType_Type

func (*OperationType) ProtoMessage

func (*OperationType) ProtoMessage()

func (*OperationType) ProtoReflect

func (x *OperationType) ProtoReflect() protoreflect.Message

func (*OperationType) Reset

func (x *OperationType) Reset()

func (*OperationType) String

func (x *OperationType) String() string

type OperationType_CallSc

type OperationType_CallSc struct {
	// Calls an exported function from a stored smart contract
	CallSc *CallSC `protobuf:"bytes,5,opt,name=call_sc,json=callSc,proto3,oneof"`
}

type OperationType_ExecutSc

type OperationType_ExecutSc struct {
	// Execute a smart contract
	ExecutSc *ExecuteSC `protobuf:"bytes,4,opt,name=execut_sc,json=executSc,proto3,oneof"`
}

type OperationType_RollBuy

type OperationType_RollBuy struct {
	// The sender buys `roll_count` rolls. Roll price is defined in configuration
	RollBuy *RollBuy `protobuf:"bytes,2,opt,name=roll_buy,json=rollBuy,proto3,oneof"`
}

type OperationType_RollSell

type OperationType_RollSell struct {
	// The sender sells `roll_count` rolls. Roll price is defined in configuration
	RollSell *RollSell `protobuf:"bytes,3,opt,name=roll_sell,json=rollSell,proto3,oneof"`
}

type OperationType_Transaction

type OperationType_Transaction struct {
	// Transfer coins from sender to recipient
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3,oneof"`
}

type OperationWrapper

type OperationWrapper struct {

	// The IDs of the blocks in which the operation appears
	BlockIds []string `protobuf:"bytes,1,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"`
	// The thread in which the operation can be included
	Thread uint32 `protobuf:"varint,2,opt,name=thread,proto3" json:"thread,omitempty"`
	// The operation object itself
	Operation *SignedOperation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

A wrapper around an operation with its metadata

func (*OperationWrapper) Descriptor deprecated

func (*OperationWrapper) Descriptor() ([]byte, []int)

Deprecated: Use OperationWrapper.ProtoReflect.Descriptor instead.

func (*OperationWrapper) GetBlockIds

func (x *OperationWrapper) GetBlockIds() []string

func (*OperationWrapper) GetOperation

func (x *OperationWrapper) GetOperation() *SignedOperation

func (*OperationWrapper) GetThread

func (x *OperationWrapper) GetThread() uint32

func (*OperationWrapper) ProtoMessage

func (*OperationWrapper) ProtoMessage()

func (*OperationWrapper) ProtoReflect

func (x *OperationWrapper) ProtoReflect() protoreflect.Message

func (*OperationWrapper) Reset

func (x *OperationWrapper) Reset()

func (*OperationWrapper) String

func (x *OperationWrapper) String() string

type PoolStats

type PoolStats struct {

	// Endorsements
	EndorsementsCount uint64 `protobuf:"varint,1,opt,name=endorsements_count,json=endorsementsCount,proto3" json:"endorsements_count,omitempty"`
	// Operations
	OperationsCount uint64 `protobuf:"varint,2,opt,name=operations_count,json=operationsCount,proto3" json:"operations_count,omitempty"`
	// contains filtered or unexported fields
}

Pool statistics

func (*PoolStats) Descriptor deprecated

func (*PoolStats) Descriptor() ([]byte, []int)

Deprecated: Use PoolStats.ProtoReflect.Descriptor instead.

func (*PoolStats) GetEndorsementsCount

func (x *PoolStats) GetEndorsementsCount() uint64

func (*PoolStats) GetOperationsCount

func (x *PoolStats) GetOperationsCount() uint64

func (*PoolStats) ProtoMessage

func (*PoolStats) ProtoMessage()

func (*PoolStats) ProtoReflect

func (x *PoolStats) ProtoReflect() protoreflect.Message

func (*PoolStats) Reset

func (x *PoolStats) Reset()

func (*PoolStats) String

func (x *PoolStats) String() string

type PublicStatus

type PublicStatus struct {

	// Our node id
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Node version
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Now
	CurrentTime *NativeTime `protobuf:"bytes,4,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"`
	// Current cycle
	CurrentCycle uint64 `protobuf:"varint,5,opt,name=current_cycle,json=currentCycle,proto3" json:"current_cycle,omitempty"`
	// Current cycle starting timestamp
	CurrentCycleTime *NativeTime `protobuf:"bytes,6,opt,name=current_cycle_time,json=currentCycleTime,proto3" json:"current_cycle_time,omitempty"`
	// Next cycle starting timestamp
	NextCycleTime *NativeTime `protobuf:"bytes,7,opt,name=next_cycle_time,json=nextCycleTime,proto3" json:"next_cycle_time,omitempty"`
	// Last executed final slot
	LastExecutedFinalSlot *Slot `` /* 128-byte string literal not displayed */
	// Last executed speculative slot
	LastExecutedSpeculativeSlot *Slot `` /* 146-byte string literal not displayed */
	// The hash of the XOF final state hash
	FinalStateFingerprint string `` /* 127-byte string literal not displayed */
	// Compact configuration
	Config *CompactConfig `protobuf:"bytes,11,opt,name=config,proto3" json:"config,omitempty"`
	// Chain id
	ChainId uint64 `protobuf:"varint,12,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// minimal fees
	MinimalFees *NativeAmount `protobuf:"bytes,13,opt,name=minimal_fees,json=minimalFees,proto3" json:"minimal_fees,omitempty"`
	// contains filtered or unexported fields
}

Public status

func (*PublicStatus) Descriptor deprecated

func (*PublicStatus) Descriptor() ([]byte, []int)

Deprecated: Use PublicStatus.ProtoReflect.Descriptor instead.

func (*PublicStatus) GetChainId

func (x *PublicStatus) GetChainId() uint64

func (*PublicStatus) GetConfig

func (x *PublicStatus) GetConfig() *CompactConfig

func (*PublicStatus) GetCurrentCycle

func (x *PublicStatus) GetCurrentCycle() uint64

func (*PublicStatus) GetCurrentCycleTime

func (x *PublicStatus) GetCurrentCycleTime() *NativeTime

func (*PublicStatus) GetCurrentTime

func (x *PublicStatus) GetCurrentTime() *NativeTime

func (*PublicStatus) GetFinalStateFingerprint

func (x *PublicStatus) GetFinalStateFingerprint() string

func (*PublicStatus) GetLastExecutedFinalSlot

func (x *PublicStatus) GetLastExecutedFinalSlot() *Slot

func (*PublicStatus) GetLastExecutedSpeculativeSlot

func (x *PublicStatus) GetLastExecutedSpeculativeSlot() *Slot

func (*PublicStatus) GetMinimalFees

func (x *PublicStatus) GetMinimalFees() *NativeAmount

func (*PublicStatus) GetNextCycleTime

func (x *PublicStatus) GetNextCycleTime() *NativeTime

func (*PublicStatus) GetNodeId

func (x *PublicStatus) GetNodeId() string

func (*PublicStatus) GetVersion

func (x *PublicStatus) GetVersion() string

func (*PublicStatus) ProtoMessage

func (*PublicStatus) ProtoMessage()

func (*PublicStatus) ProtoReflect

func (x *PublicStatus) ProtoReflect() protoreflect.Message

func (*PublicStatus) Reset

func (x *PublicStatus) Reset()

func (*PublicStatus) String

func (x *PublicStatus) String() string

type ReadOnlyExecutionCall

type ReadOnlyExecutionCall struct {

	// Maximum gas to spend in the execution.
	MaxGas uint64 `protobuf:"varint,1,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
	// Call stack to simulate, older caller first
	CallStack []*ExecutionStackElement `protobuf:"bytes,2,rep,name=call_stack,json=callStack,proto3" json:"call_stack,omitempty"`
	// Target of the call
	//
	// Types that are assignable to Target:
	//
	//	*ReadOnlyExecutionCall_BytecodeCall
	//	*ReadOnlyExecutionCall_FunctionCall
	Target isReadOnlyExecutionCall_Target `protobuf_oneof:"target"`
	// Caller's address, (Optional) if not set, an auto-generated address will be used
	CallerAddress *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"`
	// fee paid by the caller when the call is processed (optional)
	Fee *NativeAmount `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

Read-only execution call

func (*ReadOnlyExecutionCall) Descriptor deprecated

func (*ReadOnlyExecutionCall) Descriptor() ([]byte, []int)

Deprecated: Use ReadOnlyExecutionCall.ProtoReflect.Descriptor instead.

func (*ReadOnlyExecutionCall) GetBytecodeCall

func (x *ReadOnlyExecutionCall) GetBytecodeCall() *BytecodeExecution

func (*ReadOnlyExecutionCall) GetCallStack

func (x *ReadOnlyExecutionCall) GetCallStack() []*ExecutionStackElement

func (*ReadOnlyExecutionCall) GetCallerAddress

func (x *ReadOnlyExecutionCall) GetCallerAddress() *wrapperspb.StringValue

func (*ReadOnlyExecutionCall) GetFee

func (x *ReadOnlyExecutionCall) GetFee() *NativeAmount

func (*ReadOnlyExecutionCall) GetFunctionCall

func (x *ReadOnlyExecutionCall) GetFunctionCall() *FunctionCall

func (*ReadOnlyExecutionCall) GetMaxGas

func (x *ReadOnlyExecutionCall) GetMaxGas() uint64

func (*ReadOnlyExecutionCall) GetTarget

func (m *ReadOnlyExecutionCall) GetTarget() isReadOnlyExecutionCall_Target

func (*ReadOnlyExecutionCall) ProtoMessage

func (*ReadOnlyExecutionCall) ProtoMessage()

func (*ReadOnlyExecutionCall) ProtoReflect

func (x *ReadOnlyExecutionCall) ProtoReflect() protoreflect.Message

func (*ReadOnlyExecutionCall) Reset

func (x *ReadOnlyExecutionCall) Reset()

func (*ReadOnlyExecutionCall) String

func (x *ReadOnlyExecutionCall) String() string

type ReadOnlyExecutionCall_BytecodeCall

type ReadOnlyExecutionCall_BytecodeCall struct {
	// Byte code
	BytecodeCall *BytecodeExecution `protobuf:"bytes,3,opt,name=bytecode_call,json=bytecodeCall,proto3,oneof"`
}

type ReadOnlyExecutionCall_FunctionCall

type ReadOnlyExecutionCall_FunctionCall struct {
	// Function call
	FunctionCall *FunctionCall `protobuf:"bytes,4,opt,name=function_call,json=functionCall,proto3,oneof"`
}

type ReadOnlyExecutionOutput

type ReadOnlyExecutionOutput struct {

	// Output of a single execution
	Out *ExecutionOutput `protobuf:"bytes,1,opt,name=out,proto3" json:"out,omitempty"`
	// Gas cost for this execution
	UsedGas uint64 `protobuf:"varint,2,opt,name=used_gas,json=usedGas,proto3" json:"used_gas,omitempty"`
	// Returned value from the module call
	CallResult []byte `protobuf:"bytes,3,opt,name=call_result,json=callResult,proto3" json:"call_result,omitempty"`
	// contains filtered or unexported fields
}

Structure describing the output of a read only execution

func (*ReadOnlyExecutionOutput) Descriptor deprecated

func (*ReadOnlyExecutionOutput) Descriptor() ([]byte, []int)

Deprecated: Use ReadOnlyExecutionOutput.ProtoReflect.Descriptor instead.

func (*ReadOnlyExecutionOutput) GetCallResult

func (x *ReadOnlyExecutionOutput) GetCallResult() []byte

func (*ReadOnlyExecutionOutput) GetOut

func (*ReadOnlyExecutionOutput) GetUsedGas

func (x *ReadOnlyExecutionOutput) GetUsedGas() uint64

func (*ReadOnlyExecutionOutput) ProtoMessage

func (*ReadOnlyExecutionOutput) ProtoMessage()

func (*ReadOnlyExecutionOutput) ProtoReflect

func (x *ReadOnlyExecutionOutput) ProtoReflect() protoreflect.Message

func (*ReadOnlyExecutionOutput) Reset

func (x *ReadOnlyExecutionOutput) Reset()

func (*ReadOnlyExecutionOutput) String

func (x *ReadOnlyExecutionOutput) String() string

type RollBuy

type RollBuy struct {

	// Roll count
	RollCount uint64 `protobuf:"varint,1,opt,name=roll_count,json=rollCount,proto3" json:"roll_count,omitempty"`
	// contains filtered or unexported fields
}

The sender buys `roll_count` rolls. Roll price is defined in configuration

func (*RollBuy) Descriptor deprecated

func (*RollBuy) Descriptor() ([]byte, []int)

Deprecated: Use RollBuy.ProtoReflect.Descriptor instead.

func (*RollBuy) GetRollCount

func (x *RollBuy) GetRollCount() uint64

func (*RollBuy) ProtoMessage

func (*RollBuy) ProtoMessage()

func (*RollBuy) ProtoReflect

func (x *RollBuy) ProtoReflect() protoreflect.Message

func (*RollBuy) Reset

func (x *RollBuy) Reset()

func (*RollBuy) String

func (x *RollBuy) String() string

type RollSell

type RollSell struct {

	// Roll count
	RollCount uint64 `protobuf:"varint,1,opt,name=roll_count,json=rollCount,proto3" json:"roll_count,omitempty"`
	// contains filtered or unexported fields
}

The sender sells `roll_count` rolls. Roll price is defined in configuration

func (*RollSell) Descriptor deprecated

func (*RollSell) Descriptor() ([]byte, []int)

Deprecated: Use RollSell.ProtoReflect.Descriptor instead.

func (*RollSell) GetRollCount

func (x *RollSell) GetRollCount() uint64

func (*RollSell) ProtoMessage

func (*RollSell) ProtoMessage()

func (*RollSell) ProtoReflect

func (x *RollSell) ProtoReflect() protoreflect.Message

func (*RollSell) Reset

func (x *RollSell) Reset()

func (*RollSell) String

func (x *RollSell) String() string

type ScExecutionEvent

type ScExecutionEvent struct {

	// Sc execution context
	Context *ScExecutionEventContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// Generated data of the event
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

ScExecutionEvent

func (*ScExecutionEvent) Descriptor deprecated

func (*ScExecutionEvent) Descriptor() ([]byte, []int)

Deprecated: Use ScExecutionEvent.ProtoReflect.Descriptor instead.

func (*ScExecutionEvent) GetContext

func (x *ScExecutionEvent) GetContext() *ScExecutionEventContext

func (*ScExecutionEvent) GetData

func (x *ScExecutionEvent) GetData() []byte

func (*ScExecutionEvent) ProtoMessage

func (*ScExecutionEvent) ProtoMessage()

func (*ScExecutionEvent) ProtoReflect

func (x *ScExecutionEvent) ProtoReflect() protoreflect.Message

func (*ScExecutionEvent) Reset

func (x *ScExecutionEvent) Reset()

func (*ScExecutionEvent) String

func (x *ScExecutionEvent) String() string

type ScExecutionEventContext

type ScExecutionEventContext struct {

	// When was it generated
	OriginSlot *Slot `protobuf:"bytes,1,opt,name=origin_slot,json=originSlot,proto3" json:"origin_slot,omitempty"`
	// Block id if there was a block at that slot (Optional)
	BlockId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	// Index of the event in the slot
	IndexInSlot uint64 `protobuf:"varint,3,opt,name=index_in_slot,json=indexInSlot,proto3" json:"index_in_slot,omitempty"`
	// Call stack addresses. most recent at the end
	CallStack []string `protobuf:"bytes,4,rep,name=call_stack,json=callStack,proto3" json:"call_stack,omitempty"`
	// Origin operation id (Optional)
	OriginOperationId *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=origin_operation_id,json=originOperationId,proto3" json:"origin_operation_id,omitempty"`
	// If a failure occurred
	IsFailure bool `protobuf:"varint,6,opt,name=is_failure,json=isFailure,proto3" json:"is_failure,omitempty"`
	// Status
	Status ScExecutionEventStatus `protobuf:"varint,7,opt,name=status,proto3,enum=massa.model.v1.ScExecutionEventStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

ScExecutionEvent context

func (*ScExecutionEventContext) Descriptor deprecated

func (*ScExecutionEventContext) Descriptor() ([]byte, []int)

Deprecated: Use ScExecutionEventContext.ProtoReflect.Descriptor instead.

func (*ScExecutionEventContext) GetBlockId

func (*ScExecutionEventContext) GetCallStack

func (x *ScExecutionEventContext) GetCallStack() []string

func (*ScExecutionEventContext) GetIndexInSlot

func (x *ScExecutionEventContext) GetIndexInSlot() uint64

func (*ScExecutionEventContext) GetIsFailure

func (x *ScExecutionEventContext) GetIsFailure() bool

func (*ScExecutionEventContext) GetOriginOperationId

func (x *ScExecutionEventContext) GetOriginOperationId() *wrapperspb.StringValue

func (*ScExecutionEventContext) GetOriginSlot

func (x *ScExecutionEventContext) GetOriginSlot() *Slot

func (*ScExecutionEventContext) GetStatus

func (*ScExecutionEventContext) ProtoMessage

func (*ScExecutionEventContext) ProtoMessage()

func (*ScExecutionEventContext) ProtoReflect

func (x *ScExecutionEventContext) ProtoReflect() protoreflect.Message

func (*ScExecutionEventContext) Reset

func (x *ScExecutionEventContext) Reset()

func (*ScExecutionEventContext) String

func (x *ScExecutionEventContext) String() string

type ScExecutionEventStatus

type ScExecutionEventStatus int32

ScExecutionEventStatus type enum

const (
	ScExecutionEventStatus_SC_EXECUTION_EVENT_STATUS_UNSPECIFIED ScExecutionEventStatus = 0 // Default enum value
	ScExecutionEventStatus_SC_EXECUTION_EVENT_STATUS_FINAL       ScExecutionEventStatus = 1 // Final status
	ScExecutionEventStatus_SC_EXECUTION_EVENT_STATUS_READ_ONLY   ScExecutionEventStatus = 2 // Read only status
	ScExecutionEventStatus_SC_EXECUTION_EVENT_STATUS_CANDIDATE   ScExecutionEventStatus = 3 // Candidate status
)

func (ScExecutionEventStatus) Descriptor

func (ScExecutionEventStatus) Enum

func (ScExecutionEventStatus) EnumDescriptor deprecated

func (ScExecutionEventStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ScExecutionEventStatus.Descriptor instead.

func (ScExecutionEventStatus) Number

func (ScExecutionEventStatus) String

func (x ScExecutionEventStatus) String() string

func (ScExecutionEventStatus) Type

type ScExecutionEventsStatus

type ScExecutionEventsStatus struct {

	// Status
	Status []ScExecutionEventStatus `protobuf:"varint,1,rep,packed,name=status,proto3,enum=massa.model.v1.ScExecutionEventStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

ScExecutionEventsStatus

func (*ScExecutionEventsStatus) Descriptor deprecated

func (*ScExecutionEventsStatus) Descriptor() ([]byte, []int)

Deprecated: Use ScExecutionEventsStatus.ProtoReflect.Descriptor instead.

func (*ScExecutionEventsStatus) GetStatus

func (*ScExecutionEventsStatus) ProtoMessage

func (*ScExecutionEventsStatus) ProtoMessage()

func (*ScExecutionEventsStatus) ProtoReflect

func (x *ScExecutionEventsStatus) ProtoReflect() protoreflect.Message

func (*ScExecutionEventsStatus) Reset

func (x *ScExecutionEventsStatus) Reset()

func (*ScExecutionEventsStatus) String

func (x *ScExecutionEventsStatus) String() string

type SetOrDeleteDatastoreEntry

type SetOrDeleteDatastoreEntry struct {

	// The type of the change
	//
	// Types that are assignable to Change:
	//
	//	*SetOrDeleteDatastoreEntry_Set
	//	*SetOrDeleteDatastoreEntry_Delete
	Change isSetOrDeleteDatastoreEntry_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

Set or Delete DatastoreEntry

func (*SetOrDeleteDatastoreEntry) Descriptor deprecated

func (*SetOrDeleteDatastoreEntry) Descriptor() ([]byte, []int)

Deprecated: Use SetOrDeleteDatastoreEntry.ProtoReflect.Descriptor instead.

func (*SetOrDeleteDatastoreEntry) GetChange

func (m *SetOrDeleteDatastoreEntry) GetChange() isSetOrDeleteDatastoreEntry_Change

func (*SetOrDeleteDatastoreEntry) GetDelete

func (x *SetOrDeleteDatastoreEntry) GetDelete() *Empty

func (*SetOrDeleteDatastoreEntry) GetSet

func (*SetOrDeleteDatastoreEntry) ProtoMessage

func (*SetOrDeleteDatastoreEntry) ProtoMessage()

func (*SetOrDeleteDatastoreEntry) ProtoReflect

func (*SetOrDeleteDatastoreEntry) Reset

func (x *SetOrDeleteDatastoreEntry) Reset()

func (*SetOrDeleteDatastoreEntry) String

func (x *SetOrDeleteDatastoreEntry) String() string

type SetOrDeleteDatastoreEntry_Delete

type SetOrDeleteDatastoreEntry_Delete struct {
	// Delete the existing bytecode
	Delete *Empty `protobuf:"bytes,2,opt,name=delete,proto3,oneof"`
}

type SetOrDeleteDatastoreEntry_Set

type SetOrDeleteDatastoreEntry_Set struct {
	// Executable bytecode (Optional)
	Set *BytesMapFieldEntry `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}

type SetOrKeepAsyncMessageTrigger

type SetOrKeepAsyncMessageTrigger struct {

	// The type of the change
	//
	// Types that are assignable to Change:
	//
	//	*SetOrKeepAsyncMessageTrigger_Set
	//	*SetOrKeepAsyncMessageTrigger_Keep
	Change isSetOrKeepAsyncMessageTrigger_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

Set or Keep AsyncMessageTrigger

func (*SetOrKeepAsyncMessageTrigger) Descriptor deprecated

func (*SetOrKeepAsyncMessageTrigger) Descriptor() ([]byte, []int)

Deprecated: Use SetOrKeepAsyncMessageTrigger.ProtoReflect.Descriptor instead.

func (*SetOrKeepAsyncMessageTrigger) GetChange

func (m *SetOrKeepAsyncMessageTrigger) GetChange() isSetOrKeepAsyncMessageTrigger_Change

func (*SetOrKeepAsyncMessageTrigger) GetKeep

func (x *SetOrKeepAsyncMessageTrigger) GetKeep() *Empty

func (*SetOrKeepAsyncMessageTrigger) GetSet

func (*SetOrKeepAsyncMessageTrigger) ProtoMessage

func (*SetOrKeepAsyncMessageTrigger) ProtoMessage()

func (*SetOrKeepAsyncMessageTrigger) ProtoReflect

func (*SetOrKeepAsyncMessageTrigger) Reset

func (x *SetOrKeepAsyncMessageTrigger) Reset()

func (*SetOrKeepAsyncMessageTrigger) String

type SetOrKeepAsyncMessageTrigger_Keep

type SetOrKeepAsyncMessageTrigger_Keep struct {
	// Keep the existing value
	Keep *Empty `protobuf:"bytes,2,opt,name=keep,proto3,oneof"`
}

type SetOrKeepAsyncMessageTrigger_Set

type SetOrKeepAsyncMessageTrigger_Set struct {
	// The value of that entry (Optional)
	Set *AsyncMessageTrigger `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}

type SetOrKeepBalance

type SetOrKeepBalance struct {

	// The type of the change
	//
	// Types that are assignable to Change:
	//
	//	*SetOrKeepBalance_Set
	//	*SetOrKeepBalance_Keep
	Change isSetOrKeepBalance_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

Set or Keep Balance

func (*SetOrKeepBalance) Descriptor deprecated

func (*SetOrKeepBalance) Descriptor() ([]byte, []int)

Deprecated: Use SetOrKeepBalance.ProtoReflect.Descriptor instead.

func (*SetOrKeepBalance) GetChange

func (m *SetOrKeepBalance) GetChange() isSetOrKeepBalance_Change

func (*SetOrKeepBalance) GetKeep

func (x *SetOrKeepBalance) GetKeep() *Empty

func (*SetOrKeepBalance) GetSet

func (x *SetOrKeepBalance) GetSet() *NativeAmount

func (*SetOrKeepBalance) ProtoMessage

func (*SetOrKeepBalance) ProtoMessage()

func (*SetOrKeepBalance) ProtoReflect

func (x *SetOrKeepBalance) ProtoReflect() protoreflect.Message

func (*SetOrKeepBalance) Reset

func (x *SetOrKeepBalance) Reset()

func (*SetOrKeepBalance) String

func (x *SetOrKeepBalance) String() string

type SetOrKeepBalance_Keep

type SetOrKeepBalance_Keep struct {
	// Keep the existing value
	Keep *Empty `protobuf:"bytes,2,opt,name=keep,proto3,oneof"`
}

type SetOrKeepBalance_Set

type SetOrKeepBalance_Set struct {
	// The value of that entry (Optional)
	Set *NativeAmount `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}

type SetOrKeepBool

type SetOrKeepBool struct {

	// The type of the change
	//
	// Types that are assignable to Change:
	//
	//	*SetOrKeepBool_Set
	//	*SetOrKeepBool_Keep
	Change isSetOrKeepBool_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

Set or Keep Bool

func (*SetOrKeepBool) Descriptor deprecated

func (*SetOrKeepBool) Descriptor() ([]byte, []int)

Deprecated: Use SetOrKeepBool.ProtoReflect.Descriptor instead.

func (*SetOrKeepBool) GetChange

func (m *SetOrKeepBool) GetChange() isSetOrKeepBool_Change

func (*SetOrKeepBool) GetKeep

func (x *SetOrKeepBool) GetKeep() *Empty

func (*SetOrKeepBool) GetSet

func (x *SetOrKeepBool) GetSet() *wrapperspb.BoolValue

func (*SetOrKeepBool) ProtoMessage

func (*SetOrKeepBool) ProtoMessage()

func (*SetOrKeepBool) ProtoReflect

func (x *SetOrKeepBool) ProtoReflect() protoreflect.Message

func (*SetOrKeepBool) Reset

func (x *SetOrKeepBool) Reset()

func (*SetOrKeepBool) String

func (x *SetOrKeepBool) String() string

type SetOrKeepBool_Keep

type SetOrKeepBool_Keep struct {
	// Keep the existing value
	Keep *Empty `protobuf:"bytes,2,opt,name=keep,proto3,oneof"`
}

type SetOrKeepBool_Set

type SetOrKeepBool_Set struct {
	// The value of that entry (Optional)
	Set *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}

type SetOrKeepBytes

type SetOrKeepBytes struct {

	// The type of the change
	//
	// Types that are assignable to Change:
	//
	//	*SetOrKeepBytes_Set
	//	*SetOrKeepBytes_Keep
	Change isSetOrKeepBytes_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

Set or Keep Bytes

func (*SetOrKeepBytes) Descriptor deprecated

func (*SetOrKeepBytes) Descriptor() ([]byte, []int)

Deprecated: Use SetOrKeepBytes.ProtoReflect.Descriptor instead.

func (*SetOrKeepBytes) GetChange

func (m *SetOrKeepBytes) GetChange() isSetOrKeepBytes_Change

func (*SetOrKeepBytes) GetKeep

func (x *SetOrKeepBytes) GetKeep() *Empty

func (*SetOrKeepBytes) GetSet

func (x *SetOrKeepBytes) GetSet() *wrapperspb.BytesValue

func (*SetOrKeepBytes) ProtoMessage

func (*SetOrKeepBytes) ProtoMessage()

func (*SetOrKeepBytes) ProtoReflect

func (x *SetOrKeepBytes) ProtoReflect() protoreflect.Message

func (*SetOrKeepBytes) Reset

func (x *SetOrKeepBytes) Reset()

func (*SetOrKeepBytes) String

func (x *SetOrKeepBytes) String() string

type SetOrKeepBytes_Keep

type SetOrKeepBytes_Keep struct {
	// Keep the existing value
	Keep *Empty `protobuf:"bytes,2,opt,name=keep,proto3,oneof"`
}

type SetOrKeepBytes_Set

type SetOrKeepBytes_Set struct {
	// The value of that entry (Optional)
	Set *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}

type SetOrKeepSlot

type SetOrKeepSlot struct {

	// The type of the change
	//
	// Types that are assignable to Change:
	//
	//	*SetOrKeepSlot_Set
	//	*SetOrKeepSlot_Keep
	Change isSetOrKeepSlot_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

Set or Keep Slot

func (*SetOrKeepSlot) Descriptor deprecated

func (*SetOrKeepSlot) Descriptor() ([]byte, []int)

Deprecated: Use SetOrKeepSlot.ProtoReflect.Descriptor instead.

func (*SetOrKeepSlot) GetChange

func (m *SetOrKeepSlot) GetChange() isSetOrKeepSlot_Change

func (*SetOrKeepSlot) GetKeep

func (x *SetOrKeepSlot) GetKeep() *Empty

func (*SetOrKeepSlot) GetSet

func (x *SetOrKeepSlot) GetSet() *Slot

func (*SetOrKeepSlot) ProtoMessage

func (*SetOrKeepSlot) ProtoMessage()

func (*SetOrKeepSlot) ProtoReflect

func (x *SetOrKeepSlot) ProtoReflect() protoreflect.Message

func (*SetOrKeepSlot) Reset

func (x *SetOrKeepSlot) Reset()

func (*SetOrKeepSlot) String

func (x *SetOrKeepSlot) String() string

type SetOrKeepSlot_Keep

type SetOrKeepSlot_Keep struct {
	// Keep the existing value
	Keep *Empty `protobuf:"bytes,2,opt,name=keep,proto3,oneof"`
}

type SetOrKeepSlot_Set

type SetOrKeepSlot_Set struct {
	// The value of that entry (Optional)
	Set *Slot `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}

type SetOrKeepString

type SetOrKeepString struct {

	// The type of the change
	//
	// Types that are assignable to Change:
	//
	//	*SetOrKeepString_Set
	//	*SetOrKeepString_Keep
	Change isSetOrKeepString_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

Set or Keep String

func (*SetOrKeepString) Descriptor deprecated

func (*SetOrKeepString) Descriptor() ([]byte, []int)

Deprecated: Use SetOrKeepString.ProtoReflect.Descriptor instead.

func (*SetOrKeepString) GetChange

func (m *SetOrKeepString) GetChange() isSetOrKeepString_Change

func (*SetOrKeepString) GetKeep

func (x *SetOrKeepString) GetKeep() *Empty

func (*SetOrKeepString) GetSet

func (x *SetOrKeepString) GetSet() *wrapperspb.StringValue

func (*SetOrKeepString) ProtoMessage

func (*SetOrKeepString) ProtoMessage()

func (*SetOrKeepString) ProtoReflect

func (x *SetOrKeepString) ProtoReflect() protoreflect.Message

func (*SetOrKeepString) Reset

func (x *SetOrKeepString) Reset()

func (*SetOrKeepString) String

func (x *SetOrKeepString) String() string

type SetOrKeepString_Keep

type SetOrKeepString_Keep struct {
	// Keep the existing value
	Keep *Empty `protobuf:"bytes,2,opt,name=keep,proto3,oneof"`
}

type SetOrKeepString_Set

type SetOrKeepString_Set struct {
	// The value of that entry (Optional)
	Set *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}

type SetOrKeepUint64

type SetOrKeepUint64 struct {

	// The type of the change
	//
	// Types that are assignable to Change:
	//
	//	*SetOrKeepUint64_Set
	//	*SetOrKeepUint64_Keep
	Change isSetOrKeepUint64_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

Set or Keep Uint64

func (*SetOrKeepUint64) Descriptor deprecated

func (*SetOrKeepUint64) Descriptor() ([]byte, []int)

Deprecated: Use SetOrKeepUint64.ProtoReflect.Descriptor instead.

func (*SetOrKeepUint64) GetChange

func (m *SetOrKeepUint64) GetChange() isSetOrKeepUint64_Change

func (*SetOrKeepUint64) GetKeep

func (x *SetOrKeepUint64) GetKeep() *Empty

func (*SetOrKeepUint64) GetSet

func (x *SetOrKeepUint64) GetSet() *wrapperspb.UInt64Value

func (*SetOrKeepUint64) ProtoMessage

func (*SetOrKeepUint64) ProtoMessage()

func (*SetOrKeepUint64) ProtoReflect

func (x *SetOrKeepUint64) ProtoReflect() protoreflect.Message

func (*SetOrKeepUint64) Reset

func (x *SetOrKeepUint64) Reset()

func (*SetOrKeepUint64) String

func (x *SetOrKeepUint64) String() string

type SetOrKeepUint64_Keep

type SetOrKeepUint64_Keep struct {
	// Keep the existing value
	Keep *Empty `protobuf:"bytes,2,opt,name=keep,proto3,oneof"`
}

type SetOrKeepUint64_Set

type SetOrKeepUint64_Set struct {
	// The value of that entry (Optional)
	Set *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=set,proto3,oneof"`
}

type SignedBlock

type SignedBlock struct {

	// Block
	Content *Block `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// A cryptographically generated value using `serialized_data` and a public key.
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// The public-key component used in the generation of the signature
	ContentCreatorPubKey string `protobuf:"bytes,3,opt,name=content_creator_pub_key,json=contentCreatorPubKey,proto3" json:"content_creator_pub_key,omitempty"`
	// Derived from the same public key used to generate the signature
	ContentCreatorAddress string `` /* 126-byte string literal not displayed */
	// A secure hash of the non-malleable contents of a deterministic binary representation of the block header
	SecureHash string `protobuf:"bytes,5,opt,name=secure_hash,json=secureHash,proto3" json:"secure_hash,omitempty"`
	// The size of the serialized block in bytes
	SerializedSize uint64 `protobuf:"varint,6,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"`
	// contains filtered or unexported fields
}

Signed block

func (*SignedBlock) Descriptor deprecated

func (*SignedBlock) Descriptor() ([]byte, []int)

Deprecated: Use SignedBlock.ProtoReflect.Descriptor instead.

func (*SignedBlock) GetContent

func (x *SignedBlock) GetContent() *Block

func (*SignedBlock) GetContentCreatorAddress

func (x *SignedBlock) GetContentCreatorAddress() string

func (*SignedBlock) GetContentCreatorPubKey

func (x *SignedBlock) GetContentCreatorPubKey() string

func (*SignedBlock) GetSecureHash

func (x *SignedBlock) GetSecureHash() string

func (*SignedBlock) GetSerializedSize

func (x *SignedBlock) GetSerializedSize() uint64

func (*SignedBlock) GetSignature

func (x *SignedBlock) GetSignature() string

func (*SignedBlock) ProtoMessage

func (*SignedBlock) ProtoMessage()

func (*SignedBlock) ProtoReflect

func (x *SignedBlock) ProtoReflect() protoreflect.Message

func (*SignedBlock) Reset

func (x *SignedBlock) Reset()

func (*SignedBlock) String

func (x *SignedBlock) String() string

type SignedBlockHeader

type SignedBlockHeader struct {

	// BlockHeader
	Content *BlockHeader `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// A cryptographically generated value using `serialized_data` and a public key.
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// The public-key component used in the generation of the signature
	ContentCreatorPubKey string `protobuf:"bytes,3,opt,name=content_creator_pub_key,json=contentCreatorPubKey,proto3" json:"content_creator_pub_key,omitempty"`
	// Derived from the same public key used to generate the signature
	ContentCreatorAddress string `` /* 126-byte string literal not displayed */
	// A secure hash of the non-malleable contents of a deterministic binary representation of the block header
	SecureHash string `protobuf:"bytes,5,opt,name=secure_hash,json=secureHash,proto3" json:"secure_hash,omitempty"`
	// The size of the serialized block header in bytes
	SerializedSize uint64 `protobuf:"varint,6,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"`
	// contains filtered or unexported fields
}

Signed block header

func (*SignedBlockHeader) Descriptor deprecated

func (*SignedBlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use SignedBlockHeader.ProtoReflect.Descriptor instead.

func (*SignedBlockHeader) GetContent

func (x *SignedBlockHeader) GetContent() *BlockHeader

func (*SignedBlockHeader) GetContentCreatorAddress

func (x *SignedBlockHeader) GetContentCreatorAddress() string

func (*SignedBlockHeader) GetContentCreatorPubKey

func (x *SignedBlockHeader) GetContentCreatorPubKey() string

func (*SignedBlockHeader) GetSecureHash

func (x *SignedBlockHeader) GetSecureHash() string

func (*SignedBlockHeader) GetSerializedSize

func (x *SignedBlockHeader) GetSerializedSize() uint64

func (*SignedBlockHeader) GetSignature

func (x *SignedBlockHeader) GetSignature() string

func (*SignedBlockHeader) ProtoMessage

func (*SignedBlockHeader) ProtoMessage()

func (*SignedBlockHeader) ProtoReflect

func (x *SignedBlockHeader) ProtoReflect() protoreflect.Message

func (*SignedBlockHeader) Reset

func (x *SignedBlockHeader) Reset()

func (*SignedBlockHeader) String

func (x *SignedBlockHeader) String() string

type SignedEndorsement

type SignedEndorsement struct {

	// Endorsement
	Content *Endorsement `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// A cryptographically generated value using `serialized_data` and a public key.
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// The public-key component used in the generation of the signature
	ContentCreatorPubKey string `protobuf:"bytes,3,opt,name=content_creator_pub_key,json=contentCreatorPubKey,proto3" json:"content_creator_pub_key,omitempty"`
	// Derived from the same public key used to generate the signature
	ContentCreatorAddress string `` /* 126-byte string literal not displayed */
	// A secure hash of the non-malleable contents of a deterministic binary representation of the block header
	SecureHash string `protobuf:"bytes,5,opt,name=secure_hash,json=secureHash,proto3" json:"secure_hash,omitempty"`
	// The size of the serialized endorsement in bytes
	SerializedSize uint64 `protobuf:"varint,6,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"`
	// contains filtered or unexported fields
}

Signed endorsement

func (*SignedEndorsement) Descriptor deprecated

func (*SignedEndorsement) Descriptor() ([]byte, []int)

Deprecated: Use SignedEndorsement.ProtoReflect.Descriptor instead.

func (*SignedEndorsement) GetContent

func (x *SignedEndorsement) GetContent() *Endorsement

func (*SignedEndorsement) GetContentCreatorAddress

func (x *SignedEndorsement) GetContentCreatorAddress() string

func (*SignedEndorsement) GetContentCreatorPubKey

func (x *SignedEndorsement) GetContentCreatorPubKey() string

func (*SignedEndorsement) GetSecureHash

func (x *SignedEndorsement) GetSecureHash() string

func (*SignedEndorsement) GetSerializedSize

func (x *SignedEndorsement) GetSerializedSize() uint64

func (*SignedEndorsement) GetSignature

func (x *SignedEndorsement) GetSignature() string

func (*SignedEndorsement) ProtoMessage

func (*SignedEndorsement) ProtoMessage()

func (*SignedEndorsement) ProtoReflect

func (x *SignedEndorsement) ProtoReflect() protoreflect.Message

func (*SignedEndorsement) Reset

func (x *SignedEndorsement) Reset()

func (*SignedEndorsement) String

func (x *SignedEndorsement) String() string

type SignedOperation

type SignedOperation struct {

	// Operation
	Content *Operation `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// A cryptographically generated value using `serialized_data` and a public key.
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// The public-key component used in the generation of the signature
	ContentCreatorPubKey string `protobuf:"bytes,3,opt,name=content_creator_pub_key,json=contentCreatorPubKey,proto3" json:"content_creator_pub_key,omitempty"`
	// Derived from the same public key used to generate the signature
	ContentCreatorAddress string `` /* 126-byte string literal not displayed */
	// A secure hash of the non-malleable contents of a deterministic binary representation of the block header
	SecureHash string `protobuf:"bytes,5,opt,name=secure_hash,json=secureHash,proto3" json:"secure_hash,omitempty"`
	// The size of the serialized operation in bytes
	SerializedSize uint64 `protobuf:"varint,6,opt,name=serialized_size,json=serializedSize,proto3" json:"serialized_size,omitempty"`
	// contains filtered or unexported fields
}

Signed operation

func (*SignedOperation) Descriptor deprecated

func (*SignedOperation) Descriptor() ([]byte, []int)

Deprecated: Use SignedOperation.ProtoReflect.Descriptor instead.

func (*SignedOperation) GetContent

func (x *SignedOperation) GetContent() *Operation

func (*SignedOperation) GetContentCreatorAddress

func (x *SignedOperation) GetContentCreatorAddress() string

func (*SignedOperation) GetContentCreatorPubKey

func (x *SignedOperation) GetContentCreatorPubKey() string

func (*SignedOperation) GetSecureHash

func (x *SignedOperation) GetSecureHash() string

func (*SignedOperation) GetSerializedSize

func (x *SignedOperation) GetSerializedSize() uint64

func (*SignedOperation) GetSignature

func (x *SignedOperation) GetSignature() string

func (*SignedOperation) ProtoMessage

func (*SignedOperation) ProtoMessage()

func (*SignedOperation) ProtoReflect

func (x *SignedOperation) ProtoReflect() protoreflect.Message

func (*SignedOperation) Reset

func (x *SignedOperation) Reset()

func (*SignedOperation) String

func (x *SignedOperation) String() string

type Slot

type Slot struct {

	// Period
	Period uint64 `protobuf:"varint,1,opt,name=period,proto3" json:"period,omitempty"`
	// Thread
	Thread uint32 `protobuf:"varint,2,opt,name=thread,proto3" json:"thread,omitempty"`
	// contains filtered or unexported fields
}

A point in time where a block is expected

func (*Slot) Descriptor deprecated

func (*Slot) Descriptor() ([]byte, []int)

Deprecated: Use Slot.ProtoReflect.Descriptor instead.

func (*Slot) GetPeriod

func (x *Slot) GetPeriod() uint64

func (*Slot) GetThread

func (x *Slot) GetThread() uint32

func (*Slot) ProtoMessage

func (*Slot) ProtoMessage()

func (*Slot) ProtoReflect

func (x *Slot) ProtoReflect() protoreflect.Message

func (*Slot) Reset

func (x *Slot) Reset()

func (*Slot) String

func (x *Slot) String() string

type SlotDraw

type SlotDraw struct {

	// Slot
	Slot *Slot `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
	// Block producer address (Optional)
	BlockProducer *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=block_producer,json=blockProducer,proto3" json:"block_producer,omitempty"`
	// Endorsement draws
	EndorsementDraws []*EndorsementDraw `protobuf:"bytes,3,rep,name=endorsement_draws,json=endorsementDraws,proto3" json:"endorsement_draws,omitempty"`
	// contains filtered or unexported fields
}

Slot draw

func (*SlotDraw) Descriptor deprecated

func (*SlotDraw) Descriptor() ([]byte, []int)

Deprecated: Use SlotDraw.ProtoReflect.Descriptor instead.

func (*SlotDraw) GetBlockProducer

func (x *SlotDraw) GetBlockProducer() *wrapperspb.StringValue

func (*SlotDraw) GetEndorsementDraws

func (x *SlotDraw) GetEndorsementDraws() []*EndorsementDraw

func (*SlotDraw) GetSlot

func (x *SlotDraw) GetSlot() *Slot

func (*SlotDraw) ProtoMessage

func (*SlotDraw) ProtoMessage()

func (*SlotDraw) ProtoReflect

func (x *SlotDraw) ProtoReflect() protoreflect.Message

func (*SlotDraw) Reset

func (x *SlotDraw) Reset()

func (*SlotDraw) String

func (x *SlotDraw) String() string

type SlotExecutionOutput

type SlotExecutionOutput struct {

	// Status
	Status ExecutionOutputStatus `protobuf:"varint,1,opt,name=status,proto3,enum=massa.model.v1.ExecutionOutputStatus" json:"status,omitempty"`
	// Executed slot output
	ExecutionOutput *ExecutionOutput `protobuf:"bytes,2,opt,name=execution_output,json=executionOutput,proto3" json:"execution_output,omitempty"`
	// contains filtered or unexported fields
}

SlotExecutionOutput

func (*SlotExecutionOutput) Descriptor deprecated

func (*SlotExecutionOutput) Descriptor() ([]byte, []int)

Deprecated: Use SlotExecutionOutput.ProtoReflect.Descriptor instead.

func (*SlotExecutionOutput) GetExecutionOutput

func (x *SlotExecutionOutput) GetExecutionOutput() *ExecutionOutput

func (*SlotExecutionOutput) GetStatus

func (*SlotExecutionOutput) ProtoMessage

func (*SlotExecutionOutput) ProtoMessage()

func (*SlotExecutionOutput) ProtoReflect

func (x *SlotExecutionOutput) ProtoReflect() protoreflect.Message

func (*SlotExecutionOutput) Reset

func (x *SlotExecutionOutput) Reset()

func (*SlotExecutionOutput) String

func (x *SlotExecutionOutput) String() string

type SlotRange

type SlotRange struct {

	// Start lot (Optional)
	StartSlot *Slot `protobuf:"bytes,1,opt,name=start_slot,json=startSlot,proto3" json:"start_slot,omitempty"`
	// End slot (Optional)
	EndSlot *Slot `protobuf:"bytes,2,opt,name=end_slot,json=endSlot,proto3" json:"end_slot,omitempty"`
	// contains filtered or unexported fields
}

SlotRange

func (*SlotRange) Descriptor deprecated

func (*SlotRange) Descriptor() ([]byte, []int)

Deprecated: Use SlotRange.ProtoReflect.Descriptor instead.

func (*SlotRange) GetEndSlot

func (x *SlotRange) GetEndSlot() *Slot

func (*SlotRange) GetStartSlot

func (x *SlotRange) GetStartSlot() *Slot

func (*SlotRange) ProtoMessage

func (*SlotRange) ProtoMessage()

func (*SlotRange) ProtoReflect

func (x *SlotRange) ProtoReflect() protoreflect.Message

func (*SlotRange) Reset

func (x *SlotRange) Reset()

func (*SlotRange) String

func (x *SlotRange) String() string

type Slots

type Slots struct {

	// Slots
	Slots []*Slot `protobuf:"bytes,1,rep,name=slots,proto3" json:"slots,omitempty"`
	// contains filtered or unexported fields
}

Slots

func (*Slots) Descriptor deprecated

func (*Slots) Descriptor() ([]byte, []int)

Deprecated: Use Slots.ProtoReflect.Descriptor instead.

func (*Slots) GetSlots

func (x *Slots) GetSlots() []*Slot

func (*Slots) ProtoMessage

func (*Slots) ProtoMessage()

func (*Slots) ProtoReflect

func (x *Slots) ProtoReflect() protoreflect.Message

func (*Slots) Reset

func (x *Slots) Reset()

func (*Slots) String

func (x *Slots) String() string

type StakerEntry

type StakerEntry struct {

	// Address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Rolls
	Rolls uint64 `protobuf:"varint,2,opt,name=rolls,proto3" json:"rolls,omitempty"`
	// contains filtered or unexported fields
}

StakerEntry

func (*StakerEntry) Descriptor deprecated

func (*StakerEntry) Descriptor() ([]byte, []int)

Deprecated: Use StakerEntry.ProtoReflect.Descriptor instead.

func (*StakerEntry) GetAddress

func (x *StakerEntry) GetAddress() string

func (*StakerEntry) GetRolls

func (x *StakerEntry) GetRolls() uint64

func (*StakerEntry) ProtoMessage

func (*StakerEntry) ProtoMessage()

func (*StakerEntry) ProtoReflect

func (x *StakerEntry) ProtoReflect() protoreflect.Message

func (*StakerEntry) Reset

func (x *StakerEntry) Reset()

func (*StakerEntry) String

func (x *StakerEntry) String() string

type StateChanges

type StateChanges struct {

	// Ledger changes
	LedgerChanges []*LedgerChangeEntry `protobuf:"bytes,1,rep,name=ledger_changes,json=ledgerChanges,proto3" json:"ledger_changes,omitempty"`
	// Asynchronous pool changes
	AsyncPoolChanges []*AsyncPoolChangeEntry `protobuf:"bytes,2,rep,name=async_pool_changes,json=asyncPoolChanges,proto3" json:"async_pool_changes,omitempty"`
	// Executed operations changes
	ExecutedOpsChanges []*ExecutedOpsChangeEntry `protobuf:"bytes,4,rep,name=executed_ops_changes,json=executedOpsChanges,proto3" json:"executed_ops_changes,omitempty"`
	// Executed denunciations changes
	ExecutedDenunciationsChanges []*DenunciationIndex `` /* 147-byte string literal not displayed */
	// Execution trail hash change
	ExecutionTrailHashChange *SetOrKeepString `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

StateChanges

func (*StateChanges) Descriptor deprecated

func (*StateChanges) Descriptor() ([]byte, []int)

Deprecated: Use StateChanges.ProtoReflect.Descriptor instead.

func (*StateChanges) GetAsyncPoolChanges

func (x *StateChanges) GetAsyncPoolChanges() []*AsyncPoolChangeEntry

func (*StateChanges) GetExecutedDenunciationsChanges

func (x *StateChanges) GetExecutedDenunciationsChanges() []*DenunciationIndex

func (*StateChanges) GetExecutedOpsChanges

func (x *StateChanges) GetExecutedOpsChanges() []*ExecutedOpsChangeEntry

func (*StateChanges) GetExecutionTrailHashChange

func (x *StateChanges) GetExecutionTrailHashChange() *SetOrKeepString

func (*StateChanges) GetLedgerChanges

func (x *StateChanges) GetLedgerChanges() []*LedgerChangeEntry

func (*StateChanges) ProtoMessage

func (*StateChanges) ProtoMessage()

func (*StateChanges) ProtoReflect

func (x *StateChanges) ProtoReflect() protoreflect.Message

func (*StateChanges) Reset

func (x *StateChanges) Reset()

func (*StateChanges) String

func (x *StateChanges) String() string

type Transaction

type Transaction struct {

	// Recipient address
	RecipientAddress string `protobuf:"bytes,1,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// Amount
	Amount *NativeAmount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

Transfer coins from sender to recipient

func (*Transaction) Descriptor deprecated

func (*Transaction) Descriptor() ([]byte, []int)

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetAmount

func (x *Transaction) GetAmount() *NativeAmount

func (*Transaction) GetRecipientAddress

func (x *Transaction) GetRecipientAddress() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

Jump to

Keyboard shortcuts

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