import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Coin } from "../../../cosmos/base/v1beta1/coin_pb.js"; /** * TakerFeeShareAgreement represents the agreement between the Osmosis protocol * and a specific denom to share a certain percent of taker fees generated in * any route that contains said denom. For example, if the agreement specifies a * 10% skim_percent, this means 10% of the taker fees generated in a swap route * containing the specified denom will be sent to the address specified * in the skim_address field at the end of each epoch. These skim_percents are * additive, so if three taker fee agreements have skim percents of 10%, 20%, * and 30%, the total skim percent for the route will be 60%. * * @generated from message osmosis.poolmanager.v1beta1.TakerFeeShareAgreement */ export declare class TakerFeeShareAgreement extends Message { /** * denom is the denom that has the taker fee share agreement. * * @generated from field: string denom = 1; */ denom: string; /** * skim_percent is the percentage of taker fees that will be skimmed for the * denom, in the event that the denom is included in the swap route. * * @generated from field: string skim_percent = 2; */ skimPercent: string; /** * skim_address is the address belonging to the respective denom * that the skimmed taker fees will be sent to at the end of each epoch. * * @generated from field: string skim_address = 3; */ skimAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.poolmanager.v1beta1.TakerFeeShareAgreement"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TakerFeeShareAgreement; static fromJson(jsonValue: JsonValue, options?: Partial): TakerFeeShareAgreement; static fromJsonString(jsonString: string, options?: Partial): TakerFeeShareAgreement; static equals(a: TakerFeeShareAgreement | PlainMessage | undefined, b: TakerFeeShareAgreement | PlainMessage | undefined): boolean; } /** * TakerFeeSkimAccumulator accumulates the total skimmed taker fees for each * denom that has a taker fee share agreement. * * @generated from message osmosis.poolmanager.v1beta1.TakerFeeSkimAccumulator */ export declare class TakerFeeSkimAccumulator extends Message { /** * denom is the denom that has the taker fee share agreement. * * @generated from field: string denom = 1; */ denom: string; /** * skimmed_taker_fees is the total skimmed taker fees for the denom. * * @generated from field: repeated cosmos.base.v1beta1.Coin skimmed_taker_fees = 2; */ skimmedTakerFees: Coin[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.poolmanager.v1beta1.TakerFeeSkimAccumulator"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TakerFeeSkimAccumulator; static fromJson(jsonValue: JsonValue, options?: Partial): TakerFeeSkimAccumulator; static fromJsonString(jsonString: string, options?: Partial): TakerFeeSkimAccumulator; static equals(a: TakerFeeSkimAccumulator | PlainMessage | undefined, b: TakerFeeSkimAccumulator | PlainMessage | undefined): boolean; } /** * AlloyContractTakerFeeShareState contains the contract address of the alloyed * asset pool, along with the adjusted taker fee share agreements for any asset * within the alloyed asset pool that has a taker fee share agreement. If for * instance there are two denoms, and denomA makes up 50 percent and denomB * makes up 50 percent, and denom A has a taker fee share agreement with a skim * percent of 10%, then the adjusted taker fee share agreement for denomA will * be 5%. * * @generated from message osmosis.poolmanager.v1beta1.AlloyContractTakerFeeShareState */ export declare class AlloyContractTakerFeeShareState extends Message { /** * contract_address is the address of the alloyed asset pool contract. * * @generated from field: string contract_address = 1; */ contractAddress: string; /** * taker_fee_share_agreements is the adjusted taker fee share agreements for * any asset within the alloyed asset pool that has a taker fee share * agreement. * * @generated from field: repeated osmosis.poolmanager.v1beta1.TakerFeeShareAgreement taker_fee_share_agreements = 2; */ takerFeeShareAgreements: TakerFeeShareAgreement[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "osmosis.poolmanager.v1beta1.AlloyContractTakerFeeShareState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AlloyContractTakerFeeShareState; static fromJson(jsonValue: JsonValue, options?: Partial): AlloyContractTakerFeeShareState; static fromJsonString(jsonString: string, options?: Partial): AlloyContractTakerFeeShareState; static equals(a: AlloyContractTakerFeeShareState | PlainMessage | undefined, b: AlloyContractTakerFeeShareState | PlainMessage | undefined): boolean; } //# sourceMappingURL=taker_fee_share_pb.d.ts.map