"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBridgedToHubPoolEncoder = getBridgedToHubPoolEncoder;
exports.getBridgedToHubPoolDecoder = getBridgedToHubPoolDecoder;
exports.getBridgedToHubPoolCodec = getBridgedToHubPoolCodec;
var kit_1 = require("@solana/kit");
function getBridgedToHubPoolEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["amount", (0, kit_1.getU64Encoder)()],
        ["mint", (0, kit_1.getAddressEncoder)()],
    ]);
}
function getBridgedToHubPoolDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["amount", (0, kit_1.getU64Decoder)()],
        ["mint", (0, kit_1.getAddressDecoder)()],
    ]);
}
function getBridgedToHubPoolCodec() {
    return (0, kit_1.combineCodec)(getBridgedToHubPoolEncoder(), getBridgedToHubPoolDecoder());
}
//# sourceMappingURL=bridgedToHubPool.js.map