feesharev1

package
v30.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

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

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

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

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

Index

Constants

View Source
const (
	Query_FeeShares_FullMethodName           = "/juno.feeshare.v1.Query/FeeShares"
	Query_FeeShare_FullMethodName            = "/juno.feeshare.v1.Query/FeeShare"
	Query_Params_FullMethodName              = "/juno.feeshare.v1.Query/Params"
	Query_DeployerFeeShares_FullMethodName   = "/juno.feeshare.v1.Query/DeployerFeeShares"
	Query_WithdrawerFeeShares_FullMethodName = "/juno.feeshare.v1.Query/WithdrawerFeeShares"
)
View Source
const (
	Msg_RegisterFeeShare_FullMethodName = "/juno.feeshare.v1.Msg/RegisterFeeShare"
	Msg_UpdateFeeShare_FullMethodName   = "/juno.feeshare.v1.Msg/UpdateFeeShare"
	Msg_CancelFeeShare_FullMethodName   = "/juno.feeshare.v1.Msg/CancelFeeShare"
	Msg_UpdateParams_FullMethodName     = "/juno.feeshare.v1.Msg/UpdateParams"
)

Variables

View Source
var File_juno_feeshare_v1_feeshare_proto protoreflect.FileDescriptor
View Source
var File_juno_feeshare_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_juno_feeshare_v1_query_proto protoreflect.FileDescriptor
View Source
var File_juno_feeshare_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "juno.feeshare.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterFeeShare",
			Handler:    _Msg_RegisterFeeShare_Handler,
		},
		{
			MethodName: "UpdateFeeShare",
			Handler:    _Msg_UpdateFeeShare_Handler,
		},
		{
			MethodName: "CancelFeeShare",
			Handler:    _Msg_CancelFeeShare_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "juno/feeshare/v1/tx.proto",
}

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

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "juno.feeshare.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FeeShares",
			Handler:    _Query_FeeShares_Handler,
		},
		{
			MethodName: "FeeShare",
			Handler:    _Query_FeeShare_Handler,
		},
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "DeployerFeeShares",
			Handler:    _Query_DeployerFeeShares_Handler,
		},
		{
			MethodName: "WithdrawerFeeShares",
			Handler:    _Query_WithdrawerFeeShares_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "juno/feeshare/v1/query.proto",
}

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

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type FeeShare

type FeeShare struct {

	// contract_address is the bech32 address of a registered contract in string
	// form
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// deployer_address is the bech32 address of message sender. It must be the
	// same as the contracts admin address.
	DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"`
	// withdrawer_address is the bech32 address of account receiving the
	// transaction fees.
	WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"`
	// contains filtered or unexported fields
}

FeeShare defines an instance that organizes fee distribution conditions for the owner of a given smart contract

func (*FeeShare) Descriptor deprecated

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

Deprecated: Use FeeShare.ProtoReflect.Descriptor instead.

func (*FeeShare) GetContractAddress

func (x *FeeShare) GetContractAddress() string

func (*FeeShare) GetDeployerAddress

func (x *FeeShare) GetDeployerAddress() string

func (*FeeShare) GetWithdrawerAddress

func (x *FeeShare) GetWithdrawerAddress() string

func (*FeeShare) ProtoMessage

func (*FeeShare) ProtoMessage()

func (*FeeShare) ProtoReflect

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

func (*FeeShare) Reset

func (x *FeeShare) Reset()

func (*FeeShare) String

func (x *FeeShare) String() string

type GenesisState

type GenesisState struct {

	// params are the feeshare module parameters
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// FeeShare is a slice of active registered contracts for fee distribution
	FeeShare []*FeeShare `protobuf:"bytes,2,rep,name=fee_share,json=feeShare,proto3" json:"fee_share,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetFeeShare

func (x *GenesisState) GetFeeShare() []*FeeShare

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

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

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgCancelFeeShare

type MsgCancelFeeShare struct {

	// contract_address in bech32 format
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// deployer_address is the bech32 address of message sender. It must be the
	// same the contract's admin address
	DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"`
	// contains filtered or unexported fields
}

MsgCancelFeeShare defines a message that cancels a registered FeeShare

func (*MsgCancelFeeShare) Descriptor deprecated

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

Deprecated: Use MsgCancelFeeShare.ProtoReflect.Descriptor instead.

func (*MsgCancelFeeShare) GetContractAddress

func (x *MsgCancelFeeShare) GetContractAddress() string

func (*MsgCancelFeeShare) GetDeployerAddress

func (x *MsgCancelFeeShare) GetDeployerAddress() string

