common

package
v0.0.0-...-5732132 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_common_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Chain  string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
	Synth  bool   `protobuf:"varint,4,opt,name=synth,proto3" json:"synth,omitempty"`
	Trade  bool   `protobuf:"varint,5,opt,name=trade,proto3" json:"trade,omitempty"`
	// contains filtered or unexported fields
}

func (*Asset) Descriptor deprecated

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetChain

func (x *Asset) GetChain() string

func (*Asset) GetSymbol

func (x *Asset) GetSymbol() string

func (*Asset) GetSynth

func (x *Asset) GetSynth() bool

func (*Asset) GetTicker

func (x *Asset) GetTicker() string

func (*Asset) GetTrade

func (x *Asset) GetTrade() bool

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

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

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type Coin

type Coin struct {
	Asset    *Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Amount   string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Decimals int64  `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// contains filtered or unexported fields
}

func (*Coin) Descriptor deprecated

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

Deprecated: Use Coin.ProtoReflect.Descriptor instead.

func (*Coin) GetAmount

func (x *Coin) GetAmount() string

func (*Coin) GetAsset

func (x *Coin) GetAsset() *Asset

func (*Coin) GetDecimals

func (x *Coin) GetDecimals() int64

func (*Coin) ProtoMessage

func (*Coin) ProtoMessage()

func (*Coin) ProtoReflect

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

func (*Coin) Reset

func (x *Coin) Reset()

func (*Coin) String

func (x *Coin) String() string

type Fee

type Fee struct {
	Coins      []*Coin `protobuf:"bytes,1,rep,name=coins,proto3" json:"coins,omitempty"`
	PoolDeduct string  `protobuf:"bytes,2,opt,name=pool_deduct,json=poolDeduct,proto3" json:"pool_deduct,omitempty"`
	// contains filtered or unexported fields
}

func (*Fee) Descriptor deprecated

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

Deprecated: Use Fee.ProtoReflect.Descriptor instead.

func (*Fee) GetCoins

func (x *Fee) GetCoins() []*Coin

func (*Fee) GetPoolDeduct

func (x *Fee) GetPoolDeduct() string

func (*Fee) ProtoMessage

func (*Fee) ProtoMessage()

func (*Fee) ProtoReflect

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

func (*Fee) Reset

func (x *Fee) Reset()

func (*Fee) String

func (x *Fee) String() string

type ProtoUint

type ProtoUint struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoUint) Descriptor deprecated

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

Deprecated: Use ProtoUint.ProtoReflect.Descriptor instead.

func (*ProtoUint) GetValue

func (x *ProtoUint) GetValue() string

func (*ProtoUint) ProtoMessage

func (*ProtoUint) ProtoMessage()

func (*ProtoUint) ProtoReflect

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

func (*ProtoUint) Reset

func (x *ProtoUint) Reset()

func (*ProtoUint) String

func (x *ProtoUint) String() string

type PubKeySet

type PubKeySet struct {
	Secp256K1 string `protobuf:"bytes,1,opt,name=secp256k1,proto3" json:"secp256k1,omitempty"`
	Ed25519   string `protobuf:"bytes,2,opt,name=ed25519,proto3" json:"ed25519,omitempty"`
	// contains filtered or unexported fields
}

PubKeySet contains two pub keys , secp256k1 and ed25519

func (*PubKeySet) Descriptor deprecated

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

Deprecated: Use PubKeySet.ProtoReflect.Descriptor instead.

func (*PubKeySet) GetEd25519

func (x *PubKeySet) GetEd25519() string

func (*PubKeySet) GetSecp256K1

func (x *PubKeySet) GetSecp256K1() string

func (*PubKeySet) ProtoMessage

func (*PubKeySet) ProtoMessage()

func (*PubKeySet) ProtoReflect

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

func (*PubKeySet) Reset

func (x *PubKeySet) Reset()

func (*PubKeySet) String

func (x *PubKeySet) String() string

type Tx

type Tx struct {
	Id          string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Chain       string  `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	FromAddress string  `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	ToAddress   string  `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Coins       []*Coin `protobuf:"bytes,5,rep,name=coins,proto3" json:"coins,omitempty"`
	Gas         []*Coin `protobuf:"bytes,6,rep,name=gas,proto3" json:"gas,omitempty"`
	Memo        string  `protobuf:"bytes,7,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*Tx) Descriptor deprecated

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

Deprecated: Use Tx.ProtoReflect.Descriptor instead.

func (*Tx) GetChain

func (x *Tx) GetChain() string

func (*Tx) GetCoins

func (x *Tx) GetCoins() []*Coin

func (*Tx) GetFromAddress

func (x *Tx) GetFromAddress() string

func (*Tx) GetGas

func (x *Tx) GetGas() []*Coin

func (*Tx) GetId

func (x *Tx) GetId() string

func (*Tx) GetMemo

func (x *Tx) GetMemo() string

func (*Tx) GetToAddress

func (x *Tx) GetToAddress() string

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) ProtoReflect

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

func (*Tx) Reset

func (x *Tx) Reset()

func (*Tx) String

func (x *Tx) String() string

Jump to

Keyboard shortcuts

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