Documentation ¶
Index ¶
- Constants
- Variables
- func AddStringOntoEnd(arr *[]string, item string) bool
- func AddStringSorted(arr *[]string, item string) bool
- func ContainsString(arr []string, item string) bool
- func EmitEvent(ctx sdk.Context, tev proto.Message)
- func EmitEvents(ctx sdk.Context, tevs ...proto.Message)
- func MergeStringsSorted(arr1 []string, arr2 []string) []string
- func RemoveStringFast(arr *[]string, item string) bool
- func RemoveStringPreserveOrder(arr *[]string, item string) bool
- func TagTx(ctx sdk.Context, module string, tx proto.Message)
- type EventMessage
- func (*EventMessage) Descriptor() ([]byte, []int)
- func (m *EventMessage) GetAction() string
- func (m *EventMessage) GetModule() string
- func (m *EventMessage) Marshal() (dAtA []byte, err error)
- func (m *EventMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMessage) ProtoMessage()
- func (m *EventMessage) Reset()
- func (m *EventMessage) Size() (n int)
- func (m *EventMessage) String() string
- func (m *EventMessage) Unmarshal(dAtA []byte) error
- func (m *EventMessage) XXX_DiscardUnknown()
- func (m *EventMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMessage) XXX_Merge(src proto.Message)
- func (EventMessage) XXX_MessageName() string
- func (m *EventMessage) XXX_Size() int
- func (m *EventMessage) XXX_Unmarshal(b []byte) error
- type Fraction
- func (x Fraction) Add(y Fraction) Fraction
- func (x Fraction) BigInt() *big.Int
- func (x Fraction) Clone() Fraction
- func (x Fraction) Div(y Fraction) Fraction
- func (x Fraction) DivInt64(y int64) Fraction
- func (x Fraction) Equal(y Fraction) bool
- func (x Fraction) GT(y Fraction) bool
- func (x Fraction) GTE(y Fraction) bool
- func (x Fraction) Int64() int64
- func (x Fraction) IsNegative() bool
- func (x Fraction) IsNullValue() bool
- func (x Fraction) IsPositive() bool
- func (x Fraction) IsZero() bool
- func (x Fraction) LT(y Fraction) bool
- func (x Fraction) LTE(y Fraction) bool
- func (x Fraction) MarshalAmino() (string, error)
- func (x Fraction) MarshalJSON() ([]byte, error)
- func (x Fraction) MarshalTo(dest []byte) (int, error)
- func (x Fraction) MarshalYAML() (interface{}, error)
- func (x Fraction) Mul(y Fraction) Fraction
- func (x Fraction) MulInt64(y int64) Fraction
- func (x Fraction) Neg() Fraction
- func (x Fraction) Reduce() Fraction
- func (x Fraction) Size() int
- func (x Fraction) String() string
- func (x Fraction) Sub(y Fraction) Fraction
- func (x *Fraction) Unmarshal(bz []byte) error
- func (x *Fraction) UnmarshalAmino(s string) error
- func (x *Fraction) UnmarshalJSON(bz []byte) error
- func (x *Fraction) UnmarshalYAML(value *yaml.Node) error
Constants ¶
View Source
const (
ConfigMainDenom = "uaxm"
)
Variables ¶
Functions ¶
func AddStringOntoEnd ¶
func AddStringSorted ¶
func ContainsString ¶
func EmitEvent ¶
EmitEvent emits a typed event like the sdk.EventManager.EmitTypedEvent method does, but it unquotes string attribute values so Tendermint could search txs by them.
func EmitEvents ¶
EmitEvents emits typed events like the sdk.EventManager.EmitTypedEvents method does, but it unquotes string attribute values so Tendermint could search txs by them.
func MergeStringsSorted ¶
func RemoveStringFast ¶
Types ¶
type EventMessage ¶
type EventMessage struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` }
func (*EventMessage) Descriptor ¶
func (*EventMessage) Descriptor() ([]byte, []int)
func (*EventMessage) GetAction ¶
func (m *EventMessage) GetAction() string
func (*EventMessage) GetModule ¶
func (m *EventMessage) GetModule() string
func (*EventMessage) Marshal ¶
func (m *EventMessage) Marshal() (dAtA []byte, err error)
func (*EventMessage) MarshalToSizedBuffer ¶
func (m *EventMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMessage) ProtoMessage ¶
func (*EventMessage) ProtoMessage()
func (*EventMessage) Reset ¶
func (m *EventMessage) Reset()
func (*EventMessage) Size ¶
func (m *EventMessage) Size() (n int)
func (*EventMessage) String ¶
func (m *EventMessage) String() string
func (*EventMessage) Unmarshal ¶
func (m *EventMessage) Unmarshal(dAtA []byte) error
func (*EventMessage) XXX_DiscardUnknown ¶
func (m *EventMessage) XXX_DiscardUnknown()
func (*EventMessage) XXX_Marshal ¶
func (m *EventMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMessage) XXX_Merge ¶
func (m *EventMessage) XXX_Merge(src proto.Message)
func (EventMessage) XXX_MessageName ¶
func (EventMessage) XXX_MessageName() string
func (*EventMessage) XXX_Size ¶
func (m *EventMessage) XXX_Size() int
func (*EventMessage) XXX_Unmarshal ¶
func (m *EventMessage) XXX_Unmarshal(b []byte) error
type Fraction ¶
type Fraction struct {
// contains filtered or unexported fields
}
func FractionInt ¶
func FractionZero ¶
func FractionZero() Fraction
func NewFraction ¶
func ParseFraction ¶
func (Fraction) IsNegative ¶
func (Fraction) IsNullValue ¶
func (Fraction) IsPositive ¶
func (Fraction) MarshalAmino ¶
func (Fraction) MarshalJSON ¶
func (Fraction) MarshalYAML ¶
func (*Fraction) UnmarshalAmino ¶
func (*Fraction) UnmarshalJSON ¶
func (*Fraction) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.