"use strict";
/**
 * This code was AUTOGENERATED using the codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.getClaimedRelayerRefundEncoder = getClaimedRelayerRefundEncoder;
exports.getClaimedRelayerRefundDecoder = getClaimedRelayerRefundDecoder;
exports.getClaimedRelayerRefundCodec = getClaimedRelayerRefundCodec;
const web3_v2_js_1 = require("@solana/web3-v2.js");
function getClaimedRelayerRefundEncoder() {
    return (0, web3_v2_js_1.getStructEncoder)([
        ['l2TokenAddress', (0, web3_v2_js_1.getAddressEncoder)()],
        ['claimAmount', (0, web3_v2_js_1.getU64Encoder)()],
        ['refundAddress', (0, web3_v2_js_1.getAddressEncoder)()],
    ]);
}
function getClaimedRelayerRefundDecoder() {
    return (0, web3_v2_js_1.getStructDecoder)([
        ['l2TokenAddress', (0, web3_v2_js_1.getAddressDecoder)()],
        ['claimAmount', (0, web3_v2_js_1.getU64Decoder)()],
        ['refundAddress', (0, web3_v2_js_1.getAddressDecoder)()],
    ]);
}
function getClaimedRelayerRefundCodec() {
    return (0, web3_v2_js_1.combineCodec)(getClaimedRelayerRefundEncoder(), getClaimedRelayerRefundDecoder());
}
