@fintech-solutions/core
Advanced tools
Comparing version 1.2.45 to 1.2.46
@@ -1,5 +0,10 @@ | ||
export declare enum PolygonAssetShortcode { | ||
export declare enum PolygonAssetMainnetShortcode { | ||
USDTPolygonToken = "USDT_POLYGON_ERC20", | ||
USDCPolygonToken = "USDC_POLYGON_ERC20" | ||
} | ||
export declare const POLYGON_TOKENS: Set<PolygonAssetShortcode>; | ||
export declare enum PolygonAssetTestnetShortcode { | ||
DUMMYPolygonTokenTest = "DUMMY_POLYGON_ERC20_TEST" | ||
} | ||
export declare const PolygonAssetShortcode: typeof PolygonAssetMainnetShortcode & typeof PolygonAssetTestnetShortcode; | ||
export type PolygonAssetShortcode = PolygonAssetMainnetShortcode | PolygonAssetTestnetShortcode; | ||
export declare const POLYGON_TOKENS: Set<PolygonAssetMainnetShortcode | PolygonAssetTestnetShortcode.DUMMYPolygonTokenTest>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.POLYGON_TOKENS = exports.PolygonAssetShortcode = void 0; | ||
var PolygonAssetShortcode; | ||
(function (PolygonAssetShortcode) { | ||
PolygonAssetShortcode["USDTPolygonToken"] = "USDT_POLYGON_ERC20"; | ||
PolygonAssetShortcode["USDCPolygonToken"] = "USDC_POLYGON_ERC20"; | ||
})(PolygonAssetShortcode = exports.PolygonAssetShortcode || (exports.PolygonAssetShortcode = {})); | ||
exports.POLYGON_TOKENS = new Set(Object.values(PolygonAssetShortcode)); | ||
exports.POLYGON_TOKENS = exports.PolygonAssetShortcode = exports.PolygonAssetTestnetShortcode = exports.PolygonAssetMainnetShortcode = void 0; | ||
var PolygonAssetMainnetShortcode; | ||
(function (PolygonAssetMainnetShortcode) { | ||
PolygonAssetMainnetShortcode["USDTPolygonToken"] = "USDT_POLYGON_ERC20"; | ||
PolygonAssetMainnetShortcode["USDCPolygonToken"] = "USDC_POLYGON_ERC20"; | ||
})(PolygonAssetMainnetShortcode = exports.PolygonAssetMainnetShortcode || (exports.PolygonAssetMainnetShortcode = {})); | ||
var PolygonAssetTestnetShortcode; | ||
(function (PolygonAssetTestnetShortcode) { | ||
PolygonAssetTestnetShortcode["DUMMYPolygonTokenTest"] = "DUMMY_POLYGON_ERC20_TEST"; | ||
})(PolygonAssetTestnetShortcode = exports.PolygonAssetTestnetShortcode || (exports.PolygonAssetTestnetShortcode = {})); | ||
exports.PolygonAssetShortcode = Object.assign({}, PolygonAssetMainnetShortcode, PolygonAssetTestnetShortcode); | ||
exports.POLYGON_TOKENS = new Set(Object.values(exports.PolygonAssetShortcode)); | ||
//# sourceMappingURL=polygon-asset-shortcode.enum.js.map |
{ | ||
"name": "@fintech-solutions/core", | ||
"private": false, | ||
"version": "1.2.45", | ||
"version": "1.2.46", | ||
"description": "", | ||
@@ -17,3 +17,3 @@ "main": "dist/index.js", | ||
"license": "ISC", | ||
"gitHead": "d28d14c63f9b8ee889938949834b9249b725f8bb" | ||
"gitHead": "8ff9612dd1df9595a7216b23cbfdadde87c8e557" | ||
} |
@@ -1,2 +0,4 @@ | ||
export enum PolygonAssetShortcode { | ||
import { BinanceAssetMainnetShortcode, BinanceAssetTestnetShortcode } from "./binance-asset-shortcode.enum"; | ||
export enum PolygonAssetMainnetShortcode { | ||
USDTPolygonToken = 'USDT_POLYGON_ERC20', | ||
@@ -6,2 +8,11 @@ USDCPolygonToken = 'USDC_POLYGON_ERC20', | ||
export enum PolygonAssetTestnetShortcode { | ||
DUMMYPolygonTokenTest = 'DUMMY_POLYGON_ERC20_TEST', | ||
} | ||
export const PolygonAssetShortcode = Object.assign({}, PolygonAssetMainnetShortcode, PolygonAssetTestnetShortcode); | ||
export type PolygonAssetShortcode = PolygonAssetMainnetShortcode | PolygonAssetTestnetShortcode; | ||
export const POLYGON_TOKENS = new Set(Object.values(PolygonAssetShortcode)); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
104800
1237