Documentation
¶
Index ¶
- Variables
- type MessageBehavior
- func (MessageBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x MessageBehavior) Enum() *MessageBehavior
- func (MessageBehavior) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageBehavior) Number() protoreflect.EnumNumber
- func (x MessageBehavior) String() string
- func (MessageBehavior) Type() protoreflect.EnumType
- type SigningInput
- func (*SigningInput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningInput) GetActionOneof() isSigningInput_ActionOneof
- func (x *SigningInput) GetPrivateKey() []byte
- func (x *SigningInput) GetTransfer() *Transfer
- func (*SigningInput) ProtoMessage()
- func (x *SigningInput) ProtoReflect() protoreflect.Message
- func (x *SigningInput) Reset()
- func (x *SigningInput) String() string
- type SigningInput_Transfer
- type SigningOutput
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetAccountStateOneof() isTransfer_AccountStateOneof
- func (x *Transfer) GetAmount() uint64
- func (x *Transfer) GetBehavior() MessageBehavior
- func (x *Transfer) GetBounce() bool
- func (x *Transfer) GetEncodedContractData() string
- func (x *Transfer) GetExpiredAt() uint32
- func (x *Transfer) GetTo() string
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type Transfer_EncodedContractData
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MessageBehavior_name = map[int32]string{ 0: "SimpleTransfer", 1: "SendAllBalance", } MessageBehavior_value = map[string]int32{ "SimpleTransfer": 0, "SendAllBalance": 1, } )
Enum value maps for MessageBehavior.
View Source
var File_Everscale_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MessageBehavior ¶
type MessageBehavior int32
Message option
const ( // Sends a message with the specified amount. The sender pays a fee from the account balance MessageBehavior_SimpleTransfer MessageBehavior = 0 // Sends the entire account balance along with the message MessageBehavior_SendAllBalance MessageBehavior = 1 )
func (MessageBehavior) Descriptor ¶
func (MessageBehavior) Descriptor() protoreflect.EnumDescriptor
func (MessageBehavior) Enum ¶
func (x MessageBehavior) Enum() *MessageBehavior
func (MessageBehavior) EnumDescriptor
deprecated
func (MessageBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageBehavior.Descriptor instead.
func (MessageBehavior) Number ¶
func (x MessageBehavior) Number() protoreflect.EnumNumber
func (MessageBehavior) String ¶
func (x MessageBehavior) String() string
func (MessageBehavior) Type ¶
func (MessageBehavior) Type() protoreflect.EnumType
type SigningInput ¶
type SigningInput struct { // The payload transfer // // Types that are valid to be assigned to ActionOneof: // // *SigningInput_Transfer ActionOneof isSigningInput_ActionOneof `protobuf_oneof:"action_oneof"` // 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"` // 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) GetActionOneof ¶
func (x *SigningInput) GetActionOneof() isSigningInput_ActionOneof
func (*SigningInput) GetPrivateKey ¶
func (x *SigningInput) GetPrivateKey() []byte
func (*SigningInput) GetTransfer ¶
func (x *SigningInput) GetTransfer() *Transfer
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_Transfer ¶
type SigningInput_Transfer struct {
Transfer *Transfer `protobuf:"bytes,1,opt,name=transfer,proto3,oneof"`
}
type SigningOutput ¶
type SigningOutput struct { Encoded string `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,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) GetEncoded ¶
func (x *SigningOutput) GetEncoded() string
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 Transfer ¶
type Transfer struct { // If set to true, then the message will be returned if there is an error on the recipient's side. Bounce bool `protobuf:"varint,1,opt,name=bounce,proto3" json:"bounce,omitempty"` // Affect the attached amount and fees Behavior MessageBehavior `protobuf:"varint,2,opt,name=behavior,proto3,enum=TW.Everscale.Proto.MessageBehavior" json:"behavior,omitempty"` // Amount to send in nano EVER Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // Expiration UNIX timestamp ExpiredAt uint32 `protobuf:"varint,4,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` // Recipient address To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` // Account state if there is any // // Types that are valid to be assigned to AccountStateOneof: // // *Transfer_EncodedContractData AccountStateOneof isTransfer_AccountStateOneof `protobuf_oneof:"account_state_oneof"` // contains filtered or unexported fields }
Transfer message
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetAccountStateOneof ¶
func (x *Transfer) GetAccountStateOneof() isTransfer_AccountStateOneof
func (*Transfer) GetBehavior ¶
func (x *Transfer) GetBehavior() MessageBehavior
func (*Transfer) GetEncodedContractData ¶
func (*Transfer) GetExpiredAt ¶
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
type Transfer_EncodedContractData ¶
type Transfer_EncodedContractData struct { // Just contract data EncodedContractData string `protobuf:"bytes,6,opt,name=encoded_contract_data,json=encodedContractData,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.