basketv1

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 23 Imported by: 11

Documentation

Overview

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

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

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

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

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

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

Index

Constants

This section is empty.

Variables

View Source
var File_regen_ecocredit_basket_v1_doc_proto protoreflect.FileDescriptor
View Source
var File_regen_ecocredit_basket_v1_events_proto protoreflect.FileDescriptor
View Source
var File_regen_ecocredit_basket_v1_query_proto protoreflect.FileDescriptor
View Source
var File_regen_ecocredit_basket_v1_state_proto protoreflect.FileDescriptor
View Source
var File_regen_ecocredit_basket_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_regen_ecocredit_basket_v1_types_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "regen.ecocredit.basket.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _Msg_Create_Handler,
		},
		{
			MethodName: "Put",
			Handler:    _Msg_Put_Handler,
		},
		{
			MethodName: "Take",
			Handler:    _Msg_Take_Handler,
		},
		{
			MethodName: "UpdateBasketFee",
			Handler:    _Msg_UpdateBasketFee_Handler,
		},
		{
			MethodName: "UpdateCurator",
			Handler:    _Msg_UpdateCurator_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "regen/ecocredit/basket/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "regen.ecocredit.basket.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Basket",
			Handler:    _Query_Basket_Handler,
		},
		{
			MethodName: "Baskets",
			Handler:    _Query_Baskets_Handler,
		},
		{
			MethodName: "BasketBalances",
			Handler:    _Query_BasketBalances_Handler,
		},
		{
			MethodName: "BasketBalance",
			Handler:    _Query_BasketBalance_Handler,
		},
		{
			MethodName: "BasketFee",
			Handler:    _Query_BasketFee_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "regen/ecocredit/basket/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type Basket

type Basket struct {

	// id is the uint64 ID of the basket. It is used internally for reducing
	// storage space.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// basket_denom is the basket bank denom formed from name and credit type with
	// the format `eco.<prefix><credit_type_abbrev>.<name>` where prefix is the
	// prefix of the bank denom exponent, a standard SI unit derived from credit
	// type precision, and mapped as follows:
	//   0 - no prefix
	//   1 - d (deci)
	//   2 - c (centi)
	//   3 - m (milli)
	//   6 - u (micro)
	//   9 - n (nano)
	//   12 - p (pico)
	//   15 - f (femto)
	//   18 - a (atto)
	//   21 - z (zepto)
	//   24 - y (yocto)
	BasketDenom string `protobuf:"bytes,2,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// name is the unique name of the basket specified in MsgCreate. Basket
	// names must be unique across all credit types and choices of exponent
	// above and beyond the uniqueness constraint on basket_denom.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// disable_auto_retire indicates whether or not the credits will be retired
	// upon withdraw from the basket.
	DisableAutoRetire bool `protobuf:"varint,4,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"`
	// credit_type_abbrev is the abbreviation of the credit type this basket is
	// able to hold.
	CreditTypeAbbrev string `protobuf:"bytes,5,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"`
	// date_criteria is the date criteria for batches admitted to the basket.
	DateCriteria *DateCriteria `protobuf:"bytes,6,opt,name=date_criteria,json=dateCriteria,proto3" json:"date_criteria,omitempty"`
	// Deprecated (Since Revision 1): This field is no longer used and will be
	// removed in the next version. The value of credit type precision is always
	// used as the exponent when converting credits to/from basket tokens. This
	// field will be set to the value of credit type precision until removed.
	//
	// Deprecated: Do not use.
	Exponent uint32 `protobuf:"varint,7,opt,name=exponent,proto3" json:"exponent,omitempty"`
	// curator is the address of the basket curator who is able to change certain
	// basket settings.
	//
	// Since Revision 1
	Curator []byte `protobuf:"bytes,8,opt,name=curator,proto3" json:"curator,omitempty"`
	// contains filtered or unexported fields
}

Basket represents a basket in state.

func (*Basket) Descriptor deprecated

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

Deprecated: Use Basket.ProtoReflect.Descriptor instead.

func (*Basket) GetBasketDenom

func (x *Basket) GetBasketDenom() string

func (*Basket) GetCreditTypeAbbrev

func (x *Basket) GetCreditTypeAbbrev() string

func (*Basket) GetCurator

func (x *Basket) GetCurator() []byte

func (*Basket) GetDateCriteria

func (x *Basket) GetDateCriteria() *DateCriteria

func (*Basket) GetDisableAutoRetire

func (x *Basket) GetDisableAutoRetire() bool

func (*Basket) GetExponent deprecated

func (x *Basket) GetExponent() uint32

Deprecated: Do not use.

func (*Basket) GetId

func (x *Basket) GetId() uint64

func (*Basket) GetName

func (x *Basket) GetName() string

func (*Basket) ProtoMessage

func (*Basket) ProtoMessage()

func (*Basket) ProtoReflect

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

func (*Basket) Reset

func (x *Basket) Reset()

func (*Basket) String

func (x *Basket) String() string

type BasketBalance

type BasketBalance struct {

	// basket_id is the ID of the basket
	BasketId uint64 `protobuf:"varint,1,opt,name=basket_id,json=basketId,proto3" json:"basket_id,omitempty"`
	// batch_denom is the denom of the credit batch
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// balance is the amount of ecocredits held in the basket
	Balance string `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// batch_start_date is the start date of the batch. This field is used
	// to create an index which is used to remove the oldest credits first.
	BatchStartDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=batch_start_date,json=batchStartDate,proto3" json:"batch_start_date,omitempty"`
	// contains filtered or unexported fields
}

BasketBalance stores the amount of credits from a batch in a basket

func (*BasketBalance) Descriptor deprecated

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

Deprecated: Use BasketBalance.ProtoReflect.Descriptor instead.

func (*BasketBalance) GetBalance

func (x *BasketBalance) GetBalance() string

func (*BasketBalance) GetBasketId

func (x *BasketBalance) GetBasketId() uint64

func (*BasketBalance) GetBatchDenom

func (x *BasketBalance) GetBatchDenom() string

func (*BasketBalance) GetBatchStartDate

func (x *BasketBalance) GetBatchStartDate() *timestamppb.Timestamp

func (*BasketBalance) ProtoMessage

func (*BasketBalance) ProtoMessage()

func (*BasketBalance) ProtoReflect

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

func (*BasketBalance) Reset

func (x *BasketBalance) Reset()

func (*BasketBalance) String

func (x *BasketBalance) String() string

type BasketBalanceBasketIdBatchDenomIndexKey

type BasketBalanceBasketIdBatchDenomIndexKey struct {
	// contains filtered or unexported fields
}

func (BasketBalanceBasketIdBatchDenomIndexKey) WithBasketId

func (BasketBalanceBasketIdBatchDenomIndexKey) WithBasketIdBatchDenom

func (this BasketBalanceBasketIdBatchDenomIndexKey) WithBasketIdBatchDenom(basket_id uint64, batch_denom string) BasketBalanceBasketIdBatchDenomIndexKey

type BasketBalanceBasketIdBatchStartDateIndexKey

type BasketBalanceBasketIdBatchStartDateIndexKey struct {
	// contains filtered or unexported fields
}

func (BasketBalanceBasketIdBatchStartDateIndexKey) WithBasketId

func (BasketBalanceBasketIdBatchStartDateIndexKey) WithBasketIdBatchStartDate

func (this BasketBalanceBasketIdBatchStartDateIndexKey) WithBasketIdBatchStartDate(basket_id uint64, batch_start_date *timestamppb.Timestamp) BasketBalanceBasketIdBatchStartDateIndexKey

type BasketBalanceIndexKey

type BasketBalanceIndexKey interface {
	// contains filtered or unexported methods
}

type BasketBalanceInfo

type BasketBalanceInfo struct {

	// batch_denom is the denom of the credit batch
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// balance is the amount of ecocredits held in the basket
	Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

BasketBalanceInfo is the human-readable basket balance information.

func (*BasketBalanceInfo) Descriptor deprecated

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

Deprecated: Use BasketBalanceInfo.ProtoReflect.Descriptor instead.

func (*BasketBalanceInfo) GetBalance

func (x *BasketBalanceInfo) GetBalance() string

func (*BasketBalanceInfo) GetBatchDenom

func (x *BasketBalanceInfo) GetBatchDenom() string

func (*BasketBalanceInfo) ProtoMessage

func (*BasketBalanceInfo) ProtoMessage()

func (*BasketBalanceInfo) ProtoReflect

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

func (*BasketBalanceInfo) Reset

func (x *BasketBalanceInfo) Reset()

func (*BasketBalanceInfo) String

func (x *BasketBalanceInfo) String() string

type BasketBalanceIterator

type BasketBalanceIterator struct {
	ormtable.Iterator
}

func (BasketBalanceIterator) Value

type BasketBalancePrimaryKey

type BasketBalancePrimaryKey = BasketBalanceBasketIdBatchDenomIndexKey

primary key starting index..

type BasketBalanceTable

type BasketBalanceTable interface {
	Insert(ctx context.Context, basketBalance *BasketBalance) error
	Update(ctx context.Context, basketBalance *BasketBalance) error
	Save(ctx context.Context, basketBalance *BasketBalance) error
	Delete(ctx context.Context, basketBalance *BasketBalance) error
	Has(ctx context.Context, basket_id uint64, batch_denom string) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, basket_id uint64, batch_denom string) (*BasketBalance, error)
	List(ctx context.Context, prefixKey BasketBalanceIndexKey, opts ...ormlist.Option) (BasketBalanceIterator, error)
	ListRange(ctx context.Context, from, to BasketBalanceIndexKey, opts ...ormlist.Option) (BasketBalanceIterator, error)
	DeleteBy(ctx context.Context, prefixKey BasketBalanceIndexKey) error
	DeleteRange(ctx context.Context, from, to BasketBalanceIndexKey) error
	// contains filtered or unexported methods
}

func NewBasketBalanceTable

func NewBasketBalanceTable(db ormtable.Schema) (BasketBalanceTable, error)

type BasketBasketDenomIndexKey

type BasketBasketDenomIndexKey struct {
	// contains filtered or unexported fields
}

func (BasketBasketDenomIndexKey) WithBasketDenom

func (this BasketBasketDenomIndexKey) WithBasketDenom(basket_denom string) BasketBasketDenomIndexKey

type BasketClass

type BasketClass struct {

	// basket_id is the ID of the basket
	BasketId uint64 `protobuf:"varint,1,opt,name=basket_id,json=basketId,proto3" json:"basket_id,omitempty"`
	// class_id is the id of the credit class that is allowed to be deposited in
	// the basket
	ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// contains filtered or unexported fields
}

BasketClass describes a credit class that can be deposited in a basket.

func (*BasketClass) Descriptor deprecated

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

Deprecated: Use BasketClass.ProtoReflect.Descriptor instead.

func (*BasketClass) GetBasketId

func (x *BasketClass) GetBasketId() uint64

func (*BasketClass) GetClassId

func (x *BasketClass) GetClassId() string

func (*BasketClass) ProtoMessage

func (*BasketClass) ProtoMessage()

func (*BasketClass) ProtoReflect

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

func (*BasketClass) Reset

func (x *BasketClass) Reset()

func (*BasketClass) String

func (x *BasketClass) String() string

type BasketClassBasketIdClassIdIndexKey

type BasketClassBasketIdClassIdIndexKey struct {
	// contains filtered or unexported fields
}

func (BasketClassBasketIdClassIdIndexKey) WithBasketId

func (BasketClassBasketIdClassIdIndexKey) WithBasketIdClassId

func (this BasketClassBasketIdClassIdIndexKey) WithBasketIdClassId(basket_id uint64, class_id string) BasketClassBasketIdClassIdIndexKey

type BasketClassIndexKey

type BasketClassIndexKey interface {
	// contains filtered or unexported methods
}

type BasketClassIterator

type BasketClassIterator struct {
	ormtable.Iterator
}

func (BasketClassIterator) Value

func (i BasketClassIterator) Value() (*BasketClass, error)

type BasketClassPrimaryKey

type BasketClassPrimaryKey = BasketClassBasketIdClassIdIndexKey

primary key starting index..

type BasketClassTable

type BasketClassTable interface {
	Insert(ctx context.Context, basketClass *BasketClass) error
	Update(ctx context.Context, basketClass *BasketClass) error
	Save(ctx context.Context, basketClass *BasketClass) error
	Delete(ctx context.Context, basketClass *BasketClass) error
	Has(ctx context.Context, basket_id uint64, class_id string) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, basket_id uint64, class_id string) (*BasketClass, error)
	List(ctx context.Context, prefixKey BasketClassIndexKey, opts ...ormlist.Option) (BasketClassIterator, error)
	ListRange(ctx context.Context, from, to BasketClassIndexKey, opts ...ormlist.Option) (BasketClassIterator, error)
	DeleteBy(ctx context.Context, prefixKey BasketClassIndexKey) error
	DeleteRange(ctx context.Context, from, to BasketClassIndexKey) error
	// contains filtered or unexported methods
}

