import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers';
import type { FunctionFragment, Result, EventFragment } from '@ethersproject/abi';
import type { Listener, Provider } from '@ethersproject/providers';
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common';
export interface CleverGaugeControllerInterface extends utils.Interface {
    functions: {
        'commit_transfer_ownership(address)': FunctionFragment;
        'apply_transfer_ownership()': FunctionFragment;
        'gauge_types(address)': FunctionFragment;
        'add_gauge(address,int128)': FunctionFragment;
        'add_gauge(address,int128,uint256)': FunctionFragment;
        'checkpoint()': FunctionFragment;
        'checkpoint_gauge(address)': FunctionFragment;
        'gauge_relative_weight(address)': FunctionFragment;
        'gauge_relative_weight(address,uint256)': FunctionFragment;
        'gauge_relative_weight_write(address)': FunctionFragment;
        'gauge_relative_weight_write(address,uint256)': FunctionFragment;
        'add_type(string)': FunctionFragment;
        'add_type(string,uint256)': FunctionFragment;
        'change_type_weight(int128,uint256)': FunctionFragment;
        'change_gauge_weight(address,uint256)': FunctionFragment;
        'vote_for_gauge_weights(address,uint256)': FunctionFragment;
        'get_gauge_weight(address)': FunctionFragment;
        'get_type_weight(int128)': FunctionFragment;
        'get_total_weight()': FunctionFragment;
        'get_weights_sum_per_type(int128)': FunctionFragment;
        'admin()': FunctionFragment;
        'future_admin()': FunctionFragment;
        'token()': FunctionFragment;
        'voting_escrow()': FunctionFragment;
        'n_gauge_types()': FunctionFragment;
        'n_gauges()': FunctionFragment;
        'gauge_type_names(int128)': FunctionFragment;
        'gauges(uint256)': FunctionFragment;
        'vote_user_slopes(address,address)': FunctionFragment;
        'vote_user_power(address)': FunctionFragment;
        'last_user_vote(address,address)': FunctionFragment;
        'points_weight(address,uint256)': FunctionFragment;
        'time_weight(address)': FunctionFragment;
        'points_sum(int128,uint256)': FunctionFragment;
        'time_sum(uint256)': FunctionFragment;
        'points_total(uint256)': FunctionFragment;
        'time_total()': FunctionFragment;
        'points_type_weight(int128,uint256)': FunctionFragment;
        'time_type_weight(uint256)': FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: 'commit_transfer_ownership' | 'apply_transfer_ownership' | 'gauge_types' | 'add_gauge(address,int128)' | 'add_gauge(address,int128,uint256)' | 'checkpoint' | 'checkpoint_gauge' | 'gauge_relative_weight(address)' | 'gauge_relative_weight(address,uint256)' | 'gauge_relative_weight_write(address)' | 'gauge_relative_weight_write(address,uint256)' | 'add_type(string)' | 'add_type(string,uint256)' | 'change_type_weight' | 'change_gauge_weight' | 'vote_for_gauge_weights' | 'get_gauge_weight' | 'get_type_weight' | 'get_total_weight' | 'get_weights_sum_per_type' | 'admin' | 'future_admin' | 'token' | 'voting_escrow' | 'n_gauge_types' | 'n_gauges' | 'gauge_type_names' | 'gauges' | 'vote_user_slopes' | 'vote_user_power' | 'last_user_vote' | 'points_weight' | 'time_weight' | 'points_sum' | 'time_sum' | 'points_total' | 'time_total' | 'points_type_weight' | 'time_type_weight'): FunctionFragment;
    encodeFunctionData(functionFragment: 'commit_transfer_ownership', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'apply_transfer_ownership', values?: undefined): string;
    encodeFunctionData(functionFragment: 'gauge_types', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'add_gauge(address,int128)', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'add_gauge(address,int128,uint256)', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'checkpoint', values?: undefined): string;
    encodeFunctionData(functionFragment: 'checkpoint_gauge', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'gauge_relative_weight(address)', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'gauge_relative_weight(address,uint256)', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'gauge_relative_weight_write(address)', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'gauge_relative_weight_write(address,uint256)', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'add_type(string)', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'add_type(string,uint256)', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'change_type_weight', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'change_gauge_weight', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'vote_for_gauge_weights', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'get_gauge_weight', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'get_type_weight', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'get_total_weight', values?: undefined): string;
    encodeFunctionData(functionFragment: 'get_weights_sum_per_type', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'admin', values?: undefined): string;
    encodeFunctionData(functionFragment: 'future_admin', values?: undefined): string;
    encodeFunctionData(functionFragment: 'token', values?: undefined): string;
    encodeFunctionData(functionFragment: 'voting_escrow', values?: undefined): string;
    encodeFunctionData(functionFragment: 'n_gauge_types', values?: undefined): string;
    encodeFunctionData(functionFragment: 'n_gauges', values?: undefined): string;
    encodeFunctionData(functionFragment: 'gauge_type_names', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'gauges', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'vote_user_slopes', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'vote_user_power', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'last_user_vote', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'points_weight', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'time_weight', values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: 'points_sum', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'time_sum', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'points_total', values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'time_total', values?: undefined): string;
    encodeFunctionData(functionFragment: 'points_type_weight', values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: 'time_type_weight', values: [PromiseOrValue<BigNumberish>]): string;
    decodeFunctionResult(functionFragment: 'commit_transfer_ownership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'apply_transfer_ownership', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'gauge_types', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'add_gauge(address,int128)', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'add_gauge(address,int128,uint256)', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'checkpoint', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'checkpoint_gauge', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'gauge_relative_weight(address)', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'gauge_relative_weight(address,uint256)', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'gauge_relative_weight_write(address)', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'gauge_relative_weight_write(address,uint256)', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'add_type(string)', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'add_type(string,uint256)', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'change_type_weight', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'change_gauge_weight', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'vote_for_gauge_weights', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'get_gauge_weight', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'get_type_weight', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'get_total_weight', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'get_weights_sum_per_type', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'admin', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'future_admin', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'token', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'voting_escrow', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'n_gauge_types', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'n_gauges', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'gauge_type_names', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'gauges', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'vote_user_slopes', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'vote_user_power', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'last_user_vote', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'points_weight', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'time_weight', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'points_sum', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'time_sum', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'points_total', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'time_total', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'points_type_weight', data: BytesLike): Result;
    decodeFunctionResult(functionFragment: 'time_type_weight', data: BytesLike): Result;
    events: {
        'CommitOwnership(address)': EventFragment;
        'ApplyOwnership(address)': EventFragment;
        'AddType(string,int128)': EventFragment;
        'NewTypeWeight(int128,uint256,uint256,uint256)': EventFragment;
        'NewGaugeWeight(address,uint256,uint256,uint256)': EventFragment;
        'VoteForGauge(uint256,address,address,uint256)': EventFragment;
        'NewGauge(address,int128,uint256)': EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: 'CommitOwnership'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'ApplyOwnership'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'AddType'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'NewTypeWeight'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'NewGaugeWeight'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'VoteForGauge'): EventFragment;
    getEvent(nameOrSignatureOrTopic: 'NewGauge'): EventFragment;
}
export interface CommitOwnershipEventObject {
    admin: string;
}
export declare type CommitOwnershipEvent = TypedEvent<[string], CommitOwnershipEventObject>;
export declare type CommitOwnershipEventFilter = TypedEventFilter<CommitOwnershipEvent>;
export interface ApplyOwnershipEventObject {
    admin: string;
}
export declare type ApplyOwnershipEvent = TypedEvent<[string], ApplyOwnershipEventObject>;
export declare type ApplyOwnershipEventFilter = TypedEventFilter<ApplyOwnershipEvent>;
export interface AddTypeEventObject {
    name: string;
    type_id: BigNumber;
}
export declare type AddTypeEvent = TypedEvent<[string, BigNumber], AddTypeEventObject>;
export declare type AddTypeEventFilter = TypedEventFilter<AddTypeEvent>;
export interface NewTypeWeightEventObject {
    type_id: BigNumber;
    time: BigNumber;
    weight: BigNumber;
    total_weight: BigNumber;
}
export declare type NewTypeWeightEvent = TypedEvent<[BigNumber, BigNumber, BigNumber, BigNumber], NewTypeWeightEventObject>;
export declare type NewTypeWeightEventFilter = TypedEventFilter<NewTypeWeightEvent>;
export interface NewGaugeWeightEventObject {
    gauge_address: string;
    time: BigNumber;
    weight: BigNumber;
    total_weight: BigNumber;
}
export declare type NewGaugeWeightEvent = TypedEvent<[string, BigNumber, BigNumber, BigNumber], NewGaugeWeightEventObject>;
export declare type NewGaugeWeightEventFilter = TypedEventFilter<NewGaugeWeightEvent>;
export interface VoteForGaugeEventObject {
    time: BigNumber;
    user: string;
    gauge_addr: string;
    weight: BigNumber;
}
export declare type VoteForGaugeEvent = TypedEvent<[BigNumber, string, string, BigNumber], VoteForGaugeEventObject>;
export declare type VoteForGaugeEventFilter = TypedEventFilter<VoteForGaugeEvent>;
export interface NewGaugeEventObject {
    addr: string;
    gauge_type: BigNumber;
    weight: BigNumber;
}
export declare type NewGaugeEvent = TypedEvent<[string, BigNumber, BigNumber], NewGaugeEventObject>;
export declare type NewGaugeEventFilter = TypedEventFilter<NewGaugeEvent>;
export interface CleverGaugeController extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: CleverGaugeControllerInterface;
    queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
    listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
    listeners(eventName?: string): Array<Listener>;
    removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
    removeAllListeners(eventName?: string): this;
    off: OnEvent<this>;
    on: OnEvent<this>;
    once: OnEvent<this>;
    removeListener: OnEvent<this>;
    functions: {
        commit_transfer_ownership(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        apply_transfer_ownership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        gauge_types(_addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        'add_gauge(address,int128)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        'add_gauge(address,int128,uint256)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        checkpoint(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        checkpoint_gauge(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        'gauge_relative_weight(address)'(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        'gauge_relative_weight(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        'gauge_relative_weight_write(address)'(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        'gauge_relative_weight_write(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        'add_type(string)'(_name: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        'add_type(string,uint256)'(_name: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        change_type_weight(type_id: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        change_gauge_weight(addr: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        vote_for_gauge_weights(_gauge_addr: PromiseOrValue<string>, _user_weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        get_gauge_weight(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        get_type_weight(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        get_total_weight(overrides?: CallOverrides): Promise<[BigNumber]>;
        get_weights_sum_per_type(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        admin(overrides?: CallOverrides): Promise<[string]>;
        future_admin(overrides?: CallOverrides): Promise<[string]>;
        token(overrides?: CallOverrides): Promise<[string]>;
        voting_escrow(overrides?: CallOverrides): Promise<[string]>;
        n_gauge_types(overrides?: CallOverrides): Promise<[BigNumber]>;
        n_gauges(overrides?: CallOverrides): Promise<[BigNumber]>;
        gauge_type_names(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string]>;
        gauges(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string]>;
        vote_user_slopes(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
            [
                BigNumber,
                BigNumber,
                BigNumber
            ] & {
                slope: BigNumber;
                power: BigNumber;
                end: BigNumber;
            }
        ]>;
        vote_user_power(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        last_user_vote(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        points_weight(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[[BigNumber, BigNumber] & {
            bias: BigNumber;
            slope: BigNumber;
        }]>;
        time_weight(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        points_sum(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[[BigNumber, BigNumber] & {
            bias: BigNumber;
            slope: BigNumber;
        }]>;
        time_sum(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        points_total(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        time_total(overrides?: CallOverrides): Promise<[BigNumber]>;
        points_type_weight(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        time_type_weight(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
    };
    commit_transfer_ownership(addr: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    apply_transfer_ownership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    gauge_types(_addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    'add_gauge(address,int128)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    'add_gauge(address,int128,uint256)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    checkpoint(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    checkpoint_gauge(addr: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    'gauge_relative_weight(address)'(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    'gauge_relative_weight(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    'gauge_relative_weight_write(address)'(addr: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    'gauge_relative_weight_write(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    'add_type(string)'(_name: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    'add_type(string,uint256)'(_name: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    change_type_weight(type_id: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    change_gauge_weight(addr: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    vote_for_gauge_weights(_gauge_addr: PromiseOrValue<string>, _user_weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    get_gauge_weight(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    get_type_weight(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    get_total_weight(overrides?: CallOverrides): Promise<BigNumber>;
    get_weights_sum_per_type(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    admin(overrides?: CallOverrides): Promise<string>;
    future_admin(overrides?: CallOverrides): Promise<string>;
    token(overrides?: CallOverrides): Promise<string>;
    voting_escrow(overrides?: CallOverrides): Promise<string>;
    n_gauge_types(overrides?: CallOverrides): Promise<BigNumber>;
    n_gauges(overrides?: CallOverrides): Promise<BigNumber>;
    gauge_type_names(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
    gauges(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
    vote_user_slopes(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
        BigNumber,
        BigNumber,
        BigNumber
    ] & {
        slope: BigNumber;
        power: BigNumber;
        end: BigNumber;
    }>;
    vote_user_power(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    last_user_vote(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    points_weight(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
        bias: BigNumber;
        slope: BigNumber;
    }>;
    time_weight(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    points_sum(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
        bias: BigNumber;
        slope: BigNumber;
    }>;
    time_sum(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    points_total(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    time_total(overrides?: CallOverrides): Promise<BigNumber>;
    points_type_weight(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    time_type_weight(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    callStatic: {
        commit_transfer_ownership(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        apply_transfer_ownership(overrides?: CallOverrides): Promise<void>;
        gauge_types(_addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        'add_gauge(address,int128)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        'add_gauge(address,int128,uint256)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        checkpoint(overrides?: CallOverrides): Promise<void>;
        checkpoint_gauge(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        'gauge_relative_weight(address)'(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        'gauge_relative_weight(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        'gauge_relative_weight_write(address)'(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        'gauge_relative_weight_write(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        'add_type(string)'(_name: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        'add_type(string,uint256)'(_name: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        change_type_weight(type_id: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        change_gauge_weight(addr: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        vote_for_gauge_weights(_gauge_addr: PromiseOrValue<string>, _user_weight: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        get_gauge_weight(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        get_type_weight(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        get_total_weight(overrides?: CallOverrides): Promise<BigNumber>;
        get_weights_sum_per_type(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        admin(overrides?: CallOverrides): Promise<string>;
        future_admin(overrides?: CallOverrides): Promise<string>;
        token(overrides?: CallOverrides): Promise<string>;
        voting_escrow(overrides?: CallOverrides): Promise<string>;
        n_gauge_types(overrides?: CallOverrides): Promise<BigNumber>;
        n_gauges(overrides?: CallOverrides): Promise<BigNumber>;
        gauge_type_names(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
        gauges(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
        vote_user_slopes(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            slope: BigNumber;
            power: BigNumber;
            end: BigNumber;
        }>;
        vote_user_power(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        last_user_vote(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        points_weight(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            bias: BigNumber;
            slope: BigNumber;
        }>;
        time_weight(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        points_sum(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
            bias: BigNumber;
            slope: BigNumber;
        }>;
        time_sum(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        points_total(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        time_total(overrides?: CallOverrides): Promise<BigNumber>;
        points_type_weight(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        time_type_weight(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    filters: {
        'CommitOwnership(address)'(admin?: null): CommitOwnershipEventFilter;
        CommitOwnership(admin?: null): CommitOwnershipEventFilter;
        'ApplyOwnership(address)'(admin?: null): ApplyOwnershipEventFilter;
        ApplyOwnership(admin?: null): ApplyOwnershipEventFilter;
        'AddType(string,int128)'(name?: null, type_id?: null): AddTypeEventFilter;
        AddType(name?: null, type_id?: null): AddTypeEventFilter;
        'NewTypeWeight(int128,uint256,uint256,uint256)'(type_id?: null, time?: null, weight?: null, total_weight?: null): NewTypeWeightEventFilter;
        NewTypeWeight(type_id?: null, time?: null, weight?: null, total_weight?: null): NewTypeWeightEventFilter;
        'NewGaugeWeight(address,uint256,uint256,uint256)'(gauge_address?: null, time?: null, weight?: null, total_weight?: null): NewGaugeWeightEventFilter;
        NewGaugeWeight(gauge_address?: null, time?: null, weight?: null, total_weight?: null): NewGaugeWeightEventFilter;
        'VoteForGauge(uint256,address,address,uint256)'(time?: null, user?: null, gauge_addr?: null, weight?: null): VoteForGaugeEventFilter;
        VoteForGauge(time?: null, user?: null, gauge_addr?: null, weight?: null): VoteForGaugeEventFilter;
        'NewGauge(address,int128,uint256)'(addr?: null, gauge_type?: null, weight?: null): NewGaugeEventFilter;
        NewGauge(addr?: null, gauge_type?: null, weight?: null): NewGaugeEventFilter;
    };
    estimateGas: {
        commit_transfer_ownership(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        apply_transfer_ownership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        gauge_types(_addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        'add_gauge(address,int128)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        'add_gauge(address,int128,uint256)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        checkpoint(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        checkpoint_gauge(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        'gauge_relative_weight(address)'(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        'gauge_relative_weight(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        'gauge_relative_weight_write(address)'(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        'gauge_relative_weight_write(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        'add_type(string)'(_name: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        'add_type(string,uint256)'(_name: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        change_type_weight(type_id: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        change_gauge_weight(addr: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        vote_for_gauge_weights(_gauge_addr: PromiseOrValue<string>, _user_weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        get_gauge_weight(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        get_type_weight(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        get_total_weight(overrides?: CallOverrides): Promise<BigNumber>;
        get_weights_sum_per_type(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        admin(overrides?: CallOverrides): Promise<BigNumber>;
        future_admin(overrides?: CallOverrides): Promise<BigNumber>;
        token(overrides?: CallOverrides): Promise<BigNumber>;
        voting_escrow(overrides?: CallOverrides): Promise<BigNumber>;
        n_gauge_types(overrides?: CallOverrides): Promise<BigNumber>;
        n_gauges(overrides?: CallOverrides): Promise<BigNumber>;
        gauge_type_names(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        gauges(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        vote_user_slopes(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        vote_user_power(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        last_user_vote(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        points_weight(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        time_weight(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        points_sum(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        time_sum(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        points_total(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        time_total(overrides?: CallOverrides): Promise<BigNumber>;
        points_type_weight(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        time_type_weight(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        commit_transfer_ownership(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        apply_transfer_ownership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        gauge_types(_addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        'add_gauge(address,int128)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        'add_gauge(address,int128,uint256)'(addr: PromiseOrValue<string>, gauge_type: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        checkpoint(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        checkpoint_gauge(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        'gauge_relative_weight(address)'(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        'gauge_relative_weight(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        'gauge_relative_weight_write(address)'(addr: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        'gauge_relative_weight_write(address,uint256)'(addr: PromiseOrValue<string>, time: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        'add_type(string)'(_name: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        'add_type(string,uint256)'(_name: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        change_type_weight(type_id: PromiseOrValue<BigNumberish>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        change_gauge_weight(addr: PromiseOrValue<string>, weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        vote_for_gauge_weights(_gauge_addr: PromiseOrValue<string>, _user_weight: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        get_gauge_weight(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        get_type_weight(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        get_total_weight(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        get_weights_sum_per_type(type_id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        admin(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        future_admin(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        token(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        voting_escrow(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        n_gauge_types(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        n_gauges(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        gauge_type_names(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        gauges(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        vote_user_slopes(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        vote_user_power(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        last_user_vote(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        points_weight(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        time_weight(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        points_sum(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        time_sum(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        points_total(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        time_total(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        points_type_weight(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        time_type_weight(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
