"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CurveGaugeV2__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        name: 'Deposit',
        inputs: [
            {
                name: 'provider',
                type: 'address',
                indexed: true,
            },
            {
                name: 'value',
                type: 'uint256',
                indexed: false,
            },
        ],
        anonymous: false,
        type: 'event',
    },
    {
        name: 'Withdraw',
        inputs: [
            {
                name: 'provider',
                type: 'address',
                indexed: true,
            },
            {
                name: 'value',
                type: 'uint256',
                indexed: false,
            },
        ],
        anonymous: false,
        type: 'event',
    },
    {
        name: 'CommitOwnership',
        inputs: [
            {
                name: 'admin',
                type: 'address',
                indexed: false,
            },
        ],
        anonymous: false,
        type: 'event',
    },
    {
        name: 'ApplyOwnership',
        inputs: [
            {
                name: 'admin',
                type: 'address',
                indexed: false,
            },
        ],
        anonymous: false,
        type: 'event',
    },
    {
        name: 'Transfer',
        inputs: [
            {
                name: '_from',
                type: 'address',
                indexed: true,
            },
            {
                name: '_to',
                type: 'address',
                indexed: true,
            },
            {
                name: '_value',
                type: 'uint256',
                indexed: false,
            },
        ],
        anonymous: false,
        type: 'event',
    },
    {
        name: 'Approval',
        inputs: [
            {
                name: '_owner',
                type: 'address',
                indexed: true,
            },
            {
                name: '_spender',
                type: 'address',
                indexed: true,
            },
            {
                name: '_value',
                type: 'uint256',
                indexed: false,
            },
        ],
        anonymous: false,
        type: 'event',
    },
    {
        stateMutability: 'nonpayable',
        type: 'constructor',
        inputs: [
            {
                name: '_admin',
                type: 'address',
            },
            {
                name: '_lp_token',
                type: 'address',
            },
        ],
        outputs: [],
    },
    {
        name: 'claimable_tokens',
        outputs: [
            {
                type: 'uint256',
                name: '',
            },
        ],
        inputs: [
            {
                type: 'address',
                name: 'addr',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'decimals',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'reward_contract',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'address',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'last_claim',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'claimed_reward',
        inputs: [
            {
                name: '_addr',
                type: 'address',
            },
            {
                name: '_token',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'claimable_reward',
        inputs: [
            {
                name: '_addr',
                type: 'address',
            },
            {
                name: '_token',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'claimable_reward_write',
        inputs: [
            {
                name: '_addr',
                type: 'address',
            },
            {
                name: '_token',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'set_rewards_receiver',
        inputs: [
            {
                name: '_receiver',
                type: 'address',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'claim_rewards',
        inputs: [],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'claim_rewards',
        inputs: [
            {
                name: '_addr',
                type: 'address',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'claim_rewards',
        inputs: [
            {
                name: '_addr',
                type: 'address',
            },
            {
                name: '_receiver',
                type: 'address',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'deposit',
        inputs: [
            {
                name: '_value',
                type: 'uint256',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'deposit',
        inputs: [
            {
                name: '_value',
                type: 'uint256',
            },
            {
                name: '_addr',
                type: 'address',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'deposit',
        inputs: [
            {
                name: '_value',
                type: 'uint256',
            },
            {
                name: '_addr',
                type: 'address',
            },
            {
                name: '_claim_rewards',
                type: 'bool',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'withdraw',
        inputs: [
            {
                name: '_value',
                type: 'uint256',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'withdraw',
        inputs: [
            {
                name: '_value',
                type: 'uint256',
            },
            {
                name: '_claim_rewards',
                type: 'bool',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'transfer',
        inputs: [
            {
                name: '_to',
                type: 'address',
            },
            {
                name: '_value',
                type: 'uint256',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'bool',
            },
        ],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'transferFrom',
        inputs: [
            {
                name: '_from',
                type: 'address',
            },
            {
                name: '_to',
                type: 'address',
            },
            {
                name: '_value',
                type: 'uint256',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'bool',
            },
        ],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'approve',
        inputs: [
            {
                name: '_spender',
                type: 'address',
            },
            {
                name: '_value',
                type: 'uint256',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'bool',
            },
        ],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'increaseAllowance',
        inputs: [
            {
                name: '_spender',
                type: 'address',
            },
            {
                name: '_added_value',
                type: 'uint256',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'bool',
            },
        ],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'decreaseAllowance',
        inputs: [
            {
                name: '_spender',
                type: 'address',
            },
            {
                name: '_subtracted_value',
                type: 'uint256',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'bool',
            },
        ],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'set_rewards',
        inputs: [
            {
                name: '_reward_contract',
                type: 'address',
            },
            {
                name: '_claim_sig',
                type: 'bytes32',
            },
            {
                name: '_reward_tokens',
                type: 'address[8]',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'commit_transfer_ownership',
        inputs: [
            {
                name: 'addr',
                type: 'address',
            },
        ],
        outputs: [],
    },
    {
        stateMutability: 'nonpayable',
        type: 'function',
        name: 'accept_transfer_ownership',
        inputs: [],
        outputs: [],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'lp_token',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'address',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'balanceOf',
        inputs: [
            {
                name: 'arg0',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'totalSupply',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'allowance',
        inputs: [
            {
                name: 'arg0',
                type: 'address',
            },
            {
                name: 'arg1',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'name',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'string',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'symbol',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'string',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'reward_tokens',
        inputs: [
            {
                name: 'arg0',
                type: 'uint256',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'address',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'reward_balances',
        inputs: [
            {
                name: 'arg0',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'rewards_receiver',
        inputs: [
            {
                name: 'arg0',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'address',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'claim_sig',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'bytes',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'reward_integral',
        inputs: [
            {
                name: 'arg0',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'reward_integral_for',
        inputs: [
            {
                name: 'arg0',
                type: 'address',
            },
            {
                name: 'arg1',
                type: 'address',
            },
        ],
        outputs: [
            {
                name: '',
                type: 'uint256',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'admin',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'address',
            },
        ],
    },
    {
        stateMutability: 'view',
        type: 'function',
        name: 'future_admin',
        inputs: [],
        outputs: [
            {
                name: '',
                type: 'address',
            },
        ],
    },
];
class CurveGaugeV2__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.CurveGaugeV2__factory = CurveGaugeV2__factory;
CurveGaugeV2__factory.abi = _abi;
//# sourceMappingURL=CurveGaugeV2__factory.js.map