@fizzyflow/suisql
Version:
SuiSQL is a library and set of tools for working with decentralized SQL databases on the Sui blockchain and Walrus protocol.
54 lines (53 loc) • 2.36 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 SuiSqlConsts_exports = {};
__export(SuiSqlConsts_exports, {
bankIds: () => bankIds,
maxBinaryArgumentSize: () => maxBinaryArgumentSize,
maxMoveObjectSize: () => maxMoveObjectSize,
maxPureArgumentSize: () => maxPureArgumentSize,
originalPackages: () => originalPackages,
packages: () => packages,
walrusSystemObjectIds: () => walrusSystemObjectIds
});
module.exports = __toCommonJS(SuiSqlConsts_exports);
const maxPureArgumentSize = 16 * 1024;
const maxBinaryArgumentSize = Math.floor(3 * maxPureArgumentSize / 4) - 4;
const maxMoveObjectSize = 150 * 1024;
const packages = {
local: "0x9010c9927792bca9df88323ea0fce0605d141a6d4d95e8e82697f0a810196144",
testnet: "0x1d413bd519db4b3207c68766c33b362a384699cc7af34d97ad4dabdf223c223a",
// testnet v2
mainnet: "0xf55b2f4fbac4bfa87cf9ceb8a333b14834bcc8299965640d77e63818fbca5428"
// mainnet v2
};
const originalPackages = {
local: "0x9010c9927792bca9df88323ea0fce0605d141a6d4d95e8e82697f0a810196144",
testnet: "0xe548b2b04b52acb1a5d5d5f887e0f3fe92143249d28831b67aa9b0f83419d8c5",
mainnet: "0x650ff3788c4dbc7dcb3f909fd01642fd8a772dc7e003e575c9d502d51b07cabe"
};
const bankIds = {
mainnet: "0x51800d865c2306091eb901c989e7dd982f6da87c04ee567d7259282e6f2c0e68",
testnet: "0xf019aeaca553f968ce5a21f550a0a9ad1ce51d27d8f70c247e9a25e17c02e138"
};
const walrusSystemObjectIds = {
mainnet: "0x2134d52768ea07e8c43570ef975eb3e4c27a39fa6396bef985b5abc58d03ddd2",
testnet: "0x6c2547cbbc38025cf3adac45f63cb0a8d12ecf777cdc75a4971612bf97fdf6af"
};
//# sourceMappingURL=SuiSqlConsts.js.map