@molecularlabs/nucleus-frontend
Version:
Nucleus BoringVault Frontend SDK
39 lines • 1.88 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);
var constants_exports = {};
__export(constants_exports, {
ATOMIC_QUEUE_CONTRACT_ADDRESS: () => ATOMIC_QUEUE_CONTRACT_ADDRESS,
CHAINLINK_ADDRESS: () => CHAINLINK_ADDRESS,
DEFAULT_APPROVAL_AMOUNT: () => DEFAULT_APPROVAL_AMOUNT,
DEFAULT_DEADLINE: () => DEFAULT_DEADLINE,
DEFAULT_DEPOSIT_SLIPPAGE: () => DEFAULT_DEPOSIT_SLIPPAGE,
DEFAULT_WITHDRAW_SLIPPAGE: () => DEFAULT_WITHDRAW_SLIPPAGE,
NATIVE_TOKEN_FOR_BRIDGE_FEE: () => NATIVE_TOKEN_FOR_BRIDGE_FEE,
NUCLEUS_BASE_URL: () => NUCLEUS_BASE_URL
});
module.exports = __toCommonJS(constants_exports);
const ATOMIC_QUEUE_CONTRACT_ADDRESS = "0x228c44bb4885c6633f4b6c83f14622f37d5112e5";
const DEFAULT_WITHDRAW_SLIPPAGE = 20;
const DEFAULT_DEPOSIT_SLIPPAGE = 50;
const DEFAULT_DEADLINE = 3;
const NATIVE_TOKEN_FOR_BRIDGE_FEE = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
const CHAINLINK_ADDRESS = "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419";
const DEFAULT_APPROVAL_AMOUNT = BigInt(2) ** BigInt(256) - BigInt(1);
const NUCLEUS_BASE_URL = "https://backend.nucleusearn.io/v1/protocol";
//# sourceMappingURL=index.js.map