@bouncetech/contracts 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -8
- package/abis/factory-abi.json +156 -6
- package/abis/global-storage-abi.json +1185 -0
- package/abis/global-storage-helper-abi.json +128 -0
- package/abis/hyperliquid-handler-abi.json +151 -0
- package/abis/leveraged-token-abi.json +1311 -1
- package/abis/leveraged-token-helper-abi.json +443 -0
- package/abis/referrals-abi.json +422 -0
- package/addresses.json +1 -1
- package/dist/index.d.ts +267 -3
- package/dist/index.js +12 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,10 +3,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.REFERRALS_ABI = exports.LEVERAGED_TOKEN_HELPER_ABI = exports.LEVERAGED_TOKEN_ABI = exports.HYPERLIQUID_HANDLER_ABI = exports.GLOBAL_STORAGE_HELPER_ABI = exports.GLOBAL_STORAGE_ABI = exports.FACTORY_ABI = exports.REFERRALS_ADDRESS = exports.LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = exports.LEVERAGED_TOKEN_HELPER_ADDRESS = exports.HYPERLIQUID_HANDLER_ADDRESS = exports.GLOBAL_STORAGE_HELPER_ADDRESS = exports.GLOBAL_STORAGE_ADDRESS = exports.FACTORY_ADDRESS = exports.ALL_ADDRESSES = void 0;
|
|
7
7
|
const addresses_json_1 = __importDefault(require("../addresses.json"));
|
|
8
8
|
const leveraged_token_abi_json_1 = __importDefault(require("../abis/leveraged-token-abi.json"));
|
|
9
9
|
const factory_abi_json_1 = __importDefault(require("../abis/factory-abi.json"));
|
|
10
|
+
const global_storage_abi_json_1 = __importDefault(require("../abis/global-storage-abi.json"));
|
|
11
|
+
const global_storage_helper_abi_json_1 = __importDefault(require("../abis/global-storage-helper-abi.json"));
|
|
12
|
+
const hyperliquid_handler_abi_json_1 = __importDefault(require("../abis/hyperliquid-handler-abi.json"));
|
|
13
|
+
const leveraged_token_helper_abi_json_1 = __importDefault(require("../abis/leveraged-token-helper-abi.json"));
|
|
14
|
+
const referrals_abi_json_1 = __importDefault(require("../abis/referrals-abi.json"));
|
|
10
15
|
// Export all contract addresses
|
|
11
16
|
exports.ALL_ADDRESSES = addresses_json_1.default;
|
|
12
17
|
// Export individual addresses for convenience
|
|
@@ -18,7 +23,12 @@ exports.LEVERAGED_TOKEN_HELPER_ADDRESS = exports.ALL_ADDRESSES.LeveragedTokenHel
|
|
|
18
23
|
exports.LEVERAGED_TOKEN_IMPLEMENTATION_ADDRESS = exports.ALL_ADDRESSES.LeveragedTokenImplementation;
|
|
19
24
|
exports.REFERRALS_ADDRESS = exports.ALL_ADDRESSES.Referrals;
|
|
20
25
|
// Export ABIs
|
|
21
|
-
exports.LEVERAGED_TOKEN_ABI = leveraged_token_abi_json_1.default;
|
|
22
26
|
exports.FACTORY_ABI = factory_abi_json_1.default;
|
|
27
|
+
exports.GLOBAL_STORAGE_ABI = global_storage_abi_json_1.default;
|
|
28
|
+
exports.GLOBAL_STORAGE_HELPER_ABI = global_storage_helper_abi_json_1.default;
|
|
29
|
+
exports.HYPERLIQUID_HANDLER_ABI = hyperliquid_handler_abi_json_1.default;
|
|
30
|
+
exports.LEVERAGED_TOKEN_ABI = leveraged_token_abi_json_1.default;
|
|
31
|
+
exports.LEVERAGED_TOKEN_HELPER_ABI = leveraged_token_helper_abi_json_1.default;
|
|
32
|
+
exports.REFERRALS_ABI = referrals_abi_json_1.default;
|
|
23
33
|
// Export addresses as default for convenience
|
|
24
34
|
exports.default = exports.ALL_ADDRESSES;
|
package/package.json
CHANGED