"use strict";const e=require("./address-DKM11kf_.js");function a(o){return[...e.envelopeLayout,e.payloadLiteralToPayloadItemLayout(o)]}function s(o,t){const[c,r]=e.decomposeLiteral(o),d=e.addFixedValues(a(o),t);return{protocolName:c,payloadName:r,payloadLiteral:o,...e.addFixedValues(e.headerLayout,t),...d,hash:e.keccak_256(e.serialize$1(a(o),d))}}exports.createVAA=s;
