"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getClaimedRelayerRefundEncoder = getClaimedRelayerRefundEncoder;
exports.getClaimedRelayerRefundDecoder = getClaimedRelayerRefundDecoder;
exports.getClaimedRelayerRefundCodec = getClaimedRelayerRefundCodec;
var kit_1 = require("@solana/kit");
function getClaimedRelayerRefundEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["l2TokenAddress", (0, kit_1.getAddressEncoder)()],
        ["claimAmount", (0, kit_1.getU64Encoder)()],
        ["refundAddress", (0, kit_1.getAddressEncoder)()],
    ]);
}
function getClaimedRelayerRefundDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["l2TokenAddress", (0, kit_1.getAddressDecoder)()],
        ["claimAmount", (0, kit_1.getU64Decoder)()],
        ["refundAddress", (0, kit_1.getAddressDecoder)()],
    ]);
}
function getClaimedRelayerRefundCodec() {
    return (0, kit_1.combineCodec)(getClaimedRelayerRefundEncoder(), getClaimedRelayerRefundDecoder());
}
//# sourceMappingURL=claimedRelayerRefund.js.map