v1

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const MaxReferenceIDLength = 32
View Source
const (
	PRECISION uint32 = 6
)
View Source
const (
	ProposalType = "CreditTypeProposal"
)

Variables

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// This is a value of 20 REGEN
	DefaultClassFee         = math.NewInt(2e7)
	DefaultBasketFee        = math.NewInt(2e7)
	KeyCreditClassFee       = []byte("CreditClassFee")
	KeyAllowedClassCreators = []byte("AllowedClassCreators")
	KeyAllowlistEnabled     = []byte("AllowlistEnabled")
	KeyBasketFee            = []byte("BasketFee")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthState        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowState          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupState = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter key table.

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RegisterTypes

func RegisterTypes(registry codectypes.InterfaceRegistry)

Types

type AllowedBridgeChain

type AllowedBridgeChain struct {
	// chain_name is the name of the chain allowed to bridge ecocredits to.
	ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
}

AllowedBridgeChain is a list of chains that are allowed to be used in bridging operations. NOTE: chain_names MUST be converted to lowercase before writing to and reading from this table in order to keep entries consistent. This table is controlled via governance.

Since Revision 2

func (*AllowedBridgeChain) Descriptor

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

func (*AllowedBridgeChain) GetChainName

func (m *AllowedBridgeChain) GetChainName() string

func (*AllowedBridgeChain) Marshal

func (m *AllowedBridgeChain) Marshal() (dAtA []byte, err error)

func (*AllowedBridgeChain) MarshalTo

func (m *AllowedBridgeChain) MarshalTo(dAtA []byte) (int, error)

func (*AllowedBridgeChain) MarshalToSizedBuffer

func (m *AllowedBridgeChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedBridgeChain) ProtoMessage

func (*AllowedBridgeChain) ProtoMessage()

func (*AllowedBridgeChain) Reset

func (m *AllowedBridgeChain) Reset()

func (*AllowedBridgeChain) Size

func (m *AllowedBridgeChain) Size() (n int)

func (*AllowedBridgeChain) String

func (m *AllowedBridgeChain) String() string

func (*AllowedBridgeChain) Unmarshal

func (m *AllowedBridgeChain) Unmarshal(dAtA []byte) error

func (*AllowedBridgeChain) Validate

func (m *AllowedBridgeChain) Validate() error

Validate performs basic validation of the AllowedBridgeChain state type

func (*AllowedBridgeChain) XXX_DiscardUnknown

func (m *AllowedBridgeChain) XXX_DiscardUnknown()

func (*AllowedBridgeChain) XXX_Marshal

func (m *AllowedBridgeChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedBridgeChain) XXX_Merge

func (m *AllowedBridgeChain) XXX_Merge(src proto.Message)

func (*AllowedBridgeChain) XXX_Size

func (m *AllowedBridgeChain) XXX_Size() int

func (*AllowedBridgeChain) XXX_Unmarshal

func (m *AllowedBridgeChain) XXX_Unmarshal(b []byte) error

type AllowedClassCreator

type AllowedClassCreator struct {
	// address is the address that is allowed to create credit classes
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

AllowedClassCreator is an allowed credit class creator. This table is controlled via governance.

Since Revision 2

func (*AllowedClassCreator) Descriptor

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

func (*AllowedClassCreator) GetAddress

func (m *AllowedClassCreator) GetAddress() []byte

func (*AllowedClassCreator) Marshal

func (m *AllowedClassCreator) Marshal() (dAtA []byte, err error)

func (*AllowedClassCreator) MarshalTo

func (m *AllowedClassCreator) MarshalTo(dAtA []byte) (int, error)

func (*AllowedClassCreator) MarshalToSizedBuffer

func (m *AllowedClassCreator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedClassCreator) ProtoMessage

func (*AllowedClassCreator) ProtoMessage()

func (*AllowedClassCreator) Reset

func (m *AllowedClassCreator) Reset()

func (*AllowedClassCreator) Size

func (m *AllowedClassCreator) Size() (n int)

func (*AllowedClassCreator) String

func (m *AllowedClassCreator) String() string

func (*AllowedClassCreator) Unmarshal

func (m *AllowedClassCreator) Unmarshal(dAtA []byte) error

func (*AllowedClassCreator) Validate

func (m *AllowedClassCreator) Validate() error

Validate performs basic validation of the AllowedClassCreator state type

func (*AllowedClassCreator) XXX_DiscardUnknown

func (m *AllowedClassCreator) XXX_DiscardUnknown()

func (*AllowedClassCreator) XXX_Marshal

func (m *AllowedClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedClassCreator) XXX_Merge

func (m *AllowedClassCreator) XXX_Merge(src proto.Message)

func (*AllowedClassCreator) XXX_Size

func (m *AllowedClassCreator) XXX_Size() int

func (*AllowedClassCreator) XXX_Unmarshal

func (m *AllowedClassCreator) XXX_Unmarshal(b []byte) error

type AllowedDenom

type AllowedDenom struct {
	// denom is the bank denom to allow (ex. ibc/GLKHDSG423SGS)
	BankDenom string `protobuf:"bytes,1,opt,name=bank_denom,json=bankDenom,proto3" json:"bank_denom,omitempty"`
	// display_denom is the denom to display to the user and is informational.
	// Because the denom is likely an IBC denom, this should be chosen by
	// governance to represent the consensus trusted name of the denom.
	DisplayDenom string `protobuf:"bytes,2,opt,name=display_denom,json=displayDenom,proto3" json:"display_denom,omitempty"`
	// exponent is the exponent that relates the denom to the display_denom and is
	// informational
	Exponent uint32 `protobuf:"varint,3,opt,name=exponent,proto3" json:"exponent,omitempty"`
}

AllowedDenom represents the information for an allowed ask denom.

Since Revision 2

Deprecated(Since Revision 2): This type was added to support historical queries for params but will also be removed in the next version.

func (*AllowedDenom) Descriptor

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

func (*AllowedDenom) GetBankDenom

func (m *AllowedDenom) GetBankDenom() string

func (*AllowedDenom) GetDisplayDenom

func (m *AllowedDenom) GetDisplayDenom() string

func (*AllowedDenom) GetExponent

func (m *AllowedDenom) GetExponent() uint32

func (*AllowedDenom) Marshal

func (m *AllowedDenom) Marshal() (dAtA []byte, err error)

func (*AllowedDenom) MarshalTo

func (m *AllowedDenom) MarshalTo(dAtA []byte) (int, error)

func (*AllowedDenom) MarshalToSizedBuffer

func (m *AllowedDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedDenom) ProtoMessage

func (*AllowedDenom) ProtoMessage()

func (*AllowedDenom) Reset

func (m *AllowedDenom) Reset()

func (*AllowedDenom) Size

func (m *AllowedDenom) Size() (n int)

func (*AllowedDenom) String

func (m *AllowedDenom) String() string

func (*AllowedDenom) Unmarshal

func (m *AllowedDenom) Unmarshal(dAtA []byte) error

func (*AllowedDenom) XXX_DiscardUnknown

func (m *AllowedDenom) XXX_DiscardUnknown()

func (*AllowedDenom) XXX_Marshal

func (m *AllowedDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedDenom) XXX_Merge

func (m *AllowedDenom) XXX_Merge(src proto.Message)

func (*AllowedDenom) XXX_Size

func (m *AllowedDenom) XXX_Size() int

func (*AllowedDenom) XXX_Unmarshal

func (m *AllowedDenom) XXX_Unmarshal(b []byte) error

type Batch

type Batch struct {
	// key is the table row identifier of the credit batch used internally for
	// efficient lookups. This identifier is auto-incrementing.
	Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	// issuer is the address that created the batch and which is
	// authorized to mint more credits if open=true.
	Issuer []byte `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// project_key is the table row identifier of the credit class used internally
	// for efficient lookups. This links a credit batch to a project.
	ProjectKey uint64 `protobuf:"varint,3,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"`
	// denom is the unique identifier of the credit batch formed from the
	// project id, the batch sequence number, and the start and end date of the
	// credit batch.
	Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty"`
	// metadata is any arbitrary metadata attached to the credit batch.
	Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// start_date is the beginning of the period during which this credit batch
	// was quantified and verified.
	StartDate *types.Timestamp `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// end_date is the end of the period during which this credit batch was
	// quantified and verified.
	EndDate *types.Timestamp `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// issuance_date is the timestamp when the credit batch was issued.
	IssuanceDate *types.Timestamp `protobuf:"bytes,8,opt,name=issuance_date,json=issuanceDate,proto3" json:"issuance_date,omitempty"`
	// open tells if it's possible to mint new credits in the future.
	// Once `open` is set to false, it can't be toggled any more.
	Open bool `protobuf:"varint,9,opt,name=open,proto3" json:"open,omitempty"`
}

Batch represents the high-level on-chain information for a credit batch.

func (*Batch) Descriptor

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

func (*Batch) GetDenom

func (m *Batch) GetDenom() string

func (*Batch) GetEndDate

func (m *Batch) GetEndDate() *types.Timestamp

func (*Batch) GetIssuanceDate

func (m *Batch) GetIssuanceDate() *types.Timestamp

func (*Batch) GetIssuer

func (m *Batch) GetIssuer() []byte

func (*Batch) GetKey

func (m *Batch) GetKey() uint64

func (*Batch) GetMetadata

func (m *Batch) GetMetadata() string

func (*Batch) GetOpen

func (m *Batch) GetOpen() bool

func (*Batch) GetProjectKey

func (m *Batch) GetProjectKey() uint64

func (*Batch) GetStartDate

func (m *Batch) GetStartDate() *types.Timestamp

func (*Batch) Marshal

func (m *Batch) Marshal() (dAtA []byte, err error)

func (*Batch) MarshalTo

func (m *Batch) MarshalTo(dAtA []byte) (int, error)

func (*Batch) MarshalToSizedBuffer

func (m *Batch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) Reset

func (m *Batch) Reset()

func (*Batch) Size

func (m *Batch) Size() (n int)

func (*Batch) String

func (m *Batch) String() string

func (*Batch) Unmarshal

func (m *Batch) Unmarshal(dAtA []byte) error

func (*Batch) Validate

func (m *Batch) Validate() error

Validate performs basic validation of the Batch state type

func (*Batch) XXX_DiscardUnknown

func (m *Batch) XXX_DiscardUnknown()

func (*Batch) XXX_Marshal

func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Batch) XXX_Merge

func (m *Batch) XXX_Merge(src proto.Message)

func (*Batch) XXX_Size

func (m *Batch) XXX_Size() int

func (*Batch) XXX_Unmarshal

func (m *Batch) XXX_Unmarshal(b []byte) error

type BatchBalance

type BatchBalance struct {
	// batch_key is the table row identifier of the credit batch used internally
	// for efficient lookups. This links a batch balance to a credit batch.
	BatchKey uint64 `protobuf:"varint,1,opt,name=batch_key,json=batchKey,proto3" json:"batch_key,omitempty"`
	// address is the address of the account that owns the credits.
	Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// tradable_amount is the total number of tradable credits owned by address.
	TradableAmount string `protobuf:"bytes,3,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"`
	// retired_amount is the total number of retired credits owned by address.
	RetiredAmount string `protobuf:"bytes,4,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"`
	// escrowed_amount is the total number of escrowed credits owned by address
	// and held in escrow by the marketplace. Credits are held in escrow when a
	// sell order is created and taken out of escrow when the sell order is either
	// cancelled, updated with a reduced quantity, or processed.
	EscrowedAmount string `protobuf:"bytes,5,opt,name=escrowed_amount,json=escrowedAmount,proto3" json:"escrowed_amount,omitempty"`
}

BatchBalance stores each accounts credit balance.

func (*BatchBalance) Descriptor

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

func (*BatchBalance) GetAddress

func (m *BatchBalance) GetAddress() []byte

func (*BatchBalance) GetBatchKey

func (m *BatchBalance) GetBatchKey() uint64

func (*BatchBalance) GetEscrowedAmount

func (m *BatchBalance) GetEscrowedAmount() string

func (*BatchBalance) GetRetiredAmount

func (m *BatchBalance) GetRetiredAmount() string

func (*BatchBalance) GetTradableAmount

func (m *BatchBalance) GetTradableAmount() string

func (*BatchBalance) Marshal

func (m *BatchBalance) Marshal() (dAtA []byte, err error)

func (*BatchBalance) MarshalTo

func (m *BatchBalance) MarshalTo(dAtA []byte) (int, error)

func (*BatchBalance) MarshalToSizedBuffer

func (m *BatchBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchBalance) ProtoMessage

func (*BatchBalance) ProtoMessage()

func (*BatchBalance) Reset

func (m *BatchBalance) Reset()

func (*BatchBalance) Size

func (m *BatchBalance) Size() (n int)

func (*BatchBalance) String

func (m *BatchBalance) String() string

func (*BatchBalance) Unmarshal

func (m *BatchBalance) Unmarshal(dAtA []byte) error

func (*BatchBalance) Validate

func (m *BatchBalance) Validate() error

Validate performs basic validation of the BatchBalance state type

func (*BatchBalance) XXX_DiscardUnknown

func (m *BatchBalance) XXX_DiscardUnknown()

func (*BatchBalance) XXX_Marshal

func (m *BatchBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchBalance) XXX_Merge

func (m *BatchBalance) XXX_Merge(src proto.Message)

func (*BatchBalance) XXX_Size

func (m *BatchBalance) XXX_Size() int

func (*BatchBalance) XXX_Unmarshal

func (m *BatchBalance) XXX_Unmarshal(b []byte) error

type BatchBalanceInfo

type BatchBalanceInfo struct {
	// address is the address of the account that owns the credits.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// batch_denom is the unique identifier of the credit batch.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// tradable_amount is the total number of tradable credits owned by address.
	TradableAmount string `protobuf:"bytes,3,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"`
	// retired_amount is the total number of retired credits owned by address.
	RetiredAmount string `protobuf:"bytes,4,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"`
	// escrowed_amount is the total number of escrowed credits owned by address
	// and held in escrow by the marketplace. Credits are held in escrow when a
	// sell order is created and taken out of escrow when the sell order is either
	// cancelled, updated with a reduced quantity, or processed.
	EscrowedAmount string `protobuf:"bytes,5,opt,name=escrowed_amount,json=escrowedAmount,proto3" json:"escrowed_amount,omitempty"`
}

BatchBalanceInfo is the human-readable batch balance information.

func (*BatchBalanceInfo) Descriptor

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

func (*BatchBalanceInfo) GetAddress

func (m *BatchBalanceInfo) GetAddress() string

func (*BatchBalanceInfo) GetBatchDenom

func (m *BatchBalanceInfo) GetBatchDenom() string

func (*BatchBalanceInfo) GetEscrowedAmount

func (m *BatchBalanceInfo) GetEscrowedAmount() string

func (*BatchBalanceInfo) GetRetiredAmount

func (m *BatchBalanceInfo) GetRetiredAmount() string

func (*BatchBalanceInfo) GetTradableAmount

func (m *BatchBalanceInfo) GetTradableAmount() string

func (*BatchBalanceInfo) Marshal

func (m *BatchBalanceInfo) Marshal() (dAtA []byte, err error)

func (*BatchBalanceInfo) MarshalTo

func (m *BatchBalanceInfo) MarshalTo(dAtA []byte) (int, error)

func (*BatchBalanceInfo) MarshalToSizedBuffer

func (m *BatchBalanceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchBalanceInfo) ProtoMessage

func (*BatchBalanceInfo) ProtoMessage()

func (*BatchBalanceInfo) Reset

func (m *BatchBalanceInfo) Reset()

func (*BatchBalanceInfo) Size

func (m *BatchBalanceInfo) Size() (n int)

func (*BatchBalanceInfo) String

func (m *BatchBalanceInfo) String() string

func (*BatchBalanceInfo) Unmarshal

func (m *BatchBalanceInfo) Unmarshal(dAtA []byte) error

func (*BatchBalanceInfo) XXX_DiscardUnknown

func (m *BatchBalanceInfo) XXX_DiscardUnknown()

func (*BatchBalanceInfo) XXX_Marshal

func (m *BatchBalanceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchBalanceInfo) XXX_Merge

func (m *BatchBalanceInfo) XXX_Merge(src proto.Message)

func (*BatchBalanceInfo) XXX_Size

func (m *BatchBalanceInfo) XXX_Size() int

func (*BatchBalanceInfo) XXX_Unmarshal

func (m *BatchBalanceInfo) XXX_Unmarshal(b []byte) error

type BatchContract

type BatchContract struct {
	// batch_key is the table row identifier of the credit batch used internally
	// for efficient lookups. This links an external contract to a credit batch.
	BatchKey uint64 `protobuf:"varint,1,opt,name=batch_key,json=batchKey,proto3" json:"batch_key,omitempty"`
	// class_key is the table row identifier of the credit class within which the
	// credit batch exists. A contract is unique within the scope of a credit
	// class to prevent malicious credit class issuers from blocking bridge
	// operations taking place within another credit class.
	ClassKey uint64 `protobuf:"varint,2,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"`
	// contract is the address of the contract on the source chain that was
	// executed when creating the transaction. This address will be used when
	// sending credits back to the source chain.
	Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
}

BatchContract stores the contract address from which credits were bridged when credits are bridged from a contract-based chain, therefore ensuring that each credit batch corresponds to a single contract and credits that have been bridged will always be bridged back to the original contract.

func (*BatchContract) Descriptor

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

func (*BatchContract) GetBatchKey

func (m *BatchContract) GetBatchKey() uint64

func (*BatchContract) GetClassKey

func (m *BatchContract) GetClassKey() uint64

func (*BatchContract) GetContract

func (m *BatchContract) GetContract() string

func (*BatchContract) Marshal

func (m *BatchContract) Marshal() (dAtA []byte, err error)

func (*BatchContract) MarshalTo

func (m *BatchContract) MarshalTo(dAtA []byte) (int, error)

func (*BatchContract) MarshalToSizedBuffer

func (m *BatchContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchContract) ProtoMessage

func (*BatchContract) ProtoMessage()

func (*BatchContract) Reset

func (m *BatchContract) Reset()

func (*BatchContract) Size

func (m *BatchContract) Size() (n int)

func (*BatchContract) String

func (m *BatchContract) String() string

func (*BatchContract) Unmarshal

func (m *BatchContract) Unmarshal(dAtA []byte) error

func (*BatchContract) Validate

func (m *BatchContract) Validate() error

Validate performs basic validation of the BatchContract state type

func (*BatchContract) XXX_DiscardUnknown

func (m *BatchContract) XXX_DiscardUnknown()

func (*BatchContract) XXX_Marshal

func (m *BatchContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchContract) XXX_Merge

func (m *BatchContract) XXX_Merge(src proto.Message)

func (*BatchContract) XXX_Size

func (m *BatchContract) XXX_Size() int

func (*BatchContract) XXX_Unmarshal

func (m *BatchContract) XXX_Unmarshal(b []byte) error

type BatchInfo

type BatchInfo struct {
	// issuer is the address that created the batch and the address authorized to
	// mint new credits to the credit batch if the credit batch is open.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// project_id is the unique identifier of the project within which this credit
	// batch was created.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// denom is the unique identifier of the credit batch formed from the project
	// name, batch sequence number and dates.
	Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	// metadata is any arbitrary metadata attached to the credit batch.
	Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// start_date is the beginning of the period during which this credit batch
	// was quantified and verified.
	StartDate *types.Timestamp `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// end_date is the end of the period during which this credit batch was
	// quantified and verified.
	EndDate *types.Timestamp `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// issuance_date is the timestamp when the credit batch was issued.
	IssuanceDate *types.Timestamp `protobuf:"bytes,7,opt,name=issuance_date,json=issuanceDate,proto3" json:"issuance_date,omitempty"`
	// open determines whether or not the credit batch is open, i.e. whether or
	// not new credits can be minted to the credit batch.
	Open bool `protobuf:"varint,8,opt,name=open,proto3" json:"open,omitempty"`
}

BatchInfo is the human-readable credit batch information.

func (*BatchInfo) Descriptor

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

func (*BatchInfo) GetDenom

func (m *BatchInfo) GetDenom() string

func (*BatchInfo) GetEndDate

func (m *BatchInfo) GetEndDate() *types.Timestamp

func (*BatchInfo) GetIssuanceDate

func (m *BatchInfo) GetIssuanceDate() *types.Timestamp

func (*BatchInfo) GetIssuer

func (m *BatchInfo) GetIssuer() string

func (*BatchInfo) GetMetadata

func (m *BatchInfo) GetMetadata() string

func (*BatchInfo) GetOpen

func (m *BatchInfo) GetOpen() bool

func (*BatchInfo) GetProjectId

func (m *BatchInfo) GetProjectId() string

func (*BatchInfo) GetStartDate

func (m *BatchInfo) GetStartDate() *types.Timestamp

func (*BatchInfo) Marshal

func (m *BatchInfo) Marshal() (dAtA []byte, err error)

func (*BatchInfo) MarshalTo

func (m *BatchInfo) MarshalTo(dAtA []byte) (int, error)

func (*BatchInfo) MarshalToSizedBuffer

func (m *BatchInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchInfo) ProtoMessage

func (*BatchInfo) ProtoMessage()

func (*BatchInfo) Reset

func (m *BatchInfo) Reset()

func (*BatchInfo) Size

func (m *BatchInfo) Size() (n int)

func (*BatchInfo) String

func (m *BatchInfo) String() string

func (*BatchInfo) Unmarshal

func (m *BatchInfo) Unmarshal(dAtA []byte) error

func (*BatchInfo) XXX_DiscardUnknown

func (m *BatchInfo) XXX_DiscardUnknown()

func (*BatchInfo) XXX_Marshal

func (m *BatchInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchInfo) XXX_Merge

func (m *BatchInfo) XXX_Merge(src proto.Message)

func (*BatchInfo) XXX_Size

func (m *BatchInfo) XXX_Size() int

func (*BatchInfo) XXX_Unmarshal

func (m *BatchInfo) XXX_Unmarshal(b []byte) error

type BatchIssuance

type BatchIssuance struct {
	// recipient is the address of the account receiving the issued credits.
	Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// tradable_amount is the amount of credits that the recipient will receive in
	// a tradable state. The number of decimal places must be less than or equal
	// to the credit type precision.
	TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"`
	// retired_amount is the amount of credits that the recipient will receive in
	// a retired state. The number of decimal places must be less than or equal to
	// the credit type precision.
	RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"`
	// retirement_jurisdiction is the jurisdiction of the recipient and is only
	// required if retired_amount is positive. A jurisdiction has the following
	// format: <country-code>[-<sub-national-code>[ <postal-code>]]
	// The country-code must be 2 alphabetic characters, the sub-national-code
	// can be 1-3 alphanumeric characters, and the postal-code can be up to 64
	// alphanumeric characters. Only the country-code is required, while the
	// sub-national-code and postal-code are optional and can be added for
	// increased precision.
	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,5,opt,name=retirement_reason,json=retirementReason,proto3" json:"retirement_reason,omitempty"`
}

BatchIssuance represents a simple structure for a credit batch issuance.

func (*BatchIssuance) Descriptor

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

func (*BatchIssuance) GetRecipient

func (m *BatchIssuance) GetRecipient() string

func (*BatchIssuance) GetRetiredAmount

func (m *BatchIssuance) GetRetiredAmount() string

func (*BatchIssuance) GetRetirementJurisdiction

func (m *BatchIssuance) GetRetirementJurisdiction() string

func (*BatchIssuance) GetRetirementReason

func (m *BatchIssuance) GetRetirementReason() string

func (*BatchIssuance) GetTradableAmount

func (m *BatchIssuance) GetTradableAmount() string

func (*BatchIssuance) Marshal

func (m *BatchIssuance) Marshal() (dAtA []byte, err error)

func (*BatchIssuance) MarshalTo

func (m *BatchIssuance) MarshalTo(dAtA []byte) (int, error)

func (*BatchIssuance) MarshalToSizedBuffer

func (m *BatchIssuance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchIssuance) ProtoMessage

func (*BatchIssuance) ProtoMessage()

func (*BatchIssuance) Reset

func (m *BatchIssuance) Reset()

func (*BatchIssuance) Size

func (m *BatchIssuance) Size() (n int)

func (*BatchIssuance) String

func (m *BatchIssuance) String() string

func (*BatchIssuance) Unmarshal

func (m *BatchIssuance) Unmarshal(dAtA []byte) error

func (*BatchIssuance) Validate

func (i *BatchIssuance) Validate() error

Validate checks if a BatchIssuance is valid.

func (*BatchIssuance) XXX_DiscardUnknown

func (m *BatchIssuance) XXX_DiscardUnknown()

func (*BatchIssuance) XXX_Marshal

func (m *BatchIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchIssuance) XXX_Merge

func (m *BatchIssuance) XXX_Merge(src proto.Message)

func (*BatchIssuance) XXX_Size

func (m *BatchIssuance) XXX_Size() int

func (*BatchIssuance) XXX_Unmarshal

func (m *BatchIssuance) XXX_Unmarshal(b []byte) error

type BatchSequence

type BatchSequence struct {
	// project_key is the table row identifier of the project used internally for
	// efficient lookups. This links a batch sequence to a project.
	ProjectKey uint64 `protobuf:"varint,1,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"`
	// next_sequence is the next sequence number for a credit batch within the
	// project. The sequence number is used to generate a batch denom.
	NextSequence uint64 `protobuf:"varint,2,opt,name=next_sequence,json=nextSequence,proto3" json:"next_sequence,omitempty"`
}

BatchSequence stores and increments the sequence number for credit batches within a project.

func (*BatchSequence) Descriptor

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

func (*BatchSequence) GetNextSequence

func (m *BatchSequence) GetNextSequence() uint64

func (*BatchSequence) GetProjectKey

func (m *BatchSequence) GetProjectKey() uint64

func (*BatchSequence) Marshal

func (m *BatchSequence) Marshal() (dAtA []byte, err error)

func (*BatchSequence) MarshalTo

func (m *BatchSequence) MarshalTo(dAtA []byte) (int, error)

func (*BatchSequence) MarshalToSizedBuffer

func (m *BatchSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchSequence) ProtoMessage

func (*BatchSequence) ProtoMessage()

func (*BatchSequence) Reset

func (m *BatchSequence) Reset()

func (*BatchSequence) Size

func (m *BatchSequence) Size() (n int)

func (*BatchSequence) String

func (m *BatchSequence) String() string

func (*BatchSequence) Unmarshal

func (m *BatchSequence) Unmarshal(dAtA []byte) error

func (*BatchSequence) Validate

func (m *BatchSequence) Validate() error

Validate performs basic validation of the BatchSequence state type

func (*BatchSequence) XXX_DiscardUnknown

func (m *BatchSequence) XXX_DiscardUnknown()

func (*BatchSequence) XXX_Marshal

func (m *BatchSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchSequence) XXX_Merge

func (m *BatchSequence) XXX_Merge(src proto.Message)

func (*BatchSequence) XXX_Size

func (m *BatchSequence) XXX_Size() int

func (*BatchSequence) XXX_Unmarshal

func (m *BatchSequence) XXX_Unmarshal(b []byte) error

type BatchSupply

type BatchSupply struct {
	// batch_key is the table row identifier of the credit batch used internally
	// for efficient lookups. This links a batch supply to a credit batch.
	BatchKey uint64 `protobuf:"varint,1,opt,name=batch_key,json=batchKey,proto3" json:"batch_key,omitempty"`
	// tradable_amount is the total number of tradable credits in the credit
	// batch. Tradable credits may be retired in which case they will be removed
	// from tradable_amount and tracked in retired_amount. Tradable credits may
	// also be cancelled in which case they will be removed from tradable_amount
	// and tracked in cancelled_amount. The sum of the tradable, retired, and
	// cancelled amounts will always equal the original credit issuance amount.
	TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"`
	// retired_amount is the total amount of credits that have been retired in the
	// credit batch. The sum of the tradable, retired, and cancelled amounts will
	// always equal the original credit issuance amount.
	RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"`
	// cancelled_amount is the number of credits in the batch that have been
	// cancelled, effectively undoing the issuance. The sum of the tradable,
	// retired, and cancelled amounts will always equal the original credit
	// issuance amount.
	CancelledAmount string `protobuf:"bytes,4,opt,name=cancelled_amount,json=cancelledAmount,proto3" json:"cancelled_amount,omitempty"`
}

BatchSupply stores the supply of credits for a credit batch.

func (*BatchSupply) Descriptor

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

func (*BatchSupply) GetBatchKey

func (m *BatchSupply) GetBatchKey() uint64

func (*BatchSupply) GetCancelledAmount

func (m *BatchSupply) GetCancelledAmount() string

func (*BatchSupply) GetRetiredAmount

func (m *BatchSupply) GetRetiredAmount() string

func (*BatchSupply) GetTradableAmount

func (m *BatchSupply) GetTradableAmount() string

func (*BatchSupply) Marshal

func (m *BatchSupply) Marshal() (dAtA []byte, err error)

func (*BatchSupply) MarshalTo

func (m *BatchSupply) MarshalTo(dAtA []byte) (int, error)

func (*BatchSupply) MarshalToSizedBuffer

func (m *BatchSupply) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchSupply) ProtoMessage

func (*BatchSupply) ProtoMessage()

func (*BatchSupply) Reset

func (m *BatchSupply) Reset()

func (*BatchSupply) Size

func (m *BatchSupply) Size() (n int)

func (*BatchSupply) String

func (m *BatchSupply) String() string

func (*BatchSupply) Unmarshal

func (m *BatchSupply) Unmarshal(dAtA []byte) error

func (*BatchSupply) Validate

func (m *BatchSupply) Validate() error

Validate performs basic validation of the BatchSupply state type

func (*BatchSupply) XXX_DiscardUnknown

func (m *BatchSupply) XXX_DiscardUnknown()

func (*BatchSupply) XXX_Marshal

func (m *BatchSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchSupply) XXX_Merge

func (m *BatchSupply) XXX_Merge(src proto.Message)

func (*BatchSupply) XXX_Size

func (m *BatchSupply) XXX_Size() int

func (*BatchSupply) XXX_Unmarshal

func (m *BatchSupply) XXX_Unmarshal(b []byte) error

type Class

type Class struct {
	// key is the table row identifier of the credit class used internally for
	// efficient lookups. This identifier is auto-incrementing.
	Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	// id is the unique identifier of the credit class auto-generated from the
	// credit type abbreviation and the credit class sequence number.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// admin is the admin of the credit class.
	Admin []byte `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"`
	// metadata is any arbitrary metadata to attached to the credit class.
	Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// credit_type_abbrev is the abbreviation of the credit type.
	CreditTypeAbbrev string `protobuf:"bytes,5,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"`
}

Class represents the high-level on-chain information for a credit class.

func (*Class) Descriptor

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

func (*Class) GetAdmin

func (m *Class) GetAdmin() []byte

func (*Class) GetCreditTypeAbbrev

func (m *Class) GetCreditTypeAbbrev() string

func (*Class) GetId

func (m *Class) GetId() string

func (*Class) GetKey

func (m *Class) GetKey() uint64

func (*Class) GetMetadata

func (m *Class) GetMetadata() string

func (*Class) Marshal

func (m *Class) Marshal() (dAtA []byte, err error)

func (*Class) MarshalTo

func (m *Class) MarshalTo(dAtA []byte) (int, error)

func (*Class) MarshalToSizedBuffer

func (m *Class) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Class) ProtoMessage

func (*Class) ProtoMessage()

func (*Class) Reset

func (m *Class) Reset()

func (*Class) Size

func (m *Class) Size() (n int)

func (*Class) String

func (m *Class) String() string

func (*Class) Unmarshal

func (m *Class) Unmarshal(dAtA []byte) error

func (*Class) Validate

func (m *Class) Validate() error

Validate performs basic validation of the CreditClass state type

func (*Class) XXX_DiscardUnknown

func (m *Class) XXX_DiscardUnknown()

func (*Class) XXX_Marshal

func (m *Class) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Class) XXX_Merge

func (m *Class) XXX_Merge(src proto.Message)

func (*Class) XXX_Size

func (m *Class) XXX_Size() int

func (*Class) XXX_Unmarshal

func (m *Class) XXX_Unmarshal(b []byte) error

type ClassCreatorAllowlist

type ClassCreatorAllowlist struct {
	// enabled is whether or not the allow list is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

ClassCreatorAllowlist determines if the credit class creator allowlist is enabled. When set to true, only the addresses in the AllowedClassCreator table may create credit classes. When set to false, any address may create credit classes. This table is controlled via governance.

Since Revision 2

func (*ClassCreatorAllowlist) Descriptor

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

func (*ClassCreatorAllowlist) GetEnabled

func (m *ClassCreatorAllowlist) GetEnabled() bool

func (*ClassCreatorAllowlist) Marshal

func (m *ClassCreatorAllowlist) Marshal() (dAtA []byte, err error)

func (*ClassCreatorAllowlist) MarshalTo

func (m *ClassCreatorAllowlist) MarshalTo(dAtA []byte) (int, error)

func (*ClassCreatorAllowlist) MarshalToSizedBuffer

func (m *ClassCreatorAllowlist) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClassCreatorAllowlist) ProtoMessage

func (*ClassCreatorAllowlist) ProtoMessage()

func (*ClassCreatorAllowlist) Reset

func (m *ClassCreatorAllowlist) Reset()

func (*ClassCreatorAllowlist) Size

func (m *ClassCreatorAllowlist) Size() (n int)

func (*ClassCreatorAllowlist) String

func (m *ClassCreatorAllowlist) String() string

func (*ClassCreatorAllowlist) Unmarshal

func (m *ClassCreatorAllowlist) Unmarshal(dAtA []byte) error

func (*ClassCreatorAllowlist) Validate

func (m *ClassCreatorAllowlist) Validate() error

Validate performs basic validation of the ClassCreatorAllowlist state type

func (*ClassCreatorAllowlist) XXX_DiscardUnknown

func (m *ClassCreatorAllowlist) XXX_DiscardUnknown()

func (*ClassCreatorAllowlist) XXX_Marshal

func (m *ClassCreatorAllowlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassCreatorAllowlist) XXX_Merge

func (m *ClassCreatorAllowlist) XXX_Merge(src proto.Message)

func (*ClassCreatorAllowlist) XXX_Size

func (m *ClassCreatorAllowlist) XXX_Size() int

func (*ClassCreatorAllowlist) XXX_Unmarshal

func (m *ClassCreatorAllowlist) XXX_Unmarshal(b []byte) error

type ClassFee

type ClassFee struct {
	// fee is the credit class creation fee. If not set, a credit class creation
	// fee is not required.
	Fee *types1.Coin `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
}

ClassFee is the credit class creation fee. If not set, a credit class creation fee is not required. This table is controlled via governance.

Since Revision 2

func (*ClassFee) Descriptor

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

func (*ClassFee) GetFee

func (m *ClassFee) GetFee() *types1.Coin

func (*ClassFee) Marshal

func (m *ClassFee) Marshal() (dAtA []byte, err error)

func (*ClassFee) MarshalTo

func (m *ClassFee) MarshalTo(dAtA []byte) (int, error)

func (*ClassFee) MarshalToSizedBuffer

func (m *ClassFee) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClassFee) ProtoMessage

func (*ClassFee) ProtoMessage()

func (*ClassFee) Reset

func (m *ClassFee) Reset()

func (*ClassFee) Size

func (m *ClassFee) Size() (n int)

func (*ClassFee) String

func (m *ClassFee) String() string

func (*ClassFee) Unmarshal

func (m *ClassFee) Unmarshal(dAtA []byte) error

func (*ClassFee) Validate

func (m *ClassFee) Validate() error

Validate performs basic validation of the ClassFee state type

func (*ClassFee) XXX_DiscardUnknown

func (m *ClassFee) XXX_DiscardUnknown()

func (*ClassFee) XXX_Marshal

func (m *ClassFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassFee) XXX_Merge

func (m *ClassFee) XXX_Merge(src proto.Message)

func (*ClassFee) XXX_Size

func (m *ClassFee) XXX_Size() int

func (*ClassFee) XXX_Unmarshal

func (m *ClassFee) XXX_Unmarshal(b []byte) error

type ClassInfo

type ClassInfo struct {
	// id is the unique identifier of the credit class.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// admin is the admin of the credit class.
	Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// metadata is the arbitrary metadata attached to the credit class.
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// credit_type_abbrev is the abbreviation of the credit type within which this
	// credit class was created.
	CreditTypeAbbrev string `protobuf:"bytes,4,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"`
}

ClassInfo is the human-readable credit class information.

func (*ClassInfo) Descriptor

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

func (*ClassInfo) GetAdmin

func (m *ClassInfo) GetAdmin() string

func (*ClassInfo) GetCreditTypeAbbrev

func (m *ClassInfo) GetCreditTypeAbbrev() string

func (*ClassInfo) GetId

func (m *ClassInfo) GetId() string

func (*ClassInfo) GetMetadata

func (m *ClassInfo) GetMetadata() string

func (*ClassInfo) Marshal

func (m *ClassInfo) Marshal() (dAtA []byte, err error)

func (*ClassInfo) MarshalTo

func (m *ClassInfo) MarshalTo(dAtA []byte) (int, error)

func (*ClassInfo) MarshalToSizedBuffer

func (m *ClassInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClassInfo) ProtoMessage

func (*ClassInfo) ProtoMessage()

func (*ClassInfo) Reset

func (m *ClassInfo) Reset()

func (*ClassInfo) Size

func (m *ClassInfo) Size() (n int)

func (*ClassInfo) String

func (m *ClassInfo) String() string

func (*ClassInfo) Unmarshal

func (m *ClassInfo) Unmarshal(dAtA []byte) error

func (*ClassInfo) XXX_DiscardUnknown

func (m *ClassInfo) XXX_DiscardUnknown()

func (*ClassInfo) XXX_Marshal

func (m *ClassInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassInfo) XXX_Merge

func (m *ClassInfo) XXX_Merge(src proto.Message)

func (*ClassInfo) XXX_Size

func (m *ClassInfo) XXX_Size() int

func (*ClassInfo) XXX_Unmarshal

func (m *ClassInfo) XXX_Unmarshal(b []byte) error

type ClassIssuer

type ClassIssuer struct {
	// class_key is the table row identifier of the credit class used internally
	// for efficient lookups. This links a class issuer to a credit class.
	ClassKey uint64 `protobuf:"varint,1,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"`
	// issuer is the approved issuer of the credit class.
	Issuer []byte `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
}

ClassIssuers is a JOIN table for Class Info that stores the credit class issuers

func (*ClassIssuer) Descriptor

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

func (*ClassIssuer) GetClassKey

func (m *ClassIssuer) GetClassKey() uint64

func (*ClassIssuer) GetIssuer

func (m *ClassIssuer) GetIssuer() []byte

func (*ClassIssuer) Marshal

func (m *ClassIssuer) Marshal() (dAtA []byte, err error)

func (*ClassIssuer) MarshalTo

func (m *ClassIssuer) MarshalTo(dAtA []byte) (int, error)

func (*ClassIssuer) MarshalToSizedBuffer

func (m *ClassIssuer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClassIssuer) ProtoMessage

func (*ClassIssuer) ProtoMessage()

func (*ClassIssuer) Reset

func (m *ClassIssuer) Reset()

func (*ClassIssuer) Size

func (m *ClassIssuer) Size() (n int)

func (*ClassIssuer) String

func (m *ClassIssuer) String() string

func (*ClassIssuer) Unmarshal

func (m *ClassIssuer) Unmarshal(dAtA []byte) error

func (*ClassIssuer) Validate

func (m *ClassIssuer) Validate() error

Validate performs basic validation of the ClassIssuer state type

func (*ClassIssuer) XXX_DiscardUnknown

func (m *ClassIssuer) XXX_DiscardUnknown()

func (*ClassIssuer) XXX_Marshal

func (m *ClassIssuer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassIssuer) XXX_Merge

func (m *ClassIssuer) XXX_Merge(src proto.Message)

func (*ClassIssuer) XXX_Size

func (m *ClassIssuer) XXX_Size() int

func (*ClassIssuer) XXX_Unmarshal

func (m *ClassIssuer) XXX_Unmarshal(b []byte) error

type ClassSequence

type ClassSequence struct {
	// credit_type_abbrev is the credit type abbreviation. This links a class
	// sequence to a credit type.
	CreditTypeAbbrev string `protobuf:"bytes,1,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"`
	// next_sequence is the next sequence number for a credit class within the
	// credit type. The sequence number is used to generate a class id.
	NextSequence uint64 `protobuf:"varint,2,opt,name=next_sequence,json=nextSequence,proto3" json:"next_sequence,omitempty"`
}

ClassSequence stores and increments the sequence number for credit classes within a credit type.

func (*ClassSequence) Descriptor

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

func (*ClassSequence) GetCreditTypeAbbrev

func (m *ClassSequence) GetCreditTypeAbbrev() string

func (*ClassSequence) GetNextSequence

func (m *ClassSequence) GetNextSequence() uint64

func (*ClassSequence) Marshal

func (m *ClassSequence) Marshal() (dAtA []byte, err error)

func (*ClassSequence) MarshalTo

func (m *ClassSequence) MarshalTo(dAtA []byte) (int, error)

func (*ClassSequence) MarshalToSizedBuffer

func (m *ClassSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClassSequence) ProtoMessage

func (*ClassSequence) ProtoMessage()

func (*ClassSequence) Reset

func (m *ClassSequence) Reset()

func (*ClassSequence) Size

func (m *ClassSequence) Size() (n int)

func (*ClassSequence) String

func (m *ClassSequence) String() string

func (*ClassSequence) Unmarshal

func (m *ClassSequence) Unmarshal(dAtA []byte) error

func (*ClassSequence) Validate

func (m *ClassSequence) Validate() error

Validate performs basic validation of the ClassSequence state type

func (*ClassSequence) XXX_DiscardUnknown

func (m *ClassSequence) XXX_DiscardUnknown()

func (*ClassSequence) XXX_Marshal

func (m *ClassSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassSequence) XXX_Merge

func (m *ClassSequence) XXX_Merge(src proto.Message)

func (*ClassSequence) XXX_Size

func (m *ClassSequence) XXX_Size() int

func (*ClassSequence) XXX_Unmarshal

func (m *ClassSequence) XXX_Unmarshal(b []byte) error

type CreditType

type CreditType struct {
	// abbreviation is a 1-3 character uppercase abbreviation of the CreditType
	// name, used in batch denominations within the CreditType. It must be unique.
	Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"`
	// name is the name of the credit type (e.g. carbon, biodiversity).
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// unit is the measurement unit of the credit type (e.g. kg, ton).
	Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	// precision is the decimal precision of the credit type.
	Precision uint32 `protobuf:"varint,4,opt,name=precision,proto3" json:"precision,omitempty"`
}

CreditType defines the measurement unit/precision of a certain credit type (e.g. carbon, biodiversity...)

func (*CreditType) Descriptor

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

func (*CreditType) GetAbbreviation

func (m *CreditType) GetAbbreviation() string

func (*CreditType) GetName

func (m *CreditType) GetName() string

func (*CreditType) GetPrecision

func (m *CreditType) GetPrecision() uint32

func (*CreditType) GetUnit

func (m *CreditType) GetUnit() string

func (*CreditType) Marshal

func (m *CreditType) Marshal() (dAtA []byte, err error)

func (*CreditType) MarshalTo

func (m *CreditType) MarshalTo(dAtA []byte) (int, error)

func (*CreditType) MarshalToSizedBuffer

func (m *CreditType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreditType) ProtoMessage

func (*CreditType) ProtoMessage()

func (*CreditType) Reset

func (m *CreditType) Reset()

func (*CreditType) Size

func (m *CreditType) Size() (n int)

func (*CreditType) String

func (m *CreditType) String() string

func (*CreditType) Unmarshal

func (m *CreditType) Unmarshal(dAtA []byte) error

func (*CreditType) Validate

func (m *CreditType) Validate() error

Validate performs basic validation of the ClassIssuer state type

func (*CreditType) XXX_DiscardUnknown

func (m *CreditType) XXX_DiscardUnknown()

func (*CreditType) XXX_Marshal

func (m *CreditType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreditType) XXX_Merge

func (m *CreditType) XXX_Merge(src proto.Message)

func (*CreditType) XXX_Size

func (m *CreditType) XXX_Size() int

func (*CreditType) XXX_Unmarshal

func (m *CreditType) XXX_Unmarshal(b []byte) error

type CreditTypeProposal

type CreditTypeProposal struct {
	// title is the title of the proposal.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// description is the description of the proposal.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// credit_type is the credit type to be added to the network if the proposal
	// passes.
	CreditType *CreditType `protobuf:"bytes,3,opt,name=credit_type,json=creditType,proto3" json:"credit_type,omitempty"`
}

CreditTypeProposal is a gov Content type for adding a credit type. Deprecated (Since Revision 2): This message is no longer used and will be removed in the next version. See MsgAddCreditType.

func (*CreditTypeProposal) Descriptor

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

func (*CreditTypeProposal) GetCreditType

func (m *CreditTypeProposal) GetCreditType() *CreditType

func (*CreditTypeProposal) GetDescription

func (m *CreditTypeProposal) GetDescription() string

func (*CreditTypeProposal) GetTitle

func (m *CreditTypeProposal) GetTitle() string

func (*CreditTypeProposal) Marshal

func (m *CreditTypeProposal) Marshal() (dAtA []byte, err error)

func (*CreditTypeProposal) MarshalTo

func (m *CreditTypeProposal) MarshalTo(dAtA []byte) (int, error)

func (*CreditTypeProposal) MarshalToSizedBuffer

func (m *CreditTypeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreditTypeProposal) ProposalRoute

func (m *CreditTypeProposal) ProposalRoute() string

func (*CreditTypeProposal) ProposalType

func (m *CreditTypeProposal) ProposalType() string

func (*CreditTypeProposal) ProtoMessage

func (*CreditTypeProposal) ProtoMessage()

func (*CreditTypeProposal) Reset

func (m *CreditTypeProposal) Reset()

func (*CreditTypeProposal) Size

func (m *CreditTypeProposal) Size() (n int)

func (*CreditTypeProposal) String

func (m *CreditTypeProposal) String() string

func (*CreditTypeProposal) Unmarshal

func (m *CreditTypeProposal) Unmarshal(dAtA []byte) error

func (*CreditTypeProposal) ValidateBasic

func (m *CreditTypeProposal) ValidateBasic() error

func (*CreditTypeProposal) XXX_DiscardUnknown

func (m *CreditTypeProposal) XXX_DiscardUnknown()

func (*CreditTypeProposal) XXX_Marshal

func (m *CreditTypeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreditTypeProposal) XXX_Merge

func (m *CreditTypeProposal) XXX_Merge(src proto.Message)

func (*CreditTypeProposal) XXX_Size

func (m *CreditTypeProposal) XXX_Size() int

func (*CreditTypeProposal) XXX_Unmarshal

func (m *CreditTypeProposal) XXX_Unmarshal(b []byte) error

type Credits

type Credits 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"`
	// amount is the amount of credits.
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
}

Credits represents a simple structure for credits.

func (*Credits) Descriptor

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

func (*Credits) GetAmount

func (m *Credits) GetAmount() string

func (*Credits) GetBatchDenom

func (m *Credits) GetBatchDenom() string

func (*Credits) Marshal

func (m *Credits) Marshal() (dAtA []byte, err error)

func (*Credits) MarshalTo

func (m *Credits) MarshalTo(dAtA []byte) (int, error)

func (*Credits) MarshalToSizedBuffer

func (m *Credits) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Credits) ProtoMessage

func (*Credits) ProtoMessage()

func (*Credits) Reset

func (m *Credits) Reset()

func (*Credits) Size

func (m *Credits) Size() (n int)

func (*Credits) String

func (m *Credits) String() string

func (*Credits) Unmarshal

func (m *Credits) Unmarshal(dAtA []byte) error

func (*Credits) Validate

func (c *Credits) Validate() error

Validate checks if Credits is valid.

func (*Credits) XXX_DiscardUnknown

func (m *Credits) XXX_DiscardUnknown()

func (*Credits) XXX_Marshal

func (m *Credits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Credits) XXX_Merge

func (m *Credits) XXX_Merge(src proto.Message)

func (*Credits) XXX_Size

func (m *Credits) XXX_Size() int

func (*Credits) XXX_Unmarshal

func (m *Credits) XXX_Unmarshal(b []byte) error

type EventAddCreditType

type EventAddCreditType struct {
	// abbreviation is the abbreviation of the credit type.
	Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"`
}

EventAddCreditType is emitted when governance approves a new credit type.

func (*EventAddCreditType) Descriptor

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

func (*EventAddCreditType) GetAbbreviation

func (m *EventAddCreditType) GetAbbreviation() string

func (*EventAddCreditType) Marshal

func (m *EventAddCreditType) Marshal() (dAtA []byte, err error)

func (*EventAddCreditType) MarshalTo

func (m *EventAddCreditType) MarshalTo(dAtA []byte) (int, error)

func (*EventAddCreditType) MarshalToSizedBuffer

func (m *EventAddCreditType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventAddCreditType) ProtoMessage

func (*EventAddCreditType) ProtoMessage()

func (*EventAddCreditType) Reset

func (m *EventAddCreditType) Reset()

func (*EventAddCreditType) Size

func (m *EventAddCreditType) Size() (n int)

func (*EventAddCreditType) String

func (m *EventAddCreditType) String() string

func (*EventAddCreditType) Unmarshal

func (m *EventAddCreditType) Unmarshal(dAtA []byte) error

func (*EventAddCreditType) XXX_DiscardUnknown

func (m *EventAddCreditType) XXX_DiscardUnknown()

func (*EventAddCreditType) XXX_Marshal

func (m *EventAddCreditType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventAddCreditType) XXX_Merge

func (m *EventAddCreditType) XXX_Merge(src proto.Message)

func (*EventAddCreditType) XXX_Size

func (m *EventAddCreditType) XXX_Size() int

func (*EventAddCreditType) XXX_Unmarshal

func (m *EventAddCreditType) XXX_Unmarshal(b []byte) error

type EventBridge

type EventBridge struct {
	// target is the target chain.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// recipient is the recipient address.
	Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contract is the contract address.
	Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
	// amount is the amount of credits.
	Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// owner is the owner address.
	//
	// Since Revision 1
	Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	// batch_denom is the credit batch denom.
	//
	// Since Revision 3
	BatchDenom string `protobuf:"bytes,6,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
}

EventBridge is emitted when credits are bridged to another chain.

func (*EventBridge) Descriptor

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

func (*EventBridge) GetAmount

func (m *EventBridge) GetAmount() string

func (*EventBridge) GetBatchDenom added in v3.2.0

func (m *EventBridge) GetBatchDenom() string

func (*EventBridge) GetContract

func (m *EventBridge) GetContract() string

func (*EventBridge) GetOwner

func (m *EventBridge) GetOwner() string

func (*EventBridge) GetRecipient

func (m *EventBridge) GetRecipient() string

func (*EventBridge) GetTarget

func (m *EventBridge) GetTarget() string

func (*EventBridge) Marshal

func (m *EventBridge) Marshal() (dAtA []byte, err error)

func (*EventBridge) MarshalTo

func (m *EventBridge) MarshalTo(dAtA []byte) (int, error)

func (*EventBridge) MarshalToSizedBuffer

func (m *EventBridge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBridge) ProtoMessage

func (*EventBridge) ProtoMessage()

func (*EventBridge) Reset

func (m *EventBridge) Reset()

func (*EventBridge) Size

func (m *EventBridge) Size() (n int)

func (*EventBridge) String

func (m *EventBridge) String() string

func (*EventBridge) Unmarshal

func (m *EventBridge) Unmarshal(dAtA []byte) error

func (*EventBridge) XXX_DiscardUnknown

func (m *EventBridge) XXX_DiscardUnknown()

func (*EventBridge) XXX_Marshal

func (m *EventBridge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBridge) XXX_Merge

func (m *EventBridge) XXX_Merge(src proto.Message)

func (*EventBridge) XXX_Size

func (m *EventBridge) XXX_Size() int

func (*EventBridge) XXX_Unmarshal

func (m *EventBridge) XXX_Unmarshal(b []byte) error

type EventBridgeReceive

type EventBridgeReceive struct {
	// project_id is the unique identifier of the project that was either created
	// or the existing project within which the credit batch exists.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// batch_denom is the unique identifier of the credit batch either created
	// or within which the credits were dynamically minted.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// amount is the amount of credits.
	//
	// Since Revision 3
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// origin_tx is the transaction from another chain or registry that triggered
	// the minting of credits within the credit batch.
	//
	// Since Revision 3
	OriginTx *OriginTx `protobuf:"bytes,4,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"`
}

EventBridgeReceive is emitted when credits are bridged from another chain.

func (*EventBridgeReceive) Descriptor

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

func (*EventBridgeReceive) GetAmount added in v3.1.0

func (m *EventBridgeReceive) GetAmount() string

func (*EventBridgeReceive) GetBatchDenom

func (m *EventBridgeReceive) GetBatchDenom() string

func (*EventBridgeReceive) GetOriginTx added in v3.1.0

func (m *EventBridgeReceive) GetOriginTx() *OriginTx

func (*EventBridgeReceive) GetProjectId

func (m *EventBridgeReceive) GetProjectId() string

func (*EventBridgeReceive) Marshal

func (m *EventBridgeReceive) Marshal() (dAtA []byte, err error)

func (*EventBridgeReceive) MarshalTo

func (m *EventBridgeReceive) MarshalTo(dAtA []byte) (int, error)

func (*EventBridgeReceive) MarshalToSizedBuffer

func (m *EventBridgeReceive) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBridgeReceive) ProtoMessage

func (*EventBridgeReceive) ProtoMessage()

func (*EventBridgeReceive) Reset

func (m *EventBridgeReceive) Reset()

func (*EventBridgeReceive) Size

func (m *EventBridgeReceive) Size() (n int)

func (*EventBridgeReceive) String

func (m *EventBridgeReceive) String() string

func (*EventBridgeReceive) Unmarshal

func (m *EventBridgeReceive) Unmarshal(dAtA []byte) error

func (*EventBridgeReceive) XXX_DiscardUnknown

func (m *EventBridgeReceive) XXX_DiscardUnknown()

func (*EventBridgeReceive) XXX_Marshal

func (m *EventBridgeReceive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBridgeReceive) XXX_Merge

func (m *EventBridgeReceive) XXX_Merge(src proto.Message)

func (*EventBridgeReceive) XXX_Size

func (m *EventBridgeReceive) XXX_Size() int

func (*EventBridgeReceive) XXX_Unmarshal

func (m *EventBridgeReceive) XXX_Unmarshal(b []byte) error

type EventCancel

type EventCancel struct {
	// owner is the address of the account that cancelled the credits.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// batch_denom is the unique identifier of the credit batch within which the
	// credits were cancelled.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// amount is the decimal number of credits that have been cancelled.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// reason is the reason the credits were cancelled.
	Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
}

EventCancel is an event emitted when credits are cancelled. When credits are cancelled from multiple batches in the same transaction, a separate event is emitted for each batch_denom. This allows for easier indexing.

func (*EventCancel) Descriptor

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

func (*EventCancel) GetAmount

func (m *EventCancel) GetAmount() string

func (*EventCancel) GetBatchDenom

func (m *EventCancel) GetBatchDenom() string

func (*EventCancel) GetOwner

func (m *EventCancel) GetOwner() string

func (*EventCancel) GetReason

func (m *EventCancel) GetReason() string

func (*EventCancel) Marshal

func (m *EventCancel) Marshal() (dAtA []byte, err error)

func (*EventCancel) MarshalTo

func (m *EventCancel) MarshalTo(dAtA []byte) (int, error)

func (*EventCancel) MarshalToSizedBuffer

func (m *EventCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventCancel) ProtoMessage

func (*EventCancel) ProtoMessage()

func (*EventCancel) Reset

func (m *EventCancel) Reset()

func (*EventCancel) Size

func (m *EventCancel) Size() (n int)

func (*EventCancel) String

func (m *EventCancel) String() string

func (*EventCancel) Unmarshal

func (m *EventCancel) Unmarshal(dAtA []byte) error

func (*EventCancel) XXX_DiscardUnknown

func (m *EventCancel) XXX_DiscardUnknown()

func (*EventCancel) XXX_Marshal

func (m *EventCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventCancel) XXX_Merge

func (m *EventCancel) XXX_Merge(src proto.Message)

func (*EventCancel) XXX_Size

func (m *EventCancel) XXX_Size() int

func (*EventCancel) XXX_Unmarshal

func (m *EventCancel) XXX_Unmarshal(b []byte) error

type EventCreateBatch

type EventCreateBatch struct {
	// batch_denom is the unique identifier of the credit batch.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// origin_tx is the transaction from another chain or registry that triggered
	// the creation of the credit batch.
	OriginTx *OriginTx `protobuf:"bytes,2,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"`
}

EventCreateBatch is an event emitted when a credit batch is created.

func (*EventCreateBatch) Descriptor

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

func (*EventCreateBatch) GetBatchDenom

func (m *EventCreateBatch) GetBatchDenom() string

func (*EventCreateBatch) GetOriginTx

func (m *EventCreateBatch) GetOriginTx() *OriginTx

func (*EventCreateBatch) Marshal

func (m *EventCreateBatch) Marshal() (dAtA []byte, err error)

func (*EventCreateBatch) MarshalTo

func (m *EventCreateBatch) MarshalTo(dAtA []byte) (int, error)

func (*EventCreateBatch) MarshalToSizedBuffer

func (m *EventCreateBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventCreateBatch) ProtoMessage

func (*EventCreateBatch) ProtoMessage()

func (*EventCreateBatch) Reset

func (m *EventCreateBatch) Reset()

func (*EventCreateBatch) Size

func (m *EventCreateBatch) Size() (n int)

func (*EventCreateBatch) String

func (m *EventCreateBatch) String() string

func (*EventCreateBatch) Unmarshal

func (m *EventCreateBatch) Unmarshal(dAtA []byte) error

func (*EventCreateBatch) XXX_DiscardUnknown

func (m *EventCreateBatch) XXX_DiscardUnknown()

func (*EventCreateBatch) XXX_Marshal

func (m *EventCreateBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventCreateBatch) XXX_Merge

func (m *EventCreateBatch) XXX_Merge(src proto.Message)

func (*EventCreateBatch) XXX_Size

func (m *EventCreateBatch) XXX_Size() int

func (*EventCreateBatch) XXX_Unmarshal

func (m *EventCreateBatch) XXX_Unmarshal(b []byte) error

type EventCreateClass

type EventCreateClass struct {
	// class_id is the unique identifier of the credit class.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
}

EventCreateClass is an event emitted when a credit class is created.

func (*EventCreateClass) Descriptor

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

func (*EventCreateClass) GetClassId

func (m *EventCreateClass) GetClassId() string

func (*EventCreateClass) Marshal

func (m *EventCreateClass) Marshal() (dAtA []byte, err error)

func (*EventCreateClass) MarshalTo

func (m *EventCreateClass) MarshalTo(dAtA []byte) (int, error)

func (*EventCreateClass) MarshalToSizedBuffer

func (m *EventCreateClass) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventCreateClass) ProtoMessage

func (*EventCreateClass) ProtoMessage()

func (*EventCreateClass) Reset

func (m *EventCreateClass) Reset()

func (*EventCreateClass) Size

func (m *EventCreateClass) Size() (n int)

func (*EventCreateClass) String

func (m *EventCreateClass) String() string

func (*EventCreateClass) Unmarshal

func (m *EventCreateClass) Unmarshal(dAtA []byte) error

func (*EventCreateClass) XXX_DiscardUnknown

func (m *EventCreateClass) XXX_DiscardUnknown()

func (*EventCreateClass) XXX_Marshal

func (m *EventCreateClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventCreateClass) XXX_Merge

func (m *EventCreateClass) XXX_Merge(src proto.Message)

func (*EventCreateClass) XXX_Size

func (m *EventCreateClass) XXX_Size() int

func (*EventCreateClass) XXX_Unmarshal

func (m *EventCreateClass) XXX_Unmarshal(b []byte) error

type EventCreateProject

type EventCreateProject struct {
	// project_id is the unique identifier of the project.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}

EventCreateProject is an event emitted when a project is created.

func (*EventCreateProject) Descriptor

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

func (*EventCreateProject) GetProjectId

func (m *EventCreateProject) GetProjectId() string

func (*EventCreateProject) Marshal

func (m *EventCreateProject) Marshal() (dAtA []byte, err error)

func (*EventCreateProject) MarshalTo

func (m *EventCreateProject) MarshalTo(dAtA []byte) (int, error)

func (*EventCreateProject) MarshalToSizedBuffer

func (m *EventCreateProject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventCreateProject) ProtoMessage

func (*EventCreateProject) ProtoMessage()

func (*EventCreateProject) Reset

func (m *EventCreateProject) Reset()

func (*EventCreateProject) Size

func (m *EventCreateProject) Size() (n int)

func (*EventCreateProject) String

func (m *EventCreateProject) String() string

func (*EventCreateProject) Unmarshal

func (m *EventCreateProject) Unmarshal(dAtA []byte) error

func (*EventCreateProject) XXX_DiscardUnknown

func (m *EventCreateProject) XXX_DiscardUnknown()

func (*EventCreateProject) XXX_Marshal

func (m *EventCreateProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventCreateProject) XXX_Merge

func (m *EventCreateProject) XXX_Merge(src proto.Message)

func (*EventCreateProject) XXX_Size

func (m *EventCreateProject) XXX_Size() int

func (*EventCreateProject) XXX_Unmarshal

func (m *EventCreateProject) XXX_Unmarshal(b []byte) error

type EventMint

type EventMint struct {
	// batch_denom is the unique identifier of the credit batch within which the
	// credits were minted.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// tradable_amount is the amount of tradable credits minted.
	TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"`
	// retired_amount is the amount of retired credits minted.
	RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"`
}

EventMint is an event emitted when credits are minted either when creating a credit batch or when bridging assets from another chain or registry.

func (*EventMint) Descriptor

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

func (*EventMint) GetBatchDenom

func (m *EventMint) GetBatchDenom() string

func (*EventMint) GetRetiredAmount

func (m *EventMint) GetRetiredAmount() string

func (*EventMint) GetTradableAmount

func (m *EventMint) GetTradableAmount() string

func (*EventMint) Marshal

func (m *EventMint) Marshal() (dAtA []byte, err error)

func (*EventMint) MarshalTo

func (m *EventMint) MarshalTo(dAtA []byte) (int, error)

func (*EventMint) MarshalToSizedBuffer

func (m *EventMint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMint) ProtoMessage

func (*EventMint) ProtoMessage()

func (*EventMint) Reset

func (m *EventMint) Reset()

func (*EventMint) Size

func (m *EventMint) Size() (n int)

func (*EventMint) String

func (m *EventMint) String() string

func (*EventMint) Unmarshal

func (m *EventMint) Unmarshal(dAtA []byte) error

func (*EventMint) XXX_DiscardUnknown

func (m *EventMint) XXX_DiscardUnknown()

func (*EventMint) XXX_Marshal

func (m *EventMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMint) XXX_Merge

func (m *EventMint) XXX_Merge(src proto.Message)

func (*EventMint) XXX_Size

func (m *EventMint) XXX_Size() int

func (*EventMint) XXX_Unmarshal

func (m *EventMint) XXX_Unmarshal(b []byte) error

type EventMintBatchCredits

type EventMintBatchCredits struct {
	// batch_denom is the unique identifier of the credit batch within which the
	// credits were minted.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// origin_tx is the transaction from another chain or registry that triggered
	// the minting of credits within the credit batch.
	OriginTx *OriginTx `protobuf:"bytes,2,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"`
}

EventMintBatchCredits is an event emitted when credits are minted to an existing open credit batch.

func (*EventMintBatchCredits) Descriptor

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

func (*EventMintBatchCredits) GetBatchDenom

func (m *EventMintBatchCredits) GetBatchDenom() string

func (*EventMintBatchCredits) GetOriginTx

func (m *EventMintBatchCredits) GetOriginTx() *OriginTx

func (*EventMintBatchCredits) Marshal

func (m *EventMintBatchCredits) Marshal() (dAtA []byte, err error)

func (*EventMintBatchCredits) MarshalTo

func (m *EventMintBatchCredits) MarshalTo(dAtA []byte) (int, error)

func (*EventMintBatchCredits) MarshalToSizedBuffer

func (m *EventMintBatchCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMintBatchCredits) ProtoMessage

func (*EventMintBatchCredits) ProtoMessage()

func (*EventMintBatchCredits) Reset

func (m *EventMintBatchCredits) Reset()

func (*EventMintBatchCredits) Size

func (m *EventMintBatchCredits) Size() (n int)

func (*EventMintBatchCredits) String

func (m *EventMintBatchCredits) String() string

func (*EventMintBatchCredits) Unmarshal

func (m *EventMintBatchCredits) Unmarshal(dAtA []byte) error

func (*EventMintBatchCredits) XXX_DiscardUnknown

func (m *EventMintBatchCredits) XXX_DiscardUnknown()

func (*EventMintBatchCredits) XXX_Marshal

func (m *EventMintBatchCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMintBatchCredits) XXX_Merge

func (m *EventMintBatchCredits) XXX_Merge(src proto.Message)

func (*EventMintBatchCredits) XXX_Size

func (m *EventMintBatchCredits) XXX_Size() int

func (*EventMintBatchCredits) XXX_Unmarshal

func (m *EventMintBatchCredits) XXX_Unmarshal(b []byte) error

type EventRetire

type EventRetire struct {
	// owner is the address of the account that owns the retired credits. This
	// will be the account receiving credits in the case that credits were retired
	// upon issuance using Msg/CreateBatch, retired upon transfer using Msg/Send,
	// retired upon taking from a basket using basket.Msg/Take, or retired upon
	// purchase using marketplace.Msg/BuyDirect.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// batch_denom is the unique identifier of the credit batch within which the
	// credits were retired.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// amount is the decimal number of credits that have been retired.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// jurisdiction is the jurisdiction of the beneficiary or buyer of the retired
	// credits. It is a string of the form
	// <country-code>[-<sub-national-code>[ <postal-code>]], with the first two
	// fields conforming to ISO 3166-2, and postal-code being up to 64
	// alphanumeric characters.
	Jurisdiction string `protobuf:"bytes,4,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"`
	// reason is any arbitrary string that specifies the reason for retiring
	// credits.
	//
	// Since Revision 2
	Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
}

EventRetire is an event emitted when credits are retired. When credits are retired from multiple batches in the same transaction, a separate event is emitted for each batch_denom. This allows for easier indexing.

func (*EventRetire) Descriptor

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

func (*EventRetire) GetAmount

func (m *EventRetire) GetAmount() string

func (*EventRetire) GetBatchDenom

func (m *EventRetire) GetBatchDenom() string

func (*EventRetire) GetJurisdiction

func (m *EventRetire) GetJurisdiction() string

func (*EventRetire) GetOwner

func (m *EventRetire) GetOwner() string

func (*EventRetire) GetReason

func (m *EventRetire) GetReason() string

func (*EventRetire) Marshal

func (m *EventRetire) Marshal() (dAtA []byte, err error)

func (*EventRetire) MarshalTo

func (m *EventRetire) MarshalTo(dAtA []byte) (int, error)

func (*EventRetire) MarshalToSizedBuffer

func (m *EventRetire) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventRetire) ProtoMessage

func (*EventRetire) ProtoMessage()

func (*EventRetire) Reset

func (m *EventRetire) Reset()

func (*EventRetire) Size

func (m *EventRetire) Size() (n int)

func (*EventRetire) String

func (m *EventRetire) String() string

func (*EventRetire) Unmarshal

func (m *EventRetire) Unmarshal(dAtA []byte) error

func (*EventRetire) XXX_DiscardUnknown

func (m *EventRetire) XXX_DiscardUnknown()

func (*EventRetire) XXX_Marshal

func (m *EventRetire) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventRetire) XXX_Merge

func (m *EventRetire) XXX_Merge(src proto.Message)

func (*EventRetire) XXX_Size

func (m *EventRetire) XXX_Size() int

func (*EventRetire) XXX_Unmarshal

func (m *EventRetire) XXX_Unmarshal(b []byte) error

type EventSealBatch

type EventSealBatch struct {
	// batch_denom is the denom of the batch that was sealed.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
}

EventSealBatch is emitted when a batch is sealed.

func (*EventSealBatch) Descriptor

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

func (*EventSealBatch) GetBatchDenom

func (m *EventSealBatch) GetBatchDenom() string

func (*EventSealBatch) Marshal

func (m *EventSealBatch) Marshal() (dAtA []byte, err error)

func (*EventSealBatch) MarshalTo

func (m *EventSealBatch) MarshalTo(dAtA []byte) (int, error)

func (*EventSealBatch) MarshalToSizedBuffer

func (m *EventSealBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSealBatch) ProtoMessage

func (*EventSealBatch) ProtoMessage()

func (*EventSealBatch) Reset

func (m *EventSealBatch) Reset()

func (*EventSealBatch) Size

func (m *EventSealBatch) Size() (n int)

func (*EventSealBatch) String

func (m *EventSealBatch) String() string

func (*EventSealBatch) Unmarshal

func (m *EventSealBatch) Unmarshal(dAtA []byte) error

func (*EventSealBatch) XXX_DiscardUnknown

func (m *EventSealBatch) XXX_DiscardUnknown()

func (*EventSealBatch) XXX_Marshal

func (m *EventSealBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSealBatch) XXX_Merge

func (m *EventSealBatch) XXX_Merge(src proto.Message)

func (*EventSealBatch) XXX_Size

func (m *EventSealBatch) XXX_Size() int

func (*EventSealBatch) XXX_Unmarshal

func (m *EventSealBatch) XXX_Unmarshal(b []byte) error

type EventTransfer

type EventTransfer struct {
	// sender is the sender of the credits. In the case that the credits were
	// transferred from a base account, this will be the account address. In the
	// case that the credits were transferred from a module, this will be the
	// module address (i.e. either the ecocredit module or basket submodule).
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// recipient is the recipient of the credits. In the case that the credits
	// were transferred to a base account, this will be the account address. In
	// the case that the credits were transferred to a module, this will be the
	// module address (i.e. either the ecocredit module or basket submodule).
	Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// batch_denom is the unique identifier of the credit batch.
	BatchDenom string `protobuf:"bytes,3,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// tradable_amount is the decimal number of tradable credits received.
	TradableAmount string `protobuf:"bytes,4,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"`
	// retired_amount is the decimal number of retired credits received.
	RetiredAmount string `protobuf:"bytes,5,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"`
}

EventTransfer is an event emitted when credits are transferred from one account to another including transfers to or from a module account.

func (*EventTransfer) Descriptor

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

func (*EventTransfer) GetBatchDenom

func (m *EventTransfer) GetBatchDenom() string

func (*EventTransfer) GetRecipient

func (m *EventTransfer) GetRecipient() string

func (*EventTransfer) GetRetiredAmount

func (m *EventTransfer) GetRetiredAmount() string

func (*EventTransfer) GetSender

func (m *EventTransfer) GetSender() string

func (*EventTransfer) GetTradableAmount

func (m *EventTransfer) GetTradableAmount() string

func (*EventTransfer) Marshal

func (m *EventTransfer) Marshal() (dAtA []byte, err error)

func (*EventTransfer) MarshalTo

func (m *EventTransfer) MarshalTo(dAtA []byte) (int, error)

func (*EventTransfer) MarshalToSizedBuffer

func (m *EventTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTransfer) ProtoMessage

func (*EventTransfer) ProtoMessage()

func (*EventTransfer) Reset

func (m *EventTransfer) Reset()

func (*EventTransfer) Size

func (m *EventTransfer) Size() (n int)

func (*EventTransfer) String

func (m *EventTransfer) String() string

func (*EventTransfer) Unmarshal

func (m *EventTransfer) Unmarshal(dAtA []byte) error

func (*EventTransfer) XXX_DiscardUnknown

func (m *EventTransfer) XXX_DiscardUnknown()

func (*EventTransfer) XXX_Marshal

func (m *EventTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTransfer) XXX_Merge

func (m *EventTransfer) XXX_Merge(src proto.Message)

func (*EventTransfer) XXX_Size

func (m *EventTransfer) XXX_Size() int

func (*EventTransfer) XXX_Unmarshal

func (m *EventTransfer) XXX_Unmarshal(b []byte) error

type EventUpdateBatchMetadata

type EventUpdateBatchMetadata struct {
	// batch_denom is the unique identifier of the batch that was updated.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
}

EventUpdateBatchMetadata is emitted when the credit batch metadata is changed.

Since Revision 2

func (*EventUpdateBatchMetadata) Descriptor

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

func (*EventUpdateBatchMetadata) GetBatchDenom

func (m *EventUpdateBatchMetadata) GetBatchDenom() string

func (*EventUpdateBatchMetadata) Marshal

func (m *EventUpdateBatchMetadata) Marshal() (dAtA []byte, err error)

func (*EventUpdateBatchMetadata) MarshalTo

func (m *EventUpdateBatchMetadata) MarshalTo(dAtA []byte) (int, error)

func (*EventUpdateBatchMetadata) MarshalToSizedBuffer

func (m *EventUpdateBatchMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventUpdateBatchMetadata) ProtoMessage

func (*EventUpdateBatchMetadata) ProtoMessage()

func (*EventUpdateBatchMetadata) Reset

func (m *EventUpdateBatchMetadata) Reset()

func (*EventUpdateBatchMetadata) Size

func (m *EventUpdateBatchMetadata) Size() (n int)

func (*EventUpdateBatchMetadata) String

func (m *EventUpdateBatchMetadata) String() string

func (*EventUpdateBatchMetadata) Unmarshal

func (m *EventUpdateBatchMetadata) Unmarshal(dAtA []byte) error

func (*EventUpdateBatchMetadata) XXX_DiscardUnknown

func (m *EventUpdateBatchMetadata) XXX_DiscardUnknown()

func (*EventUpdateBatchMetadata) XXX_Marshal

func (m *EventUpdateBatchMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventUpdateBatchMetadata) XXX_Merge

func (m *EventUpdateBatchMetadata) XXX_Merge(src proto.Message)

func (*EventUpdateBatchMetadata) XXX_Size

func (m *EventUpdateBatchMetadata) XXX_Size() int

func (*EventUpdateBatchMetadata) XXX_Unmarshal

func (m *EventUpdateBatchMetadata) XXX_Unmarshal(b []byte) error

type EventUpdateClassAdmin

type EventUpdateClassAdmin struct {
	// class_id is the unique identifier of the class that was updated.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
}

EventUpdateClassAdmin is emitted when the admin address of a credit class is changed.

func (*EventUpdateClassAdmin) Descriptor

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

func (*EventUpdateClassAdmin) GetClassId

func (m *EventUpdateClassAdmin) GetClassId() string

func (*EventUpdateClassAdmin) Marshal

func (m *EventUpdateClassAdmin) Marshal() (dAtA []byte, err error)

func (*EventUpdateClassAdmin) MarshalTo

func (m *EventUpdateClassAdmin) MarshalTo(dAtA []byte) (int, error)

func (*EventUpdateClassAdmin) MarshalToSizedBuffer

func (m *EventUpdateClassAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventUpdateClassAdmin) ProtoMessage

func (*EventUpdateClassAdmin) ProtoMessage()

func (*EventUpdateClassAdmin) Reset

func (m *EventUpdateClassAdmin) Reset()

func (*EventUpdateClassAdmin) Size

func (m *EventUpdateClassAdmin) Size() (n int)

func (*EventUpdateClassAdmin) String

func (m *EventUpdateClassAdmin) String() string

func (*EventUpdateClassAdmin) Unmarshal

func (m *EventUpdateClassAdmin) Unmarshal(dAtA []byte) error

func (*EventUpdateClassAdmin) XXX_DiscardUnknown

func (m *EventUpdateClassAdmin) XXX_DiscardUnknown()

func (*EventUpdateClassAdmin) XXX_Marshal

func (m *EventUpdateClassAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventUpdateClassAdmin) XXX_Merge

func (m *EventUpdateClassAdmin) XXX_Merge(src proto.Message)

func (*EventUpdateClassAdmin) XXX_Size

func (m *EventUpdateClassAdmin) XXX_Size() int

func (*EventUpdateClassAdmin) XXX_Unmarshal

func (m *EventUpdateClassAdmin) XXX_Unmarshal(b []byte) error

type EventUpdateClassIssuers

type EventUpdateClassIssuers struct {
	// class_id is the unique identifier of the class that was updated.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
}

EventUpdateClassIssuers is emitted when the issuer list for a credit class is updated.

func (*EventUpdateClassIssuers) Descriptor

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

func (*EventUpdateClassIssuers) GetClassId

func (m *EventUpdateClassIssuers) GetClassId() string

func (*EventUpdateClassIssuers) Marshal

func (m *EventUpdateClassIssuers) Marshal() (dAtA []byte, err error)

func (*EventUpdateClassIssuers) MarshalTo

func (m *EventUpdateClassIssuers) MarshalTo(dAtA []byte) (int, error)

func (*EventUpdateClassIssuers) MarshalToSizedBuffer

func (m *EventUpdateClassIssuers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventUpdateClassIssuers) ProtoMessage

func (*EventUpdateClassIssuers) ProtoMessage()

func (*EventUpdateClassIssuers) Reset

func (m *EventUpdateClassIssuers) Reset()

func (*EventUpdateClassIssuers) Size

func (m *EventUpdateClassIssuers) Size() (n int)

func (*EventUpdateClassIssuers) String

func (m *EventUpdateClassIssuers) String() string

func (*EventUpdateClassIssuers) Unmarshal

func (m *EventUpdateClassIssuers) Unmarshal(dAtA []byte) error

func (*EventUpdateClassIssuers) XXX_DiscardUnknown

func (m *EventUpdateClassIssuers) XXX_DiscardUnknown()

func (*EventUpdateClassIssuers) XXX_Marshal

func (m *EventUpdateClassIssuers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventUpdateClassIssuers) XXX_Merge

func (m *EventUpdateClassIssuers) XXX_Merge(src proto.Message)

func (*EventUpdateClassIssuers) XXX_Size

func (m *EventUpdateClassIssuers) XXX_Size() int

func (*EventUpdateClassIssuers) XXX_Unmarshal

func (m *EventUpdateClassIssuers) XXX_Unmarshal(b []byte) error

type EventUpdateClassMetadata

type EventUpdateClassMetadata struct {
	// class_id is the unique identifier of the class that was updated.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
}

EventUpdateClassMetadata is emitted when the credit class metadata is changed.

func (*EventUpdateClassMetadata) Descriptor

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

func (*EventUpdateClassMetadata) GetClassId

func (m *EventUpdateClassMetadata) GetClassId() string

func (*EventUpdateClassMetadata) Marshal

func (m *EventUpdateClassMetadata) Marshal() (dAtA []byte, err error)

func (*EventUpdateClassMetadata) MarshalTo

func (m *EventUpdateClassMetadata) MarshalTo(dAtA []byte) (int, error)

func (*EventUpdateClassMetadata) MarshalToSizedBuffer

func (m *EventUpdateClassMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventUpdateClassMetadata) ProtoMessage

func (*EventUpdateClassMetadata) ProtoMessage()

func (*EventUpdateClassMetadata) Reset

func (m *EventUpdateClassMetadata) Reset()

func (*EventUpdateClassMetadata) Size

func (m *EventUpdateClassMetadata) Size() (n int)

func (*EventUpdateClassMetadata) String

func (m *EventUpdateClassMetadata) String() string

func (*EventUpdateClassMetadata) Unmarshal

func (m *EventUpdateClassMetadata) Unmarshal(dAtA []byte) error

func (*EventUpdateClassMetadata) XXX_DiscardUnknown

func (m *EventUpdateClassMetadata) XXX_DiscardUnknown()

func (*EventUpdateClassMetadata) XXX_Marshal

func (m *EventUpdateClassMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventUpdateClassMetadata) XXX_Merge

func (m *EventUpdateClassMetadata) XXX_Merge(src proto.Message)

func (*EventUpdateClassMetadata) XXX_Size

func (m *EventUpdateClassMetadata) XXX_Size() int

func (*EventUpdateClassMetadata) XXX_Unmarshal

func (m *EventUpdateClassMetadata) XXX_Unmarshal(b []byte) error

type EventUpdateProjectAdmin

type EventUpdateProjectAdmin struct {
	// project_id is the unique identifier of the project that was updated.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}

EventUpdateProjectAdmin is emitted when the project admin is changed.

func (*EventUpdateProjectAdmin) Descriptor

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

func (*EventUpdateProjectAdmin) GetProjectId

func (m *EventUpdateProjectAdmin) GetProjectId() string

func (*EventUpdateProjectAdmin) Marshal

func (m *EventUpdateProjectAdmin) Marshal() (dAtA []byte, err error)

func (*EventUpdateProjectAdmin) MarshalTo

func (m *EventUpdateProjectAdmin) MarshalTo(dAtA []byte) (int, error)

func (*EventUpdateProjectAdmin) MarshalToSizedBuffer

func (m *EventUpdateProjectAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventUpdateProjectAdmin) ProtoMessage

func (*EventUpdateProjectAdmin) ProtoMessage()

func (*EventUpdateProjectAdmin) Reset

func (m *EventUpdateProjectAdmin) Reset()

func (*EventUpdateProjectAdmin) Size

func (m *EventUpdateProjectAdmin) Size() (n int)

func (*EventUpdateProjectAdmin) String

func (m *EventUpdateProjectAdmin) String() string

func (*EventUpdateProjectAdmin) Unmarshal

func (m *EventUpdateProjectAdmin) Unmarshal(dAtA []byte) error

func (*EventUpdateProjectAdmin) XXX_DiscardUnknown

func (m *EventUpdateProjectAdmin) XXX_DiscardUnknown()

func (*EventUpdateProjectAdmin) XXX_Marshal

func (m *EventUpdateProjectAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventUpdateProjectAdmin) XXX_Merge

func (m *EventUpdateProjectAdmin) XXX_Merge(src proto.Message)

func (*EventUpdateProjectAdmin) XXX_Size

func (m *EventUpdateProjectAdmin) XXX_Size() int

func (*EventUpdateProjectAdmin) XXX_Unmarshal

func (m *EventUpdateProjectAdmin) XXX_Unmarshal(b []byte) error

type EventUpdateProjectMetadata

type EventUpdateProjectMetadata struct {
	// project_id is the unique identifier of the project that was updated.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}

EventUpdateProjectMetadata is emitted when the project metadata is changed.

func (*EventUpdateProjectMetadata) Descriptor

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

func (*EventUpdateProjectMetadata) GetProjectId

func (m *EventUpdateProjectMetadata) GetProjectId() string

func (*EventUpdateProjectMetadata) Marshal

func (m *EventUpdateProjectMetadata) Marshal() (dAtA []byte, err error)

func (*EventUpdateProjectMetadata) MarshalTo

func (m *EventUpdateProjectMetadata) MarshalTo(dAtA []byte) (int, error)

func (*EventUpdateProjectMetadata) MarshalToSizedBuffer

func (m *EventUpdateProjectMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventUpdateProjectMetadata) ProtoMessage

func (*EventUpdateProjectMetadata) ProtoMessage()

func (*EventUpdateProjectMetadata) Reset

func (m *EventUpdateProjectMetadata) Reset()

func (*EventUpdateProjectMetadata) Size

func (m *EventUpdateProjectMetadata) Size() (n int)

func (*EventUpdateProjectMetadata) String

func (m *EventUpdateProjectMetadata) String() string

func (*EventUpdateProjectMetadata) Unmarshal

func (m *EventUpdateProjectMetadata) Unmarshal(dAtA []byte) error

func (*EventUpdateProjectMetadata) XXX_DiscardUnknown

func (m *EventUpdateProjectMetadata) XXX_DiscardUnknown()

func (*EventUpdateProjectMetadata) XXX_Marshal

func (m *EventUpdateProjectMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventUpdateProjectMetadata) XXX_Merge

func (m *EventUpdateProjectMetadata) XXX_Merge(src proto.Message)

func (*EventUpdateProjectMetadata) XXX_Size

func (m *EventUpdateProjectMetadata) XXX_Size() int

func (*EventUpdateProjectMetadata) XXX_Unmarshal

func (m *EventUpdateProjectMetadata) XXX_Unmarshal(b []byte) error

type MsgAddAllowedBridgeChain

type MsgAddAllowedBridgeChain struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// chain_name is the name of the chain to allow bridging of ecocredits to
	// (i.e. polygon, ethereum, celo).
	ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
}

MsgAddAllowedBridgeChain is the Msg/AddAllowedBridgeChain request type.

Since Revision 2

func (*MsgAddAllowedBridgeChain) Descriptor

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

func (*MsgAddAllowedBridgeChain) GetAuthority

func (m *MsgAddAllowedBridgeChain) GetAuthority() string

func (*MsgAddAllowedBridgeChain) GetChainName

func (m *MsgAddAllowedBridgeChain) GetChainName() string

func (MsgAddAllowedBridgeChain) GetSignBytes

func (m MsgAddAllowedBridgeChain) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgAddAllowedBridgeChain) GetSigners

func (m *MsgAddAllowedBridgeChain) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgAddAllowedBridgeChain.

func (*MsgAddAllowedBridgeChain) Marshal

func (m *MsgAddAllowedBridgeChain) Marshal() (dAtA []byte, err error)

func (*MsgAddAllowedBridgeChain) MarshalTo

func (m *MsgAddAllowedBridgeChain) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddAllowedBridgeChain) MarshalToSizedBuffer

func (m *MsgAddAllowedBridgeChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddAllowedBridgeChain) ProtoMessage

func (*MsgAddAllowedBridgeChain) ProtoMessage()

func (*MsgAddAllowedBridgeChain) Reset

func (m *MsgAddAllowedBridgeChain) Reset()

func (MsgAddAllowedBridgeChain) Route

func (m MsgAddAllowedBridgeChain) Route() string

Route implements the LegacyMsg interface.

func (*MsgAddAllowedBridgeChain) Size

func (m *MsgAddAllowedBridgeChain) Size() (n int)

func (*MsgAddAllowedBridgeChain) String

func (m *MsgAddAllowedBridgeChain) String() string

func (MsgAddAllowedBridgeChain) Type

Type implements the LegacyMsg interface.

func (*MsgAddAllowedBridgeChain) Unmarshal

func (m *MsgAddAllowedBridgeChain) Unmarshal(dAtA []byte) error

func (*MsgAddAllowedBridgeChain) ValidateBasic

func (m *MsgAddAllowedBridgeChain) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgAddAllowedBridgeChain) XXX_DiscardUnknown

func (m *MsgAddAllowedBridgeChain) XXX_DiscardUnknown()

func (*MsgAddAllowedBridgeChain) XXX_Marshal

func (m *MsgAddAllowedBridgeChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddAllowedBridgeChain) XXX_Merge

func (m *MsgAddAllowedBridgeChain) XXX_Merge(src proto.Message)

func (*MsgAddAllowedBridgeChain) XXX_Size

func (m *MsgAddAllowedBridgeChain) XXX_Size() int

func (*MsgAddAllowedBridgeChain) XXX_Unmarshal

func (m *MsgAddAllowedBridgeChain) XXX_Unmarshal(b []byte) error

type MsgAddAllowedBridgeChainResponse

type MsgAddAllowedBridgeChainResponse struct {
}

MsgAddAllowedBridgeChainResponse is the Msg/AddAllowedBridgeChain response type.

Since Revision 2

func (*MsgAddAllowedBridgeChainResponse) Descriptor

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

func (*MsgAddAllowedBridgeChainResponse) Marshal

func (m *MsgAddAllowedBridgeChainResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddAllowedBridgeChainResponse) MarshalTo

func (m *MsgAddAllowedBridgeChainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddAllowedBridgeChainResponse) MarshalToSizedBuffer

func (m *MsgAddAllowedBridgeChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddAllowedBridgeChainResponse) ProtoMessage

func (*MsgAddAllowedBridgeChainResponse) ProtoMessage()

func (*MsgAddAllowedBridgeChainResponse) Reset

func (*MsgAddAllowedBridgeChainResponse) Size

func (m *MsgAddAllowedBridgeChainResponse) Size() (n int)

func (*MsgAddAllowedBridgeChainResponse) String

func (*MsgAddAllowedBridgeChainResponse) Unmarshal

func (m *MsgAddAllowedBridgeChainResponse) Unmarshal(dAtA []byte) error

func (*MsgAddAllowedBridgeChainResponse) XXX_DiscardUnknown

func (m *MsgAddAllowedBridgeChainResponse) XXX_DiscardUnknown()

func (*MsgAddAllowedBridgeChainResponse) XXX_Marshal

func (m *MsgAddAllowedBridgeChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddAllowedBridgeChainResponse) XXX_Merge

func (*MsgAddAllowedBridgeChainResponse) XXX_Size

func (m *MsgAddAllowedBridgeChainResponse) XXX_Size() int

func (*MsgAddAllowedBridgeChainResponse) XXX_Unmarshal

func (m *MsgAddAllowedBridgeChainResponse) XXX_Unmarshal(b []byte) error

type MsgAddClassCreator

type MsgAddClassCreator struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// creator is the address to add to the class creator list.
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
}

MsgAddClassCreator is the Msg/AddClassCreator request type.

Since Revision 2

func (*MsgAddClassCreator) Descriptor

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

func (*MsgAddClassCreator) GetAuthority

func (m *MsgAddClassCreator) GetAuthority() string

func (*MsgAddClassCreator) GetCreator

func (m *MsgAddClassCreator) GetCreator() string

func (MsgAddClassCreator) GetSignBytes

func (m MsgAddClassCreator) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgAddClassCreator) GetSigners

func (m *MsgAddClassCreator) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgAddClassCreator.

func (*MsgAddClassCreator) Marshal

func (m *MsgAddClassCreator) Marshal() (dAtA []byte, err error)

func (*MsgAddClassCreator) MarshalTo

func (m *MsgAddClassCreator) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddClassCreator) MarshalToSizedBuffer

func (m *MsgAddClassCreator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddClassCreator) ProtoMessage

func (*MsgAddClassCreator) ProtoMessage()

func (*MsgAddClassCreator) Reset

func (m *MsgAddClassCreator) Reset()

func (MsgAddClassCreator) Route

func (m MsgAddClassCreator) Route() string

Route implements the LegacyMsg interface.

func (*MsgAddClassCreator) Size

func (m *MsgAddClassCreator) Size() (n int)

func (*MsgAddClassCreator) String

func (m *MsgAddClassCreator) String() string

func (MsgAddClassCreator) Type

func (m MsgAddClassCreator) Type() string

Type implements the LegacyMsg interface.

func (*MsgAddClassCreator) Unmarshal

func (m *MsgAddClassCreator) Unmarshal(dAtA []byte) error

func (*MsgAddClassCreator) ValidateBasic

func (m *MsgAddClassCreator) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgAddClassCreator) XXX_DiscardUnknown

func (m *MsgAddClassCreator) XXX_DiscardUnknown()

func (*MsgAddClassCreator) XXX_Marshal

func (m *MsgAddClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddClassCreator) XXX_Merge

func (m *MsgAddClassCreator) XXX_Merge(src proto.Message)

func (*MsgAddClassCreator) XXX_Size

func (m *MsgAddClassCreator) XXX_Size() int

func (*MsgAddClassCreator) XXX_Unmarshal

func (m *MsgAddClassCreator) XXX_Unmarshal(b []byte) error

type MsgAddClassCreatorResponse

type MsgAddClassCreatorResponse struct {
}

MsgAddClassCreatorResponse is the Msg/AddClassCreator response type.

Since Revision 2

func (*MsgAddClassCreatorResponse) Descriptor

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

func (*MsgAddClassCreatorResponse) Marshal

func (m *MsgAddClassCreatorResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddClassCreatorResponse) MarshalTo

func (m *MsgAddClassCreatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddClassCreatorResponse) MarshalToSizedBuffer

func (m *MsgAddClassCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddClassCreatorResponse) ProtoMessage

func (*MsgAddClassCreatorResponse) ProtoMessage()

func (*MsgAddClassCreatorResponse) Reset

func (m *MsgAddClassCreatorResponse) Reset()

func (*MsgAddClassCreatorResponse) Size

func (m *MsgAddClassCreatorResponse) Size() (n int)

func (*MsgAddClassCreatorResponse) String

func (m *MsgAddClassCreatorResponse) String() string

func (*MsgAddClassCreatorResponse) Unmarshal

func (m *MsgAddClassCreatorResponse) Unmarshal(dAtA []byte) error

func (*MsgAddClassCreatorResponse) XXX_DiscardUnknown

func (m *MsgAddClassCreatorResponse) XXX_DiscardUnknown()

func (*MsgAddClassCreatorResponse) XXX_Marshal

func (m *MsgAddClassCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddClassCreatorResponse) XXX_Merge

func (m *MsgAddClassCreatorResponse) XXX_Merge(src proto.Message)

func (*MsgAddClassCreatorResponse) XXX_Size

func (m *MsgAddClassCreatorResponse) XXX_Size() int

func (*MsgAddClassCreatorResponse) XXX_Unmarshal

func (m *MsgAddClassCreatorResponse) XXX_Unmarshal(b []byte) error

type MsgAddCreditType

type MsgAddCreditType struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// credit_type defines a credit type to add to the credit types parameter.
	CreditType *CreditType `protobuf:"bytes,2,opt,name=credit_type,json=creditType,proto3" json:"credit_type,omitempty"`
}

MsgAddCreditType is the Msg/AddCreditType request type.

Since Revision 2

func (*MsgAddCreditType) Descriptor

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

func (*MsgAddCreditType) GetAuthority

func (m *MsgAddCreditType) GetAuthority() string

func (*MsgAddCreditType) GetCreditType

func (m *MsgAddCreditType) GetCreditType() *CreditType

func (MsgAddCreditType) GetSignBytes

func (m MsgAddCreditType) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgAddCreditType) GetSigners

func (m *MsgAddCreditType) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgAddCreditType.

func (*MsgAddCreditType) Marshal

func (m *MsgAddCreditType) Marshal() (dAtA []byte, err error)

func (*MsgAddCreditType) MarshalTo

func (m *MsgAddCreditType) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddCreditType) MarshalToSizedBuffer

func (m *MsgAddCreditType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddCreditType) ProtoMessage

func (*MsgAddCreditType) ProtoMessage()

func (*MsgAddCreditType) Reset

func (m *MsgAddCreditType) Reset()

func (MsgAddCreditType) Route

func (m MsgAddCreditType) Route() string

Route implements the LegacyMsg interface.

func (*MsgAddCreditType) Size

func (m *MsgAddCreditType) Size() (n int)

func (*MsgAddCreditType) String

func (m *MsgAddCreditType) String() string

func (MsgAddCreditType) Type

func (m MsgAddCreditType) Type() string

Type implements the LegacyMsg interface.

func (*MsgAddCreditType) Unmarshal

func (m *MsgAddCreditType) Unmarshal(dAtA []byte) error

func (*MsgAddCreditType) ValidateBasic

func (m *MsgAddCreditType) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgAddCreditType) XXX_DiscardUnknown

func (m *MsgAddCreditType) XXX_DiscardUnknown()

func (*MsgAddCreditType) XXX_Marshal

func (m *MsgAddCreditType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddCreditType) XXX_Merge

func (m *MsgAddCreditType) XXX_Merge(src proto.Message)

func (*MsgAddCreditType) XXX_Size

func (m *MsgAddCreditType) XXX_Size() int

func (*MsgAddCreditType) XXX_Unmarshal

func (m *MsgAddCreditType) XXX_Unmarshal(b []byte) error

type MsgAddCreditTypeResponse

type MsgAddCreditTypeResponse struct {
}

MsgAddCreditTypeResponse is the Msg/AddCreditType response type.

Since Revision 2

func (*MsgAddCreditTypeResponse) Descriptor

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

func (*MsgAddCreditTypeResponse) Marshal

func (m *MsgAddCreditTypeResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddCreditTypeResponse) MarshalTo

func (m *MsgAddCreditTypeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddCreditTypeResponse) MarshalToSizedBuffer

func (m *MsgAddCreditTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddCreditTypeResponse) ProtoMessage

func (*MsgAddCreditTypeResponse) ProtoMessage()

func (*MsgAddCreditTypeResponse) Reset

func (m *MsgAddCreditTypeResponse) Reset()

func (*MsgAddCreditTypeResponse) Size

func (m *MsgAddCreditTypeResponse) Size() (n int)

func (*MsgAddCreditTypeResponse) String

func (m *MsgAddCreditTypeResponse) String() string

func (*MsgAddCreditTypeResponse) Unmarshal

func (m *MsgAddCreditTypeResponse) Unmarshal(dAtA []byte) error

func (*MsgAddCreditTypeResponse) XXX_DiscardUnknown

func (m *MsgAddCreditTypeResponse) XXX_DiscardUnknown()

func (*MsgAddCreditTypeResponse) XXX_Marshal

func (m *MsgAddCreditTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddCreditTypeResponse) XXX_Merge

func (m *MsgAddCreditTypeResponse) XXX_Merge(src proto.Message)

func (*MsgAddCreditTypeResponse) XXX_Size

func (m *MsgAddCreditTypeResponse) XXX_Size() int

func (*MsgAddCreditTypeResponse) XXX_Unmarshal

func (m *MsgAddCreditTypeResponse) XXX_Unmarshal(b []byte) error

type MsgBridge

type MsgBridge struct {
	// owner is the address of the account that owns the credits being bridged.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// target is the name of the target chain or registry.
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// recipient is the address of the account receiving the bridged credits.
	Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// credits specifies a credit batch and the number of credits being bridged.
	Credits []*Credits `protobuf:"bytes,4,rep,name=credits,proto3" json:"credits,omitempty"`
}

MsgBridge is the Msg/Bridge request type.

func (*MsgBridge) Descriptor

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

func (*MsgBridge) GetCredits

func (m *MsgBridge) GetCredits() []*Credits

func (*MsgBridge) GetOwner

func (m *MsgBridge) GetOwner() string

func (*MsgBridge) GetRecipient

func (m *MsgBridge) GetRecipient() string

func (MsgBridge) GetSignBytes

func (m MsgBridge) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgBridge) GetSigners

func (m *MsgBridge) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgCancel.

func (*MsgBridge) GetTarget

func (m *MsgBridge) GetTarget() string

func (*MsgBridge) Marshal

func (m *MsgBridge) Marshal() (dAtA []byte, err error)

func (*MsgBridge) MarshalTo

func (m *MsgBridge) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridge) MarshalToSizedBuffer

func (m *MsgBridge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridge) ProtoMessage

func (*MsgBridge) ProtoMessage()

func (*MsgBridge) Reset

func (m *MsgBridge) Reset()

func (MsgBridge) Route

func (m MsgBridge) Route() string

Route implements the LegacyMsg interface.

func (*MsgBridge) Size

func (m *MsgBridge) Size() (n int)

func (*MsgBridge) String

func (m *MsgBridge) String() string

func (MsgBridge) Type

func (m MsgBridge) Type() string

Type implements the LegacyMsg interface.

func (*MsgBridge) Unmarshal

func (m *MsgBridge) Unmarshal(dAtA []byte) error

func (*MsgBridge) ValidateBasic

func (m *MsgBridge) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgBridge) XXX_DiscardUnknown

func (m *MsgBridge) XXX_DiscardUnknown()

func (*MsgBridge) XXX_Marshal

func (m *MsgBridge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridge) XXX_Merge

func (m *MsgBridge) XXX_Merge(src proto.Message)

func (*MsgBridge) XXX_Size

func (m *MsgBridge) XXX_Size() int

func (*MsgBridge) XXX_Unmarshal

func (m *MsgBridge) XXX_Unmarshal(b []byte) error

type MsgBridgeReceive

type MsgBridgeReceive struct {
	// issuer is the account address of the service bridging the credits.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// class_id is the unique identifier of the credit class within which the
	// project and credit batch already exist or will be created.
	ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// project defines the project information for the bridged credits.
	Project *MsgBridgeReceive_Project `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// batch defines the credit batch information for the bridged credits.
	Batch *MsgBridgeReceive_Batch `protobuf:"bytes,4,opt,name=batch,proto3" json:"batch,omitempty"`
	// origin_tx is a reference to a transaction which caused the transfer from
	// another chain or registry.
	OriginTx *OriginTx `protobuf:"bytes,5,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"`
}

MsgBridgeReceive is the Msg/BridgeReceive request type.

func (*MsgBridgeReceive) Descriptor

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

func (*MsgBridgeReceive) GetBatch

func (*MsgBridgeReceive) GetClassId

func (m *MsgBridgeReceive) GetClassId() string

func (*MsgBridgeReceive) GetIssuer

func (m *MsgBridgeReceive) GetIssuer() string

func (*MsgBridgeReceive) GetOriginTx

func (m *MsgBridgeReceive) GetOriginTx() *OriginTx

func (*MsgBridgeReceive) GetProject

func (m *MsgBridgeReceive) GetProject() *MsgBridgeReceive_Project

func (MsgBridgeReceive) GetSignBytes

func (m MsgBridgeReceive) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgBridgeReceive) GetSigners

func (m *MsgBridgeReceive) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgCancel.

func (*MsgBridgeReceive) Marshal

func (m *MsgBridgeReceive) Marshal() (dAtA []byte, err error)

func (*MsgBridgeReceive) MarshalTo

func (m *MsgBridgeReceive) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeReceive) MarshalToSizedBuffer

func (m *MsgBridgeReceive) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeReceive) ProtoMessage

func (*MsgBridgeReceive) ProtoMessage()

func (*MsgBridgeReceive) Reset

func (m *MsgBridgeReceive) Reset()

func (MsgBridgeReceive) Route

func (m MsgBridgeReceive) Route() string

Route implements the LegacyMsg interface.

func (*MsgBridgeReceive) Size

func (m *MsgBridgeReceive) Size() (n int)

func (*MsgBridgeReceive) String

func (m *MsgBridgeReceive) String() string

func (MsgBridgeReceive) Type

func (m MsgBridgeReceive) Type() string

Type implements the LegacyMsg interface.

func (*MsgBridgeReceive) Unmarshal

func (m *MsgBridgeReceive) Unmarshal(dAtA []byte) error

func (*MsgBridgeReceive) ValidateBasic

func (m *MsgBridgeReceive) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgBridgeReceive) XXX_DiscardUnknown

func (m *MsgBridgeReceive) XXX_DiscardUnknown()

func (*MsgBridgeReceive) XXX_Marshal

func (m *MsgBridgeReceive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeReceive) XXX_Merge

func (m *MsgBridgeReceive) XXX_Merge(src proto.Message)

func (*MsgBridgeReceive) XXX_Size

func (m *MsgBridgeReceive) XXX_Size() int

func (*MsgBridgeReceive) XXX_Unmarshal

func (m *MsgBridgeReceive) XXX_Unmarshal(b []byte) error

type MsgBridgeReceiveResponse

type MsgBridgeReceiveResponse struct {
	// batch_denom is the unique identifier of the credit batch either created
	// or within which the credits were dynamically minted.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// project_id is the unique identifier of the project that was either created
	// or the existing project within which the credit batch exists.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}

MsgBridgeReceiveResponse is the Msg/BridgeReceive response type.

func (*MsgBridgeReceiveResponse) Descriptor

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

func (*MsgBridgeReceiveResponse) GetBatchDenom

func (m *MsgBridgeReceiveResponse) GetBatchDenom() string

func (*MsgBridgeReceiveResponse) GetProjectId

func (m *MsgBridgeReceiveResponse) GetProjectId() string

func (*MsgBridgeReceiveResponse) Marshal

func (m *MsgBridgeReceiveResponse) Marshal() (dAtA []byte, err error)

func (*MsgBridgeReceiveResponse) MarshalTo

func (m *MsgBridgeReceiveResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeReceiveResponse) MarshalToSizedBuffer

func (m *MsgBridgeReceiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeReceiveResponse) ProtoMessage

func (*MsgBridgeReceiveResponse) ProtoMessage()

func (*MsgBridgeReceiveResponse) Reset

func (m *MsgBridgeReceiveResponse) Reset()

func (*MsgBridgeReceiveResponse) Size

func (m *MsgBridgeReceiveResponse) Size() (n int)

func (*MsgBridgeReceiveResponse) String

func (m *MsgBridgeReceiveResponse) String() string

func (*MsgBridgeReceiveResponse) Unmarshal

func (m *MsgBridgeReceiveResponse) Unmarshal(dAtA []byte) error

func (*MsgBridgeReceiveResponse) XXX_DiscardUnknown

func (m *MsgBridgeReceiveResponse) XXX_DiscardUnknown()

func (*MsgBridgeReceiveResponse) XXX_Marshal

func (m *MsgBridgeReceiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeReceiveResponse) XXX_Merge

func (m *MsgBridgeReceiveResponse) XXX_Merge(src proto.Message)

func (*MsgBridgeReceiveResponse) XXX_Size

func (m *MsgBridgeReceiveResponse) XXX_Size() int

func (*MsgBridgeReceiveResponse) XXX_Unmarshal

func (m *MsgBridgeReceiveResponse) XXX_Unmarshal(b []byte) error

type MsgBridgeReceive_Batch

type MsgBridgeReceive_Batch struct {
	// recipient is the recipient of the bridged credits.
	Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// amount is the amount of credits being bridged.
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// start_date is the beginning of the period during which this credit batch
	// was quantified and verified.
	StartDate *time.Time `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"`
	// end_date is the end of the period during which this credit batch was
	// quantified and verified.
	EndDate *time.Time `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"`
	// metadata is the metadata for the credit batch.
	Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
}

Batch defines the credit batch information for the bridged credits. This information will be used to create a credit batch or to dynamically mint credits to an existing credit batch.

func (*MsgBridgeReceive_Batch) Descriptor

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

func (*MsgBridgeReceive_Batch) GetAmount

func (m *MsgBridgeReceive_Batch) GetAmount() string

func (*MsgBridgeReceive_Batch) GetEndDate

func (m *MsgBridgeReceive_Batch) GetEndDate() *time.Time

func (*MsgBridgeReceive_Batch) GetMetadata

func (m *MsgBridgeReceive_Batch) GetMetadata() string

func (*MsgBridgeReceive_Batch) GetRecipient

func (m *MsgBridgeReceive_Batch) GetRecipient() string

func (*MsgBridgeReceive_Batch) GetStartDate

func (m *MsgBridgeReceive_Batch) GetStartDate() *time.Time

func (*MsgBridgeReceive_Batch) Marshal

func (m *MsgBridgeReceive_Batch) Marshal() (dAtA []byte, err error)

func (*MsgBridgeReceive_Batch) MarshalTo

func (m *MsgBridgeReceive_Batch) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeReceive_Batch) MarshalToSizedBuffer

func (m *MsgBridgeReceive_Batch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeReceive_Batch) ProtoMessage

func (*MsgBridgeReceive_Batch) ProtoMessage()

func (*MsgBridgeReceive_Batch) Reset

func (m *MsgBridgeReceive_Batch) Reset()

func (*MsgBridgeReceive_Batch) Size

func (m *MsgBridgeReceive_Batch) Size() (n int)

func (*MsgBridgeReceive_Batch) String

func (m *MsgBridgeReceive_Batch) String() string

func (*MsgBridgeReceive_Batch) Unmarshal

func (m *MsgBridgeReceive_Batch) Unmarshal(dAtA []byte) error

func (*MsgBridgeReceive_Batch) XXX_DiscardUnknown

func (m *MsgBridgeReceive_Batch) XXX_DiscardUnknown()

func (*MsgBridgeReceive_Batch) XXX_Marshal

func (m *MsgBridgeReceive_Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeReceive_Batch) XXX_Merge

func (m *MsgBridgeReceive_Batch) XXX_Merge(src proto.Message)

func (*MsgBridgeReceive_Batch) XXX_Size

func (m *MsgBridgeReceive_Batch) XXX_Size() int

func (*MsgBridgeReceive_Batch) XXX_Unmarshal

func (m *MsgBridgeReceive_Batch) XXX_Unmarshal(b []byte) error

type MsgBridgeReceive_Project

type MsgBridgeReceive_Project struct {
	// reference_id is the reference id of the project.
	ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
	// jurisdiction is the project jurisdiction.
	Jurisdiction string `protobuf:"bytes,2,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"`
	// metadata is the metadata for the project.
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}

Project defines the project information for the bridged credits. This information will be used to find an existing project or to create a new project if a project with the same reference id does not already exist.

func (*MsgBridgeReceive_Project) Descriptor

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

func (*MsgBridgeReceive_Project) GetJurisdiction

func (m *MsgBridgeReceive_Project) GetJurisdiction() string

func (*MsgBridgeReceive_Project) GetMetadata

func (m *MsgBridgeReceive_Project) GetMetadata() string

func (*MsgBridgeReceive_Project) GetReferenceId

func (m *MsgBridgeReceive_Project) GetReferenceId() string

func (*MsgBridgeReceive_Project) Marshal

func (m *MsgBridgeReceive_Project) Marshal() (dAtA []byte, err error)

func (*MsgBridgeReceive_Project) MarshalTo

func (m *MsgBridgeReceive_Project) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeReceive_Project) MarshalToSizedBuffer

func (m *MsgBridgeReceive_Project) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeReceive_Project) ProtoMessage

func (*MsgBridgeReceive_Project) ProtoMessage()

func (*MsgBridgeReceive_Project) Reset

func (m *MsgBridgeReceive_Project) Reset()

func (*MsgBridgeReceive_Project) Size

func (m *MsgBridgeReceive_Project) Size() (n int)

func (*MsgBridgeReceive_Project) String

func (m *MsgBridgeReceive_Project) String() string

func (*MsgBridgeReceive_Project) Unmarshal

func (m *MsgBridgeReceive_Project) Unmarshal(dAtA []byte) error

func (*MsgBridgeReceive_Project) XXX_DiscardUnknown

func (m *MsgBridgeReceive_Project) XXX_DiscardUnknown()

func (*MsgBridgeReceive_Project) XXX_Marshal

func (m *MsgBridgeReceive_Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeReceive_Project) XXX_Merge

func (m *MsgBridgeReceive_Project) XXX_Merge(src proto.Message)

func (*MsgBridgeReceive_Project) XXX_Size

func (m *MsgBridgeReceive_Project) XXX_Size() int

func (*MsgBridgeReceive_Project) XXX_Unmarshal

func (m *MsgBridgeReceive_Project) XXX_Unmarshal(b []byte) error

type MsgBridgeResponse

type MsgBridgeResponse struct {
}

MsgBridgeResponse is the Msg/Bridge response type.

func (*MsgBridgeResponse) Descriptor

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

func (*MsgBridgeResponse) Marshal

func (m *MsgBridgeResponse) Marshal() (dAtA []byte, err error)

func (*MsgBridgeResponse) MarshalTo

func (m *MsgBridgeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBridgeResponse) MarshalToSizedBuffer

func (m *MsgBridgeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBridgeResponse) ProtoMessage

func (*MsgBridgeResponse) ProtoMessage()

func (*MsgBridgeResponse) Reset

func (m *MsgBridgeResponse) Reset()

func (*MsgBridgeResponse) Size

func (m *MsgBridgeResponse) Size() (n int)

func (*MsgBridgeResponse) String

func (m *MsgBridgeResponse) String() string

func (*MsgBridgeResponse) Unmarshal

func (m *MsgBridgeResponse) Unmarshal(dAtA []byte) error

func (*MsgBridgeResponse) XXX_DiscardUnknown

func (m *MsgBridgeResponse) XXX_DiscardUnknown()

func (*MsgBridgeResponse) XXX_Marshal

func (m *MsgBridgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBridgeResponse) XXX_Merge

func (m *MsgBridgeResponse) XXX_Merge(src proto.Message)

func (*MsgBridgeResponse) XXX_Size

func (m *MsgBridgeResponse) XXX_Size() int

func (*MsgBridgeResponse) XXX_Unmarshal

func (m *MsgBridgeResponse) XXX_Unmarshal(b []byte) error

type MsgCancel

type MsgCancel struct {
	// owner is the address of the account that owns the credits being cancelled.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// credits specifies a credit batch and the number of credits being cancelled.
	Credits []*Credits `protobuf:"bytes,2,rep,name=credits,proto3" json:"credits,omitempty"`
	// reason is any arbitrary string that specifies the reason for cancelling
	// credits.
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
}

MsgCancel is the Msg/Cancel request type.

func (*MsgCancel) Descriptor

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

func (*MsgCancel) GetCredits

func (m *MsgCancel) GetCredits() []*Credits

func (*MsgCancel) GetOwner

func (m *MsgCancel) GetOwner() string

func (*MsgCancel) GetReason

func (m *MsgCancel) GetReason() string

func (MsgCancel) GetSignBytes

func (m MsgCancel) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgCancel) GetSigners

func (m *MsgCancel) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgCancel.

func (*MsgCancel) Marshal

func (m *MsgCancel) Marshal() (dAtA []byte, err error)

func (*MsgCancel) MarshalTo

func (m *MsgCancel) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancel) MarshalToSizedBuffer

func (m *MsgCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancel) ProtoMessage

func (*MsgCancel) ProtoMessage()

func (*MsgCancel) Reset

func (m *MsgCancel) Reset()

func (MsgCancel) Route

func (m MsgCancel) Route() string

Route implements the LegacyMsg interface.

func (*MsgCancel) Size

func (m *MsgCancel) Size() (n int)

func (*MsgCancel) String

func (m *MsgCancel) String() string

func (MsgCancel) Type

func (m MsgCancel) Type() string

Type implements the LegacyMsg interface.

func (*MsgCancel) Unmarshal

func (m *MsgCancel) Unmarshal(dAtA []byte) error

func (*MsgCancel) ValidateBasic

func (m *MsgCancel) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgCancel) XXX_DiscardUnknown

func (m *MsgCancel) XXX_DiscardUnknown()

func (*MsgCancel) XXX_Marshal

func (m *MsgCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancel) XXX_Merge

func (m *MsgCancel) XXX_Merge(src proto.Message)

func (*MsgCancel) XXX_Size

func (m *MsgCancel) XXX_Size() int

func (*MsgCancel) XXX_Unmarshal

func (m *MsgCancel) XXX_Unmarshal(b []byte) error

type MsgCancelResponse

type MsgCancelResponse struct {
}

MsgCancelResponse is the Msg/Cancel response type.

func (*MsgCancelResponse) Descriptor

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

func (*MsgCancelResponse) Marshal

func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelResponse) MarshalTo

func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelResponse) MarshalToSizedBuffer

func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelResponse) ProtoMessage

func (*MsgCancelResponse) ProtoMessage()

func (*MsgCancelResponse) Reset

func (m *MsgCancelResponse) Reset()

func (*MsgCancelResponse) Size

func (m *MsgCancelResponse) Size() (n int)

func (*MsgCancelResponse) String

func (m *MsgCancelResponse) String() string

func (*MsgCancelResponse) Unmarshal

func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelResponse) XXX_DiscardUnknown

func (m *MsgCancelResponse) XXX_DiscardUnknown()

func (*MsgCancelResponse) XXX_Marshal

func (m *MsgCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelResponse) XXX_Merge

func (m *MsgCancelResponse) XXX_Merge(src proto.Message)

func (*MsgCancelResponse) XXX_Size

func (m *MsgCancelResponse) XXX_Size() int

func (*MsgCancelResponse) XXX_Unmarshal

func (m *MsgCancelResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// CreateClass creates a new credit class under the given credit type with an
	// approved list of issuers and optional metadata. If the class fee parameter
	// is set, the fee field must be populated with equal value. A greater fee can
	// be provided, however, the creator will only be charged the amount specified
	// in the fee parameter. The creator of the credit class becomes the admin of
	// the credit class upon creation.
	CreateClass(ctx context.Context, in *MsgCreateClass, opts ...grpc.CallOption) (*MsgCreateClassResponse, error)
	// CreateProject creates a new project under the given credit class with a
	// jurisdiction, optional metadata, and an optional reference ID. The creator
	// of the project must be an approved credit class issuer for the given credit
	// class. The creator becomes the admin of the project upon creation.
	CreateProject(ctx context.Context, in *MsgCreateProject, opts ...grpc.CallOption) (*MsgCreateProjectResponse, error)
	// CreateBatch creates a new batch of credits under the given project with a
	// start and end date representing the monitoring period, a list of credits to
	// be issued with each issuance specifying a recipient, the amount of tradable
	// and retired credits, and the retirement jurisdiction (if credits are to be
	// retired upon receipt), and optional metadata. The credit batch creator must
	// be listed as an approved issuer within the credit class of the project that
	// the credits are being issued under.
	//
	// The default behavior is for a new credit batch to be "sealed" as opposed to
	// being "open". When a credit batch is "open", new credits can be dynamically
	// minted to the credit batch following the creation of the credit batch. This
	// "open" option should only be set to true when bridging credits from another
	// chain or registry as a result of a bridge operation and is not intended for
	// native credit issuance.
	CreateBatch(ctx context.Context, in *MsgCreateBatch, opts ...grpc.CallOption) (*MsgCreateBatchResponse, error)
	// MintBatchCredits dynamically mints credits to an "open" credit batch. This
	// feature is only meant to be used when bridging credits from another chain
	// or registry and is not intended for native credit issuance. When bridging
	// credits from the same vintage (or monitoring period) as an existing credit
	// batch, the credits can be dynamically minted to the existing credit batch
	// if the credit batch is "open".
	MintBatchCredits(ctx context.Context, in *MsgMintBatchCredits, opts ...grpc.CallOption) (*MsgMintBatchCreditsResponse, error)
	// MsgSealBatch seals an "open" credit batch. Once a credit batch is sealed
	// (i.e. once "open" is set to false), credits can no longer be dynamically
	// minted to the credit batch. A sealed credit batch cannot be unsealed and
	// only the credit batch issuer can seal a credit batch.
	SealBatch(ctx context.Context, in *MsgSealBatch, opts ...grpc.CallOption) (*MsgSealBatchResponse, error)
	// Send sends a specified amount of tradable credits from the credit owner's
	// account to another account. Sent credits can either remain tradable or be
	// retired upon receipt.
	Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error)
	// Retire retires a specified amount of tradable credits, removing the amount
	// from the credit owner's tradable balance and adding it to their retired
	// balance. Retiring credits is permanent and implies the credits are being
	// consumed as a offset.
	Retire(ctx context.Context, in *MsgRetire, opts ...grpc.CallOption) (*MsgRetireResponse, error)
	// Cancel cancels a specified amount of tradable credits, removing the amount
	// from the credit owner's tradable balance and removing the amount from the
	// credit batch's tradable supply. Cancelling credits is permanent and implies
	// the credits have been moved to another chain or registry.
	Cancel(ctx context.Context, in *MsgCancel, opts ...grpc.CallOption) (*MsgCancelResponse, error)
	// UpdateClassAdmin updates the credit class admin. Only the admin of the
	// credit class can update the credit class.
	UpdateClassAdmin(ctx context.Context, in *MsgUpdateClassAdmin, opts ...grpc.CallOption) (*MsgUpdateClassAdminResponse, error)
	// UpdateClassIssuers updates the credit class issuer list. Only the admin of
	// the credit class can update the credit class.
	UpdateClassIssuers(ctx context.Context, in *MsgUpdateClassIssuers, opts ...grpc.CallOption) (*MsgUpdateClassIssuersResponse, error)
	// UpdateClassMetadata updates the credit class metadata. Only the admin of
	// the credit class can update the credit class.
	UpdateClassMetadata(ctx context.Context, in *MsgUpdateClassMetadata, opts ...grpc.CallOption) (*MsgUpdateClassMetadataResponse, error)
	// UpdateProjectAdmin updates the project admin address. Only the admin of the
	// project can update the project.
	UpdateProjectAdmin(ctx context.Context, in *MsgUpdateProjectAdmin, opts ...grpc.CallOption) (*MsgUpdateProjectAdminResponse, error)
	// UpdateProjectMetadata updates the project metadata. Only the admin of the
	// project can update the project.
	UpdateProjectMetadata(ctx context.Context, in *MsgUpdateProjectMetadata, opts ...grpc.CallOption) (*MsgUpdateProjectMetadataResponse, error)
	// UpdateBatchMetadata updates the batch metadata. Only an "open" batch can be
	// updated and only the issuer of the batch can update the batch.
	//
	// Since Revision 2
	UpdateBatchMetadata(ctx context.Context, in *MsgUpdateBatchMetadata, opts ...grpc.CallOption) (*MsgUpdateBatchMetadataResponse, error)
	// Bridge processes credits being sent back to the source chain. When credits
	// are sent back to the source chain, the credits are cancelled and an event
	// is emitted to be handled by an external bridge service.
	Bridge(ctx context.Context, in *MsgBridge, opts ...grpc.CallOption) (*MsgBridgeResponse, error)
	// BridgeReceive processes credits being sent from another chain. When the
	// credits are sent from the same vintage as an existing credit batch within
	// the scope of the provided credit class, the credits will be minted to the
	// existing credit batch, otherwise the credits will be issued in a new credit
	// batch. The new credit batch will be created under an existing project if a
	// project with a matching reference id already exists within the scope of the
	// credit class, otherwise a new project will be created.
	BridgeReceive(ctx context.Context, in *MsgBridgeReceive, opts ...grpc.CallOption) (*MsgBridgeReceiveResponse, error)
	// AddCreditType is a governance method that allows the addition of new
	// credit types to the network.
	//
	// Since Revision 2
	AddCreditType(ctx context.Context, in *MsgAddCreditType, opts ...grpc.CallOption) (*MsgAddCreditTypeResponse, error)
	// SetClassCreatorAllowlist is a governance method that updates the class
	// creator allowlist enabled setting. When enabled, only addresses listed in
	// the allowlist can create credit classes. When disabled, any address can
	// create credit classes.
	//
	// Since Revision 2
	SetClassCreatorAllowlist(ctx context.Context, in *MsgSetClassCreatorAllowlist, opts ...grpc.CallOption) (*MsgSetClassCreatorAllowlistResponse, error)
	// AddClassCreator is a governance method that allows the addition of a new
	// address to the class creation allowlist.
	//
	// Since Revision 2
	AddClassCreator(ctx context.Context, in *MsgAddClassCreator, opts ...grpc.CallOption) (*MsgAddClassCreatorResponse, error)
	// RemoveClassCreator is a governance method that removes an
	// address from the class creation allowlist.
	//
	// Since Revision 2
	RemoveClassCreator(ctx context.Context, in *MsgRemoveClassCreator, opts ...grpc.CallOption) (*MsgRemoveClassCreatorResponse, error)
	// UpdateClassFee is a governance method that allows for updating the credit
	// class creation fee. If no fee is specified in the request, the credit
	// class creation fee will be removed and no fee will be required to create
	// a credit class.
	//
	// Since Revision 2
	UpdateClassFee(ctx context.Context, in *MsgUpdateClassFee, opts ...grpc.CallOption) (*MsgUpdateClassFeeResponse, error)
	// AddAllowedBridgeChain is a governance method that allows for the
	// addition of a chain to bridge ecocredits to.
	//
	// Since Revision 2
	AddAllowedBridgeChain(ctx context.Context, in *MsgAddAllowedBridgeChain, opts ...grpc.CallOption) (*MsgAddAllowedBridgeChainResponse, error)
	// RemoveAllowedBridgeChain is a governance method that allows for the
	// removal of a chain to bridge ecocredits to.
	//
	// Since Revision 2
	RemoveAllowedBridgeChain(ctx context.Context, in *MsgRemoveAllowedBridgeChain, opts ...grpc.CallOption) (*MsgRemoveAllowedBridgeChainResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateBatch

type MsgCreateBatch struct {
	// issuer is the address of the account issuing the credits and must be an
	// approved issuer within the credit class of the project.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// project_id is the unique identifier of the project under which the credit
	// batch will be created.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// issuance specifies the amount of tradable and retired credits that will be
	// issued to each recipient and the jurisdiction in which the credits will be
	// retired if credits are to be retired upon receipt.
	Issuance []*BatchIssuance `protobuf:"bytes,3,rep,name=issuance,proto3" json:"issuance,omitempty"`
	// metadata is any arbitrary string with a maximum length of 256 characters
	// that includes or references metadata to attach to the credit batch.
	Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// start_date is the beginning of the period during which this credit batch
	// was quantified and verified.
	StartDate *time.Time `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"`
	// end_date is the end of the period during which this credit batch was
	// quantified and verified.
	EndDate *time.Time `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"`
	// open determines whether or not the credits can be dynamically minted to the
	// credit batch following the creation of the credit batch. This field should
	// only be set to true when bridging credits from another chain or registry as
	// a result of a bridge operation and is not intended for native issuance.
	Open bool `protobuf:"varint,7,opt,name=open,proto3" json:"open,omitempty"`
	// origin_tx is the transaction from another chain or registry that triggered
	// the creation of the credit batch. This field can be ignored when natively
	// issuing credits and should only be set when bridging assets from another
	// chain or registry as a result of a bridge operation.
	OriginTx *OriginTx `protobuf:"bytes,8,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"`
}

MsgCreateBatch is the Msg/CreateBatch request type.

func (*MsgCreateBatch) Descriptor

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

func (*MsgCreateBatch) GetEndDate

func (m *MsgCreateBatch) GetEndDate() *time.Time

func (*MsgCreateBatch) GetIssuance

func (m *MsgCreateBatch) GetIssuance() []*BatchIssuance

func (*MsgCreateBatch) GetIssuer

func (m *MsgCreateBatch) GetIssuer() string

func (*MsgCreateBatch) GetMetadata

func (m *MsgCreateBatch) GetMetadata() string

func (*MsgCreateBatch) GetOpen

func (m *MsgCreateBatch) GetOpen() bool

func (*MsgCreateBatch) GetOriginTx

func (m *MsgCreateBatch) GetOriginTx() *OriginTx

func (*MsgCreateBatch) GetProjectId

func (m *MsgCreateBatch) GetProjectId() string

func (MsgCreateBatch) GetSignBytes

func (m MsgCreateBatch) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgCreateBatch) GetSigners

func (m *MsgCreateBatch) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgCreateBatch.

func (*MsgCreateBatch) GetStartDate

func (m *MsgCreateBatch) GetStartDate() *time.Time

func (*MsgCreateBatch) Marshal

func (m *MsgCreateBatch) Marshal() (dAtA []byte, err error)

func (*MsgCreateBatch) MarshalTo

func (m *MsgCreateBatch) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateBatch) MarshalToSizedBuffer

func (m *MsgCreateBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateBatch) ProtoMessage

func (*MsgCreateBatch) ProtoMessage()

func (*MsgCreateBatch) Reset

func (m *MsgCreateBatch) Reset()

func (MsgCreateBatch) Route

func (m MsgCreateBatch) Route() string

Route implements the LegacyMsg interface.

func (*MsgCreateBatch) Size

func (m *MsgCreateBatch) Size() (n int)

func (*MsgCreateBatch) String

func (m *MsgCreateBatch) String() string

func (MsgCreateBatch) Type

func (m MsgCreateBatch) Type() string

Type implements the LegacyMsg interface.

func (*MsgCreateBatch) Unmarshal

func (m *MsgCreateBatch) Unmarshal(dAtA []byte) error

func (*MsgCreateBatch) ValidateBasic

func (m *MsgCreateBatch) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgCreateBatch) XXX_DiscardUnknown

func (m *MsgCreateBatch) XXX_DiscardUnknown()

func (*MsgCreateBatch) XXX_Marshal

func (m *MsgCreateBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateBatch) XXX_Merge

func (m *MsgCreateBatch) XXX_Merge(src proto.Message)

func (*MsgCreateBatch) XXX_Size

func (m *MsgCreateBatch) XXX_Size() int

func (*MsgCreateBatch) XXX_Unmarshal

func (m *MsgCreateBatch) XXX_Unmarshal(b []byte) error

type MsgCreateBatchResponse

type MsgCreateBatchResponse struct {
	// batch_denom is the unique identifier of the credit batch.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
}

MsgCreateBatchResponse is the Msg/CreateBatch response type.

func (*MsgCreateBatchResponse) Descriptor

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

func (*MsgCreateBatchResponse) GetBatchDenom

func (m *MsgCreateBatchResponse) GetBatchDenom() string

func (*MsgCreateBatchResponse) Marshal

func (m *MsgCreateBatchResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateBatchResponse) MarshalTo

func (m *MsgCreateBatchResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateBatchResponse) MarshalToSizedBuffer

func (m *MsgCreateBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateBatchResponse) ProtoMessage

func (*MsgCreateBatchResponse) ProtoMessage()

func (*MsgCreateBatchResponse) Reset

func (m *MsgCreateBatchResponse) Reset()

func (*MsgCreateBatchResponse) Size

func (m *MsgCreateBatchResponse) Size() (n int)

func (*MsgCreateBatchResponse) String

func (m *MsgCreateBatchResponse) String() string

func (*MsgCreateBatchResponse) Unmarshal

func (m *MsgCreateBatchResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateBatchResponse) XXX_DiscardUnknown

func (m *MsgCreateBatchResponse) XXX_DiscardUnknown()

func (*MsgCreateBatchResponse) XXX_Marshal

func (m *MsgCreateBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateBatchResponse) XXX_Merge

func (m *MsgCreateBatchResponse) XXX_Merge(src proto.Message)

func (*MsgCreateBatchResponse) XXX_Size

func (m *MsgCreateBatchResponse) XXX_Size() int

func (*MsgCreateBatchResponse) XXX_Unmarshal

func (m *MsgCreateBatchResponse) XXX_Unmarshal(b []byte) error

type MsgCreateClass

type MsgCreateClass struct {
	// admin is the address of the account creating the credit class that will
	// become the admin of the credit class upon creation. The admin will have
	// permissions within the credit class to update the credit class including
	// the list of approved issuers. If Params.allowlist_enabled is set to true,
	// this address must be included in Params.allowed_class_creators.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// issuers are the addresses of the accounts that will have permissions within
	// the credit class to create projects and issue credits.
	Issuers []string `protobuf:"bytes,2,rep,name=issuers,proto3" json:"issuers,omitempty"`
	// metadata is any arbitrary string with a maximum length of 256 characters
	// that includes or references metadata to attach to the credit class.
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// credit_type_abbrev is the abbreviation of the credit type under which the
	// credit class will be created (e.g. "C", "BIO").
	CreditTypeAbbrev string `protobuf:"bytes,4,opt,name=credit_type_abbrev,json=creditTypeAbbrev,proto3" json:"credit_type_abbrev,omitempty"`
	// fee is the credit class creation fee. An equal fee is required if the class
	// creation fee parameter is set. The provided fee can be greater than the
	// parameter, but only the amount in the parameter will be charged.
	Fee *types.Coin `protobuf:"bytes,5,opt,name=fee,proto3" json:"fee,omitempty"`
}

MsgCreateClass is the Msg/CreateClass request type.

func (*MsgCreateClass) Descriptor

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

func (*MsgCreateClass) GetAdmin

func (m *MsgCreateClass) GetAdmin() string

func (*MsgCreateClass) GetCreditTypeAbbrev

func (m *MsgCreateClass) GetCreditTypeAbbrev() string

func (*MsgCreateClass) GetFee

func (m *MsgCreateClass) GetFee() *types.Coin

func (*MsgCreateClass) GetIssuers

func (m *MsgCreateClass) GetIssuers() []string

func (*MsgCreateClass) GetMetadata

func (m *MsgCreateClass) GetMetadata() string

func (MsgCreateClass) GetSignBytes

func (m MsgCreateClass) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgCreateClass) GetSigners

func (m *MsgCreateClass) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgCreateClass.

func (*MsgCreateClass) Marshal

func (m *MsgCreateClass) Marshal() (dAtA []byte, err error)

func (*MsgCreateClass) MarshalTo

func (m *MsgCreateClass) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateClass) MarshalToSizedBuffer

func (m *MsgCreateClass) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateClass) ProtoMessage

func (*MsgCreateClass) ProtoMessage()

func (*MsgCreateClass) Reset

func (m *MsgCreateClass) Reset()

func (MsgCreateClass) Route

func (m MsgCreateClass) Route() string

Route implements the LegacyMsg interface.

func (*MsgCreateClass) Size

func (m *MsgCreateClass) Size() (n int)

func (*MsgCreateClass) String

func (m *MsgCreateClass) String() string

func (MsgCreateClass) Type

func (m MsgCreateClass) Type() string

Type implements the LegacyMsg interface.

func (*MsgCreateClass) Unmarshal

func (m *MsgCreateClass) Unmarshal(dAtA []byte) error

func (*MsgCreateClass) ValidateBasic

func (m *MsgCreateClass) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgCreateClass) XXX_DiscardUnknown

func (m *MsgCreateClass) XXX_DiscardUnknown()

func (*MsgCreateClass) XXX_Marshal

func (m *MsgCreateClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateClass) XXX_Merge

func (m *MsgCreateClass) XXX_Merge(src proto.Message)

func (*MsgCreateClass) XXX_Size

func (m *MsgCreateClass) XXX_Size() int

func (*MsgCreateClass) XXX_Unmarshal

func (m *MsgCreateClass) XXX_Unmarshal(b []byte) error

type MsgCreateClassResponse

type MsgCreateClassResponse struct {
	// class_id is the unique identifier of the credit class.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
}

MsgCreateClassResponse is the Msg/CreateClass response type.

func (*MsgCreateClassResponse) Descriptor

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

func (*MsgCreateClassResponse) GetClassId

func (m *MsgCreateClassResponse) GetClassId() string

func (*MsgCreateClassResponse) Marshal

func (m *MsgCreateClassResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateClassResponse) MarshalTo

func (m *MsgCreateClassResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateClassResponse) MarshalToSizedBuffer

func (m *MsgCreateClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateClassResponse) ProtoMessage

func (*MsgCreateClassResponse) ProtoMessage()

func (*MsgCreateClassResponse) Reset

func (m *MsgCreateClassResponse) Reset()

func (*MsgCreateClassResponse) Size

func (m *MsgCreateClassResponse) Size() (n int)

func (*MsgCreateClassResponse) String

func (m *MsgCreateClassResponse) String() string

func (*MsgCreateClassResponse) Unmarshal

func (m *MsgCreateClassResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateClassResponse) XXX_DiscardUnknown

func (m *MsgCreateClassResponse) XXX_DiscardUnknown()

func (*MsgCreateClassResponse) XXX_Marshal

func (m *MsgCreateClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateClassResponse) XXX_Merge

func (m *MsgCreateClassResponse) XXX_Merge(src proto.Message)

func (*MsgCreateClassResponse) XXX_Size

func (m *MsgCreateClassResponse) XXX_Size() int

func (*MsgCreateClassResponse) XXX_Unmarshal

func (m *MsgCreateClassResponse) XXX_Unmarshal(b []byte) error

type MsgCreateProject

type MsgCreateProject struct {
	// admin is the address of the account creating the project that will become
	// the admin of the project upon creation. The creator of the project must be
	// an approved issuer within the credit class under which the project is being
	// created. The admin will have permissions to update the project including
	// the ability to reassign the admin role to another account.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// class_id is the unique identifier of the credit class under which the
	// project will be created.
	ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// metadata is any arbitrary string with a maximum length of 256 characters
	// that includes or references metadata to attach to the project.
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// jurisdiction is the jurisdiction of the project. A jurisdiction has with
	// the format: <country-code>[-<sub-national-code>[ <postal-code>]]
	// The country-code must be 2 alphabetic characters, the sub-national-code
	// can be 1-3 alphanumeric characters, and the postal-code can be up to 64
	// alphanumeric characters. Only the country-code is required, while the
	// sub-national-code and postal-code are optional and can be added for
	// increased precision.
	Jurisdiction string `protobuf:"bytes,4,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"`
	// reference_id is any arbitrary string used to reference the project with a
	// maximum length of 32 characters.
	ReferenceId string `protobuf:"bytes,5,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
}

MsgCreateProjectResponse is the Msg/CreateProject request type.

func (*MsgCreateProject) Descriptor

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

func (*MsgCreateProject) GetAdmin

func (m *MsgCreateProject) GetAdmin() string

func (*MsgCreateProject) GetClassId

func (m *MsgCreateProject) GetClassId() string

func (*MsgCreateProject) GetJurisdiction

func (m *MsgCreateProject) GetJurisdiction() string

func (*MsgCreateProject) GetMetadata

func (m *MsgCreateProject) GetMetadata() string

func (*MsgCreateProject) GetReferenceId

func (m *MsgCreateProject) GetReferenceId() string

func (MsgCreateProject) GetSignBytes

func (m MsgCreateProject) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgCreateProject) GetSigners

func (m *MsgCreateProject) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgCreateProject.

func (*MsgCreateProject) Marshal

func (m *MsgCreateProject) Marshal() (dAtA []byte, err error)

func (*MsgCreateProject) MarshalTo

func (m *MsgCreateProject) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateProject) MarshalToSizedBuffer

func (m *MsgCreateProject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateProject) ProtoMessage

func (*MsgCreateProject) ProtoMessage()

func (*MsgCreateProject) Reset

func (m *MsgCreateProject) Reset()

func (MsgCreateProject) Route

func (m MsgCreateProject) Route() string

Route implements the LegacyMsg interface.

func (*MsgCreateProject) Size

func (m *MsgCreateProject) Size() (n int)

func (*MsgCreateProject) String

func (m *MsgCreateProject) String() string

func (MsgCreateProject) Type

func (m MsgCreateProject) Type() string

Type implements the LegacyMsg interface.

func (*MsgCreateProject) Unmarshal

func (m *MsgCreateProject) Unmarshal(dAtA []byte) error

func (*MsgCreateProject) ValidateBasic

func (m *MsgCreateProject) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgCreateProject) XXX_DiscardUnknown

func (m *MsgCreateProject) XXX_DiscardUnknown()

func (*MsgCreateProject) XXX_Marshal

func (m *MsgCreateProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateProject) XXX_Merge

func (m *MsgCreateProject) XXX_Merge(src proto.Message)

func (*MsgCreateProject) XXX_Size

func (m *MsgCreateProject) XXX_Size() int

func (*MsgCreateProject) XXX_Unmarshal

func (m *MsgCreateProject) XXX_Unmarshal(b []byte) error

type MsgCreateProjectResponse

type MsgCreateProjectResponse struct {
	// project_id is the unique identifier of the project.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}

MsgCreateProjectResponse is the Msg/CreateProject response type.

func (*MsgCreateProjectResponse) Descriptor

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

func (*MsgCreateProjectResponse) GetProjectId

func (m *MsgCreateProjectResponse) GetProjectId() string

func (*MsgCreateProjectResponse) Marshal

func (m *MsgCreateProjectResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateProjectResponse) MarshalTo

func (m *MsgCreateProjectResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateProjectResponse) MarshalToSizedBuffer

func (m *MsgCreateProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateProjectResponse) ProtoMessage

func (*MsgCreateProjectResponse) ProtoMessage()

func (*MsgCreateProjectResponse) Reset

func (m *MsgCreateProjectResponse) Reset()

func (*MsgCreateProjectResponse) Size

func (m *MsgCreateProjectResponse) Size() (n int)

func (*MsgCreateProjectResponse) String

func (m *MsgCreateProjectResponse) String() string

func (*MsgCreateProjectResponse) Unmarshal

func (m *MsgCreateProjectResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateProjectResponse) XXX_DiscardUnknown

func (m *MsgCreateProjectResponse) XXX_DiscardUnknown()

func (*MsgCreateProjectResponse) XXX_Marshal

func (m *MsgCreateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateProjectResponse) XXX_Merge

func (m *MsgCreateProjectResponse) XXX_Merge(src proto.Message)

func (*MsgCreateProjectResponse) XXX_Size

func (m *MsgCreateProjectResponse) XXX_Size() int

func (*MsgCreateProjectResponse) XXX_Unmarshal

func (m *MsgCreateProjectResponse) XXX_Unmarshal(b []byte) error

type MsgMintBatchCredits

type MsgMintBatchCredits struct {
	// issuer is the address of the account minting the credits and must be the
	// same issuer who created the credit batch.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// batch_denom is the unique identifier of the credit batch.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// issuance specifies the amount of tradable and retired credits that will be
	// issued to each recipient and the jurisdiction in which the credits will be
	// retired if credits are to be retired upon receipt.
	Issuance []*BatchIssuance `protobuf:"bytes,3,rep,name=issuance,proto3" json:"issuance,omitempty"`
	// origin_tx is the transaction from another chain or registry that triggered
	// the minting of credits.
	OriginTx *OriginTx `protobuf:"bytes,4,opt,name=origin_tx,json=originTx,proto3" json:"origin_tx,omitempty"`
}

MsgMintBatchCredits is the Msg/MintBatchCredits request type.

func (*MsgMintBatchCredits) Descriptor

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

func (*MsgMintBatchCredits) GetBatchDenom

func (m *MsgMintBatchCredits) GetBatchDenom() string

func (*MsgMintBatchCredits) GetIssuance

func (m *MsgMintBatchCredits) GetIssuance() []*BatchIssuance

func (*MsgMintBatchCredits) GetIssuer

func (m *MsgMintBatchCredits) GetIssuer() string

func (*MsgMintBatchCredits) GetOriginTx

func (m *MsgMintBatchCredits) GetOriginTx() *OriginTx

func (MsgMintBatchCredits) GetSignBytes

func (m MsgMintBatchCredits) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgMintBatchCredits) GetSigners

func (m *MsgMintBatchCredits) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgMintBatchCredits.

func (*MsgMintBatchCredits) Marshal

func (m *MsgMintBatchCredits) Marshal() (dAtA []byte, err error)

func (*MsgMintBatchCredits) MarshalTo

func (m *MsgMintBatchCredits) MarshalTo(dAtA []byte) (int, error)

func (*MsgMintBatchCredits) MarshalToSizedBuffer

func (m *MsgMintBatchCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMintBatchCredits) ProtoMessage

func (*MsgMintBatchCredits) ProtoMessage()

func (*MsgMintBatchCredits) Reset

func (m *MsgMintBatchCredits) Reset()

func (MsgMintBatchCredits) Route

func (m MsgMintBatchCredits) Route() string

Route implements the LegacyMsg interface.

func (*MsgMintBatchCredits) Size

func (m *MsgMintBatchCredits) Size() (n int)

func (*MsgMintBatchCredits) String

func (m *MsgMintBatchCredits) String() string

func (MsgMintBatchCredits) Type

func (m MsgMintBatchCredits) Type() string

Type implements the LegacyMsg interface.

func (*MsgMintBatchCredits) Unmarshal

func (m *MsgMintBatchCredits) Unmarshal(dAtA []byte) error

func (*MsgMintBatchCredits) ValidateBasic

func (m *MsgMintBatchCredits) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgMintBatchCredits) XXX_DiscardUnknown

func (m *MsgMintBatchCredits) XXX_DiscardUnknown()

func (*MsgMintBatchCredits) XXX_Marshal

func (m *MsgMintBatchCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMintBatchCredits) XXX_Merge

func (m *MsgMintBatchCredits) XXX_Merge(src proto.Message)

func (*MsgMintBatchCredits) XXX_Size

func (m *MsgMintBatchCredits) XXX_Size() int

func (*MsgMintBatchCredits) XXX_Unmarshal

func (m *MsgMintBatchCredits) XXX_Unmarshal(b []byte) error

type MsgMintBatchCreditsResponse

type MsgMintBatchCreditsResponse struct {
}

MsgMintBatchCreditsResponse is the Msg/MintBatchCredits response type.

func (*MsgMintBatchCreditsResponse) Descriptor

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

func (*MsgMintBatchCreditsResponse) Marshal

func (m *MsgMintBatchCreditsResponse) Marshal() (dAtA []byte, err error)

func (*MsgMintBatchCreditsResponse) MarshalTo

func (m *MsgMintBatchCreditsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgMintBatchCreditsResponse) MarshalToSizedBuffer

func (m *MsgMintBatchCreditsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMintBatchCreditsResponse) ProtoMessage

func (*MsgMintBatchCreditsResponse) ProtoMessage()

func (*MsgMintBatchCreditsResponse) Reset

func (m *MsgMintBatchCreditsResponse) Reset()

func (*MsgMintBatchCreditsResponse) Size

func (m *MsgMintBatchCreditsResponse) Size() (n int)

func (*MsgMintBatchCreditsResponse) String

func (m *MsgMintBatchCreditsResponse) String() string

func (*MsgMintBatchCreditsResponse) Unmarshal

func (m *MsgMintBatchCreditsResponse) Unmarshal(dAtA []byte) error

func (*MsgMintBatchCreditsResponse) XXX_DiscardUnknown

func (m *MsgMintBatchCreditsResponse) XXX_DiscardUnknown()

func (*MsgMintBatchCreditsResponse) XXX_Marshal

func (m *MsgMintBatchCreditsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMintBatchCreditsResponse) XXX_Merge

func (m *MsgMintBatchCreditsResponse) XXX_Merge(src proto.Message)

func (*MsgMintBatchCreditsResponse) XXX_Size

func (m *MsgMintBatchCreditsResponse) XXX_Size() int

func (*MsgMintBatchCreditsResponse) XXX_Unmarshal

func (m *MsgMintBatchCreditsResponse) XXX_Unmarshal(b []byte) error

type MsgRemoveAllowedBridgeChain

type MsgRemoveAllowedBridgeChain struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// chain_name is the name of the chain to remove from the list of allowed
	// chains to bridge ecocredits to (i.e. polygon, ethereum, celo).
	ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
}

MsgRemoveAllowedBridgeChain is the Msg/RemoveAllowedBridgeChain request type.

Since Revision 2

func (*MsgRemoveAllowedBridgeChain) Descriptor

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

func (*MsgRemoveAllowedBridgeChain) GetAuthority

func (m *MsgRemoveAllowedBridgeChain) GetAuthority() string

func (*MsgRemoveAllowedBridgeChain) GetChainName

func (m *MsgRemoveAllowedBridgeChain) GetChainName() string

func (MsgRemoveAllowedBridgeChain) GetSignBytes

func (m MsgRemoveAllowedBridgeChain) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgRemoveAllowedBridgeChain) GetSigners

func (m *MsgRemoveAllowedBridgeChain) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgRemoveAllowedBridgeChain.

func (*MsgRemoveAllowedBridgeChain) Marshal

func (m *MsgRemoveAllowedBridgeChain) Marshal() (dAtA []byte, err error)

func (*MsgRemoveAllowedBridgeChain) MarshalTo

func (m *MsgRemoveAllowedBridgeChain) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveAllowedBridgeChain) MarshalToSizedBuffer

func (m *MsgRemoveAllowedBridgeChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveAllowedBridgeChain) ProtoMessage

func (*MsgRemoveAllowedBridgeChain) ProtoMessage()

func (*MsgRemoveAllowedBridgeChain) Reset

func (m *MsgRemoveAllowedBridgeChain) Reset()

func (MsgRemoveAllowedBridgeChain) Route

Route implements the LegacyMsg interface.

func (*MsgRemoveAllowedBridgeChain) Size

func (m *MsgRemoveAllowedBridgeChain) Size() (n int)

func (*MsgRemoveAllowedBridgeChain) String

func (m *MsgRemoveAllowedBridgeChain) String() string

func (MsgRemoveAllowedBridgeChain) Type

Type implements the LegacyMsg interface.

func (*MsgRemoveAllowedBridgeChain) Unmarshal

func (m *MsgRemoveAllowedBridgeChain) Unmarshal(dAtA []byte) error

func (*MsgRemoveAllowedBridgeChain) ValidateBasic

func (m *MsgRemoveAllowedBridgeChain) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgRemoveAllowedBridgeChain) XXX_DiscardUnknown

func (m *MsgRemoveAllowedBridgeChain) XXX_DiscardUnknown()

func (*MsgRemoveAllowedBridgeChain) XXX_Marshal

func (m *MsgRemoveAllowedBridgeChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveAllowedBridgeChain) XXX_Merge

func (m *MsgRemoveAllowedBridgeChain) XXX_Merge(src proto.Message)

func (*MsgRemoveAllowedBridgeChain) XXX_Size

func (m *MsgRemoveAllowedBridgeChain) XXX_Size() int

func (*MsgRemoveAllowedBridgeChain) XXX_Unmarshal

func (m *MsgRemoveAllowedBridgeChain) XXX_Unmarshal(b []byte) error

type MsgRemoveAllowedBridgeChainResponse

type MsgRemoveAllowedBridgeChainResponse struct {
}

MsgRemoveAllowedBridgeChainResponse is the Msg/RemoveAllowedBridgeChain response type.

Since Revision 2

func (*MsgRemoveAllowedBridgeChainResponse) Descriptor

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

func (*MsgRemoveAllowedBridgeChainResponse) Marshal

func (m *MsgRemoveAllowedBridgeChainResponse) Marshal() (dAtA []byte, err error)

func (*MsgRemoveAllowedBridgeChainResponse) MarshalTo

func (m *MsgRemoveAllowedBridgeChainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveAllowedBridgeChainResponse) MarshalToSizedBuffer

func (m *MsgRemoveAllowedBridgeChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveAllowedBridgeChainResponse) ProtoMessage

func (*MsgRemoveAllowedBridgeChainResponse) ProtoMessage()

func (*MsgRemoveAllowedBridgeChainResponse) Reset

func (*MsgRemoveAllowedBridgeChainResponse) Size

func (*MsgRemoveAllowedBridgeChainResponse) String

func (*MsgRemoveAllowedBridgeChainResponse) Unmarshal

func (m *MsgRemoveAllowedBridgeChainResponse) Unmarshal(dAtA []byte) error

func (*MsgRemoveAllowedBridgeChainResponse) XXX_DiscardUnknown

func (m *MsgRemoveAllowedBridgeChainResponse) XXX_DiscardUnknown()

func (*MsgRemoveAllowedBridgeChainResponse) XXX_Marshal

func (m *MsgRemoveAllowedBridgeChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveAllowedBridgeChainResponse) XXX_Merge

func (*MsgRemoveAllowedBridgeChainResponse) XXX_Size

func (*MsgRemoveAllowedBridgeChainResponse) XXX_Unmarshal

func (m *MsgRemoveAllowedBridgeChainResponse) XXX_Unmarshal(b []byte) error

type MsgRemoveClassCreator

type MsgRemoveClassCreator struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// creator is the address to remove from the class creator list.
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
}

MsgRemoveClassCreator is the Msg/RemoveClassCreator request type.

Since Revision 2

func (*MsgRemoveClassCreator) Descriptor

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

func (*MsgRemoveClassCreator) GetAuthority

func (m *MsgRemoveClassCreator) GetAuthority() string

func (*MsgRemoveClassCreator) GetCreator

func (m *MsgRemoveClassCreator) GetCreator() string

func (MsgRemoveClassCreator) GetSignBytes

func (m MsgRemoveClassCreator) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgRemoveClassCreator) GetSigners

func (m *MsgRemoveClassCreator) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgRemoveClassCreator.

func (*MsgRemoveClassCreator) Marshal

func (m *MsgRemoveClassCreator) Marshal() (dAtA []byte, err error)

func (*MsgRemoveClassCreator) MarshalTo

func (m *MsgRemoveClassCreator) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveClassCreator) MarshalToSizedBuffer

func (m *MsgRemoveClassCreator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveClassCreator) ProtoMessage

func (*MsgRemoveClassCreator) ProtoMessage()

func (*MsgRemoveClassCreator) Reset

func (m *MsgRemoveClassCreator) Reset()

func (MsgRemoveClassCreator) Route

func (m MsgRemoveClassCreator) Route() string

Route implements the LegacyMsg interface.

func (*MsgRemoveClassCreator) Size

func (m *MsgRemoveClassCreator) Size() (n int)

func (*MsgRemoveClassCreator) String

func (m *MsgRemoveClassCreator) String() string

func (MsgRemoveClassCreator) Type

func (m MsgRemoveClassCreator) Type() string

Type implements the LegacyMsg interface.

func (*MsgRemoveClassCreator) Unmarshal

func (m *MsgRemoveClassCreator) Unmarshal(dAtA []byte) error

func (*MsgRemoveClassCreator) ValidateBasic

func (m *MsgRemoveClassCreator) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgRemoveClassCreator) XXX_DiscardUnknown

func (m *MsgRemoveClassCreator) XXX_DiscardUnknown()

func (*MsgRemoveClassCreator) XXX_Marshal

func (m *MsgRemoveClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveClassCreator) XXX_Merge

func (m *MsgRemoveClassCreator) XXX_Merge(src proto.Message)

func (*MsgRemoveClassCreator) XXX_Size

func (m *MsgRemoveClassCreator) XXX_Size() int

func (*MsgRemoveClassCreator) XXX_Unmarshal

func (m *MsgRemoveClassCreator) XXX_Unmarshal(b []byte) error

type MsgRemoveClassCreatorResponse

type MsgRemoveClassCreatorResponse struct {
}

MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type.

Since Revision 2

func (*MsgRemoveClassCreatorResponse) Descriptor

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

func (*MsgRemoveClassCreatorResponse) Marshal

func (m *MsgRemoveClassCreatorResponse) Marshal() (dAtA []byte, err error)

func (*MsgRemoveClassCreatorResponse) MarshalTo

func (m *MsgRemoveClassCreatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveClassCreatorResponse) MarshalToSizedBuffer

func (m *MsgRemoveClassCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveClassCreatorResponse) ProtoMessage

func (*MsgRemoveClassCreatorResponse) ProtoMessage()

func (*MsgRemoveClassCreatorResponse) Reset

func (m *MsgRemoveClassCreatorResponse) Reset()

func (*MsgRemoveClassCreatorResponse) Size

func (m *MsgRemoveClassCreatorResponse) Size() (n int)

func (*MsgRemoveClassCreatorResponse) String

func (*MsgRemoveClassCreatorResponse) Unmarshal

func (m *MsgRemoveClassCreatorResponse) Unmarshal(dAtA []byte) error

func (*MsgRemoveClassCreatorResponse) XXX_DiscardUnknown

func (m *MsgRemoveClassCreatorResponse) XXX_DiscardUnknown()

func (*MsgRemoveClassCreatorResponse) XXX_Marshal

func (m *MsgRemoveClassCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveClassCreatorResponse) XXX_Merge

func (m *MsgRemoveClassCreatorResponse) XXX_Merge(src proto.Message)

func (*MsgRemoveClassCreatorResponse) XXX_Size

func (m *MsgRemoveClassCreatorResponse) XXX_Size() int

func (*MsgRemoveClassCreatorResponse) XXX_Unmarshal

func (m *MsgRemoveClassCreatorResponse) XXX_Unmarshal(b []byte) error

type MsgRetire

type MsgRetire struct {
	// owner is the address of the account that owns the credits being retired.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// credits specifies a credit batch and the number of credits being retired.
	Credits []*Credits `protobuf:"bytes,2,rep,name=credits,proto3" json:"credits,omitempty"`
	// jurisdiction is the jurisdiction of the credit owner. A jurisdiction has
	// the format: <country-code>[-<sub-national-code>[ <postal-code>]]
	// The country-code must be 2 alphabetic characters, the sub-national-code
	// can be 1-3 alphanumeric characters, and the postal-code can be up to 64
	// alphanumeric characters. Only the country-code is required, while the
	// sub-national-code and postal-code are optional and can be added for
	// increased precision.
	Jurisdiction string `protobuf:"bytes,3,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"`
	// reason is any arbitrary string that specifies the reason for retiring
	// credits.
	//
	// Since Revision 2
	Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
}

MsgRetire is the Msg/Retire request type.

func (*MsgRetire) Descriptor

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

func (*MsgRetire) GetCredits

func (m *MsgRetire) GetCredits() []*Credits

func (*MsgRetire) GetJurisdiction

func (m *MsgRetire) GetJurisdiction() string

func (*MsgRetire) GetOwner

func (m *MsgRetire) GetOwner() string

func (*MsgRetire) GetReason

func (m *MsgRetire) GetReason() string

func (MsgRetire) GetSignBytes

func (m MsgRetire) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgRetire) GetSigners

func (m *MsgRetire) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgRetire.

func (*MsgRetire) Marshal

func (m *MsgRetire) Marshal() (dAtA []byte, err error)

func (*MsgRetire) MarshalTo

func (m *MsgRetire) MarshalTo(dAtA []byte) (int, error)

func (*MsgRetire) MarshalToSizedBuffer

func (m *MsgRetire) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRetire) ProtoMessage

func (*MsgRetire) ProtoMessage()

func (*MsgRetire) Reset

func (m *MsgRetire) Reset()

func (MsgRetire) Route

func (m MsgRetire) Route() string

Route implements the LegacyMsg interface.

func (*MsgRetire) Size

func (m *MsgRetire) Size() (n int)

func (*MsgRetire) String

func (m *MsgRetire) String() string

func (MsgRetire) Type

func (m MsgRetire) Type() string

Type implements the LegacyMsg interface.

func (*MsgRetire) Unmarshal

func (m *MsgRetire) Unmarshal(dAtA []byte) error

func (*MsgRetire) ValidateBasic

func (m *MsgRetire) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgRetire) XXX_DiscardUnknown

func (m *MsgRetire) XXX_DiscardUnknown()

func (*MsgRetire) XXX_Marshal

func (m *MsgRetire) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRetire) XXX_Merge

func (m *MsgRetire) XXX_Merge(src proto.Message)

func (*MsgRetire) XXX_Size

func (m *MsgRetire) XXX_Size() int

func (*MsgRetire) XXX_Unmarshal

func (m *MsgRetire) XXX_Unmarshal(b []byte) error

type MsgRetireResponse

type MsgRetireResponse struct {
}

MsgRetire is the Msg/Retire response type.

func (*MsgRetireResponse) Descriptor

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

func (*MsgRetireResponse) Marshal

func (m *MsgRetireResponse) Marshal() (dAtA []byte, err error)

func (*MsgRetireResponse) MarshalTo

func (m *MsgRetireResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRetireResponse) MarshalToSizedBuffer

func (m *MsgRetireResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRetireResponse) ProtoMessage

func (*MsgRetireResponse) ProtoMessage()

func (*MsgRetireResponse) Reset

func (m *MsgRetireResponse) Reset()

func (*MsgRetireResponse) Size

func (m *MsgRetireResponse) Size() (n int)

func (*MsgRetireResponse) String

func (m *MsgRetireResponse) String() string

func (*MsgRetireResponse) Unmarshal

func (m *MsgRetireResponse) Unmarshal(dAtA []byte) error

func (*MsgRetireResponse) XXX_DiscardUnknown

func (m *MsgRetireResponse) XXX_DiscardUnknown()

func (*MsgRetireResponse) XXX_Marshal

func (m *MsgRetireResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRetireResponse) XXX_Merge

func (m *MsgRetireResponse) XXX_Merge(src proto.Message)

func (*MsgRetireResponse) XXX_Size

func (m *MsgRetireResponse) XXX_Size() int

func (*MsgRetireResponse) XXX_Unmarshal

func (m *MsgRetireResponse) XXX_Unmarshal(b []byte) error

type MsgSealBatch

type MsgSealBatch struct {
	// issuer is the address of the account that created the credit batch and the
	// only account with permissions to seal the credit batch.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// batch_denom is the unique identifier of the credit batch.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
}

MsgSealBatch is the Msg/MintBatchCredits request type.

func (*MsgSealBatch) Descriptor

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

func (*MsgSealBatch) GetBatchDenom

func (m *MsgSealBatch) GetBatchDenom() string

func (*MsgSealBatch) GetIssuer

func (m *MsgSealBatch) GetIssuer() string

func (MsgSealBatch) GetSignBytes

func (m MsgSealBatch) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgSealBatch) GetSigners

func (m *MsgSealBatch) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgSealBatch.

func (*MsgSealBatch) Marshal

func (m *MsgSealBatch) Marshal() (dAtA []byte, err error)

func (*MsgSealBatch) MarshalTo

func (m *MsgSealBatch) MarshalTo(dAtA []byte) (int, error)

func (*MsgSealBatch) MarshalToSizedBuffer

func (m *MsgSealBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSealBatch) ProtoMessage

func (*MsgSealBatch) ProtoMessage()

func (*MsgSealBatch) Reset

func (m *MsgSealBatch) Reset()

func (MsgSealBatch) Route

func (m MsgSealBatch) Route() string

Route implements the LegacyMsg interface.

func (*MsgSealBatch) Size

func (m *MsgSealBatch) Size() (n int)

func (*MsgSealBatch) String

func (m *MsgSealBatch) String() string

func (MsgSealBatch) Type

func (m MsgSealBatch) Type() string

Type implements the LegacyMsg interface. x

func (*MsgSealBatch) Unmarshal

func (m *MsgSealBatch) Unmarshal(dAtA []byte) error

func (*MsgSealBatch) ValidateBasic

func (m *MsgSealBatch) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgSealBatch) XXX_DiscardUnknown

func (m *MsgSealBatch) XXX_DiscardUnknown()

func (*MsgSealBatch) XXX_Marshal

func (m *MsgSealBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSealBatch) XXX_Merge

func (m *MsgSealBatch) XXX_Merge(src proto.Message)

func (*MsgSealBatch) XXX_Size

func (m *MsgSealBatch) XXX_Size() int

func (*MsgSealBatch) XXX_Unmarshal

func (m *MsgSealBatch) XXX_Unmarshal(b []byte) error

type MsgSealBatchResponse

type MsgSealBatchResponse struct {
}

MsgSealBatchResponse is the Msg/SealBatch response type.

func (*MsgSealBatchResponse) Descriptor

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

func (*MsgSealBatchResponse) Marshal

func (m *MsgSealBatchResponse) Marshal() (dAtA []byte, err error)

func (*MsgSealBatchResponse) MarshalTo

func (m *MsgSealBatchResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSealBatchResponse) MarshalToSizedBuffer

func (m *MsgSealBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSealBatchResponse) ProtoMessage

func (*MsgSealBatchResponse) ProtoMessage()

func (*MsgSealBatchResponse) Reset

func (m *MsgSealBatchResponse) Reset()

func (*MsgSealBatchResponse) Size

func (m *MsgSealBatchResponse) Size() (n int)

func (*MsgSealBatchResponse) String

func (m *MsgSealBatchResponse) String() string

func (*MsgSealBatchResponse) Unmarshal

func (m *MsgSealBatchResponse) Unmarshal(dAtA []byte) error

func (*MsgSealBatchResponse) XXX_DiscardUnknown

func (m *MsgSealBatchResponse) XXX_DiscardUnknown()

func (*MsgSealBatchResponse) XXX_Marshal

func (m *MsgSealBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSealBatchResponse) XXX_Merge

func (m *MsgSealBatchResponse) XXX_Merge(src proto.Message)

func (*MsgSealBatchResponse) XXX_Size

func (m *MsgSealBatchResponse) XXX_Size() int

func (*MsgSealBatchResponse) XXX_Unmarshal

func (m *MsgSealBatchResponse) XXX_Unmarshal(b []byte) error

type MsgSend

type MsgSend struct {
	// sender is the address of the account sending credits.
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// recipient is the address of the account receiving credits.
	Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// credits are the credits being sent to the recipient.
	Credits []*MsgSend_SendCredits `protobuf:"bytes,3,rep,name=credits,proto3" json:"credits,omitempty"`
}

MsgSend is the Msg/Send request type.

func (*MsgSend) Descriptor

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

func (*MsgSend) GetCredits

func (m *MsgSend) GetCredits() []*MsgSend_SendCredits

func (*MsgSend) GetRecipient

func (m *MsgSend) GetRecipient() string

func (*MsgSend) GetSender

func (m *MsgSend) GetSender() string

func (MsgSend) GetSignBytes

func (m MsgSend) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgSend) GetSigners

func (m *MsgSend) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgSend.

func (*MsgSend) Marshal

func (m *MsgSend) Marshal() (dAtA []byte, err error)

func (*MsgSend) MarshalTo

func (m *MsgSend) MarshalTo(dAtA []byte) (int, error)

func (*MsgSend) MarshalToSizedBuffer

func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSend) ProtoMessage

func (*MsgSend) ProtoMessage()

func (*MsgSend) Reset

func (m *MsgSend) Reset()

func (MsgSend) Route

func (m MsgSend) Route() string

Route implements the LegacyMsg interface.

func (*MsgSend) Size

func (m *MsgSend) Size() (n int)

func (*MsgSend) String

func (m *MsgSend) String() string

func (MsgSend) Type

func (m MsgSend) Type() string

Type implements the LegacyMsg interface.

func (*MsgSend) Unmarshal

func (m *MsgSend) Unmarshal(dAtA []byte) error

func (*MsgSend) ValidateBasic

func (m *MsgSend) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgSend) XXX_DiscardUnknown

func (m *MsgSend) XXX_DiscardUnknown()

func (*MsgSend) XXX_Marshal

func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSend) XXX_Merge

func (m *MsgSend) XXX_Merge(src proto.Message)

func (*MsgSend) XXX_Size

func (m *MsgSend) XXX_Size() int

func (*MsgSend) XXX_Unmarshal

func (m *MsgSend) XXX_Unmarshal(b []byte) error

type MsgSendResponse

type MsgSendResponse struct {
}

MsgSendResponse is the Msg/Send response type.

func (*MsgSendResponse) Descriptor

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

func (*MsgSendResponse) Marshal

func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)

func (*MsgSendResponse) MarshalTo

func (m *MsgSendResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSendResponse) MarshalToSizedBuffer

func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSendResponse) ProtoMessage

func (*MsgSendResponse) ProtoMessage()

func (*MsgSendResponse) Reset

func (m *MsgSendResponse) Reset()

func (*MsgSendResponse) Size

func (m *MsgSendResponse) Size() (n int)

func (*MsgSendResponse) String

func (m *MsgSendResponse) String() string

func (*MsgSendResponse) Unmarshal

func (m *MsgSendResponse) Unmarshal(dAtA []byte) error

func (*MsgSendResponse) XXX_DiscardUnknown

func (m *MsgSendResponse) XXX_DiscardUnknown()

func (*MsgSendResponse) XXX_Marshal

func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSendResponse) XXX_Merge

func (m *MsgSendResponse) XXX_Merge(src proto.Message)

func (*MsgSendResponse) XXX_Size

func (m *MsgSendResponse) XXX_Size() int

func (*MsgSendResponse) XXX_Unmarshal

func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error

type MsgSend_SendCredits

type MsgSend_SendCredits struct {
	// batch_denom is the unique identifier of the credit batch.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// tradable_amount is the amount of credits in this transfer that can be
	// traded by the recipient. The number of decimal places must be less than
	// or equal to the credit type precision.
	TradableAmount string `protobuf:"bytes,2,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"`
	// retired_amount is the amount of credits in this transfer that are retired
	// upon receipt. The number of decimal places must be less than or equal to
	// the credit type precision.
	RetiredAmount string `protobuf:"bytes,3,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"`
	// retirement_jurisdiction is the jurisdiction of the recipient and is only
	// required if retired_amount is positive. A jurisdiction has the format:
	// <country-code>[-<sub-national-code>[ <postal-code>]]
	// The country-code and sub-national-code must conform to ISO 3166-2 and the
	// postal-code can be up to 64 alphanumeric characters. Only the
	// country-code is required, while the sub-national-code and postal-code are
	// optional and can be added for increased precision.
	RetirementJurisdiction string `` /* 127-byte string literal not displayed */
	// retirement_reason is any arbitrary string that specifies the reason for
	// retiring credits. This field is only required if retired_amount is
	// positive.
	//
	// Since Revision 2
	RetirementReason string `protobuf:"bytes,5,opt,name=retirement_reason,json=retirementReason,proto3" json:"retirement_reason,omitempty"`
}

SendCredits specifies the amount of tradable and retired credits of a credit batch that will be sent to the recipient and the jurisdiction in which the credits will be retired upon receipt.

func (*MsgSend_SendCredits) Descriptor

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

func (*MsgSend_SendCredits) GetBatchDenom

func (m *MsgSend_SendCredits) GetBatchDenom() string

func (*MsgSend_SendCredits) GetRetiredAmount

func (m *MsgSend_SendCredits) GetRetiredAmount() string

func (*MsgSend_SendCredits) GetRetirementJurisdiction

func (m *MsgSend_SendCredits) GetRetirementJurisdiction() string

func (*MsgSend_SendCredits) GetRetirementReason

func (m *MsgSend_SendCredits) GetRetirementReason() string

func (*MsgSend_SendCredits) GetTradableAmount

func (m *MsgSend_SendCredits) GetTradableAmount() string

func (*MsgSend_SendCredits) Marshal

func (m *MsgSend_SendCredits) Marshal() (dAtA []byte, err error)

func (*MsgSend_SendCredits) MarshalTo

func (m *MsgSend_SendCredits) MarshalTo(dAtA []byte) (int, error)

func (*MsgSend_SendCredits) MarshalToSizedBuffer

func (m *MsgSend_SendCredits) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSend_SendCredits) ProtoMessage

func (*MsgSend_SendCredits) ProtoMessage()

func (*MsgSend_SendCredits) Reset

func (m *MsgSend_SendCredits) Reset()

func (*MsgSend_SendCredits) Size

func (m *MsgSend_SendCredits) Size() (n int)

func (*MsgSend_SendCredits) String

func (m *MsgSend_SendCredits) String() string

func (*MsgSend_SendCredits) Unmarshal

func (m *MsgSend_SendCredits) Unmarshal(dAtA []byte) error

func (*MsgSend_SendCredits) XXX_DiscardUnknown

func (m *MsgSend_SendCredits) XXX_DiscardUnknown()

func (*MsgSend_SendCredits) XXX_Marshal

func (m *MsgSend_SendCredits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSend_SendCredits) XXX_Merge

func (m *MsgSend_SendCredits) XXX_Merge(src proto.Message)

func (*MsgSend_SendCredits) XXX_Size

func (m *MsgSend_SendCredits) XXX_Size() int

func (*MsgSend_SendCredits) XXX_Unmarshal

func (m *MsgSend_SendCredits) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// CreateClass creates a new credit class under the given credit type with an
	// approved list of issuers and optional metadata. If the class fee parameter
	// is set, the fee field must be populated with equal value. A greater fee can
	// be provided, however, the creator will only be charged the amount specified
	// in the fee parameter. The creator of the credit class becomes the admin of
	// the credit class upon creation.
	CreateClass(context.Context, *MsgCreateClass) (*MsgCreateClassResponse, error)
	// CreateProject creates a new project under the given credit class with a
	// jurisdiction, optional metadata, and an optional reference ID. The creator
	// of the project must be an approved credit class issuer for the given credit
	// class. The creator becomes the admin of the project upon creation.
	CreateProject(context.Context, *MsgCreateProject) (*MsgCreateProjectResponse, error)
	// CreateBatch creates a new batch of credits under the given project with a
	// start and end date representing the monitoring period, a list of credits to
	// be issued with each issuance specifying a recipient, the amount of tradable
	// and retired credits, and the retirement jurisdiction (if credits are to be
	// retired upon receipt), and optional metadata. The credit batch creator must
	// be listed as an approved issuer within the credit class of the project that
	// the credits are being issued under.
	//
	// The default behavior is for a new credit batch to be "sealed" as opposed to
	// being "open". When a credit batch is "open", new credits can be dynamically
	// minted to the credit batch following the creation of the credit batch. This
	// "open" option should only be set to true when bridging credits from another
	// chain or registry as a result of a bridge operation and is not intended for
	// native credit issuance.
	CreateBatch(context.Context, *MsgCreateBatch) (*MsgCreateBatchResponse, error)
	// MintBatchCredits dynamically mints credits to an "open" credit batch. This
	// feature is only meant to be used when bridging credits from another chain
	// or registry and is not intended for native credit issuance. When bridging
	// credits from the same vintage (or monitoring period) as an existing credit
	// batch, the credits can be dynamically minted to the existing credit batch
	// if the credit batch is "open".
	MintBatchCredits(context.Context, *MsgMintBatchCredits) (*MsgMintBatchCreditsResponse, error)
	// MsgSealBatch seals an "open" credit batch. Once a credit batch is sealed
	// (i.e. once "open" is set to false), credits can no longer be dynamically
	// minted to the credit batch. A sealed credit batch cannot be unsealed and
	// only the credit batch issuer can seal a credit batch.
	SealBatch(context.Context, *MsgSealBatch) (*MsgSealBatchResponse, error)
	// Send sends a specified amount of tradable credits from the credit owner's
	// account to another account. Sent credits can either remain tradable or be
	// retired upon receipt.
	Send(context.Context, *MsgSend) (*MsgSendResponse, error)
	// Retire retires a specified amount of tradable credits, removing the amount
	// from the credit owner's tradable balance and adding it to their retired
	// balance. Retiring credits is permanent and implies the credits are being
	// consumed as a offset.
	Retire(context.Context, *MsgRetire) (*MsgRetireResponse, error)
	// Cancel cancels a specified amount of tradable credits, removing the amount
	// from the credit owner's tradable balance and removing the amount from the
	// credit batch's tradable supply. Cancelling credits is permanent and implies
	// the credits have been moved to another chain or registry.
	Cancel(context.Context, *MsgCancel) (*MsgCancelResponse, error)
	// UpdateClassAdmin updates the credit class admin. Only the admin of the
	// credit class can update the credit class.
	UpdateClassAdmin(context.Context, *MsgUpdateClassAdmin) (*MsgUpdateClassAdminResponse, error)
	// UpdateClassIssuers updates the credit class issuer list. Only the admin of
	// the credit class can update the credit class.
	UpdateClassIssuers(context.Context, *MsgUpdateClassIssuers) (*MsgUpdateClassIssuersResponse, error)
	// UpdateClassMetadata updates the credit class metadata. Only the admin of
	// the credit class can update the credit class.
	UpdateClassMetadata(context.Context, *MsgUpdateClassMetadata) (*MsgUpdateClassMetadataResponse, error)
	// UpdateProjectAdmin updates the project admin address. Only the admin of the
	// project can update the project.
	UpdateProjectAdmin(context.Context, *MsgUpdateProjectAdmin) (*MsgUpdateProjectAdminResponse, error)
	// UpdateProjectMetadata updates the project metadata. Only the admin of the
	// project can update the project.
	UpdateProjectMetadata(context.Context, *MsgUpdateProjectMetadata) (*MsgUpdateProjectMetadataResponse, error)
	// UpdateBatchMetadata updates the batch metadata. Only an "open" batch can be
	// updated and only the issuer of the batch can update the batch.
	//
	// Since Revision 2
	UpdateBatchMetadata(context.Context, *MsgUpdateBatchMetadata) (*MsgUpdateBatchMetadataResponse, error)
	// Bridge processes credits being sent back to the source chain. When credits
	// are sent back to the source chain, the credits are cancelled and an event
	// is emitted to be handled by an external bridge service.
	Bridge(context.Context, *MsgBridge) (*MsgBridgeResponse, error)
	// BridgeReceive processes credits being sent from another chain. When the
	// credits are sent from the same vintage as an existing credit batch within
	// the scope of the provided credit class, the credits will be minted to the
	// existing credit batch, otherwise the credits will be issued in a new credit
	// batch. The new credit batch will be created under an existing project if a
	// project with a matching reference id already exists within the scope of the
	// credit class, otherwise a new project will be created.
	BridgeReceive(context.Context, *MsgBridgeReceive) (*MsgBridgeReceiveResponse, error)
	// AddCreditType is a governance method that allows the addition of new
	// credit types to the network.
	//
	// Since Revision 2
	AddCreditType(context.Context, *MsgAddCreditType) (*MsgAddCreditTypeResponse, error)
	// SetClassCreatorAllowlist is a governance method that updates the class
	// creator allowlist enabled setting. When enabled, only addresses listed in
	// the allowlist can create credit classes. When disabled, any address can
	// create credit classes.
	//
	// Since Revision 2
	SetClassCreatorAllowlist(context.Context, *MsgSetClassCreatorAllowlist) (*MsgSetClassCreatorAllowlistResponse, error)
	// AddClassCreator is a governance method that allows the addition of a new
	// address to the class creation allowlist.
	//
	// Since Revision 2
	AddClassCreator(context.Context, *MsgAddClassCreator) (*MsgAddClassCreatorResponse, error)
	// RemoveClassCreator is a governance method that removes an
	// address from the class creation allowlist.
	//
	// Since Revision 2
	RemoveClassCreator(context.Context, *MsgRemoveClassCreator) (*MsgRemoveClassCreatorResponse, error)
	// UpdateClassFee is a governance method that allows for updating the credit
	// class creation fee. If no fee is specified in the request, the credit
	// class creation fee will be removed and no fee will be required to create
	// a credit class.
	//
	// Since Revision 2
	UpdateClassFee(context.Context, *MsgUpdateClassFee) (*MsgUpdateClassFeeResponse, error)
	// AddAllowedBridgeChain is a governance method that allows for the
	// addition of a chain to bridge ecocredits to.
	//
	// Since Revision 2
	AddAllowedBridgeChain(context.Context, *MsgAddAllowedBridgeChain) (*MsgAddAllowedBridgeChainResponse, error)
	// RemoveAllowedBridgeChain is a governance method that allows for the
	// removal of a chain to bridge ecocredits to.
	//
	// Since Revision 2
	RemoveAllowedBridgeChain(context.Context, *MsgRemoveAllowedBridgeChain) (*MsgRemoveAllowedBridgeChainResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetClassCreatorAllowlist

type MsgSetClassCreatorAllowlist struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// enabled defines the boolean value to set the allowlist on or off.
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

MsgSetClassCreatorAllowlist is the Msg/SetClassCreatorAllowlist request type.

Since Revision 2

func (*MsgSetClassCreatorAllowlist) Descriptor

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

func (*MsgSetClassCreatorAllowlist) GetAuthority

func (m *MsgSetClassCreatorAllowlist) GetAuthority() string

func (*MsgSetClassCreatorAllowlist) GetEnabled

func (m *MsgSetClassCreatorAllowlist) GetEnabled() bool

func (MsgSetClassCreatorAllowlist) GetSignBytes

func (m MsgSetClassCreatorAllowlist) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgSetClassCreatorAllowlist) GetSigners

func (m *MsgSetClassCreatorAllowlist) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgSetClassCreatorAllowlist.

func (*MsgSetClassCreatorAllowlist) Marshal

func (m *MsgSetClassCreatorAllowlist) Marshal() (dAtA []byte, err error)

func (*MsgSetClassCreatorAllowlist) MarshalTo

func (m *MsgSetClassCreatorAllowlist) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetClassCreatorAllowlist) MarshalToSizedBuffer

func (m *MsgSetClassCreatorAllowlist) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetClassCreatorAllowlist) ProtoMessage

func (*MsgSetClassCreatorAllowlist) ProtoMessage()

func (*MsgSetClassCreatorAllowlist) Reset

func (m *MsgSetClassCreatorAllowlist) Reset()

func (MsgSetClassCreatorAllowlist) Route

Route implements the LegacyMsg interface.

func (*MsgSetClassCreatorAllowlist) Size

func (m *MsgSetClassCreatorAllowlist) Size() (n int)

func (*MsgSetClassCreatorAllowlist) String

func (m *MsgSetClassCreatorAllowlist) String() string

func (MsgSetClassCreatorAllowlist) Type

Type implements the LegacyMsg interface.

func (*MsgSetClassCreatorAllowlist) Unmarshal

func (m *MsgSetClassCreatorAllowlist) Unmarshal(dAtA []byte) error

func (*MsgSetClassCreatorAllowlist) ValidateBasic

func (m *MsgSetClassCreatorAllowlist) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgSetClassCreatorAllowlist) XXX_DiscardUnknown

func (m *MsgSetClassCreatorAllowlist) XXX_DiscardUnknown()

func (*MsgSetClassCreatorAllowlist) XXX_Marshal

func (m *MsgSetClassCreatorAllowlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetClassCreatorAllowlist) XXX_Merge

func (m *MsgSetClassCreatorAllowlist) XXX_Merge(src proto.Message)

func (*MsgSetClassCreatorAllowlist) XXX_Size

func (m *MsgSetClassCreatorAllowlist) XXX_Size() int

func (*MsgSetClassCreatorAllowlist) XXX_Unmarshal

func (m *MsgSetClassCreatorAllowlist) XXX_Unmarshal(b []byte) error

type MsgSetClassCreatorAllowlistResponse

type MsgSetClassCreatorAllowlistResponse struct {
}

MsgSetClassCreatorAllowlistResponse is the Msg/SetClassCreatorAllowlist response type.

Since Revision 2

func (*MsgSetClassCreatorAllowlistResponse) Descriptor

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

func (*MsgSetClassCreatorAllowlistResponse) Marshal

func (m *MsgSetClassCreatorAllowlistResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetClassCreatorAllowlistResponse) MarshalTo

func (m *MsgSetClassCreatorAllowlistResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetClassCreatorAllowlistResponse) MarshalToSizedBuffer

func (m *MsgSetClassCreatorAllowlistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetClassCreatorAllowlistResponse) ProtoMessage

func (*MsgSetClassCreatorAllowlistResponse) ProtoMessage()

func (*MsgSetClassCreatorAllowlistResponse) Reset

func (*MsgSetClassCreatorAllowlistResponse) Size

func (*MsgSetClassCreatorAllowlistResponse) String

func (*MsgSetClassCreatorAllowlistResponse) Unmarshal

func (m *MsgSetClassCreatorAllowlistResponse) Unmarshal(dAtA []byte) error

func (*MsgSetClassCreatorAllowlistResponse) XXX_DiscardUnknown

func (m *MsgSetClassCreatorAllowlistResponse) XXX_DiscardUnknown()

func (*MsgSetClassCreatorAllowlistResponse) XXX_Marshal

func (m *MsgSetClassCreatorAllowlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetClassCreatorAllowlistResponse) XXX_Merge

func (*MsgSetClassCreatorAllowlistResponse) XXX_Size

func (*MsgSetClassCreatorAllowlistResponse) XXX_Unmarshal

func (m *MsgSetClassCreatorAllowlistResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateBatchMetadata

type MsgUpdateBatchMetadata struct {
	// issuer is the address of the account that is the issuer of the batch.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// batch_denom is the unique identifier of the batch.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// new_metadata is new metadata that will replace the existing metadata. It
	// can be any arbitrary string with a maximum length of 256 characters that
	// includes or references the metadata to attach to the batch.
	NewMetadata string `protobuf:"bytes,3,opt,name=new_metadata,json=newMetadata,proto3" json:"new_metadata,omitempty"`
}

MsgUpdateBatchMetadata is the Msg/UpdateBatchMetadata request type.

Since Revision 2

func (*MsgUpdateBatchMetadata) Descriptor

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

func (*MsgUpdateBatchMetadata) GetBatchDenom

func (m *MsgUpdateBatchMetadata) GetBatchDenom() string

func (*MsgUpdateBatchMetadata) GetIssuer

func (m *MsgUpdateBatchMetadata) GetIssuer() string

func (*MsgUpdateBatchMetadata) GetNewMetadata

func (m *MsgUpdateBatchMetadata) GetNewMetadata() string

func (MsgUpdateBatchMetadata) GetSignBytes

func (m MsgUpdateBatchMetadata) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateBatchMetadata) GetSigners

func (m *MsgUpdateBatchMetadata) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for the message.

func (*MsgUpdateBatchMetadata) Marshal

func (m *MsgUpdateBatchMetadata) Marshal() (dAtA []byte, err error)

func (*MsgUpdateBatchMetadata) MarshalTo

func (m *MsgUpdateBatchMetadata) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateBatchMetadata) MarshalToSizedBuffer

func (m *MsgUpdateBatchMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateBatchMetadata) ProtoMessage

func (*MsgUpdateBatchMetadata) ProtoMessage()

func (*MsgUpdateBatchMetadata) Reset

func (m *MsgUpdateBatchMetadata) Reset()

func (MsgUpdateBatchMetadata) Route

func (m MsgUpdateBatchMetadata) Route() string

Route implements the LegacyMsg interface.

func (*MsgUpdateBatchMetadata) Size

func (m *MsgUpdateBatchMetadata) Size() (n int)

func (*MsgUpdateBatchMetadata) String

func (m *MsgUpdateBatchMetadata) String() string

func (MsgUpdateBatchMetadata) Type

func (m MsgUpdateBatchMetadata) Type() string

Type implements the LegacyMsg interface.

func (*MsgUpdateBatchMetadata) Unmarshal

func (m *MsgUpdateBatchMetadata) Unmarshal(dAtA []byte) error

func (*MsgUpdateBatchMetadata) ValidateBasic

func (m *MsgUpdateBatchMetadata) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateBatchMetadata) XXX_DiscardUnknown

func (m *MsgUpdateBatchMetadata) XXX_DiscardUnknown()

func (*MsgUpdateBatchMetadata) XXX_Marshal

func (m *MsgUpdateBatchMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateBatchMetadata) XXX_Merge

func (m *MsgUpdateBatchMetadata) XXX_Merge(src proto.Message)

func (*MsgUpdateBatchMetadata) XXX_Size

func (m *MsgUpdateBatchMetadata) XXX_Size() int

func (*MsgUpdateBatchMetadata) XXX_Unmarshal

func (m *MsgUpdateBatchMetadata) XXX_Unmarshal(b []byte) error

type MsgUpdateBatchMetadataResponse

type MsgUpdateBatchMetadataResponse struct {
}

MsgUpdateBatchMetadataResponse is the Msg/UpdateBatchMetadataResponse response type.

Since Revision 2

func (*MsgUpdateBatchMetadataResponse) Descriptor

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

func (*MsgUpdateBatchMetadataResponse) Marshal

func (m *MsgUpdateBatchMetadataResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateBatchMetadataResponse) MarshalTo

func (m *MsgUpdateBatchMetadataResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateBatchMetadataResponse) MarshalToSizedBuffer

func (m *MsgUpdateBatchMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateBatchMetadataResponse) ProtoMessage

func (*MsgUpdateBatchMetadataResponse) ProtoMessage()

func (*MsgUpdateBatchMetadataResponse) Reset

func (m *MsgUpdateBatchMetadataResponse) Reset()

func (*MsgUpdateBatchMetadataResponse) Size

func (m *MsgUpdateBatchMetadataResponse) Size() (n int)

func (*MsgUpdateBatchMetadataResponse) String

func (*MsgUpdateBatchMetadataResponse) Unmarshal

func (m *MsgUpdateBatchMetadataResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateBatchMetadataResponse) XXX_DiscardUnknown

func (m *MsgUpdateBatchMetadataResponse) XXX_DiscardUnknown()

func (*MsgUpdateBatchMetadataResponse) XXX_Marshal

func (m *MsgUpdateBatchMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateBatchMetadataResponse) XXX_Merge

func (m *MsgUpdateBatchMetadataResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateBatchMetadataResponse) XXX_Size

func (m *MsgUpdateBatchMetadataResponse) XXX_Size() int

func (*MsgUpdateBatchMetadataResponse) XXX_Unmarshal

func (m *MsgUpdateBatchMetadataResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateClassAdmin

type MsgUpdateClassAdmin struct {
	// admin is the address of the account that is currently the admin of the
	// credit class.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// class_id is the unique identifier of the credit class.
	ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// new_admin is the address of the account that will become the new admin of
	// the credit class.
	NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"`
}

MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type.

func (*MsgUpdateClassAdmin) Descriptor

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

func (*MsgUpdateClassAdmin) GetAdmin

func (m *MsgUpdateClassAdmin) GetAdmin() string

func (*MsgUpdateClassAdmin) GetClassId

func (m *MsgUpdateClassAdmin) GetClassId() string

func (*MsgUpdateClassAdmin) GetNewAdmin

func (m *MsgUpdateClassAdmin) GetNewAdmin() string

func (MsgUpdateClassAdmin) GetSignBytes

func (m MsgUpdateClassAdmin) GetSignBytes() []byte

func (*MsgUpdateClassAdmin) GetSigners

func (m *MsgUpdateClassAdmin) GetSigners() []sdk.AccAddress

func (*MsgUpdateClassAdmin) Marshal

func (m *MsgUpdateClassAdmin) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClassAdmin) MarshalTo

func (m *MsgUpdateClassAdmin) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateClassAdmin) MarshalToSizedBuffer

func (m *MsgUpdateClassAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateClassAdmin) ProtoMessage

func (*MsgUpdateClassAdmin) ProtoMessage()

func (*MsgUpdateClassAdmin) Reset

func (m *MsgUpdateClassAdmin) Reset()

func (MsgUpdateClassAdmin) Route

func (m MsgUpdateClassAdmin) Route() string

func (*MsgUpdateClassAdmin) Size

func (m *MsgUpdateClassAdmin) Size() (n int)

func (*MsgUpdateClassAdmin) String

func (m *MsgUpdateClassAdmin) String() string

func (MsgUpdateClassAdmin) Type

func (m MsgUpdateClassAdmin) Type() string

func (*MsgUpdateClassAdmin) Unmarshal

func (m *MsgUpdateClassAdmin) Unmarshal(dAtA []byte) error

func (*MsgUpdateClassAdmin) ValidateBasic

func (m *MsgUpdateClassAdmin) ValidateBasic() error

func (*MsgUpdateClassAdmin) XXX_DiscardUnknown

func (m *MsgUpdateClassAdmin) XXX_DiscardUnknown()

func (*MsgUpdateClassAdmin) XXX_Marshal

func (m *MsgUpdateClassAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateClassAdmin) XXX_Merge

func (m *MsgUpdateClassAdmin) XXX_Merge(src proto.Message)

func (*MsgUpdateClassAdmin) XXX_Size

func (m *MsgUpdateClassAdmin) XXX_Size() int

func (*MsgUpdateClassAdmin) XXX_Unmarshal

func (m *MsgUpdateClassAdmin) XXX_Unmarshal(b []byte) error

type MsgUpdateClassAdminResponse

type MsgUpdateClassAdminResponse struct {
}

MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type.

func (*MsgUpdateClassAdminResponse) Descriptor

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

func (*MsgUpdateClassAdminResponse) Marshal

func (m *MsgUpdateClassAdminResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClassAdminResponse) MarshalTo

func (m *MsgUpdateClassAdminResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateClassAdminResponse) MarshalToSizedBuffer

func (m *MsgUpdateClassAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateClassAdminResponse) ProtoMessage

func (*MsgUpdateClassAdminResponse) ProtoMessage()

func (*MsgUpdateClassAdminResponse) Reset

func (m *MsgUpdateClassAdminResponse) Reset()

func (*MsgUpdateClassAdminResponse) Size

func (m *MsgUpdateClassAdminResponse) Size() (n int)

func (*MsgUpdateClassAdminResponse) String

func (m *MsgUpdateClassAdminResponse) String() string

func (*MsgUpdateClassAdminResponse) Unmarshal

func (m *MsgUpdateClassAdminResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateClassAdminResponse) XXX_DiscardUnknown

func (m *MsgUpdateClassAdminResponse) XXX_DiscardUnknown()

func (*MsgUpdateClassAdminResponse) XXX_Marshal

func (m *MsgUpdateClassAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateClassAdminResponse) XXX_Merge

func (m *MsgUpdateClassAdminResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateClassAdminResponse) XXX_Size

func (m *MsgUpdateClassAdminResponse) XXX_Size() int

func (*MsgUpdateClassAdminResponse) XXX_Unmarshal

func (m *MsgUpdateClassAdminResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateClassFee

type MsgUpdateClassFee struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// fee is the credit class creation fee. If not set, the credit class creation
	// fee will be removed and no fee will be required to create a credit class.
	Fee *types.Coin `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
}

MsgUpdateClassFee is the Msg/UpdateClassFee request type.

Since Revision 2

func (*MsgUpdateClassFee) Descriptor

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

func (*MsgUpdateClassFee) GetAuthority

func (m *MsgUpdateClassFee) GetAuthority() string

func (*MsgUpdateClassFee) GetFee

func (m *MsgUpdateClassFee) GetFee() *types.Coin

func (MsgUpdateClassFee) GetSignBytes

func (m MsgUpdateClassFee) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateClassFee) GetSigners

func (m *MsgUpdateClassFee) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for MsgUpdateClassFee.

func (*MsgUpdateClassFee) Marshal

func (m *MsgUpdateClassFee) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClassFee) MarshalTo

func (m *MsgUpdateClassFee) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateClassFee) MarshalToSizedBuffer

func (m *MsgUpdateClassFee) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateClassFee) ProtoMessage

func (*MsgUpdateClassFee) ProtoMessage()

func (*MsgUpdateClassFee) Reset

func (m *MsgUpdateClassFee) Reset()

func (MsgUpdateClassFee) Route

func (m MsgUpdateClassFee) Route() string

Route implements the LegacyMsg interface.

func (*MsgUpdateClassFee) Size

func (m *MsgUpdateClassFee) Size() (n int)

func (*MsgUpdateClassFee) String

func (m *MsgUpdateClassFee) String() string

func (MsgUpdateClassFee) Type

func (m MsgUpdateClassFee) Type() string

Type implements the LegacyMsg interface.

func (*MsgUpdateClassFee) Unmarshal

func (m *MsgUpdateClassFee) Unmarshal(dAtA []byte) error

func (*MsgUpdateClassFee) ValidateBasic

func (m *MsgUpdateClassFee) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateClassFee) XXX_DiscardUnknown

func (m *MsgUpdateClassFee) XXX_DiscardUnknown()

func (*MsgUpdateClassFee) XXX_Marshal

func (m *MsgUpdateClassFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateClassFee) XXX_Merge

func (m *MsgUpdateClassFee) XXX_Merge(src proto.Message)

func (*MsgUpdateClassFee) XXX_Size

func (m *MsgUpdateClassFee) XXX_Size() int

func (*MsgUpdateClassFee) XXX_Unmarshal

func (m *MsgUpdateClassFee) XXX_Unmarshal(b []byte) error

type MsgUpdateClassFeeResponse

type MsgUpdateClassFeeResponse struct {
}

MsgUpdateClassFeeResponse is the Msg/UpdateClassFee response type.

Since Revision 2

func (*MsgUpdateClassFeeResponse) Descriptor

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

func (*MsgUpdateClassFeeResponse) Marshal

func (m *MsgUpdateClassFeeResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClassFeeResponse) MarshalTo

func (m *MsgUpdateClassFeeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateClassFeeResponse) MarshalToSizedBuffer

func (m *MsgUpdateClassFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateClassFeeResponse) ProtoMessage

func (*MsgUpdateClassFeeResponse) ProtoMessage()

func (*MsgUpdateClassFeeResponse) Reset

func (m *MsgUpdateClassFeeResponse) Reset()

func (*MsgUpdateClassFeeResponse) Size

func (m *MsgUpdateClassFeeResponse) Size() (n int)

func (*MsgUpdateClassFeeResponse) String

func (m *MsgUpdateClassFeeResponse) String() string

func (*MsgUpdateClassFeeResponse) Unmarshal

func (m *MsgUpdateClassFeeResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateClassFeeResponse) XXX_DiscardUnknown

func (m *MsgUpdateClassFeeResponse) XXX_DiscardUnknown()

func (*MsgUpdateClassFeeResponse) XXX_Marshal

func (m *MsgUpdateClassFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateClassFeeResponse) XXX_Merge

func (m *MsgUpdateClassFeeResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateClassFeeResponse) XXX_Size

func (m *MsgUpdateClassFeeResponse) XXX_Size() int

func (*MsgUpdateClassFeeResponse) XXX_Unmarshal

func (m *MsgUpdateClassFeeResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateClassIssuers

type MsgUpdateClassIssuers struct {
	// admin is the address of the account that is the admin of the credit class.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// class_id is the unique identifier of the credit class.
	ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// add_issuers are the addresses of the accounts that will be added to the
	// list of approved credit class issuers.
	AddIssuers []string `protobuf:"bytes,3,rep,name=add_issuers,json=addIssuers,proto3" json:"add_issuers,omitempty"`
	// remove_issuers are the addresses of the accounts that will be removed from
	// the list of approved credit class issuers.
	RemoveIssuers []string `protobuf:"bytes,4,rep,name=remove_issuers,json=removeIssuers,proto3" json:"remove_issuers,omitempty"`
}

MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type.

func (*MsgUpdateClassIssuers) Descriptor

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

func (*MsgUpdateClassIssuers) GetAddIssuers

func (m *MsgUpdateClassIssuers) GetAddIssuers() []string

func (*MsgUpdateClassIssuers) GetAdmin

func (m *MsgUpdateClassIssuers) GetAdmin() string

func (*MsgUpdateClassIssuers) GetClassId

func (m *MsgUpdateClassIssuers) GetClassId() string

func (*MsgUpdateClassIssuers) GetRemoveIssuers

func (m *MsgUpdateClassIssuers) GetRemoveIssuers() []string

func (MsgUpdateClassIssuers) GetSignBytes

func (m MsgUpdateClassIssuers) GetSignBytes() []byte

func (*MsgUpdateClassIssuers) GetSigners

func (m *MsgUpdateClassIssuers) GetSigners() []sdk.AccAddress

func (*MsgUpdateClassIssuers) Marshal

func (m *MsgUpdateClassIssuers) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClassIssuers) MarshalTo

func (m *MsgUpdateClassIssuers) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateClassIssuers) MarshalToSizedBuffer

func (m *MsgUpdateClassIssuers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateClassIssuers) ProtoMessage

func (*MsgUpdateClassIssuers) ProtoMessage()

func (*MsgUpdateClassIssuers) Reset

func (m *MsgUpdateClassIssuers) Reset()

func (MsgUpdateClassIssuers) Route

func (m MsgUpdateClassIssuers) Route() string

func (*MsgUpdateClassIssuers) Size

func (m *MsgUpdateClassIssuers) Size() (n int)

func (*MsgUpdateClassIssuers) String

func (m *MsgUpdateClassIssuers) String() string

func (MsgUpdateClassIssuers) Type

func (m MsgUpdateClassIssuers) Type() string

func (*MsgUpdateClassIssuers) Unmarshal

func (m *MsgUpdateClassIssuers) Unmarshal(dAtA []byte) error

func (*MsgUpdateClassIssuers) ValidateBasic

func (m *MsgUpdateClassIssuers) ValidateBasic() error

func (*MsgUpdateClassIssuers) XXX_DiscardUnknown

func (m *MsgUpdateClassIssuers) XXX_DiscardUnknown()

func (*MsgUpdateClassIssuers) XXX_Marshal

func (m *MsgUpdateClassIssuers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateClassIssuers) XXX_Merge

func (m *MsgUpdateClassIssuers) XXX_Merge(src proto.Message)

func (*MsgUpdateClassIssuers) XXX_Size

func (m *MsgUpdateClassIssuers) XXX_Size() int

func (*MsgUpdateClassIssuers) XXX_Unmarshal

func (m *MsgUpdateClassIssuers) XXX_Unmarshal(b []byte) error

type MsgUpdateClassIssuersResponse

type MsgUpdateClassIssuersResponse struct {
}

MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type.

func (*MsgUpdateClassIssuersResponse) Descriptor

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

func (*MsgUpdateClassIssuersResponse) Marshal

func (m *MsgUpdateClassIssuersResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClassIssuersResponse) MarshalTo

func (m *MsgUpdateClassIssuersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateClassIssuersResponse) MarshalToSizedBuffer

func (m *MsgUpdateClassIssuersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateClassIssuersResponse) ProtoMessage

func (*MsgUpdateClassIssuersResponse) ProtoMessage()

func (*MsgUpdateClassIssuersResponse) Reset

func (m *MsgUpdateClassIssuersResponse) Reset()

func (*MsgUpdateClassIssuersResponse) Size

func (m *MsgUpdateClassIssuersResponse) Size() (n int)

func (*MsgUpdateClassIssuersResponse) String

func (*MsgUpdateClassIssuersResponse) Unmarshal

func (m *MsgUpdateClassIssuersResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateClassIssuersResponse) XXX_DiscardUnknown

func (m *MsgUpdateClassIssuersResponse) XXX_DiscardUnknown()

func (*MsgUpdateClassIssuersResponse) XXX_Marshal

func (m *MsgUpdateClassIssuersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateClassIssuersResponse) XXX_Merge

func (m *MsgUpdateClassIssuersResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateClassIssuersResponse) XXX_Size

func (m *MsgUpdateClassIssuersResponse) XXX_Size() int

func (*MsgUpdateClassIssuersResponse) XXX_Unmarshal

func (m *MsgUpdateClassIssuersResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateClassMetadata

type MsgUpdateClassMetadata struct {
	// admin is the address of the account that is the admin of the credit class.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// class_id is the unique identifier of the credit class.
	ClassId string `protobuf:"bytes,2,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// new_metadata is new metadata that will replace the existing metadata. It
	// can be any arbitrary string with a maximum length of 256 characters that
	// includes or references the metadata to attach to the credit class.
	NewMetadata string `protobuf:"bytes,3,opt,name=new_metadata,json=newMetadata,proto3" json:"new_metadata,omitempty"`
}

MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type.

func (*MsgUpdateClassMetadata) Descriptor

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

func (*MsgUpdateClassMetadata) GetAdmin

func (m *MsgUpdateClassMetadata) GetAdmin() string

func (*MsgUpdateClassMetadata) GetClassId

func (m *MsgUpdateClassMetadata) GetClassId() string

func (*MsgUpdateClassMetadata) GetNewMetadata

func (m *MsgUpdateClassMetadata) GetNewMetadata() string

func (MsgUpdateClassMetadata) GetSignBytes

func (m MsgUpdateClassMetadata) GetSignBytes() []byte

func (*MsgUpdateClassMetadata) GetSigners

func (m *MsgUpdateClassMetadata) GetSigners() []sdk.AccAddress

func (*MsgUpdateClassMetadata) Marshal

func (m *MsgUpdateClassMetadata) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClassMetadata) MarshalTo

func (m *MsgUpdateClassMetadata) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateClassMetadata) MarshalToSizedBuffer

func (m *MsgUpdateClassMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateClassMetadata) ProtoMessage

func (*MsgUpdateClassMetadata) ProtoMessage()

func (*MsgUpdateClassMetadata) Reset

func (m *MsgUpdateClassMetadata) Reset()

func (MsgUpdateClassMetadata) Route

func (m MsgUpdateClassMetadata) Route() string

func (*MsgUpdateClassMetadata) Size

func (m *MsgUpdateClassMetadata) Size() (n int)

func (*MsgUpdateClassMetadata) String

func (m *MsgUpdateClassMetadata) String() string

func (MsgUpdateClassMetadata) Type

func (m MsgUpdateClassMetadata) Type() string

func (*MsgUpdateClassMetadata) Unmarshal

func (m *MsgUpdateClassMetadata) Unmarshal(dAtA []byte) error

func (*MsgUpdateClassMetadata) ValidateBasic

func (m *MsgUpdateClassMetadata) ValidateBasic() error

func (*MsgUpdateClassMetadata) XXX_DiscardUnknown

func (m *MsgUpdateClassMetadata) XXX_DiscardUnknown()

func (*MsgUpdateClassMetadata) XXX_Marshal

func (m *MsgUpdateClassMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateClassMetadata) XXX_Merge

func (m *MsgUpdateClassMetadata) XXX_Merge(src proto.Message)

func (*MsgUpdateClassMetadata) XXX_Size

func (m *MsgUpdateClassMetadata) XXX_Size() int

func (*MsgUpdateClassMetadata) XXX_Unmarshal

func (m *MsgUpdateClassMetadata) XXX_Unmarshal(b []byte) error

type MsgUpdateClassMetadataResponse

type MsgUpdateClassMetadataResponse struct {
}

MsgUpdateClassMetadataResponse is the Msg/UpdateClassMetadata response type.

func (*MsgUpdateClassMetadataResponse) Descriptor

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

func (*MsgUpdateClassMetadataResponse) Marshal

func (m *MsgUpdateClassMetadataResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClassMetadataResponse) MarshalTo

func (m *MsgUpdateClassMetadataResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateClassMetadataResponse) MarshalToSizedBuffer

func (m *MsgUpdateClassMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateClassMetadataResponse) ProtoMessage

func (*MsgUpdateClassMetadataResponse) ProtoMessage()

func (*MsgUpdateClassMetadataResponse) Reset

func (m *MsgUpdateClassMetadataResponse) Reset()

func (*MsgUpdateClassMetadataResponse) Size

func (m *MsgUpdateClassMetadataResponse) Size() (n int)

func (*MsgUpdateClassMetadataResponse) String

func (*MsgUpdateClassMetadataResponse) Unmarshal

func (m *MsgUpdateClassMetadataResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateClassMetadataResponse) XXX_DiscardUnknown

func (m *MsgUpdateClassMetadataResponse) XXX_DiscardUnknown()

func (*MsgUpdateClassMetadataResponse) XXX_Marshal

func (m *MsgUpdateClassMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateClassMetadataResponse) XXX_Merge

func (m *MsgUpdateClassMetadataResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateClassMetadataResponse) XXX_Size

func (m *MsgUpdateClassMetadataResponse) XXX_Size() int

func (*MsgUpdateClassMetadataResponse) XXX_Unmarshal

func (m *MsgUpdateClassMetadataResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateProjectAdmin

type MsgUpdateProjectAdmin struct {
	// admin is the address of the account that is the currently the admin of the
	// project.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// project_id is the unique identifier of the project.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// new_admin is the address of the account that will become the new admin of
	// the project.
	NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"`
}

MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin request type.

func (*MsgUpdateProjectAdmin) Descriptor

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

func (*MsgUpdateProjectAdmin) GetAdmin

func (m *MsgUpdateProjectAdmin) GetAdmin() string

func (*MsgUpdateProjectAdmin) GetNewAdmin

func (m *MsgUpdateProjectAdmin) GetNewAdmin() string

func (*MsgUpdateProjectAdmin) GetProjectId

func (m *MsgUpdateProjectAdmin) GetProjectId() string

func (MsgUpdateProjectAdmin) GetSignBytes

func (m MsgUpdateProjectAdmin) GetSignBytes() []byte

func (MsgUpdateProjectAdmin) GetSigners

func (m MsgUpdateProjectAdmin) GetSigners() []sdk.AccAddress

func (*MsgUpdateProjectAdmin) Marshal

func (m *MsgUpdateProjectAdmin) Marshal() (dAtA []byte, err error)

func (*MsgUpdateProjectAdmin) MarshalTo

func (m *MsgUpdateProjectAdmin) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateProjectAdmin) MarshalToSizedBuffer

func (m *MsgUpdateProjectAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateProjectAdmin) ProtoMessage

func (*MsgUpdateProjectAdmin) ProtoMessage()

func (*MsgUpdateProjectAdmin) Reset

func (m *MsgUpdateProjectAdmin) Reset()

func (MsgUpdateProjectAdmin) Route

func (m MsgUpdateProjectAdmin) Route() string

func (*MsgUpdateProjectAdmin) Size

func (m *MsgUpdateProjectAdmin) Size() (n int)

func (*MsgUpdateProjectAdmin) String

func (m *MsgUpdateProjectAdmin) String() string

func (MsgUpdateProjectAdmin) Type

func (m MsgUpdateProjectAdmin) Type() string

func (*MsgUpdateProjectAdmin) Unmarshal

func (m *MsgUpdateProjectAdmin) Unmarshal(dAtA []byte) error

func (MsgUpdateProjectAdmin) ValidateBasic

func (m MsgUpdateProjectAdmin) ValidateBasic() error

func (*MsgUpdateProjectAdmin) XXX_DiscardUnknown

func (m *MsgUpdateProjectAdmin) XXX_DiscardUnknown()

func (*MsgUpdateProjectAdmin) XXX_Marshal

func (m *MsgUpdateProjectAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateProjectAdmin) XXX_Merge

func (m *MsgUpdateProjectAdmin) XXX_Merge(src proto.Message)

func (*MsgUpdateProjectAdmin) XXX_Size

func (m *MsgUpdateProjectAdmin) XXX_Size() int

func (*MsgUpdateProjectAdmin) XXX_Unmarshal

func (m *MsgUpdateProjectAdmin) XXX_Unmarshal(b []byte) error

type MsgUpdateProjectAdminResponse

type MsgUpdateProjectAdminResponse struct {
}

MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin response type.

func (*MsgUpdateProjectAdminResponse) Descriptor

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

func (*MsgUpdateProjectAdminResponse) Marshal

func (m *MsgUpdateProjectAdminResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateProjectAdminResponse) MarshalTo

func (m *MsgUpdateProjectAdminResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateProjectAdminResponse) MarshalToSizedBuffer

func (m *MsgUpdateProjectAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateProjectAdminResponse) ProtoMessage

func (*MsgUpdateProjectAdminResponse) ProtoMessage()

func (*MsgUpdateProjectAdminResponse) Reset

func (m *MsgUpdateProjectAdminResponse) Reset()

func (*MsgUpdateProjectAdminResponse) Size

func (m *MsgUpdateProjectAdminResponse) Size() (n int)

func (*MsgUpdateProjectAdminResponse) String

func (*MsgUpdateProjectAdminResponse) Unmarshal

func (m *MsgUpdateProjectAdminResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateProjectAdminResponse) XXX_DiscardUnknown

func (m *MsgUpdateProjectAdminResponse) XXX_DiscardUnknown()

func (*MsgUpdateProjectAdminResponse) XXX_Marshal

func (m *MsgUpdateProjectAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateProjectAdminResponse) XXX_Merge

func (m *MsgUpdateProjectAdminResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateProjectAdminResponse) XXX_Size

func (m *MsgUpdateProjectAdminResponse) XXX_Size() int

func (*MsgUpdateProjectAdminResponse) XXX_Unmarshal

func (m *MsgUpdateProjectAdminResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateProjectMetadata

type MsgUpdateProjectMetadata struct {
	// admin is the address of the account that is the admin of the project.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// project_id is the unique identifier of the project.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// new_metadata is new metadata that will replace the existing metadata. It
	// can be any arbitrary string with a maximum length of 256 characters that
	// includes or references the metadata to attach to the project.
	NewMetadata string `protobuf:"bytes,3,opt,name=new_metadata,json=newMetadata,proto3" json:"new_metadata,omitempty"`
}

MsgUpdateProjectMetadata is the Msg/UpdateProjectMetadata request type.

func (*MsgUpdateProjectMetadata) Descriptor

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

func (*MsgUpdateProjectMetadata) GetAdmin

func (m *MsgUpdateProjectMetadata) GetAdmin() string

func (*MsgUpdateProjectMetadata) GetNewMetadata

func (m *MsgUpdateProjectMetadata) GetNewMetadata() string

func (*MsgUpdateProjectMetadata) GetProjectId

func (m *MsgUpdateProjectMetadata) GetProjectId() string

func (MsgUpdateProjectMetadata) GetSignBytes

func (m MsgUpdateProjectMetadata) GetSignBytes() []byte

func (MsgUpdateProjectMetadata) GetSigners

func (m MsgUpdateProjectMetadata) GetSigners() []types.AccAddress

func (*MsgUpdateProjectMetadata) Marshal

func (m *MsgUpdateProjectMetadata) Marshal() (dAtA []byte, err error)

func (*MsgUpdateProjectMetadata) MarshalTo

func (m *MsgUpdateProjectMetadata) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateProjectMetadata) MarshalToSizedBuffer

func (m *MsgUpdateProjectMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateProjectMetadata) ProtoMessage

func (*MsgUpdateProjectMetadata) ProtoMessage()

func (*MsgUpdateProjectMetadata) Reset

func (m *MsgUpdateProjectMetadata) Reset()

func (MsgUpdateProjectMetadata) Route

func (m MsgUpdateProjectMetadata) Route() string

func (*MsgUpdateProjectMetadata) Size

func (m *MsgUpdateProjectMetadata) Size() (n int)

func (*MsgUpdateProjectMetadata) String

func (m *MsgUpdateProjectMetadata) String() string

func (MsgUpdateProjectMetadata) Type

func (*MsgUpdateProjectMetadata) Unmarshal

func (m *MsgUpdateProjectMetadata) Unmarshal(dAtA []byte) error

func (MsgUpdateProjectMetadata) ValidateBasic

func (m MsgUpdateProjectMetadata) ValidateBasic() error

func (*MsgUpdateProjectMetadata) XXX_DiscardUnknown

func (m *MsgUpdateProjectMetadata) XXX_DiscardUnknown()

func (*MsgUpdateProjectMetadata) XXX_Marshal

func (m *MsgUpdateProjectMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateProjectMetadata) XXX_Merge

func (m *MsgUpdateProjectMetadata) XXX_Merge(src proto.Message)

func (*MsgUpdateProjectMetadata) XXX_Size

func (m *MsgUpdateProjectMetadata) XXX_Size() int

func (*MsgUpdateProjectMetadata) XXX_Unmarshal

func (m *MsgUpdateProjectMetadata) XXX_Unmarshal(b []byte) error

type MsgUpdateProjectMetadataResponse

type MsgUpdateProjectMetadataResponse struct {
}

MsgUpdateProjectMetadataResponse is the Msg/UpdateProjectMetadataResponse response type.

func (*MsgUpdateProjectMetadataResponse) Descriptor

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

func (*MsgUpdateProjectMetadataResponse) Marshal

func (m *MsgUpdateProjectMetadataResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateProjectMetadataResponse) MarshalTo

func (m *MsgUpdateProjectMetadataResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateProjectMetadataResponse) MarshalToSizedBuffer

func (m *MsgUpdateProjectMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateProjectMetadataResponse) ProtoMessage

func (*MsgUpdateProjectMetadataResponse) ProtoMessage()

func (*MsgUpdateProjectMetadataResponse) Reset

func (*MsgUpdateProjectMetadataResponse) Size

func (m *MsgUpdateProjectMetadataResponse) Size() (n int)

func (*MsgUpdateProjectMetadataResponse) String

func (*MsgUpdateProjectMetadataResponse) Unmarshal

func (m *MsgUpdateProjectMetadataResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateProjectMetadataResponse) XXX_DiscardUnknown

func (m *MsgUpdateProjectMetadataResponse) XXX_DiscardUnknown()

func (*MsgUpdateProjectMetadataResponse) XXX_Marshal

func (m *MsgUpdateProjectMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateProjectMetadataResponse) XXX_Merge

func (*MsgUpdateProjectMetadataResponse) XXX_Size

func (m *MsgUpdateProjectMetadataResponse) XXX_Size() int

func (*MsgUpdateProjectMetadataResponse) XXX_Unmarshal

func (m *MsgUpdateProjectMetadataResponse) XXX_Unmarshal(b []byte) error

type OriginTx

type OriginTx struct {
	// id is the transaction ID of an originating transaction or operation based
	// on a type (i.e. transaction ID, serial number).
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// source is the source chain or registry of the transaction originating the
	// mint process (e.g. polygon, ethereum, verra).
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// contract is the address of the contract on the source chain that was
	// executed when creating the transaction. This address will be stored in
	// state separately from the origin tx and on a per credit batch basis to be
	// used when sending credits back to the source chain. This field can be left
	// blank if credits are bridged from a non-contract-based source.
	Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
	// note is a reference note for accounting that will be included in an event
	// emitted from either Msg/CreateBatch or Msg/MintBatchCredits.
	Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"`
}

OriginTx is the transaction from another chain or registry that triggered the minting of credits.

func (*OriginTx) Descriptor

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

func (*OriginTx) GetContract

func (m *OriginTx) GetContract() string

func (*OriginTx) GetId

func (m *OriginTx) GetId() string

func (*OriginTx) GetNote

func (m *OriginTx) GetNote() string

func (*OriginTx) GetSource

func (m *OriginTx) GetSource() string

func (*OriginTx) Marshal

func (m *OriginTx) Marshal() (dAtA []byte, err error)

func (*OriginTx) MarshalTo

func (m *OriginTx) MarshalTo(dAtA []byte) (int, error)

func (*OriginTx) MarshalToSizedBuffer

func (m *OriginTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OriginTx) ProtoMessage

func (*OriginTx) ProtoMessage()

func (*OriginTx) Reset

func (m *OriginTx) Reset()

func (*OriginTx) Size

func (m *OriginTx) Size() (n int)

func (*OriginTx) String

func (m *OriginTx) String() string

func (*OriginTx) Unmarshal

func (m *OriginTx) Unmarshal(dAtA []byte) error

func (*OriginTx) Validate

func (o *OriginTx) Validate() error

func (*OriginTx) XXX_DiscardUnknown

func (m *OriginTx) XXX_DiscardUnknown()

func (*OriginTx) XXX_Marshal

func (m *OriginTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OriginTx) XXX_Merge

func (m *OriginTx) XXX_Merge(src proto.Message)

func (*OriginTx) XXX_Size

func (m *OriginTx) XXX_Size() int

func (*OriginTx) XXX_Unmarshal

func (m *OriginTx) XXX_Unmarshal(b []byte) error

type OriginTxIndex

type OriginTxIndex struct {
	// class_key is the table row identifier of the credit class within which the
	// credits were issued or minted. The class_key is included within the index
	// to prevent malicious credit class issuers from blocking bridge operations
	// taking place within another credit class.
	ClassKey uint64 `protobuf:"varint,1,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"`
	// id is the transaction ID of an originating transaction or operation
	// based on a type (i.e. transaction ID, serial number).
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// source is the source chain or registry of the transaction originating
	// the mint process (e.g. polygon, ethereum, verra).
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
}

OriginTxIndex indexes the transaction ID and source from the OriginTx included in Msg/CreateBatch and Msg/MintBatchCredits to prevent double minting errors. The index is scoped to a credit class (it includes the class_key) to prevent malicious credit class issuers from blocking any bridge operations taking place within another credit class.

func (*OriginTxIndex) Descriptor

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

func (*OriginTxIndex) GetClassKey

func (m *OriginTxIndex) GetClassKey() uint64

func (*OriginTxIndex) GetId

func (m *OriginTxIndex) GetId() string

func (*OriginTxIndex) GetSource

func (m *OriginTxIndex) GetSource() string

func (*OriginTxIndex) Marshal

func (m *OriginTxIndex) Marshal() (dAtA []byte, err error)

func (*OriginTxIndex) MarshalTo

func (m *OriginTxIndex) MarshalTo(dAtA []byte) (int, error)

func (*OriginTxIndex) MarshalToSizedBuffer

func (m *OriginTxIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OriginTxIndex) ProtoMessage

func (*OriginTxIndex) ProtoMessage()

func (*OriginTxIndex) Reset

func (m *OriginTxIndex) Reset()

func (*OriginTxIndex) Size

func (m *OriginTxIndex) Size() (n int)

func (*OriginTxIndex) String

func (m *OriginTxIndex) String() string

func (*OriginTxIndex) Unmarshal

func (m *OriginTxIndex) Unmarshal(dAtA []byte) error

func (*OriginTxIndex) Validate

func (m *OriginTxIndex) Validate() error

Validate performs basic validation of the OriginTxIndex state type

func (*OriginTxIndex) XXX_DiscardUnknown

func (m *OriginTxIndex) XXX_DiscardUnknown()

func (*OriginTxIndex) XXX_Marshal

func (m *OriginTxIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OriginTxIndex) XXX_Merge

func (m *OriginTxIndex) XXX_Merge(src proto.Message)

func (*OriginTxIndex) XXX_Size

func (m *OriginTxIndex) XXX_Size() int

func (*OriginTxIndex) XXX_Unmarshal

func (m *OriginTxIndex) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	// credit_class_fee is a list of credit class creation fees accepted when
	// creating a credit class. Any fee listed is accepted and charged to the
	// credit class creator when creating a credit class.
	CreditClassFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 149-byte string literal not displayed */
	// basket_fee is a list of basket creation fees accepted when creating a
	// basket. Any fee listed is accepted and charged to the basket creator when
	// creating a basket.
	BasketFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */
	// allowed_class_creators is an allowlist defining the addresses with the
	// required permissions to create credit classes when allowlist_enabled is set
	// to true. If allowlist_enabled is set to false, this list has no effect.
	AllowedClassCreators []string `protobuf:"bytes,3,rep,name=allowed_class_creators,json=allowedClassCreators,proto3" json:"allowed_class_creators,omitempty"`
	// allowlist_enabled determines whether or not the allowlist for creating
	// credit classes is enabled. When set to true, only the addresses listed in
	// allowed_class_creators can create credit classes. When set to false, any
	// address can create credit classes.
	AllowlistEnabled bool `protobuf:"varint,4,opt,name=allowlist_enabled,json=allowlistEnabled,proto3" json:"allowlist_enabled,omitempty"`
	// allowed_denoms is a list of bank denoms allowed to be used in the ask price
	// of sell orders.
	//
	// Since Revision 2
	AllowedDenoms []*AllowedDenom `protobuf:"bytes,5,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"`
	// AllowedBridgeChains is a list of chain names that are allowed to be used in
	// bridge operations.
	//
	// Since Revision 2
	AllowedBridgeChains []string `protobuf:"bytes,6,rep,name=allowed_bridge_chains,json=allowedBridgeChains,proto3" json:"allowed_bridge_chains,omitempty"`
}

Params defines the updatable global parameters of the ecocredit module for use with the x/params module.

func NewParams

func NewParams(creditClassFee, basketFee sdk.Coins, allowlist []string, allowlistEnabled bool) Params

NewParams creates a new Params object.

func (*Params) Descriptor

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

func (*Params) GetAllowedBridgeChains

func (m *Params) GetAllowedBridgeChains() []string

func (*Params) GetAllowedClassCreators

func (m *Params) GetAllowedClassCreators() []string

func (*Params) GetAllowedDenoms

func (m *Params) GetAllowedDenoms() []*AllowedDenom

func (*Params) GetAllowlistEnabled

func (m *Params) GetAllowlistEnabled() bool

func (*Params) GetBasketFee

func (*Params) GetCreditClassFee

func (m *Params) GetCreditClassFee() github_com_cosmos_cosmos_sdk_types.Coins

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate will run each param field's validate method

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type Project

type Project struct {
	// key is the table row identifier of the project used internally for
	// efficient lookups. This identifier is auto-incrementing.
	Key uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	// id is the unique identifier of the project either auto-generated from the
	// credit class id and project sequence number or provided upon creation.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// admin is the admin of the project.
	Admin []byte `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"`
	// class_key is the table row identifier of the credit class used internally
	// for efficient lookups. This links a project to a credit class.
	ClassKey uint64 `protobuf:"varint,4,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"`
	// jurisdiction is the jurisdiction of the project.
	// Full documentation can be found in MsgCreateProject.jurisdiction.
	Jurisdiction string `protobuf:"bytes,5,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"`
	// metadata is any arbitrary metadata attached to the project.
	Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// reference_id is any arbitrary string used to reference the project.
	ReferenceId string `protobuf:"bytes,7,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
}

Project represents the high-level on-chain information for a project.

func (*Project) Descriptor

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

func (*Project) GetAdmin

func (m *Project) GetAdmin() []byte

func (*Project) GetClassKey

func (m *Project) GetClassKey() uint64

func (*Project) GetId

func (m *Project) GetId() string

func (*Project) GetJurisdiction

func (m *Project) GetJurisdiction() string

func (*Project) GetKey

func (m *Project) GetKey() uint64

func (*Project) GetMetadata

func (m *Project) GetMetadata() string

func (*Project) GetReferenceId

func (m *Project) GetReferenceId() string

func (*Project) Marshal

func (m *Project) Marshal() (dAtA []byte, err error)

func (*Project) MarshalTo

func (m *Project) MarshalTo(dAtA []byte) (int, error)

func (*Project) MarshalToSizedBuffer

func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) Size

func (m *Project) Size() (n int)

func (*Project) String

func (m *Project) String() string

func (*Project) Unmarshal

func (m *Project) Unmarshal(dAtA []byte) error

func (*Project) Validate

func (m *Project) Validate() error

Validate performs a basic validation of project

func (*Project) XXX_DiscardUnknown

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal

func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

func (m *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

func (m *Project) XXX_Unmarshal(b []byte) error

type ProjectInfo

type ProjectInfo struct {
	// id is the unique identifier of the project.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// admin is the admin of the project.
	Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// class_id is the unique identifier of the credit class within which the
	// project was created.
	ClassId string `protobuf:"bytes,3,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// jurisdiction is the jurisdiction of the project. Full documentation can be
	// found in MsgCreateProject.jurisdiction.
	Jurisdiction string `protobuf:"bytes,4,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"`
	// metadata is the arbitrary metadata attached to the project.
	Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// reference_id is any arbitrary string that can be use to reference project.
	ReferenceId string `protobuf:"bytes,6,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
}

ProjectInfo is the human-readable project information.

func (*ProjectInfo) Descriptor

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

func (*ProjectInfo) GetAdmin

func (m *ProjectInfo) GetAdmin() string

func (*ProjectInfo) GetClassId

func (m *ProjectInfo) GetClassId() string

func (*ProjectInfo) GetId

func (m *ProjectInfo) GetId() string

func (*ProjectInfo) GetJurisdiction

func (m *ProjectInfo) GetJurisdiction() string

func (*ProjectInfo) GetMetadata

func (m *ProjectInfo) GetMetadata() string

func (*ProjectInfo) GetReferenceId

func (m *ProjectInfo) GetReferenceId() string

func (*ProjectInfo) Marshal

func (m *ProjectInfo) Marshal() (dAtA []byte, err error)

func (*ProjectInfo) MarshalTo

func (m *ProjectInfo) MarshalTo(dAtA []byte) (int, error)

func (*ProjectInfo) MarshalToSizedBuffer

func (m *ProjectInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectInfo) ProtoMessage

func (*ProjectInfo) ProtoMessage()

func (*ProjectInfo) Reset

func (m *ProjectInfo) Reset()

func (*ProjectInfo) Size

func (m *ProjectInfo) Size() (n int)

func (*ProjectInfo) String

func (m *ProjectInfo) String() string

func (*ProjectInfo) Unmarshal

func (m *ProjectInfo) Unmarshal(dAtA []byte) error

func (*ProjectInfo) XXX_DiscardUnknown

func (m *ProjectInfo) XXX_DiscardUnknown()

func (*ProjectInfo) XXX_Marshal

func (m *ProjectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectInfo) XXX_Merge

func (m *ProjectInfo) XXX_Merge(src proto.Message)

func (*ProjectInfo) XXX_Size

func (m *ProjectInfo) XXX_Size() int

func (*ProjectInfo) XXX_Unmarshal

func (m *ProjectInfo) XXX_Unmarshal(b []byte) error

type ProjectSequence

type ProjectSequence struct {
	// class_key is the table row identifier of the credit class used internally
	// for efficient lookups. This links a project sequence to a credit class.
	ClassKey uint64 `protobuf:"varint,1,opt,name=class_key,json=classKey,proto3" json:"class_key,omitempty"`
	// next_sequence is the next sequence number for a project within the credit
	// class. The sequence number is used to generate a project id.
	NextSequence uint64 `protobuf:"varint,2,opt,name=next_sequence,json=nextSequence,proto3" json:"next_sequence,omitempty"`
}

ProjectSequence stores and increments the sequence number for projects within a credit class.

func (*ProjectSequence) Descriptor

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

func (*ProjectSequence) GetClassKey

func (m *ProjectSequence) GetClassKey() uint64

func (*ProjectSequence) GetNextSequence

func (m *ProjectSequence) GetNextSequence() uint64

func (*ProjectSequence) Marshal

func (m *ProjectSequence) Marshal() (dAtA []byte, err error)

func (*ProjectSequence) MarshalTo

func (m *ProjectSequence) MarshalTo(dAtA []byte) (int, error)

func (*ProjectSequence) MarshalToSizedBuffer

func (m *ProjectSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectSequence) ProtoMessage

func (*ProjectSequence) ProtoMessage()

func (*ProjectSequence) Reset

func (m *ProjectSequence) Reset()

func (*ProjectSequence) Size

func (m *ProjectSequence) Size() (n int)

func (*ProjectSequence) String

func (m *ProjectSequence) String() string

func (*ProjectSequence) Unmarshal

func (m *ProjectSequence) Unmarshal(dAtA []byte) error

func (*ProjectSequence) Validate

func (m *ProjectSequence) Validate() error

Validate performs basic validation of the ProjectSequence state type

func (*ProjectSequence) XXX_DiscardUnknown

func (m *ProjectSequence) XXX_DiscardUnknown()

func (*ProjectSequence) XXX_Marshal

func (m *ProjectSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectSequence) XXX_Merge

func (m *ProjectSequence) XXX_Merge(src proto.Message)

func (*ProjectSequence) XXX_Size

func (m *ProjectSequence) XXX_Size() int

func (*ProjectSequence) XXX_Unmarshal

func (m *ProjectSequence) XXX_Unmarshal(b []byte) error

type QueryAllBalancesRequest

type QueryAllBalancesRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllBalancesRequest is the Query/AllBalances request type.

Since Revision 2

func (*QueryAllBalancesRequest) Descriptor

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

func (*QueryAllBalancesRequest) GetPagination

func (m *QueryAllBalancesRequest) GetPagination() *query.PageRequest

func (*QueryAllBalancesRequest) Marshal

func (m *QueryAllBalancesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllBalancesRequest) MarshalTo

func (m *QueryAllBalancesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllBalancesRequest) MarshalToSizedBuffer

func (m *QueryAllBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllBalancesRequest) ProtoMessage

func (*QueryAllBalancesRequest) ProtoMessage()

func (*QueryAllBalancesRequest) Reset

func (m *QueryAllBalancesRequest) Reset()

func (*QueryAllBalancesRequest) Size

func (m *QueryAllBalancesRequest) Size() (n int)

func (*QueryAllBalancesRequest) String

func (m *QueryAllBalancesRequest) String() string

func (*QueryAllBalancesRequest) Unmarshal

func (m *QueryAllBalancesRequest) Unmarshal(dAtA []byte) error

func (*QueryAllBalancesRequest) XXX_DiscardUnknown

func (m *QueryAllBalancesRequest) XXX_DiscardUnknown()

func (*QueryAllBalancesRequest) XXX_Marshal

func (m *QueryAllBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllBalancesRequest) XXX_Merge

func (m *QueryAllBalancesRequest) XXX_Merge(src proto.Message)

func (*QueryAllBalancesRequest) XXX_Size

func (m *QueryAllBalancesRequest) XXX_Size() int

func (*QueryAllBalancesRequest) XXX_Unmarshal

func (m *QueryAllBalancesRequest) XXX_Unmarshal(b []byte) error

type QueryAllBalancesResponse

type QueryAllBalancesResponse struct {
	// balances are a list of balances from different credit batches that the
	// account holds.
	Balances []*BatchBalanceInfo `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllBalancesResponse is the Query/AllBalances response type.

Since Revision 2

func (*QueryAllBalancesResponse) Descriptor

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

func (*QueryAllBalancesResponse) GetBalances

func (m *QueryAllBalancesResponse) GetBalances() []*BatchBalanceInfo

func (*QueryAllBalancesResponse) GetPagination

func (m *QueryAllBalancesResponse) GetPagination() *query.PageResponse

func (*QueryAllBalancesResponse) Marshal

func (m *QueryAllBalancesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllBalancesResponse) MarshalTo

func (m *QueryAllBalancesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllBalancesResponse) MarshalToSizedBuffer

func (m *QueryAllBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllBalancesResponse) ProtoMessage

func (*QueryAllBalancesResponse) ProtoMessage()

func (*QueryAllBalancesResponse) Reset

func (m *QueryAllBalancesResponse) Reset()

func (*QueryAllBalancesResponse) Size

func (m *QueryAllBalancesResponse) Size() (n int)

func (*QueryAllBalancesResponse) String

func (m *QueryAllBalancesResponse) String() string

func (*QueryAllBalancesResponse) Unmarshal

func (m *QueryAllBalancesResponse) Unmarshal(dAtA []byte) error

func (*QueryAllBalancesResponse) XXX_DiscardUnknown

func (m *QueryAllBalancesResponse) XXX_DiscardUnknown()

func (*QueryAllBalancesResponse) XXX_Marshal

func (m *QueryAllBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllBalancesResponse) XXX_Merge

func (m *QueryAllBalancesResponse) XXX_Merge(src proto.Message)

func (*QueryAllBalancesResponse) XXX_Size

func (m *QueryAllBalancesResponse) XXX_Size() int

func (*QueryAllBalancesResponse) XXX_Unmarshal

func (m *QueryAllBalancesResponse) XXX_Unmarshal(b []byte) error

type QueryAllowedBridgeChainsRequest

type QueryAllowedBridgeChainsRequest struct {
}

QueryAllowedBridgeChainsRequest is the Query/AllowedBridgeChains request type.

Since Revision 2

func (*QueryAllowedBridgeChainsRequest) Descriptor

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

func (*QueryAllowedBridgeChainsRequest) Marshal

func (m *QueryAllowedBridgeChainsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllowedBridgeChainsRequest) MarshalTo

func (m *QueryAllowedBridgeChainsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllowedBridgeChainsRequest) MarshalToSizedBuffer

func (m *QueryAllowedBridgeChainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllowedBridgeChainsRequest) ProtoMessage

func (*QueryAllowedBridgeChainsRequest) ProtoMessage()

func (*QueryAllowedBridgeChainsRequest) Reset

func (*QueryAllowedBridgeChainsRequest) Size

func (m *QueryAllowedBridgeChainsRequest) Size() (n int)

func (*QueryAllowedBridgeChainsRequest) String

func (*QueryAllowedBridgeChainsRequest) Unmarshal

func (m *QueryAllowedBridgeChainsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllowedBridgeChainsRequest) XXX_DiscardUnknown

func (m *QueryAllowedBridgeChainsRequest) XXX_DiscardUnknown()

func (*QueryAllowedBridgeChainsRequest) XXX_Marshal

func (m *QueryAllowedBridgeChainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllowedBridgeChainsRequest) XXX_Merge

func (m *QueryAllowedBridgeChainsRequest) XXX_Merge(src proto.Message)

func (*QueryAllowedBridgeChainsRequest) XXX_Size

func (m *QueryAllowedBridgeChainsRequest) XXX_Size() int

func (*QueryAllowedBridgeChainsRequest) XXX_Unmarshal

func (m *QueryAllowedBridgeChainsRequest) XXX_Unmarshal(b []byte) error

type QueryAllowedBridgeChainsResponse

type QueryAllowedBridgeChainsResponse struct {
	// allowed_bridge_chains is a list of chains that are allowed to be used in
	// bridge operations.
	AllowedBridgeChains []string `protobuf:"bytes,1,rep,name=allowed_bridge_chains,json=allowedBridgeChains,proto3" json:"allowed_bridge_chains,omitempty"`
}

QueryAllowedBridgeChainsResponse is the Query/AllowedBridgeChains response type.

Since Revision 2

func (*QueryAllowedBridgeChainsResponse) Descriptor

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

func (*QueryAllowedBridgeChainsResponse) GetAllowedBridgeChains

func (m *QueryAllowedBridgeChainsResponse) GetAllowedBridgeChains() []string

func (*QueryAllowedBridgeChainsResponse) Marshal

func (m *QueryAllowedBridgeChainsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllowedBridgeChainsResponse) MarshalTo

func (m *QueryAllowedBridgeChainsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllowedBridgeChainsResponse) MarshalToSizedBuffer

func (m *QueryAllowedBridgeChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllowedBridgeChainsResponse) ProtoMessage

func (*QueryAllowedBridgeChainsResponse) ProtoMessage()

func (*QueryAllowedBridgeChainsResponse) Reset

func (*QueryAllowedBridgeChainsResponse) Size

func (m *QueryAllowedBridgeChainsResponse) Size() (n int)

func (*QueryAllowedBridgeChainsResponse) String

func (*QueryAllowedBridgeChainsResponse) Unmarshal

func (m *QueryAllowedBridgeChainsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllowedBridgeChainsResponse) XXX_DiscardUnknown

func (m *QueryAllowedBridgeChainsResponse) XXX_DiscardUnknown()

func (*QueryAllowedBridgeChainsResponse) XXX_Marshal

func (m *QueryAllowedBridgeChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllowedBridgeChainsResponse) XXX_Merge

func (*QueryAllowedBridgeChainsResponse) XXX_Size

func (m *QueryAllowedBridgeChainsResponse) XXX_Size() int

func (*QueryAllowedBridgeChainsResponse) XXX_Unmarshal

func (m *QueryAllowedBridgeChainsResponse) XXX_Unmarshal(b []byte) error

type QueryAllowedClassCreatorsRequest

type QueryAllowedClassCreatorsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllowedClassCreatorsRequest is the Query/AllowedClassCreators request type.

Since Revision 2

func (*QueryAllowedClassCreatorsRequest) Descriptor

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

func (*QueryAllowedClassCreatorsRequest) GetPagination

func (*QueryAllowedClassCreatorsRequest) Marshal

func (m *QueryAllowedClassCreatorsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllowedClassCreatorsRequest) MarshalTo

func (m *QueryAllowedClassCreatorsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllowedClassCreatorsRequest) MarshalToSizedBuffer

func (m *QueryAllowedClassCreatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllowedClassCreatorsRequest) ProtoMessage

func (*QueryAllowedClassCreatorsRequest) ProtoMessage()

func (*QueryAllowedClassCreatorsRequest) Reset

func (*QueryAllowedClassCreatorsRequest) Size

func (m *QueryAllowedClassCreatorsRequest) Size() (n int)

func (*QueryAllowedClassCreatorsRequest) String

func (*QueryAllowedClassCreatorsRequest) Unmarshal

func (m *QueryAllowedClassCreatorsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllowedClassCreatorsRequest) XXX_DiscardUnknown

func (m *QueryAllowedClassCreatorsRequest) XXX_DiscardUnknown()

func (*QueryAllowedClassCreatorsRequest) XXX_Marshal

func (m *QueryAllowedClassCreatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllowedClassCreatorsRequest) XXX_Merge

func (*QueryAllowedClassCreatorsRequest) XXX_Size

func (m *QueryAllowedClassCreatorsRequest) XXX_Size() int

func (*QueryAllowedClassCreatorsRequest) XXX_Unmarshal

func (m *QueryAllowedClassCreatorsRequest) XXX_Unmarshal(b []byte) error

type QueryAllowedClassCreatorsResponse

type QueryAllowedClassCreatorsResponse struct {
	// class_creators is the list of allowed credit class creators.
	ClassCreators []string `protobuf:"bytes,1,rep,name=class_creators,json=classCreators,proto3" json:"class_creators,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllowedClassCreatorsResponse is the Query/AllowedClassCreators response type.

Since Revision 2

func (*QueryAllowedClassCreatorsResponse) Descriptor

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

func (*QueryAllowedClassCreatorsResponse) GetClassCreators

func (m *QueryAllowedClassCreatorsResponse) GetClassCreators() []string

func (*QueryAllowedClassCreatorsResponse) GetPagination

func (*QueryAllowedClassCreatorsResponse) Marshal

func (m *QueryAllowedClassCreatorsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllowedClassCreatorsResponse) MarshalTo

func (m *QueryAllowedClassCreatorsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllowedClassCreatorsResponse) MarshalToSizedBuffer

func (m *QueryAllowedClassCreatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllowedClassCreatorsResponse) ProtoMessage

func (*QueryAllowedClassCreatorsResponse) ProtoMessage()

func (*QueryAllowedClassCreatorsResponse) Reset

func (*QueryAllowedClassCreatorsResponse) Size

func (m *QueryAllowedClassCreatorsResponse) Size() (n int)

func (*QueryAllowedClassCreatorsResponse) String

func (*QueryAllowedClassCreatorsResponse) Unmarshal

func (m *QueryAllowedClassCreatorsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllowedClassCreatorsResponse) XXX_DiscardUnknown

func (m *QueryAllowedClassCreatorsResponse) XXX_DiscardUnknown()

func (*QueryAllowedClassCreatorsResponse) XXX_Marshal

func (m *QueryAllowedClassCreatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllowedClassCreatorsResponse) XXX_Merge

func (*QueryAllowedClassCreatorsResponse) XXX_Size

func (m *QueryAllowedClassCreatorsResponse) XXX_Size() int

func (*QueryAllowedClassCreatorsResponse) XXX_Unmarshal

func (m *QueryAllowedClassCreatorsResponse) XXX_Unmarshal(b []byte) error

type QueryBalanceRequest

type QueryBalanceRequest struct {
	// address is the address of the account whose balance is being queried.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// batch_denom is the unique identifier of the credit batch to query.
	BatchDenom string `protobuf:"bytes,2,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
}

QueryBalanceRequest is the Query/Balance request type.

func (*QueryBalanceRequest) Descriptor

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

func (*QueryBalanceRequest) GetAddress

func (m *QueryBalanceRequest) GetAddress() string

func (*QueryBalanceRequest) GetBatchDenom

func (m *QueryBalanceRequest) GetBatchDenom() string

func (*QueryBalanceRequest) Marshal

func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)

func (*QueryBalanceRequest) MarshalTo

func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceRequest) MarshalToSizedBuffer

func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceRequest) ProtoMessage

func (*QueryBalanceRequest) ProtoMessage()

func (*QueryBalanceRequest) Reset

func (m *QueryBalanceRequest) Reset()

func (*QueryBalanceRequest) Size

func (m *QueryBalanceRequest) Size() (n int)

func (*QueryBalanceRequest) String

func (m *QueryBalanceRequest) String() string

func (*QueryBalanceRequest) Unmarshal

func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error

func (*QueryBalanceRequest) XXX_DiscardUnknown

func (m *QueryBalanceRequest) XXX_DiscardUnknown()

func (*QueryBalanceRequest) XXX_Marshal

func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceRequest) XXX_Merge

func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)

func (*QueryBalanceRequest) XXX_Size

func (m *QueryBalanceRequest) XXX_Size() int

func (*QueryBalanceRequest) XXX_Unmarshal

func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error

type QueryBalanceResponse

type QueryBalanceResponse struct {
	// balance is the balance of the given account.
	Balance *BatchBalanceInfo `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
}

QueryBalanceResponse is the Query/Balance response type.

func (*QueryBalanceResponse) Descriptor

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

func (*QueryBalanceResponse) GetBalance

func (m *QueryBalanceResponse) GetBalance() *BatchBalanceInfo

func (*QueryBalanceResponse) Marshal

func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)

func (*QueryBalanceResponse) MarshalTo

func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceResponse) MarshalToSizedBuffer

func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceResponse) ProtoMessage

func (*QueryBalanceResponse) ProtoMessage()

func (*QueryBalanceResponse) Reset

func (m *QueryBalanceResponse) Reset()

func (*QueryBalanceResponse) Size

func (m *QueryBalanceResponse) Size() (n int)

func (*QueryBalanceResponse) String

func (m *QueryBalanceResponse) String() string

func (*QueryBalanceResponse) Unmarshal

func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error

func (*QueryBalanceResponse) XXX_DiscardUnknown

func (m *QueryBalanceResponse) XXX_DiscardUnknown()

func (*QueryBalanceResponse) XXX_Marshal

func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceResponse) XXX_Merge

func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)

func (*QueryBalanceResponse) XXX_Size

func (m *QueryBalanceResponse) XXX_Size() int

func (*QueryBalanceResponse) XXX_Unmarshal

func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error

type QueryBalancesByBatchRequest

type QueryBalancesByBatchRequest struct {
	// batch_denom is the denom of the batch to query by.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBalancesByBatchRequest is the Query/BalancesByBatch request type.

Since Revision 2

func (*QueryBalancesByBatchRequest) Descriptor

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

func (*QueryBalancesByBatchRequest) GetBatchDenom

func (m *QueryBalancesByBatchRequest) GetBatchDenom() string

func (*QueryBalancesByBatchRequest) GetPagination

func (m *QueryBalancesByBatchRequest) GetPagination() *query.PageRequest

func (*QueryBalancesByBatchRequest) Marshal

func (m *QueryBalancesByBatchRequest) Marshal() (dAtA []byte, err error)

func (*QueryBalancesByBatchRequest) MarshalTo

func (m *QueryBalancesByBatchRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalancesByBatchRequest) MarshalToSizedBuffer

func (m *QueryBalancesByBatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalancesByBatchRequest) ProtoMessage

func (*QueryBalancesByBatchRequest) ProtoMessage()

func (*QueryBalancesByBatchRequest) Reset

func (m *QueryBalancesByBatchRequest) Reset()

func (*QueryBalancesByBatchRequest) Size

func (m *QueryBalancesByBatchRequest) Size() (n int)

func (*QueryBalancesByBatchRequest) String

func (m *QueryBalancesByBatchRequest) String() string

func (*QueryBalancesByBatchRequest) Unmarshal

func (m *QueryBalancesByBatchRequest) Unmarshal(dAtA []byte) error

func (*QueryBalancesByBatchRequest) XXX_DiscardUnknown

func (m *QueryBalancesByBatchRequest) XXX_DiscardUnknown()

func (*QueryBalancesByBatchRequest) XXX_Marshal

func (m *QueryBalancesByBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalancesByBatchRequest) XXX_Merge

func (m *QueryBalancesByBatchRequest) XXX_Merge(src proto.Message)

func (*QueryBalancesByBatchRequest) XXX_Size

func (m *QueryBalancesByBatchRequest) XXX_Size() int

func (*QueryBalancesByBatchRequest) XXX_Unmarshal

func (m *QueryBalancesByBatchRequest) XXX_Unmarshal(b []byte) error

type QueryBalancesByBatchResponse

type QueryBalancesByBatchResponse struct {
	// balances are a list of balances from different credit batches that the
	// account holds.
	Balances []*BatchBalanceInfo `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBalancesByBatchResponse is the Query/BalancesByBatch response type.

Since Revision 2

func (*QueryBalancesByBatchResponse) Descriptor

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

func (*QueryBalancesByBatchResponse) GetBalances

func (m *QueryBalancesByBatchResponse) GetBalances() []*BatchBalanceInfo

func (*QueryBalancesByBatchResponse) GetPagination

func (m *QueryBalancesByBatchResponse) GetPagination() *query.PageResponse

func (*QueryBalancesByBatchResponse) Marshal

func (m *QueryBalancesByBatchResponse) Marshal() (dAtA []byte, err error)

func (*QueryBalancesByBatchResponse) MarshalTo

func (m *QueryBalancesByBatchResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalancesByBatchResponse) MarshalToSizedBuffer

func (m *QueryBalancesByBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalancesByBatchResponse) ProtoMessage

func (*QueryBalancesByBatchResponse) ProtoMessage()

func (*QueryBalancesByBatchResponse) Reset

func (m *QueryBalancesByBatchResponse) Reset()

func (*QueryBalancesByBatchResponse) Size

func (m *QueryBalancesByBatchResponse) Size() (n int)

func (*QueryBalancesByBatchResponse) String

func (*QueryBalancesByBatchResponse) Unmarshal

func (m *QueryBalancesByBatchResponse) Unmarshal(dAtA []byte) error

func (*QueryBalancesByBatchResponse) XXX_DiscardUnknown

func (m *QueryBalancesByBatchResponse) XXX_DiscardUnknown()

func (*QueryBalancesByBatchResponse) XXX_Marshal

func (m *QueryBalancesByBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalancesByBatchResponse) XXX_Merge

func (m *QueryBalancesByBatchResponse) XXX_Merge(src proto.Message)

func (*QueryBalancesByBatchResponse) XXX_Size

func (m *QueryBalancesByBatchResponse) XXX_Size() int

func (*QueryBalancesByBatchResponse) XXX_Unmarshal

func (m *QueryBalancesByBatchResponse) XXX_Unmarshal(b []byte) error

type QueryBalancesRequest

type QueryBalancesRequest struct {
	// address is the address of the account whose balance is being queried.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBalancesRequest is the Query/Balances request type.

func (*QueryBalancesRequest) Descriptor

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

func (*QueryBalancesRequest) GetAddress

func (m *QueryBalancesRequest) GetAddress() string

func (*QueryBalancesRequest) GetPagination

func (m *QueryBalancesRequest) GetPagination() *query.PageRequest

func (*QueryBalancesRequest) Marshal

func (m *QueryBalancesRequest) Marshal() (dAtA []byte, err error)

func (*QueryBalancesRequest) MarshalTo

func (m *QueryBalancesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalancesRequest) MarshalToSizedBuffer

func (m *QueryBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalancesRequest) ProtoMessage

func (*QueryBalancesRequest) ProtoMessage()

func (*QueryBalancesRequest) Reset

func (m *QueryBalancesRequest) Reset()

func (*QueryBalancesRequest) Size

func (m *QueryBalancesRequest) Size() (n int)

func (*QueryBalancesRequest) String

func (m *QueryBalancesRequest) String() string

func (*QueryBalancesRequest) Unmarshal

func (m *QueryBalancesRequest) Unmarshal(dAtA []byte) error

func (*QueryBalancesRequest) XXX_DiscardUnknown

func (m *QueryBalancesRequest) XXX_DiscardUnknown()

func (*QueryBalancesRequest) XXX_Marshal

func (m *QueryBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalancesRequest) XXX_Merge

func (m *QueryBalancesRequest) XXX_Merge(src proto.Message)

func (*QueryBalancesRequest) XXX_Size

func (m *QueryBalancesRequest) XXX_Size() int

func (*QueryBalancesRequest) XXX_Unmarshal

func (m *QueryBalancesRequest) XXX_Unmarshal(b []byte) error

type QueryBalancesResponse

type QueryBalancesResponse struct {
	// balances are a list of balances from different credit batches that the
	// account holds.
	Balances []*BatchBalanceInfo `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBalancesResponse is the Query/Balances response type.

func (*QueryBalancesResponse) Descriptor

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

func (*QueryBalancesResponse) GetBalances

func (m *QueryBalancesResponse) GetBalances() []*BatchBalanceInfo

func (*QueryBalancesResponse) GetPagination

func (m *QueryBalancesResponse) GetPagination() *query.PageResponse

func (*QueryBalancesResponse) Marshal

func (m *QueryBalancesResponse) Marshal() (dAtA []byte, err error)

func (*QueryBalancesResponse) MarshalTo

func (m *QueryBalancesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalancesResponse) MarshalToSizedBuffer

func (m *QueryBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalancesResponse) ProtoMessage

func (*QueryBalancesResponse) ProtoMessage()

func (*QueryBalancesResponse) Reset

func (m *QueryBalancesResponse) Reset()

func (*QueryBalancesResponse) Size

func (m *QueryBalancesResponse) Size() (n int)

func (*QueryBalancesResponse) String

func (m *QueryBalancesResponse) String() string

func (*QueryBalancesResponse) Unmarshal

func (m *QueryBalancesResponse) Unmarshal(dAtA []byte) error

func (*QueryBalancesResponse) XXX_DiscardUnknown

func (m *QueryBalancesResponse) XXX_DiscardUnknown()

func (*QueryBalancesResponse) XXX_Marshal

func (m *QueryBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalancesResponse) XXX_Merge

func (m *QueryBalancesResponse) XXX_Merge(src proto.Message)

func (*QueryBalancesResponse) XXX_Size

func (m *QueryBalancesResponse) XXX_Size() int

func (*QueryBalancesResponse) XXX_Unmarshal

func (m *QueryBalancesResponse) XXX_Unmarshal(b []byte) error

type QueryBatchRequest

type QueryBatchRequest struct {
	// batch_denom is the unique identifier of the credit batch to query.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
}

QueryBatchRequest is the Query/Batch request type.

func (*QueryBatchRequest) Descriptor

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

func (*QueryBatchRequest) GetBatchDenom

func (m *QueryBatchRequest) GetBatchDenom() string

func (*QueryBatchRequest) Marshal

func (m *QueryBatchRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchRequest) MarshalTo

func (m *QueryBatchRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchRequest) MarshalToSizedBuffer

func (m *QueryBatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchRequest) ProtoMessage

func (*QueryBatchRequest) ProtoMessage()

func (*QueryBatchRequest) Reset

func (m *QueryBatchRequest) Reset()

func (*QueryBatchRequest) Size

func (m *QueryBatchRequest) Size() (n int)

func (*QueryBatchRequest) String

func (m *QueryBatchRequest) String() string

func (*QueryBatchRequest) Unmarshal

func (m *QueryBatchRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchRequest) XXX_DiscardUnknown

func (m *QueryBatchRequest) XXX_DiscardUnknown()

func (*QueryBatchRequest) XXX_Marshal

func (m *QueryBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchRequest) XXX_Merge

func (m *QueryBatchRequest) XXX_Merge(src proto.Message)

func (*QueryBatchRequest) XXX_Size

func (m *QueryBatchRequest) XXX_Size() int

func (*QueryBatchRequest) XXX_Unmarshal

func (m *QueryBatchRequest) XXX_Unmarshal(b []byte) error

type QueryBatchResponse

type QueryBatchResponse struct {
	// batch is the fetched credit batch.
	Batch *BatchInfo `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
}

QueryBatchResponse is the Query/Batch response type.

func (*QueryBatchResponse) Descriptor

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

func (*QueryBatchResponse) GetBatch

func (m *QueryBatchResponse) GetBatch() *BatchInfo

func (*QueryBatchResponse) Marshal

func (m *QueryBatchResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchResponse) MarshalTo

func (m *QueryBatchResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchResponse) MarshalToSizedBuffer

func (m *QueryBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchResponse) ProtoMessage

func (*QueryBatchResponse) ProtoMessage()

func (*QueryBatchResponse) Reset

func (m *QueryBatchResponse) Reset()

func (*QueryBatchResponse) Size

func (m *QueryBatchResponse) Size() (n int)

func (*QueryBatchResponse) String

func (m *QueryBatchResponse) String() string

func (*QueryBatchResponse) Unmarshal

func (m *QueryBatchResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchResponse) XXX_DiscardUnknown

func (m *QueryBatchResponse) XXX_DiscardUnknown()

func (*QueryBatchResponse) XXX_Marshal

func (m *QueryBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchResponse) XXX_Merge

func (m *QueryBatchResponse) XXX_Merge(src proto.Message)

func (*QueryBatchResponse) XXX_Size

func (m *QueryBatchResponse) XXX_Size() int

func (*QueryBatchResponse) XXX_Unmarshal

func (m *QueryBatchResponse) XXX_Unmarshal(b []byte) error

type QueryBatchesByClassRequest

type QueryBatchesByClassRequest struct {
	// class_id is the unique identifier of the credit class to query.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBatchesByClassRequest is the Query/BatchesByClass request type.

func (*QueryBatchesByClassRequest) Descriptor

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

func (*QueryBatchesByClassRequest) GetClassId

func (m *QueryBatchesByClassRequest) GetClassId() string

func (*QueryBatchesByClassRequest) GetPagination

func (m *QueryBatchesByClassRequest) GetPagination() *query.PageRequest

func (*QueryBatchesByClassRequest) Marshal

func (m *QueryBatchesByClassRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchesByClassRequest) MarshalTo

func (m *QueryBatchesByClassRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchesByClassRequest) MarshalToSizedBuffer

func (m *QueryBatchesByClassRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchesByClassRequest) ProtoMessage

func (*QueryBatchesByClassRequest) ProtoMessage()

func (*QueryBatchesByClassRequest) Reset

func (m *QueryBatchesByClassRequest) Reset()

func (*QueryBatchesByClassRequest) Size

func (m *QueryBatchesByClassRequest) Size() (n int)

func (*QueryBatchesByClassRequest) String

func (m *QueryBatchesByClassRequest) String() string

func (*QueryBatchesByClassRequest) Unmarshal

func (m *QueryBatchesByClassRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchesByClassRequest) XXX_DiscardUnknown

func (m *QueryBatchesByClassRequest) XXX_DiscardUnknown()

func (*QueryBatchesByClassRequest) XXX_Marshal

func (m *QueryBatchesByClassRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchesByClassRequest) XXX_Merge

func (m *QueryBatchesByClassRequest) XXX_Merge(src proto.Message)

func (*QueryBatchesByClassRequest) XXX_Size

func (m *QueryBatchesByClassRequest) XXX_Size() int

func (*QueryBatchesByClassRequest) XXX_Unmarshal

func (m *QueryBatchesByClassRequest) XXX_Unmarshal(b []byte) error

type QueryBatchesByClassResponse

type QueryBatchesByClassResponse struct {
	// batches are the fetched credit batches.
	Batches []*BatchInfo `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBatchesByClassResponse is the Query/BatchesByClass response type.

func (*QueryBatchesByClassResponse) Descriptor

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

func (*QueryBatchesByClassResponse) GetBatches

func (m *QueryBatchesByClassResponse) GetBatches() []*BatchInfo

func (*QueryBatchesByClassResponse) GetPagination

func (m *QueryBatchesByClassResponse) GetPagination() *query.PageResponse

func (*QueryBatchesByClassResponse) Marshal

func (m *QueryBatchesByClassResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchesByClassResponse) MarshalTo

func (m *QueryBatchesByClassResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchesByClassResponse) MarshalToSizedBuffer

func (m *QueryBatchesByClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchesByClassResponse) ProtoMessage

func (*QueryBatchesByClassResponse) ProtoMessage()

func (*QueryBatchesByClassResponse) Reset

func (m *QueryBatchesByClassResponse) Reset()

func (*QueryBatchesByClassResponse) Size

func (m *QueryBatchesByClassResponse) Size() (n int)

func (*QueryBatchesByClassResponse) String

func (m *QueryBatchesByClassResponse) String() string

func (*QueryBatchesByClassResponse) Unmarshal

func (m *QueryBatchesByClassResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchesByClassResponse) XXX_DiscardUnknown

func (m *QueryBatchesByClassResponse) XXX_DiscardUnknown()

func (*QueryBatchesByClassResponse) XXX_Marshal

func (m *QueryBatchesByClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchesByClassResponse) XXX_Merge

func (m *QueryBatchesByClassResponse) XXX_Merge(src proto.Message)

func (*QueryBatchesByClassResponse) XXX_Size

func (m *QueryBatchesByClassResponse) XXX_Size() int

func (*QueryBatchesByClassResponse) XXX_Unmarshal

func (m *QueryBatchesByClassResponse) XXX_Unmarshal(b []byte) error

type QueryBatchesByIssuerRequest

type QueryBatchesByIssuerRequest struct {
	// issuer is the address that issued the batch
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBatchesByIssuerRequest is the Query/BatchesByIssuer request type.

func (*QueryBatchesByIssuerRequest) Descriptor

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

func (*QueryBatchesByIssuerRequest) GetIssuer

func (m *QueryBatchesByIssuerRequest) GetIssuer() string

func (*QueryBatchesByIssuerRequest) GetPagination

func (m *QueryBatchesByIssuerRequest) GetPagination() *query.PageRequest

func (*QueryBatchesByIssuerRequest) Marshal

func (m *QueryBatchesByIssuerRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchesByIssuerRequest) MarshalTo

func (m *QueryBatchesByIssuerRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchesByIssuerRequest) MarshalToSizedBuffer

func (m *QueryBatchesByIssuerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchesByIssuerRequest) ProtoMessage

func (*QueryBatchesByIssuerRequest) ProtoMessage()

func (*QueryBatchesByIssuerRequest) Reset

func (m *QueryBatchesByIssuerRequest) Reset()

func (*QueryBatchesByIssuerRequest) Size

func (m *QueryBatchesByIssuerRequest) Size() (n int)

func (*QueryBatchesByIssuerRequest) String

func (m *QueryBatchesByIssuerRequest) String() string

func (*QueryBatchesByIssuerRequest) Unmarshal

func (m *QueryBatchesByIssuerRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchesByIssuerRequest) XXX_DiscardUnknown

func (m *QueryBatchesByIssuerRequest) XXX_DiscardUnknown()

func (*QueryBatchesByIssuerRequest) XXX_Marshal

func (m *QueryBatchesByIssuerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchesByIssuerRequest) XXX_Merge

func (m *QueryBatchesByIssuerRequest) XXX_Merge(src proto.Message)

func (*QueryBatchesByIssuerRequest) XXX_Size

func (m *QueryBatchesByIssuerRequest) XXX_Size() int

func (*QueryBatchesByIssuerRequest) XXX_Unmarshal

func (m *QueryBatchesByIssuerRequest) XXX_Unmarshal(b []byte) error

type QueryBatchesByIssuerResponse

type QueryBatchesByIssuerResponse struct {
	// batches are the fetched credit batches.
	Batches []*BatchInfo `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBatchesByIssuerResponse is the Query/BatchesByIssuer response type.

func (*QueryBatchesByIssuerResponse) Descriptor

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

func (*QueryBatchesByIssuerResponse) GetBatches

func (m *QueryBatchesByIssuerResponse) GetBatches() []*BatchInfo

func (*QueryBatchesByIssuerResponse) GetPagination

func (m *QueryBatchesByIssuerResponse) GetPagination() *query.PageResponse

func (*QueryBatchesByIssuerResponse) Marshal

func (m *QueryBatchesByIssuerResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchesByIssuerResponse) MarshalTo

func (m *QueryBatchesByIssuerResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchesByIssuerResponse) MarshalToSizedBuffer

func (m *QueryBatchesByIssuerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchesByIssuerResponse) ProtoMessage

func (*QueryBatchesByIssuerResponse) ProtoMessage()

func (*QueryBatchesByIssuerResponse) Reset

func (m *QueryBatchesByIssuerResponse) Reset()

func (*QueryBatchesByIssuerResponse) Size

func (m *QueryBatchesByIssuerResponse) Size() (n int)

func (*QueryBatchesByIssuerResponse) String

func (*QueryBatchesByIssuerResponse) Unmarshal

func (m *QueryBatchesByIssuerResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchesByIssuerResponse) XXX_DiscardUnknown

func (m *QueryBatchesByIssuerResponse) XXX_DiscardUnknown()

func (*QueryBatchesByIssuerResponse) XXX_Marshal

func (m *QueryBatchesByIssuerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchesByIssuerResponse) XXX_Merge

func (m *QueryBatchesByIssuerResponse) XXX_Merge(src proto.Message)

func (*QueryBatchesByIssuerResponse) XXX_Size

func (m *QueryBatchesByIssuerResponse) XXX_Size() int

func (*QueryBatchesByIssuerResponse) XXX_Unmarshal

func (m *QueryBatchesByIssuerResponse) XXX_Unmarshal(b []byte) error

type QueryBatchesByProjectRequest

type QueryBatchesByProjectRequest struct {
	// project_id is the unique identifier of the project to query.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBatchesByProjectRequest is the Query/BatchesByProject request type.

func (*QueryBatchesByProjectRequest) Descriptor

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

func (*QueryBatchesByProjectRequest) GetPagination

func (m *QueryBatchesByProjectRequest) GetPagination() *query.PageRequest

func (*QueryBatchesByProjectRequest) GetProjectId

func (m *QueryBatchesByProjectRequest) GetProjectId() string

func (*QueryBatchesByProjectRequest) Marshal

func (m *QueryBatchesByProjectRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchesByProjectRequest) MarshalTo

func (m *QueryBatchesByProjectRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchesByProjectRequest) MarshalToSizedBuffer

func (m *QueryBatchesByProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchesByProjectRequest) ProtoMessage

func (*QueryBatchesByProjectRequest) ProtoMessage()

func (*QueryBatchesByProjectRequest) Reset

func (m *QueryBatchesByProjectRequest) Reset()

func (*QueryBatchesByProjectRequest) Size

func (m *QueryBatchesByProjectRequest) Size() (n int)

func (*QueryBatchesByProjectRequest) String

func (*QueryBatchesByProjectRequest) Unmarshal

func (m *QueryBatchesByProjectRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchesByProjectRequest) XXX_DiscardUnknown

func (m *QueryBatchesByProjectRequest) XXX_DiscardUnknown()

func (*QueryBatchesByProjectRequest) XXX_Marshal

func (m *QueryBatchesByProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchesByProjectRequest) XXX_Merge

func (m *QueryBatchesByProjectRequest) XXX_Merge(src proto.Message)

func (*QueryBatchesByProjectRequest) XXX_Size

func (m *QueryBatchesByProjectRequest) XXX_Size() int

func (*QueryBatchesByProjectRequest) XXX_Unmarshal

func (m *QueryBatchesByProjectRequest) XXX_Unmarshal(b []byte) error

type QueryBatchesByProjectResponse

type QueryBatchesByProjectResponse struct {
	// batches are the fetched credit batches.
	Batches []*BatchInfo `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBatchesByProjectResponse is the Query/BatchesByProject response type.

func (*QueryBatchesByProjectResponse) Descriptor

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

func (*QueryBatchesByProjectResponse) GetBatches

func (m *QueryBatchesByProjectResponse) GetBatches() []*BatchInfo

func (*QueryBatchesByProjectResponse) GetPagination

func (m *QueryBatchesByProjectResponse) GetPagination() *query.PageResponse

func (*QueryBatchesByProjectResponse) Marshal

func (m *QueryBatchesByProjectResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchesByProjectResponse) MarshalTo

func (m *QueryBatchesByProjectResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchesByProjectResponse) MarshalToSizedBuffer

func (m *QueryBatchesByProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchesByProjectResponse) ProtoMessage

func (*QueryBatchesByProjectResponse) ProtoMessage()

func (*QueryBatchesByProjectResponse) Reset

func (m *QueryBatchesByProjectResponse) Reset()

func (*QueryBatchesByProjectResponse) Size

func (m *QueryBatchesByProjectResponse) Size() (n int)

func (*QueryBatchesByProjectResponse) String

func (*QueryBatchesByProjectResponse) Unmarshal

func (m *QueryBatchesByProjectResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchesByProjectResponse) XXX_DiscardUnknown

func (m *QueryBatchesByProjectResponse) XXX_DiscardUnknown()

func (*QueryBatchesByProjectResponse) XXX_Marshal

func (m *QueryBatchesByProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchesByProjectResponse) XXX_Merge

func (m *QueryBatchesByProjectResponse) XXX_Merge(src proto.Message)

func (*QueryBatchesByProjectResponse) XXX_Size

func (m *QueryBatchesByProjectResponse) XXX_Size() int

func (*QueryBatchesByProjectResponse) XXX_Unmarshal

func (m *QueryBatchesByProjectResponse) XXX_Unmarshal(b []byte) error

type QueryBatchesRequest

type QueryBatchesRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBatchesRequest is the Query/Batches request type.

func (*QueryBatchesRequest) Descriptor

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

func (*QueryBatchesRequest) GetPagination

func (m *QueryBatchesRequest) GetPagination() *query.PageRequest

func (*QueryBatchesRequest) Marshal

func (m *QueryBatchesRequest) Marshal() (dAtA []byte, err error)

func (*QueryBatchesRequest) MarshalTo

func (m *QueryBatchesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchesRequest) MarshalToSizedBuffer

func (m *QueryBatchesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchesRequest) ProtoMessage

func (*QueryBatchesRequest) ProtoMessage()

func (*QueryBatchesRequest) Reset

func (m *QueryBatchesRequest) Reset()

func (*QueryBatchesRequest) Size

func (m *QueryBatchesRequest) Size() (n int)

func (*QueryBatchesRequest) String

func (m *QueryBatchesRequest) String() string

func (*QueryBatchesRequest) Unmarshal

func (m *QueryBatchesRequest) Unmarshal(dAtA []byte) error

func (*QueryBatchesRequest) XXX_DiscardUnknown

func (m *QueryBatchesRequest) XXX_DiscardUnknown()

func (*QueryBatchesRequest) XXX_Marshal

func (m *QueryBatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchesRequest) XXX_Merge

func (m *QueryBatchesRequest) XXX_Merge(src proto.Message)

func (*QueryBatchesRequest) XXX_Size

func (m *QueryBatchesRequest) XXX_Size() int

func (*QueryBatchesRequest) XXX_Unmarshal

func (m *QueryBatchesRequest) XXX_Unmarshal(b []byte) error

type QueryBatchesResponse

type QueryBatchesResponse struct {
	// batches are the fetched credit batches.
	Batches []*BatchInfo `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryBatchesResponse is the Query/Batches response type.

func (*QueryBatchesResponse) Descriptor

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

func (*QueryBatchesResponse) GetBatches

func (m *QueryBatchesResponse) GetBatches() []*BatchInfo

func (*QueryBatchesResponse) GetPagination

func (m *QueryBatchesResponse) GetPagination() *query.PageResponse

func (*QueryBatchesResponse) Marshal

func (m *QueryBatchesResponse) Marshal() (dAtA []byte, err error)

func (*QueryBatchesResponse) MarshalTo

func (m *QueryBatchesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBatchesResponse) MarshalToSizedBuffer

func (m *QueryBatchesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBatchesResponse) ProtoMessage

func (*QueryBatchesResponse) ProtoMessage()

func (*QueryBatchesResponse) Reset

func (m *QueryBatchesResponse) Reset()

func (*QueryBatchesResponse) Size

func (m *QueryBatchesResponse) Size() (n int)

func (*QueryBatchesResponse) String

func (m *QueryBatchesResponse) String() string

func (*QueryBatchesResponse) Unmarshal

func (m *QueryBatchesResponse) Unmarshal(dAtA []byte) error

func (*QueryBatchesResponse) XXX_DiscardUnknown

func (m *QueryBatchesResponse) XXX_DiscardUnknown()

func (*QueryBatchesResponse) XXX_Marshal

func (m *QueryBatchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBatchesResponse) XXX_Merge

func (m *QueryBatchesResponse) XXX_Merge(src proto.Message)

func (*QueryBatchesResponse) XXX_Size

func (m *QueryBatchesResponse) XXX_Size() int

func (*QueryBatchesResponse) XXX_Unmarshal

func (m *QueryBatchesResponse) XXX_Unmarshal(b []byte) error

type QueryClassCreatorAllowlistRequest

type QueryClassCreatorAllowlistRequest struct {
}

QueryClassCreatorAllowlistRequest is the Query/ClassCreatorAllowlist request type.

Since Revision 2

func (*QueryClassCreatorAllowlistRequest) Descriptor

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

func (*QueryClassCreatorAllowlistRequest) Marshal

func (m *QueryClassCreatorAllowlistRequest) Marshal() (dAtA []byte, err error)

func (*QueryClassCreatorAllowlistRequest) MarshalTo

func (m *QueryClassCreatorAllowlistRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassCreatorAllowlistRequest) MarshalToSizedBuffer

func (m *QueryClassCreatorAllowlistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassCreatorAllowlistRequest) ProtoMessage

func (*QueryClassCreatorAllowlistRequest) ProtoMessage()

func (*QueryClassCreatorAllowlistRequest) Reset

func (*QueryClassCreatorAllowlistRequest) Size

func (m *QueryClassCreatorAllowlistRequest) Size() (n int)

func (*QueryClassCreatorAllowlistRequest) String

func (*QueryClassCreatorAllowlistRequest) Unmarshal

func (m *QueryClassCreatorAllowlistRequest) Unmarshal(dAtA []byte) error

func (*QueryClassCreatorAllowlistRequest) XXX_DiscardUnknown

func (m *QueryClassCreatorAllowlistRequest) XXX_DiscardUnknown()

func (*QueryClassCreatorAllowlistRequest) XXX_Marshal

func (m *QueryClassCreatorAllowlistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassCreatorAllowlistRequest) XXX_Merge

func (*QueryClassCreatorAllowlistRequest) XXX_Size

func (m *QueryClassCreatorAllowlistRequest) XXX_Size() int

func (*QueryClassCreatorAllowlistRequest) XXX_Unmarshal

func (m *QueryClassCreatorAllowlistRequest) XXX_Unmarshal(b []byte) error

type QueryClassCreatorAllowlistResponse

type QueryClassCreatorAllowlistResponse struct {
	// enabled determines whether or not the allowlist for creating credit classes
	// is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

QueryClassCreatorAllowlistResponse is the Query/ClassCreatorAllowlist response type.

Since Revision 2

func (*QueryClassCreatorAllowlistResponse) Descriptor

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

func (*QueryClassCreatorAllowlistResponse) GetEnabled

func (m *QueryClassCreatorAllowlistResponse) GetEnabled() bool

func (*QueryClassCreatorAllowlistResponse) Marshal

func (m *QueryClassCreatorAllowlistResponse) Marshal() (dAtA []byte, err error)

func (*QueryClassCreatorAllowlistResponse) MarshalTo

func (m *QueryClassCreatorAllowlistResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassCreatorAllowlistResponse) MarshalToSizedBuffer

func (m *QueryClassCreatorAllowlistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassCreatorAllowlistResponse) ProtoMessage

func (*QueryClassCreatorAllowlistResponse) ProtoMessage()

func (*QueryClassCreatorAllowlistResponse) Reset

func (*QueryClassCreatorAllowlistResponse) Size

func (*QueryClassCreatorAllowlistResponse) String

func (*QueryClassCreatorAllowlistResponse) Unmarshal

func (m *QueryClassCreatorAllowlistResponse) Unmarshal(dAtA []byte) error

func (*QueryClassCreatorAllowlistResponse) XXX_DiscardUnknown

func (m *QueryClassCreatorAllowlistResponse) XXX_DiscardUnknown()

func (*QueryClassCreatorAllowlistResponse) XXX_Marshal

func (m *QueryClassCreatorAllowlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassCreatorAllowlistResponse) XXX_Merge

func (*QueryClassCreatorAllowlistResponse) XXX_Size

func (*QueryClassCreatorAllowlistResponse) XXX_Unmarshal

func (m *QueryClassCreatorAllowlistResponse) XXX_Unmarshal(b []byte) error

type QueryClassFeeRequest

type QueryClassFeeRequest struct {
}

QueryClassFeeRequest is the Query/ClassFee request type.

Since Revision 2

func (*QueryClassFeeRequest) Descriptor

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

func (*QueryClassFeeRequest) Marshal

func (m *QueryClassFeeRequest) Marshal() (dAtA []byte, err error)

func (*QueryClassFeeRequest) MarshalTo

func (m *QueryClassFeeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassFeeRequest) MarshalToSizedBuffer

func (m *QueryClassFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassFeeRequest) ProtoMessage

func (*QueryClassFeeRequest) ProtoMessage()

func (*QueryClassFeeRequest) Reset

func (m *QueryClassFeeRequest) Reset()

func (*QueryClassFeeRequest) Size

func (m *QueryClassFeeRequest) Size() (n int)

func (*QueryClassFeeRequest) String

func (m *QueryClassFeeRequest) String() string

func (*QueryClassFeeRequest) Unmarshal

func (m *QueryClassFeeRequest) Unmarshal(dAtA []byte) error

func (*QueryClassFeeRequest) XXX_DiscardUnknown

func (m *QueryClassFeeRequest) XXX_DiscardUnknown()

func (*QueryClassFeeRequest) XXX_Marshal

func (m *QueryClassFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassFeeRequest) XXX_Merge

func (m *QueryClassFeeRequest) XXX_Merge(src proto.Message)

func (*QueryClassFeeRequest) XXX_Size

func (m *QueryClassFeeRequest) XXX_Size() int

func (*QueryClassFeeRequest) XXX_Unmarshal

func (m *QueryClassFeeRequest) XXX_Unmarshal(b []byte) error

type QueryClassFeeResponse

type QueryClassFeeResponse struct {
	// fee is the credit class creation fee. If not set, a credit class creation
	// fee is not required.
	Fee *types1.Coin `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
}

QueryClassFeeResponse is the Query/ClassFee response type.

Since Revision 2

func (*QueryClassFeeResponse) Descriptor

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

func (*QueryClassFeeResponse) GetFee

func (m *QueryClassFeeResponse) GetFee() *types1.Coin

func (*QueryClassFeeResponse) Marshal

func (m *QueryClassFeeResponse) Marshal() (dAtA []byte, err error)

func (*QueryClassFeeResponse) MarshalTo

func (m *QueryClassFeeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassFeeResponse) MarshalToSizedBuffer

func (m *QueryClassFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassFeeResponse) ProtoMessage

func (*QueryClassFeeResponse) ProtoMessage()

func (*QueryClassFeeResponse) Reset

func (m *QueryClassFeeResponse) Reset()

func (*QueryClassFeeResponse) Size

func (m *QueryClassFeeResponse) Size() (n int)

func (*QueryClassFeeResponse) String

func (m *QueryClassFeeResponse) String() string

func (*QueryClassFeeResponse) Unmarshal

func (m *QueryClassFeeResponse) Unmarshal(dAtA []byte) error

func (*QueryClassFeeResponse) XXX_DiscardUnknown

func (m *QueryClassFeeResponse) XXX_DiscardUnknown()

func (*QueryClassFeeResponse) XXX_Marshal

func (m *QueryClassFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassFeeResponse) XXX_Merge

func (m *QueryClassFeeResponse) XXX_Merge(src proto.Message)

func (*QueryClassFeeResponse) XXX_Size

func (m *QueryClassFeeResponse) XXX_Size() int

func (*QueryClassFeeResponse) XXX_Unmarshal

func (m *QueryClassFeeResponse) XXX_Unmarshal(b []byte) error

type QueryClassIssuersRequest

type QueryClassIssuersRequest struct {
	// class_id is the unique identifier of the credit class to query.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryClassIssuersRequest is the Query/ClassIssuers request type.

func (*QueryClassIssuersRequest) Descriptor

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

func (*QueryClassIssuersRequest) GetClassId

func (m *QueryClassIssuersRequest) GetClassId() string

func (*QueryClassIssuersRequest) GetPagination

func (m *QueryClassIssuersRequest) GetPagination() *query.PageRequest

func (*QueryClassIssuersRequest) Marshal

func (m *QueryClassIssuersRequest) Marshal() (dAtA []byte, err error)

func (*QueryClassIssuersRequest) MarshalTo

func (m *QueryClassIssuersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassIssuersRequest) MarshalToSizedBuffer

func (m *QueryClassIssuersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassIssuersRequest) ProtoMessage

func (*QueryClassIssuersRequest) ProtoMessage()

func (*QueryClassIssuersRequest) Reset

func (m *QueryClassIssuersRequest) Reset()

func (*QueryClassIssuersRequest) Size

func (m *QueryClassIssuersRequest) Size() (n int)

func (*QueryClassIssuersRequest) String

func (m *QueryClassIssuersRequest) String() string

func (*QueryClassIssuersRequest) Unmarshal

func (m *QueryClassIssuersRequest) Unmarshal(dAtA []byte) error

func (*QueryClassIssuersRequest) XXX_DiscardUnknown

func (m *QueryClassIssuersRequest) XXX_DiscardUnknown()

func (*QueryClassIssuersRequest) XXX_Marshal

func (m *QueryClassIssuersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassIssuersRequest) XXX_Merge

func (m *QueryClassIssuersRequest) XXX_Merge(src proto.Message)

func (*QueryClassIssuersRequest) XXX_Size

func (m *QueryClassIssuersRequest) XXX_Size() int

func (*QueryClassIssuersRequest) XXX_Unmarshal

func (m *QueryClassIssuersRequest) XXX_Unmarshal(b []byte) error

type QueryClassIssuersResponse

type QueryClassIssuersResponse struct {
	// issuers is a list of issuers for the credit class
	Issuers []string `protobuf:"bytes,1,rep,name=issuers,proto3" json:"issuers,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryClassIssuersRequest is the Query/ClassIssuers response type.

func (*QueryClassIssuersResponse) Descriptor

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

func (*QueryClassIssuersResponse) GetIssuers

func (m *QueryClassIssuersResponse) GetIssuers() []string

func (*QueryClassIssuersResponse) GetPagination

func (m *QueryClassIssuersResponse) GetPagination() *query.PageResponse

func (*QueryClassIssuersResponse) Marshal

func (m *QueryClassIssuersResponse) Marshal() (dAtA []byte, err error)

func (*QueryClassIssuersResponse) MarshalTo

func (m *QueryClassIssuersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassIssuersResponse) MarshalToSizedBuffer

func (m *QueryClassIssuersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassIssuersResponse) ProtoMessage

func (*QueryClassIssuersResponse) ProtoMessage()

func (*QueryClassIssuersResponse) Reset

func (m *QueryClassIssuersResponse) Reset()

func (*QueryClassIssuersResponse) Size

func (m *QueryClassIssuersResponse) Size() (n int)

func (*QueryClassIssuersResponse) String

func (m *QueryClassIssuersResponse) String() string

func (*QueryClassIssuersResponse) Unmarshal

func (m *QueryClassIssuersResponse) Unmarshal(dAtA []byte) error

func (*QueryClassIssuersResponse) XXX_DiscardUnknown

func (m *QueryClassIssuersResponse) XXX_DiscardUnknown()

func (*QueryClassIssuersResponse) XXX_Marshal

func (m *QueryClassIssuersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassIssuersResponse) XXX_Merge

func (m *QueryClassIssuersResponse) XXX_Merge(src proto.Message)

func (*QueryClassIssuersResponse) XXX_Size

func (m *QueryClassIssuersResponse) XXX_Size() int

func (*QueryClassIssuersResponse) XXX_Unmarshal

func (m *QueryClassIssuersResponse) XXX_Unmarshal(b []byte) error

type QueryClassRequest

type QueryClassRequest struct {
	// class_id is the unique identifier of the credit class to query.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
}

QueryClassRequest is the Query/Class request type.

func (*QueryClassRequest) Descriptor

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

func (*QueryClassRequest) GetClassId

func (m *QueryClassRequest) GetClassId() string

func (*QueryClassRequest) Marshal

func (m *QueryClassRequest) Marshal() (dAtA []byte, err error)

func (*QueryClassRequest) MarshalTo

func (m *QueryClassRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassRequest) MarshalToSizedBuffer

func (m *QueryClassRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassRequest) ProtoMessage

func (*QueryClassRequest) ProtoMessage()

func (*QueryClassRequest) Reset

func (m *QueryClassRequest) Reset()

func (*QueryClassRequest) Size

func (m *QueryClassRequest) Size() (n int)

func (*QueryClassRequest) String

func (m *QueryClassRequest) String() string

func (*QueryClassRequest) Unmarshal

func (m *QueryClassRequest) Unmarshal(dAtA []byte) error

func (*QueryClassRequest) XXX_DiscardUnknown

func (m *QueryClassRequest) XXX_DiscardUnknown()

func (*QueryClassRequest) XXX_Marshal

func (m *QueryClassRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassRequest) XXX_Merge

func (m *QueryClassRequest) XXX_Merge(src proto.Message)

func (*QueryClassRequest) XXX_Size

func (m *QueryClassRequest) XXX_Size() int

func (*QueryClassRequest) XXX_Unmarshal

func (m *QueryClassRequest) XXX_Unmarshal(b []byte) error

type QueryClassResponse

type QueryClassResponse struct {
	// class is the fetched credit class.
	Class *ClassInfo `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"`
}

QueryClassResponse is the Query/Class request type.

func (*QueryClassResponse) Descriptor

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

func (*QueryClassResponse) GetClass

func (m *QueryClassResponse) GetClass() *ClassInfo

func (*QueryClassResponse) Marshal

func (m *QueryClassResponse) Marshal() (dAtA []byte, err error)

func (*QueryClassResponse) MarshalTo

func (m *QueryClassResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassResponse) MarshalToSizedBuffer

func (m *QueryClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassResponse) ProtoMessage

func (*QueryClassResponse) ProtoMessage()

func (*QueryClassResponse) Reset

func (m *QueryClassResponse) Reset()

func (*QueryClassResponse) Size

func (m *QueryClassResponse) Size() (n int)

func (*QueryClassResponse) String

func (m *QueryClassResponse) String() string

func (*QueryClassResponse) Unmarshal

func (m *QueryClassResponse) Unmarshal(dAtA []byte) error

func (*QueryClassResponse) XXX_DiscardUnknown

func (m *QueryClassResponse) XXX_DiscardUnknown()

func (*QueryClassResponse) XXX_Marshal

func (m *QueryClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassResponse) XXX_Merge

func (m *QueryClassResponse) XXX_Merge(src proto.Message)

func (*QueryClassResponse) XXX_Size

func (m *QueryClassResponse) XXX_Size() int

func (*QueryClassResponse) XXX_Unmarshal

func (m *QueryClassResponse) XXX_Unmarshal(b []byte) error

type QueryClassesByAdminRequest

type QueryClassesByAdminRequest struct {
	// admin is the address of the admin of the class.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryClassesByAdminRequest is the Query/ClassesByAdmin request type.

func (*QueryClassesByAdminRequest) Descriptor

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

func (*QueryClassesByAdminRequest) GetAdmin

func (m *QueryClassesByAdminRequest) GetAdmin() string

func (*QueryClassesByAdminRequest) GetPagination

func (m *QueryClassesByAdminRequest) GetPagination() *query.PageRequest

func (*QueryClassesByAdminRequest) Marshal

func (m *QueryClassesByAdminRequest) Marshal() (dAtA []byte, err error)

func (*QueryClassesByAdminRequest) MarshalTo

func (m *QueryClassesByAdminRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassesByAdminRequest) MarshalToSizedBuffer

func (m *QueryClassesByAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassesByAdminRequest) ProtoMessage

func (*QueryClassesByAdminRequest) ProtoMessage()

func (*QueryClassesByAdminRequest) Reset

func (m *QueryClassesByAdminRequest) Reset()

func (*QueryClassesByAdminRequest) Size

func (m *QueryClassesByAdminRequest) Size() (n int)

func (*QueryClassesByAdminRequest) String

func (m *QueryClassesByAdminRequest) String() string

func (*QueryClassesByAdminRequest) Unmarshal

func (m *QueryClassesByAdminRequest) Unmarshal(dAtA []byte) error

func (*QueryClassesByAdminRequest) XXX_DiscardUnknown

func (m *QueryClassesByAdminRequest) XXX_DiscardUnknown()

func (*QueryClassesByAdminRequest) XXX_Marshal

func (m *QueryClassesByAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassesByAdminRequest) XXX_Merge

func (m *QueryClassesByAdminRequest) XXX_Merge(src proto.Message)

func (*QueryClassesByAdminRequest) XXX_Size

func (m *QueryClassesByAdminRequest) XXX_Size() int

func (*QueryClassesByAdminRequest) XXX_Unmarshal

func (m *QueryClassesByAdminRequest) XXX_Unmarshal(b []byte) error

type QueryClassesByAdminResponse

type QueryClassesByAdminResponse struct {
	// classes are the fetched credit classes.
	Classes []*ClassInfo `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryClassesByAdminResponse is the Query/ClassesByAdmin response type.

func (*QueryClassesByAdminResponse) Descriptor

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

func (*QueryClassesByAdminResponse) GetClasses

func (m *QueryClassesByAdminResponse) GetClasses() []*ClassInfo

func (*QueryClassesByAdminResponse) GetPagination

func (m *QueryClassesByAdminResponse) GetPagination() *query.PageResponse

func (*QueryClassesByAdminResponse) Marshal

func (m *QueryClassesByAdminResponse) Marshal() (dAtA []byte, err error)

func (*QueryClassesByAdminResponse) MarshalTo

func (m *QueryClassesByAdminResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassesByAdminResponse) MarshalToSizedBuffer

func (m *QueryClassesByAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassesByAdminResponse) ProtoMessage

func (*QueryClassesByAdminResponse) ProtoMessage()

func (*QueryClassesByAdminResponse) Reset

func (m *QueryClassesByAdminResponse) Reset()

func (*QueryClassesByAdminResponse) Size

func (m *QueryClassesByAdminResponse) Size() (n int)

func (*QueryClassesByAdminResponse) String

func (m *QueryClassesByAdminResponse) String() string

func (*QueryClassesByAdminResponse) Unmarshal

func (m *QueryClassesByAdminResponse) Unmarshal(dAtA []byte) error

func (*QueryClassesByAdminResponse) XXX_DiscardUnknown

func (m *QueryClassesByAdminResponse) XXX_DiscardUnknown()

func (*QueryClassesByAdminResponse) XXX_Marshal

func (m *QueryClassesByAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassesByAdminResponse) XXX_Merge

func (m *QueryClassesByAdminResponse) XXX_Merge(src proto.Message)

func (*QueryClassesByAdminResponse) XXX_Size

func (m *QueryClassesByAdminResponse) XXX_Size() int

func (*QueryClassesByAdminResponse) XXX_Unmarshal

func (m *QueryClassesByAdminResponse) XXX_Unmarshal(b []byte) error

type QueryClassesRequest

type QueryClassesRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryClassesRequest is the Query/Classes request type.

func (*QueryClassesRequest) Descriptor

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

func (*QueryClassesRequest) GetPagination

func (m *QueryClassesRequest) GetPagination() *query.PageRequest

func (*QueryClassesRequest) Marshal

func (m *QueryClassesRequest) Marshal() (dAtA []byte, err error)

func (*QueryClassesRequest) MarshalTo

func (m *QueryClassesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassesRequest) MarshalToSizedBuffer

func (m *QueryClassesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassesRequest) ProtoMessage

func (*QueryClassesRequest) ProtoMessage()

func (*QueryClassesRequest) Reset

func (m *QueryClassesRequest) Reset()

func (*QueryClassesRequest) Size

func (m *QueryClassesRequest) Size() (n int)

func (*QueryClassesRequest) String

func (m *QueryClassesRequest) String() string

func (*QueryClassesRequest) Unmarshal

func (m *QueryClassesRequest) Unmarshal(dAtA []byte) error

func (*QueryClassesRequest) XXX_DiscardUnknown

func (m *QueryClassesRequest) XXX_DiscardUnknown()

func (*QueryClassesRequest) XXX_Marshal

func (m *QueryClassesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassesRequest) XXX_Merge

func (m *QueryClassesRequest) XXX_Merge(src proto.Message)

func (*QueryClassesRequest) XXX_Size

func (m *QueryClassesRequest) XXX_Size() int

func (*QueryClassesRequest) XXX_Unmarshal

func (m *QueryClassesRequest) XXX_Unmarshal(b []byte) error

type QueryClassesResponse

type QueryClassesResponse struct {
	// classes are the fetched credit classes.
	Classes []*ClassInfo `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryClassesResponse is the Query/Classes response type.

func (*QueryClassesResponse) Descriptor

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

func (*QueryClassesResponse) GetClasses

func (m *QueryClassesResponse) GetClasses() []*ClassInfo

func (*QueryClassesResponse) GetPagination

func (m *QueryClassesResponse) GetPagination() *query.PageResponse

func (*QueryClassesResponse) Marshal

func (m *QueryClassesResponse) Marshal() (dAtA []byte, err error)

func (*QueryClassesResponse) MarshalTo

func (m *QueryClassesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClassesResponse) MarshalToSizedBuffer

func (m *QueryClassesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClassesResponse) ProtoMessage

func (*QueryClassesResponse) ProtoMessage()

func (*QueryClassesResponse) Reset

func (m *QueryClassesResponse) Reset()

func (*QueryClassesResponse) Size

func (m *QueryClassesResponse) Size() (n int)

func (*QueryClassesResponse) String

func (m *QueryClassesResponse) String() string

func (*QueryClassesResponse) Unmarshal

func (m *QueryClassesResponse) Unmarshal(dAtA []byte) error

func (*QueryClassesResponse) XXX_DiscardUnknown

func (m *QueryClassesResponse) XXX_DiscardUnknown()

func (*QueryClassesResponse) XXX_Marshal

func (m *QueryClassesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClassesResponse) XXX_Merge

func (m *QueryClassesResponse) XXX_Merge(src proto.Message)

func (*QueryClassesResponse) XXX_Size

func (m *QueryClassesResponse) XXX_Size() int

func (*QueryClassesResponse) XXX_Unmarshal

func (m *QueryClassesResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Classes queries for all credit classes with pagination.
	Classes(ctx context.Context, in *QueryClassesRequest, opts ...grpc.CallOption) (*QueryClassesResponse, error)
	// ClassesByAdmin queries for all credit classes with a specific admin
	// address.
	ClassesByAdmin(ctx context.Context, in *QueryClassesByAdminRequest, opts ...grpc.CallOption) (*QueryClassesByAdminResponse, error)
	// Class queries for information on a credit class.
	Class(ctx context.Context, in *QueryClassRequest, opts ...grpc.CallOption) (*QueryClassResponse, error)
	// ClassIssuers queries for the addresses of the issuers for a credit class.
	ClassIssuers(ctx context.Context, in *QueryClassIssuersRequest, opts ...grpc.CallOption) (*QueryClassIssuersResponse, error)
	// Projects queries for all projects with pagination.
	Projects(ctx context.Context, in *QueryProjectsRequest, opts ...grpc.CallOption) (*QueryProjectsResponse, error)
	// ProjectsByClass queries for all projects within a class with pagination.
	ProjectsByClass(ctx context.Context, in *QueryProjectsByClassRequest, opts ...grpc.CallOption) (*QueryProjectsByClassResponse, error)
	// ProjectsByReferenceId queries for all projects by reference-id with
	// pagination.
	ProjectsByReferenceId(ctx context.Context, in *QueryProjectsByReferenceIdRequest, opts ...grpc.CallOption) (*QueryProjectsByReferenceIdResponse, error)
	// ProjectsByAdmin queries for all projects by admin with
	// pagination.
	ProjectsByAdmin(ctx context.Context, in *QueryProjectsByAdminRequest, opts ...grpc.CallOption) (*QueryProjectsByAdminResponse, error)
	// Project queries for information on a project.
	Project(ctx context.Context, in *QueryProjectRequest, opts ...grpc.CallOption) (*QueryProjectResponse, error)
	// Batches queries for all batches with pagination.
	Batches(ctx context.Context, in *QueryBatchesRequest, opts ...grpc.CallOption) (*QueryBatchesResponse, error)
	// BatchesByIssuer queries all batches issued from a given issuer address.
	BatchesByIssuer(ctx context.Context, in *QueryBatchesByIssuerRequest, opts ...grpc.CallOption) (*QueryBatchesByIssuerResponse, error)
	// BatchesByClass queries all batches issued from a given class.
	BatchesByClass(ctx context.Context, in *QueryBatchesByClassRequest, opts ...grpc.CallOption) (*QueryBatchesByClassResponse, error)
	// BatchesByProject queries for all batches from a given project with
	// pagination.
	BatchesByProject(ctx context.Context, in *QueryBatchesByProjectRequest, opts ...grpc.CallOption) (*QueryBatchesByProjectResponse, error)
	// Batch queries for information on a credit batch.
	Batch(ctx context.Context, in *QueryBatchRequest, opts ...grpc.CallOption) (*QueryBatchResponse, error)
	// Balance queries the balance (both tradable and retired) of a given credit
	// batch for a given account address.
	Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
	// Balances queries all credit balances the given account holds.
	Balances(ctx context.Context, in *QueryBalancesRequest, opts ...grpc.CallOption) (*QueryBalancesResponse, error)
	// BalancesByBatch queries all credit balances from a given batch.
	//
	// Since Revision 2
	BalancesByBatch(ctx context.Context, in *QueryBalancesByBatchRequest, opts ...grpc.CallOption) (*QueryBalancesByBatchResponse, error)
	// AllBalances queries all credit balances.
	//
	// Since Revision 2
	AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error)
	// Supply queries the tradable and retired supply of a credit batch.
	Supply(ctx context.Context, in *QuerySupplyRequest, opts ...grpc.CallOption) (*QuerySupplyResponse, error)
	// CreditTypes returns the list of allowed types that credit classes can have.
	// See Types/CreditType for more details.
	CreditTypes(ctx context.Context, in *QueryCreditTypesRequest, opts ...grpc.CallOption) (*QueryCreditTypesResponse, error)
	// Params queries the ecocredit module parameters.
	//
	// Deprecated (Since Revision 2): This rpc will be removed in the next
	// version.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// CreditType queries credit type information by abbreviation.
	CreditType(ctx context.Context, in *QueryCreditTypeRequest, opts ...grpc.CallOption) (*QueryCreditTypeResponse, error)
	// ClassCreatorAllowlist queries the credit class creator allowlist
	// enabled setting.
	//
	// Since Revision 2
	ClassCreatorAllowlist(ctx context.Context, in *QueryClassCreatorAllowlistRequest, opts ...grpc.CallOption) (*QueryClassCreatorAllowlistResponse, error)
	// AllowedClassCreators queries allowed credit class creators list.
	//
	// Since Revision 2
	AllowedClassCreators(ctx context.Context, in *QueryAllowedClassCreatorsRequest, opts ...grpc.CallOption) (*QueryAllowedClassCreatorsResponse, error)
	// ClassFee returns the credit class creation fee. If not set, a credit class
	// creation fee is not required.
	//
	// Since Revision 2
	ClassFee(ctx context.Context, in *QueryClassFeeRequest, opts ...grpc.CallOption) (*QueryClassFeeResponse, error)
	// AllowedBridgeChains queries the list of chains allowed to be used in bridge
	// operations.
	//
	// Since Revision 2
	AllowedBridgeChains(ctx context.Context, in *QueryAllowedBridgeChainsRequest, opts ...grpc.CallOption) (*QueryAllowedBridgeChainsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryCreditTypeRequest

type QueryCreditTypeRequest struct {
	// abbreviation is the abbreviation of the credit type.
	Abbreviation string `protobuf:"bytes,1,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"`
}

QueryCreditTypeRequest is the Query/CreditType request type

func (*QueryCreditTypeRequest) Descriptor

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

func (*QueryCreditTypeRequest) GetAbbreviation

func (m *QueryCreditTypeRequest) GetAbbreviation() string

func (*QueryCreditTypeRequest) Marshal

func (m *QueryCreditTypeRequest) Marshal() (dAtA []byte, err error)

func (*QueryCreditTypeRequest) MarshalTo

func (m *QueryCreditTypeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCreditTypeRequest) MarshalToSizedBuffer

func (m *QueryCreditTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCreditTypeRequest) ProtoMessage

func (*QueryCreditTypeRequest) ProtoMessage()

func (*QueryCreditTypeRequest) Reset

func (m *QueryCreditTypeRequest) Reset()

func (*QueryCreditTypeRequest) Size

func (m *QueryCreditTypeRequest) Size() (n int)

func (*QueryCreditTypeRequest) String

func (m *QueryCreditTypeRequest) String() string

func (*QueryCreditTypeRequest) Unmarshal

func (m *QueryCreditTypeRequest) Unmarshal(dAtA []byte) error

func (*QueryCreditTypeRequest) XXX_DiscardUnknown

func (m *QueryCreditTypeRequest) XXX_DiscardUnknown()

func (*QueryCreditTypeRequest) XXX_Marshal

func (m *QueryCreditTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCreditTypeRequest) XXX_Merge

func (m *QueryCreditTypeRequest) XXX_Merge(src proto.Message)

func (*QueryCreditTypeRequest) XXX_Size

func (m *QueryCreditTypeRequest) XXX_Size() int

func (*QueryCreditTypeRequest) XXX_Unmarshal

func (m *QueryCreditTypeRequest) XXX_Unmarshal(b []byte) error

type QueryCreditTypeResponse

type QueryCreditTypeResponse struct {
	// credit_type is the fetched credit type.
	CreditType *CreditType `protobuf:"bytes,1,opt,name=credit_type,json=creditType,proto3" json:"credit_type,omitempty"`
}

QueryCreditTypeResponse is the Query/CreditType response type

func (*QueryCreditTypeResponse) Descriptor

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

func (*QueryCreditTypeResponse) GetCreditType

func (m *QueryCreditTypeResponse) GetCreditType() *CreditType

func (*QueryCreditTypeResponse) Marshal

func (m *QueryCreditTypeResponse) Marshal() (dAtA []byte, err error)

func (*QueryCreditTypeResponse) MarshalTo

func (m *QueryCreditTypeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCreditTypeResponse) MarshalToSizedBuffer

func (m *QueryCreditTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCreditTypeResponse) ProtoMessage

func (*QueryCreditTypeResponse) ProtoMessage()

func (*QueryCreditTypeResponse) Reset

func (m *QueryCreditTypeResponse) Reset()

func (*QueryCreditTypeResponse) Size

func (m *QueryCreditTypeResponse) Size() (n int)

func (*QueryCreditTypeResponse) String

func (m *QueryCreditTypeResponse) String() string

func (*QueryCreditTypeResponse) Unmarshal

func (m *QueryCreditTypeResponse) Unmarshal(dAtA []byte) error

func (*QueryCreditTypeResponse) XXX_DiscardUnknown

func (m *QueryCreditTypeResponse) XXX_DiscardUnknown()

func (*QueryCreditTypeResponse) XXX_Marshal

func (m *QueryCreditTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCreditTypeResponse) XXX_Merge

func (m *QueryCreditTypeResponse) XXX_Merge(src proto.Message)

func (*QueryCreditTypeResponse) XXX_Size

func (m *QueryCreditTypeResponse) XXX_Size() int

func (*QueryCreditTypeResponse) XXX_Unmarshal

func (m *QueryCreditTypeResponse) XXX_Unmarshal(b []byte) error

type QueryCreditTypesRequest

type QueryCreditTypesRequest struct {
}

QueryCreditTypesRequest is the Query/Credit_Types request type

func (*QueryCreditTypesRequest) Descriptor

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

func (*QueryCreditTypesRequest) Marshal

func (m *QueryCreditTypesRequest) Marshal() (dAtA []byte, err error)

func (*QueryCreditTypesRequest) MarshalTo

func (m *QueryCreditTypesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCreditTypesRequest) MarshalToSizedBuffer

func (m *QueryCreditTypesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCreditTypesRequest) ProtoMessage

func (*QueryCreditTypesRequest) ProtoMessage()

func (*QueryCreditTypesRequest) Reset

func (m *QueryCreditTypesRequest) Reset()

func (*QueryCreditTypesRequest) Size

func (m *QueryCreditTypesRequest) Size() (n int)

func (*QueryCreditTypesRequest) String

func (m *QueryCreditTypesRequest) String() string

func (*QueryCreditTypesRequest) Unmarshal

func (m *QueryCreditTypesRequest) Unmarshal(dAtA []byte) error

func (*QueryCreditTypesRequest) XXX_DiscardUnknown

func (m *QueryCreditTypesRequest) XXX_DiscardUnknown()

func (*QueryCreditTypesRequest) XXX_Marshal

func (m *QueryCreditTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCreditTypesRequest) XXX_Merge

func (m *QueryCreditTypesRequest) XXX_Merge(src proto.Message)

func (*QueryCreditTypesRequest) XXX_Size

func (m *QueryCreditTypesRequest) XXX_Size() int

func (*QueryCreditTypesRequest) XXX_Unmarshal

func (m *QueryCreditTypesRequest) XXX_Unmarshal(b []byte) error

type QueryCreditTypesResponse

type QueryCreditTypesResponse struct {
	// credit_types are the fetched credit types.
	CreditTypes []*CreditType `protobuf:"bytes,1,rep,name=credit_types,json=creditTypes,proto3" json:"credit_types,omitempty"`
}

QueryCreditTypesRequest is the Query/Credit_Types response type

func (*QueryCreditTypesResponse) Descriptor

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

func (*QueryCreditTypesResponse) GetCreditTypes

func (m *QueryCreditTypesResponse) GetCreditTypes() []*CreditType

func (*QueryCreditTypesResponse) Marshal

func (m *QueryCreditTypesResponse) Marshal() (dAtA []byte, err error)

func (*QueryCreditTypesResponse) MarshalTo

func (m *QueryCreditTypesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCreditTypesResponse) MarshalToSizedBuffer

func (m *QueryCreditTypesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCreditTypesResponse) ProtoMessage

func (*QueryCreditTypesResponse) ProtoMessage()

func (*QueryCreditTypesResponse) Reset

func (m *QueryCreditTypesResponse) Reset()

func (*QueryCreditTypesResponse) Size

func (m *QueryCreditTypesResponse) Size() (n int)

func (*QueryCreditTypesResponse) String

func (m *QueryCreditTypesResponse) String() string

func (*QueryCreditTypesResponse) Unmarshal

func (m *QueryCreditTypesResponse) Unmarshal(dAtA []byte) error

func (*QueryCreditTypesResponse) XXX_DiscardUnknown

func (m *QueryCreditTypesResponse) XXX_DiscardUnknown()

func (*QueryCreditTypesResponse) XXX_Marshal

func (m *QueryCreditTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCreditTypesResponse) XXX_Merge

func (m *QueryCreditTypesResponse) XXX_Merge(src proto.Message)

func (*QueryCreditTypesResponse) XXX_Size

func (m *QueryCreditTypesResponse) XXX_Size() int

func (*QueryCreditTypesResponse) XXX_Unmarshal

func (m *QueryCreditTypesResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is the Query/Params request type.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params defines the parameters of the ecocredit module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

QueryParamsResponse is the Query/Params response type.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryProjectRequest

type QueryProjectRequest struct {
	// project_id is the unique identifier of the project to query.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}

QueryProjectRequest is the Query/Project request type.

func (*QueryProjectRequest) Descriptor

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

func (*QueryProjectRequest) GetProjectId

func (m *QueryProjectRequest) GetProjectId() string

func (*QueryProjectRequest) Marshal

func (m *QueryProjectRequest) Marshal() (dAtA []byte, err error)

func (*QueryProjectRequest) MarshalTo

func (m *QueryProjectRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectRequest) MarshalToSizedBuffer

func (m *QueryProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectRequest) ProtoMessage

func (*QueryProjectRequest) ProtoMessage()

func (*QueryProjectRequest) Reset

func (m *QueryProjectRequest) Reset()

func (*QueryProjectRequest) Size

func (m *QueryProjectRequest) Size() (n int)

func (*QueryProjectRequest) String

func (m *QueryProjectRequest) String() string

func (*QueryProjectRequest) Unmarshal

func (m *QueryProjectRequest) Unmarshal(dAtA []byte) error

func (*QueryProjectRequest) XXX_DiscardUnknown

func (m *QueryProjectRequest) XXX_DiscardUnknown()

func (*QueryProjectRequest) XXX_Marshal

func (m *QueryProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectRequest) XXX_Merge

func (m *QueryProjectRequest) XXX_Merge(src proto.Message)

func (*QueryProjectRequest) XXX_Size

func (m *QueryProjectRequest) XXX_Size() int

func (*QueryProjectRequest) XXX_Unmarshal

func (m *QueryProjectRequest) XXX_Unmarshal(b []byte) error

type QueryProjectResponse

type QueryProjectResponse struct {
	// project is the fetched project.
	Project *ProjectInfo `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
}

QueryProjectResponse is the Query/Project response type.

func (*QueryProjectResponse) Descriptor

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

func (*QueryProjectResponse) GetProject

func (m *QueryProjectResponse) GetProject() *ProjectInfo

func (*QueryProjectResponse) Marshal

func (m *QueryProjectResponse) Marshal() (dAtA []byte, err error)

func (*QueryProjectResponse) MarshalTo

func (m *QueryProjectResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectResponse) MarshalToSizedBuffer

func (m *QueryProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectResponse) ProtoMessage

func (*QueryProjectResponse) ProtoMessage()

func (*QueryProjectResponse) Reset

func (m *QueryProjectResponse) Reset()

func (*QueryProjectResponse) Size

func (m *QueryProjectResponse) Size() (n int)

func (*QueryProjectResponse) String

func (m *QueryProjectResponse) String() string

func (*QueryProjectResponse) Unmarshal

func (m *QueryProjectResponse) Unmarshal(dAtA []byte) error

func (*QueryProjectResponse) XXX_DiscardUnknown

func (m *QueryProjectResponse) XXX_DiscardUnknown()

func (*QueryProjectResponse) XXX_Marshal

func (m *QueryProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectResponse) XXX_Merge

func (m *QueryProjectResponse) XXX_Merge(src proto.Message)

func (*QueryProjectResponse) XXX_Size

func (m *QueryProjectResponse) XXX_Size() int

func (*QueryProjectResponse) XXX_Unmarshal

func (m *QueryProjectResponse) XXX_Unmarshal(b []byte) error

type QueryProjectsByAdminRequest

type QueryProjectsByAdminRequest struct {
	// admin is the account address of project admin.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProjectsByAdminRequest is the Query/ProjectByAdmin request type.

func (*QueryProjectsByAdminRequest) Descriptor

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

func (*QueryProjectsByAdminRequest) GetAdmin

func (m *QueryProjectsByAdminRequest) GetAdmin() string

func (*QueryProjectsByAdminRequest) GetPagination

func (m *QueryProjectsByAdminRequest) GetPagination() *query.PageRequest

func (*QueryProjectsByAdminRequest) Marshal

func (m *QueryProjectsByAdminRequest) Marshal() (dAtA []byte, err error)

func (*QueryProjectsByAdminRequest) MarshalTo

func (m *QueryProjectsByAdminRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectsByAdminRequest) MarshalToSizedBuffer

func (m *QueryProjectsByAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectsByAdminRequest) ProtoMessage

func (*QueryProjectsByAdminRequest) ProtoMessage()

func (*QueryProjectsByAdminRequest) Reset

func (m *QueryProjectsByAdminRequest) Reset()

func (*QueryProjectsByAdminRequest) Size

func (m *QueryProjectsByAdminRequest) Size() (n int)

func (*QueryProjectsByAdminRequest) String

func (m *QueryProjectsByAdminRequest) String() string

func (*QueryProjectsByAdminRequest) Unmarshal

func (m *QueryProjectsByAdminRequest) Unmarshal(dAtA []byte) error

func (*QueryProjectsByAdminRequest) XXX_DiscardUnknown

func (m *QueryProjectsByAdminRequest) XXX_DiscardUnknown()

func (*QueryProjectsByAdminRequest) XXX_Marshal

func (m *QueryProjectsByAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectsByAdminRequest) XXX_Merge

func (m *QueryProjectsByAdminRequest) XXX_Merge(src proto.Message)

func (*QueryProjectsByAdminRequest) XXX_Size

func (m *QueryProjectsByAdminRequest) XXX_Size() int

func (*QueryProjectsByAdminRequest) XXX_Unmarshal

func (m *QueryProjectsByAdminRequest) XXX_Unmarshal(b []byte) error

type QueryProjectsByAdminResponse

type QueryProjectsByAdminResponse struct {
	// projects are the fetched projects.
	Projects []*ProjectInfo `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProjectsByAdminResponse is the Query/ProjectByAdmin response type.

func (*QueryProjectsByAdminResponse) Descriptor

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

func (*QueryProjectsByAdminResponse) GetPagination

func (m *QueryProjectsByAdminResponse) GetPagination() *query.PageResponse

func (*QueryProjectsByAdminResponse) GetProjects

func (m *QueryProjectsByAdminResponse) GetProjects() []*ProjectInfo

func (*QueryProjectsByAdminResponse) Marshal

func (m *QueryProjectsByAdminResponse) Marshal() (dAtA []byte, err error)

func (*QueryProjectsByAdminResponse) MarshalTo

func (m *QueryProjectsByAdminResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectsByAdminResponse) MarshalToSizedBuffer

func (m *QueryProjectsByAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectsByAdminResponse) ProtoMessage

func (*QueryProjectsByAdminResponse) ProtoMessage()

func (*QueryProjectsByAdminResponse) Reset

func (m *QueryProjectsByAdminResponse) Reset()

func (*QueryProjectsByAdminResponse) Size

func (m *QueryProjectsByAdminResponse) Size() (n int)

func (*QueryProjectsByAdminResponse) String

func (*QueryProjectsByAdminResponse) Unmarshal

func (m *QueryProjectsByAdminResponse) Unmarshal(dAtA []byte) error

func (*QueryProjectsByAdminResponse) XXX_DiscardUnknown

func (m *QueryProjectsByAdminResponse) XXX_DiscardUnknown()

func (*QueryProjectsByAdminResponse) XXX_Marshal

func (m *QueryProjectsByAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectsByAdminResponse) XXX_Merge

func (m *QueryProjectsByAdminResponse) XXX_Merge(src proto.Message)

func (*QueryProjectsByAdminResponse) XXX_Size

func (m *QueryProjectsByAdminResponse) XXX_Size() int

func (*QueryProjectsByAdminResponse) XXX_Unmarshal

func (m *QueryProjectsByAdminResponse) XXX_Unmarshal(b []byte) error

type QueryProjectsByClassRequest

type QueryProjectsByClassRequest struct {
	// class_id is the unique identifier of the credit class to query.
	ClassId string `protobuf:"bytes,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProjectsByClassRequest is the Query/ProjectsByClass request type.

func (*QueryProjectsByClassRequest) Descriptor

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

func (*QueryProjectsByClassRequest) GetClassId

func (m *QueryProjectsByClassRequest) GetClassId() string

func (*QueryProjectsByClassRequest) GetPagination

func (m *QueryProjectsByClassRequest) GetPagination() *query.PageRequest

func (*QueryProjectsByClassRequest) Marshal

func (m *QueryProjectsByClassRequest) Marshal() (dAtA []byte, err error)

func (*QueryProjectsByClassRequest) MarshalTo

func (m *QueryProjectsByClassRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectsByClassRequest) MarshalToSizedBuffer

func (m *QueryProjectsByClassRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectsByClassRequest) ProtoMessage

func (*QueryProjectsByClassRequest) ProtoMessage()

func (*QueryProjectsByClassRequest) Reset

func (m *QueryProjectsByClassRequest) Reset()

func (*QueryProjectsByClassRequest) Size

func (m *QueryProjectsByClassRequest) Size() (n int)

func (*QueryProjectsByClassRequest) String

func (m *QueryProjectsByClassRequest) String() string

func (*QueryProjectsByClassRequest) Unmarshal

func (m *QueryProjectsByClassRequest) Unmarshal(dAtA []byte) error

func (*QueryProjectsByClassRequest) XXX_DiscardUnknown

func (m *QueryProjectsByClassRequest) XXX_DiscardUnknown()

func (*QueryProjectsByClassRequest) XXX_Marshal

func (m *QueryProjectsByClassRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectsByClassRequest) XXX_Merge

func (m *QueryProjectsByClassRequest) XXX_Merge(src proto.Message)

func (*QueryProjectsByClassRequest) XXX_Size

func (m *QueryProjectsByClassRequest) XXX_Size() int

func (*QueryProjectsByClassRequest) XXX_Unmarshal

func (m *QueryProjectsByClassRequest) XXX_Unmarshal(b []byte) error

type QueryProjectsByClassResponse

type QueryProjectsByClassResponse struct {
	// projects are the fetched projects.
	Projects []*ProjectInfo `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProjectsByClassResponse is the Query/ProjectsByClass response type.

func (*QueryProjectsByClassResponse) Descriptor

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

func (*QueryProjectsByClassResponse) GetPagination

func (m *QueryProjectsByClassResponse) GetPagination() *query.PageResponse

func (*QueryProjectsByClassResponse) GetProjects

func (m *QueryProjectsByClassResponse) GetProjects() []*ProjectInfo

func (*QueryProjectsByClassResponse) Marshal

func (m *QueryProjectsByClassResponse) Marshal() (dAtA []byte, err error)

func (*QueryProjectsByClassResponse) MarshalTo

func (m *QueryProjectsByClassResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectsByClassResponse) MarshalToSizedBuffer

func (m *QueryProjectsByClassResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectsByClassResponse) ProtoMessage

func (*QueryProjectsByClassResponse) ProtoMessage()

func (*QueryProjectsByClassResponse) Reset

func (m *QueryProjectsByClassResponse) Reset()

func (*QueryProjectsByClassResponse) Size

func (m *QueryProjectsByClassResponse) Size() (n int)

func (*QueryProjectsByClassResponse) String

func (*QueryProjectsByClassResponse) Unmarshal

func (m *QueryProjectsByClassResponse) Unmarshal(dAtA []byte) error

func (*QueryProjectsByClassResponse) XXX_DiscardUnknown

func (m *QueryProjectsByClassResponse) XXX_DiscardUnknown()

func (*QueryProjectsByClassResponse) XXX_Marshal

func (m *QueryProjectsByClassResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectsByClassResponse) XXX_Merge

func (m *QueryProjectsByClassResponse) XXX_Merge(src proto.Message)

func (*QueryProjectsByClassResponse) XXX_Size

func (m *QueryProjectsByClassResponse) XXX_Size() int

func (*QueryProjectsByClassResponse) XXX_Unmarshal

func (m *QueryProjectsByClassResponse) XXX_Unmarshal(b []byte) error

type QueryProjectsByReferenceIdRequest

type QueryProjectsByReferenceIdRequest struct {
	// reference_id is the project reference id.
	ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProjectsByReferenceIdRequest is the Query/ProjectsByReferenceId request type.

func (*QueryProjectsByReferenceIdRequest) Descriptor

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

func (*QueryProjectsByReferenceIdRequest) GetPagination

func (*QueryProjectsByReferenceIdRequest) GetReferenceId

func (m *QueryProjectsByReferenceIdRequest) GetReferenceId() string

func (*QueryProjectsByReferenceIdRequest) Marshal

func (m *QueryProjectsByReferenceIdRequest) Marshal() (dAtA []byte, err error)

func (*QueryProjectsByReferenceIdRequest) MarshalTo

func (m *QueryProjectsByReferenceIdRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectsByReferenceIdRequest) MarshalToSizedBuffer

func (m *QueryProjectsByReferenceIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectsByReferenceIdRequest) ProtoMessage

func (*QueryProjectsByReferenceIdRequest) ProtoMessage()

func (*QueryProjectsByReferenceIdRequest) Reset

func (*QueryProjectsByReferenceIdRequest) Size

func (m *QueryProjectsByReferenceIdRequest) Size() (n int)

func (*QueryProjectsByReferenceIdRequest) String

func (*QueryProjectsByReferenceIdRequest) Unmarshal

func (m *QueryProjectsByReferenceIdRequest) Unmarshal(dAtA []byte) error

func (*QueryProjectsByReferenceIdRequest) XXX_DiscardUnknown

func (m *QueryProjectsByReferenceIdRequest) XXX_DiscardUnknown()

func (*QueryProjectsByReferenceIdRequest) XXX_Marshal

func (m *QueryProjectsByReferenceIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectsByReferenceIdRequest) XXX_Merge

func (*QueryProjectsByReferenceIdRequest) XXX_Size

func (m *QueryProjectsByReferenceIdRequest) XXX_Size() int

func (*QueryProjectsByReferenceIdRequest) XXX_Unmarshal

func (m *QueryProjectsByReferenceIdRequest) XXX_Unmarshal(b []byte) error

type QueryProjectsByReferenceIdResponse

type QueryProjectsByReferenceIdResponse struct {
	// projects are the fetched projects.
	Projects []*ProjectInfo `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProjectsByReferenceIdResponse is the Query/ProjectsByReferenceId response type.

func (*QueryProjectsByReferenceIdResponse) Descriptor

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

func (*QueryProjectsByReferenceIdResponse) GetPagination

func (*QueryProjectsByReferenceIdResponse) GetProjects

func (m *QueryProjectsByReferenceIdResponse) GetProjects() []*ProjectInfo

func (*QueryProjectsByReferenceIdResponse) Marshal

func (m *QueryProjectsByReferenceIdResponse) Marshal() (dAtA []byte, err error)

func (*QueryProjectsByReferenceIdResponse) MarshalTo

func (m *QueryProjectsByReferenceIdResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectsByReferenceIdResponse) MarshalToSizedBuffer

func (m *QueryProjectsByReferenceIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectsByReferenceIdResponse) ProtoMessage

func (*QueryProjectsByReferenceIdResponse) ProtoMessage()

func (*QueryProjectsByReferenceIdResponse) Reset

func (*QueryProjectsByReferenceIdResponse) Size

func (*QueryProjectsByReferenceIdResponse) String

func (*QueryProjectsByReferenceIdResponse) Unmarshal

func (m *QueryProjectsByReferenceIdResponse) Unmarshal(dAtA []byte) error

func (*QueryProjectsByReferenceIdResponse) XXX_DiscardUnknown

func (m *QueryProjectsByReferenceIdResponse) XXX_DiscardUnknown()

func (*QueryProjectsByReferenceIdResponse) XXX_Marshal

func (m *QueryProjectsByReferenceIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectsByReferenceIdResponse) XXX_Merge

func (*QueryProjectsByReferenceIdResponse) XXX_Size

func (*QueryProjectsByReferenceIdResponse) XXX_Unmarshal

func (m *QueryProjectsByReferenceIdResponse) XXX_Unmarshal(b []byte) error

type QueryProjectsRequest

type QueryProjectsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProjectsRequest is the Query/Projects request type.

func (*QueryProjectsRequest) Descriptor

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

func (*QueryProjectsRequest) GetPagination

func (m *QueryProjectsRequest) GetPagination() *query.PageRequest

func (*QueryProjectsRequest) Marshal

func (m *QueryProjectsRequest) Marshal() (dAtA []byte, err error)

func (*QueryProjectsRequest) MarshalTo

func (m *QueryProjectsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectsRequest) MarshalToSizedBuffer

func (m *QueryProjectsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectsRequest) ProtoMessage

func (*QueryProjectsRequest) ProtoMessage()

func (*QueryProjectsRequest) Reset

func (m *QueryProjectsRequest) Reset()

func (*QueryProjectsRequest) Size

func (m *QueryProjectsRequest) Size() (n int)

func (*QueryProjectsRequest) String

func (m *QueryProjectsRequest) String() string

func (*QueryProjectsRequest) Unmarshal

func (m *QueryProjectsRequest) Unmarshal(dAtA []byte) error

func (*QueryProjectsRequest) XXX_DiscardUnknown

func (m *QueryProjectsRequest) XXX_DiscardUnknown()

func (*QueryProjectsRequest) XXX_Marshal

func (m *QueryProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectsRequest) XXX_Merge

func (m *QueryProjectsRequest) XXX_Merge(src proto.Message)

func (*QueryProjectsRequest) XXX_Size

func (m *QueryProjectsRequest) XXX_Size() int

func (*QueryProjectsRequest) XXX_Unmarshal

func (m *QueryProjectsRequest) XXX_Unmarshal(b []byte) error

type QueryProjectsResponse

type QueryProjectsResponse struct {
	// projects are the fetched projects.
	Projects []*ProjectInfo `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProjectsResponse is the Query/Projects response type.

func (*QueryProjectsResponse) Descriptor

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

func (*QueryProjectsResponse) GetPagination

func (m *QueryProjectsResponse) GetPagination() *query.PageResponse

func (*QueryProjectsResponse) GetProjects

func (m *QueryProjectsResponse) GetProjects() []*ProjectInfo

func (*QueryProjectsResponse) Marshal

func (m *QueryProjectsResponse) Marshal() (dAtA []byte, err error)

func (*QueryProjectsResponse) MarshalTo

func (m *QueryProjectsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProjectsResponse) MarshalToSizedBuffer

func (m *QueryProjectsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProjectsResponse) ProtoMessage

func (*QueryProjectsResponse) ProtoMessage()

func (*QueryProjectsResponse) Reset

func (m *QueryProjectsResponse) Reset()

func (*QueryProjectsResponse) Size

func (m *QueryProjectsResponse) Size() (n int)

func (*QueryProjectsResponse) String

func (m *QueryProjectsResponse) String() string

func (*QueryProjectsResponse) Unmarshal

func (m *QueryProjectsResponse) Unmarshal(dAtA []byte) error

func (*QueryProjectsResponse) XXX_DiscardUnknown

func (m *QueryProjectsResponse) XXX_DiscardUnknown()

func (*QueryProjectsResponse) XXX_Marshal

func (m *QueryProjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProjectsResponse) XXX_Merge

func (m *QueryProjectsResponse) XXX_Merge(src proto.Message)

func (*QueryProjectsResponse) XXX_Size

func (m *QueryProjectsResponse) XXX_Size() int

func (*QueryProjectsResponse) XXX_Unmarshal

func (m *QueryProjectsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Classes queries for all credit classes with pagination.
	Classes(context.Context, *QueryClassesRequest) (*QueryClassesResponse, error)
	// ClassesByAdmin queries for all credit classes with a specific admin
	// address.
	ClassesByAdmin(context.Context, *QueryClassesByAdminRequest) (*QueryClassesByAdminResponse, error)
	// Class queries for information on a credit class.
	Class(context.Context, *QueryClassRequest) (*QueryClassResponse, error)
	// ClassIssuers queries for the addresses of the issuers for a credit class.
	ClassIssuers(context.Context, *QueryClassIssuersRequest) (*QueryClassIssuersResponse, error)
	// Projects queries for all projects with pagination.
	Projects(context.Context, *QueryProjectsRequest) (*QueryProjectsResponse, error)
	// ProjectsByClass queries for all projects within a class with pagination.
	ProjectsByClass(context.Context, *QueryProjectsByClassRequest) (*QueryProjectsByClassResponse, error)
	// ProjectsByReferenceId queries for all projects by reference-id with
	// pagination.
	ProjectsByReferenceId(context.Context, *QueryProjectsByReferenceIdRequest) (*QueryProjectsByReferenceIdResponse, error)
	// ProjectsByAdmin queries for all projects by admin with
	// pagination.
	ProjectsByAdmin(context.Context, *QueryProjectsByAdminRequest) (*QueryProjectsByAdminResponse, error)
	// Project queries for information on a project.
	Project(context.Context, *QueryProjectRequest) (*QueryProjectResponse, error)
	// Batches queries for all batches with pagination.
	Batches(context.Context, *QueryBatchesRequest) (*QueryBatchesResponse, error)
	// BatchesByIssuer queries all batches issued from a given issuer address.
	BatchesByIssuer(context.Context, *QueryBatchesByIssuerRequest) (*QueryBatchesByIssuerResponse, error)
	// BatchesByClass queries all batches issued from a given class.
	BatchesByClass(context.Context, *QueryBatchesByClassRequest) (*QueryBatchesByClassResponse, error)
	// BatchesByProject queries for all batches from a given project with
	// pagination.
	BatchesByProject(context.Context, *QueryBatchesByProjectRequest) (*QueryBatchesByProjectResponse, error)
	// Batch queries for information on a credit batch.
	Batch(context.Context, *QueryBatchRequest) (*QueryBatchResponse, error)
	// Balance queries the balance (both tradable and retired) of a given credit
	// batch for a given account address.
	Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
	// Balances queries all credit balances the given account holds.
	Balances(context.Context, *QueryBalancesRequest) (*QueryBalancesResponse, error)
	// BalancesByBatch queries all credit balances from a given batch.
	//
	// Since Revision 2
	BalancesByBatch(context.Context, *QueryBalancesByBatchRequest) (*QueryBalancesByBatchResponse, error)
	// AllBalances queries all credit balances.
	//
	// Since Revision 2
	AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
	// Supply queries the tradable and retired supply of a credit batch.
	Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
	// CreditTypes returns the list of allowed types that credit classes can have.
	// See Types/CreditType for more details.
	CreditTypes(context.Context, *QueryCreditTypesRequest) (*QueryCreditTypesResponse, error)
	// Params queries the ecocredit module parameters.
	//
	// Deprecated (Since Revision 2): This rpc will be removed in the next
	// version.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// CreditType queries credit type information by abbreviation.
	CreditType(context.Context, *QueryCreditTypeRequest) (*QueryCreditTypeResponse, error)
	// ClassCreatorAllowlist queries the credit class creator allowlist
	// enabled setting.
	//
	// Since Revision 2
	ClassCreatorAllowlist(context.Context, *QueryClassCreatorAllowlistRequest) (*QueryClassCreatorAllowlistResponse, error)
	// AllowedClassCreators queries allowed credit class creators list.
	//
	// Since Revision 2
	AllowedClassCreators(context.Context, *QueryAllowedClassCreatorsRequest) (*QueryAllowedClassCreatorsResponse, error)
	// ClassFee returns the credit class creation fee. If not set, a credit class
	// creation fee is not required.
	//
	// Since Revision 2
	ClassFee(context.Context, *QueryClassFeeRequest) (*QueryClassFeeResponse, error)
	// AllowedBridgeChains queries the list of chains allowed to be used in bridge
	// operations.
	//
	// Since Revision 2
	AllowedBridgeChains(context.Context, *QueryAllowedBridgeChainsRequest) (*QueryAllowedBridgeChainsResponse, error)
}

QueryServer is the server API for Query service.

type QuerySupplyRequest

type QuerySupplyRequest struct {
	// batch_denom is the unique identifier of the credit batch to query.
	BatchDenom string `protobuf:"bytes,1,opt,name=batch_denom,json=batchDenom,proto3" json:"batch_denom,omitempty"`
}

QuerySupplyRequest is the Query/Supply request type.

func (*QuerySupplyRequest) Descriptor

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

func (*QuerySupplyRequest) GetBatchDenom

func (m *QuerySupplyRequest) GetBatchDenom() string

func (*QuerySupplyRequest) Marshal

func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)

func (*QuerySupplyRequest) MarshalTo

func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySupplyRequest) MarshalToSizedBuffer

func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySupplyRequest) ProtoMessage

func (*QuerySupplyRequest) ProtoMessage()

func (*QuerySupplyRequest) Reset

func (m *QuerySupplyRequest) Reset()

func (*QuerySupplyRequest) Size

func (m *QuerySupplyRequest) Size() (n int)

func (*QuerySupplyRequest) String

func (m *QuerySupplyRequest) String() string

func (*QuerySupplyRequest) Unmarshal

func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error

func (*QuerySupplyRequest) XXX_DiscardUnknown

func (m *QuerySupplyRequest) XXX_DiscardUnknown()

func (*QuerySupplyRequest) XXX_Marshal

func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySupplyRequest) XXX_Merge

func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)

func (*QuerySupplyRequest) XXX_Size

func (m *QuerySupplyRequest) XXX_Size() int

func (*QuerySupplyRequest) XXX_Unmarshal

func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error

type QuerySupplyResponse

type QuerySupplyResponse struct {
	// tradable_amount is the decimal number of tradable credits in the batch
	// supply.
	TradableAmount string `protobuf:"bytes,1,opt,name=tradable_amount,json=tradableAmount,proto3" json:"tradable_amount,omitempty"`
	// retired_amount is the decimal number of retired credits in the batch
	// supply.
	RetiredAmount string `protobuf:"bytes,2,opt,name=retired_amount,json=retiredAmount,proto3" json:"retired_amount,omitempty"`
	// cancelled_amount is the decimal number of cancelled credits in the batch
	// supply.
	CancelledAmount string `protobuf:"bytes,3,opt,name=cancelled_amount,json=cancelledAmount,proto3" json:"cancelled_amount,omitempty"`
}

QuerySupplyResponse is the Query/Supply response type.

func (*QuerySupplyResponse) Descriptor

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

func (*QuerySupplyResponse) GetCancelledAmount

func (m *QuerySupplyResponse) GetCancelledAmount() string

func (*QuerySupplyResponse) GetRetiredAmount

func (m *QuerySupplyResponse) GetRetiredAmount() string

func (*QuerySupplyResponse) GetTradableAmount

func (m *QuerySupplyResponse) GetTradableAmount() string

func (*QuerySupplyResponse) Marshal

func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)

func (*QuerySupplyResponse) MarshalTo

func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySupplyResponse) MarshalToSizedBuffer

func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySupplyResponse) ProtoMessage

func (*QuerySupplyResponse) ProtoMessage()

func (*QuerySupplyResponse) Reset

func (m *QuerySupplyResponse) Reset()

func (*QuerySupplyResponse) Size

func (m *QuerySupplyResponse) Size() (n int)

func (*QuerySupplyResponse) String

func (m *QuerySupplyResponse) String() string

func (*QuerySupplyResponse) Unmarshal

func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error

func (*QuerySupplyResponse) XXX_DiscardUnknown

func (m *QuerySupplyResponse) XXX_DiscardUnknown()

func (*QuerySupplyResponse) XXX_Marshal

func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySupplyResponse) XXX_Merge

func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)

func (*QuerySupplyResponse) XXX_Size

func (m *QuerySupplyResponse) XXX_Size() int

func (*QuerySupplyResponse) XXX_Unmarshal

func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddAllowedBridgeChain

func (*UnimplementedMsgServer) AddClassCreator

func (*UnimplementedMsgServer) AddCreditType

func (*UnimplementedMsgServer) Bridge

func (*UnimplementedMsgServer) BridgeReceive

func (*UnimplementedMsgServer) Cancel

func (*UnimplementedMsgServer) CreateBatch

func (*UnimplementedMsgServer) CreateClass

func (*UnimplementedMsgServer) CreateProject

func (*UnimplementedMsgServer) MintBatchCredits

func (*UnimplementedMsgServer) RemoveAllowedBridgeChain

func (*UnimplementedMsgServer) RemoveClassCreator

func (*UnimplementedMsgServer) Retire

func (*UnimplementedMsgServer) SealBatch

func (*UnimplementedMsgServer) Send

func (*UnimplementedMsgServer) SetClassCreatorAllowlist

func (*UnimplementedMsgServer) UpdateBatchMetadata

func (*UnimplementedMsgServer) UpdateClassAdmin

func (*UnimplementedMsgServer) UpdateClassFee

func (*UnimplementedMsgServer) UpdateClassIssuers

func (*UnimplementedMsgServer) UpdateClassMetadata

func (*UnimplementedMsgServer) UpdateProjectAdmin

func (*UnimplementedMsgServer) UpdateProjectMetadata

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllBalances

func (*UnimplementedQueryServer) AllowedBridgeChains

func (*UnimplementedQueryServer) Balance

func (*UnimplementedQueryServer) Balances

func (*UnimplementedQueryServer) BalancesByBatch

func (*UnimplementedQueryServer) Batch

func (*UnimplementedQueryServer) Batches

func (*UnimplementedQueryServer) BatchesByClass

func (*UnimplementedQueryServer) BatchesByIssuer

func (*UnimplementedQueryServer) BatchesByProject

func (*UnimplementedQueryServer) Class

func (*UnimplementedQueryServer) ClassFee

func (*UnimplementedQueryServer) ClassIssuers

func (*UnimplementedQueryServer) Classes

func (*UnimplementedQueryServer) ClassesByAdmin

func (*UnimplementedQueryServer) CreditType

func (*UnimplementedQueryServer) CreditTypes

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Project

func (*UnimplementedQueryServer) Projects

func (*UnimplementedQueryServer) ProjectsByAdmin

func (*UnimplementedQueryServer) ProjectsByClass

func (*UnimplementedQueryServer) Supply

Jump to

Keyboard shortcuts

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