@parifi/synthetix-sdk-ts
Version:
A Typescript SDK for interactions with the Synthetix protocol
35 lines (34 loc) • 1.52 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/constants/perpsPermissions.ts
var perpsPermissions_exports = {};
__export(perpsPermissions_exports, {
PERPS_PERMISSIONS: () => PERPS_PERMISSIONS
});
module.exports = __toCommonJS(perpsPermissions_exports);
var PERPS_PERMISSIONS = /* @__PURE__ */ ((PERPS_PERMISSIONS2) => {
PERPS_PERMISSIONS2["PERPS_MODIFY_COLLATERAL"] = "0x50455250535f4d4f444946595f434f4c4c41544552414c000000000000000000";
PERPS_PERMISSIONS2["ADMIN"] = "0x41444d494e000000000000000000000000000000000000000000000000000000";
return PERPS_PERMISSIONS2;
})(PERPS_PERMISSIONS || {});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
PERPS_PERMISSIONS
});
//# sourceMappingURL=perpsPermissions.js.map