"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AvalancheInsuraceMiningTokenFetcher = void 0;
const address_1 = require("../../../app-toolkit/constants/address");
const position_template_decorator_1 = require("../../../app-toolkit/decorators/position-template.decorator");
const insurace_mining_token_fetcher_1 = require("../common/insurace.mining.token-fetcher");
let AvalancheInsuraceMiningTokenFetcher = class AvalancheInsuraceMiningTokenFetcher extends insurace_mining_token_fetcher_1.InsuraceMiningTokenFetcher {
    constructor() {
        super(...arguments);
        this.groupLabel = 'Mining Pools';
        this.insurTokenAddress = '0x544c42fbb96b39b21df61cf322b5edc285ee7429';
        this.stakersPoolV2Address = '0xf851cbb9940f8baebd1d0eaf259335c108e9e893';
    }
    getDefinitions() {
        return __awaiter(this, void 0, void 0, function* () {
            const governanceMiningPools = [
                {
                    address: '0x563d10af7395db31f9b0030b39fc4e3ef2598fee',
                    underlyingTokenAddress: '0x544c42fbb96b39b21df61cf322b5edc285ee7429',
                },
            ];
            const underwritingMiningPools = [
                {
                    address: '0xdecafc91000d4d3802a0562a8fb896f29b6a7480',
                    underlyingTokenAddress: address_1.ZERO_ADDRESS,
                },
                {
                    address: '0xa29b59a149f62d390dee27b144c0092ca7dbba96',
                    underlyingTokenAddress: '0xd586e7f844cea2f87f50152665bcbc2c279d8d70',
                },
                {
                    address: '0x5b9d6666398b86e2541b08b00468ae6434f79441',
                    underlyingTokenAddress: '0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664',
                },
                {
                    address: '0xdbbb520b40c7b7c6498dbd532aee5e28c62b3611',
                    underlyingTokenAddress: '0xc7198437980c041c805a1edcba50c1ce5db95118',
                },
                {
                    address: '0x22182ee443e109472fa3ff95311e4532ff5880f9',
                    underlyingTokenAddress: '0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab',
                },
            ];
            return [...governanceMiningPools, ...underwritingMiningPools];
        });
    }
};
AvalancheInsuraceMiningTokenFetcher = __decorate([
    (0, position_template_decorator_1.PositionTemplate)()
], AvalancheInsuraceMiningTokenFetcher);
exports.AvalancheInsuraceMiningTokenFetcher = AvalancheInsuraceMiningTokenFetcher;
//# sourceMappingURL=insurace.mining.token-fetcher.js.map