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
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type FeeShare
- func (*FeeShare) Descriptor() ([]byte, []int)deprecated
- func (x *FeeShare) GetContractAddress() string
- func (x *FeeShare) GetDeployerAddress() string
- func (x *FeeShare) GetWithdrawerAddress() string
- func (*FeeShare) ProtoMessage()
- func (x *FeeShare) ProtoReflect() protoreflect.Message
- func (x *FeeShare) Reset()
- func (x *FeeShare) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetFeeShare() []*FeeShare
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgCancelFeeShare
- func (*MsgCancelFeeShare) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCancelFeeShare) GetContractAddress() string
- func (x *MsgCancelFeeShare) GetDeployerAddress() string
- func (*MsgCancelFeeShare) ProtoMessage()
- func (x *MsgCancelFeeShare) ProtoReflect() protoreflect.Message
- func (x *MsgCancelFeeShare) Reset()
- func (x *MsgCancelFeeShare) String() string
- type MsgCancelFeeShareResponse
- type MsgClient
- type MsgRegisterFeeShare
- func (*MsgRegisterFeeShare) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRegisterFeeShare) GetContractAddress() string
- func (x *MsgRegisterFeeShare) GetDeployerAddress() string
- func (x *MsgRegisterFeeShare) GetWithdrawerAddress() string
- func (*MsgRegisterFeeShare) ProtoMessage()
- func (x *MsgRegisterFeeShare) ProtoReflect() protoreflect.Message
- func (x *MsgRegisterFeeShare) Reset()
- func (x *MsgRegisterFeeShare) String() string
- type MsgRegisterFeeShareResponse
- type MsgServer
- type MsgUpdateFeeShare
- func (*MsgUpdateFeeShare) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateFeeShare) GetContractAddress() string
- func (x *MsgUpdateFeeShare) GetDeployerAddress() string
- func (x *MsgUpdateFeeShare) GetWithdrawerAddress() string
- func (*MsgUpdateFeeShare) ProtoMessage()
- func (x *MsgUpdateFeeShare) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateFeeShare) Reset()
- func (x *MsgUpdateFeeShare) String() string
- type MsgUpdateFeeShareResponse
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetAllowedDenoms() []string
- func (x *Params) GetDeveloperShares() string
- func (x *Params) GetEnableFeeShare() bool
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryClient
- type QueryDeployerFeeSharesRequest
- func (*QueryDeployerFeeSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDeployerFeeSharesRequest) GetDeployerAddress() string
- func (x *QueryDeployerFeeSharesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryDeployerFeeSharesRequest) ProtoMessage()
- func (x *QueryDeployerFeeSharesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDeployerFeeSharesRequest) Reset()
- func (x *QueryDeployerFeeSharesRequest) String() string
- type QueryDeployerFeeSharesResponse
- func (*QueryDeployerFeeSharesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDeployerFeeSharesResponse) GetContractAddresses() []string
- func (x *QueryDeployerFeeSharesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryDeployerFeeSharesResponse) ProtoMessage()
- func (x *QueryDeployerFeeSharesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDeployerFeeSharesResponse) Reset()
- func (x *QueryDeployerFeeSharesResponse) String() string
- type QueryFeeShareRequest
- func (*QueryFeeShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryFeeShareRequest) GetContractAddress() string
- func (*QueryFeeShareRequest) ProtoMessage()
- func (x *QueryFeeShareRequest) ProtoReflect() protoreflect.Message
- func (x *QueryFeeShareRequest) Reset()
- func (x *QueryFeeShareRequest) String() string
- type QueryFeeShareResponse
- func (*QueryFeeShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryFeeShareResponse) GetFeeshare() *FeeShare
- func (*QueryFeeShareResponse) ProtoMessage()
- func (x *QueryFeeShareResponse) ProtoReflect() protoreflect.Message
- func (x *QueryFeeShareResponse) Reset()
- func (x *QueryFeeShareResponse) String() string
- type QueryFeeSharesRequest
- func (*QueryFeeSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryFeeSharesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryFeeSharesRequest) ProtoMessage()
- func (x *QueryFeeSharesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryFeeSharesRequest) Reset()
- func (x *QueryFeeSharesRequest) String() string
- type QueryFeeSharesResponse
- func (*QueryFeeSharesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryFeeSharesResponse) GetFeeshare() []*FeeShare
- func (x *QueryFeeSharesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryFeeSharesResponse) ProtoMessage()
- func (x *QueryFeeSharesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryFeeSharesResponse) Reset()
- func (x *QueryFeeSharesResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type QueryWithdrawerFeeSharesRequest
- func (*QueryWithdrawerFeeSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithdrawerFeeSharesRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryWithdrawerFeeSharesRequest) GetWithdrawerAddress() string
- func (*QueryWithdrawerFeeSharesRequest) ProtoMessage()
- func (x *QueryWithdrawerFeeSharesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryWithdrawerFeeSharesRequest) Reset()
- func (x *QueryWithdrawerFeeSharesRequest) String() string
- type QueryWithdrawerFeeSharesResponse
- func (*QueryWithdrawerFeeSharesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithdrawerFeeSharesResponse) GetContractAddresses() []string
- func (x *QueryWithdrawerFeeSharesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryWithdrawerFeeSharesResponse) ProtoMessage()
- func (x *QueryWithdrawerFeeSharesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryWithdrawerFeeSharesResponse) Reset()
- func (x *QueryWithdrawerFeeSharesResponse) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CancelFeeShare(context.Context, *MsgCancelFeeShare) (*MsgCancelFeeShareResponse, error)
- func (UnimplementedMsgServer) RegisterFeeShare(context.Context, *MsgRegisterFeeShare) (*MsgRegisterFeeShareResponse, error)
- func (UnimplementedMsgServer) UpdateFeeShare(context.Context, *MsgUpdateFeeShare) (*MsgUpdateFeeShareResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) DeployerFeeShares(context.Context, *QueryDeployerFeeSharesRequest) (*QueryDeployerFeeSharesResponse, error)
- func (UnimplementedQueryServer) FeeShare(context.Context, *QueryFeeShareRequest) (*QueryFeeShareResponse, error)
- func (UnimplementedQueryServer) FeeShares(context.Context, *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) WithdrawerFeeShares(context.Context, *QueryWithdrawerFeeSharesRequest) (*QueryWithdrawerFeeSharesResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Params_FullMethodName = "/juno.feeshare.v1.Query/Params" )
const ( Msg_UpdateParams_FullMethodName = "/juno.feeshare.v1.Msg/UpdateParams" )
Variables ¶
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)
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 {
// form
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
// same as the contracts admin address.
DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"`
// 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) GetContractAddress ¶
func (*FeeShare) GetDeployerAddress ¶
func (*FeeShare) GetWithdrawerAddress ¶
func (*FeeShare) ProtoMessage ¶
func (*FeeShare) ProtoMessage()
func (*FeeShare) ProtoReflect ¶
func (x *FeeShare) ProtoReflect() protoreflect.Message
type GenesisState ¶
type GenesisState struct {
// params are the feeshare module parameters
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
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 {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
// 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 (x *MsgCancelFeeShareResponse) ProtoReflect() protoreflect.Message
func (*MsgCancelFeeShareResponse) Reset ¶
func (x *MsgCancelFeeShareResponse) Reset()
func (*MsgCancelFeeShareResponse) String ¶
func (x *MsgCancelFeeShareResponse) String() string
type MsgClient ¶
type MsgClient interface {
RegisterFeeShare(ctx context.Context, in *MsgRegisterFeeShare, opts ...grpc.CallOption) (*MsgRegisterFeeShareResponse, error)
UpdateFeeShare(ctx context.Context, in *MsgUpdateFeeShare, opts ...grpc.CallOption) (*MsgUpdateFeeShareResponse, error)
// 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 {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
// same the contract's admin address
DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"`
// 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 (x *MsgRegisterFeeShareResponse) ProtoReflect() protoreflect.Message
func (*MsgRegisterFeeShareResponse) Reset ¶
func (x *MsgRegisterFeeShareResponse) Reset()
func (*MsgRegisterFeeShareResponse) String ¶
func (x *MsgRegisterFeeShareResponse) String() string
type MsgServer ¶
type MsgServer interface {
RegisterFeeShare(context.Context, *MsgRegisterFeeShare) (*MsgRegisterFeeShareResponse, error)
UpdateFeeShare(context.Context, *MsgUpdateFeeShare) (*MsgUpdateFeeShareResponse, error)
// 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 {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
// same the contract's admin address
DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"`
// 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 (x *MsgUpdateFeeShareResponse) ProtoReflect() protoreflect.Message
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 {
EnableFeeShare bool `protobuf:"varint,1,opt,name=enable_fee_share,json=enableFeeShare,proto3" json:"enable_fee_share,omitempty"`
// 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) GetAllowedDenoms ¶
func (*Params) GetDeveloperShares ¶
func (*Params) GetEnableFeeShare ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface {
FeeShares(ctx context.Context, in *QueryFeeSharesRequest, opts ...grpc.CallOption) (*QueryFeeSharesResponse, error)
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)
// registered
DeployerFeeShares(ctx context.Context, in *QueryDeployerFeeSharesRequest, opts ...grpc.CallOption) (*QueryDeployerFeeSharesResponse, error)
// 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 {
DeployerAddress string `protobuf:"bytes,1,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"`
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 (x *QueryDeployerFeeSharesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryDeployerFeeSharesRequest) ProtoMessage ¶
func (*QueryDeployerFeeSharesRequest) ProtoMessage()
func (*QueryDeployerFeeSharesRequest) ProtoReflect ¶
func (x *QueryDeployerFeeSharesRequest) ProtoReflect() protoreflect.Message
func (*QueryDeployerFeeSharesRequest) Reset ¶
func (x *QueryDeployerFeeSharesRequest) Reset()
func (*QueryDeployerFeeSharesRequest) String ¶
func (x *QueryDeployerFeeSharesRequest) String() string
type QueryDeployerFeeSharesResponse ¶
type QueryDeployerFeeSharesResponse struct {
// deployer
ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"`
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 (x *QueryDeployerFeeSharesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryDeployerFeeSharesResponse) ProtoMessage ¶
func (*QueryDeployerFeeSharesResponse) ProtoMessage()
func (*QueryDeployerFeeSharesResponse) ProtoReflect ¶
func (x *QueryDeployerFeeSharesResponse) ProtoReflect() protoreflect.Message
func (*QueryDeployerFeeSharesResponse) Reset ¶
func (x *QueryDeployerFeeSharesResponse) Reset()
func (*QueryDeployerFeeSharesResponse) String ¶
func (x *QueryDeployerFeeSharesResponse) String() string
type QueryFeeShareRequest ¶
type QueryFeeShareRequest struct {
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 *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 *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 []*FeeShare `protobuf:"bytes,1,rep,name=feeshare,proto3" json:"feeshare,omitempty"`
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(context.Context, *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error)
FeeShare(context.Context, *QueryFeeShareRequest) (*QueryFeeShareResponse, error)
// Params retrieves the FeeShare module params
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// registered
DeployerFeeShares(context.Context, *QueryDeployerFeeSharesRequest) (*QueryDeployerFeeSharesResponse, error)
// 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 {
WithdrawerAddress string `protobuf:"bytes,1,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"`
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 (x *QueryWithdrawerFeeSharesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryWithdrawerFeeSharesRequest) GetWithdrawerAddress ¶
func (x *QueryWithdrawerFeeSharesRequest) GetWithdrawerAddress() string
func (*QueryWithdrawerFeeSharesRequest) ProtoMessage ¶
func (*QueryWithdrawerFeeSharesRequest) ProtoMessage()
func (*QueryWithdrawerFeeSharesRequest) ProtoReflect ¶
func (x *QueryWithdrawerFeeSharesRequest) ProtoReflect() protoreflect.Message
func (*QueryWithdrawerFeeSharesRequest) Reset ¶
func (x *QueryWithdrawerFeeSharesRequest) Reset()
func (*QueryWithdrawerFeeSharesRequest) String ¶
func (x *QueryWithdrawerFeeSharesRequest) String() string
type QueryWithdrawerFeeSharesResponse ¶
type QueryWithdrawerFeeSharesResponse struct {
// withdrawer
ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"`
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 (x *QueryWithdrawerFeeSharesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryWithdrawerFeeSharesResponse) ProtoMessage ¶
func (*QueryWithdrawerFeeSharesResponse) ProtoMessage()
func (*QueryWithdrawerFeeSharesResponse) ProtoReflect ¶
func (x *QueryWithdrawerFeeSharesResponse) ProtoReflect() protoreflect.Message
func (*QueryWithdrawerFeeSharesResponse) Reset ¶
func (x *QueryWithdrawerFeeSharesResponse) Reset()
func (*QueryWithdrawerFeeSharesResponse) String ¶
func (x *QueryWithdrawerFeeSharesResponse) String() 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) CancelFeeShare(context.Context, *MsgCancelFeeShare) (*MsgCancelFeeShareResponse, error)
func (UnimplementedMsgServer) RegisterFeeShare ¶
func (UnimplementedMsgServer) RegisterFeeShare(context.Context, *MsgRegisterFeeShare) (*MsgRegisterFeeShareResponse, error)
func (UnimplementedMsgServer) UpdateFeeShare ¶
func (UnimplementedMsgServer) UpdateFeeShare(context.Context, *MsgUpdateFeeShare) (*MsgUpdateFeeShareResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
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) DeployerFeeShares ¶
func (UnimplementedQueryServer) DeployerFeeShares(context.Context, *QueryDeployerFeeSharesRequest) (*QueryDeployerFeeSharesResponse, error)
func (UnimplementedQueryServer) FeeShare ¶
func (UnimplementedQueryServer) FeeShare(context.Context, *QueryFeeShareRequest) (*QueryFeeShareResponse, error)
func (UnimplementedQueryServer) FeeShares ¶
func (UnimplementedQueryServer) FeeShares(context.Context, *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) WithdrawerFeeShares ¶
func (UnimplementedQueryServer) WithdrawerFeeShares(context.Context, *QueryWithdrawerFeeSharesRequest) (*QueryWithdrawerFeeSharesResponse, error)
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.