UNPKG

goosefx-ssl-sdk-prism

Version:

SDK for interacting with GooseFX Single-sided Liquidity pools

24 lines 961 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CONTROLLER_LAYOUT = void 0; const borsh_1 = require("@project-serum/borsh"); exports.CONTROLLER_LAYOUT = (0, borsh_1.struct)([ (0, borsh_1.array)((0, borsh_1.u8)(), 8, 'sighash'), (0, borsh_1.array)((0, borsh_1.u8)(), 32, 'seed'), (0, borsh_1.u8)("bump"), (0, borsh_1.publicKey)("admin"), (0, borsh_1.u8)("suspended"), (0, borsh_1.u8)("decimals"), (0, borsh_1.publicKey)("mint"), (0, borsh_1.array)((0, borsh_1.u8)(), 5, 'padding'), (0, borsh_1.u64)("dailyReward"), (0, borsh_1.u64)("totalStakingShare"), (0, borsh_1.u64)("stakingBalance"), (0, borsh_1.u64)("lastDistributionTime"), (0, borsh_1.u16)("withdrawFee"), (0, borsh_1.array)((0, borsh_1.u8)(), 254, 'padding'), ]); if (exports.CONTROLLER_LAYOUT.span != 392 + 8) { throw new Error("CONTROLLER LAYOUT SIZE MISMATCH"); } //# sourceMappingURL=controller.js.map