"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AladdinConcentratorAfrxEthVault__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'address',
                name: '_underlying',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'address',
                name: '_strategy',
                type: 'address',
            },
        ],
        name: 'AddPool',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: 'pid',
                type: 'uint256',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'owner',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'spender',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'value',
                type: 'uint256',
            },
        ],
        name: 'Approval',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'bytes32',
                name: '_feeType',
                type: 'bytes32',
            },
            {
                indexed: false,
                internalType: 'address',
                name: '_user',
                type: 'address',
            },
        ],
        name: 'CancleCustomizeFee',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: 'pid',
                type: 'uint256',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'sender',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'recipient',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'rewards',
                type: 'uint256',
            },
        ],
        name: 'Claim',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'bytes32',
                name: '_feeType',
                type: 'bytes32',
            },
            {
                indexed: false,
                internalType: 'address',
                name: '_user',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: '_rate',
                type: 'uint256',
            },
        ],
        name: 'CustomizeFee',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: 'pid',
                type: 'uint256',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'sender',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'recipient',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'assetsIn',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'sharesOut',
                type: 'uint256',
            },
        ],
        name: 'Deposit',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: 'pid',
                type: 'uint256',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'caller',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'recipient',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'rewards',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'platformFee',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'harvestBounty',
                type: 'uint256',
            },
        ],
        name: 'Harvest',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'address',
                name: '_oldStrategy',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'address',
                name: '_newStrategy',
                type: 'address',
            },
        ],
        name: 'Migrate',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: 'previousOwner',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'newOwner',
                type: 'address',
            },
        ],
        name: 'OwnershipTransferred',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'bool',
                name: '_status',
                type: 'bool',
            },
        ],
        name: 'PausePoolDeposit',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'bool',
                name: '_status',
                type: 'bool',
            },
        ],
        name: 'PausePoolWithdraw',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: '_platform',
                type: 'address',
            },
        ],
        name: 'UpdatePlatform',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'uint32',
                name: '_withdrawFeeRatio',
                type: 'uint32',
            },
            {
                indexed: false,
                internalType: 'uint32',
                name: '_platformFeeRatio',
                type: 'uint32',
            },
            {
                indexed: false,
                internalType: 'uint32',
                name: '_harvestBountyRatio',
                type: 'uint32',
            },
        ],
        name: 'UpdatePoolFeeRatio',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'address[]',
                name: '_rewardTokens',
                type: 'address[]',
            },
        ],
        name: 'UpdatePoolRewardTokens',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'uint32',
                name: '_period',
                type: 'uint32',
            },
        ],
        name: 'UpdateRewardPeriod',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: '_zap',
                type: 'address',
            },
        ],
        name: 'UpdateZap',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'uint256',
                name: 'pid',
                type: 'uint256',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'sender',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'address',
                name: 'owner',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'address',
                name: 'recipient',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'sharesIn',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'assetsOut',
                type: 'uint256',
            },
        ],
        name: 'Withdraw',
        type: 'event',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_underlying',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_strategy',
                type: 'address',
            },
            {
                internalType: 'uint32',
                name: '_withdrawFeeRatio',
                type: 'uint32',
            },
            {
                internalType: 'uint32',
                name: '_platformFeeRatio',
                type: 'uint32',
            },
            {
                internalType: 'uint32',
                name: '_harvestBountyRatio',
                type: 'uint32',
            },
        ],
        name: 'addPool',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_owner',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_spender',
                type: 'address',
            },
        ],
        name: 'allowance',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_spender',
                type: 'address',
            },
            {
                internalType: 'uint256',
                name: '_amount',
                type: 'uint256',
            },
        ],
        name: 'approve',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_account',
                type: 'address',
            },
        ],
        name: 'checkpoint',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_recipient',
                type: 'address',
            },
            {
                internalType: 'uint256',
                name: '_minOut',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_claimAsToken',
                type: 'address',
            },
        ],
        name: 'claim',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_minOut',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_recipient',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_claimAsToken',
                type: 'address',
            },
        ],
        name: 'claimAll',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256[]',
                name: '_pids',
                type: 'uint256[]',
            },
            {
                internalType: 'address',
                name: '_recipient',
                type: 'address',
            },
            {
                internalType: 'uint256',
                name: '_minOut',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_claimAsToken',
                type: 'address',
            },
        ],
        name: 'claimMulti',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_recipient',
                type: 'address',
            },
            {
                internalType: 'uint256',
                name: '_assetsIn',
                type: 'uint256',
            },
        ],
        name: 'deposit',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: '_feeType',
                type: 'bytes32',
            },
            {
                internalType: 'address',
                name: '_user',
                type: 'address',
            },
        ],
        name: 'getFeeRate',
        outputs: [
            {
                internalType: 'uint256',
                name: 'rate',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
        ],
        name: 'getTotalShare',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
        ],
        name: 'getTotalUnderlying',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_account',
                type: 'address',
            },
        ],
        name: 'getUserShare',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_recipient',
                type: 'address',
            },
            {
                internalType: 'uint256',
                name: '_minOut',
                type: 'uint256',
            },
        ],
        name: 'harvest',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_aladdinETH',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_zap',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_platform',
                type: 'address',
            },
        ],
        name: 'initialize',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_newStrategy',
                type: 'address',
            },
        ],
        name: 'migrateStrategy',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'owner',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'bool',
                name: '_status',
                type: 'bool',
            },
        ],
        name: 'pausePoolDeposit',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'bool',
                name: '_status',
                type: 'bool',
            },
        ],
        name: 'pausePoolWithdraw',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_account',
                type: 'address',
            },
        ],
        name: 'pendingReward',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_account',
                type: 'address',
            },
        ],
        name: 'pendingRewardAll',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'platform',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        name: 'poolInfo',
        outputs: [
            {
                components: [
                    {
                        internalType: 'uint128',
                        name: 'totalUnderlying',
                        type: 'uint128',
                    },
                    {
                        internalType: 'uint128',
                        name: 'totalShare',
                        type: 'uint128',
                    },
                ],
                internalType: 'struct ConcentratorGeneralVault.PoolSupplyInfo',
                name: 'supply',
                type: 'tuple',
            },
            {
                components: [
                    {
                        internalType: 'address',
                        name: 'token',
                        type: 'address',
                    },
                    {
                        internalType: 'address',
                        name: 'strategy',
                        type: 'address',
                    },
                    {
                        internalType: 'bool',
                        name: 'pauseDeposit',
                        type: 'bool',
                    },
                    {
                        internalType: 'bool',
                        name: 'pauseWithdraw',
                        type: 'bool',
                    },
                ],
                internalType: 'struct ConcentratorGeneralVault.PoolStrategyInfo',
                name: 'strategy',
                type: 'tuple',
            },
            {
                components: [
                    {
                        internalType: 'uint128',
                        name: 'rate',
                        type: 'uint128',
                    },
                    {
                        internalType: 'uint32',
                        name: 'periodLength',
                        type: 'uint32',
                    },
                    {
                        internalType: 'uint48',
                        name: 'lastUpdate',
                        type: 'uint48',
                    },
                    {
                        internalType: 'uint48',
                        name: 'finishAt',
                        type: 'uint48',
                    },
                    {
                        internalType: 'uint256',
                        name: 'accRewardPerShare',
                        type: 'uint256',
                    },
                ],
                internalType: 'struct ConcentratorGeneralVault.PoolRewardInfo',
                name: 'reward',
                type: 'tuple',
            },
            {
                components: [
                    {
                        internalType: 'uint32',
                        name: 'withdrawFeeRatio',
                        type: 'uint32',
                    },
                    {
                        internalType: 'uint32',
                        name: 'platformFeeRatio',
                        type: 'uint32',
                    },
                    {
                        internalType: 'uint32',
                        name: 'harvestBountyRatio',
                        type: 'uint32',
                    },
                    {
                        internalType: 'uint160',
                        name: 'reserved',
                        type: 'uint160',
                    },
                ],
                internalType: 'struct ConcentratorGeneralVault.PoolFeeInfo',
                name: 'fee',
                type: 'tuple',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'poolLength',
        outputs: [
            {
                internalType: 'uint256',
                name: 'pools',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'renounceOwnership',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'rewardToken',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_user',
                type: 'address',
            },
            {
                internalType: 'uint32',
                name: '_ratio',
                type: 'uint32',
            },
        ],
        name: 'setWithdrawFeeForUser',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'newOwner',
                type: 'address',
            },
        ],
        name: 'transferOwnership',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
        ],
        name: 'underlying',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_platform',
                type: 'address',
            },
        ],
        name: 'updatePlatform',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'uint32',
                name: '_withdrawFeeRatio',
                type: 'uint32',
            },
            {
                internalType: 'uint32',
                name: '_platformFeeRatio',
                type: 'uint32',
            },
            {
                internalType: 'uint32',
                name: '_harvestBountyRatio',
                type: 'uint32',
            },
        ],
        name: 'updatePoolFeeRatio',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'address[]',
                name: '_rewardTokens',
                type: 'address[]',
            },
        ],
        name: 'updatePoolRewardTokens',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'uint32',
                name: '_period',
                type: 'uint32',
            },
        ],
        name: 'updateRewardPeriod',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_zap',
                type: 'address',
            },
        ],
        name: 'updateZap',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        name: 'userInfo',
        outputs: [
            {
                internalType: 'uint128',
                name: 'shares',
                type: 'uint128',
            },
            {
                internalType: 'uint128',
                name: 'rewards',
                type: 'uint128',
            },
            {
                internalType: 'uint256',
                name: 'rewardPerSharePaid',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_pid',
                type: 'uint256',
            },
            {
                internalType: 'uint256',
                name: '_sharesIn',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_recipient',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_owner',
                type: 'address',
            },
        ],
        name: 'withdraw',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'zap',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        stateMutability: 'payable',
        type: 'receive',
    },
];
class AladdinConcentratorAfrxEthVault__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.AladdinConcentratorAfrxEthVault__factory = AladdinConcentratorAfrxEthVault__factory;
AladdinConcentratorAfrxEthVault__factory.abi = _abi;
//# sourceMappingURL=AladdinConcentratorAfrxEthVault__factory.js.map