@chainflip/utils 0.8.18 → 0.8.19
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/dist/addresses.cjs +43 -0
- package/dist/addresses.d.cts +6 -0
- package/dist/addresses.d.ts +6 -0
- package/dist/addresses.js +17 -0
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/addresses.ts
|
|
21
|
+
var addresses_exports = {};
|
|
22
|
+
__export(addresses_exports, {
|
|
23
|
+
FLIP_CONTRACT_ADDRESSES: () => FLIP_CONTRACT_ADDRESSES,
|
|
24
|
+
STATE_CHAIN_GATEWAY_ADDRESSES: () => STATE_CHAIN_GATEWAY_ADDRESSES
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(addresses_exports);
|
|
27
|
+
var FLIP_CONTRACT_ADDRESSES = {
|
|
28
|
+
backspin: "0x10C6E9530F1C1AF873a391030a1D9E8ed0630D26",
|
|
29
|
+
sisyphos: "0xcD079EAB6B5443b545788Fd210C8800FEADd87fa",
|
|
30
|
+
perseverance: "0xdC27c60956cB065D19F08bb69a707E37b36d8086",
|
|
31
|
+
mainnet: "0x826180541412D574cf1336d22c0C0a287822678A"
|
|
32
|
+
};
|
|
33
|
+
var STATE_CHAIN_GATEWAY_ADDRESSES = {
|
|
34
|
+
backspin: "0xeEBe00Ac0756308ac4AaBfD76c05c4F3088B8883",
|
|
35
|
+
sisyphos: "0x1F7fE41C798cc7b1D34BdC8de2dDDA4a4bE744D9",
|
|
36
|
+
perseverance: "0xA34a967197Ee90BB7fb28e928388a573c5CFd099",
|
|
37
|
+
mainnet: "0x6995Ab7c4D7F4B03f467Cf4c8E920427d9621DBd"
|
|
38
|
+
};
|
|
39
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
40
|
+
0 && (module.exports = {
|
|
41
|
+
FLIP_CONTRACT_ADDRESSES,
|
|
42
|
+
STATE_CHAIN_GATEWAY_ADDRESSES
|
|
43
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChainflipNetwork } from './chainflip.cjs';
|
|
2
|
+
|
|
3
|
+
declare const FLIP_CONTRACT_ADDRESSES: Record<ChainflipNetwork, `0x${string}`>;
|
|
4
|
+
declare const STATE_CHAIN_GATEWAY_ADDRESSES: Record<ChainflipNetwork, `0x${string}`>;
|
|
5
|
+
|
|
6
|
+
export { FLIP_CONTRACT_ADDRESSES, STATE_CHAIN_GATEWAY_ADDRESSES };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChainflipNetwork } from './chainflip.js';
|
|
2
|
+
|
|
3
|
+
declare const FLIP_CONTRACT_ADDRESSES: Record<ChainflipNetwork, `0x${string}`>;
|
|
4
|
+
declare const STATE_CHAIN_GATEWAY_ADDRESSES: Record<ChainflipNetwork, `0x${string}`>;
|
|
5
|
+
|
|
6
|
+
export { FLIP_CONTRACT_ADDRESSES, STATE_CHAIN_GATEWAY_ADDRESSES };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/addresses.ts
|
|
2
|
+
var FLIP_CONTRACT_ADDRESSES = {
|
|
3
|
+
backspin: "0x10C6E9530F1C1AF873a391030a1D9E8ed0630D26",
|
|
4
|
+
sisyphos: "0xcD079EAB6B5443b545788Fd210C8800FEADd87fa",
|
|
5
|
+
perseverance: "0xdC27c60956cB065D19F08bb69a707E37b36d8086",
|
|
6
|
+
mainnet: "0x826180541412D574cf1336d22c0C0a287822678A"
|
|
7
|
+
};
|
|
8
|
+
var STATE_CHAIN_GATEWAY_ADDRESSES = {
|
|
9
|
+
backspin: "0xeEBe00Ac0756308ac4AaBfD76c05c4F3088B8883",
|
|
10
|
+
sisyphos: "0x1F7fE41C798cc7b1D34BdC8de2dDDA4a4bE744D9",
|
|
11
|
+
perseverance: "0xA34a967197Ee90BB7fb28e928388a573c5CFd099",
|
|
12
|
+
mainnet: "0x6995Ab7c4D7F4B03f467Cf4c8E920427d9621DBd"
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
FLIP_CONTRACT_ADDRESSES,
|
|
16
|
+
STATE_CHAIN_GATEWAY_ADDRESSES
|
|
17
|
+
};
|