@stable-io/cctp-sdk-definitions
Version:
Definitions for the CCTP SDK
9 lines • 667 B
JavaScript
// Copyright (c) 2025 Stable Technologies Inc
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
import { messageLayoutTemplate, burnMessageLayoutTemplate } from "../../messages.js";
export const nonceItem = { binary: "uint", size: 8 };
export const messageLayout = (messageBody, useRawDomains) => messageLayoutTemplate(0, nonceItem, [], messageBody, useRawDomains);
export const burnMessageLayout = (useRawDomains) => messageLayout(burnMessageLayoutTemplate(0), useRawDomains);
//# sourceMappingURL=messages.js.map