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