ggez-banking-sdk 0.0.79 → 0.0.81
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.
|
@@ -96,7 +96,7 @@ const useRegExp = () => {
|
|
|
96
96
|
PriceRegexPattern: /^(?!0*\.?0{1,15}$)\d+(\.\d{1,15})?$/,
|
|
97
97
|
IssuerRegexPattern: /^(?!.--)[\p{L}\p{N}][^/$%^+=<>|\n\r\b\t]{1,100}$/u,
|
|
98
98
|
TradeValueRegexPattern: /^\d+(\.\d{1,2})?$/,
|
|
99
|
-
CoinRegexPattern: /^(
|
|
99
|
+
CoinRegexPattern: /^(ggz|uggz)$/,
|
|
100
100
|
AssetIdRegexPattern: /^[0-9]+$/,
|
|
101
101
|
AumRegexPattern: /^\d+\.\d+[MB]$/,
|
|
102
102
|
ExpenseRatioRegexPattern: /^\d*\.?\d{1,2}%$/,
|
|
@@ -4,5 +4,5 @@ interface gasPriceStep {
|
|
|
4
4
|
average: number;
|
|
5
5
|
high: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const chainInfo: (rpc_url: string, rest_url: string, chain_id: string, chain_name: string,
|
|
7
|
+
export declare const chainInfo: (rpc_url: string, rest_url: string, chain_id: string, chain_name: string, uggzGasPriceStep: gasPriceStep, mggzGasPriceStep: gasPriceStep, ggzGasPriceStep: gasPriceStep, uggez1GasPriceStep: gasPriceStep, mggez1GasPriceStep: gasPriceStep, ggez1GasPriceStep: gasPriceStep) => ChainInfo;
|
|
8
8
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.chainInfo = void 0;
|
|
4
4
|
// The Cosmos Hub Testnet chain parameters
|
|
5
|
-
const chainInfo = (rpc_url, rest_url, chain_id, chain_name,
|
|
5
|
+
const chainInfo = (rpc_url, rest_url, chain_id, chain_name, uggzGasPriceStep, mggzGasPriceStep, ggzGasPriceStep, uggez1GasPriceStep, mggez1GasPriceStep, ggez1GasPriceStep) => ({
|
|
6
6
|
chainId: chain_id,
|
|
7
7
|
chainName: chain_name,
|
|
8
8
|
rpc: rpc_url,
|
|
@@ -20,20 +20,20 @@ const chainInfo = (rpc_url, rest_url, chain_id, chain_name, ugzGasPriceStep, mgz
|
|
|
20
20
|
},
|
|
21
21
|
currencies: [
|
|
22
22
|
{
|
|
23
|
-
coinDenom: "
|
|
24
|
-
coinMinimalDenom: "
|
|
23
|
+
coinDenom: "UGGZ",
|
|
24
|
+
coinMinimalDenom: "uggz",
|
|
25
25
|
coinDecimals: 0,
|
|
26
26
|
coinGeckoId: "STX",
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
coinDenom: "
|
|
30
|
-
coinMinimalDenom: "
|
|
29
|
+
coinDenom: "MGGZ",
|
|
30
|
+
coinMinimalDenom: "mggz",
|
|
31
31
|
coinDecimals: 3,
|
|
32
32
|
coinGeckoId: "STX",
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
coinDenom: "
|
|
36
|
-
coinMinimalDenom: "
|
|
35
|
+
coinDenom: "GGZ",
|
|
36
|
+
coinMinimalDenom: "ggz",
|
|
37
37
|
coinDecimals: 6,
|
|
38
38
|
coinGeckoId: "STX",
|
|
39
39
|
},
|
|
@@ -58,25 +58,25 @@ const chainInfo = (rpc_url, rest_url, chain_id, chain_name, ugzGasPriceStep, mgz
|
|
|
58
58
|
],
|
|
59
59
|
feeCurrencies: [
|
|
60
60
|
{
|
|
61
|
-
coinDenom: "
|
|
62
|
-
coinMinimalDenom: "
|
|
61
|
+
coinDenom: "UGGZ",
|
|
62
|
+
coinMinimalDenom: "uggz",
|
|
63
63
|
coinDecimals: 0,
|
|
64
64
|
coinGeckoId: "STX",
|
|
65
|
-
gasPriceStep:
|
|
65
|
+
gasPriceStep: uggzGasPriceStep,
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
coinDenom: "
|
|
69
|
-
coinMinimalDenom: "
|
|
68
|
+
coinDenom: "MGGZ",
|
|
69
|
+
coinMinimalDenom: "mggz",
|
|
70
70
|
coinDecimals: 3,
|
|
71
71
|
coinGeckoId: "STX",
|
|
72
|
-
gasPriceStep:
|
|
72
|
+
gasPriceStep: mggzGasPriceStep,
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
coinDenom: "
|
|
76
|
-
coinMinimalDenom: "
|
|
75
|
+
coinDenom: "GGZ",
|
|
76
|
+
coinMinimalDenom: "ggz",
|
|
77
77
|
coinDecimals: 6,
|
|
78
78
|
coinGeckoId: "STX",
|
|
79
|
-
gasPriceStep:
|
|
79
|
+
gasPriceStep: ggzGasPriceStep,
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
coinDenom: "UGGEZ1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.81",
|
|
4
4
|
"description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|