UNPKG

goosefx-ssl-sdk-prism

Version:

SDK for interacting with GooseFX Single-sided Liquidity pools

24 lines 896 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SSL_LAYOUT = void 0; const borsh_1 = require("@project-serum/borsh"); exports.SSL_LAYOUT = (0, borsh_1.struct)([ (0, borsh_1.array)((0, borsh_1.u8)(), 8, "sighash"), (0, borsh_1.publicKey)("controller"), (0, borsh_1.publicKey)("mint"), (0, borsh_1.u8)("decimals"), (0, borsh_1.u8)("bump"), (0, borsh_1.u8)("ptBump"), (0, borsh_1.bool)("suspended"), (0, borsh_1.publicKey)("cranker"), (0, borsh_1.array)((0, borsh_1.u8)(), 4), (0, borsh_1.u64)("weight"), (0, borsh_1.array)((0, borsh_1.u8)(), 8), (0, borsh_1.u64)("swappedLiabilityNative"), (0, borsh_1.u64)("totalShare"), (0, borsh_1.array)((0, borsh_1.u8)(), 256, "padding"), ]); if (exports.SSL_LAYOUT.span != 392 + 8) { throw new Error("SSL LAYOUT SIZE MISMATCH"); } //# sourceMappingURL=ssl.js.map