@bitgo-beta/statics 10.0.1-alpha.450 → 10.0.1-alpha.451

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.
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Master ERC20 Token Configuration
3
+ *
4
+ * This file contains the combined on-chain (ERC20/tERC20) and off-chain (OFC/tOFC) token configurations.
5
+ * Each token entry contains:
6
+ * - underlyingAsset: The shared underlying asset identifier
7
+ * - fullName: The human-readable token name
8
+ * - decimalPlaces: Token decimal places
9
+ * - isTestnet: Optional flag indicating if this is a testnet token (defaults to false/mainnet)
10
+ * - features: Optional common features (when same for both on-chain and off-chain)
11
+ * - onchain: Optional ERC20-specific configuration (id, name, contractAddress, features)
12
+ * - offchain: Optional OFC-specific configuration (id, name, kind, features)
13
+ *
14
+ * Note: Some tokens may only have onchain or offchain configuration, not both.
15
+ */
16
+ import { CoinFeature, UnderlyingAsset } from '../base';
17
+ import { EthereumNetwork, OfcNetwork } from '../networks';
18
+ export interface Erc20MasterTokenOnchain {
19
+ id: string;
20
+ name: string;
21
+ contractAddress: string;
22
+ features?: CoinFeature[];
23
+ network?: EthereumNetwork;
24
+ }
25
+ export interface Erc20MasterTokenOffchain {
26
+ id: string;
27
+ name: string;
28
+ kind?: string;
29
+ features?: CoinFeature[];
30
+ network?: OfcNetwork;
31
+ addressCoin?: string;
32
+ }
33
+ export interface Erc20MasterToken {
34
+ underlyingAsset: UnderlyingAsset;
35
+ fullName: string;
36
+ decimalPlaces: number;
37
+ isTestnet?: boolean;
38
+ features?: CoinFeature[];
39
+ onchain?: Erc20MasterTokenOnchain;
40
+ offchain?: Erc20MasterTokenOffchain;
41
+ }
42
+ export declare const erc20MasterTokens: Erc20MasterToken[];
43
+ //# sourceMappingURL=erc20MasterTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"erc20MasterTokens.d.ts","sourceRoot":"","sources":["../../../src/coins/erc20MasterTokens.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,EAAY,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AA8BpE,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,eAAe,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC,QAAQ,CAAC,EAAE,wBAAwB,CAAC;CACrC;AAED,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EAmgvB/C,CAAC"}