func NewBasketClassTable

func NewBasketClassTable(db ormtable.Schema) (BasketClassTable, error)

type BasketCredit

type BasketCredit struct {

	// batch_denom is the unique ID of the credit batch.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// amount is the number of credits being put into or taken out of the basket.
	// Decimal values are acceptable within the precision of the corresponding
	//  credit type for this batch.
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

BasketCredit represents the information for a credit batch inside a basket.

func (*BasketCredit) Descriptor deprecated

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

Deprecated: Use BasketCredit.ProtoReflect.Descriptor instead.

func (*BasketCredit) GetAmount

func (x *BasketCredit) GetAmount() string

func (*BasketCredit) GetBatchDenom

func (x *BasketCredit) GetBatchDenom() string

func (*BasketCredit) ProtoMessage

func (*BasketCredit) ProtoMessage()

func (*BasketCredit) ProtoReflect

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

func (*BasketCredit) Reset

func (x *BasketCredit) Reset()

func (*BasketCredit) String

func (x *BasketCredit) String() string

type BasketFee

type BasketFee struct {

	// fee is the basket creation fee. If not set, a basket creation fee is not
	// required.
	Fee *v1beta1.Coin `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

BasketFee is the basket creation fee. If not set, a basket creation fee is not required. This table is controlled via governance.

Since Revision 2

func (*BasketFee) Descriptor deprecated

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

Deprecated: Use BasketFee.ProtoReflect.Descriptor instead.

func (*BasketFee) GetFee

func (x *BasketFee) GetFee() *v1beta1.Coin

func (*BasketFee) ProtoMessage

func (*BasketFee) ProtoMessage()

func (*BasketFee) ProtoReflect

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

func (*BasketFee) Reset

func (x *BasketFee) Reset()

func (*BasketFee) String

func (x *BasketFee) String() string

type BasketFeeTable

type BasketFeeTable interface {
	Get(ctx context.Context) (*BasketFee, error)
	Save(ctx context.Context, basketFee *BasketFee) error
}

singleton store

func NewBasketFeeTable

func NewBasketFeeTable(db ormtable.Schema) (BasketFeeTable, error)

type BasketIdIndexKey

type BasketIdIndexKey struct {
	// contains filtered or unexported fields
}

func (BasketIdIndexKey) WithId

func (this BasketIdIndexKey) WithId(id uint64) BasketIdIndexKey

type BasketIndexKey

type BasketIndexKey interface {
	// contains filtered or unexported methods
}

type BasketInfo

type BasketInfo struct {

	// basket_denom is the basket bank denom.
	BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// name is the unique name of the basket specified in MsgCreate. Basket
	// names must be unique across all credit types and choices of exponent
	// above and beyond the uniqueness constraint on basket_denom.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// disable_auto_retire indicates whether or not the credits will be retired
	// upon withdraw from the basket.
	DisableAutoRetire bool `protobuf:"varint,3,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"`
	// credit_type_abbrev is the abbreviation of the credit type this basket is
	// able to hold.
	CreditTypeAbbrev string `protobuf:"bytes,4,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"`
	// date_criteria is the date criteria for batches admitted to the basket.
	DateCriteria *DateCriteria `protobuf:"bytes,5,opt,name=date_criteria,json=dateCriteria,proto3" json:"date_criteria,omitempty"`
	// exponent is the exponent for converting credits to/from basket tokens.
	Exponent uint32 `protobuf:"varint,6,opt,name=exponent,proto3" json:"exponent,omitempty"`
	// curator is the address of the basket curator who is able to change certain
	// basket settings.
	Curator string `protobuf:"bytes,7,opt,name=curator,proto3" json:"curator,omitempty"`
	// contains filtered or unexported fields
}

BasketInfo is the human-readable basket information.

func (*BasketInfo) Descriptor deprecated

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

Deprecated: Use BasketInfo.ProtoReflect.Descriptor instead.

func (*BasketInfo) GetBasketDenom

func (x *BasketInfo) GetBasketDenom() string

func (*BasketInfo) GetCreditTypeAbbrev

func (x *BasketInfo) GetCreditTypeAbbrev() string

func (*BasketInfo) GetCurator

func (x *BasketInfo) GetCurator() string

func (*BasketInfo) GetDateCriteria

func (x *BasketInfo) GetDateCriteria() *DateCriteria

func (*BasketInfo) GetDisableAutoRetire

func (x *BasketInfo) GetDisableAutoRetire() bool

func (*BasketInfo) GetExponent

func (x *BasketInfo) GetExponent() uint32

func (*BasketInfo) GetName

func (x *BasketInfo) GetName() string

func (*BasketInfo) ProtoMessage

func (*BasketInfo) ProtoMessage()

func (*BasketInfo) ProtoReflect

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

func (*BasketInfo) Reset

func (x *BasketInfo) Reset()

func (*BasketInfo) String

func (x *BasketInfo) String() string

type BasketIterator

type BasketIterator struct {
	ormtable.Iterator
}

func (BasketIterator) Value

func (i BasketIterator) Value() (*Basket, error)

type BasketNameIndexKey

type BasketNameIndexKey struct {
	// contains filtered or unexported fields
}

func (BasketNameIndexKey) WithName

func (this BasketNameIndexKey) WithName(name string) BasketNameIndexKey

type BasketPrimaryKey

type BasketPrimaryKey = BasketIdIndexKey

primary key starting index..

type BasketTable

type BasketTable interface {
	Insert(ctx context.Context, basket *Basket) error
	InsertReturningID(ctx context.Context, basket *Basket) (uint64, error)
	Update(ctx context.Context, basket *Basket) error
	Save(ctx context.Context, basket *Basket) error
	Delete(ctx context.Context, basket *Basket) error
	Has(ctx context.Context, id uint64) (found bool, err error)
	// Get returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	Get(ctx context.Context, id uint64) (*Basket, error)
	HasByBasketDenom(ctx context.Context, basket_denom string) (found bool, err error)
	// GetByBasketDenom returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	GetByBasketDenom(ctx context.Context, basket_denom string) (*Basket, error)
	HasByName(ctx context.Context, name string) (found bool, err error)
	// GetByName returns nil and an error which responds true to ormerrors.IsNotFound() if the record was not found.
	GetByName(ctx context.Context, name string) (*Basket, error)
	List(ctx context.Context, prefixKey BasketIndexKey, opts ...ormlist.Option) (BasketIterator, error)
	ListRange(ctx context.Context, from, to BasketIndexKey, opts ...ormlist.Option) (BasketIterator, error)
	DeleteBy(ctx context.Context, prefixKey BasketIndexKey) error
	DeleteRange(ctx context.Context, from, to BasketIndexKey) error
	// contains filtered or unexported methods
}

func NewBasketTable

func NewBasketTable(db ormtable.Schema) (BasketTable, error)

type DateCriteria

type DateCriteria struct {

	// min_start_date (optional) is the earliest start date for batches of credits
	// allowed into the basket. At most only one of `start_date_window`,
	// `min_start_date`, and `years_in_the_past` can be set for a basket.
	MinStartDate *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=min_start_date,json=minStartDate,proto3" json:"min_start_date,omitempty"`
	// start_date_window (optional) is a duration of time measured into the past
	// which sets a cutoff for batch start dates when adding new credits to the
	// basket. Based on the current block timestamp, credits whose start date is
	// before `block_timestamp - start_date_window` will not be allowed into the
	// basket. At most only one of `start_date_window`, `min_start_date`, and
	// `years_in_the_past` can be set for a basket.
	StartDateWindow *durationpb.Duration `protobuf:"bytes,2,opt,name=start_date_window,json=startDateWindow,proto3" json:"start_date_window,omitempty"`
	// years_in_the_past (optional) is the number of years into the past which
	// sets a cutoff for the batch start dates when adding new credits to the
	// basket. Based on the current block timestamp, credits whose start date year
	// is less than `block_timestamp_year - years_in_the_past` will not be allowed
	// into the basket. At most only one of `start_date_window`, `min_start_date`,
	// and `years_in_the_past` can be set for a basket.
	//
	// Since Revision 1
	YearsInThePast uint32 `protobuf:"varint,3,opt,name=years_in_the_past,json=yearsInThePast,proto3" json:"years_in_the_past,omitempty"`
	// contains filtered or unexported fields
}

DateCriteria represents the information for credit acceptance in a basket. At most, only one of the values should be set.

func (*DateCriteria) Descriptor deprecated

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

Deprecated: Use DateCriteria.ProtoReflect.Descriptor instead.

func (*DateCriteria) GetMinStartDate

func (x *DateCriteria) GetMinStartDate() *timestamppb.Timestamp

func (*DateCriteria) GetStartDateWindow

func (x *DateCriteria) GetStartDateWindow() *durationpb.Duration

func (*DateCriteria) GetYearsInThePast

func (x *DateCriteria) GetYearsInThePast() uint32

func (*DateCriteria) ProtoMessage

func (*DateCriteria) ProtoMessage()

func (*DateCriteria) ProtoReflect

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

func (*DateCriteria) Reset

func (x *DateCriteria) Reset()

func (*DateCriteria) String

func (x *DateCriteria) String() string

type EventCreate

type EventCreate struct {

	// basket_denom is the basket bank denom.
	BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// curator is the address of the basket curator who is able to change certain
	// basket settings.
	//
	// Deprecated (Since Revision 1): This field is still populated and will be
	// removed in the next version.
	//
	// Deprecated: Do not use.
	Curator string `protobuf:"bytes,2,opt,name=curator,proto3" json:"curator,omitempty"`
	// contains filtered or unexported fields
}

EventCreate is an event emitted when a basket is created.

func (*EventCreate) Descriptor deprecated

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

Deprecated: Use EventCreate.ProtoReflect.Descriptor instead.

func (*EventCreate) GetBasketDenom

func (x *EventCreate) GetBasketDenom() string

func (*EventCreate) GetCurator deprecated

func (x *EventCreate) GetCurator() string

Deprecated: Do not use.

func (*EventCreate) ProtoMessage

func (*EventCreate) ProtoMessage()

func (*EventCreate) ProtoReflect

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

func (*EventCreate) Reset

func (x *EventCreate) Reset()

func (*EventCreate) String

func (x *EventCreate) String() string

type EventPut

type EventPut struct {

	// owner is the owner of the credits put into the basket.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// basket_denom is the basket bank denom that the credits were added to.
	BasketDenom string `protobuf:"bytes,2,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// credits are the credits that were added to the basket.
	//
	// Deprecated (Since Revision 1): This field is still populated and will be
	// removed in the next version.
	//
	// Deprecated: Do not use.
	Credits []*BasketCredit `protobuf:"bytes,3,rep,name=credits,proto3" json:"credits,omitempty"`
	// amount is the integer number of basket tokens converted from credits.
	//
	// Deprecated (Since Revision 1): This field is still populated and will be
	// removed in the next version.
	//
	// Deprecated: Do not use.
	Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

EventPut is an event emitted when credits are put into a basket in return for basket tokens.

func (*EventPut) Descriptor deprecated

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

Deprecated: Use EventPut.ProtoReflect.Descriptor instead.

func (*EventPut) GetAmount deprecated

func (x *EventPut) GetAmount() string

Deprecated: Do not use.

func (*EventPut) GetBasketDenom

func (x *EventPut) GetBasketDenom() string

func (*EventPut) GetCredits deprecated

func (x *EventPut) GetCredits() []*BasketCredit

Deprecated: Do not use.

func (*EventPut) GetOwner

func (x *EventPut) GetOwner() string

func (*EventPut) ProtoMessage

func (*EventPut) ProtoMessage()

func (*EventPut) ProtoReflect

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

func (*EventPut) Reset

func (x *EventPut) Reset()

func (*EventPut) String

func (x *EventPut) String() string

type EventTake

type EventTake struct {

	// owner is the owner of the credits taken from the basket.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// basket_denom is the basket bank denom that credits were taken from.
	BasketDenom string `protobuf:"bytes,2,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// credits are the credits that were taken from the basket.
	//
	// Deprecated (Since Revision 1): This field is still populated and will be
	// removed in the next version.
	//
	// Deprecated: Do not use.
	Credits []*BasketCredit `protobuf:"bytes,3,rep,name=credits,proto3" json:"credits,omitempty"`
	// amount is the integer number of basket tokens converted to credits.
	//
	// Deprecated (Since Revision 1): This field is still populated and will be
	// removed in the next version.
	//
	// Deprecated: Do not use.
	Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

EventTake is an event emitted when credits are taken from a basket starting from the oldest credits first.

func (*EventTake) Descriptor deprecated

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

Deprecated: Use EventTake.ProtoReflect.Descriptor instead.

func (*EventTake) GetAmount deprecated

func (x *EventTake) GetAmount() string

Deprecated: Do not use.

func (*EventTake) GetBasketDenom

func (x *EventTake) GetBasketDenom() string

func (*EventTake) GetCredits deprecated

func (x *EventTake) GetCredits() []*BasketCredit

Deprecated: Do not use.

func (*EventTake) GetOwner

func (x *EventTake) GetOwner() string

func (*EventTake) ProtoMessage

func (*EventTake) ProtoMessage()

func (*EventTake) ProtoReflect

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

func (*EventTake) Reset

func (x *EventTake) Reset()

func (*EventTake) String

func (x *EventTake) String() string

type EventUpdateCurator

type EventUpdateCurator struct {

	// denom is the basket denom.
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

EventUpdateCurator is an event emitted when the basket curator is updated.

Since Revision 2

func (*EventUpdateCurator) Descriptor deprecated

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

Deprecated: Use EventUpdateCurator.ProtoReflect.Descriptor instead.

func (*EventUpdateCurator) GetDenom

func (x *EventUpdateCurator) GetDenom() string

func (*EventUpdateCurator) ProtoMessage

func (*EventUpdateCurator) ProtoMessage()

func (*EventUpdateCurator) ProtoReflect

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

func (*EventUpdateCurator) Reset

func (x *EventUpdateCurator) Reset()

func (*EventUpdateCurator) String

func (x *EventUpdateCurator) String() string

type MsgClient

type MsgClient interface {
	// Create creates a basket that can hold different types of ecocredits that
	// meet the basket's criteria. Upon depositing ecocredits into the basket,
	// basket tokens are minted and sent to depositor using the Cosmos SDK Bank
	// module. This allows basket tokens to be utilized within IBC. Basket tokens
	// are fully fungible with other basket tokens from the same basket. The
	// basket token denom is derived from the basket name, credit type
	// abbreviation, and credit type precision (i.e. basket name "foo", credit
	// type exponent 6, and credit type abbreviation "C" generates the denom
	// eco.uC.foo). Baskets can limit credit acceptance criteria based on a
	// combination of credit type, credit classes, and credit batch start date.
	// Credits can be taken from the basket in exchange for basket tokens. Taken
	// credits will be immediately retired, unless disable_auto_retire is set to
	// true. When set to true, credits may be received in either a tradable or
	// retired state, depending on the taker's request. If the basket fee
	// governance parameter is set, a fee of equal or greater value must be
	// provided in the request. Only the amount specified in the fee parameter
	// will be charged, even if a greater value fee is provided. Fees from
	// creating a basket are burned.
	Create(ctx context.Context, in *MsgCreate, opts ...grpc.CallOption) (*MsgCreateResponse, error)
	// Put deposits credits into the basket from the holder's tradable balance in
	// exchange for basket tokens. The amount of tokens received is calculated by
	// the following formula: sum(credits_deposited) * 10^credit_type_exponent.
	// The credits being deposited MUST adhere to the criteria of the basket.
	Put(ctx context.Context, in *MsgPut, opts ...grpc.CallOption) (*MsgPutResponse, error)
	// Take exchanges basket tokens for credits from the specified basket. Credits
	// are taken deterministically, ordered by oldest batch start date to the most
	// recent batch start date. If the basket has disable_auto_retire set to
	// false, both retirement_jurisdiction and retire_on_take must be set, and the
	// taken credits will be retired immediately upon receipt. Otherwise, credits
	// may be received as tradable or retired, based on the request.
	Take(ctx context.Context, in *MsgTake, opts ...grpc.CallOption) (*MsgTakeResponse, error)
	// UpdateBasketFee is a governance method that allows for updating the basket
	// creation fee. If not set, the basket creation fee will be removed and no
	// fee will be required to create a basket.
	//
	// Since Revision 2
	UpdateBasketFee(ctx context.Context, in *MsgUpdateBasketFee, opts ...grpc.CallOption) (*MsgUpdateBasketFeeResponse, error)
	// UpdateCurator updates basket curator.
	//
	// Since Revision 2
	UpdateCurator(ctx context.Context, in *MsgUpdateCurator, opts ...grpc.CallOption) (*MsgUpdateCuratorResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCreate

type MsgCreate struct {

	// curator is the address of the basket curator who is able to change certain
	// basket settings.
	Curator string `protobuf:"bytes,1,opt,name=curator,proto3" json:"curator,omitempty"`
	// name will be used to together with prefix to create a bank denom for this
	// basket token. It can be between 3-8 alphanumeric characters, with the
	// first character being alphabetic.
	//
	// The bank denom will be formed from name and credit type with the format
	// `eco.<prefix><credit_type_abbrev>.<name>` where prefix is the prefix of
	// a standard SI unit derived from credit type precision.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// description is a human-readable description of the basket denom that should
	// be at most 256 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Deprecated (Since Revision 1): This field is no longer used and will be
	// removed in the next version. The value of credit type precision is always
	// used as the exponent when determining the prefix for basket denom, defining
	// bank denom metadata, and converting credits to/from basket tokens.
	//
	// Deprecated: Do not use.
	Exponent uint32 `protobuf:"varint,4,opt,name=exponent,proto3" json:"exponent,omitempty"`
	// disable_auto_retire allows auto-retirement to be disabled.
	// The credits will be auto-retired if disable_auto_retire is
	// false unless the credits were previously put into the basket by the
	// address picking them from the basket, in which case they will remain
	// tradable.
	DisableAutoRetire bool `protobuf:"varint,5,opt,name=disable_auto_retire,json=disableAutoRetire,proto3" json:"disable_auto_retire,omitempty"`
	// credit_type_abbrev is the abbreviation of the credit type this basket is
	// able to hold.
	CreditTypeAbbrev string `protobuf:"bytes,6,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"`
	// allowed_classes are the credit classes allowed to be put in the basket
	AllowedClasses []string `protobuf:"bytes,7,rep,name=allowed_classes,json=allowedClasses,proto3" json:"allowed_classes,omitempty"`
	// date_criteria is the date criteria for batches admitted to the basket.
	// At most, only one of the fields in the date_criteria should be set.
	DateCriteria *DateCriteria `protobuf:"bytes,8,opt,name=date_criteria,json=dateCriteria,proto3" json:"date_criteria,omitempty"`
	// fee is the basket creation fee. A fee is not required if no fee exists
	// in the basket fee parameter. The fee must be greater than or equal to the
	// fee param. The curator will be charged the amount specified in the fee
	// parameter, even if a greater amount is provided.
	//
	// Note (Since Revision 1): Although this field supports a list of fees, the
	// basket creator must provide no more than one fee (i.e. one Coin in a list
	// of Coins). Providing more than one fee will fail basic message validation.
	// This field will be updated to a single fee rather than a list of fees in
	// the next version to reflect these requirements.
	Fee []*v1beta1.Coin `protobuf:"bytes,9,rep,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateBasket is the Msg/CreateBasket request type.

func (*MsgCreate) Descriptor deprecated

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

Deprecated: Use MsgCreate.ProtoReflect.Descriptor instead.

func (*MsgCreate) GetAllowedClasses

func (x *MsgCreate) GetAllowedClasses() []string

func (*MsgCreate) GetCreditTypeAbbrev

func (x *MsgCreate) GetCreditTypeAbbrev() string

func (*MsgCreate) GetCurator

func (x *MsgCreate) GetCurator() string

func (*MsgCreate) GetDateCriteria

func (x *MsgCreate) GetDateCriteria() *DateCriteria

func (*MsgCreate) GetDescription

func (x *MsgCreate) GetDescription() string

func (*MsgCreate) GetDisableAutoRetire

func (x *MsgCreate) GetDisableAutoRetire() bool

func (*MsgCreate) GetExponent deprecated

func (x *MsgCreate) GetExponent() uint32

Deprecated: Do not use.

func (*MsgCreate) GetFee

func (x *MsgCreate) GetFee() []*v1beta1.Coin

func (*MsgCreate) GetName

func (x *MsgCreate) GetName() string

func (*MsgCreate) ProtoMessage

func (*MsgCreate) ProtoMessage()

func (*MsgCreate) ProtoReflect

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

func (*MsgCreate) Reset

func (x *MsgCreate) Reset()

func (*MsgCreate) String

func (x *MsgCreate) String() string

type MsgCreateResponse

type MsgCreateResponse struct {

	// basket_denom is the unique denomination ID of the newly created basket.
	BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateBasketResponse is the Msg/CreateBasket response type.

func (*MsgCreateResponse) Descriptor deprecated

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

Deprecated: Use MsgCreateResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateResponse) GetBasketDenom

func (x *MsgCreateResponse) GetBasketDenom() string

func (*MsgCreateResponse) ProtoMessage

func (*MsgCreateResponse) ProtoMessage()

func (*MsgCreateResponse) ProtoReflect

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

func (*MsgCreateResponse) Reset

func (x *MsgCreateResponse) Reset()

func (*MsgCreateResponse) String

func (x *MsgCreateResponse) String() string

type MsgPut

type MsgPut struct {

	// owner is the owner of credits being put into the basket.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// basket_denom is the basket denom to add credits to.
	BasketDenom string `protobuf:"bytes,2,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// credits are credits to add to the basket. If they do not match the basket's
	// admission criteria, the operation will fail.
	Credits []*BasketCredit `protobuf:"bytes,3,rep,name=credits,proto3" json:"credits,omitempty"`
	// contains filtered or unexported fields
}

MsgAddToBasket is the Msg/AddToBasket request type.

func (*MsgPut) Descriptor deprecated

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

Deprecated: Use MsgPut.ProtoReflect.Descriptor instead.

func (*MsgPut) GetBasketDenom

func (x *MsgPut) GetBasketDenom() string

func (*MsgPut) GetCredits

func (x *MsgPut) GetCredits() []*BasketCredit

func (*MsgPut) GetOwner

func (x *MsgPut) GetOwner() string

func (*MsgPut) ProtoMessage

func (*MsgPut) ProtoMessage()

func (*MsgPut) ProtoReflect

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

func (*MsgPut) Reset

func (x *MsgPut) Reset()

func (*MsgPut) String

func (x *MsgPut) String() string

type MsgPutResponse

type MsgPutResponse struct {

	// amount_received is the integer amount of basket tokens received.
	AmountReceived string `protobuf:"bytes,1,opt,name=amount_received,json=amountReceived,proto3" json:"amount_received,omitempty"`
	// contains filtered or unexported fields
}

MsgAddToBasketResponse is the Msg/AddToBasket response type.

func (*MsgPutResponse) Descriptor deprecated

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

Deprecated: Use MsgPutResponse.ProtoReflect.Descriptor instead.

func (*MsgPutResponse) GetAmountReceived

func (x *MsgPutResponse) GetAmountReceived() string

func (*MsgPutResponse) ProtoMessage

func (*MsgPutResponse) ProtoMessage()

func (*MsgPutResponse) ProtoReflect

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

func (*MsgPutResponse) Reset

func (x *MsgPutResponse) Reset()

func (*MsgPutResponse) String

func (x *MsgPutResponse) String() string

type MsgServer

type MsgServer interface {
	// Create creates a basket that can hold different types of ecocredits that
	// meet the basket's criteria. Upon depositing ecocredits into the basket,
	// basket tokens are minted and sent to depositor using the Cosmos SDK Bank
	// module. This allows basket tokens to be utilized within IBC. Basket tokens
	// are fully fungible with other basket tokens from the same basket. The
	// basket token denom is derived from the basket name, credit type
	// abbreviation, and credit type precision (i.e. basket name "foo", credit
	// type exponent 6, and credit type abbreviation "C" generates the denom
	// eco.uC.foo). Baskets can limit credit acceptance criteria based on a
	// combination of credit type, credit classes, and credit batch start date.
	// Credits can be taken from the basket in exchange for basket tokens. Taken
	// credits will be immediately retired, unless disable_auto_retire is set to
	// true. When set to true, credits may be received in either a tradable or
	// retired state, depending on the taker's request. If the basket fee
	// governance parameter is set, a fee of equal or greater value must be
	// provided in the request. Only the amount specified in the fee parameter
	// will be charged, even if a greater value fee is provided. Fees from
	// creating a basket are burned.
	Create(context.Context, *MsgCreate) (*MsgCreateResponse, error)
	// Put deposits credits into the basket from the holder's tradable balance in
	// exchange for basket tokens. The amount of tokens received is calculated by
	// the following formula: sum(credits_deposited) * 10^credit_type_exponent.
	// The credits being deposited MUST adhere to the criteria of the basket.
	Put(context.Context, *MsgPut) (*MsgPutResponse, error)
	// Take exchanges basket tokens for credits from the specified basket. Credits
	// are taken deterministically, ordered by oldest batch start date to the most
	// recent batch start date. If the basket has disable_auto_retire set to
	// false, both retirement_jurisdiction and retire_on_take must be set, and the
	// taken credits will be retired immediately upon receipt. Otherwise, credits
	// may be received as tradable or retired, based on the request.
	Take(context.Context, *MsgTake) (*MsgTakeResponse, error)
	// UpdateBasketFee is a governance method that allows for updating the basket
	// creation fee. If not set, the basket creation fee will be removed and no
	// fee will be required to create a basket.
	//
	// Since Revision 2
	UpdateBasketFee(context.Context, *MsgUpdateBasketFee) (*MsgUpdateBasketFeeResponse, error)
	// UpdateCurator updates basket curator.
	//
	// Since Revision 2
	UpdateCurator(context.Context, *MsgUpdateCurator) (*MsgUpdateCuratorResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgTake

type MsgTake struct {

	// owner is the owner of the basket tokens.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// basket_denom is the basket bank denom to take credits from.
	BasketDenom string `protobuf:"bytes,2,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// amount is the integer number of basket tokens to convert into credits.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// retirement_location is the optional retirement jurisdiction for the
	// credits which will be used only if retire_on_take is true.
	//
	// Deprecated (Since Revision 1): This field will be removed in the next
	// version in favor of retirement_jurisdiction. Only one of these need to be
	// set and retirement_jurisdiction will be used if both are set.
	//
	// Deprecated: Do not use.
	RetirementLocation string `protobuf:"bytes,4,opt,name=retirement_location,json=retirementLocation,proto3" json:"retirement_location,omitempty"`
	// retire_on_take is a boolean that dictates whether the ecocredits
	// received in exchange for the basket tokens will be received as
	// retired or tradable credits. If the basket has disable_auto_retire set to
	// false, retire_on_take MUST be set to true, and a retirement jurisdiction
	// must be provided.
	RetireOnTake bool `protobuf:"varint,5,opt,name=retire_on_take,json=retireOnTake,proto3" json:"retire_on_take,omitempty"`
	// retirement_jurisdiction is the optional retirement jurisdiction for the
	// credits which will be used only if retire_on_take is true.
	//
	// Since Revision 1
	RetirementJurisdiction string `` /* 127-byte string literal not displayed */
	// retirement_reason is any arbitrary string that specifies the reason for
	// retiring credits. The reason will be included in EventRetire and is not
	// stored in state.
	//
	// Since Revision 2
	RetirementReason string `protobuf:"bytes,7,opt,name=retirement_reason,json=retirementReason,proto3" json:"retirement_reason,omitempty"`
	// contains filtered or unexported fields
}

MsgTakeFromBasket is the Msg/TakeFromBasket request type.

func (*MsgTake) Descriptor deprecated

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

Deprecated: Use MsgTake.ProtoReflect.Descriptor instead.

func (*MsgTake) GetAmount

func (x *MsgTake) GetAmount() string

func (*MsgTake) GetBasketDenom

func (x *MsgTake) GetBasketDenom() string

func (*MsgTake) GetOwner

func (x *MsgTake) GetOwner() string

func (*MsgTake) GetRetireOnTake

func (x *MsgTake) GetRetireOnTake() bool

func (*MsgTake) GetRetirementJurisdiction

func (x *MsgTake) GetRetirementJurisdiction() string

func (*MsgTake) GetRetirementLocation deprecated

func (x *MsgTake) GetRetirementLocation() string

Deprecated: Do not use.

func (*MsgTake) GetRetirementReason

func (x *MsgTake) GetRetirementReason() string

func (*MsgTake) ProtoMessage

func (*MsgTake) ProtoMessage()

func (*MsgTake) ProtoReflect

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

func (*MsgTake) Reset

func (x *MsgTake) Reset()

func (*MsgTake) String

func (x *MsgTake) String() string

type MsgTakeResponse

type MsgTakeResponse struct {

	// credits are the credits taken out of the basket.
	Credits []*BasketCredit `protobuf:"bytes,1,rep,name=credits,proto3" json:"credits,omitempty"`
	// contains filtered or unexported fields
}

MsgTakeFromBasketResponse is the Msg/TakeFromBasket response type.

func (*MsgTakeResponse) Descriptor deprecated

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

Deprecated: Use MsgTakeResponse.ProtoReflect.Descriptor instead.

func (*MsgTakeResponse) GetCredits

func (x *MsgTakeResponse) GetCredits() []*BasketCredit

func (*MsgTakeResponse) ProtoMessage

func (*MsgTakeResponse) ProtoMessage()

func (*MsgTakeResponse) ProtoReflect

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

func (*MsgTakeResponse) Reset

func (x *MsgTakeResponse) Reset()

func (*MsgTakeResponse) String

func (x *MsgTakeResponse) String() string

type MsgUpdateBasketFee

type MsgUpdateBasketFee struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// fee is the basket creation fee. If not set, the basket creation fee will be
	// removed and no fee will be required to create a basket.
	Fee *v1beta1.Coin `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateBasketFee is the Msg/UpdateBasketFee request type.

Since Revision 2

func (*MsgUpdateBasketFee) Descriptor deprecated

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

Deprecated: Use MsgUpdateBasketFee.ProtoReflect.Descriptor instead.

func (*MsgUpdateBasketFee) GetAuthority

func (x *MsgUpdateBasketFee) GetAuthority() string

func (*MsgUpdateBasketFee) GetFee

func (x *MsgUpdateBasketFee) GetFee() *v1beta1.Coin

func (*MsgUpdateBasketFee) ProtoMessage

func (*MsgUpdateBasketFee) ProtoMessage()

func (*MsgUpdateBasketFee) ProtoReflect

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

func (*MsgUpdateBasketFee) Reset

func (x *MsgUpdateBasketFee) Reset()

func (*MsgUpdateBasketFee) String

func (x *MsgUpdateBasketFee) String() string

type MsgUpdateBasketFeeResponse

type MsgUpdateBasketFeeResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateBasketFeeResponse is the Msg/UpdateBasketFee response type.

Since Revision 2

func (*MsgUpdateBasketFeeResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateBasketFeeResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateBasketFeeResponse) ProtoMessage

func (*MsgUpdateBasketFeeResponse) ProtoMessage()

func (*MsgUpdateBasketFeeResponse) ProtoReflect

func (*MsgUpdateBasketFeeResponse) Reset

func (x *MsgUpdateBasketFeeResponse) Reset()

func (*MsgUpdateBasketFeeResponse) String

func (x *MsgUpdateBasketFeeResponse) String() string

type MsgUpdateCurator

type MsgUpdateCurator struct {

	// curator is the address of the basket curator.
	Curator string `protobuf:"bytes,1,opt,name=curator,proto3" json:"curator,omitempty"`
	// denom is the unique identifier of the basket.
	Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	// new_curator is the address of the account that will become the
	// new curator of the basket.
	NewCurator string `protobuf:"bytes,3,opt,name=new_curator,json=newCurator,proto3" json:"new_curator,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateCurator is the Msg/UpdateCurator request type.

Since Revision 2

func (*MsgUpdateCurator) Descriptor deprecated

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

Deprecated: Use MsgUpdateCurator.ProtoReflect.Descriptor instead.

func (*MsgUpdateCurator) GetCurator

func (x *MsgUpdateCurator) GetCurator() string

func (*MsgUpdateCurator) GetDenom

func (x *MsgUpdateCurator) GetDenom() string

func (*MsgUpdateCurator) GetNewCurator

func (x *MsgUpdateCurator) GetNewCurator() string

func (*MsgUpdateCurator) ProtoMessage

func (*MsgUpdateCurator) ProtoMessage()

func (*MsgUpdateCurator) ProtoReflect

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

func (*MsgUpdateCurator) Reset

func (x *MsgUpdateCurator) Reset()

func (*MsgUpdateCurator) String

func (x *MsgUpdateCurator) String() string

type MsgUpdateCuratorResponse

type MsgUpdateCuratorResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateCuratorResponse is the Msg/UpdateCurator response type.

Since Revision 2

func (*MsgUpdateCuratorResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateCuratorResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateCuratorResponse) ProtoMessage

func (*MsgUpdateCuratorResponse) ProtoMessage()

func (*MsgUpdateCuratorResponse) ProtoReflect

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

func (*MsgUpdateCuratorResponse) Reset

func (x *MsgUpdateCuratorResponse) Reset()

func (*MsgUpdateCuratorResponse) String

func (x *MsgUpdateCuratorResponse) String() string

type QueryBasketBalanceRequest

type QueryBasketBalanceRequest struct {

	// basket_denom is the denom of the basket.
	BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// batch_denom is the denom of the credit batch.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketBalanceRequest is the Query/BasketBalance request type.

func (*QueryBasketBalanceRequest) Descriptor deprecated

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

Deprecated: Use QueryBasketBalanceRequest.ProtoReflect.Descriptor instead.

func (*QueryBasketBalanceRequest) GetBasketDenom

func (x *QueryBasketBalanceRequest) GetBasketDenom() string

func (*QueryBasketBalanceRequest) GetBatchDenom

func (x *QueryBasketBalanceRequest) GetBatchDenom() string

func (*QueryBasketBalanceRequest) ProtoMessage

func (*QueryBasketBalanceRequest) ProtoMessage()

func (*QueryBasketBalanceRequest) ProtoReflect

func (*QueryBasketBalanceRequest) Reset

func (x *QueryBasketBalanceRequest) Reset()

func (*QueryBasketBalanceRequest) String

func (x *QueryBasketBalanceRequest) String() string

type QueryBasketBalanceResponse

type QueryBasketBalanceResponse struct {

	// balance is the amount of the queried credit batch in the basket.
	Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketBalanceResponse is the Query/BasketBalance response type.

func (*QueryBasketBalanceResponse) Descriptor deprecated

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

Deprecated: Use QueryBasketBalanceResponse.ProtoReflect.Descriptor instead.

func (*QueryBasketBalanceResponse) GetBalance

func (x *QueryBasketBalanceResponse) GetBalance() string

func (*QueryBasketBalanceResponse) ProtoMessage

func (*QueryBasketBalanceResponse) ProtoMessage()

func (*QueryBasketBalanceResponse) ProtoReflect

func (*QueryBasketBalanceResponse) Reset

func (x *QueryBasketBalanceResponse) Reset()

func (*QueryBasketBalanceResponse) String

func (x *QueryBasketBalanceResponse) String() string

type QueryBasketBalancesRequest

type QueryBasketBalancesRequest struct {

	// basket_denom is the denom of the basket.
	BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketBalancesRequest is the Query/BasketBalances request type.

func (*QueryBasketBalancesRequest) Descriptor deprecated

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

Deprecated: Use QueryBasketBalancesRequest.ProtoReflect.Descriptor instead.

func (*QueryBasketBalancesRequest) GetBasketDenom

func (x *QueryBasketBalancesRequest) GetBasketDenom() string

func (*QueryBasketBalancesRequest) GetPagination

func (x *QueryBasketBalancesRequest) GetPagination() *v1beta1.PageRequest

func (*QueryBasketBalancesRequest) ProtoMessage

func (*QueryBasketBalancesRequest) ProtoMessage()

func (*QueryBasketBalancesRequest) ProtoReflect

func (*QueryBasketBalancesRequest) Reset

func (x *QueryBasketBalancesRequest) Reset()

func (*QueryBasketBalancesRequest) String

func (x *QueryBasketBalancesRequest) String() string

type QueryBasketBalancesResponse

type QueryBasketBalancesResponse struct {

	// balances is a list of credit balances in the basket.
	//
	// Deprecated (Since Revision 1): This field is still populated using
	// BasketBalance but will be updated to use BasketBalanceInfo in the next
	// version. In the meantime baskets_info is available using BasketBalanceInfo.
	//
	// Deprecated: Do not use.
	Balances []*BasketBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// balances_info is a list of credit balances in the basket.
	//
	// Since Revision 1
	BalancesInfo []*BasketBalanceInfo `protobuf:"bytes,3,rep,name=balances_info,json=balancesInfo,proto3" json:"balances_info,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketBalancesResponse is the Query/BasketBalances response type.

func (*QueryBasketBalancesResponse) Descriptor deprecated

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

Deprecated: Use QueryBasketBalancesResponse.ProtoReflect.Descriptor instead.

func (*QueryBasketBalancesResponse) GetBalances deprecated

func (x *QueryBasketBalancesResponse) GetBalances() []*BasketBalance

Deprecated: Do not use.

func (*QueryBasketBalancesResponse) GetBalancesInfo

func (x *QueryBasketBalancesResponse) GetBalancesInfo() []*BasketBalanceInfo

func (*QueryBasketBalancesResponse) GetPagination

func (x *QueryBasketBalancesResponse) GetPagination() *v1beta1.PageResponse

func (*QueryBasketBalancesResponse) ProtoMessage

func (*QueryBasketBalancesResponse) ProtoMessage()

func (*QueryBasketBalancesResponse) ProtoReflect

func (*QueryBasketBalancesResponse) Reset

func (x *QueryBasketBalancesResponse) Reset()

func (*QueryBasketBalancesResponse) String

func (x *QueryBasketBalancesResponse) String() string

type QueryBasketFeeRequest

type QueryBasketFeeRequest struct {
	// contains filtered or unexported fields
}

QueryBasketFeeRequest is the Query/BasketFee request type.

Since Revision 2

func (*QueryBasketFeeRequest) Descriptor deprecated

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

Deprecated: Use QueryBasketFeeRequest.ProtoReflect.Descriptor instead.

func (*QueryBasketFeeRequest) ProtoMessage

func (*QueryBasketFeeRequest) ProtoMessage()

func (*QueryBasketFeeRequest) ProtoReflect

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

func (*QueryBasketFeeRequest) Reset

func (x *QueryBasketFeeRequest) Reset()

func (*QueryBasketFeeRequest) String

func (x *QueryBasketFeeRequest) String() string

type QueryBasketFeeResponse

type QueryBasketFeeResponse struct {

	// fee is the basket creation fee. If not set, a basket creation fee is not
	// required.
	Fee *v1beta11.Coin `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketFeeResponse is the Query/BasketFee response type.

Since Revision 2

func (*QueryBasketFeeResponse) Descriptor deprecated

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

Deprecated: Use QueryBasketFeeResponse.ProtoReflect.Descriptor instead.

func (*QueryBasketFeeResponse) GetFee

func (x *QueryBasketFeeResponse) GetFee() *v1beta11.Coin

func (*QueryBasketFeeResponse) ProtoMessage

func (*QueryBasketFeeResponse) ProtoMessage()

func (*QueryBasketFeeResponse) ProtoReflect

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

func (*QueryBasketFeeResponse) Reset

func (x *QueryBasketFeeResponse) Reset()

func (*QueryBasketFeeResponse) String

func (x *QueryBasketFeeResponse) String() string

type QueryBasketRequest

type QueryBasketRequest struct {

	// basket_denom represents the denom of the basket to query.
	BasketDenom string `protobuf:"bytes,1,opt,name=basket_denom,json=basketDenom,proto3" json:"basket_denom,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketRequest is the Query/Basket request type.

func (*QueryBasketRequest) Descriptor deprecated

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

Deprecated: Use QueryBasketRequest.ProtoReflect.Descriptor instead.

func (*QueryBasketRequest) GetBasketDenom

func (x *QueryBasketRequest) GetBasketDenom() string

func (*QueryBasketRequest) ProtoMessage

func (*QueryBasketRequest) ProtoMessage()

func (*QueryBasketRequest) ProtoReflect

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

func (*QueryBasketRequest) Reset

func (x *QueryBasketRequest) Reset()

func (*QueryBasketRequest) String

func (x *QueryBasketRequest) String() string

type QueryBasketResponse

type QueryBasketResponse struct {

	// basket is the queried basket.
	//
	// Deprecated (Since Revision 1): This field is still populated using Basket
	// but will be updated to use BasketInfo in the next version. In the meantime
	// basket_info is available using BasketInfo.
	//
	// Deprecated: Do not use.
	Basket *Basket `protobuf:"bytes,1,opt,name=basket,proto3" json:"basket,omitempty"`
	// classes are the credit classes that can be deposited in the basket.
	Classes []string `protobuf:"bytes,2,rep,name=classes,proto3" json:"classes,omitempty"`
	// basket_info is the queried basket.
	//
	// Since Revision 1
	BasketInfo *BasketInfo `protobuf:"bytes,3,opt,name=basket_info,json=basketInfo,proto3" json:"basket_info,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketResponse is the Query/Basket response type.

func (*QueryBasketResponse) Descriptor deprecated

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

Deprecated: Use QueryBasketResponse.ProtoReflect.Descriptor instead.

func (*QueryBasketResponse) GetBasket deprecated

func (x *QueryBasketResponse) GetBasket() *Basket

Deprecated: Do not use.

func (*QueryBasketResponse) GetBasketInfo

func (x *QueryBasketResponse) GetBasketInfo() *BasketInfo

func (*QueryBasketResponse) GetClasses

func (x *QueryBasketResponse) GetClasses() []string

func (*QueryBasketResponse) ProtoMessage

func (*QueryBasketResponse) ProtoMessage()

func (*QueryBasketResponse) ProtoReflect

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

func (*QueryBasketResponse) Reset

func (x *QueryBasketResponse) Reset()

func (*QueryBasketResponse) String

func (x *QueryBasketResponse) String() string

type QueryBasketsRequest

type QueryBasketsRequest struct {

	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketsRequest is the Query/Baskets request type.

func (*QueryBasketsRequest) Descriptor deprecated

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

Deprecated: Use QueryBasketsRequest.ProtoReflect.Descriptor instead.

func (*QueryBasketsRequest) GetPagination

func (x *QueryBasketsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryBasketsRequest) ProtoMessage

func (*QueryBasketsRequest) ProtoMessage()

func (*QueryBasketsRequest) ProtoReflect

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

func (*QueryBasketsRequest) Reset

func (x *QueryBasketsRequest) Reset()

func (*QueryBasketsRequest) String

func (x *QueryBasketsRequest) String() string

type QueryBasketsResponse

type QueryBasketsResponse struct {

	// baskets are the fetched baskets.
	//
	// Deprecated (Since Revision 1): This field is still populated using Basket
	// but will be updated to use BasketInfo in the next version. In the meantime
	// baskets_info is available using BasketInfo.
	//
	// Deprecated: Do not use.
	Baskets []*Basket `protobuf:"bytes,1,rep,name=baskets,proto3" json:"baskets,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// baskets_info are the fetched baskets.
	//
	// Since Revision 1
	BasketsInfo []*BasketInfo `protobuf:"bytes,3,rep,name=baskets_info,json=basketsInfo,proto3" json:"baskets_info,omitempty"`
	// contains filtered or unexported fields
}

QueryBasketsResponse is the Query/Baskets response type.

func (*QueryBasketsResponse) Descriptor deprecated

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

Deprecated: Use QueryBasketsResponse.ProtoReflect.Descriptor instead.

func (*QueryBasketsResponse) GetBaskets deprecated

func (x *QueryBasketsResponse) GetBaskets() []*Basket

Deprecated: Do not use.

func (*QueryBasketsResponse) GetBasketsInfo

func (x *QueryBasketsResponse) GetBasketsInfo() []*BasketInfo

func (*QueryBasketsResponse) GetPagination

func (x *QueryBasketsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryBasketsResponse) ProtoMessage

func (*QueryBasketsResponse) ProtoMessage()

func (*QueryBasketsResponse) ProtoReflect

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

func (*QueryBasketsResponse) Reset

func (x *QueryBasketsResponse) Reset()

func (*QueryBasketsResponse) String

func (x *QueryBasketsResponse) String() string

type QueryClient

type QueryClient interface {
	// Basket queries one basket by denom.
	Basket(ctx context.Context, in *QueryBasketRequest, opts ...grpc.CallOption) (*QueryBasketResponse, error)
	// Baskets lists all baskets in the ecocredit module.
	Baskets(ctx context.Context, in *QueryBasketsRequest, opts ...grpc.CallOption) (*QueryBasketsResponse, error)
	// BasketBalances lists the balance of each credit batch in the basket.
	BasketBalances(ctx context.Context, in *QueryBasketBalancesRequest, opts ...grpc.CallOption) (*QueryBasketBalancesResponse, error)
	// BasketBalance queries the balance of a specific credit batch in the basket.
	BasketBalance(ctx context.Context, in *QueryBasketBalanceRequest, opts ...grpc.CallOption) (*QueryBasketBalanceResponse, error)
	// BasketFee returns the basket creation fee. If not set, a basket creation
	// fee is not required.
	//
	// Since Revision 2
	BasketFee(ctx context.Context, in *QueryBasketFeeRequest, opts ...grpc.CallOption) (*QueryBasketFeeResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryServer

type QueryServer interface {
	// Basket queries one basket by denom.
	Basket(context.Context, *QueryBasketRequest) (*QueryBasketResponse, error)
	// Baskets lists all baskets in the ecocredit module.
	Baskets(context.Context, *QueryBasketsRequest) (*QueryBasketsResponse, error)
	// BasketBalances lists the balance of each credit batch in the basket.
	BasketBalances(context.Context, *QueryBasketBalancesRequest) (*QueryBasketBalancesResponse, error)
	// BasketBalance queries the balance of a specific credit batch in the basket.
	BasketBalance(context.Context, *QueryBasketBalanceRequest) (*QueryBasketBalanceResponse, error)
	// BasketFee returns the basket creation fee. If not set, a basket creation
	// fee is not required.
	//
	// Since Revision 2
	BasketFee(context.Context, *QueryBasketFeeRequest) (*QueryBasketFeeResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type StateStore

type StateStore interface {
	BasketTable() BasketTable
	BasketClassTable() BasketClassTable
	BasketBalanceTable() BasketBalanceTable
	BasketFeeTable() BasketFeeTable
	// contains filtered or unexported methods
}

func NewStateStore

func NewStateStore(db ormtable.Schema) (StateStore, error)

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) Create

func (UnimplementedMsgServer) Put

func (UnimplementedMsgServer) Take

func (UnimplementedMsgServer) UpdateBasketFee

func (UnimplementedMsgServer) UpdateCurator

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Basket

func (UnimplementedQueryServer) BasketFee

func (UnimplementedQueryServer) Baskets

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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