viem 0.0.0-main.20240222T202440 → 0.0.0-main.20240222T203325
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/_cjs/chains/definitions/phoenix.js +28 -0
- package/_cjs/chains/definitions/phoenix.js.map +1 -0
- package/_cjs/chains/definitions/saigon.js +1 -1
- package/_cjs/chains/definitions/saigon.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/chains/definitions/phoenix.js +26 -0
- package/_esm/chains/definitions/phoenix.js.map +1 -0
- package/_esm/chains/definitions/saigon.js +1 -1
- package/_esm/chains/definitions/saigon.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/definitions/phoenix.d.ts +34 -0
- package/_types/chains/definitions/phoenix.d.ts.map +1 -0
- package/_types/chains/definitions/saigon.d.ts +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/chains/definitions/phoenix.ts +26 -0
- package/chains/definitions/saigon.ts +1 -1
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.mainnet = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.mainnet = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 13381,
|
7
|
+
name: 'Phoenix Blockchain',
|
8
|
+
nativeCurrency: { name: 'Phoenix', symbol: 'PHX', decimals: 18 },
|
9
|
+
rpcUrls: {
|
10
|
+
default: {
|
11
|
+
http: ['https://rpc.phoenixplorer.com'],
|
12
|
+
},
|
13
|
+
},
|
14
|
+
blockExplorers: {
|
15
|
+
default: {
|
16
|
+
name: 'Phoenixplorer',
|
17
|
+
url: 'https://phoenixplorer.com',
|
18
|
+
apiUrl: 'https://phoenixplorer.com/api',
|
19
|
+
},
|
20
|
+
},
|
21
|
+
contracts: {
|
22
|
+
multicall3: {
|
23
|
+
address: '0x498cF757a575cFF2c2Ed9f532f56Efa797f86442',
|
24
|
+
blockCreated: 5620192,
|
25
|
+
},
|
26
|
+
},
|
27
|
+
});
|
28
|
+
//# sourceMappingURL=phoenix.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"phoenix.js","sourceRoot":"","sources":["../../../chains/definitions/phoenix.ts"],"names":[],"mappings":";;;AACA,qEAA8D;AAEjD,QAAA,OAAO,GAAiB,IAAA,4BAAW,EAAC;IAC/C,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,oBAAoB;IAC1B,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,eAAe;YACrB,GAAG,EAAE,2BAA2B;YAChC,MAAM,EAAE,+BAA+B;SACxC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;CACF,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"saigon.js","sourceRoot":"","sources":["../../../chains/definitions/saigon.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,MAAM,GAAiB,IAAA,4BAAW,EAAC;IAC9C,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,gBAAgB;IACtB,cAAc,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2CAA2C,CAAC;SACpD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,
|
1
|
+
{"version":3,"file":"saigon.js","sourceRoot":"","sources":["../../../chains/definitions/saigon.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,MAAM,GAAiB,IAAA,4BAAW,EAAC;IAC9C,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,gBAAgB;IACtB,cAAc,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2CAA2C,CAAC;SACpD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
package/_cjs/errors/version.js
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
// src/chains/definitions/phoenix.ts
|
2
|
+
import { defineChain } from '../../utils/chain/defineChain.js';
|
3
|
+
export const mainnet = /*#__PURE__*/ defineChain({
|
4
|
+
id: 13381,
|
5
|
+
name: 'Phoenix Blockchain',
|
6
|
+
nativeCurrency: { name: 'Phoenix', symbol: 'PHX', decimals: 18 },
|
7
|
+
rpcUrls: {
|
8
|
+
default: {
|
9
|
+
http: ['https://rpc.phoenixplorer.com'],
|
10
|
+
},
|
11
|
+
},
|
12
|
+
blockExplorers: {
|
13
|
+
default: {
|
14
|
+
name: 'Phoenixplorer',
|
15
|
+
url: 'https://phoenixplorer.com',
|
16
|
+
apiUrl: 'https://phoenixplorer.com/api',
|
17
|
+
},
|
18
|
+
},
|
19
|
+
contracts: {
|
20
|
+
multicall3: {
|
21
|
+
address: '0x498cF757a575cFF2c2Ed9f532f56Efa797f86442',
|
22
|
+
blockCreated: 5620192,
|
23
|
+
},
|
24
|
+
},
|
25
|
+
});
|
26
|
+
//# sourceMappingURL=phoenix.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"phoenix.js","sourceRoot":"","sources":["../../../chains/definitions/phoenix.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,WAAW,CAAC;IAC/C,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,oBAAoB;IAC1B,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,eAAe;YACrB,GAAG,EAAE,2BAA2B;YAChC,MAAM,EAAE,+BAA+B;SACxC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,OAAO;SACtB;KACF;CACF,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"saigon.js","sourceRoot":"","sources":["../../../chains/definitions/saigon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,gBAAgB;IACtB,cAAc,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2CAA2C,CAAC;SACpD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,
|
1
|
+
{"version":3,"file":"saigon.js","sourceRoot":"","sources":["../../../chains/definitions/saigon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,gBAAgB;IACtB,cAAc,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2CAA2C,CAAC;SACpD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,mCAAmC;SACzC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
package/_esm/errors/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20240222T203325';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -0,0 +1,34 @@
|
|
1
|
+
export declare const mainnet: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Phoenixplorer";
|
5
|
+
readonly url: "https://phoenixplorer.com";
|
6
|
+
readonly apiUrl: "https://phoenixplorer.com/api";
|
7
|
+
};
|
8
|
+
};
|
9
|
+
contracts: {
|
10
|
+
readonly multicall3: {
|
11
|
+
readonly address: "0x498cF757a575cFF2c2Ed9f532f56Efa797f86442";
|
12
|
+
readonly blockCreated: 5620192;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
id: 13381;
|
16
|
+
name: "Phoenix Blockchain";
|
17
|
+
nativeCurrency: {
|
18
|
+
readonly name: "Phoenix";
|
19
|
+
readonly symbol: "PHX";
|
20
|
+
readonly decimals: 18;
|
21
|
+
};
|
22
|
+
rpcUrls: {
|
23
|
+
readonly default: {
|
24
|
+
readonly http: readonly ["https://rpc.phoenixplorer.com"];
|
25
|
+
};
|
26
|
+
};
|
27
|
+
sourceId?: number | undefined;
|
28
|
+
testnet?: boolean | undefined;
|
29
|
+
custom?: Record<string, unknown> | undefined;
|
30
|
+
formatters?: undefined;
|
31
|
+
serializers?: import("../../index.js").ChainSerializers<undefined> | undefined;
|
32
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
33
|
+
};
|
34
|
+
//# sourceMappingURL=phoenix.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"phoenix.d.ts","sourceRoot":"","sources":["../../../chains/definitions/phoenix.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlB,CAAA"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "0.0.0-main.
|
1
|
+
export declare const version = "0.0.0-main.20240222T203325";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// src/chains/definitions/phoenix.ts
|
2
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
3
|
+
|
4
|
+
export const mainnet = /*#__PURE__*/ defineChain({
|
5
|
+
id: 13381,
|
6
|
+
name: 'Phoenix Blockchain',
|
7
|
+
nativeCurrency: { name: 'Phoenix', symbol: 'PHX', decimals: 18 },
|
8
|
+
rpcUrls: {
|
9
|
+
default: {
|
10
|
+
http: ['https://rpc.phoenixplorer.com'],
|
11
|
+
},
|
12
|
+
},
|
13
|
+
blockExplorers: {
|
14
|
+
default: {
|
15
|
+
name: 'Phoenixplorer',
|
16
|
+
url: 'https://phoenixplorer.com',
|
17
|
+
apiUrl: 'https://phoenixplorer.com/api',
|
18
|
+
},
|
19
|
+
},
|
20
|
+
contracts: {
|
21
|
+
multicall3: {
|
22
|
+
address: '0x498cF757a575cFF2c2Ed9f532f56Efa797f86442',
|
23
|
+
blockCreated: 5620192,
|
24
|
+
},
|
25
|
+
},
|
26
|
+
})
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20240222T203325'
|
package/package.json
CHANGED