waves

package
v0.0.1-gowrapper-test Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_Waves_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CancelLeaseMessage

type CancelLeaseMessage struct {

	// Lease ID to cancel
	LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
	// Fee used
	Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

Cancel Lease transaction

func (*CancelLeaseMessage) Descriptor deprecated

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

Deprecated: Use CancelLeaseMessage.ProtoReflect.Descriptor instead.

func (*CancelLeaseMessage) GetFee

func (x *CancelLeaseMessage) GetFee() int64

func (*CancelLeaseMessage) GetLeaseId

func (x *CancelLeaseMessage) GetLeaseId() string

func (*CancelLeaseMessage) ProtoMessage

func (*CancelLeaseMessage) ProtoMessage()

func (*CancelLeaseMessage) ProtoReflect

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

func (*CancelLeaseMessage) Reset

func (x *CancelLeaseMessage) Reset()

func (*CancelLeaseMessage) String

func (x *CancelLeaseMessage) String() string

type LeaseMessage

type LeaseMessage struct {

	// amount
	Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// destination
	To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// minimum 0.001 Waves (100000 Wavelets) for now
	Fee int64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

Lease transaction

func (*LeaseMessage) Descriptor deprecated

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

Deprecated: Use LeaseMessage.ProtoReflect.Descriptor instead.

func (*LeaseMessage) GetAmount

func (x *LeaseMessage) GetAmount() int64

func (*LeaseMessage) GetFee

func (x *LeaseMessage) GetFee() int64

func (*LeaseMessage) GetTo

func (x *LeaseMessage) GetTo() string

func (*LeaseMessage) ProtoMessage

func (*LeaseMessage) ProtoMessage()

func (*LeaseMessage) ProtoReflect

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

func (*LeaseMessage) Reset

func (x *LeaseMessage) Reset()

func (*LeaseMessage) String

func (x *LeaseMessage) String() string

type SigningInput

type SigningInput struct {

	// in millis
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The secret private key used for signing (32 bytes).
	PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// Payload message
	//
	// Types that are valid to be assigned to MessageOneof:
	//
	//	*SigningInput_TransferMessage
	//	*SigningInput_LeaseMessage
	//	*SigningInput_CancelLeaseMessage
	MessageOneof isSigningInput_MessageOneof `protobuf_oneof:"message_oneof"`
	// contains filtered or unexported fields
}

Input data necessary to create a signed transaction.

func (*SigningInput) Descriptor deprecated

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

Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.

func (*SigningInput) GetCancelLeaseMessage

func (x *SigningInput) GetCancelLeaseMessage() *CancelLeaseMessage

func (*SigningInput) GetLeaseMessage

func (x *SigningInput) GetLeaseMessage() *LeaseMessage

func (*SigningInput) GetMessageOneof

func (x *SigningInput) GetMessageOneof() isSigningInput_MessageOneof

func (*SigningInput) GetPrivateKey

func (x *SigningInput) GetPrivateKey() []byte

func (*SigningInput) GetTimestamp

func (x *SigningInput) GetTimestamp() int64

func (*SigningInput) GetTransferMessage

func (x *SigningInput) GetTransferMessage() *TransferMessage

func (*SigningInput) ProtoMessage

func (*SigningInput) ProtoMessage()

func (*SigningInput) ProtoReflect

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

func (*SigningInput) Reset

func (x *SigningInput) Reset()

func (*SigningInput) String

func (x *SigningInput) String() string

type SigningInput_CancelLeaseMessage

type SigningInput_CancelLeaseMessage struct {
	CancelLeaseMessage *CancelLeaseMessage `protobuf:"bytes,5,opt,name=cancel_lease_message,json=cancelLeaseMessage,proto3,oneof"`
}

type SigningInput_LeaseMessage

type SigningInput_LeaseMessage struct {
	LeaseMessage *LeaseMessage `protobuf:"bytes,4,opt,name=lease_message,json=leaseMessage,proto3,oneof"`
}

type SigningInput_TransferMessage

type SigningInput_TransferMessage struct {
	TransferMessage *TransferMessage `protobuf:"bytes,3,opt,name=transfer_message,json=transferMessage,proto3,oneof"`
}

type SigningOutput

type SigningOutput struct {

	// signature data
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// transaction in JSON format
	Json string `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"`
	// contains filtered or unexported fields
}

Result containing the signed and encoded transaction.

func (*SigningOutput) Descriptor deprecated

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

Deprecated: Use SigningOutput.ProtoReflect.Descriptor instead.

func (*SigningOutput) GetJson

func (x *SigningOutput) GetJson() string

func (*SigningOutput) GetSignature

func (x *SigningOutput) GetSignature() []byte

func (*SigningOutput) ProtoMessage

func (*SigningOutput) ProtoMessage()

func (*SigningOutput) ProtoReflect

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

func (*SigningOutput) Reset

func (x *SigningOutput) Reset()

func (*SigningOutput) String

func (x *SigningOutput) String() string

type TransferMessage

type TransferMessage struct {

	// amount
	Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// asset ID
	Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
	// minimum 0.001 Waves (100000 Wavelets) for now
	Fee int64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// asset of the fee
	FeeAsset string `protobuf:"bytes,4,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
	// destination address
	To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"`
	// any 140 bytes payload, will be displayed to the client as utf-8 string
	Attachment []byte `protobuf:"bytes,6,opt,name=attachment,proto3" json:"attachment,omitempty"`
	// contains filtered or unexported fields
}

Transfer transaction

func (*TransferMessage) Descriptor deprecated

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

Deprecated: Use TransferMessage.ProtoReflect.Descriptor instead.

func (*TransferMessage) GetAmount

func (x *TransferMessage) GetAmount() int64

func (*TransferMessage) GetAsset

func (x *TransferMessage) GetAsset() string

func (*TransferMessage) GetAttachment

func (x *TransferMessage) GetAttachment() []byte

func (*TransferMessage) GetFee

func (x *TransferMessage) GetFee() int64

func (*TransferMessage) GetFeeAsset

func (x *TransferMessage) GetFeeAsset() string

func (*TransferMessage) GetTo

func (x *TransferMessage) GetTo() string

func (*TransferMessage) ProtoMessage

func (*TransferMessage) ProtoMessage()

func (*TransferMessage) ProtoReflect

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

func (*TransferMessage) Reset

func (x *TransferMessage) Reset()

func (*TransferMessage) String

func (x *TransferMessage) String() string

Jump to

Keyboard shortcuts

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