func (*MsgCancelFeeShare) ProtoMessage

func (*MsgCancelFeeShare) ProtoMessage()

func (*MsgCancelFeeShare) ProtoReflect

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

func (*MsgCancelFeeShare) Reset

func (x *MsgCancelFeeShare) Reset()

func (*MsgCancelFeeShare) String

func (x *MsgCancelFeeShare) String() string

type MsgCancelFeeShareResponse

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

MsgCancelFeeShareResponse defines the MsgCancelFeeShare response type

func (*MsgCancelFeeShareResponse) Descriptor deprecated

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

Deprecated: Use MsgCancelFeeShareResponse.ProtoReflect.Descriptor instead.

func (*MsgCancelFeeShareResponse) ProtoMessage

func (*MsgCancelFeeShareResponse) ProtoMessage()

func (*MsgCancelFeeShareResponse) ProtoReflect

func (*MsgCancelFeeShareResponse) Reset

func (x *MsgCancelFeeShareResponse) Reset()

func (*MsgCancelFeeShareResponse) String

func (x *MsgCancelFeeShareResponse) String() string

type MsgClient

type MsgClient interface {
	// RegisterFeeShare registers a new contract for receiving transaction fees
	RegisterFeeShare(ctx context.Context, in *MsgRegisterFeeShare, opts ...grpc.CallOption) (*MsgRegisterFeeShareResponse, error)
	// UpdateFeeShare updates the withdrawer address of a FeeShare
	UpdateFeeShare(ctx context.Context, in *MsgUpdateFeeShare, opts ...grpc.CallOption) (*MsgUpdateFeeShareResponse, error)
	// CancelFeeShare cancels a contract's fee registration and further receival
	// of transaction fees
	CancelFeeShare(ctx context.Context, in *MsgCancelFeeShare, opts ...grpc.CallOption) (*MsgCancelFeeShareResponse, error)
	// Update the params of the module through gov v1 type.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

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

Msg defines the fees Msg service.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgRegisterFeeShare

type MsgRegisterFeeShare struct {

	// contract_address in bech32 format
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// deployer_address is the bech32 address of message sender. It must be the
	// same the contract's admin address
	DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"`
	// withdrawer_address is the bech32 address of account receiving the
	// transaction fees
	WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"`
	// contains filtered or unexported fields
}

MsgRegisterFeeShare defines a message that registers a FeeShare

func (*MsgRegisterFeeShare) Descriptor deprecated

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

Deprecated: Use MsgRegisterFeeShare.ProtoReflect.Descriptor instead.

func (*MsgRegisterFeeShare) GetContractAddress

func (x *MsgRegisterFeeShare) GetContractAddress() string

func (*MsgRegisterFeeShare) GetDeployerAddress

func (x *MsgRegisterFeeShare) GetDeployerAddress() string

func (*MsgRegisterFeeShare) GetWithdrawerAddress

func (x *MsgRegisterFeeShare) GetWithdrawerAddress() string

func (*MsgRegisterFeeShare) ProtoMessage

func (*MsgRegisterFeeShare) ProtoMessage()

func (*MsgRegisterFeeShare) ProtoReflect

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

func (*MsgRegisterFeeShare) Reset

func (x *MsgRegisterFeeShare) Reset()

func (*MsgRegisterFeeShare) String

func (x *MsgRegisterFeeShare) String() string

type MsgRegisterFeeShareResponse

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

MsgRegisterFeeShareResponse defines the MsgRegisterFeeShare response type

func (*MsgRegisterFeeShareResponse) Descriptor deprecated

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

Deprecated: Use MsgRegisterFeeShareResponse.ProtoReflect.Descriptor instead.

func (*MsgRegisterFeeShareResponse) ProtoMessage

func (*MsgRegisterFeeShareResponse) ProtoMessage()

func (*MsgRegisterFeeShareResponse) ProtoReflect

func (*MsgRegisterFeeShareResponse) Reset

func (x *MsgRegisterFeeShareResponse) Reset()

func (*MsgRegisterFeeShareResponse) String

func (x *MsgRegisterFeeShareResponse) String() string

type MsgServer

type MsgServer interface {
	// RegisterFeeShare registers a new contract for receiving transaction fees
	RegisterFeeShare(context.Context, *MsgRegisterFeeShare) (*MsgRegisterFeeShareResponse, error)
	// UpdateFeeShare updates the withdrawer address of a FeeShare
	UpdateFeeShare(context.Context, *MsgUpdateFeeShare) (*MsgUpdateFeeShareResponse, error)
	// CancelFeeShare cancels a contract's fee registration and further receival
	// of transaction fees
	CancelFeeShare(context.Context, *MsgCancelFeeShare) (*MsgCancelFeeShareResponse, error)
	// Update the params of the module through gov v1 type.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

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

Msg defines the fees Msg service.

type MsgUpdateFeeShare

type MsgUpdateFeeShare struct {

	// contract_address in bech32 format
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// deployer_address is the bech32 address of message sender. It must be the
	// same the contract's admin address
	DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"`
	// withdrawer_address is the bech32 address of account receiving the
	// transaction fees
	WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateFeeShare defines a message that updates the withdrawer address for a registered FeeShare

func (*MsgUpdateFeeShare) Descriptor deprecated

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

Deprecated: Use MsgUpdateFeeShare.ProtoReflect.Descriptor instead.

func (*MsgUpdateFeeShare) GetContractAddress

func (x *MsgUpdateFeeShare) GetContractAddress() string

func (*MsgUpdateFeeShare) GetDeployerAddress

func (x *MsgUpdateFeeShare) GetDeployerAddress() string

func (*MsgUpdateFeeShare) GetWithdrawerAddress

func (x *MsgUpdateFeeShare) GetWithdrawerAddress() string

func (*MsgUpdateFeeShare) ProtoMessage

func (*MsgUpdateFeeShare) ProtoMessage()

func (*MsgUpdateFeeShare) ProtoReflect

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

func (*MsgUpdateFeeShare) Reset

func (x *MsgUpdateFeeShare) Reset()

func (*MsgUpdateFeeShare) String

func (x *MsgUpdateFeeShare) String() string

type MsgUpdateFeeShareResponse

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

MsgUpdateFeeShareResponse defines the MsgUpdateFeeShare response type

func (*MsgUpdateFeeShareResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateFeeShareResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateFeeShareResponse) ProtoMessage

func (*MsgUpdateFeeShareResponse) ProtoMessage()

func (*MsgUpdateFeeShareResponse) ProtoReflect

func (*MsgUpdateFeeShareResponse) Reset

func (x *MsgUpdateFeeShareResponse) Reset()

func (*MsgUpdateFeeShareResponse) String

func (x *MsgUpdateFeeShareResponse) String() string

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/feeshare parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

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

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

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

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

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

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {

	// enable_feeshare defines a parameter to enable the feeshare module
	EnableFeeShare bool `protobuf:"varint,1,opt,name=enable_fee_share,json=enableFeeShare,proto3" json:"enable_fee_share,omitempty"`
	// developer_shares defines the proportion of the transaction fees to be
	// distributed to the registered contract owner
	DeveloperShares string `protobuf:"bytes,2,opt,name=developer_shares,json=developerShares,proto3" json:"developer_shares,omitempty"`
	// allowed_denoms defines the list of denoms that are allowed to be paid to
	// the contract withdraw addresses. If said denom is not in the list, the fees
	// will ONLY be sent to the community pool.
	// If this list is empty, all denoms are allowed.
	AllowedDenoms []string `protobuf:"bytes,3,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"`
	// contains filtered or unexported fields
}

Params defines the feeshare module params

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetAllowedDenoms

func (x *Params) GetAllowedDenoms() []string

func (*Params) GetDeveloperShares

func (x *Params) GetDeveloperShares() string

func (*Params) GetEnableFeeShare

func (x *Params) GetEnableFeeShare() bool

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryClient

type QueryClient interface {
	// FeeShares retrieves all registered FeeShares
	FeeShares(ctx context.Context, in *QueryFeeSharesRequest, opts ...grpc.CallOption) (*QueryFeeSharesResponse, error)
	// FeeShare retrieves a registered FeeShare for a given contract address
	FeeShare(ctx context.Context, in *QueryFeeShareRequest, opts ...grpc.CallOption) (*QueryFeeShareResponse, error)
	// Params retrieves the FeeShare module params
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// DeployerFeeShares retrieves all FeeShares that a given deployer has
	// registered
	DeployerFeeShares(ctx context.Context, in *QueryDeployerFeeSharesRequest, opts ...grpc.CallOption) (*QueryDeployerFeeSharesResponse, error)
	// WithdrawerFeeShares retrieves all FeeShares with a given withdrawer
	// address
	WithdrawerFeeShares(ctx context.Context, in *QueryWithdrawerFeeSharesRequest, opts ...grpc.CallOption) (*QueryWithdrawerFeeSharesResponse, error)
}

QueryClient is the client API for Query service.

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

Query defines the gRPC querier service.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryDeployerFeeSharesRequest

type QueryDeployerFeeSharesRequest struct {

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

QueryDeployerFeeSharesRequest is the request type for the Query/DeployerFeeShares RPC method.

func (*QueryDeployerFeeSharesRequest) Descriptor deprecated

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

Deprecated: Use QueryDeployerFeeSharesRequest.ProtoReflect.Descriptor instead.

func (*QueryDeployerFeeSharesRequest) GetDeployerAddress

func (x *QueryDeployerFeeSharesRequest) GetDeployerAddress() string

func (*QueryDeployerFeeSharesRequest) GetPagination

func (*QueryDeployerFeeSharesRequest) ProtoMessage

func (*QueryDeployerFeeSharesRequest) ProtoMessage()

func (*QueryDeployerFeeSharesRequest) ProtoReflect

func (*QueryDeployerFeeSharesRequest) Reset

func (x *QueryDeployerFeeSharesRequest) Reset()

func (*QueryDeployerFeeSharesRequest) String

type QueryDeployerFeeSharesResponse

type QueryDeployerFeeSharesResponse struct {

	// contract_addresses is the slice of registered contract addresses for a
	// deployer
	ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryDeployerFeeSharesResponse is the response type for the Query/DeployerFeeShares RPC method.

func (*QueryDeployerFeeSharesResponse) Descriptor deprecated

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

Deprecated: Use QueryDeployerFeeSharesResponse.ProtoReflect.Descriptor instead.

func (*QueryDeployerFeeSharesResponse) GetContractAddresses

func (x *QueryDeployerFeeSharesResponse) GetContractAddresses() []string

func (*QueryDeployerFeeSharesResponse) GetPagination

func (*QueryDeployerFeeSharesResponse) ProtoMessage

func (*QueryDeployerFeeSharesResponse) ProtoMessage()

func (*QueryDeployerFeeSharesResponse) ProtoReflect

func (*QueryDeployerFeeSharesResponse) Reset

func (x *QueryDeployerFeeSharesResponse) Reset()

func (*QueryDeployerFeeSharesResponse) String

type QueryFeeShareRequest

type QueryFeeShareRequest struct {

	// contract_address of a registered contract in bech32 format
	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

QueryFeeShareRequest is the request type for the Query/FeeShare RPC method.

func (*QueryFeeShareRequest) Descriptor deprecated

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

Deprecated: Use QueryFeeShareRequest.ProtoReflect.Descriptor instead.

func (*QueryFeeShareRequest) GetContractAddress

func (x *QueryFeeShareRequest) GetContractAddress() string

func (*QueryFeeShareRequest) ProtoMessage

func (*QueryFeeShareRequest) ProtoMessage()

func (*QueryFeeShareRequest) ProtoReflect

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

func (*QueryFeeShareRequest) Reset

func (x *QueryFeeShareRequest) Reset()

func (*QueryFeeShareRequest) String

func (x *QueryFeeShareRequest) String() string

type QueryFeeShareResponse

type QueryFeeShareResponse struct {

	// FeeShare is a stored Reveneue for the queried contract
	Feeshare *FeeShare `protobuf:"bytes,1,opt,name=feeshare,proto3" json:"feeshare,omitempty"`
	// contains filtered or unexported fields
}

QueryFeeShareResponse is the response type for the Query/FeeShare RPC method.

func (*QueryFeeShareResponse) Descriptor deprecated

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

Deprecated: Use QueryFeeShareResponse.ProtoReflect.Descriptor instead.

func (*QueryFeeShareResponse) GetFeeshare

func (x *QueryFeeShareResponse) GetFeeshare() *FeeShare

func (*QueryFeeShareResponse) ProtoMessage

func (*QueryFeeShareResponse) ProtoMessage()

func (*QueryFeeShareResponse) ProtoReflect

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

func (*QueryFeeShareResponse) Reset

func (x *QueryFeeShareResponse) Reset()

func (*QueryFeeShareResponse) String

func (x *QueryFeeShareResponse) String() string

type QueryFeeSharesRequest

type QueryFeeSharesRequest struct {

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

QueryFeeSharesRequest is the request type for the Query/FeeShares RPC method.

func (*QueryFeeSharesRequest) Descriptor deprecated

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

Deprecated: Use QueryFeeSharesRequest.ProtoReflect.Descriptor instead.

func (*QueryFeeSharesRequest) GetPagination

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

func (*QueryFeeSharesRequest) ProtoMessage

func (*QueryFeeSharesRequest) ProtoMessage()

func (*QueryFeeSharesRequest) ProtoReflect

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

func (*QueryFeeSharesRequest) Reset

func (x *QueryFeeSharesRequest) Reset()

func (*QueryFeeSharesRequest) String

func (x *QueryFeeSharesRequest) String() string

type QueryFeeSharesResponse

type QueryFeeSharesResponse struct {

	// FeeShare is a slice of all stored Reveneue
	Feeshare []*FeeShare `protobuf:"bytes,1,rep,name=feeshare,proto3" json:"feeshare,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryFeeSharesResponse is the response type for the Query/FeeShares RPC method.

func (*QueryFeeSharesResponse) Descriptor deprecated

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

Deprecated: Use QueryFeeSharesResponse.ProtoReflect.Descriptor instead.

func (*QueryFeeSharesResponse) GetFeeshare

func (x *QueryFeeSharesResponse) GetFeeshare() []*FeeShare

func (*QueryFeeSharesResponse) GetPagination

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

func (*QueryFeeSharesResponse) ProtoMessage

func (*QueryFeeSharesResponse) ProtoMessage()

func (*QueryFeeSharesResponse) ProtoReflect

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

func (*QueryFeeSharesResponse) Reset

func (x *QueryFeeSharesResponse) Reset()

func (*QueryFeeSharesResponse) String

func (x *QueryFeeSharesResponse) String() string

type QueryParamsRequest

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

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params is the returned FeeShare parameter
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// FeeShares retrieves all registered FeeShares
	FeeShares(context.Context, *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error)
	// FeeShare retrieves a registered FeeShare for a given contract address
	FeeShare(context.Context, *QueryFeeShareRequest) (*QueryFeeShareResponse, error)
	// Params retrieves the FeeShare module params
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// DeployerFeeShares retrieves all FeeShares that a given deployer has
	// registered
	DeployerFeeShares(context.Context, *QueryDeployerFeeSharesRequest) (*QueryDeployerFeeSharesResponse, error)
	// WithdrawerFeeShares retrieves all FeeShares with a given withdrawer
	// address
	WithdrawerFeeShares(context.Context, *QueryWithdrawerFeeSharesRequest) (*QueryWithdrawerFeeSharesResponse, error)
	// contains filtered or unexported methods
}

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

Query defines the gRPC querier service.

type QueryWithdrawerFeeSharesRequest

type QueryWithdrawerFeeSharesRequest struct {

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

QueryWithdrawerFeeSharesRequest is the request type for the Query/WithdrawerFeeShares RPC method.

func (*QueryWithdrawerFeeSharesRequest) Descriptor deprecated

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

Deprecated: Use QueryWithdrawerFeeSharesRequest.ProtoReflect.Descriptor instead.

func (*QueryWithdrawerFeeSharesRequest) GetPagination

func (*QueryWithdrawerFeeSharesRequest) GetWithdrawerAddress

func (x *QueryWithdrawerFeeSharesRequest) GetWithdrawerAddress() string

func (*QueryWithdrawerFeeSharesRequest) ProtoMessage

func (*QueryWithdrawerFeeSharesRequest) ProtoMessage()

func (*QueryWithdrawerFeeSharesRequest) ProtoReflect

func (*QueryWithdrawerFeeSharesRequest) Reset

func (*QueryWithdrawerFeeSharesRequest) String

type QueryWithdrawerFeeSharesResponse

type QueryWithdrawerFeeSharesResponse struct {

	// contract_addresses is the slice of registered contract addresses for a
	// withdrawer
	ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryWithdrawerFeeSharesResponse is the response type for the Query/WithdrawerFeeShares RPC method.

func (*QueryWithdrawerFeeSharesResponse) Descriptor deprecated

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

Deprecated: Use QueryWithdrawerFeeSharesResponse.ProtoReflect.Descriptor instead.

func (*QueryWithdrawerFeeSharesResponse) GetContractAddresses

func (x *QueryWithdrawerFeeSharesResponse) GetContractAddresses() []string

func (*QueryWithdrawerFeeSharesResponse) GetPagination

func (*QueryWithdrawerFeeSharesResponse) ProtoMessage

func (*QueryWithdrawerFeeSharesResponse) ProtoMessage()

func (*QueryWithdrawerFeeSharesResponse) ProtoReflect

func (*QueryWithdrawerFeeSharesResponse) Reset

func (*QueryWithdrawerFeeSharesResponse) String

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMsgServer) CancelFeeShare

func (UnimplementedMsgServer) RegisterFeeShare

func (UnimplementedMsgServer) UpdateFeeShare

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct{}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedQueryServer) FeeShare

func (UnimplementedQueryServer) FeeShares

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

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

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

type UnsafeQueryServer

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

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

Jump to

Keyboard shortcuts

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