import Long from "long"; import _m0 from "protobufjs/minimal"; import { ModuleParams } from "./genesis"; /** MsgRegisterFeeShare defines a message that registers a FeeShare */ export interface MsgRegisterFeeShare { /** contract_address in bech32 format */ contractAddress: string; /** * deployer_address is the bech32 address of message sender. It must be the * same the contract's admin address */ deployerAddress: string; /** * withdrawer_address is the bech32 address of account receiving the * transaction fees */ withdrawerAddress: string; } /** MsgRegisterFeeShareResponse defines the MsgRegisterFeeShare response type */ export interface MsgRegisterFeeShareResponse { } /** * MsgUpdateFeeShare defines a message that updates the withdrawer address for a * registered FeeShare */ export interface MsgUpdateFeeShare { /** contract_address in bech32 format */ contractAddress: string; /** * deployer_address is the bech32 address of message sender. It must be the * same the contract's admin address */ deployerAddress: string; /** * withdrawer_address is the bech32 address of account receiving the * transaction fees */ withdrawerAddress: string; } /** MsgUpdateFeeShareResponse defines the MsgUpdateFeeShare response type */ export interface MsgUpdateFeeShareResponse { } /** MsgCancelFeeShare defines a message that cancels a registered FeeShare */ export interface MsgCancelFeeShare { /** contract_address in bech32 format */ contractAddress: string; /** * deployer_address is the bech32 address of message sender. It must be the * same the contract's admin address */ deployerAddress: string; } /** MsgCancelFeeShareResponse defines the MsgCancelFeeShare response type */ export interface MsgCancelFeeShareResponse { } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParams { /** * authority is the address that controls the module (defaults to x/gov unless * overwritten). */ authority: string; /** * params defines the x/feeshare parameters to update. * * NOTE: All parameters must be supplied. */ params?: ModuleParams; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParamsResponse { } export declare const MsgRegisterFeeShare: { encode(message: MsgRegisterFeeShare, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgRegisterFeeShare; fromJSON(object: any): MsgRegisterFeeShare; toJSON(message: MsgRegisterFeeShare): unknown; create, I>>(base?: I): MsgRegisterFeeShare; fromPartial, I>>(object: I): MsgRegisterFeeShare; }; export declare const MsgRegisterFeeShareResponse: { encode(_: MsgRegisterFeeShareResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgRegisterFeeShareResponse; fromJSON(_: any): MsgRegisterFeeShareResponse; toJSON(_: MsgRegisterFeeShareResponse): unknown; create, I>>(base?: I): MsgRegisterFeeShareResponse; fromPartial, I>>(_: I): MsgRegisterFeeShareResponse; }; export declare const MsgUpdateFeeShare: { encode(message: MsgUpdateFeeShare, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateFeeShare; fromJSON(object: any): MsgUpdateFeeShare; toJSON(message: MsgUpdateFeeShare): unknown; create, I>>(base?: I): MsgUpdateFeeShare; fromPartial, I>>(object: I): MsgUpdateFeeShare; }; export declare const MsgUpdateFeeShareResponse: { encode(_: MsgUpdateFeeShareResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateFeeShareResponse; fromJSON(_: any): MsgUpdateFeeShareResponse; toJSON(_: MsgUpdateFeeShareResponse): unknown; create, I>>(base?: I): MsgUpdateFeeShareResponse; fromPartial, I>>(_: I): MsgUpdateFeeShareResponse; }; export declare const MsgCancelFeeShare: { encode(message: MsgCancelFeeShare, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelFeeShare; fromJSON(object: any): MsgCancelFeeShare; toJSON(message: MsgCancelFeeShare): unknown; create, I>>(base?: I): MsgCancelFeeShare; fromPartial, I>>(object: I): MsgCancelFeeShare; }; export declare const MsgCancelFeeShareResponse: { encode(_: MsgCancelFeeShareResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelFeeShareResponse; fromJSON(_: any): MsgCancelFeeShareResponse; toJSON(_: MsgCancelFeeShareResponse): unknown; create, I>>(base?: I): MsgCancelFeeShareResponse; fromPartial, I>>(_: I): MsgCancelFeeShareResponse; }; export declare const MsgUpdateParams: { encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): unknown; create, I>>(base?: I): MsgUpdateParams; fromPartial, I>>(object: I): MsgUpdateParams; }; export declare const MsgUpdateParamsResponse: { encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): unknown; create, I>>(base?: I): MsgUpdateParamsResponse; fromPartial, I>>(_: I): MsgUpdateParamsResponse; }; /** Msg defines the fees Msg service. */ export interface Msg { /** RegisterFeeShare registers a new contract for receiving transaction fees */ RegisterFeeShare(request: MsgRegisterFeeShare): Promise; /** UpdateFeeShare updates the withdrawer address of a FeeShare */ UpdateFeeShare(request: MsgUpdateFeeShare): Promise; /** * CancelFeeShare cancels a contract's fee registration and further receival * of transaction fees */ CancelFeeShare(request: MsgCancelFeeShare): Promise; /** Update the params of the module through gov v1 type. */ UpdateParams(request: MsgUpdateParams): Promise; } export declare const MsgServiceName = "nibiru.devgas.v1.Msg"; export declare class MsgClientImpl implements Msg { private readonly rpc; private readonly service; constructor(rpc: Rpc, opts?: { service?: string; }); RegisterFeeShare(request: MsgRegisterFeeShare): Promise; UpdateFeeShare(request: MsgUpdateFeeShare): Promise; CancelFeeShare(request: MsgCancelFeeShare): Promise; UpdateParams(request: MsgUpdateParams): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export {}; //# sourceMappingURL=tx.d.ts.map