"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findFillStatusPda = findFillStatusPda;
var tslib_1 = require("tslib");
var kit_1 = require("@solana/kit");
function findFillStatusPda(seeds_1) {
    return tslib_1.__awaiter(this, arguments, void 0, function (seeds, config) {
        var _a, programAddress;
        if (config === void 0) { config = {}; }
        return tslib_1.__generator(this, function (_b) {
            switch (_b.label) {
                case 0:
                    _a = config.programAddress, programAddress = _a === void 0 ? "DLv3NggMiSaef97YCkew5xKUHDh13tVGZ7tydt3ZeAru" : _a;
                    return [4, (0, kit_1.getProgramDerivedAddress)({
                            programAddress: programAddress,
                            seeds: [
                                (0, kit_1.getBytesEncoder)().encode(new Uint8Array([102, 105, 108, 108, 115])),
                                (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 32).encode(seeds.relayHash),
                            ],
                        })];
                case 1: return [2, _b.sent()];
            }
        });
    });
}
//# sourceMappingURL=fillStatus.js.map