Documentation
¶
Index ¶
- Variables
- type JettonTransfer
- func (*JettonTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *JettonTransfer) GetForwardAmount() uint64
- func (x *JettonTransfer) GetJettonAmount() uint64
- func (x *JettonTransfer) GetQueryId() uint64
- func (x *JettonTransfer) GetResponseAddress() string
- func (x *JettonTransfer) GetToOwner() string
- func (*JettonTransfer) ProtoMessage()
- func (x *JettonTransfer) ProtoReflect() protoreflect.Message
- func (x *JettonTransfer) Reset()
- func (x *JettonTransfer) String() string
- type SigningInput
- func (*SigningInput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningInput) GetExpireAt() uint32
- func (x *SigningInput) GetSequenceNumber() uint32
- func (x *SigningInput) GetTransfer() *Transfer
- func (*SigningInput) ProtoMessage()
- func (x *SigningInput) ProtoReflect() protoreflect.Message
- func (x *SigningInput) Reset()
- func (x *SigningInput) String() string
- type SigningOutput
- func (*SigningOutput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningOutput) GetEncoded() string
- func (x *SigningOutput) GetError() string
- func (x *SigningOutput) GetHash() string
- func (x *SigningOutput) GetRaw() []byte
- func (*SigningOutput) ProtoMessage()
- func (x *SigningOutput) ProtoReflect() protoreflect.Message
- func (x *SigningOutput) Reset()
- func (x *SigningOutput) String() string
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetAmount() uint64
- func (x *Transfer) GetBounceable() bool
- func (x *Transfer) GetComment() string
- func (x *Transfer) GetDest() string
- func (x *Transfer) GetJettonTransfer() *JettonTransfer
- func (x *Transfer) GetMode() uint32
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_txproto_ton_ton_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type JettonTransfer ¶
type JettonTransfer struct {
QueryId uint64 `protobuf:"varint,1,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` // TEP-74 query id (echoed in notifications)
JettonAmount uint64 `protobuf:"varint,2,opt,name=jetton_amount,json=jettonAmount,proto3" json:"jetton_amount,omitempty"` // jetton units to transfer (VarUInteger 16)
ToOwner string `protobuf:"bytes,3,opt,name=to_owner,json=toOwner,proto3" json:"to_owner,omitempty"` // recipient owner address (jetton destination)
ResponseAddress string `protobuf:"bytes,4,opt,name=response_address,json=responseAddress,proto3" json:"response_address,omitempty"` // excess-TON response destination
ForwardAmount uint64 `protobuf:"varint,5,opt,name=forward_amount,json=forwardAmount,proto3" json:"forward_amount,omitempty"` // TON forwarded to to_owner with the notification
// contains filtered or unexported fields
}
JettonTransfer is a TEP-74 jetton (fungible token) transfer body. When set on a Transfer, the Transfer's `dest` is the SENDER's jetton wallet address (the contract the internal message is sent to), `amount` is the TON attached to carry the transfer, and `comment` (if any) becomes the jetton forward payload.
func (*JettonTransfer) Descriptor
deprecated
func (*JettonTransfer) Descriptor() ([]byte, []int)
Deprecated: Use JettonTransfer.ProtoReflect.Descriptor instead.
func (*JettonTransfer) GetForwardAmount ¶
func (x *JettonTransfer) GetForwardAmount() uint64
func (*JettonTransfer) GetJettonAmount ¶
func (x *JettonTransfer) GetJettonAmount() uint64
func (*JettonTransfer) GetQueryId ¶
func (x *JettonTransfer) GetQueryId() uint64
func (*JettonTransfer) GetResponseAddress ¶
func (x *JettonTransfer) GetResponseAddress() string
func (*JettonTransfer) GetToOwner ¶
func (x *JettonTransfer) GetToOwner() string
func (*JettonTransfer) ProtoMessage ¶
func (*JettonTransfer) ProtoMessage()
func (*JettonTransfer) ProtoReflect ¶
func (x *JettonTransfer) ProtoReflect() protoreflect.Message
func (*JettonTransfer) Reset ¶
func (x *JettonTransfer) Reset()
func (*JettonTransfer) String ¶
func (x *JettonTransfer) String() string
type SigningInput ¶
type SigningInput struct {
SequenceNumber uint32 `protobuf:"varint,1,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // wallet seqno; 0 => attach StateInit (deploy)
ExpireAt uint32 `protobuf:"varint,2,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` // unix seconds
Transfer *Transfer `protobuf:"bytes,3,opt,name=transfer,proto3" json:"transfer,omitempty"`
// contains filtered or unexported fields
}
func (*SigningInput) Descriptor
deprecated
func (*SigningInput) Descriptor() ([]byte, []int)
Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.
func (*SigningInput) GetExpireAt ¶
func (x *SigningInput) GetExpireAt() uint32
func (*SigningInput) GetSequenceNumber ¶
func (x *SigningInput) GetSequenceNumber() uint32
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 SigningOutput ¶
type SigningOutput struct {
Encoded string `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"` // base64 BoC of the signed external message
Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"` // raw BoC bytes
Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // hex repr-hash of the external message cell (poll key)
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
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) GetError ¶
func (x *SigningOutput) GetError() string
func (*SigningOutput) GetHash ¶
func (x *SigningOutput) GetHash() string
func (*SigningOutput) GetRaw ¶
func (x *SigningOutput) GetRaw() []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 Transfer ¶
type Transfer struct {
Dest string `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"` // any accepted TON address form
Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // nanotons
Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` // send-mode flags; default 3 = PAY_FEES_SEPARATELY|IGNORE_ACTION_PHASE_ERRORS
Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` // optional text comment (op=0 payload / jetton forward payload)
Bounceable bool `protobuf:"varint,5,opt,name=bounceable,proto3" json:"bounceable,omitempty"` // internal-message bounce flag
JettonTransfer *JettonTransfer `protobuf:"bytes,6,opt,name=jetton_transfer,json=jettonTransfer,proto3" json:"jetton_transfer,omitempty"` // if set: dest is the sender's jetton wallet, body is a TEP-74 transfer
// contains filtered or unexported fields
}
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetBounceable ¶
func (*Transfer) GetComment ¶
func (*Transfer) GetJettonTransfer ¶
func (x *Transfer) GetJettonTransfer() *JettonTransfer
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.